1. 18 Nov, 2021 1 commit
  2. 31 Aug, 2021 1 commit
  3. 02 Feb, 2021 5 commits
    • Olaf Mandel's avatar
      Also left-shift the block comments · 1fd5a648
      Olaf Mandel authored and Carl Schwan's avatar Carl Schwan committed
      This is not strictly necessary, but it makes the output look nicer if
      the block comments are completely left-shifted. This makes all lines
      line up with the first line.
      1fd5a648
    • Olaf Mandel's avatar
      Separate C++ comment blocks by newline · f16fe361
      Olaf Mandel authored and Carl Schwan's avatar Carl Schwan committed
      Doxygen differentiates between adjacent C++ comments and C++ comments
      separated by an empty line: the former form one block, the latter
      multiple blocks. Preserve this from the input file to the output.
      
      Note that there was a mistake in the endcond functional test: the
      expected output did wrongly merge two comments into a block.
      f16fe361
    • Olaf Mandel's avatar
      Lexer: treat adjacent C++ comments as one token · 92f22e11
      Olaf Mandel authored and Carl Schwan's avatar Carl Schwan committed
      In preparation to get the comment-order functional test to pass, treat
      adjacent C++ comments (starting with "//") as one token: this is how
      Doxygen sees them as well.
      
      To preserve the intentation in the functional tests, also implement a
      left_shift_comment() method which is called from fixup_tokens().
      92f22e11
    • Olaf Mandel's avatar
      Stop sorting class members by access · 0a640ff9
      Olaf Mandel authored and Carl Schwan's avatar Carl Schwan committed
      Output class members in the order they were defined in, switching
      between public and private access as needed. This is needed as a
      preparation for getting the comment-order functional test to pass: it
      free-standing comment blocks that must be kept in their original order.
      
      As a side effect, the output no longer contains an obligatory "public:"
      access-declaration at the start of the class. This requires changing
      some of the existing test cases with empty classes or where the first
      element is private.
      0a640ff9
    • Olaf Mandel's avatar
      Add (failing) test about preserving comment order · 98936d06
      Olaf Mandel authored and Carl Schwan's avatar Carl Schwan committed
      Some doxygen comments are not associated with any element translatable
      into C++, e.g. opening and closing groups: those are stand-alone.
      Accordingly, comments (and the elements they may refer to) must not be
      resorted when generating the output.
      
      In addition, one-line comments must preserve empty lines between them:
      putting them together causes the interpretation to change, e.g. a @{
      followed by a @brief always opens a group, but the brief is part of the
      group instead of the following element if there is no empty line between
      the two comments.
      
      This test case show-cases the problem without having an implementation,
      yet.
      98936d06
  4. 10 Jan, 2021 1 commit
  5. 11 Nov, 2020 1 commit
  6. 08 Oct, 2020 1 commit
  7. 20 Sep, 2020 2 commits
  8. 09 Dec, 2019 1 commit
  9. 02 Dec, 2019 2 commits
  10. 28 Apr, 2019 1 commit
  11. 15 Apr, 2019 2 commits
  12. 14 Apr, 2019 6 commits
  13. 01 Dec, 2018 6 commits
  14. 18 Nov, 2018 2 commits
  15. 17 Nov, 2018 3 commits
  16. 11 Nov, 2018 1 commit
  17. 10 Nov, 2018 1 commit
  18. 06 Nov, 2018 2 commits
  19. 28 Oct, 2018 1 commit