[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
mjs
mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:38:33 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit e3bf447e890d86f344c369cb6e08847b31a3865a
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Apr 25 00:24:42 2003 +0000
WebFoundation:
Reviewed by Chris.
Update Challenge API to mostly match proposal, except for the
parts that can't be done until auth handling is moved from the
authentication handler to the connection delegate.
* AuthenticationManager.subproj/NSURLAuthenticationChallenge.h:
* AuthenticationManager.subproj/NSURLAuthenticationChallenge.m:
(-[NSURLAuthenticationChallengePrivate initWithProtectionSpace:proposedCredential:previousFailureCount:failureResponse:error:delegate:]):
(-[NSURLAuthenticationChallengePrivate dealloc]):
(-[NSURLAuthenticationChallenge _initWithProtectionSpace:proposedCredential:previousFailureCount:failureResponse:error:delegate:]):
(-[NSURLAuthenticationChallenge proposedCredential]):
(-[NSURLAuthenticationChallenge cancel]):
(-[NSURLAuthenticationChallenge error]):
(-[NSURLAuthenticationChallenge failureResponse]):
* AuthenticationManager.subproj/NSURLCredentialStorage.m:
(-[NSURLCredentialStorage _invokeHandlersWithURL:realm:forRequest:failureCount:failureResponse:withCallback:context:]):
(-[NSURLCredentialStorage _invokeHandlersWithURL:proxy:forRequest:failureCount:failureResponse:withCallback:context:]):
(-[NSURLCredentialStorage _addCredentialsToRetryHTTPRequest:afterFailureResponse:nsFailureResponse:failureCount:withCallback:context:]):
* AuthenticationManager.subproj/WebAuthenticationHandlerDispatcher.m:
(-[WebAuthenticationHandlerDispatcher startAuthentication:]):
* AuthenticationManager.subproj/WebAuthenticationManagerPrivate.h:
* AuthenticationManager.subproj/WebAuthenticationRequestPrivate.h:
* AuthenticationManager.subproj/WebCredentialStorage.m:
(-[WebCredentialStorage setDefaultCredential:forProtectionSpace:]):
* ProtocolHandlers.subproj/WebCFNetworkHTTPProtocol.m:
(-[WebCFNetworkHTTPProtocol addAuthenticationFieldsToHeader]):
WebKit:
Reviewed by Chris.
* Panels.subproj/WebAuthenticationPanel.m:
(-[WebAuthenticationPanel setUpForChallenge:]): Update for new Challenge API.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index ff19f36..3a7c91d 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,10 @@
+2003-04-24 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by Chris.
+
+ * Panels.subproj/WebAuthenticationPanel.m:
+ (-[WebAuthenticationPanel setUpForChallenge:]): Update for new Challenge API.
+
2003-04-24 Chris Blumenberg <cblu at apple.com>
Renamed - [NSURLResponse suggestedFilenameForSaving] to suggestedFilename and moved it to WebFoundation.
diff --git a/WebKit/Panels.subproj/WebAuthenticationPanel.m b/WebKit/Panels.subproj/WebAuthenticationPanel.m
index c8d1735..1940ffc 100644
--- a/WebKit/Panels.subproj/WebAuthenticationPanel.m
+++ b/WebKit/Panels.subproj/WebAuthenticationPanel.m
@@ -104,7 +104,7 @@
NSString *realm = [space realm];
NSString *message;
- if ([chall previousFailureCount] == 0) {
+ if ([challenge previousFailureCount] == 0) {
if ([space isProxy]) {
message = [NSString stringWithFormat:UI_STRING("To view this page, you need to log in to the %@ proxy server %@.",
"prompt string in authentication panel"),
@@ -139,8 +139,8 @@
"message in authentication panel")];
}
- if ([chall defaultUsername] != nil) {
- [username setStringValue:[chall defaultUsername]];
+ if ([[challenge proposedCredential] user] != nil) {
+ [username setStringValue:[[challenge proposedCredential] user]];
[panel setInitialFirstResponder:password];
} else {
[username setStringValue:@""];
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list