Permalink
Commits on Jan 17, 2011
  1. Merge branch 'development'

    committed Jan 17, 2011
  2. Released verion 2.0!

    committed Jan 17, 2011
  3. Incremented build number to 514.

    committed Jan 17, 2011
  4. Implemented appledoc build number to make it simpler to check which v…

    …ersion was used for generation.
    committed Jan 17, 2011
  5. Updated templates to use user's whitespace. Closes #34 and #37.

    Note that this commit is only the last one in series which started at 214c662 that ultimately fixed above issues.
    committed Jan 17, 2011
  6. Refactored lists processing to match the code used for directives.

    Not only this makes both codes similar, it also results in cleaner code.
    committed Jan 17, 2011
  7. Fixed bold-italics decorators handling.

    The problem was with the fact that we needed to register text to inner decorator, but register the outer one to the paragraph. To reuse registration code, we correctly assigned inner decorator for text registration, but then only registered the inner decorator to paragraph, effectively discarding outer one completely. This is properly handled now.
    
    In fact, this fixes the remaining 7 unit tests and closes code refactoring!
    committed Jan 17, 2011
  8. Fixed remaining text items processing unit tests.

    The problem with these was in using normalized description as the string value. Although we could update unit tests to compensate for this, it would be a deviation from the rest of the code - we're now strictly using user's whitespace so we should also use this for string values.
    
    This fixes another set of 4 unit tests with 7 remaining.
    committed Jan 17, 2011
  9. Fixed multiple @see directives processing.

    The problem was that we always popped last paragraph inside processing loop, but @see directives don't push one! This is properly handled now, fixing another batch of 2 unit tests.
    
    11 more unit tests to go.
    committed Jan 17, 2011
  10. Further fixing of comment directives parsing by restoring description…

    … regexes that handle multiple lines.
    
    This was removed in one of the previous commits as it seemed it worked better this way. However it needed to be added back as this prevented handling descriptions spanning multiple lines. The real problem was elsewhere and was fixed with one of the previous commits.
    committed Jan 17, 2011
  11. Fixed comment directives processing and normal paragraphs handling.

    The problem was when popping directive paragraph which resulted in registering the paragraph to the comment as well if there was no other paragraph on the stack. To properly handle such situations, pushing paragraphs requires sender to specify whether the paragraph is auto-registerable or not. This information is then used when popping and the paragraph is only registered if the flag was set.
    
    This closes another 25 unit tests, with 18 to go.
    committed Jan 17, 2011
  12. Fixed link items processing.

    The problem was we only handled links that started with a word, which effectively ignored any links embedded within punctuation.
    committed Jan 17, 2011
  13. Fixed warning block processing.

    The problem was in copying the code from bug block and forgetting to change regex.
    committed Jan 17, 2011
  14. Updated comment text processing validation methods to keep whitespace.

    This fixes another 39 unit tests with 43 to go.
    committed Jan 17, 2011
Commits on Jan 16, 2011
  1. Implemented comment directives processing.

    This handles @param, @return and the rest. 6 more unit tests pass, 82 to go.
    committed Jan 16, 2011
  2. Implemented paragraph text processing.

    This makes 67 more unit tests pass, 88 to go...
    committed Jan 16, 2011
Commits on Jan 14, 2011
  1. Fixed paragraphs registration to comment.

    As unit tests were not being cleared with code I checked what was the going on. It turned out comments were empty regardless of the number of items processed. The reason was simple: I forgot to register last paragraph after processing all blocks.
    committed Jan 14, 2011
  2. Implemented @warning blocks processing.

    committed Jan 14, 2011
  3. Fixed methods parsing in cases where #pragma mark - is used. Closes #50.

    The problem was that appledoc considered any - or + as the start of a method. This, coupled with very simple implementation of parsing to keep it as versatile as possible, resulted in this:
    
    	#pragma mark -
    	#pragma mark Something
    
    	/** comment */
    	- (void)method;
    
    Being recognised as a method `- #pragma mark Something...`. The new parsing code simply checks if the leading - or + is followed by open parenthesis and only recognises the method if so.
    
    Thanks to "tonklon" for bringing this up!
    committed Jan 14, 2011
  4. Refactored text and links processing to make it more streamlined.

    The algorithm is more straightforward now - the links are only searched at the beginning of the string. If found, link item is created and all text is skipped. If not found the text is marked as text item and the item is generated afterwards. All whitespace is also marked as text item and is added to any skipped text.
    committed Jan 14, 2011
Commits on Jan 13, 2011
  1. Fixed HTML footer year and last update strings. Closes #49.

    This was broken when switching from $ to % in commit 45159f0. Forgot to check it then.
    committed Jan 13, 2011
  2. Implemented basic text processing.

    committed Jan 13, 2011
  3. Updated comments related classes debugDescription to show full inform…

    …ation and added arrayOfLines method to NSString category.
    committed Jan 13, 2011
Commits on Jan 12, 2011
  1. Added developers check list for creating new command line switches.

    Although it's straighforward, certain steps may be forgotten after a while, so it's better to keep this information as close as possible. Perhaps adding developers guide document might be better solution in the future...
    committed Jan 12, 2011
  2. Implemented automatic enabling of creation steps if certain setting i…

    …s used but the setting it depends on isn't.
    
    For example, this allows simply saying `--publish-docset` and have automatically enabled HTML and docset creation and installation options without explicitly stating them.
    committed Jan 12, 2011