Skip to content
Commits on Feb 24, 2011
  1. @rentzsch

    [VERSION] 1.22

    rentzsch committed
  2. @rentzsch

    bump copyright year

    rentzsch committed
Commits on Oct 31, 2010
  1. @rentzsch

    [VERSION] 1.21

    rentzsch committed
Commits on Aug 12, 2010
  1. @rentzsch

    [VERSION] 1.20

    rentzsch committed
Commits on Jul 17, 2010
  1. @rentzsch
Commits on Jul 5, 2010
  1. @rentzsch

    [VERSION] 1.19.

    rentzsch committed
  2. @rentzsch
Commits on Jul 1, 2010
  1. @rentzsch
Commits on Mar 27, 2010
  1. @rentzsch
  2. @rentzsch

    [NEW] Add --orphaned option.

    rentzsch committed
    Couple it with --model to get a listing of source files that no longer have corresponding entities in the model.
    
    The intent is to be able to pipe its output to xargs + git to remove deleted and renamed entities in one command, something like:
    
    $ mogenerator --model ../MyModel.xcdatamodel --orphaned | xargs git rm
Commits on Jan 4, 2010
  1. @rentzsch
Commits on Nov 2, 2009
  1. @rentzsch
  2. @rentzsch

    [DEV] Bump version to 1.15.

    rentzsch committed
Commits on Oct 9, 2009
  1. @rentzsch

    [NEW] Switch default machine templates to use @dynamic. Thus generate…

    rentzsch committed
    …d code now requires 10.5. Old non-@dynamic templates moved to contributed templates/rentzsch non-dynamic. (Pierre Bernard)
Commits on Oct 8, 2009
  1. @rentzsch

    [DEV] Bump version to 1.14.

    rentzsch committed
    Set compiler to gcc 4.0 to be able to compile on 10.6 Snow Leopard.
    Update copyright year.
    Link to github project page.
Commits on Oct 14, 2008
  1. @rentzsch

    [NEW] mogenerator 1.13.1: fix typo introduced in r314 where I was usi…

    rentzsch committed
    …ng -(will|Did)AccessValueForKey: in relationship NSMutableSet getter when I should have been using -(will|Did)AChangeValueForKey:. (Pascal Augustin)
Commits on Oct 12, 2008
  1. @rentzsch
Commits on Sep 1, 2008
  1. @rentzsch

    [NEW] mogenerator 1.12: Handle relationships in the left-hand side of…

    rentzsch committed
    … fetch request predicate expressions.
    
    [FIX] failure when handling fetch requests without a filtering predicate.
Commits on Aug 5, 2008
  1. @rentzsch
  2. @rentzsch
Commits on Jul 7, 2008
  1. @rentzsch

    [FIX] mogenerator 1.10.1: 10.5.4 now seems to require a call to -will…

    rentzsch committed
    …AccessValueForKey: before -mutableSetValueForKey: actually works (10.5.4 dies with an exception in -[_NSNotifyingWrapperMutableSet initWithContainer:key:mutableSet:]).
    
    Updated the machine source template file to call -(will|Did)AccessValueForKey: for you. (Paul Herzog)
Commits on May 20, 2008
  1. @rentzsch

    [NEW] mogenerator 1.10: Template addition. Machine files now define x…

    rentzsch committed
    …xxMOID subclasses of NSManagedObjectID in order to bring additional type-safety to multithreaded Core Data programming.
Commits on Mar 10, 2008
  1. @rentzsch
Commits on Mar 3, 2008
  1. @rentzsch

    [FIX] mogenerator 1.8.1: Quote .xcdatamodel and .mom paths when invok…

    rentzsch committed
    …ing momc -- before it was unhappy if your model file had a space in its name. (Ruotger Skupin).
Commits on Feb 27, 2008
  1. @rentzsch

    [NEW] mogenerator 1.8: Ruotger Skupin reported that mogenerator didn'…

    rentzsch committed
    …t support 10.5's new transformable attributes. Added. "NSObject" is used as the type unless you add a "attributeValueClassName" key to the attributes's user info (with its value set to the desired class name).
Commits on Jan 17, 2008
  1. @rentzsch
Commits on Oct 11, 2007
  1. @rentzsch

    [FIX] mogenerator 1.6.1. Fix ObjC/PPC message-nil-float-method-result…

    rentzsch committed
    … gotcha in generated code reported by Ruotger Skupin. Used to generate this code:
    
     - (float)someAttributeValue {
        return [[self someAttribute] floatValue];
     }
    
    Now generate this code:
    
     - (float)someAttributeValue {
        NSNumber *result = [self someAttribute];
        return result ? [result floatValue] : 0;
     }
    
    Ref:
     <http://unixjunkie.blogspot.com/2006/02/messaging-nil-in-objective-c.html>
     <http://ridiculousfish.com/blog/archives/2005/05/29/nil/>
Commits on Sep 6, 2007
  1. @rentzsch
Commits on Jul 17, 2007
  1. @rentzsch
Commits on Jul 10, 2007
  1. @rentzsch
Commits on Apr 20, 2007
  1. @rentzsch

    [NEW] mogenerator 1.2:

    rentzsch committed
    [NEW] Binary installer! Double-click the installer/make_installer.command file to create the distributable .dmg (which contains a .pkg).
    
    [NEW] Works on latest seed of The Operating System That Shall Not Be Named.
    
    [NEW] Now looks for templates in /Library/Application Support/mogenerator/ as well was ~/Library/Application Support/mogenerator/. This is mostly to make the installer package easier to create.
Commits on Feb 22, 2007
  1. @rentzsch

    [NEW] mogenerator 1.1.2: Map `NSInteger32AttributeType` onto `int` in…

    rentzsch committed
    …stead of `long`. `long` is 8 bytes on LP64, Mac OS X's 64-bit model, while `int` is 4 bytes on both 32-bit and 64-bit models. Thanks to Sean McBride for alerting me.
Commits on Feb 21, 2007
  1. @rentzsch

    [NEW] mogenerator 1.1.1: Now yaps about its activity. This should hel…

    rentzsch committed
    …p counter the "why aren't source files being generated for my model and/or entities?!?" mysteries (hint: it's usually that you aren't using a custom entity class in your model). Credit to Michael McCracken for the patch.
Commits on Dec 25, 2006
  1. @rentzsch
Commits on Nov 12, 2006
  1. @rentzsch

    mogenerator 1.0.5:

    rentzsch committed
    [FIX] Extension of mogenerator 1.0.4's code-duplication-with-inherited-attributes bug fix. Mason Mark pointed out the issue also affected relationships. Duh. Fixed in the same way 1.0.4 was fixed, with a new -[NSEntityDescription(customBaseClass) noninheritedRelationships] method. Templates updated to use it, mogeneratorTestMule updated to produce the condition.
Something went wrong with that request. Please try again.