1. 21 Apr, 2019 2 commits
    • Charles Ferguson's avatar
      Lint: Fix perlcritic. · 8ffa0c6f
      Charles Ferguson authored
      Small change to use `x->new` instead `new x`.
      The $| usage has been marked as 'no critic' as this is explicitly
      intended here.
      8ffa0c6f
    • Charles Ferguson's avatar
      Add CI configuration. · 313df8cf
      Charles Ferguson authored
      The configuration has been added so that we can do the linting of the
      code in a sensible way.
      313df8cf
  2. 05 May, 2018 1 commit
  3. 21 Jan, 2018 8 commits
  4. 20 Jan, 2018 5 commits
    • Charles Ferguson's avatar
      Fix for the flushing of data failing to clear the queud content. · 1311758b
      Charles Ferguson authored
      The flush would leave the queued content present, so we would get a
      repeated string output as the next output happened. We now clear
      it.
      1311758b
    • Charles Ferguson's avatar
      Address failure to read utf-8 input properly. · a946b1b6
      Charles Ferguson authored
      The sysread() function does not really work on UTF-8 encodings for the
      file handle. It could read a partial sequence and cause badness. Instead
      we should read raw input and then decode once we get a full line input.
      This should make it a lot more reliable except if the input is not valid
      utf8. Not sure what happens then.
      a946b1b6
    • Charles Ferguson's avatar
      Add CR handling for output. · e5d5ae32
      Charles Ferguson authored
      When a CR is encountered, we're still in the same line, but we want
      to be able to output the surround on all the output. This means that
      we need to process the CR output separately before falling back into
      the regular inline/multi-line error output handler.
      
      This has been implemented here and appear (on tests with fdupes, and
      simple error output) to work relatively well, even when the delay is
      present.
      e5d5ae32
    • Charles Ferguson's avatar
      Added a very simple README file. · 6d2dd53a
      Charles Ferguson authored
      6d2dd53a
    • Charles Ferguson's avatar
      Initial import of the stream colouring tool. · e48b49b6
      Charles Ferguson authored
      The colouring tool will colour a stream of input and write it to
      output, prefixing lines with a [ style marker, and inline output
      with <> surrounding it.
      
      It's really just a proof of concept!
      e48b49b6