Cody Rayment
480c475ae9
Simplify logic for auto-detecting ARC
2011-12-07 06:27:48 -07:00
Cody Rayment
1d63691011
Simplify logic for auto-detecting ARC
2011-12-07 06:25:48 -07:00
Cody Rayment
b04a088eda
Merge branch 'feature/define_cleanup'
2011-12-07 05:07:58 -07:00
Cody Rayment
df9e70484c
Merge branch 'feature/log_in_debug_only'
2011-12-07 05:07:53 -07:00
Cody Rayment
681b428a55
Merge branch 'feature/auto_detect_arc'
2011-12-07 05:07:40 -07:00
Cody Rayment
04d6861056
Fix all compile errors and analyzer warnings.
...
These could only be seen under non-ARC and are real issues.
2011-12-07 05:06:51 -07:00
Cody Rayment
17e215e790
Auto-detect ARC.
2011-12-07 05:06:08 -07:00
Cody Rayment
93c9ccec53
Don't need ((void)0)'s
2011-12-07 04:45:06 -07:00
Cody Rayment
911fd89eae
Default to only log in debug builds.
2011-12-07 04:44:15 -07:00
Saul Mora
64f8b6d59c
Fixed compile problems and merge issues
1.8.1
2011-12-05 20:48:15 -07:00
Saul Mora
c8ffde36b4
Merged from pull request
2011-12-05 20:42:07 -07:00
Saul Mora
10a3fecf90
Some adjustments to the iCloud helpers
2011-12-05 20:40:26 -07:00
Magical Panda Software
18d984e363
Merge pull request #93 from NZKoz/master
...
Fixes for the MR_* macros when ARC is not enabled.
2011-12-05 18:26:27 -08:00
Michael Koziarski
3dd7591d18
Default to using ARC
2011-12-06 15:21:40 +13:00
Michael Koziarski
2bcd117069
Add an MR_USE_ARC option that users can define themselves if they use arc
2011-12-06 14:38:20 +13:00
Michael Koziarski
d1af0058f7
use the MR_RETAIN/MR_RELEASE/MR_AUTORELEASE macros everywhere
2011-12-06 14:37:55 +13:00
Saul Mora
911686cb1b
Merge branch 'master' of magicalpanda.github.com:magicalpanda/MagicalRecord
2011-12-04 13:31:10 -05:00
Saul Mora
0dc65ac714
Merge branch 'preprocessor_fixes' of https://github.com/baron/MagicalRecord into merge-pull-request
2011-12-04 13:10:58 -05:00
Saul Mora
f1722566ad
regenerated entities
2011-12-04 13:10:34 -05:00
Sam Baron
bba28d6c81
fix indentation
2011-12-03 22:00:12 +09:00
Sam Baron
cfb19422bb
fixes for preprocessor stuff for ARC
2011-12-03 21:56:31 +09:00
Saul Mora
1ad46a7f8c
move logging to proper place
2011-11-30 00:15:05 -07:00
Saul Mora
3e19b336ef
Add support for Importing ordered relationships; Added shouldImport: callback for any pre-import validation
2011-11-29 23:36:46 -07:00
Saul Mora
f3d3f2b082
Bumped podspec
2011-11-29 01:27:19 -07:00
Saul Mora
719ffadd37
Add iCloud support
1.8
2011-11-29 01:18:17 -07:00
Saul Mora
a3074e98b2
Swizzle valueForUndefinedKey: method with MR_valueForUndefinedKey: on the object being imported to support data importing for undefined keys (ie. data wasn't included) without crashing (default behaivior)
2011-11-28 19:32:17 -07:00
Saul Mora
062953110a
Making sure not defining MR_SHORTHAND does NOT include any unnecessary runtime changes
2011-11-28 17:19:31 -07:00
Saul Mora
bbf2b80a79
Renamed ARLog to MRLog
2011-11-28 09:18:15 -07:00
Saul Mora
d57fce8598
Merge branch 'master' of github.com:magicalpanda/MagicalRecord
2011-11-27 23:52:05 -07:00
Saul Mora
2fbb5e7251
Added some warning info for recent checkin. Should only matter to a select few who tinker with the ObjC Runtime
2011-11-27 23:51:50 -07:00
Saul Mora
326a86a543
Added rule to call back to user entities when importing data. Just implement 'import<Key>:' in your entities to get called back to perform custom handling of data attributes on import. Also refactored and cleaned up a few things
2011-11-27 23:43:21 -07:00
Magical Panda Software
09f0b310b9
Merge pull request #87 from alloy/master
...
Add CocoaPods pod spec.
2011-11-23 10:35:35 -08:00
Eloy Duran
5311cbb07c
Add CocoaPods spec.
2011-11-22 23:59:43 +01:00
Magical Panda Software
7b76a36909
Merge pull request #86 from baron/missing_prefixes
...
add remaining prefixes
2011-11-18 15:28:44 -08:00
Sam Baron
a2c2784aad
add remaining prefixes
2011-11-18 15:24:00 +09:00
Saul Mora
348e4b33a7
Fix compile issues for mac and iphone
2011-11-17 16:52:04 -07:00
Saul Mora
26d74eca7a
Adding aggregate operation support submitted from Duane Fields. Thanks for submitting!
1.7.1
2011-11-15 14:58:54 -07:00
Saul Mora
3e0b36c072
Added some macros to handle backwards, non-ARC compatibility
2011-11-15 14:50:11 -07:00
Saul Mora
e65b43a2ed
Forward deprecated method to proper background handling method
2011-11-15 13:59:35 -07:00
Saul Mora
5470cc640b
Made the default managed object context section more clear.
...
Added an example of the background save completion handler
2011-11-15 13:55:03 -07:00
Saul Mora
5effa4773c
Include sub entities by default in searches
2011-11-15 13:23:06 -07:00
Saul Mora
34ed8015ac
Added +entityName method for use when creating ManagedObjects and fetching objects. This can be overridden to match your entity. Support for the entityDescriptionInContext: method provided by mogenerator is also still used.
...
Cleaned up the fetch methods naming convention. If a method starts with fetchAll, the fetch will be performed before the method returns.
Added method to pass in fetch results controller delegate in fetchAll methods.
1.7
2011-11-15 13:09:49 -07:00
Saul Mora
7643c5af05
Re-add fix for cleanup of background queue
2011-11-15 12:23:20 -07:00
Saul Mora
bb8b1c28f7
Add new method to set default model from MagicalRecordHelpers class to so that it uses proper, prefixed methods to set the default prior to using the remainder of the MR stack
...
Some minor cleanup
2011-11-15 12:21:58 -07:00
Saul Mora
49309a87ea
Added compatibility with ARC **AND** non ARC settings/compilers
2011-11-15 12:03:09 -07:00
Saul Mora
4f63c7996e
Don't escape path string twice; fixing test
2011-11-15 11:22:55 -07:00
Saul Mora
b253cc8041
Remove all compile warnings by auto generating shorthand interface methods
2011-11-15 11:13:14 -07:00
Saul Mora
e5439914b3
Shorthand header script generator
2011-11-15 09:48:11 -07:00
Saul Mora
068e1242ab
Added last two prefixes to methods
2011-11-15 09:47:52 -07:00
Saul Mora
bd16d3f6a2
Really finish adding MR_ category prefixes
2011-11-15 00:51:08 -07:00