Commit graph

1113 commits

Author SHA1 Message Date
Mattt Thompson
f7d98aac9c Merge branch '781-mime-stream-pair' of git://github.com/plausiblelabs/AFNetworking 2013-03-24 01:04:41 -04:00
Mattt Thompson
9b2a20c0a1 Merge branch 'experimental-ssl-pinning' 2013-03-24 00:57:16 -04:00
Mattt Thompson
8a642a2698 Minor formatting and documentation edits 2013-03-24 00:57:04 -04:00
Oliver Letterer
1bfed80989 Adds AFSSLPinningModeNone. 2013-03-24 00:51:16 -04:00
Konstantinos Vaggelakos
29c87a3c92 UIImageView+AFNetworking not using setHTTPShouldHandleCookies
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-03-14 12:56:38 -07:00
Mattt Thompson
ad04dee34a Merge pull request #844 from karbonworks/master
Add asterisk (*) as a percent escaped character...
2013-03-14 12:50:21 -07:00
Mattt Thompson
167aeb1be0 Minor formatting fixes 2013-03-14 12:48:05 -07:00
Mattt Thompson
f9a0cbff3f Minor formatting fix 2013-03-14 12:46:16 -07:00
Mattt Thompson
52764bfc36 Merge pull request #806 from drodriguez/gh-800-multipart-custom-filename
Add parts with custom file names and MIME types
2013-03-14 12:44:10 -07:00
Mattt Thompson
aceb68178b Merge pull request #849 from joelparsons/master
AFHTTPClient Registered operation classes consulted in wrong order.
2013-03-14 12:43:42 -07:00
Joel Parsons
1bd7faf964 changed op_class variable to more objective-c style variable name operationClass 2013-03-12 10:47:45 +00:00
Joel Parsons
6a46815eaf The documentations states registered operation classes are consulted to the reverse order in which they are registered. New registrations are added to the beginning of the array in the register implementation. Fixed using the reverseObjectEnumerator when iterating the array which produced the opposite of documented behaviour. fixes #794 2013-03-11 13:15:19 +00:00
Mattt Thompson
4732be728e Merge pull request #841 from 0xced/indentation-settings
Set indentation settings to four spaces at the project level
2013-03-10 11:19:14 -07:00
Mattt Thompson
48ca0846bb Merge pull request #842 from 0xced/no-nil-network-activity
Update network activity indicator only if requests have a non nil URL
2013-03-10 11:17:28 -07:00
Mattt Thompson
27c357a6c3 Merge pull request #843 from blakewatters/bugfix/avoid-logging-crashes-from-notifications
Rework Notification Delivery to Avoid Crashes in Logging
2013-03-10 11:15:37 -07:00
Garrett Murray
953b8623d8 Add asterisk (*) as a percent escaped character since it's in the reserved words per the RFC 2013-03-07 20:42:16 -08:00
Cédric Luthi
9c3530060c Update network activity indicator only if requests have a non nil URL 2013-03-07 13:20:58 +01:00
Cédric Luthi
95b4f6c979 Set indentation settings to four spaces at the project level 2013-03-07 12:53:47 +01:00
Blake Watters
db305db733 Rework delivery of AFNetworkingOperationDidStartNotification and AFNetworkingOperationDidFinishNotification to avoid crashes when logging in response to notifications 2013-03-06 21:40:56 -05:00
Mattt Thompson
61188e2dad [Issue #837] Refactoring implementation of HTTP string encoding edge case to -responseStringEncoding to fix potential inconsistency in effective value 2013-03-05 14:42:23 -08:00
Mattt Thompson
2b6590d800 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-02-27 11:20:20 -08:00
Sean Kovacs
b42ea1fdb6 [Issue #803] Only set image in UIImageView category if non-nil
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-02-27 11:11:49 -08:00
Mattt Thompson
8658013d58 Merge pull request #814 from madninja/bug/percent-escapes
Adding comma (,) as a percent escaped character
2013-02-27 10:48:07 -08:00
Mattt Thompson
7673c3e1d0 [Issue #817] Removing unused totalContentLength and offsetContentLength properties, and implementation of -connection:didReceiveResponse: 2013-02-27 09:55:07 -08:00
Mattt Thompson
dbd5fc3220 Adding missing #pragma clang diagnostic pop (/thanks @tewha) 2013-02-27 09:24:18 -08:00
Mattt Thompson
c3e70f9948 Merge pull request #825 from OliverLetterer/thread-issue
Fixes -[AFURLConnectionOperation totalBytesRead] threading issue.
2013-02-27 08:36:47 -08:00
Oliver Letterer
580c547616 Fixes -[AFURLConnectionOperation totalBytesRead] threading issue. 2013-02-26 08:37:18 +01:00
Mike Ash
bea04f4978 Fix deadlock from trying to do a dispatch_sync on the main queue when already on the main thread 2013-02-22 17:37:48 -05:00
Mike Ash
1e0bce2ba9 Delete useless commented-out call to handleOutputStreamSpaceAvailable, and fix the stream:handleEvent: bit flag check 2013-02-21 15:01:20 -05:00
Mike Ash
01b206071b Reimplement AFMultipartBodyStream as AFMultipartBodyStreamProvider vending one side of a bound CFStream pair, to avoid subclassing NSInputStream and fix #781 2013-02-21 14:35:41 -05:00
Marc Nijdam
63e5f0b57a Adding comma (,) as a percent escaped character since it's in the reserved words per the RFC 2013-02-19 16:01:01 -08:00
Daniel Rodríguez Troitiño
53abb54291 Add method to allow custom file name and content type for multiparts.
The previous method was selecting the file name and the MIME type
automatically depending on the given file URL.

The new method allows specifying a custom file name and a custom
MIME type for the those parts.
2013-02-15 21:13:09 +01:00
Daniel Rodríguez Troitiño
574792d9cb Fix documentation for appendPartWithFileURL:name:error:.
The documentation said that the values for filename and the
Content-Type header was being obtained from a NSURLResponse,
but since this is a request, no response is available yet.

The documentation has been changed to reflect better where
those values really come from.
2013-02-15 21:09:31 +01:00
Mattt Thompson
cb3744a808 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-02-09 20:22:06 +01:00
Mattt Thompson
caa9551ae4 [Issue #791] Matching operations on request URL path rather than absolute URL string 2013-02-09 19:36:37 +01:00
Mattt Thompson
284b95006e Merge pull request #792 from zachwaugh/master
Fix content type for extension from returning null
2013-02-09 09:44:40 -08:00
Zach Waugh
a563b61a34 Ensure content type for path extension doesn't return null 2013-02-09 11:49:06 -05:00
Mattt Thompson
effd1136d2 Adding Security frameworks to podspec, and defining _AFNETWORKING_PIN_SSL_CERTIFICATES_ 2013-02-08 15:11:06 +01:00
Mattt Thompson
8215c43680 Minor reformatting of AFHTTPClient constants documentation 2013-02-08 15:08:41 +01:00
Mattt Thompson
d609df5321 Adding documentation about SSL Pinning 2013-02-08 15:08:26 +01:00
Mattt Thompson
35c6f996c0 Adding Security framework to example projects and adding #define for _AFNETWORKING_PIN_SSL_CERTIFICATES_ 2013-02-08 14:38:49 +01:00
Mattt Thompson
8e6202b134 Fixing compiler warnings in SSL pinning initializers
Minor refactoring
2013-02-08 14:37:17 +01:00
Mattt Thompson
1053e00fff Removing #warning about Security framework 2013-02-08 14:22:27 +01:00
Mattt Thompson
0e18f85bfb Replacing #ifdef macro check for Security to _AFNETWORKING_PIN_SSL_CERTIFICATES_ 2013-02-08 14:21:52 +01:00
Mattt Thompson
f0be1ed682 Merge pull request #786 from tewha/patch-9
Fixed comment typo
2013-02-08 00:41:48 -08:00
Steven Fisher
b3625ebcd0 Fixed comment typo
Minor typo.
2013-02-07 14:19:54 -08:00
Mattt Thompson
8cd63afe76 Stashing merge 2013-02-06 14:03:22 +01:00
Mattt Thompson
2cd283421f Merge pull request #778 from Neonkoala/master
Support for repeated key value pairs in URL encoded forms
2013-02-06 03:42:07 -08:00
Nick Dawson
5698ab3768 Added support for repeated key value pairs through use of NSSet 2013-02-05 12:46:03 +00:00
Sasmito Adibowo
ba60cab1be Use dispatch_once to initialize content-type-specific processing queues
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-02-04 00:45:35 +01:00