Commit graph

904 commits

Author SHA1 Message Date
Mattt Thompson
1715163d20 Updating changelog to 1.0 2012-10-14 11:36:25 -07:00
Mattt Thompson
3dcc97ec8e Minor updates to AFURLConnectionOperation documentation 2012-10-14 10:41:37 -07:00
Mattt Thompson
73f994472f Using consistent urlRequest parameter name in AFHTTPClient 2012-10-14 10:22:40 -07:00
Mattt Thompson
a6870bd366 Minor reorganization & cleanup 2012-10-14 10:07:13 -07:00
Mattt Thompson
6f999cdeff NSCParameterAssert -> NSParameterAssert 2012-10-14 10:06:50 -07:00
Mattt Thompson
424c026f0c Twitter shut off its unauthorized access to the public timeline; switching example over to the App.net global stream. 2012-10-10 20:08:34 -07:00
Mattt Thompson
ddf43e1122 Revert "Using NS_ENUM in place of typedef enum"
This reverts commit ae1d419cd4.
2012-10-09 17:38:08 -07:00
Mattt Thompson
ae1d419cd4 Using NS_ENUM in place of typedef enum 2012-10-09 09:46:30 -07:00
Mattt Thompson
e8b3e27043 Replacing existing property ownership values of retain with strong 2012-10-09 09:26:50 -07:00
Mattt Thompson
cd2171cc5c [Issue #569] Adding missing ownership field in JSON properties 2012-10-09 09:20:18 -07:00
Mattt Thompson
bad206b41f [Issue #465] Instead of enforcing non-nil parameter, allow it to signify not appending a path to the base URL when matching 2012-10-09 09:14:26 -07:00
Mattt Thompson
a2e0453cda Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-10-09 09:10:34 -07:00
Mattt Thompson
d3ae3d128f [Issue #465] Enforcing non-nil path constraint, and making it so that path is relative to the path of the client baseURL
[Issue #465] Providing additional explanation about how to manage the lifecycle of enqueued operations
2012-10-09 09:10:23 -07:00
Mattt Thompson
b10f66062c Changing multipartFormRequestWithMethod:... to black-list GET and HEAD rather than whitelist particular methods.
Enforcing non-nil, non-GET / HEAD method parameter requirement
2012-10-09 08:59:42 -07:00
Mattt Thompson
30aeb09d2f Adding requirement that method not be nil in requestWithMethod:path:parameters
Defaulting path to blank string if nil
2012-10-09 08:58:13 -07:00
Mattt Thompson
5d341aa854 Merge pull request #560 from blakewatters/bugfix/import-availability-in-pch
Fix CocoaPods Incorrectly Importing CoreServices
2012-10-05 13:42:09 -07:00
Blake Watters
d8243673c2 Import Availability.h before attempting to reference __IPHONE_OS_VERSION_MIN_REQUIRED, else CoreServices will be imported instead of MobileCoreServices 2012-10-05 15:06:12 -04:00
Mattt Thompson
07270cd20c Updating podspec to 1.0RC4 2012-10-05 11:01:59 -07:00
Mattt Thompson
7c789b3190 Adding SystemConfiguration and CoreServices frameworks to Mac example 2012-10-05 11:01:52 -07:00
Mattt Thompson
c588cbf5b6 Normalizing Default images in example project 2012-10-05 10:39:18 -07:00
Mattt Thompson
8d2310098c Removing unnecessary import statement for SystemConfiguration framework if _SYSTEMCONFIGURATION_H is already defined 2012-10-05 10:27:38 -07:00
Mattt Thompson
cbab8fd6b0 Using better negation for OS_OBJECT_USE_OBJC macros 2012-10-05 10:24:28 -07:00
Mattt Thompson
278aa2edfc Fixing OS_OBJECT_USE_OBJC macro check 2012-10-05 10:21:39 -07:00
Mattt Thompson
e7c786eee7 Adding #warning macros when SystemConfiguration or CoreServices frameworks are missing, causing functionality to be missing or altered 2012-10-05 10:19:25 -07:00
Mattt Thompson
a2fc510f72 Enforcing 'this parameter must not be nil' by using NSCParameterAssert() 2012-10-05 10:09:13 -07:00
Mattt Thompson
c830a82080 Minor Reformatting 2012-10-05 09:59:34 -07:00
Mattt Thompson
c091bb5ebe [Issue #557] Replacing AF_DISPATCH_RETAIN_RELEASE macro with OS_OBJECT_USE_OBJC (thanks, @nakiwo) 2012-10-05 09:27:49 -07:00
Mattt Thompson
a244a53b66 If a query string pair has a nil or NSNull value, just use the field as the string value 2012-10-05 09:20:05 -07:00
Mattt Thompson
d97356c35c Use isEqual: to determine if value is NSNull 2012-10-05 09:12:00 -07:00
Mattt Thompson
ce39687065 Merge pull request #559 from danielr/fix-nsnull-in-multipart
NSNull parameters are encoded as "<null>" when using multipart form data
2012-10-05 09:10:20 -07:00
Daniel Rinser
d8f074dcfa [Issue #559] Fixed body for NSNull parameter values in multipart/form-data requests
Parts for parameters with a value of NSNull now have an empty body rather than "<null>" (which was produced by -[NSNull description]).
2012-10-05 15:56:48 +02:00
Mattt Thompson
79f743c319 Merge pull request #558 from rastersize/fix-upload-stream-delay-type
Fix type discrepancy for upload stream delay.
2012-10-04 14:45:14 -07:00
Aron Cedercrantz
48d0bf82d8 Fix type discrepancy for upload stream delay.
Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>
2012-10-04 23:03:54 +02:00
Mattt Thompson
88589cc31e Updating documentation for multipart form request method 2012-10-03 09:46:06 -07:00
Mattt Thompson
6ed5dad68b Removing outdated note about 3rd party JSON libraries 2012-10-03 08:52:07 -07:00
Mattt Thompson
43e13be0ba Merge branch 'master' of github.com:AFNetworking/AFNetworking
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-10-03 08:50:07 -07:00
Mattt Thompson
3f3a79221a [Issue #555] Leaving square brackets unescaped in query string parameters 2012-10-03 08:49:39 -07:00
Mattt Thompson
f9c0576f89 [Issue #554] Re-adding AFMultipartFormData -appendPartWithHeaders:body: 2012-10-03 08:37:25 -07:00
Mattt Thompson
b118e93986 Merge pull request #547 from jbrennan/bugfix/httpclient-nil-url-exception
-[AFHTTPClient initWithBaseURL:] will now raise an exception with a nil URL parameter.
2012-10-02 09:47:47 -07:00
Mattt Thompson
9cdea00b07 [Issue #548] Reverting breaking changes from b317c7d5d9 2012-10-02 09:41:57 -07:00
Jason Brennan
284f57d39f -initWithBaseURL: will now raise an exception with a nil URL parameter. This enforces what the code comments say.
Without this, Reachability might cause the application to crash on iOS 6 if the baseURL is nil.
2012-10-02 10:53:07 -04:00
Mattt Thompson
25136ddfbe Fixing misuse of #if instead of #ifdef for AF_DISPATCH_RETAIN_RELEASE 2012-10-01 10:47:17 -07:00
Mattt Thompson
b317c7d5d9 Fixing warnings triggered by -Weverything flag
Explicitly covering all enum values in switch statements

Removing unused, unsynthesized properties

Adding missing synthesizers for properties

Fixing misuse of compiler macro
2012-10-01 10:45:43 -07:00
Mattt Thompson
d933fe60e7 Fixing warnings triggered by -Weverything flag
Adding __attribute__((noreturn)) to networkRequestThreadEntryPoint
2012-10-01 10:43:12 -07:00
Mattt Thompson
c4a876c70c Fixing compiler warnings relating to incorrect use of #if rather than #ifdef 2012-10-01 10:41:08 -07:00
Mattt Thompson
89f9094cea Fixing warnings detected by -Weverything 2012-10-01 10:38:46 -07:00
Mattt Thompson
3ca7762bd2 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-09-30 17:38:34 -07:00
Mattt Thompson
1c1b204513 [Issue #546][Issue #513] Adding AFMultipartFormData -throttleBandwidthWithPacketSize:delay: 2012-09-30 17:38:07 -07:00
Mattt Thompson
d21ae7cbba Updating notes about ARC and requirements 2012-09-27 09:28:26 -07:00
Mattt Thompson
1ca61bf75c Merge pull request #541 from tewha/master
Add error when building without ARC
2012-09-27 08:51:28 -07:00