Mattt Thompson
9a07a953a7
Fixing pragma mark label
2012-04-13 08:37:04 -07:00
Mattt Thompson
ddfb00cc44
Merge branch 'experimental-pause-resume' of https://github.com/steipete/AFNetworking into steipete-pause-resume
2012-04-09 21:40:49 -07:00
Peter Steinberger
47f6793c3f
Restore download resuming.
...
The default destination will be the documents folder, unless set otherwise. We also look into the response metadata for the actual filename (unless set otherwise)
2012-04-09 17:47:02 -07:00
Peter Steinberger
61eda7c4e0
adds function to responseFilePath (streaming into a file, if set)
...
adds total/offsetContentLength. We really need those in case we pause/resume.
2012-04-09 17:45:41 -07:00
Peter Steinberger
24564772df
create and set temporary path
2012-04-09 13:58:36 -07:00
Peter Steinberger
2413d95c3f
we don't need to declare ivars anymore.
2012-04-09 13:58:36 -07:00
Mattt Thompson
da1acf5a56
Merge branch 'master' into experimental-pause-resume
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.h
AFNetworking/AFURLConnectionOperation.h
2012-04-08 15:28:58 -07:00
Mattt Thompson
407374746c
Removing unnecessary ivar declaration in headers
2012-04-08 15:25:20 -07:00
Mattt Thompson
2f94a89f80
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2012-04-08 14:26:59 -07:00
Mattt Thompson
14aea9ee58
[Issue #268 ] Reverting to cacheing UIImages rather than NSPurgeableData-wrapped image data
2012-04-08 14:26:52 -07:00
Mattt Thompson
f2ce416ca2
Adding AFDownloadRRequestOperation to project files
2012-04-08 14:15:18 -07:00
Mattt Thompson
c5c29e31a8
Merge pull request #283 from steipete/remove-unneeded-kvo-calls
...
Remove obsolete manual KVO will/did change calls.
2012-04-08 12:10:31 -07:00
Mattt Thompson
6923e31db5
Minor code re-formatting and documentation changes
2012-04-08 12:02:19 -07:00
Mattt Thompson
37275860d7
Merge branch 'lock-improvements' of https://github.com/steipete/AFNetworking into steipete-lock-improvements
2012-04-08 11:51:13 -07:00
Mattt Thompson
cc204ec6de
Merge pull request #281 from steipete/example-fixes
...
Small fix for the tweet example.
2012-04-08 11:50:32 -07:00
Peter Steinberger
ed4c558755
remote obsolete KVO change calls.
...
See http://petersteinberger.com/blog/2012/dont-call-willchangevalueforkey/ .
I didn't remove the call in the AFNetworkActivityIndicatorManager, since I already removed this in my other pull request.
2012-04-06 01:46:58 -07:00
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
Peter Steinberger
88920034e2
fixes a blocked reload button once we hit an error. Also shows an alert now.
2012-04-04 17:17:06 -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
4cf0199712
Reverting AFDownloadRequestOperation to be a subclass of AFHTTPRequestOperation
2012-03-27 12:11:46 -07:00
Mattt Thompson
2a1d81a792
Cleaning up experimental bits
...
Re-creating AFDownloadRequestOperation, now with an API closer to NSURLDownload
2012-03-27 12:05:00 -07:00
Mattt Thompson
ca697ce300
Settling on a relatively stable implementation of pause/resume
2012-03-27 11:01:20 -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
e37a6af943
Merge branch 'experimental-1.0RC1' into experimental-resumeable-streaming-downloads
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.h
AFNetworking/AFHTTPRequestOperation.m
2012-03-26 11:31:11 -07:00
Mattt Thompson
c40983e56f
Adding -temporaryPath property to AFHTTPRequestOperation
2012-03-26 11:29:31 -07:00
Mattt Thompson
331d7bcbf2
Moving resumeable streaming download functionality to AFHTTPRequestOperation
2012-03-25 12:23:40 -07:00
Mattt Thompson
7bd7ee609b
Replacing NSMutableData accumulator with NSOutputStream
2012-03-25 11:47:51 -07:00
Mattt Thompson
f2ae5c40ba
Stashing re-implementation of resumeable streaming downloads into AFURLConnectionOperation
2012-03-25 11:14:17 -07:00
Peter Steinberger
6f63157e33
fixes a few memory leaks.
...
ARC is already starting to cripple my memory management code. Time to make the switch on AFNetworking.
2012-03-25 02:19:33 -07:00
Peter Steinberger
2b2558a90e
fixes an integer overflow for files > 2GB
2012-03-25 01:50:02 -07:00
Peter Steinberger
49186d9a30
add download request operation. Supports Content-Range to resume partial downloads. ( http://tools.ietf.org/html/rfc2616#section-14.16 )
2012-03-25 01:49:25 -07:00
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
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