Commit Graph

1051 Commits

Author SHA1 Message Date
Blake Watters
5d8e62e6a5 Merge pull request #468 from rayfix/should-delete-orphans-451
Add Delegate for shouldDeleteOrphanedObject:
2011-12-13 12:42:06 -08:00
Blake Watters
8a4c96d96f Merge branch 'rayfix-test-fix-1' 2011-12-13 15:38:07 -05:00
Ray Fix
1af71ff385 Fix static analayzer warning for uninitialized variable 2011-12-13 15:37:07 -05:00
Blake Watters
aa7e76f924 Updated TESTING.md documentation to remove references to UISpecRunner 2011-12-13 15:36:41 -05:00
Blake Watters
9a37c1bd66 Moved OS X headers to Public/ and updated README.md 2011-12-13 15:36:40 -05:00
Ray Fix
21c3b6af39 Fix static analayzer warning for uninitialized variable 2011-12-13 15:33:14 -05:00
Blake Watters
4c8a7f1103 Merge pull request #470 from inquinity/master
Fixed: RKResponse parsedBody will fail when encountering a parsing error if it was called with a nil NSError pointer
2011-12-13 12:12:11 -08:00
Robert Altman
2969e6b9f3 Added missing non-null test for NSError pointer 2011-12-12 17:06:17 -06:00
Ray Fix
d739e78f22 Add another test for orphaned object deletion.
Use a real object, rather than a OCMock to prove that the right
thing happens with @optional selector is not implemented.
2011-12-11 09:13:35 -08:00
Ray Fix
d95338bf45 fix test error humanMapping.primaryKeyAttribute set incorrectly 2011-12-11 09:13:35 -08:00
Ray Fix
f23b242e87 First cut at issue 451, shouldDeleteOrphanedObject.
The test is currently failing and the 6 results are
returned instead of keeping alive only the original
4 result objects.  Requires further investigation.
2011-12-11 09:13:35 -08:00
Ray Fix
361b656064 Corrects failure in testShouldConsiderADictionaryContainingOnlyNullValuesForKeysMappable
I am not certain what the expected behavior is.  Perhaps it actually is
supposed to be returning [NSNull null].

