Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 18, 2010
  1. Merge branch 'development'

Commits on Dec 17, 2010
  1. Fixed --help and --version parameters handling.

    The problem was with recent addition of templates path handling. An exception is raised if no valid template path is found. However as validation message needs to be sent before the main application handling method due to how DDCli works, exception was raised before we handled any setting. This effectively required the user to pass in a valid templates path even just to see help or version...
Commits on Dec 16, 2010
  1. Fixed declared property getter and setter formatting.

    The problem was that appledoc simple formatted these the same as any other attribute, so resulting property declaration was something like "@property (readonly, getter, =, isName) BOOL name;". This is now properly detected and result is "@property (readonly, getter=isName) BOOL name;".
  2. Fixed possible runtime exception while rendering output.

    Exception was raised within GRMustache rendering - specifically when it invoked GBParagraphItem partial, it first checked {{#isTextItem}} condition which returned YES, then went on to invoke {{stringValue}}. The value returned was nil so runtime exception was reported. After investigating I realized it was due to GBParagraphTextItem having nil stringValue. After playing with different inputs, it became clear the problem was in cases where empty (or new line only) GBParagraphTextItem was added at the end of the paragraph. Changing the way paragraph text was trimmed - i.e. including optional trimming of new lines - this works without problems.
  3. Added missing @synthesize store to GBOutputGenerator.

    Thanks to Thomas Engelmeier of Scoreloop for pointing it out!
Commits on Dec 15, 2010
  1. Fixed __attribute__ parsing for property and method definition. Closes

    The problem was with __attribute__ being processed as part of property or method definition. This is properly detected now and is ignored, together with any combination of text enclosed within parenthesis following __attribute__ keyword.
    For example: "__attribute__()", "__attribute__(something)", "__attribute__((!@#!%^&*~`))" etc. are all ignored, as long as at least one open and close parenthesis should be following __attribute__ keyword
Commits on Dec 14, 2010
  1. Added default readme file.

Commits on Dec 13, 2010
  1. Implemented print settings option.

    This is useful for debugging mostly.
  2. Refactored settings handling by removing GBStoreProviding protocol.

    Reasoning is similar to previous commit.
  3. Refactored settings handling by removing GBApplicationSettingsProvidi…

    …ng protocol.
    Instead, the GBApplicationSettingsProvider class is used. Objective-C can solve "program to interface" rule quite easily through anonymous type and we can as easily mock classes as we can protocols, so having a protocol only complicated development...
  4. Fixed unit tests which were dependent on project name and company set…

    Forgot to run unit tests after 93203e1 commit.
Commits on Dec 10, 2010
  1. Rearranged error codes a bit.

  2. Implemented company identifier setting and refactored unit test for c…

    …opyWithZone: to make it more robus.
    The main reason for adding company identifier is to reuse it for documentation set bundle and publisher identifiers.
    The more robust unit test mentioned uses customly crafted expected string instead of simply getting it from settings object. This allows proper testing that all templates placeholders are actually being handled by the code!
  3. Implemened NSCopying for GBApplicationSettingsProvider.

    This will be used for handling settings levels shortly - factory defaults, global parameters, command line arguments.
  4. Implemented unit test for demonstrating which settings values can use…

    … placeholder strings and which placeholder strings are available.
  5. Implemented negate boolean command line swithces.

    These are required so that we can suppress certain options that are on by default - DDCli only sets booleans to YES, so implementation is kind of duplicative - we need to add additional prefixed option for each boolean option.
Commits on Dec 9, 2010
  1. Implemented better support for declared in info.

    Instead of displaying all entries (.h and .m files for example), first the file from comment is tried. If no comment, or missing source file information, the first header file from the object's sourceInfos list is returned. If no header file is found, the first file from the list is returned. Finally if no source information is found, nil is returned.
Commits on Dec 7, 2010
  1. Fixed protocol types output for method declarations.

    The problem was that extra spaces were added which resulted in output similar to "id < Protocol >" whereus we want to have "id<Protocol>" instead.
  2. Fixed object specifications vertical alignment to top.

    This renders labels for elements with multiple values at the top of the row instead of the middle.
Something went wrong with that request. Please try again.