Changeset 321

Show
Ignore:
Timestamp:
08/13/08 16:13:59 (3 months ago)
Author:
wolf
Message:

[NEW] mogenerator: upgrade to ddcli 1.0 (which fixes a memory leak).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cocoa/mogenerator/ddcli/DDCliApplication.h

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
     
    136136 * @example example.m 
    137137 * 
    138  * This is a slighly more complexe example application.  Here are a 
     138 * This is a slighly more complex example application.  Here are a 
    139139 * few sample runs of this program: 
    140140 * 
  • trunk/cocoa/mogenerator/ddcli/DDCliApplication.m

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
  • trunk/cocoa/mogenerator/ddcli/DDCliParseException.h

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
  • trunk/cocoa/mogenerator/ddcli/DDCliParseException.m

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
  • trunk/cocoa/mogenerator/ddcli/DDCliUtil.h

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
  • trunk/cocoa/mogenerator/ddcli/DDCliUtil.m

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
  • trunk/cocoa/mogenerator/ddcli/DDCommandLineInterface.h

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
     
    3636 * @mainpage ddcli: An Objective-C Command Line Helper 
    3737 * 
    38  * ddcli is an Objective-C library to help write command line 
     38 * <a href="http://www.dribin.org/dave/software/#ddcli">ddcli</a> is an 
     39 * Objective-C library to help write command line 
    3940 * applications by simplifying parsing command line options and 
    4041 * eliminating much of the boiler plate code.  The <a 
  • trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.h

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
     
    101101 
    102102/** 
     103 * Returns the target object. 
     104 * 
     105 * @return The target object 
     106 */ 
     107- (id) target; 
     108 
     109/** 
     110 * Sets the target object. 
     111 * 
     112 * @param target The target object 
     113 */ 
     114- (void) setTarget: (id) target; 
     115 
     116/** 
    103117 * If set to YES, parses options with getopt_long_only() instead of 
    104118 * getopt_long(). 
  • trunk/cocoa/mogenerator/ddcli/DDGetoptLongParser.m

    r239 r321  
    11/* 
    2  * Copyright (c) 2007 Dave Dribin 
     2 * Copyright (c) 2007-2008 Dave Dribin 
    33 *  
    44 * Permission is hereby granted, free of charge, to any person 
     
    6868} 
    6969 
     70- (void) dealloc 
     71{ 
     72    [mOptionInfoMap release]; 
     73    [mOptionString release]; 
     74    [mOptionsData release]; 
     75    [mUtf8Data release]; 
     76     
     77    [super dealloc]; 
     78} 
     79 
     80- (id) target; 
     81{ 
     82    return mTarget; 
     83} 
     84 
     85- (void) setTarget: (id) target; 
     86{ 
     87    mTarget = target; 
     88} 
     89 
     90 
    7091- (void) setGetoptLongOnly: (BOOL) getoptLongOnly; 
    7192{