[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:18 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit b68ab69cfcc465f6fc8573ec17c0c6905da43051
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Apr 24 05:36:13 2003 +0000
WebFoundation:
Reviewed by Darin.
Revised NSURLCredential to fully comply with proposal.
* AuthenticationManager.subproj/NSURLCredential.h:
* AuthenticationManager.subproj/NSURLCredential.m:
(-[NSURLCredentialPrivate dealloc]):
(-[NSURLCredential initWithUser:password:persistence:]):
(+[NSURLCredential URLCredentialWithUser:password:persistence:]):
(-[NSURLCredential dealloc]):
(-[NSURLCredential user]):
(-[NSURLCredential password]):
(-[NSURLCredential hasPassword]):
(-[NSURLCredential persistence]):
(-[NSURLCredential copyWithZone:]):
(-[NSURLCredential description]):
* AuthenticationManager.subproj/NSURLCredentialStorage.m:
(-[NSURLCredentialStorage _usernameForRealm:URL:]):
(-[NSURLCredentialStorage _removePasswordForRealm:URL:]):
(-[NSURLCredentialStorage _proxyUsernameForURL:]):
(-[NSURLCredentialStorage _removeProxyPasswordForURL:]):
(-[NSURLCredentialStorage _setDefaultUserInfoFromURL:]):
(-[NSURLCredentialStorage NSURLAuthenticationChallenge:useCredential:]):
(-[NSURLCredentialStorage _applyHTTPProxyCredentials:]):
(-[NSURLCredentialStorage _applyHTTPCredentials:]):
* AuthenticationManager.subproj/WebCredentialStorage.m:
(-[WebCredentialStorage _addCredential:forProtectionSpace:]):
(-[WebCredentialStorage _saveCredential:forProtectionSpace:isDefault:]):
(-[WebCredentialStorage _updateDefaultState:forCredential:protectionSpace:]):
(-[WebCredentialStorage _addKeychainItem:]):
(-[WebCredentialStorage addCredential:forProtectionSpace:]):
(-[WebCredentialStorage removeCredential:forProtectionSpace:]):
(-[WebCredentialStorage setDefaultCredential:forProtectionSpace:]):
* AuthenticationManager.subproj/WebKeychainCredential.m:
(-[WebKeychainCredential initWithKeychainItem:]):
(+[WebKeychainCredential credentialWithKeychainItem:]):
(-[WebKeychainCredential hasPassword]):
WebKit:
Reviewed by Darin.
Adjusted for NSURLCredential changes.
* Panels.subproj/WebAuthenticationPanel.m:
(-[WebAuthenticationPanel runAsModalDialogWithChallenge:]):
(-[WebAuthenticationPanel sheetDidEnd:returnCode:contextInfo:]):
WebBrowser:
Reviewed by Darin.
Adjusted for NSURLCredential changes.
* FormCompletionController.m:
(+[FormCompletionController _passwordSheetDismissed:returnCode:contextInfo:]):
(+[FormCompletionController _credentialMatchesForString:frame:]):
(stringFromMatch):
(+[FormCompletionController _autoFillPasswordInFrame:formInfo:]):
(+[FormCompletionController credentialIsNeverSaveMarker:]):
* Preferences.subproj/PasswordsEditor.m:
(compareCredentials):
(-[PasswordsEditor tableView:objectValueForTableColumn:row:]):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@4164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index a33c6ca..7f27681 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2003-04-22 Maciej Stachowiak <mjs at apple.com>
+
+ Reviewed by Darin.
+
+ Adjusted for NSURLCredential changes.
+
+ * Panels.subproj/WebAuthenticationPanel.m:
+ (-[WebAuthenticationPanel runAsModalDialogWithChallenge:]):
+ (-[WebAuthenticationPanel sheetDidEnd:returnCode:contextInfo:]):
+
2003-04-23 Chris Blumenberg <cblu at apple.com>
Reviewed by darin.
diff --git a/WebKit/Panels.subproj/WebAuthenticationPanel.m b/WebKit/Panels.subproj/WebAuthenticationPanel.m
index 896a63d..1b5f8b7 100644
--- a/WebKit/Panels.subproj/WebAuthenticationPanel.m
+++ b/WebKit/Panels.subproj/WebAuthenticationPanel.m
@@ -156,7 +156,7 @@
NSURLCredential *credential = nil;
if ([[NSApplication sharedApplication] runModalForWindow:panel] == 0) {
- credential = [NSURLCredential credentialWithUsername:[username stringValue] password:[password stringValue] remembered:[remember state] == NSOnState];
+ credential = [NSURLCredential URLCredentialWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
}
[callback performSelector:selector withObject:chall withObject:credential];
@@ -183,7 +183,7 @@
ASSERT(challenge != nil);
if (returnCode == 0) {
- credential = [NSURLCredential credentialWithUsername:[username stringValue] password:[password stringValue] remembered:[remember state] == NSOnState];
+ credential = [NSURLCredential URLCredentialWithUser:[username stringValue] password:[password stringValue] persistence:([remember state] == NSOnState) ? NSURLCredentialPersistencePermanent : NSURLCredentialPersistenceForSession];
}
// We take this tricky approach to nilling out and releasing the challenge
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list