Commits on Feb 26, 2018
  1. Working on escaping to fix regressions found in pgloader

    bobbysmith007 committed Feb 26, 2018
     * allow quote to be nil and just read quotes directly as chars
     * there were some bugs with reading two quotes as the escape
     * added tests for each case
    re AccelerationNet/cl-csv#27
Commits on Feb 20, 2018
Commits on Feb 19, 2018
Commits on Feb 7, 2018
Commits on Jan 27, 2018
  1. ACL compatibility patch

    bobbysmith007 committed Jan 27, 2018
     * next-iteration inside of a handler/restart was not having its
       variable *loop-step* bound correctly, causing compilation errors
    This patch while a little dumb, bypasses that error by doing
    everything in a function that returns symbol values for different
Commits on Jan 25, 2018
  1. Fix test package typos

    bobbysmith007 committed Jan 25, 2018
  2. Updated iterate clauses, made use of csv-reader uniform

    bobbysmith007 committed Jan 25, 2018
     * csv-reader was dispatch table in some places
  3. Added test for multi char separators and newlines

    bobbysmith007 committed Jan 25, 2018
    git hub issue AccelerationNet/cl-csv:#24
  4. Better version of backup delimiter

    bobbysmith007 committed Jan 25, 2018
     * needs test
  5. Fixing reload errors

    bobbysmith007 committed Jan 25, 2018
     * backing up past delimiters was running afoul of whitespace trimming
  6. Adding data-map-fn

    bobbysmith007 committed Jan 25, 2018
     * More documentation
  7. Make the new parser the default

    bobbysmith007 committed Jan 25, 2018
     * store the old one away for posterity?
     * added the rest of the old public interface to the new parser
Commits on Jan 24, 2018
  1. Working on flexible / slower parser

    bobbysmith007 committed Jan 24, 2018
     * hopefully can be used without understanding the csv *too-much*
     * should support mulitple line endings without more work
     * should support multicharacter separators
Commits on Mar 29, 2017
  1. Fixed spelling error

    bobbysmith007 committed Mar 29, 2017
Commits on Mar 27, 2017
Commits on Jan 4, 2017
Commits on May 26, 2015
Commits on Jan 15, 2015
  1. added bug18 test file

    bobbysmith007 committed Jan 15, 2015
Commits on Jan 14, 2015
  1. fix bugs in csv parser related to empty lines in the input.

    bobbysmith007 committed Jan 14, 2015
    The solution was to account for the empty lines in handle-char instead
    of reinserting the same character and never advancing.  Unfortunately
    I needed to add a block in order to make the return value correct,
    which makes the relatively simple diff hard to read.
    Readline if needed changed from `(= i llen)` to `(>= i llen)` which
    prevents heap overflows if our logic is otherwise wrong.
    I added this cond to handle-character to prevent it from reinserting the
    previous character in the case of empty lines of input.
    ;; read an empty line, next iteration
       (member state '(:collecting :collecting-quoted))
       (= i llen 0))
    re AccelerationNet/cl-csv#18
Commits on Jul 22, 2014
  1. added missing test file

    bobbysmith007 committed Jul 22, 2014
  2. Added `*escape-mode*` to control how the escaping process works

    bobbysmith007 committed Jul 22, 2014
    the options are:
       :quote which replaces the entire escape sequence with a quote.
       :following reads the character after the escape sequence verbatim
    fix AccelerationNet/cl-csv#17
Commits on Feb 10, 2014
Commits on Feb 4, 2014
Commits on Feb 3, 2014
  1. Use read-line if we can, otherwise use read-into-buffer-until

    bobbysmith007 committed Feb 3, 2014
     * Handle newlines that span buffers
     * removed sbcl specific fast-read-until (too complex and used private
Commits on Jan 31, 2014
  1. merged master changes

    bobbysmith007 committed Jan 31, 2014
Commits on Jan 29, 2014
  1. Better handling of early EOF signals

    bobbysmith007 committed Jan 29, 2014
     * dont handle it if the parser has not started (eg: EOF on first read)
     * if its a parse error signal such correctly with a finish-item restart
    github issue: Fix #14
  2. type optimizations

    bobbysmith007 committed Jan 29, 2014
Commits on Jan 16, 2014
  1. added some declarations that bring fast-read-into-buffer-until inline

    bobbysmith007 committed Jan 16, 2014
    with sbcls own read-line function
    re #13
    re Programming:#310
  2. tried copying SBCLs "fast" implentation of readline (which is a branch

    bobbysmith007 committed Jan 16, 2014
    inside of READLINE)
    This seems to be using rewindable streams and buffers to make readline
    faster than read until, I was hoping that by using this implementation
    I could see the same performance, but for whatever reason this seems
    twice as slow :/
    re #13
    Programming:#310 (1.25)