1. 13 Mar, 2020 2 commits
    • Damien Tardy-Panis's avatar
      Allow subsection in preamble · baaebab7
      Damien Tardy-Panis authored
      Subsections are useful in case on name conflicts within a section.
      Typically man pages in distributions are using the 'p' subsection.
      They are also needed for the man pages of wrapper commands for example.
    • Damien Tardy-Panis's avatar
      Section needs to be explicitly defined · 656484e0
      Damien Tardy-Panis authored
      The absence of value between the section parentheses resulted in the
      section being 0 (header files), which is unlikely to be the one wanted
  2. 14 Feb, 2020 1 commit
  3. 20 Jan, 2020 2 commits
    • Raymond Pasco's avatar
      Fix `date --date` dependent test · f092f83b
      Raymond Pasco authored
      This test depends on a nonportable option for date(1). I am not sure
      that there is a good portable way to do this, so I just directly
      included the seconds since epoch that it would have computed. We're
      testing scdoc, not testing the local system's date command.
    • Raymond Pasco's avatar
      Fix timezone-dependent tests · 2901e79e
      Raymond Pasco authored
      These tests fail depending on timezone and current time if the date
      differs from the UTC date. This was remedied by using `date -u`, which
      is POSIX.
  4. 05 Jan, 2020 1 commit
  5. 18 Oct, 2019 1 commit
  6. 11 Sep, 2019 3 commits
  7. 16 Aug, 2019 1 commit
    • Zandr Martin's avatar
      fix bug preventing indented literal blocks · 5c782cda
      Zandr Martin authored
      This commit fixes a bug in parsing indented literal blocks. For example:
      	This is a block
      Prior to this commit, this would fail, but with an unexpected error
      message: "Error at 4:3: Cannot deindent in literal block". The
      indentation was being parsed at every character, so the parser saw the
      `T`, then parsed indentation again. The indentation was 0 (since there
      were no tab characters between the `T` and the `h`), but the block
      started with an indentation level of 1. 0 < 1, so this would be
      considered a dedent, which is not allowed.
      This commit introduces a new local variable, `check_indent`, which
      controls whether the parser tries to parse indentation or not; now
      indentation is only parsed when the last character was a newline. From
      my testing this seems to fix the issue - indented literal blocks are now
  8. 07 Aug, 2019 1 commit
  9. 10 Jul, 2019 3 commits
  10. 08 Jul, 2019 1 commit
  11. 07 Jul, 2019 3 commits
  12. 06 Jul, 2019 1 commit
  13. 04 Mar, 2019 2 commits
  14. 03 Mar, 2019 2 commits
  15. 02 Mar, 2019 1 commit
    • Jan Beich's avatar
      Drop install -D flag after acb0f64a · 2fc5114f
      Jan Beich authored
      On DragonFly, FreeBSD and NetBSD -Dm644 treats m644 as destdir, so
      install(1) keeps executable bit on manpages and pkg-config file.
      $ make -s install DESTDIR=/tmp/foo
      $ find /tmp/foo -type f -ls | awk '{ print $3, $NF }'
      -rwxr-xr-x /tmp/foo/usr/local/bin/scdoc
      -rwxr-xr-x /tmp/foo/usr/local/lib/pkgconfig/scdoc.pc
      -rwxr-xr-x /tmp/foo/usr/local/share/man/man5/scdoc.5
      -rwxr-xr-x /tmp/foo/usr/local/share/man/man1/scdoc.1
  16. 01 Mar, 2019 4 commits
  17. 28 Feb, 2019 2 commits
    • Drew DeVault's avatar
      Update version to 1.9.1 · a98e24ac
      Drew DeVault authored
    • Carlo Abelli's avatar
      fix underscores in underlined words · f1db2e16
      Carlo Abelli authored
      Currently, the first underscore encountered while underlining ends
      underlining. As a result, underscores in underlined words are not
      ignored e.g. _hello_world_ does not parse correctly.
      This checks the next character to see if it is still in a word before
      ending underlining.
  18. 24 Feb, 2019 1 commit
  19. 23 Feb, 2019 1 commit
  20. 12 Feb, 2019 1 commit
    • Birger Schacht's avatar
      Replace localtime with gmtime · 74ab6566
      Birger Schacht authored
      The localtime() function gives the time relative to the users time.
      This makes the generated manpage non reproducible. gmtime() gives
      the time as UTC.
  21. 07 Feb, 2019 1 commit
  22. 05 Feb, 2019 1 commit
  23. 30 Jan, 2019 2 commits
  24. 27 Jan, 2019 2 commits