More documentation changes.

        * WebView.subproj/WebControllerPolicyDelegate.h:
        * WebView.subproj/WebDefaultContextMenuDelegate.h:
        * WebView.subproj/WebDocument.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tests:

        * harness.c: (runtest): Turn off leak checking. It's broken.

        * qt/qdate-test.chk: Update test for changes to QDate.
        * qt/qdate-test.cpp: (main): Ditto.

        * qt/qtime-test.chk: Update test for changes to QTime.
        * qt/qtime-test.cpp: (main): Ditto.

WebCore:

	- fixed 3057928 -- lstat private/etc/localtime repeatedly reported
	by fs_usage when mouse is moved

        * WebCore-tests.exp: Remove now-unneeded external entry points
	for QTime, QDate, QDateTime.

        * kwq/qt/qdatetime.h:
        * kwq/KWQDateTime.mm:
	Redid QDateTime using CoreFoundation instead of time/localtime.
	This avoids constantly hitting the disk when getting the current
	time to stuff into an event.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	- fixed 3059513 -- REGRESSION: Scrolling to fragment doesn't work

	Turns out it was better to just put the extra smarts into the clip view
	that we are already creating. Making WebHTMLView be a second clip view
	was silly and broke things.

        * WebView.subproj/WebView.m: (-[WebView initWithFrame:]): Create a WebClipView
	and use it as the content view rather than the NSClipView created by default.

        * WebKit.pbproj/project.pbxproj: Added WebClipView.
        * WebView.subproj/WebClipView.h: Added.
        * WebView.subproj/WebClipView.m: Added.

        * WebView.subproj/WebHTMLView.h: Don't be a subclass of NSClipView any more.
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView drawRect:]): Call setAdditionalClip and resetAdditionalClip on
	the clip view.

        * WebView.subproj/WebHTMLViewPrivate.h: Remove inDrawRect and drawRect.
        * WebView.subproj/WebHTMLViewPrivate.m: Remove visibleRect override. This is
	now in WebClipView.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        More documentation tweaks.

        * History.subproj/WebHistory.h:
        * History.subproj/WebHistoryItem.h:
        * WebView.subproj/WebContextMenuDelegate.h:
        * WebView.subproj/WebControllerPolicyDelegate.h:
        * WebView.subproj/WebLocationChangeDelegate.h:
        * WebView.subproj/WebResourceProgressDelegate.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tests:

        * CookieManager/wkcookiemanager-test.m:
        (main): Adjust for API change.

WebFoundation:

	- fixed 2854536 - New cookie policy: "accept cookies only from the
	same domain as the main page"

        * CacheLoader.subproj/WebResourceRequest.h:
        * CacheLoader.subproj/WebResourceRequest.m:
        (-[WebResourceRequest cookiePolicyBaseURL]):
        (-[WebResourceRequest setCookiePolicyBaseURL:]):
        (-[WebResourceRequest copyWithZone:]):
        * CookieManager.subproj/IFCookieManagerC.m:
        (IFCookieManagerSetCookiesFromResponseHeaders):
        * CookieManager.subproj/WebCookieConstants.h:
        * CookieManager.subproj/WebCookieManager.h:
        * CookieManager.subproj/WebCookieManager.m:
        (-[WebCookieManager _readAcceptCookiesPreference]):
        (-[WebCookieManager _setCookies:forURL:policyBaseURL:]):
        (-[WebCookieManager setCookie:]):
        (-[WebCookieManager setCookiesFromResponseHeaders:forURL:policyBaseURL:]):
        (-[WebCookieManager setAcceptPolicy:]):
        * Misc.subproj/WebNSStringExtras.h:
        * Misc.subproj/WebNSStringExtras.m:
        (-[NSString _web_domainFromHost]):
        * ProtocolHandlers.subproj/WebCFNetworkHTTPProtocolHandler.m:
        (-[WebCFNetworkHTTPProtocolHandler setResponseHeadersUsingHTTPResponse:andCall:context:]):
        * ProtocolHandlers.subproj/WebSimpleHTTPProtocolHandler.m:
        (-[WebSimpleHTTPProtocolHandler _parseHeadersFromData:]):

WebCore:

	- fixed 2854536 - New cookie policy: "accept cookies only from the
	same domain as the main page"

        * khtml/html/html_documentimpl.cpp:
        (HTMLDocumentImpl::setCookie):
        * kwq/KWQKCookieJar.h:
        * kwq/KWQKCookieJar.mm:
        (KWQKCookieJar::setCookie):
        * kwq/WebCoreCookieAdapter.h:
        * kwq/WebCoreCookieAdapter.m:
        (-[WebCoreCookieAdapter setCookies:forURL:policyBaseURL:]):

