Blake Watters
3be91bed55
Handle case where there is a single section containing a header and footer row
2012-07-11 17:06:39 -04:00
Jawwad Ahmad
c28461f573
Make sendObject:method:usingBlock: public
2012-07-11 17:06:39 -04:00
Blake Watters
e4a65b53a2
Add new queue method for checking the queue for a request with a given URL
2012-07-11 17:06:39 -04:00
Blake Watters
a51f7ddc51
[REBASE] Cleaned up routing tests and dealloc
2012-07-11 17:01:32 -04:00
Blake Watters
fe9bfe59da
[REBASE] Rename Router -> RouteSet. Add new Router class for generating URL's from the routes.
2012-07-11 17:00:32 -04:00
Blake Watters
6c3b75039b
[REBASE ME] Refactored Router for simplicity, nearly done with design. Initial support for relationship loading from object manager.
2012-07-11 16:52:46 -04:00
Blake Watters
c4a329cc58
Use dispatch_sync instead of NSOperation for merging changes from background notification
2012-07-11 16:47:33 -04:00
Blake Watters
e3f461624f
Add unit tests for URLsByInterpolatingResourcePathWithObjects
2012-07-11 16:47:24 -04:00
Jawwad Ahmad
24b9358cd4
Added URLsByInterpolatingResourcePathWithObjects method.
2012-07-11 16:47:24 -04:00
Blake Watters
2c980ec4cd
Fix type disagreements with sourceObject & targetObject properties
2012-07-11 16:47:24 -04:00
Blake Watters
08199120bc
Style consistency cleanups and improvements to request queue delegate behavior
2012-07-11 16:46:53 -04:00
Blake Watters
47347312fb
Do not emit didFinishLoading unless there is not a nextRequest
2012-07-11 16:46:31 -04:00
Blake Watters
ec6cdd1356
Migrate performSelectorOnMainThread and performSelectorInBackground invocations to GCD
2012-07-11 16:45:08 -04:00
Blake Watters
57e4e0933a
Migrated from Grand Central Dispatch queue for mapping into an NSOperationQueue to enable KVO
2012-07-11 16:43:19 -04:00
Blake Watters
c4841f10b6
Tear down the default context when tearing down RKTestFactory
2012-07-11 16:39:31 -04:00
Jawwad Ahmad
f035af7a67
Adding addObject: method to RKTableSection.
2012-07-11 16:39:31 -04:00
Jawwad Ahmad
f35f81ca0c
Add ability to RKTestResponseLoader to serve as a delegate for RKRequestQueueDelegate in order to use the waitForResponse method for testing asynchronous calls.
2012-07-11 16:18:41 -04:00
Blake Watters
517deb6fa2
Add support for testing the mapping used to map a nested relationship in RKMappingTest. closes #802
2012-07-11 16:18:40 -04:00
Blake Watters
f18f9337f3
Added support for comparison of attribute, relationship, and object mappings via isEqualToMapping:. closes #803
2012-07-11 16:16:27 -04:00
Christopher Swasey
6ae6d889a5
Add delegate methods for headerHeight and footerHeight
2012-07-11 16:15:37 -04:00
Blake Watters
75b060ec16
Add table controller level block callbacks. refs #796
2012-07-11 16:15:37 -04:00
Blake Watters
ec1e15d4e3
Add better description output to RKMappingTest
2012-07-11 16:15:36 -04:00
Blake Watters
1c504022a6
Fixed issues with incorrect retrieval of indexPath for header, footer, and empty items on the fetched results table controller. fixes #798
2012-07-11 16:15:23 -04:00
Blake Watters
c297fbee68
Improved behavior of test notification observer in cases where notifications are fired immediately
...
by the execution block under test. fixes #797
2012-07-11 16:08:23 -04:00
Blake Watters
3b10117be7
New mapping provider helpers. refs #779
2012-07-11 16:07:09 -04:00
Blake Watters
ffa2fc685e
Introduced named route support. refs #779
...
* Provides for the registration of route either by class and method or via symbolic name
* Changed routes representation from simple dictionary to RKRoute model
* Eliminated RKRouter as a protocol
* Migrated RKObjectRouter to Network layer and renamed to RKRouter
* Added router as property of RKClient, RKObjectManager now proxies access
2012-07-11 16:06:55 -04:00
Blake Watters
81bcd17056
WIP on API improvements for RKForm
2012-07-11 16:03:12 -04:00
Jamie Forrest
86c0233c58
call stringForObjectValue from stringFromDate to fix failing test. add coverage for the serialization output of stringForObjectValue. refs #726
2012-07-11 14:26:43 -04:00
Jamie Forrest
86bc549869
RKDotNetDateFormatter now overrides stringForObjectValue. refs #726
2012-07-11 14:26:43 -04:00
Blake Watters
a80b8c94f9
Cleanup invalid arguments from method signature refactoring
2012-07-11 13:03:36 -04:00
Blake Watters
64d1d35da2
Various stylistic cleanups to Connection Mapping in preparation for merge. refs #748 , #593
2012-07-11 12:14:28 -04:00
Charlie Savage
f039f45f75
Support 1 to many relationships for connect relationship.
2012-07-11 12:14:28 -04:00
Charlie Savage
f368f9a16c
Add findInstancesOfEntity method to cache to support one to many relationships.
2012-07-11 12:14:28 -04:00
Charlie Savage
f0e8bbe284
Update new connectRelationship implementation based on feedback from Blake.
2012-07-11 12:14:28 -04:00
Charlie Savage
2a434375f0
Reimplement connectRelationship as described in issue #593 .
2012-07-11 12:14:28 -04:00
Blake Watters
76538c2ecb
Fix invalid format string in RKLogError invocation
2012-07-11 12:12:26 -04:00
Blake Watters
bc2bbbc77d
Fix warning due to invalid format string
2012-07-11 12:12:26 -04:00
Jawwad Ahmad
82f4630d36
Whitespace syntax cleanup. Refs #614
2012-07-11 10:41:38 -04:00
Jawwad Ahmad
7cbccfd322
Delete ivars that are already @synthesized. Refs #614 .
2012-07-11 10:34:29 -04:00
Blake Watters
5898b95d33
Simplified logic in cocoa-oauth by creating a single method for building NSURLRequests. Update RKRequest to leverage new API
2012-07-04 12:22:07 -04:00
Blake Watters
d02c1aa74c
Release the previous fetch results controller via property access. fixes #825 , #826
2012-06-21 20:55:36 -04:00
Roger Nolan
2bc93af7cf
Change type of _sourceObject ivars to match the property which is alised to them.
...
With unmatched type between property and storage, lldb gets confused when printing the object.
Error is: instance method ''sourceObject' has incompatible result types in different translation units ('NSObject *' vs. 'id')
Signed-off-by: Roger Nolan <rog@hatbat.net >
2012-06-16 00:27:41 -04:00
Jawwad Ahmad
abb46c382c
Ensure the stars for all pointers belong to the variable rather than the type. Refs #614
2012-06-04 22:47:30 -04:00
Jawwad Ahmad
eaa5484b01
Placing opening braces on a new line for methods to match Apple convention. Refs #614
...
Used uncrustify's "nl_fdef_brace = add" option to detect issues.
2012-06-04 00:36:19 -04:00
Jawwad Ahmad
46bf6e6295
Remove extra space before comma. Refs #614
...
Used uncrustify's "sp_before_comma = remove" option to detect issues.
2012-06-03 23:42:46 -04:00
Jawwad Ahmad
6d71b2d82b
Add missing space after comma. Refs #614
...
Used uncrustify's "sp_after_comma = add" option to detect issues.
2012-06-03 23:38:36 -04:00
Jawwad Ahmad
734b0350fe
Fix spacing issues identified by uncrustify's "sp_before_sparen = add" option. Refs #614
2012-06-03 23:27:41 -04:00
Jawwad Ahmad
746f31c26d
Fix issues identified by uncrustify's "sp_assign = add" option. Refs #614
2012-06-03 23:14:09 -04:00
Jawwad Ahmad
2cf60ffb86
Fix a few spacing issues. Refs #614
2012-06-03 22:51:00 -04:00
Jawwad Ahmad
086dceee66
Standardize to have space after @property. Refs #614
2012-06-03 22:36:35 -04:00