Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 16, 2010
  1. 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.
Commits on Dec 13, 2010
  1. Refactored settings handling by removing GBStoreProviding protocol.

    Reasoning is similar to previous commit.
  2. 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...
Commits on Dec 7, 2010
  1. Implemented documentation copying for overriden methods and fixed rem…

    …oval of undocumented objects.
    Due to the fact that we may copy documentation from superclasses, we must remove undocumented members and objects only after processing members, otherwise we would delete overriden methods before getting the chance to copy the documentation.
  2. Fixed removal of undocumented categories and protocols handling.

    The problem was that we operated directly on GBStore categories and protocols and removing an object raised exception due to mutating a list whilte enumerating. We're now properly enumerating over a copy of the original list.
    I'm not sure why this isn't caught by unit tests though...
  3. Refactored GBProcessor internal handling by including as many work in…

    …side the main loop as possible.
Commits on Dec 6, 2010
  1. Fixed removal of undocumented objects in case only undocumented metho…

    …ds are registered.
    The problem was that we didn't count uncommented methods that were unregistered. But then we calculated the number of commented methods by subtracting the sum of uncommented methods from all methods before handling them. So either we would need to use existing methods count or count all undocumented methods. I chose the second approach.
  2. Implemented basic section registration handling while merging.

    At this point a single section is created and all methods registered to it.
  3. Implemented basic categories merging handling.

    At this point we simply remove the category without actually merging as we're only testing merging on/off switch.
Commits on Dec 5, 2010
  1. Restructured unit tests for undocumented objects and members to get m…

    …ore specific testing in separate files.
    All unit tests specific to undocumented objects and members were moved to a separate file to keep test cases more understandable and up to the point.
Commits on Dec 2, 2010
Commits on Nov 19, 2010
  1. Refactored comment objects to allow proper handling for GRMustache.

    The most notable change is addition of helper BOOL properties that specify the type of object. As GRMustache doesn't have type comparator, we need to resort to booleans...
    Also changed list names for GBCommentParagraph and GBParagraphListItem; instead of using generic "items", we use "paragraphItems" and "listItems" respectively. Although this wouldn't change behavior, it does make the template code more understandable...
Commits on Nov 18, 2010
Commits on Nov 17, 2010
Commits on Nov 14, 2010
  1. Copied all the changes from the old generating branch.

    Something broke while copying the project over from the old computer, so the simplest way to fix this was to pull from GitHub and copy all the files from the local backup...
Commits on Sep 26, 2010
  1. Implemented comment method parameters validation and sorting in the o…

    …rder defined by the method data.
Commits on Sep 24, 2010
  1. Fixed comment delimiters detection regex and cleaned up some code.

    Comment delimiter regex included a hyphen at the middle inside char class. This was interpreted as a range of chars. Hyphen is now properly written at the end of character class declaration... Couldn't write a unit test to catch this!
  2. Implemented debugDescription method for returning detailed object des…

    …cription with full debug information, updated log messages to include more information about source and fixed appledoc target to make it compile.
    Note that at this point debug information simply returns description.
Commits on Sep 22, 2010
Commits on Sep 21, 2010
Commits on Sep 15, 2010
Something went wrong with that request. Please try again.