Permalink
Commits on Dec 28, 2010
  1. Merge branch 'development'

    tomaz committed Dec 28, 2010
  2. Increased version to 2.0 beta3.

    tomaz committed Dec 28, 2010
  3. Fixed template files output paths handling for doc set.

    tomaz committed Dec 28, 2010
    The problem was in confusion between templatePathForTemplateEndingWith: and outputPathToTemplateEndingWith: of GBOutputGenerator. GBDocSetOutputGenerator used wrong method for getting template filename which resulted in nil GBTemplateHandler and output string. And writting nil string ended in error. This is properly handled now.
Commits on Dec 27, 2010
  1. Merge branch 'development'

    tomaz committed Dec 27, 2010
  2. Increased version to 2.0 beta2.

    tomaz committed Dec 27, 2010
Commits on Dec 24, 2010
  1. Fixed templatesFound release compiler warning, closes #16.

    tomaz committed Dec 24, 2010
    Forgot to add @sythetize directive.
Commits on Dec 23, 2010
  1. Fixed example blocks formatting by cleaning <pre> tags.

    tomaz committed Dec 23, 2010
    This shared the same problem as <code> sections - there was starting and trailing space inserted by template.
  2. Implemented appledoc version printout to generated HTML and unified a…

    tomaz committed Dec 23, 2010
    …ppledoc related information handling.
    
    Printing version makes it easier to diagnose problems in documentation generation related to specific versions or just determine if someone is using latest version.
  3. Added alternative @return directive.

    tomaz committed Dec 23, 2010
    We should also support @returns the same way as @return.
  4. Fixed overview output generation in cases where comment has no text.

    tomaz committed Dec 23, 2010
    As template only checks whether the comment is present, empty comments resulted in overview title being added to HTML without any accompanying text. These situations are properly handled now by removing such comments while processing.
Commits on Dec 22, 2010
  1. Refactored HTML index and hierarchy page titles handling by moving al…

    tomaz committed Dec 22, 2010
    …l strings to GBApplicationStringsProvider.
    
    This keep all hard coded strings in one place and make the tool simpler to translate.
  2. Refactored output paths handling to use template paths as much as pos…

    tomaz committed Dec 22, 2010
    …sible.
    
    This decouples code from template locations. At the moment only classes, categories and protocols are manually copied to output locations.
  3. Hierarchy HTML template only emits <ul> if there are subclasses avail…

    tomaz committed Dec 22, 2010
    …able for given class.
  4. Prepared ground for HTML hierarchy file generation.

    tomaz committed Dec 22, 2010
    At this stage, hierarchy file is generated but it only contains categories and protocols.
Commits on Dec 20, 2010
  1. Cleanedup generated HTML code to reduce extra spaces. Closes #12.

    tomaz committed Dec 20, 2010
    We're using simple string and regex replacement, mainly revolving arround <code> and </code> sections where the issues more most prominent.
Commits on Dec 18, 2010
  1. Merge branch 'development'

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

    tomaz committed Dec 17, 2010
    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.

    tomaz committed Dec 16, 2010
    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.

    tomaz committed Dec 16, 2010
    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.

    tomaz committed Dec 16, 2010
    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

    tomaz committed Dec 15, 2010
    …#10.
    
    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.

    tomaz committed Dec 14, 2010