WebKit:

	- fixed 2854536 - New cookie policy: "accept cookies only from the
	same domain as the main page"

        * WebCoreSupport.subproj/WebCookieAdapter.h:
        * WebCoreSupport.subproj/WebCookieAdapter.m:
        (-[WebCookieAdapter setCookies:forURL:policyBaseURL:]):
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:]):
        (-[WebSubresourceClient handleDidRedirect:toURL:]):
        * WebView.subproj/WebDataSourcePrivate.m:
        (-[WebDataSource _startLoading]):
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient handleDidRedirect:toURL:]):

WebBrowser:

	- fixed 2854536 - New cookie policy: "accept cookies only from the
	same domain as the main page"

        * Preferences.subproj/English.lproj/SecurityPreferences.nib:
        * Preferences.subproj/SecurityPreferences.h:
        * Preferences.subproj/SecurityPreferences.m:
        (-[SecurityPreferences takeCookiePolicyFrom:]):
        (-[SecurityPreferences updateCookiesViews]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFoundation:

	Begin change from WebResourceClient to WebResourceHandleDelegate.
	In this step, I have just changed the name of the protocol; the
	protocol interface is the same.

	As part of this change, WebResourceSynchronousClient becomes
	WebResourceHandleSynchronousDelegate. Also, the init interface
	for WebResourceHandle assumes the form specified in the new API
	specification:

	-(id)initWithRequest:(WebResourceRequest *)request delegate:(id <WebResourceHandleDelegate>)delegate;

	I also made cosmetic changes to variable names and such.

	Note that I am removing the WebResourceClient.h file, but I
	copied the ,v file in the repository so that the history for WebResourceClient.h
	is preserved in WebResourceHandleDelegate.h.

        * CacheLoader.subproj/WebResourceCallbackClient.h:
        * CacheLoader.subproj/WebResourceClient.h: Removed.
        * CacheLoader.subproj/WebResourceHandle.h:
        * CacheLoader.subproj/WebResourceHandle.m:
        (-[WebResourceHandle loadInForeground:])
        (-[WebResourceHandle initWithRequest:delegate:])
        * CacheLoader.subproj/WebResourceHandleInternal.h:
        * CacheLoader.subproj/WebResourceHandleInternal.m:
        (-[WebResourceHandleInstanceVariables dealloc])
        (-[WebResourceHandle _notifyClientDidRedirectToURL])
        (-[WebResourceHandle _notifyClientDataDidBecomeAvailable])
        (-[WebResourceHandle _notifyClientDidFailLoading])
        (-[WebResourceHandle _notifyClientDidFinishLoading])
        * CacheLoader.subproj/WebResourceHandlePrivate.m:
        (-[WebResourceHandle _userAgentForURL:])
        * CacheLoader.subproj/WebResourceResponse.h:
        * CacheLoader.subproj/WebResourceSynchronousClient.h:
        * CacheLoader.subproj/WebResourceSynchronousClient.m:
        (-[WebResourceHandleSynchronousDelegate initWithMonitor:realDelegate:])
        (-[WebResourceHandleSynchronousDelegate dealloc])
        (-[WebResourceHandleSynchronousDelegate handleWillUseUserAgent:forURL:])
        (-[WebResourceHandleSynchronousDelegate handleDidFinishLoading:])
        (-[WebResourceHandleSynchronousDelegate handleDidReceiveData:data:])
        (-[WebResourceHandleSynchronousDelegate handleDidRedirect:toURL:])
        * Misc.subproj/WebFoundation.h:
        * WebFoundation.pbproj/project.pbxproj:

WebKit:

        Begin change from WebResourceClient to WebResourceHandleDelegate.
        In this step, I have just changed the name of the protocol; the
        protocol interface is the same.

	I made other cosmetic changes to variable names and such.

        * Misc.subproj/WebIconLoader.h:
        * Misc.subproj/WebIconLoader.m:
        (-[WebIconLoader startLoading])
        * Plugins.subproj/WebPluginStream.m:
        (-[WebNetscapePluginStream startLoad])
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge objectLoadedFromCache:size:])
        * WebCoreSupport.subproj/WebSubresourceClient.h:
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:])
        * WebView.subproj/WebDataSourcePrivate.m:
        (-[WebDataSource _startLoading])
        * WebView.subproj/WebMainResourceClient.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFoundation:

	Moving to the new WebResourceHandleDelegate API.

	This change moves all WebResourceHandleDelegate implementors to:

	- (void)handle:(WebResourceHandle *)handle didFailLoadingWithError:(WebError *)result;

        * CacheLoader.subproj/WebResourceCallbackClient.m:
        * CacheLoader.subproj/WebResourceHandleInternal.m:
        (-[WebResourceHandle _notifyClientDidFailLoading])
        * CacheLoader.subproj/WebResourceSynchronousClient.m:

