Commit 832ecbd3 authored by mjs's avatar mjs

WebFoundation:

        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
parent f2fdcccd
2003-05-02 Maciej Stachowiak <mjs@apple.com>
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:
2003-05-02 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......
2003-05-02 Maciej Stachowiak <mjs@apple.com>
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:
2003-05-02 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......
......@@ -99,7 +99,7 @@ enum FrameBorderStyle {
BOOL _drawSelectionOnly;
}
- (void)initializeSettings: (WebCoreSettings *)settings;
- (void)initializeSettings:(WebCoreSettings *)settings;
- (void)setRenderPart:(KHTMLRenderPart *)renderPart;
- (KHTMLRenderPart *)renderPart;
......@@ -303,7 +303,7 @@ enum FrameBorderStyle {
- (int)getObjectCacheSize;
- (BOOL)frameRequiredForMIMEType: (NSString*)mimeType;
- (BOOL)frameRequiredForMIMEType:(NSString*)mimeType;
- (void)loadEmptyDocumentSynchronously;
......
......@@ -42,82 +42,82 @@ extern NSString *domStringToNSString(DOM::DOMString &aString);
extern DOM::DOMString NSStringToDOMString(NSString *aString);
@interface WebCoreDOMDocumentType (CorePrivate)
+ (WebCoreDOMDocumentType *)documentTypeWithImpl: (DOM::DocumentTypeImpl *)impl;
+ (WebCoreDOMDocumentType *)documentTypeWithImpl:(DOM::DocumentTypeImpl *)impl;
- (DOM::DocumentTypeImpl *)documentTypeImpl;
@end
@interface WebCoreDOMImplementation (CorePrivate)
+ (WebCoreDOMImplementation *)implementationWithImpl: (DOM::DOMImplementationImpl *)impl;
- initWithImpl: (DOM::DOMImplementationImpl *)coreImpl;
+ (WebCoreDOMImplementation *)implementationWithImpl:(DOM::DOMImplementationImpl *)impl;
- initWithImpl:(DOM::DOMImplementationImpl *)coreImpl;
- (DOM::DOMImplementationImpl *)DOMImplementationImpl;
@end
@interface WebCoreDOMDocument (CorePrivate)
+ (WebCoreDOMDocument *)documentWithImpl: (DOM::DocumentImpl *)impl;
+ (WebCoreDOMDocument *)documentWithImpl:(DOM::DocumentImpl *)impl;
- (DOM::DocumentImpl *)documentImpl;
@end
@interface WebCoreDOMNamedNodeMap (CorePrivate)
+ (WebCoreDOMNamedNodeMap *)namedNodeMapWithImpl: (DOM::NamedNodeMapImpl *)impl;
- initWithImpl: (DOM::NamedNodeMapImpl *)coreImpl;
+ (WebCoreDOMNamedNodeMap *)namedNodeMapWithImpl:(DOM::NamedNodeMapImpl *)impl;
- initWithImpl:(DOM::NamedNodeMapImpl *)coreImpl;
- (DOM::NamedNodeMapImpl *)impl;
@end
@interface WebCoreDOMElement (CorePrivate)
+ (WebCoreDOMElement *)elementWithImpl: (DOM::ElementImpl *)impl;
+ (WebCoreDOMElement *)elementWithImpl:(DOM::ElementImpl *)impl;
- (DOM::ElementImpl *)elementImpl;
@end
@interface WebCoreDOMAttr (CorePrivate)
+ (WebCoreDOMAttr *)attrWithImpl: (DOM::AttrImpl *)impl;
+ (WebCoreDOMAttr *)attrWithImpl:(DOM::AttrImpl *)impl;
- (DOM::AttrImpl *)attrImpl;
@end
@interface WebCoreDOMDocumentFragment (CorePrivate)
+ (WebCoreDOMDocumentFragment *)documentFragmentWithImpl: (DOM::DocumentFragmentImpl *)impl;
+ (WebCoreDOMDocumentFragment *)documentFragmentWithImpl:(DOM::DocumentFragmentImpl *)impl;
- (DOM::DocumentFragmentImpl *)documentFragmentImpl;
@end
@interface WebCoreDOMCharacterData (CorePrivate)
+ (WebCoreDOMCharacterData *)characterDataWithImpl: (DOM::CharacterDataImpl *)impl;
- initWithImpl: (DOM::CharacterDataImpl *)coreImpl;
+ (WebCoreDOMCharacterData *)characterDataWithImpl:(DOM::CharacterDataImpl *)impl;
- initWithImpl:(DOM::CharacterDataImpl *)coreImpl;
- (DOM::CharacterDataImpl *)impl;
@end
@interface WebCoreDOMText (CorePrivate)
+ (WebCoreDOMText *)textWithImpl: (DOM::TextImpl *)impl;
+ (WebCoreDOMText *)textWithImpl:(DOM::TextImpl *)impl;
- (DOM::TextImpl *)textImpl;
@end
@interface WebCoreDOMComment (CorePrivate)
+ (WebCoreDOMComment *)commentWithImpl: (DOM::CommentImpl *)impl;
+ (WebCoreDOMComment *)commentWithImpl:(DOM::CommentImpl *)impl;
- (DOM::CommentImpl *)commentImpl;
@end
@interface WebCoreDOMCDATASection (CorePrivate)
+ (WebCoreDOMCDATASection *)CDATASectionWithImpl: (DOM::CDATASectionImpl *)impl;
+ (WebCoreDOMCDATASection *)CDATASectionWithImpl:(DOM::CDATASectionImpl *)impl;
- (DOM::CDATASectionImpl *)CDATASectionImpl;
@end
@interface WebCoreDOMProcessingInstruction (CorePrivate)
+ (WebCoreDOMProcessingInstruction *)processingInstructionWithImpl: (DOM::ProcessingInstructionImpl *)impl;
+ (WebCoreDOMProcessingInstruction *)processingInstructionWithImpl:(DOM::ProcessingInstructionImpl *)impl;
- (DOM::ProcessingInstructionImpl *)processingInstructionImpl;
@end
@interface WebCoreDOMEntityReference (CorePrivate)
+ (WebCoreDOMEntityReference *)entityReferenceWithImpl: (DOM::EntityReferenceImpl *)impl;
+ (WebCoreDOMEntityReference *)entityReferenceWithImpl:(DOM::EntityReferenceImpl *)impl;
- (DOM::EntityReferenceImpl *)entityReferenceImpl;
@end
@interface WebCoreDOMNode (CorePrivate)
+ (WebCoreDOMNode *)nodeWithImpl: (DOM::NodeImpl *)impl;
- initWithImpl: (DOM::NodeImpl *)coreImpl;
+ (WebCoreDOMNode *)nodeWithImpl:(DOM::NodeImpl *)impl;
- initWithImpl:(DOM::NodeImpl *)coreImpl;
- (DOM::NodeImpl *)impl;
@end
@interface WebCoreDOMNodeList (CorePrivate)
+ (WebCoreDOMNodeList *)nodeListWithImpl: (DOM::NodeListImpl *)impl;
- initWithImpl: (DOM::NodeListImpl *)coreImpl;
+ (WebCoreDOMNodeList *)nodeListWithImpl:(DOM::NodeListImpl *)impl;
- initWithImpl:(DOM::NodeListImpl *)coreImpl;
- (DOM::NodeListImpl *)impl;
@end
......@@ -26,14 +26,14 @@
#import <Foundation/Foundation.h>
@protocol WebCoreHistoryProvider <NSObject>
- (BOOL)containsItemForURLString: (NSString *)urlString;
- (BOOL)containsItemForURLString:(NSString *)urlString;
@end
@interface WebCoreHistory : NSObject
{
}
+ (void)setHistoryProvider: (id<WebCoreHistoryProvider>)h;
+ (void)setHistoryProvider:(id<WebCoreHistoryProvider>)h;
+ (id<WebCoreHistoryProvider>)historyProvider;
@end
......@@ -27,7 +27,7 @@
@protocol WebCoreResourceLoader <NSObject>
- (void)receivedResponse: response;
- (void)receivedResponse:(id)response;
- (void)addData:(NSData *)data;
......
......@@ -38,10 +38,10 @@
- (float)xHeight;
// horizontal metrics
- (float)floatWidthForCharacters:(const unichar *)characters stringLength:(unsigned)length fromCharacterPosition: (int)pos numberOfCharacters: (int)len withPadding: (int)padding applyRounding: (BOOL)applyRounding attemptFontSubstitution: (BOOL)attemptFontSubstitution widths: (float *)buffer letterSpacing: (int)letterSpacing wordSpacing: (int)wordSpacing fontFamilies: (NSString **)families;
- (float)floatWidthForCharacters:(const unichar *)characters stringLength:(unsigned)length fromCharacterPosition:(int)pos numberOfCharacters:(int)len withPadding:(int)padding applyRounding:(BOOL)applyRounding attemptFontSubstitution:(BOOL)attemptFontSubstitution widths:(float *)buffer letterSpacing:(int)letterSpacing wordSpacing:(int)wordSpacing fontFamilies:(NSString **)families;
// drawing
- (void)drawCharacters:(const UniChar *)characters stringLength:(unsigned)length fromCharacterPosition:(int)from toCharacterPosition:(int)to atPoint:(NSPoint)point withPadding: (int)padding withTextColor:(NSColor *)textColor backgroundColor:(NSColor *)backgroundColor rightToLeft: (BOOL)rtl letterSpacing: (int)letterSpacing wordSpacing: (int)wordSpacing fontFamilies: (NSString **)families;
- (void)drawLineForCharacters:(NSPoint)point yOffset:(float)yOffset withWidth: (int)width withColor:(NSColor *)color;
- (void)drawCharacters:(const UniChar *)characters stringLength:(unsigned)length fromCharacterPosition:(int)from toCharacterPosition:(int)to atPoint:(NSPoint)point withPadding:(int)padding withTextColor:(NSColor *)textColor backgroundColor:(NSColor *)backgroundColor rightToLeft:(BOOL)rtl letterSpacing:(int)letterSpacing wordSpacing:(int)wordSpacing fontFamilies:(NSString **)families;
- (void)drawLineForCharacters:(NSPoint)point yOffset:(float)yOffset withWidth:(int)width withColor:(NSColor *)color;
@end
......@@ -62,16 +62,16 @@
@protocol WebDOMImplementation
- (BOOL)hasFeature: (NSString *)feature : (NSString *)version;
- (BOOL)hasFeature:(NSString *)feature :(NSString *)version;
- (id<WebDOMDocumentType>)createDocumentType: (NSString *)qualifiedName
- (id<WebDOMDocumentType>)createDocumentType:(NSString *)qualifiedName
:(NSString *)publicId
:(NSString *)systemId
:(int *)exceptionCode;
- (id<WebDOMDocument>)createDocument: (NSString *)namespaceURI
: (NSString *)qualifiedName
: (id<WebDOMDocumentType>)doctype;
- (id<WebDOMDocument>)createDocument:(NSString *)namespaceURI
:(NSString *)qualifiedName
:(id<WebDOMDocumentType>)doctype;
@end
......
......@@ -49,11 +49,11 @@
- (NSString *)data;
- (void)setData: (NSString *)data;
- (void)setData:(NSString *)data;
- (unsigned long)length;
- (NSString *)substringData: (unsigned long)offset :(unsigned long)count;
- (NSString *)substringData:(unsigned long)offset :(unsigned long)count;
- (void)appendData:(NSString *)arg;
......@@ -72,7 +72,7 @@
@protocol WebDOMText <WebDOMCharacterData>
- (id<WebDOMText>)splitText: (unsigned long)offset;
- (id<WebDOMText>)splitText:(unsigned long)offset;
@end
......@@ -102,7 +102,7 @@
- (NSString *)tagName;
- (NSString *)getAttribute: (NSString *)name;
- (NSString *)getAttribute:(NSString *)name;
- (void)setAttribute:(NSString *)name :(NSString *)value;
......@@ -128,7 +128,7 @@
- (id<WebDOMAttr>)setAttributeNodeNS:(id<WebDOMAttr>)newAttr;
- (BOOL)hasAttribute: (NSString *)name;
- (BOOL)hasAttribute:(NSString *)name;
- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
......
......@@ -48,7 +48,7 @@ enum WebNodeType {
- (NSString *)nodeName;
- (NSString *)nodeValue;
- (void)setNodeValue: (NSString *)string;
- (void)setNodeValue:(NSString *)string;
- (unsigned short)nodeType;
- (id<WebDOMNode>)parentNode;
- (id<WebDOMNodeList>)childNodes;
......@@ -63,12 +63,12 @@ enum WebNodeType {
- (id<WebDOMNode>)removeChild:(id<WebDOMNode>)oldChild;
- (id<WebDOMNode>)appendChild:(id<WebDOMNode>)newChild;
- (BOOL)hasChildNodes;
- (id<WebDOMNode>)cloneNode: (BOOL) deep;
- (id<WebDOMNode>)cloneNode:(BOOL) deep;
- (void)normalize;
- (BOOL)isSupported:(NSString *)feature : (NSString *)version;
- (BOOL)isSupported:(NSString *)feature :(NSString *)version;
- (NSString *)namespaceURI;
- (NSString *)prefix;
- (void)setPrefix: (NSString *)prefix;
- (void)setPrefix:(NSString *)prefix;
- (NSString *)localName;
- (BOOL)hasAttributes;
......@@ -92,7 +92,7 @@ enum WebNodeType {
@protocol WebDOMNodeList <NSObject>
- (unsigned long)length;
- (id<WebDOMNode>)item: (unsigned long)index;
- (id<WebDOMNode>)item:(unsigned long)index;
@end
......@@ -11,22 +11,21 @@
#import <HIToolbox/CarbonEvents.h>
#import <HIToolbox/MacWindows.h>
@interface CarbonWindowAdapter : NSWindow {
@private
@interface CarbonWindowAdapter : NSWindow
{
@private
// The Carbon window that's being encapsulated, and whether or not this object owns (has responsibility for disposing) it.
WindowRef _windowRef;
BOOL _windowRefIsOwned;
BOOL _carbon;
BOOL _carbon;
// The UPP for the event handler that we use to deal with various Carbon events, and the event handler itself.
EventHandlerUPP _handleEventUPP;
EventHandlerRef _eventHandler;
// Yes if this object should let Carbon handle kEventWindowActivated and kEventWindowDeactivated events. No otherwise.
BOOL _passingCarbonWindowActivationEvents;
}
// Initializers.
......
......@@ -3,7 +3,7 @@
// Synergy
//
// Created by Ed Voas on Mon Jan 20 2003.
// Copyright (c) 2003 __MyCompanyName__. All rights reserved.
// Copyright (c) 2003 Apple Computer, Inc. All rights reserved.
//
#import <WebKit/WebKit.h>
......
2003-05-02 Maciej Stachowiak <mjs@apple.com>
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:
2003-05-02 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......@@ -257,6 +307,17 @@
* WebView.subproj/WebAuthenticationChallenge.h: Fix copyright notice, add docs.
* WebView.subproj/WebAuthenticationChallengeInternal.h: Fix copyright notice.
2003-04-30 Maciej Stachowiak <mjs@apple.com>
Reviewed by Ken.
Minor header tweaks.
* Misc.subproj/WebDownload.h: Fix copyright notice.
* Panels.subproj/WebAuthenticationPanel.h: Added 2003 to copyright.
* WebView.subproj/WebAuthenticationChallenge.h: Fix copyright notice, add docs.
* WebView.subproj/WebAuthenticationChallengeInternal.h: Fix copyright notice.
2003-04-30 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......
......@@ -44,16 +44,16 @@
@protocol WebDOMImplementation
- (BOOL)hasFeature: (NSString *)feature : (NSString *)version;
- (BOOL)hasFeature:(NSString *)feature :(NSString *)version;
- (id<WebDOMDocumentType>)createDocumentType: (NSString *)qualifiedName
- (id<WebDOMDocumentType>)createDocumentType:(NSString *)qualifiedName
:(NSString *)publicId
:(NSString *)systemId
:(int *)exceptionCode;
- (id<WebDOMDocument>)createDocument: (NSString *)namespaceURI
: (NSString *)qualifiedName
: (id<WebDOMDocumentType>)doctype;
- (id<WebDOMDocument>)createDocument:(NSString *)namespaceURI
:(NSString *)qualifiedName
:(id<WebDOMDocumentType>)doctype;
@end
......
......@@ -30,7 +30,7 @@ enum WebNodeType {
- (NSString *)nodeValue;
- (void)setNodeValue: (NSString *)string;
- (void)setNodeValue:(NSString *)string;
- (unsigned short)nodeType;
......@@ -42,7 +42,7 @@ enum WebNodeType {
- (id<WebDOMNode>)lastChild;
- (id<WebDOMNode>) previousSibling;
- (id<WebDOMNode>)previousSibling;
- (id<WebDOMNode>)nextSibling;
......@@ -60,17 +60,17 @@ enum WebNodeType {
- (BOOL)hasChildNodes;
- (id<WebDOMNode>)cloneNode: (BOOL) deep;
- (id<WebDOMNode>)cloneNode:(BOOL)deep;
- (void)normalize;
- (BOOL)isSupported:(NSString *)feature : (NSString *)version;
- (BOOL)isSupported:(NSString *)feature :(NSString *)version;
- (NSString *)namespaceURI;
- (NSString *)prefix;
- (void)setPrefix: (NSString *)prefix;
- (void)setPrefix:(NSString *)prefix;
- (NSString *)localName;
......@@ -104,6 +104,6 @@ enum WebNodeType {
- (unsigned long)length;
- (id<WebDOMNode>)item: (unsigned long)index;
- (id<WebDOMNode>)item:(unsigned long)index;
@end
......@@ -134,18 +134,18 @@
*/
- (WebHistoryItem *)itemAtIndex:(int)index;
/*!
@method setPageCacheSize:
@abstract Sets the size of the page cache.
@param size The number of pages to allow in the page cache.
*/
- (void)setPageCacheSize: (unsigned)size;
/*!
/*!
@method setPageCacheSize:
@abstract Sets the size of the page cache.
@param size The number of pages to allow in the page cache.
*/
- (void)setPageCacheSize:(unsigned)size;
/*!
@method pageCacheSize
@abstract Returns the number of pages that may be cached.
@result The number of pages that may be cached.
*/
@abstract Returns the number of pages that may be cached.
@result The number of pages that may be cached.
*/
- (unsigned)pageCacheSize;
@end
......@@ -11,7 +11,7 @@
- (void)_retainIconInDatabase:(BOOL)retain;
+ (void)_releaseAllPendingPageCaches;
- (BOOL)hasPageCache;
- (void)setHasPageCache: (BOOL)f;
- (void)setHasPageCache:(BOOL)f;
- (NSMutableDictionary *)pageCache;
+ (WebHistoryItem *)entryWithURL:(NSURL *)URL;
......@@ -53,7 +53,7 @@
- (WebHistoryItem *)childItemWithName:(NSString *)name;
- (WebHistoryItem *)targetItem;
- (void)setAlwaysAttemptToUsePageCache: (BOOL)flag;
- (void)setAlwaysAttemptToUsePageCache:(BOOL)flag;
- (BOOL)alwaysAttemptToUsePageCache;
- (NSCalendarDate *)_lastVisitedDate;
......@@ -63,7 +63,7 @@
@interface WebBackForwardList (WebPrivate)
- (void)_clearPageCache;
- (void)_setUsesPageCache: (BOOL)f;
- (void)_setUsesPageCache:(BOOL)f;
- (BOOL)_usesPageCache;
@end
......@@ -20,16 +20,16 @@
NSMutableArray *_entriesByDate;
}
- (void)addItem: (WebHistoryItem *)entry;
- (void)addItem:(WebHistoryItem *)entry;
- (void)addItems:(NSArray *)newEntries;
- (BOOL)removeItem: (WebHistoryItem *)entry;
- (BOOL)removeItems: (NSArray *)entries;
- (BOOL)removeItem:(WebHistoryItem *)entry;
- (BOOL)removeItems:(NSArray *)entries;
- (BOOL)removeAllItems;
- (NSArray *)orderedLastVisitedDays;
- (NSArray *)orderedItemsLastVisitedOnDay: (NSCalendarDate *)calendarDate;
- (BOOL)containsItemForURLString: (NSString *)URLString;
- (BOOL)containsURL: (NSURL *)URL;
- (NSArray *)orderedItemsLastVisitedOnDay:(NSCalendarDate *)calendarDate;
- (BOOL)containsItemForURLString:(NSString *)URLString;
- (BOOL)containsURL:(NSURL *)URL;
- (WebHistoryItem *)itemForURL:(NSURL *)URL;
- (WebHistoryItem *)itemForURLString:(NSString *)URLString;
......@@ -39,13 +39,13 @@
@end
@interface WebHistory (WebPrivate)
- (void)removeItem: (WebHistoryItem *)entry;
- (void)addItem: (WebHistoryItem *)entry;
- (void)removeItem:(WebHistoryItem *)entry;
- (void)addItem:(WebHistoryItem *)entry;
- (BOOL)loadHistory;
- initWithFile: (NSString *)file;
- (WebHistoryItem *)addItemForURL: (NSURL *)URL;
- (BOOL)containsItemForURLString: (NSString *)URLString;
- initWithFile:(NSString *)file;
- (WebHistoryItem *)addItemForURL:(NSURL *)URL;
- (BOOL)containsItemForURLString:(NSString *)URLString;
- (WebHistoryItem *)_itemForURLString:(NSString *)URLString;
@end
......@@ -19,16 +19,16 @@
// length than URLs, empty strings will be used for all titles. If URLs is nil, this method
// returns without doing anything. You must declare an WebURLsWithTitlesPboardType data type
// for pasteboard before invoking this method, or it will return without doing anything.
+(void)writeURLs:(NSArray *)URLs andTitles:(NSArray *)titles toPasteboard:(NSPasteboard *)pasteboard;
+ (void)writeURLs:(NSArray *)URLs andTitles:(NSArray *)titles toPasteboard:(NSPasteboard *)pasteboard;
// Reads an array of NSURLs off the pasteboard. Returns nil if pasteboard does not contain
// data of type WebURLsWithTitlesPboardType. This array consists of the URLs that correspond to
// the titles returned from titlesFromPasteboard.
+(NSArray *)URLsFromPasteboard:(NSPasteboard *)pasteboard;
+ (NSArray *)URLsFromPasteboard:(NSPasteboard *)pasteboard;
// Reads an array of NSStrings off the pasteboard. Returns nil if pasteboard does not contain
// data of type WebURLsWithTitlesPboardType. This array consists of the titles that correspond to
// the URLs returned from URLsFromPasteboard.
+(NSArray *)titlesFromPasteboard:(NSPasteboard *)pasteboard;
+ (NSArray *)titlesFromPasteboard:(NSPasteboard *)pasteboard;
@end
......@@ -15,33 +15,33 @@
unsigned usage;
}
-(void)setObject:(id)object forKey:(id)key;
-(void)removeObjectForKey:(id)key;
-(void)removeAllObjects;
-(id)objectForKey:(id)key;
- (void)setObject:(id)object forKey:(id)key;
- (void)removeObjectForKey:(id)key;
- (void)removeAllObjects;
- (id)objectForKey:(id)key;
@end
@interface WebDatabase (WebDatabaseCreation)
-(id)initWithPath:(NSString *)thePath;
- (id)initWithPath:(NSString *)thePath;
@end
@interface WebDatabase (WebDatabaseManagement)
-(void)open;
-(void)close;
-(void)sync;
- (void)open;
- (void)close;
- (void)sync;
-(NSString *)path;
-(BOOL)isOpen;
- (NSString *)path;
- (BOOL)isOpen;
-(unsigned)count;
-(unsigned)sizeLimit;
-(void)setSizeLimit:(unsigned)limit;