Commit graph

639 commits

Author SHA1 Message Date
Peter Steinberger
b8007fed90 Explicitly declare that we implement NSURLConnectionDataDelegate here. 2012-03-25 00:53:16 -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
Mattt Thompson
ca87ea1a25 Refactoring network reachability functions
Using inet_pton instead of regexp to detect whether a URL host is an IP address
2012-03-20 16:43:19 -07:00
Oliver Eikemeier
371d6406ea merged e87b3c1 2012-03-21 00:17:59 +01:00
Mattt Thompson
700ad2a9eb Merge branch 'master' into experimental-expanded-network-reachability 2012-03-20 15:54:37 -07: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
e61275110b Adding locking to AFURLConnectionOperation -setInputStream: 2012-03-20 11:33:15 -07:00
Mattt Thompson
2868b069cd Adding missing extern specifier for AFQueryStringComponentFromKeyAndValueWithEncoding(...) 2012-03-20 11:32:44 -07:00
Mattt Thompson
2ec0c3ec2f Adding AFURLConnectionOperation -setShouldExecuteAsBackgroundTaskWithExpirationHandler: 2012-03-20 11:31:18 -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
Kevin Harwood
50c136f5d4 Refactored the Reachability status logic 2012-03-20 11:48:54 -05: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
Kevin Harwood
428c13e1e0 Refactored starting up reachability 2012-03-14 08:23:18 -05: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
Kevin Harwood
d96f8f3fde Updated Reachability to handle an IP Address or a Host name
Note this does not fix the issue with the status not being correctly
reported for a 3G connection.
2012-03-13 09:12:58 -05: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
ac20e02af3 Constructing image in background queue 2012-03-12 20:23:41 -07:00
Mattt Thompson
fe0f1ce932 -cStringUsingEncoding:NSUTF8Encoding -> -UTF8String 2012-03-12 20:22:46 -07:00
Mattt Thompson
4bfa2f4de0 Circumventing need to set initial network reachability status block to nil by wrapping callback in -startMonitoringNetworkReachability 2012-03-11 10:53:06 -07:00
Mattt Thompson
14227aadc7 Reverting network reachability status from bitmask to enum 2012-03-11 10:36:14 -07:00
Mattt Thompson
fa01557f4a Add setReachabilityStatusChangeBlock to AFHTTPClient initialization 2012-03-11 10:31:11 -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
d5d44f681e Merge branch 'experimental-overrideable-http-operation-validation' into experimental-1.0RC1 2012-03-09 16:05:29 -08:00
Mattt Thompson
71d6af9e5c Renaming AFNetworkReachabilityStatus and changing to bitmask
Fixing AFReachabilityCallback to give correct WiFi reachability value

Minor formatting and refactoring
2012-03-09 15:48:59 -08:00
Mattt Thompson
be19b45c13 Merge branch 'AFHTTPClient-Reachability-Experiment' of https://github.com/kcharwood/AFNetworking into kcharwood-AFHTTPClient-Reachability-Experiment 2012-03-09 14:44:05 -08: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