WebKit:

        Moving to the new WebResourceHandleDelegate API.

        This change moves all WebResourceHandleDelegate implementors to:

        - (void)handle:(WebResourceHandle *)handle didFailLoadingWithError:(WebError *)result;

        * Misc.subproj/WebIconLoader.m:
        (-[WebIconLoader handle:didFailLoadingWithError:])
        * Plugins.subproj/WebPluginStream.m:
        (-[WebNetscapePluginStream handle:didFailLoadingWithError:])
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (-[WebSubresourceClient handle:didFailLoadingWithError:])
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient handle:didFailLoadingWithError:])


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFoundation:

	More moves to the new WebResourceHandleDelegate API.

        This change moves all WebResourceHandleDelegate implementors to:

	-(void)handle:(WebResourceHandle *)handle didReceiveData:(NSData *)data;

        * CacheLoader.subproj/WebResourceCallbackClient.m:
        (-[WebResourceCallbackClient handle:didReceiveData:])
        * CacheLoader.subproj/WebResourceHandleInternal.m:
        (-[WebResourceHandle _notifyClientDataDidBecomeAvailable])
        * CacheLoader.subproj/WebResourceSynchronousClient.m:
        (-[WebResourceHandleSynchronousDelegate handle:didReceiveData:])

WebKit:

        More moves to the new WebResourceHandleDelegate API.

        This change moves all WebResourceHandleDelegate implementors to:

        -(void)handle:(WebResourceHandle *)handle didReceiveData:(NSData *)data;

        * Misc.subproj/WebIconLoader.m:
        (-[WebIconLoader handle:didReceiveData:])
        * Plugins.subproj/WebPluginStream.m:
        (-[WebNetscapePluginStream handle:didReceiveData:])
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (-[WebSubresourceClient handle:didReceiveData:])
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient handle:didReceiveData:])


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFoundation:

	Removed this method from WebResourceHandle:

	+(BOOL)canInitWithURL:(NSURL *)theURL;

	replaced with:

	+(BOOL)canInitWithRequest:(WebResourceRequest *)request;

	Also added a convenience method to WebResourceRequest that
	allocates, inits, and returns an autoreleased instance.

        * CacheLoader.subproj/WebResourceHandle.h:
        * CacheLoader.subproj/WebResourceHandle.m:
        (+[WebResourceHandle canInitWithRequest:])
        * CacheLoader.subproj/WebResourceRequest.h:
        * CacheLoader.subproj/WebResourceRequest.m:
        (+[WebResourceRequest requestWithURL:])

