Commit graph

  • b621ad0848 Changing multipart form data object to be subclass of NSMutableData Mattt Thompson 2011-09-23 10:21:07 -05:00
  • aaa1f5532d Updating README Mattt Thompson 2011-09-22 14:05:34 -05:00
  • 77676d46e0 Adding PodSpec Mattt Thompson 2011-09-22 13:36:37 -05:00
  • d407561ff6 Fixing parameter for AFHTTPClient -appendPartWithFile:fileName: Mattt Thompson 2011-09-22 12:21:09 -05:00
  • c11cc2e7ec Adding missing documentation for image request parameters Mattt Thompson 2011-09-22 12:18:31 -05:00
  • 432dd0a61e Merge branch 'experimental-0.6' Mattt Thompson 2011-09-22 12:06:23 -05:00
  • 29c25bb52e Fixing unnecessary semicolon compiler warning in TTTLocationFormatter Mattt Thompson 2011-09-22 12:04:23 -05:00
  • ba4470ed13 Use imperial system based on current locale Mattt Thompson 2011-09-22 11:58:35 -05:00
  • 42da37a5a3 Namespacing private methods in UIImageView category Mattt Thompson 2011-09-22 11:42:48 -05:00
  • 7a2cad0a56 Minor revisions to documentation, mostly around style and conventions Mattt Thompson 2011-09-22 11:31:01 -05:00
  • eebc763f7f Adding documentation to UIImageView category Mattt Thompson 2011-09-22 11:30:13 -05:00
  • c84ca99269 Adding documentation for AFNetworkActivityIndicatorManager Mattt Thompson 2011-09-22 10:25:55 -05:00
  • 95ca172d9d Fixing API call for spots in the example app Mattt Thompson 2011-09-22 10:25:07 -05:00
  • 2dd68212c0 Adding +clientWithBaseURL: Mattt Thompson 2011-09-22 09:43:58 -05:00
  • 2a8cce88a5 Changing AFImageCache APIs to use URLs rather than NSURLRequests Mattt Thompson 2011-09-21 23:46:00 -05:00
  • d67db7172a Completing documentation of AFImageRequestOperation Mattt Thompson 2011-09-21 23:34:05 -05:00
  • 4cb29d24ad Adding class description to AFJSONRequestOperation Mattt Thompson 2011-09-21 23:21:41 -05:00
  • e21a7b5aa1 Updating and completing documentation for AFHTTPClient Mattt Thompson 2011-09-21 23:16:35 -05:00
  • ebb6eb21ad You know what's an even _better name? AFHTTPClient. Boom. Mattt Thompson 2011-09-21 22:42:01 -05:00
  • cad7d40642 Fixing AFRESTClient filenames in preambles Mattt Thompson 2011-09-21 17:56:12 -05:00
  • ab91d07575 Renaming AFRestClient to AFRESTClient Mattt Thompson 2011-09-21 17:55:24 -05:00
  • c0c79a7675 Further additions to AFRestClient documentation Mattt Thompson 2011-09-21 17:51:05 -05:00
  • e7aba7d47a Making most explicit UIImageView image setting method take NSURLRequest, to allow for overriding cache policy, timeout interval, and other request properties Mattt Thompson 2011-09-21 17:13:20 -05:00
  • 3512b3b606 Dispatching callbacks to main thread for Image requests Mattt Thompson 2011-09-21 16:52:22 -05:00
  • 9a78cc54cd Dispatching callbacks to main thread for JSON requests Mattt Thompson 2011-09-21 16:07:25 -05:00
  • e67a7ee20e Merge pull request #35 from evanlong/master Mattt Thompson 2011-09-21 14:03:35 -07:00
  • abc04440f7 Adding documentation to constants in AFHTTPRequestOperation Mattt Thompson 2011-09-21 15:55:21 -05:00
  • 69c48f85bb Removing unused -layoutSubviews code in SpotTableViewCell Mattt Thompson 2011-09-21 15:50:42 -05:00
  • 3b81cd32a7 Fixing optimization to not re-initiate duplicated calls to a UIImageView, by adding missing check to see if the last operation was cancelled Mattt Thompson 2011-09-21 15:50:22 -05:00
  • 6832cd0e16 Adding #import for Foundation to AFJSONRequestOperation Mattt Thompson 2011-09-21 15:34:08 -05:00
  • db4c852e3d [Issue #33] Changing return type of class method object contructors from id to an actual instance of that class Mattt Thompson 2011-09-21 15:33:20 -05:00
  • f422cafe14 Removing UIImage category in favor of static function to resize images in UIImageView category implementation Mattt Thompson 2011-09-21 14:32:30 -05:00
  • 341153605f Fixing a few things with AFRestClient multipart request functionality Mattt Thompson 2011-09-21 14:22:21 -05:00
  • 8b8605185b Replacing NSMutableURLRequest category method with more flexible constructor in AFRestClient Mattt Thompson 2011-09-21 14:00:05 -05:00
  • ca02e02b11 Removing categories on NSData and NSString, moving them to static functions in AFRestClient Mattt Thompson 2011-09-21 11:36:39 -05:00
  • 330427d21a Making sure the success/failure callbacks for operationWithRequest are always called on the main thread. Evan Long 2011-09-19 15:53:36 -07:00
  • 2f7f527d9c First (half of a) draft of AFRestClient documentation Mattt Thompson 2011-09-18 15:06:29 -05:00
  • 5755666b30 Adding class overview to AFHTTPRequestOperation documentation Mattt Thompson 2011-09-18 14:27:32 -05:00
  • 0a5e5400cc Revising link formatting in AFJSONRequestOperation documentation Mattt Thompson 2011-09-18 14:09:01 -05:00
  • e2a00952aa Revising AFJSONRequestOperation documentation Mattt Thompson 2011-09-18 14:06:22 -05:00
  • 0f5814b17f First draft of documentation for AFJSONRequestOperation Mattt Thompson 2011-09-18 13:56:30 -05:00
  • ce2034beb8 First draft of documentation for AFHTTPRequestOperation Mattt Thompson 2011-09-18 13:19:18 -05:00
  • 5cf1028433 Removing AFRestClient basic forms of GET/POST/PUT/DELETE methods Mattt Thompson 2011-09-16 23:57:47 -05:00
  • 3e3d94f938 Removing stray reference to QuartzCore.framework Mattt Thompson 2011-09-16 23:57:01 -05:00
  • 29ace55cf1 Updating code example in README (setProgressBlock: -> setUploadProgressBlock:) Mattt Thompson 2011-09-16 23:26:03 -05:00
  • c74eca7c9b Updating code example in README (setProgressBlock: -> setUploadProgressBlock:) Mattt Thompson 2011-09-16 23:26:03 -05:00
  • 75a0e1935a Fixing zlib inflate and deflate NSData category methods Mattt Thompson 2011-09-16 23:23:14 -05:00
  • 04dad96904 Fixing zlib inflate and deflate NSData category methods Mattt Thompson 2011-09-16 23:23:14 -05:00
  • 9ee84844c4 Updating example project to new image request API Mattt Thompson 2011-09-16 22:41:21 -05:00
  • 2610b0b57a Minor refactoring to Location Formatter Mattt Thompson 2011-09-16 22:41:10 -05:00
  • 50014afa22 Refactoring image request API to remove unnecessary configuration, and focus the design goals of those classes Mattt Thompson 2011-09-16 22:40:52 -05:00
  • 251ce062f2 Stashing XML Request Operation Mattt Thompson 2011-09-16 10:36:36 -05:00
  • 686854b8da Fixing AFHTTPRequestOperation -responseString, to use string encoding from response, rather than assuming UTF8 Mattt Thompson 2011-09-16 10:10:15 -05:00
  • 085d14ed82 Fixing AFHTTPRequestOperation -setCancelled: Mattt Thompson 2011-09-16 10:09:24 -05:00
  • a3970f823d Changing AFHTTPRequestOperation @properties to be readonly Mattt Thompson 2011-09-16 10:08:49 -05:00
  • 72d9a24777 Adding AFRestClient -enqueueHTTPOperation: Mattt Thompson 2011-09-16 10:06:11 -05:00
  • 2b9a66d7a9 Changing AFRestClient +baseURL to a @property Mattt Thompson 2011-09-16 10:02:51 -05:00
  • 76d9b2bfc8 Adding -cancelImageRequestOperation to UIImageView category Mattt Thompson 2011-09-15 14:29:29 -05:00
  • 57be1b3b6e Fixing AFHTTPOperation's implementation of -cancel, to match expectations of NSOperationSubclass Mattt Thompson 2011-09-15 14:26:55 -05:00
  • 6572cde680 Minor code formatting for initial data capacity from expectedContentLength Mattt Thompson 2011-09-15 12:28:30 -05:00
  • d62af91ac9 [Issue #16] Formalizing AFNetworkingErrorDomain, and constructing errors accordingly Mattt Thompson 2011-09-15 12:06:25 -05:00
  • a0c570797b [Issue #26] Removing UDID default header from AFRestClient Mattt Thompson 2011-09-15 10:24:07 -05:00
  • c8ee535ccc [Issue #29] Fixing operationWithRequest:inputStream:outputStream:completion: to actually assign outputStream Mattt Thompson 2011-09-15 10:22:15 -05:00
  • 78f1928f4a Merge pull request #28 from evanlong/master Mattt Thompson 2011-09-15 08:07:54 -07:00
  • b681971116 The allocation for the shared client could occur twice resulting in a leak. Two threads could pass the nil check. One would acquire the lock and create the sharedClient. The second thread would eventually get the lock and also acquire a sharedClient. Evan Long 2011-09-15 00:58:41 -07:00
  • 8d9b7ace34 Merge pull request #22 from steipete/master Mattt Thompson 2011-09-12 18:17:57 -07:00
  • 1ec54e2595 add BOOL if cache was used to load image Peter Steinberger 2011-09-12 17:36:20 +02:00
  • 2fbc30d137 fix selector warnings, fix warning "ignore declaration shadows a local variable" with using MIN inside of MAX Peter Steinberger 2011-09-12 17:35:45 +02:00
  • 908d77aaaf execute custom block _before_ setting image Peter Steinberger 2011-09-12 17:20:50 +02:00
  • bd6fc88c01 allow imageRequestOperation to be cancelled Peter Steinberger 2011-09-12 17:19:57 +02:00
  • 714ccc1905 Updating README to include instructions for linking libz.dylib to a project Mattt Thompson 2011-09-07 15:01:14 -05:00
  • a167217ee6 Wrapping network thread lazy initializer with dispatch_once, to ensure thread safety Mattt Thompson 2011-08-31 09:59:34 -05:00
  • c0271e6156 Merge branch 'experimental-http-basic-auth-helper' Mattt Thompson 2011-08-31 09:50:03 -05:00
  • d8e0784e5e Merge pull request #18 from evanlong/master Mattt Thompson 2011-08-31 07:12:27 -07:00
  • ef0cb81909 Ok, making the entire reading and increment atomic. Evan Long 2011-08-30 22:36:24 -07:00
  • 9a0ed2497c Need the reads on the property to be atomic as well. Otherwise there as cases like 'startAnimating' getting called from two seperate threads. Each would read a value A. The first thread would then write the value A+1. Thread 2 also read A so it would also write A+1. As a result missing an increment Evan Long 2011-08-30 22:01:03 -07:00
  • dddd567424 Making AFImageCache lazy init thread safe since it is called from main thread and background threads. Also making the increment and decrement for AFNetworkActivityIndicatorManager thread safe since start/stopAnimating are called from different threads. Evan Long 2011-08-30 17:16:23 -07:00
  • a129302be5 Merge pull request #15 from adamjernst/master Mattt Thompson 2011-08-24 22:14:47 -07:00
  • f8d3550aaf Experimental implementation of HTTP Basic auth helper in AFRestClient Mattt Thompson 2011-08-24 15:21:17 -05:00
  • ea156ec3c2 Only check HTTP status code and content type if there isn't already an error passed in to the completion block. Otherwise network errors are overwritten by a faulty error stating the HTTP status code is 0. Adam Ernst 2011-08-24 15:41:32 -04:00
  • 79e4d0e823 Removing unnecessary performSelectorOnMainThread for -finish calls Mattt Thompson 2011-08-24 14:28:56 -05:00
  • 8de22e8f99 Adding support for download progress block when an output block is used Mattt Thompson 2011-08-23 21:15:25 -05:00
  • 59a98bb937 Experimental implementation of download progress block Mattt Thompson 2011-08-23 12:12:05 -05:00
  • 5349a1d4ff Experimental implementation using a single, dedicated network thread, rather than spinning up new run loops for each request Mattt Thompson 2011-08-22 19:16:31 -05:00
  • 450ff56e54 Fixing example in README to use user-defined NSOperationQueue Mattt Thompson 2011-08-22 10:44:16 -05:00
  • b54dd95d2e Fixing example in README to use NSOperationQueue instead of just calling -start on an operation Mattt Thompson 2011-08-22 07:06:36 -05:00
  • 11cee66b6a Updating README to include examples of file uploading and streaming Mattt Thompson 2011-08-16 09:06:13 -05:00
  • 4f9c1a12dd Fixing no data success callback parameters Mattt Thompson 2011-08-14 20:37:05 -05:00
  • d22ed88d58 Merge pull request #9 from dstnbrkr/master Mattt Thompson 2011-08-14 18:35:52 -07:00
  • 4d5ae42936 Adding AFRestClient -cancelHTTPOperationsWithRequest: and -cancelAllHTTPOperations Mattt Thompson 2011-08-14 20:19:59 -05:00
  • 6d213e0bde Changing activity status counter to signed integer, to ensure MAX(0,_activityCount) is enforced as expected Mattt Thompson 2011-08-14 20:11:49 -05:00
  • 390c51a30d Merge branch 'gzip-compression-experimental' into experimental-gcd-processing Mattt Thompson 2011-08-14 20:06:03 -05:00
  • a2138c6bb0 Adding progress callback to AFHTTPRequestOperations, which can be used to monitor the progress of POST data being sent in a file upload, for instance Mattt Thompson 2011-08-14 19:53:48 -05:00
  • b734a64add Execute block passed into UIImageView request if getting an image out of the cache Mattt Thompson 2011-08-14 19:48:31 -05:00
  • da1fa38bd4 Creating custom GCD queues for JSON and image request processing Mattt Thompson 2011-08-14 19:46:33 -05:00
  • fa0297f1b8 Call success with nil if response data has length == 0. dstnbrkr 2011-08-10 14:08:07 -07:00
  • a6ad381407 Coercing key and value for request parameters with -description Mattt Thompson 2011-08-09 15:59:41 -05:00
  • f9073df97b Wrapping JSON and image processing in GCD async dispatch Mattt Thompson 2011-08-09 14:53:23 -05:00
  • 662af980c3 Don't wait for selectors to perform on main thread, and don't schedule in particular run loops Mattt Thompson 2011-08-08 20:07:55 -05:00
  • 065ee0226f Removing NSDefaultRunLoop frrom default runLoopModes in AFHTTPRequestOperation instances Mattt Thompson 2011-08-07 14:32:02 -05:00