Commit graph

522 commits

Author SHA1 Message Date
Peter Steinberger
e2751e6ffc protect decrementActivityCount against integer underflow. 2012-04-05 17:49:08 -07:00
Peter Steinberger
069615a20d Use lightweight locking for activityCount
Also exposes isNetworkActivityIndicatorVisible which now is KVO observable.
2012-04-05 17:29:18 -07:00
Mattt Thompson
0470f4b29f [Issue #278] Adding thread safety to incrementing / decrementing and display of network activity indicator 2012-04-04 16:31:52 -07:00
Mattt Thompson
a0967f5d4f Removing @gowalla.com e-mail address 2012-03-31 13:02:06 -07:00
Mattt Thompson
0e6b58ba60 [Issue #266] Re-adding conditional in multipartFormRequestWithMethod:... that does not doubly-encode NSData parameter values 2012-03-28 10:08:49 -07:00
Mattt Thompson
9e5ff6dcf5 [Issue #266] Fixing GET and POST parameter encoding 2012-03-28 10:05:00 -07:00
Mattt Thompson
1e408ba2af Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-03-27 09:09:11 -07:00
Mattt Thompson
8606378b69 [Issue #267] Fixing compiler warning on undeclared AFQueryStringComponentFromKeyAndValueWithEncoding 2012-03-27 09:09:03 -07:00
Mattt Thompson
3484605935 Merge pull request #262 from eikemeier/master
Use SBJsonParser/SBJsonWriter instead of NSObject+SBJson
2012-03-20 17:01:55 -07:00
Oliver Eikemeier
371d6406ea merged e87b3c1 2012-03-21 00:17:59 +01:00
Oliver Eikemeier
32fb8171bf AFNetworking is still non-ARC 2012-03-20 22:54:27 +01:00
Mattt Thompson
e87b3c1b6e Merge pull request #261 from zole/fix-json-error-bug
Fixed bug with JSON decodes not returning errors
2012-03-20 14:50:28 -07:00
Oliver Eikemeier
66a123e216 Use SBJsonParser/SBJsonWriter instead of NSObject+SBJson
- SBJsonParser can be used standalone when JSON posting is not used
- No NSString -> NSData conversion when encoding
- Possibility to implement error handling (although [parser/writer
error] returns a NSString...)
- Documented interface:
http://stig.github.com/json-framework/api/3.0/interfaceSBJsonParser.html
http://stig.github.com/json-framework/api/3.0/interfaceSBJsonWriter.html
2012-03-20 22:39:18 +01:00
Alex Michaud
7926ee1c7a Fixed bug with JSON decodes not returning errors 2012-03-20 14:14:37 -07:00
Mattt Thompson
c198eaf251 Adding notes in documentation about JSON libraries necessary for decoding responses in AFJSONRequestOperation and encoding requests in AFHTTPClient 2012-03-20 10:32:29 -07:00
Mattt Thompson
c1205689ce Updating spec to 0.9.1 2012-03-19 14:37:29 -04:00
Mattt Thompson
c998a182cd Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-03-19 14:36:37 -04:00
Mattt Thompson
71ebcfff8b Minor refactoring to query string parameter functions in AFHTTPClient 2012-03-19 14:36:22 -04:00
Mattt Thompson
acd6e49294 [Issue #243] Fixing AFQueryStringFromParametersWithEncoding to encode nested array values correctly 2012-03-19 12:44:06 -04:00
Mattt Thompson
d6b97d4b14 Merge pull request #251 from AquaGeek/null-error-pointer-fix
Check for null error pointer before setting it on the invocation
2012-03-16 11:45:04 -07:00
Mattt Thompson
c67d854a60 Merge pull request #253 from jagill/typo
Fixing upload/download typo.
2012-03-16 11:30:33 -07:00
James Gill
91d854a8a6 Fixing upload/download typo. 2012-03-15 17:20:56 -07:00
Tyler Stromberg
f7a00cfa51 Check in AFJSONDecode as well 2012-03-15 00:23:37 -04:00
Tyler Stromberg
d7089fd2a3 Check for null error pointer before setting it on the invocation 2012-03-15 00:16:28 -04:00
Mattt Thompson
34b7d01af8 Updating documentation for AFURLConnectionOperation about implemented NSURLConnectionDelegate methods 2012-03-13 09:04:59 -07:00
Mattt Thompson
35a7b29286 [Issue #246] Making AFURLConnectionOperation behavior consistent for _AFNETWORKING_ALLOW_INVALID_SSL_CERTIFICATES_ in -connection:didReceiveAuthenticationChallenge: 2012-03-13 09:02:42 -07:00
Mattt Thompson
78baffde8a Rearragnging project navigator 2012-03-13 09:01:47 -07:00
Mattt Thompson
ad2ff07d6e Minor formatting changes to TweetTableViewCell 2012-03-12 22:10:23 -07:00
Mattt Thompson
24f2300579 A few minor fixes to new iOS example 2012-03-12 22:08:28 -07:00
Mattt Thompson
ebfbbd198a Constructing image in background queue 2012-03-12 22:04:54 -07:00
Mattt Thompson
0481d55949 Changing iOS example to Twitter Client 2012-03-12 22:04:39 -07:00
Mattt Thompson
f11c93d446 Merge pull request #242 from minorblend/master
added '&' between parameters in a query string
2012-03-11 10:25:14 -07:00
Josh Chung
320f1ae114 added '&' between parameters in query string 2012-03-10 17:03:29 +09:00
Mattt Thompson
3c33b744f7 Minor code formatting 2012-03-09 14:08:24 -08:00
Mattt Thompson
749fe6ce77 Merge branch 'master' of https://github.com/mhausherr/AFNetworking into mhausherr-master 2012-03-09 14:01:56 -08:00
Mattt Thompson
ce2063f06d [Issue #236] Adding AFURLConnectionOperation -setCacheResponseBlock:, which allows the behavior of the NSURLConnectionDelegate method -connection:willCacheResponse: to be overridden without subclassing 2012-03-09 13:50:46 -08:00
Mattt Thompson
467de06532 [Issue #237] Adding warning about crashing behavior in iOS 4 loading a file:// URL 2012-03-09 12:56:10 -08:00
Mattt Thompson
2b6e44cf1d [Issue #238] Reverting change in AFHTTPRequestOperation -setCompletionBlockWithSuccess:failure: to once again have responseData be the response object 2012-03-09 12:44:29 -08:00
Mattt Thompson
8d145b23d9 [Issue #240] Adding semicolon to _af_nsjon_encode/decode labels 2012-03-09 12:41:26 -08:00
Mattt Thompson
45df8ab6a7 Adding a link to the NSScreencast episode about AFNetworking 2012-03-08 09:53:49 -08:00
Mathieu Hausherr
d239fbdff5 Merge branch 'master' of https://github.com/mhausherr/AFNetworking 2012-03-07 22:51:20 +01:00
Mathieu Hausherr
bc7d320ee9 Multi level query parameters support for Multipart and Formencoded requests
Generate keys like 'key1[key2][][key3]'

Solve this problem
http://stackoverflow.com/questions/9605269/afhttpclient-invalid-tokens-in-dictionary-when-using-afformurlparameterencoding
2012-03-07 22:50:25 +01:00
Mathieu Hausherr
c73c10d985 Multi level query parameters support for Multipart and Form anchored requests
Generate keys like 'key1[key2][][key3]'

Solve this problem
http://stackoverflow.com/questions/9605269/afhttpclient-invalid-tokens-i
n-dictionary-when-using-afformurlparameterencoding
2012-03-07 22:47:04 +01:00
Adrian Kosmaczewski
553e1d7e6b Squashed commit of the following:
commit 5efc2bc0305acc3c974e524636a824a1964adfe6
Author: Mattt Thompson <m@mattt.me>
Date:   Mon Mar 5 06:33:37 2012 -0800

    Removing .gitignore

commit c5c6aacb027185984317fbef5f959f0568587367
Author: Adrian Kosmaczewski <adrian@akosma.com>
Date:   Mon Mar 5 10:51:17 2012 +0100

    Removed the NextiveJson files from the project

commit afe8e636b2f5d0bed863339c5078a4652f1c5d9d
Author: Adrian Kosmaczewski <adrian@akosma.com>
Date:   Sun Mar 4 11:40:16 2012 +0100

    Added support for the NextiveJson library
2012-03-05 06:41:25 -08:00
Mattt Thompson
d2b02c3f17 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-03-01 09:09:21 -08:00
Mattt Thompson
cac44aeb34 Skip non-AFHTTPRequestOperations in AFHTTPClient -cancelAllHTTPOperationsWithMethod 2012-03-01 09:09:17 -08:00
Mattt Thompson
33d4505364 Merge pull request #221 from AFNetworking/experimental-patch-verb
Add PATCH convenience method to AFHTTPClient
2012-03-01 09:04:31 -08:00
Mattt Thompson
f489189a76 Fixing indentation of #225 2012-03-01 08:59:38 -08:00
Mattt Thompson
09401f9b66 Merge branch 'patch-1' of https://github.com/samsoffes/AFNetworking into samsoffes-patch-1 2012-03-01 08:56:42 -08:00
Mattt Thompson
ed7ed7af4a Merge pull request #224 from kcharwood/url-cancel-fix
Added in cancel changes based on @zdzisiekpu's recommendation
2012-03-01 08:41:55 -08:00