WebKit:

        Removed this method from WebResourceHandle:

        +(BOOL)canInitWithURL:(NSURL *)theURL;

        replaced with:

        +(BOOL)canInitWithRequest:(WebResourceRequest *)request;

	Callers have been updated to reflect the change.

        * WebView.subproj/WebDefaultPolicyDelegate.m:
        (+[WebDefaultPolicyDelegate defaultURLPolicyForURL:])
        * WebView.subproj/WebFramePrivate.m:
        (-[WebFrame _shouldShowURL:])


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Make the "set aside subviews" logic stronger so it can handle a display
	while inside drawRect. But note, this recursive display is most likely
	the cause of the redrawing problems we have while resizing, like bug 2969367.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView drawRect:]): Restore views and then set them aside again, but don't
	leave the "views set aside" boolean set.
        * WebView.subproj/WebHTMLViewPrivate.h: Add private _setAsideSubviews and _restoreSubviews methods.
        * WebView.subproj/WebHTMLViewPrivate.m:
        (-[WebHTMLView _setAsideSubviews]): Added.
        (-[WebHTMLView _restoreSubviews]): Added.
        (-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
	Use the new _setAsideSubviews and _restoreSubviews methods.
        (-[WebHTMLView _recursiveDisplayAllDirtyWithLockFocus:visRect:]): Ditto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Fix error with the color "indigo".

        * kwq/KWQColor.mm: (getNamedColors): There were some spaces in our
	color table so we wouldn't handle indianred or indigo.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Fixed: 3050665 - REGRESSION: mp3 audio loads and plays, but no progress or play control is visible

        * Plugins.subproj/WebPluginView.h:
        * Plugins.subproj/WebPluginView.m:
        (-[WebNetscapePluginView setNeedsLayout:]):
        (-[WebNetscapePluginView layout]):
        (-[WebNetscapePluginView drawRect:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFoundation:

	Changes to move the WebResourceHandle API closer to the
	specified design. This includes:

	- Removed loadInBackground method from the public interface.
	- Start asynchronous loading in WebResourceHandle init method.
	- Remove loadInForeground: from WebResourceHandle interface.
	- Add nice comments to WebResourceHandle header file.
	- Move WebResourceHandle callback deferral methods to SPI header file.
	- Some cleanups in synchronous loading.
	- Change name of WebResourceHandle cancelLoadInBackground method to cancel.
	- Some changes to the C glue (why do I even pretend that I am keeping
	this glue code working?)

        * CacheLoader.subproj/IFURLHandleC.h:
        * CacheLoader.subproj/IFURLHandleC.m:
        (IFURLHandleCancelLoadInBackground)
        (IFURLHandleDidRedirectToURL)
        * CacheLoader.subproj/WebResourceHandle.h:
        * CacheLoader.subproj/WebResourceHandle.m:
        (+[WebResourceHandle canInitWithRequest:])
        (-[WebResourceHandle initWithRequest:delegate:])
        (-[WebResourceHandle cancel])
        (-[WebResourceHandle loadInForeground:])
        (-[WebResourceHandle loadInForeground])
        * CacheLoader.subproj/WebResourceHandleInternal.h:
        * CacheLoader.subproj/WebResourceHandleInternal.m:
        (-[WebResourceHandle _loadInBackground])
        (-[WebResourceHandle _postCallback:])
        (-[WebResourceHandle _sendCallbacks])
        * CacheLoader.subproj/WebResourceHandlePrivate.h:
        * CacheLoader.subproj/WebResourceHandlePrivate.m:
        (-[WebResourceHandle _setDefersCallbacks:])
        (-[WebResourceHandle _defersCallbacks])
        * CacheLoader.subproj/WebResourceLoad.m:
        (-[WebResourceLoad cancel])
        * CacheLoader.subproj/WebResourceSynchronousClient.m:
        (-[WebResourceHandleSynchronousDelegate run:])
        (-[WebResourceHandleSynchronousDelegate finished])
        * WebFoundation.exp:
        * WebFoundation.pbproj/project.pbxproj:

WebKit:

        Changes to move the WebResourceHandle API closer to the
        specified design. This includes:

        - Removed loadInBackground method from the public interface.
        - Start asynchronous loading in WebResourceHandle init method. This required some
	  code reorganization in callers.
        - Remove loadInForeground: from WebResourceHandle interface.
        - Move WebResourceHandle callback deferral methods to SPI header file.
        - Change name of WebResourceHandle cancelLoadInBackground method to cancel.

        * Misc.subproj/WebIconLoader.m:
        (-[WebIconLoader startLoading])
        (-[WebIconLoader stopLoading])
        * Plugins.subproj/WebPluginStream.m:
        (-[WebNetscapePluginStream startLoad])
        (-[WebNetscapePluginStream cancel])
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (+[WebSubresourceClient startLoadingResource:withURL:referrer:forDataSource:])
        (-[WebSubresourceClient cancel])
        * WebView.subproj/WebDataSourcePrivate.m:
        (-[WebDataSource _startLoading])
        (-[WebDataSource _addSubresourceClient:])
        (-[WebDataSource _stopLoading])
        (-[WebDataSource _defersCallbacksChanged])
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient handle:didReceiveData:])


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	- fixed 3057964 -- JS problem performing MD5 script embedded in yahoo login page

        * kjs/simple_number.h: Fix incorrect check for sign bit that was munging numbers
	in the range 0x10000000 to 0x1FFFFFFF.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Fix the impls of min/max to not use +inf/-inf when you have
	arguments.  Technically there's still a bug here for the no
	argument case, probably caused by a screwup when +inf/-inf are
	converted to doubles.

        * kjs/math_object.cpp:
        (MathFuncImp::call):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Implement scrollX and scrollY on the window object.  This
	gets brainjar closer to reality. :)

        * khtml/ecma/kjs_window.cpp:
        (Window::get):
        * khtml/ecma/kjs_window.h:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        API and documentation tweaks.

        WebDocumentDragSettings:  canDrag -> acceptsDrag
        WebDataSource:  removed originalURL
        WebStandardPanels:  use -> uses

        * History.subproj/WebBackForwardList.h:
        * Misc.subproj/WebDownloadHandler.m:
        (-[WebDownloadHandler initWithDataSource:]):
        * Panels.subproj/WebStandardPanels.h:
        * Panels.subproj/WebStandardPanels.m:
        (-[WebStandardPanels setUsesStandardAuthenticationPanel:]):
        (-[WebStandardPanels usesStandardAuthenticationPanel]):
        * Plugins.subproj/WebPluginView.m:
        (-[WebNetscapePluginView frameStateChanged:]):
        * WebCoreSupport.subproj/WebSubresourceClient.m:
        (-[WebSubresourceClient cancel]):
        * WebView.subproj/WebController.h:
        * WebView.subproj/WebDataSource.h:
        * WebView.subproj/WebDataSourcePrivate.m:
        (-[WebDataSource _commitIfReady]):
        * WebView.subproj/WebDocument.h:
        * WebView.subproj/WebFrame.m:
        (-[WebFrame setProvisionalDataSource:]):
        (-[WebFrame startLoading]):
        * WebView.subproj/WebFramePrivate.m:
        (-[WebFrame _transitionToCommitted]):
        (-[WebFrame _setState:]):
        (-[WebFrame _goToItem:withFrameLoadType:]):
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView setAcceptsDrags:]):
        (-[WebHTMLView acceptsDrags]):
        (-[WebHTMLView setAcceptsDrops:]):
        (-[WebHTMLView acceptsDrops]):
        * WebView.subproj/WebImageView.m:
        (-[WebImageView setAcceptsDrags:]):
        (-[WebImageView acceptsDrags]):
        (-[WebImageView setAcceptsDrops:]):
        (-[WebImageView acceptsDrops]):
        * WebView.subproj/WebLoadProgress.h:
        * WebView.subproj/WebLocationChangeDelegate.h:
        * WebView.subproj/WebMainResourceClient.m:
        (-[WebMainResourceClient didCancelWithHandle:]):
        * WebView.subproj/WebView.h:

        Updated to reflect API tweaks.

        * AppController.m:
        (-[AppController awakeFromNib]):
        * DownloadProgressEntry.m:
        (-[DownloadProgressEntry stop]):
        * LocationChangeHandler.m:
        (-[LocationChangeHandler locationChangeStartedForDataSource:]):
        (-[LocationChangeHandler locationChangeCommittedForDataSource:]):
        (-[LocationChangeHandler locationChangeDone:forDataSource:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	- fixed 3060773 -- Wrong title proposed when image link
	dropped on favorites bar

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView mouseDragged:]): Claim the pasteboard (via
	declareTypes:) before putting data on it.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        API tweaks.
        * Misc.subproj/WebKit.h:
        Added headers.

        * Misc.subproj/WebKitErrors.h:
        Removed #defines.

        * WebView.subproj/WebDataSource.h:
        * WebView.subproj/WebDataSource.m:
        * WebView.subproj/WebDataSourcePrivate.m:
        (-[WebDataSource _startLoading]):
        (-[WebDataSource _loadIcon]):
        * WebView.subproj/WebDefaultContextMenuDelegate.m:
        (-[WebDefaultContextMenuDelegate contextMenuItemsForElement:defaultMenuItems:]):
        Removed isMainDocument.

        Moved errors string #defines here.
        * WebView.subproj/WebView.m:

        Updated to reflect API tweaks.

        * ContextMenuHandler.m:
        (-[ContextMenuHandler contextMenuItemsForElement:defaultMenuItems:]):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
	Fix the infinity problem Dave worked around. We didn't have the
	configuration flags set right to make infinity work. Setting those
	properly made everything work without changes to min and max.

        * kjs/config.h: Define HAVE_FUNC_ISINF, HAVE_STRING_H, and
	also WORDS_BIGENDIAN (if on ppc).

        * kjs/math_object.cpp: (MathFuncImp::call): Roll out min and max
	changes from yesterday.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2173 268f45cc-cd09-0410-ab3c-d52691b4dbfc