Commit Graph

133 Commits

Author SHA1 Message Date
Blake Watters
9a4d3f81a5 Style tweaks 2012-08-23 18:45:08 -04:00
Blake Watters
e7d768dd2f Update RKObjectMapper to return a single NSError on failure. Update error codes 2012-08-17 13:09:47 -04:00
Blake Watters
ea03674164 Merge branch 'feature/managed-object-contexts' into development 2012-08-15 20:56:32 -04:00
Blake Watters
086f9862ce Fix dangling references to RKDirectory on OS X 2012-08-15 16:30:28 -04:00
Blake Watters
37c70e4c27 Migrate path utilities to C functions instead of encapsulating into static methods on RKDirectory to reduce API size 2012-08-14 09:57:27 -04:00
Blake Watters
232b3eb861 Implemented new search engine for managed objects. 2012-08-01 18:12:53 -04:00
Blake Watters
e952f451fb Eliminated the use of the ActiveRecord pattern across the library. 2012-07-20 14:48:09 -04:00
Jawwad Ahmad
b9979e337e Add DEPRECATED_ATTRIBUTE_MESSAGE(message) macro to display a helpful recommendation message along with the default deprecation message. 2012-07-18 12:25:41 -04:00
Jawwad Ahmad
4c083a3462 Fix warning message to correctly display path of resource that could not be found in the bundle. 2012-07-13 16:44:55 -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
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
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
10433089a4 Strip trailing whitespace. Refs #614 2012-06-03 22:33:31 -04:00
Blake Watters
680ca666d6 Update RKTestFactory to silence logging output during setup/tear down operations. closes #764
* Introduced new logging helpers for silencing components.
* Check for existence of data store at path before firing deletion to avoid log warning on failure.
* Silence logging for reachability and cache during factory initialization of RKClient and RKObjectManager
* Adjust log levels on cache components from info to debug
2012-05-24 12:53:45 -04:00
Blake Watters
992bfb96cc Reworked table controller state into a bit mask to coalesce state change into a single observation. fixes #753
* Added RKLogIntegerAsBinary() helper for logging bit masks
* Implemented RKTableControllerDidLoadObjectsNotification for static and fetched results table controllers
* Cleaned up state definitions within table controller
* Documentation cleanups
2012-05-23 17:25:57 -04:00
Blake Watters
5cecb58c23 Add RKLog helper for displaying detailed key-value validation failure information. closes #750 2012-05-21 13:09:23 -04:00
Blake Watters
489bb0423a Fix static analyzer issues 2012-05-18 20:01:56 -04:00
Blake Watters
016f13dad0 Convert all tabs to four spaces. refs #743 2012-05-17 18:10:59 -04:00
Blake Watters
fcb973056b Cleanup trailing whitespace. refs #743 2012-05-17 18:00:16 -04:00
Blake Watters
2c704e6fdc Merge branch 'feature/635-accelerate-entity-cache' into development 2012-05-15 19:42:19 -04:00
Blake Watters
715ae6cbf7 Add RKBenchmark to the Support module instead of Testing. refs #710 2012-05-12 16:53:26 -04:00
Blake Watters
ec4db4142d Added RKPortCheck class for determining if a remote host/port is listening for TCP connections. refs #714 2012-05-10 16:27:53 -04:00
Blake Watters
a01d47316c Added new logging component for Core Data cacheing subsystem. Fixed performance degradation in entity cache. Enabled RKManagedObjectCacheing callbacks to accelerate mapping, disabled processPendingChanges 2012-05-04 23:19:14 -04:00
Blake Watters
f0793b8e19 Enabled support and tests for creation of intermediate directories during RKCache initialization. closes #667 2012-04-17 23:23:41 -04:00
Jon Nolen
e0b248da46 fixing RKDotNetDateFormatter not correctly mapping dates in RKObjectMappingOperation. 2012-04-17 21:00:28 -04:00
Blake Watters
3eb4091ffb Replace use of NSOrderedSet with NSArray to ensure compatibility with iOS 4.x SDK. fixes #664 2012-04-11 13:00:18 -04:00
Blake Watters
d95823d089 Fix incorrect handling of nil values when sectioning an array by keyPath 2012-04-10 19:22:30 -04:00
Blake Watters
76f2344582 Replace implementation of sectionsGroupedByKeyPath: due to issues with valueForKeyPath: mutating ordering 2012-04-10 14:30:38 -04:00
Blake Watters
b282e3a813 Added support for grouping objects into sections within RKTableController. closes #658 2012-04-10 11:34:22 -04:00
Jawwad Ahmad
ad7da9054f Add RKLogConfigureFromEnvironment() to RKLog.m.
Added a new RKLogConfigureFromEnvironment() function to RKLog.m to allow the configuration of logging components and logging levels via environment variables. Closes #640.
2012-04-04 13:27:25 -04:00
Blake Watters
2723a11294 Reorganized categories under RKAdditions naming convention. Expanded documentation. 2012-04-04 09:08:55 -04:00
Blake Watters
457a6126cf Refresh copyright notices for all source files 2012-04-04 09:08:54 -04:00
Blake Watters
59eec38f6e Updated RKDirectory with method for ensuring existence of directories. RKTestEnvironment
now ensures the Caches and Application Data directories exist at test initialization.
Enables test suite to run from command line or with a CI environment. refs #293
2012-04-03 23:39:43 -04:00
Blake Watters
0d709dbc07 Migrate dangling invocations of NSLog -> RKLog. refs #578 2012-03-20 20:43:14 -04:00
Blake Watters
868372272f Ported RestKit tests over to using the RKTestFactory and completed documentation. fixes #318 2012-03-15 23:06:49 -04:00
Blake Watters
6efa73fa25 Fixed issues with accessing RestKitResources.bundle from within unit tests 2012-03-15 16:44:01 -04:00
Blake Watters
9732ffa257 Appledoc update for RKParser 2012-03-15 00:21:03 -04:00
Blake Watters
450f31d3b3 Documentation for RKOrderedDictionary 2012-03-15 00:21:03 -04:00
Blake Watters
d63b3d4752 Documentation for RKSearchEngine 2012-03-15 00:21:03 -04:00
Blake Watters
eeecff7bd0 Added support for loading resolution independent images ([UIImage imageWithContentsOfFile:] is broken) via UIImage
category and updated NSBundle additions to leverage the support.
2012-03-09 17:48:50 -05:00
Blake Watters
5ae94287e9 Added NSBundle helpers to Support.h. Introduced convenience method for retrieving reference to RestKitResources.bundle 2012-03-09 17:48:50 -05:00
Blake Watters
6723502372 Merge branch 'hotfix/545-conditional-nsorderedset' into development 2012-02-25 12:03:48 -05:00