Blake Watters
5c81d90a4c
Add test coverage for construction of request body via AFHTTPClient. refs #989
2013-05-13 09:10:39 -04:00
Mattt Thompson
db8a44a9b1
Revert "Fixed a leak in requestWithMethod:path:parameters:"
...
This reverts commit fad9a6249c .
2013-05-12 19:05:11 -07:00
Mattt Thompson
44d55c4d92
Merge pull request #989 from danyowdee/master
...
Fix for leaked strings in -[AFHTTPClient requestWithPath:method:params:]
2013-05-12 13:24:31 -07:00
Daniel Demiss
fad9a6249c
Fixed a leak in requestWithMethod:path:parameters:
...
`CFStringConvertEncodingToIANACharSetName` is documented to follow CF’s create-rule, so the cast needed to be transferring ownership to ARC.
2013-05-12 18:26:02 +03:00
Blake Watters
bb4c19eab6
Add section to the README.md detailing how to setup and execute the unit tests
2013-05-11 13:35:36 -04:00
Blake Watters
91cf441582
Restore functionality of Rake tasks
2013-05-11 13:24:41 -04:00
Blake Watters
4f04b35378
Reorganize testing setup
...
* Eliminate static library and framework targets
* Migrate all testing infrastructure and code to Tests/
* Nest CocoaPods setup for testing under Tests/
* Remove explicit dependencies from shared schemes
2013-05-11 13:18:43 -04:00
Blake Watters
bc3b94f79d
Add Podfile.lock to the project
2013-05-11 12:53:24 -04:00
Blake Watters
5bfde2ab4d
Restore previous break-out of Pods configuration as the global import links it into the wrong targets
2013-05-10 18:11:40 -04:00
Blake Watters
7d89a1897d
Cleanup Podfile and remove overridden OTHER_LDFLAGS on AFNetworking static library target
2013-05-10 17:32:00 -04:00
Blake Watters
91db618d8e
Remove unnecessary CocoaPods setup during Travis build execution
2013-05-10 17:10:56 -04:00
Blake Watters
85faf3477f
Add Travis CI build status logo to README.md
2013-05-10 16:07:40 -04:00
Blake Watters
1a25414ef5
Implement initial unit testing and continuous integration system for AFNetworking. refs AFNetworking/AFNetworking#941
2013-05-10 15:53:33 -04:00
xjdrew
6f6c888055
[Issue #942 ] [Issue #943 ] Don't attempt to use URL-encoded credentials in connection:didReceiveAuthenticationChallenge:, since any included credentials would have to be invalid to have an authentication challenge be issued
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:23:25 -07:00
Mattt Thompson
df51831c15
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2013-05-10 11:19:10 -07:00
Josh Vera
3e5426d54b
[Issue #963 ] Perform default handling for NSURLAuthenticationMethodDefault authentication challenges
...
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-05-10 11:18:57 -07:00
Mattt Thompson
e6c91f4452
Merge pull request #981 from OliverLetterer/all-header-fields
...
-[NSURLResponse allHeaderFields]
2013-05-08 11:34:57 -07:00
Oliver Letterer
58c890f17e
Adds missing [self.response respondsToSelector:@selector(allHeaderFields)] check.
2013-05-08 20:22:07 +02:00
Mattt Thompson
618765b5a9
Merge pull request #937 from RobotsAndPencils/upstream
...
allHeaderFields invalid for NSURLResponse to file:/// url
2013-05-08 11:12:12 -07:00
Mattt Thompson
a8f8f2c6c3
Merge pull request #944 from davekeck/master
...
Fix for crasher in AFNetworkActivityIndicatorManager
2013-05-08 11:07:40 -07:00
Mattt Thompson
2036b185b1
Merge pull request #958 from StatusReport/master
...
Add __unused to stream delegate parameter
2013-05-08 11:05:58 -07:00
Mattt Thompson
8fd6eefb2a
Replacing (CFStringRef)NSRunLoopCommonModes with kCFRunLoopCommonModes
2013-05-08 10:27:25 -07:00
Mattt Thompson
8916a10dc4
[Issue #969 ] Reordering network reachability calls to provide correct reachability status on initialization (/thanks @djmadcat)
2013-05-08 10:26:49 -07:00
Mattt Thompson
c3db232a5e
[Issue #970 ] Refactoring network reachability to be more conventional (/thanks @djmadcat)
2013-05-08 10:23:40 -07:00
Mattt Thompson
fa0c8b8ddc
Refactoring failure case for connection:needNewBodyStream:
2013-05-08 10:17:03 -07:00
Mattt Thompson
38c49e1532
Merge pull request #972 from aburgel/needNewBodyStream_cancel
...
Register error if new bodyStream cannot be created
2013-05-08 10:10:55 -07:00
Mattt Thompson
c5e51b31c1
Merge pull request #973 from michael-r-may/master
...
Fix for -Werror switch use
2013-05-08 10:08:16 -07:00
Mattt Thompson
174bbb5b3e
Merge pull request #978 from jeffhunter/master
...
Explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
2013-05-08 09:06:37 -07:00
Jeff Hunter
a42953f62e
explicitly synthesize properties to eliminate warnings with -Wobjc-missing-property-synthesis
2013-05-07 13:53:49 -07:00
Alex Burgel
ac9563e373
Register error if new bodyStream cannot be created
2013-05-06 13:18:34 -04:00
michael_r_may
1e27caa977
Switched the #warning messages to #pragma message messages instead, so you can still compile the framework with -Werror switched on
2013-05-05 22:18:53 +01:00
joein3d
370c4754c1
don't escape tildes as per http://tools.ietf.org/html/rfc3986#section-2.3
2013-05-05 10:49:34 -07:00
Mattt Thompson
e54ffdc33e
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2013-05-05 09:42:48 -07:00
Mattt Thompson
9629ff97c3
Minor edits to documentation
2013-05-05 09:42:39 -07:00
Mattt Thompson
f959d81760
Merge pull request #966 from OliverLetterer/use-error
...
Using self.error instead of self.JSONError in AFJSONRequestOperation.
2013-05-02 16:20:19 -07:00
Mattt Thompson
8f80919375
Merge pull request #935 from OliverLetterer/cfstream-race-condition
...
Workaround for #907 .
2013-05-02 16:17:48 -07:00
Oliver Letterer
1ce0a211ba
Using self.error instead of self.JSONError in AFJSONRequestOperation.
2013-05-02 20:03:17 +02:00
Mattt Thompson
613ef3489d
Merge pull request #960 from audun/master
...
Fixed a few minor compilation errors when using ObjC++
2013-04-30 10:54:20 -07:00
Audun Holm Ellertsen
05184b2769
Adds explicit type casts where necessary for ObjC++ compilation
2013-04-29 12:19:45 +01:00
Yaron Inger
00901df325
Add __unused to stream delegate parameter
2013-04-28 16:25:50 +03:00
Henrik Hartz
cbfe5b72c6
Suppressed GNU expression and Enum assignment warnings from clang
2013-04-28 11:19:09 +02:00
Dave Keck
fff8704a44
Fixing crasher in AFNetworkActivityIndicatorManager, due to unsafe calls to updateNetworkActivityIndicatorVisibilityDelayed from multiple threads.
2013-04-23 11:10:34 -10:00
Dave Anderson
a0cc020357
A GET request for file:///path/to/file URLs has a self.response that does not respond to allHeaderFields because it is an NSURLResponse not an NSHTTPURLResponse
2013-04-22 16:23:28 -06:00
Oliver Letterer
6a6862c43b
Workaround for #907 .
2013-04-21 18:07:46 +02:00
Mattt Thompson
215a32e23c
Bumping version to 1.2.1
...
Updating CHANGES for 1.2.1
2013-04-18 07:47:53 +02:00
Mattt Thompson
c28434ce71
Fixing error in documentation about defaultSSLPinningMode
...
Minor copy editing in documentation
2013-04-17 18:42:34 +02:00
Mattt Thompson
b838dd85c1
Minor reformatting
2013-04-17 18:39:50 +02:00
Mattt Thompson
9cbc749d40
Renaming allowInvalidSSLCertificate -> allowsInvalidSSLCertificate
2013-04-17 18:38:44 +02:00
Mattt Thompson
174bc47c84
Minor refactoring / renaming / copy edits
2013-04-17 18:28:08 +02:00
Mattt Thompson
8ea42866b8
Merge branch 'invalid-ssl' of git://github.com/kcharwood/AFNetworking into kcharwood-invalid-ssl
2013-04-17 18:04:50 +02:00