2011-12-09 14:51:05.657 otest[64680:3b03] W restkit.object_mapping:RKObjectMappingOperation.m:230 Coercing NSNull value to nil in shouldSetValue:atKeyPath: -- should be fixed.
2011-12-09 17:54:08 -08:00
Blake Watters
b670bc7769 Updated TESTING.md documentation to remove references to UISpecRunner 2011-12-09 12:39:35 -05:00
Blake Watters
15d291bc52 Moved OS X headers to Public/ and updated README.md 2011-12-09 09:50:46 -05:00
Blake Watters
4a45a15da1 Fixed nearly all broken tests for OS X target 2011-12-09 00:30:34 -05:00
Blake Watters
479864902b Fixed all build warnings on OS X Framework target 2011-12-08 23:23:20 -05:00
Blake Watters
ec13fb03bd Restore copying of headers to Build/RestKit 2011-12-02 09:45:13 -05:00
Blake Watters
e0265661e2 Removing legacy RestKit project 2011-12-02 09:27:23 -05:00
Blake Watters
01e02b9b56 Migrating extra JSON parsers out of the main RestKit project. Will reappear as standalone projects 2011-12-02 09:27:23 -05:00
Blake Watters
8ca1a5bd99 Remove relative import paths from Parsers 2011-12-02 09:27:23 -05:00
Blake Watters
8f60d345c4 Drop README from removed TDOAuth library 2011-12-02 09:27:23 -05:00
Blake Watters
6f68ffb342 Applied patch from Scott Penrose to handle issues with NSNull values mapped to Core Data properties. closes #436
Added RKLogWarning for aiding in further debugging. So far unable to trap this in a unit test, but have had
several complaints about the issue on the mailing list.
2011-12-02 09:27:23 -05:00
Blake Watters
8a39f93e62 Add support for handling 204 'No Content' responses. fixes #450 2011-12-02 09:27:22 -05:00
Blake Watters
9208101350 Migrated Three20 support and DiscussionBoard to standalone projects.
See https://github.com/RestKit/RKThree20 and https://github.com/RestKit/RKDiscussionBoard
2011-12-02 09:26:38 -05:00
Blake Watters
19b1cd03f8 Fixed archs for iOS device target 2011-12-02 09:26:37 -05:00
Blake Watters
a11c999950 Added CoreData.h import to main RestKit header. Updated quick start installation language. 2011-12-02 09:26:37 -05:00
Blake Watters
563f5e909b Updated all example projects to build against the new project. Cleaned up header imports for flattened project structure 2011-12-02 09:26:36 -05:00
Blake Watters
f5008ff9fe Cleaned up broken specs for iOS. 2011-12-02 09:26:35 -05:00
Blake Watters
5b718890ac Checking in work in progress on the library reorganization 2011-12-02 09:26:35 -05:00
Blake Watters
ceb7eb478a Merge pull request #425 from jsullivanlive/patch-1
Adding missing exception name
2011-12-01 16:45:08 -08:00
Blake Watters
0e5db75e27 Merge pull request #453 from fantasticmf/master
Bugs related to loading local resource from the bundle
2011-12-01 16:41:14 -08:00
Michael Fleet
0a0c3ac59e Fixed bug where local requests for bundle resources returned a NSURLResponse instead of a NSHTTPURLResponse, and therefore doesn't respond to statusCode or allHeaderFields. 2011-12-01 11:43:22 -05:00
Michael Fleet
6391e5083a Fixed bug where escaped spaces (%20) in URLs were stripped by [NSURL path] and not restored, causing request failures. 2011-12-01 11:41:28 -05:00
Blake Watters
7ee6fb54f9 Merge pull request #433 from aaroncrespo/master
Unreleased dateFormatter.
2011-11-28 06:22:37 -08:00
Blake Watters
a0b9642142 Merge pull request #443 from GateGuru/442-remove-mogenerator-invocations
Remove mogenerator invocations that have triggered App Store Rejections
2011-11-17 12:51:09 -08:00
Blake Watters
70e2accd1d Remove performSelector invocations that have resulted in App Store rejections. fixes #442 2011-11-17 15:32:48 -05:00
Blake Watters
f5bfff4b80 Merge pull request #437 from hktonylee/master^
The OAuth use correct parameters to make signature for HTTP PUT/POST.
2011-11-13 12:03:42 -08:00
Blake Watters
663a7d47ca Added announcements mailing list to README 2011-11-10 08:20:36 -05:00
Tony Lee
a5661061ec The OAuth use correct parameters to make signature for HTTP PUT/POST. 2011-11-10 17:29:27 +08:00
Blake Watters
fd80eae643 Reworked reachability initialization to support usage when there is no Internet connectivity.
* When the reachabilityObserver property of RKClient is nil, assume we have reachability
* When the baseURL configured contains an IP address or localhost, use hostname based reachability
* Else fall through to using Internet reachability if the user has not configured an observer directly
2011-11-09 08:17:46 -05:00
Blake Watters
dad00a4f6f Fix typo 'current' => 'concurrent' 2011-11-04 11:28:54 -03:00
Aaron Crespo
6b8ab373ac Update Code/ObjectMapping/RKObjectMapping.m 2011-11-03 16:26:50 -03:00
James Sullivan
8282bdb644 Fixing missing exception name. Without it, no exception is printed to the console in debug mode and no stack trace persists, which makes it very hard to debug. 2011-10-27 21:57:19 -03:00
Blake Watters
cb694c3e77 Lowered logging level for NSNull collection from Warning to Debug. closes #422 2011-10-27 10:15:29 -03:00
Blake Watters
6ebe3c2431 Add missing comma in reachabilityFlagsDescription for OS X build 2011-10-24 23:35:50 -03:00
Blake Watters
0763821036 Merge pull request #414 from marcopg/master
Explicitly build for arm6/7 only with the iphoneos sdk
2011-10-21 14:17:57 -07:00
Blake Watters
926b0aa259 Added YAJL API headers to Public section of target 2011-10-21 16:41:51 -04:00
Blake Watters
43c1a4c5b3 Merge pull request #415 from andrewsardone/quick-object-mapping-doc-fix
Fix typo in RKObjectMapping w/ relationship example
2011-10-20 10:57:39 -07:00
Andrew Sardone
31f595335a Fix typo in RKObjectMapping w/ relationship example 2011-10-20 12:44:21 -04:00
Blake Watters
a3d15d8e0d Add missing scheduleObserver call in initWithAddress: refs #408 2011-10-20 11:58:21 -04:00