Commit Graph

25 Commits

Author SHA1 Message Date
Shakil Thakur
705d3a589a Performance improvements and new release (#20)
* massive speedup by removing pcall

* updated readme with benchmarks and getting ready for another release
2018-05-30 22:32:28 -05:00
Shakil Thakur
8bd8fbe065 returned headers should now be correct, BOM fix for headerless files and added dynamic_features_spec (#19) 2018-05-29 19:31:28 -05:00
Shakil Thakur
2dff1f2764 updated version numbers (#18) 2018-05-27 12:21:44 -05:00
Shakil Thakur
14b0dded42 better quote handling (#17)
* fixed quote escape bug

* made findClosingQuote more consistent and added unit tests

* fixed bug with findClosingQuote

* minor speedup of findClosingQuote for vanilla lua
2018-05-27 11:26:48 -05:00
Shakil Thakur
ca292adee0 fixed bug with no header and no newline at end (#15) 2018-05-26 20:44:53 -05:00
Shakil Thakur
54d0817376 Merge pull request #11 from FourierTransformer/os9-line-endings-fix
Mac OS9 line endings fix and BOM removal
2017-12-01 22:56:10 -06:00
FourierTransformer
d2ddda79f7 will now strip out BOM 2017-11-30 22:46:10 -06:00
FourierTransformer
6c820e03a1 version bump 2017-11-30 22:02:49 -06:00
FourierTransformer
2ad3fb7be9 can now handle os 9 line endings 2017-11-30 21:58:36 -06:00
Chris Smith
62b1c1bd8f ftcsv.parse also returns table of column headers
output, headers = ftcsv.parse(...) -- headers = { 'Column 1', 'Column 2', ... }
2017-11-02 10:28:14 +00:00
FourierTransformer
a94461c347 fixed bug where quote existed in non-quoted field 2016-11-12 17:44:41 -06:00
FourierTransformer
20f4dd306e better error handling with unit tests! 2016-11-06 11:36:24 -06:00
FourierTransformer
e218fb0a75 updated version and added some more unit tests 2016-10-20 22:56:26 -05:00
Robert M. Münch
2e0d8a6284 Delmiter was not taken into account for Headers
Headers were always separated with "," char even when other delimiter was given.
2016-10-20 20:20:12 +02:00
FourierTransformer
ee24dcd9a6 code refactor, can now modify headers via function, and slight performance increase 2016-04-02 15:42:32 -05:00
FourierTransformer
f2083dd38b localizing some commonly used funcs 2016-04-02 08:42:11 -05:00
FourierTransformer
4b68b9f097 release 1.0.3 2016-03-29 20:20:37 -05:00
cch
c1a4012027 Convert value to string before escape it
Originall ftcsv will be failed when encoding a number field content
2016-03-29 14:20:23 +08:00
FourierTransformer
db9941aee8 code cleanup and release version 2016-03-19 14:04:17 -05:00
FourierTransformer
e34c08b772 major vanilla lua speedups 2016-03-19 13:27:47 -05:00
FourierTransformer
c58bd79a24 major non-jit lua speedup 2016-03-19 01:17:32 -05:00
FourierTransformer
864e3e6a1a added support for lua 5.1 and 5.3 and have setup .travis.yml 2016-03-14 20:12:45 -05:00
FourierTransformer
ddb654ebe1 First Release :shipit: 2016-03-13 21:47:57 -05:00
FourierTransformer
d24a00c290 added more unit tests and finalized api 2016-03-13 00:33:31 -06:00
FourierTransformer
572997ae12 adding ftcsv and test scripts 2016-03-09 06:37:25 -06:00