| 1 |
2014-01-19 Dave Beckett <[email protected]> |
| 2 |
|
| 3 |
* Update dist rules to package svtest and autostuff |
| 4 |
|
| 5 |
* Do not build example by default |
| 6 |
|
| 7 |
* (sv_parse_line): Fix double quoted quotes |
| 8 |
Use a lookahead for doubling quotes |
| 9 |
|
| 10 |
* Fix quote tests 12, 13 and 14 |
| 11 |
|
| 12 |
* svtest: Add optional test index arg to run just one |
| 13 |
(svtest_run_test): Pulled out of main |
| 14 |
|
| 15 |
* GNU configureize |
| 16 |
|
| 17 |
2014-01-17 Dave Beckett <[email protected]> |
| 18 |
|
| 19 |
* (sv_set_option_vararg): sv_line_callback cast for C++ |
| 20 |
|
| 21 |
2014-01-15 Dave Beckett <[email protected]> |
| 22 |
|
| 23 |
* test missing final newlines on header line, data lines |
| 24 |
|
| 25 |
* Call sv_parse_chunk() a second time for final line processing |
| 26 |
|
| 27 |
* (sv_parse_chunk_line): handle being called with/without final NL |
| 28 |
|
| 29 |
* Call sv_parse_chunk at end of input for final line |
| 30 |
|
| 31 |
* (sv_parse_chunk): Parse final line only if buffer is not empty. |
| 32 |
|
| 33 |
* (sv_parse_chunk): Given NULL buffer or 0 length, handle final line |
| 34 |
|
| 35 |
* Move fields_count from sv_parse_chunk_line arg |
| 36 |
(sv_parse_chunk_line): Lose fields_count_p arg; make it a local. |
| 37 |
|
| 38 |
(sv_parse_chunk): Lose var and remove it from call |
| 39 |
|
| 40 |
* (sv_parse_chunk_line): Added pulled out of sv_parse_chunk |
| 41 |
|
| 42 |
* Give all the structs and vars svtest_ prefix names |
| 43 |
|
| 44 |
* remove junk in test data |
| 45 |
|
| 46 |
* Use line callback to emit lines seen before parsing |
| 47 |
|
| 48 |
* Move line_callback to sv_parse_chunk so it is done once. |
| 49 |
|
| 50 |
* fix |
| 51 |
|
| 52 |
* Update GNUMakefile for newer code |
| 53 |
|
| 54 |
2014-01-12 Dave Beckett <[email protected]> |
| 55 |
|
| 56 |
* Clean EXTRA_PROGRAMS |
| 57 |
|
| 58 |
* Add sv2c to convert data to C (approx) |
| 59 |
|
| 60 |
* Add tests from test1.csv |
| 61 |
|
| 62 |
* Use my_sv_line_callback() to save line for better error messages |
| 63 |
|
| 64 |
* Add SV_OPTION_LINE_CALLBACK to set a callback per line |
| 65 |
|
| 66 |
* less debug |
| 67 |
|
| 68 |
* script |
| 69 |
|
| 70 |
* Fix make |
| 71 |
|
| 72 |
* Travis CI |
| 73 |
|
| 74 |
2014-01-11 Dave Beckett <[email protected]> |
| 75 |
|
| 76 |
* (sv_init_fields): malloc corect size array [clang] |
| 77 |
|
| 78 |
* Add SV_OPTION_QUOTE_CHAR |
| 79 |
|
| 80 |
* Add SV_OPTION_QUOTE_CHAR to set quote char (default is ") |
| 81 |
|
| 82 |
* Add SV_OPTION_STRIP_WHITESPACE whitespace removal test |
| 83 |
|
| 84 |
* Terminate after whitespace removal. |
| 85 |
|
| 86 |
* cast |
| 87 |
|
| 88 |
* debug |
| 89 |
|
| 90 |
* Add check target |
| 91 |
|
| 92 |
* Add test suite |
| 93 |
|
| 94 |
* Add SV_OPTION_STRIP_WHITESPACE to strip whitespace around fields |
| 95 |
|
| 96 |
2013-12-03 Dave Beckett <[email protected]> |
| 97 |
|
| 98 |
* README into markdown |
| 99 |
|
| 100 |
2013-12-01 Dave Beckett <[email protected]> |
| 101 |
|
| 102 |
* Now libsv repo |
| 103 |
|
| 104 |
2013-11-29 Dave Beckett <[email protected]> |
| 105 |
|
| 106 |
* Add option to control quoting fields between separators |
| 107 |
sv_option_t gains SV_OPTION_QUOTED_FIELDS |
| 108 |
|
| 109 |
(sv_init): Set quoted fields default on. |
| 110 |
|
| 111 |
(sv_set_option_vararg): Parse SV_OPTION_QUOTED_FIELDS into internal |
| 112 |
flag. |
| 113 |
|
| 114 |
(sv_parse_line): Add conditions around doing quoting |
| 115 |
|
| 116 |
2013-11-27 Dave Beckett <[email protected]> |
| 117 |
|
| 118 |
* Make all status returns be sv_status_t |
| 119 |
(sv_set_option): Returns sv_status_t |
| 120 |
|
| 121 |
(sv_init_fields, sv_ensure_fields_buffer_size, sv_set_option_vararg): |
| 122 |
Internal functions return sv_status_t |
| 123 |
|
| 124 |
2013-11-26 Dave Beckett <[email protected]> |
| 125 |
|
| 126 |
* Support \n, \r, \r\n |
| 127 |
|
| 128 |
* Switch init flags to a call to sv_set_option |
| 129 |
sv_option_t: Added |
| 130 |
|
| 131 |
(sv_set_option): Added. |
| 132 |
|
| 133 |
* tests |
| 134 |
|
| 135 |
* \ |
| 136 |
|
| 137 |
* add test1.csv |
| 138 |
|
| 139 |
* Tidy status and returns |
| 140 |
|
| 141 |
* code style |
| 142 |
|
| 143 |
* Return sv_status_t from calls and use SV_STATUS_LINE_FIELDS |
| 144 |
|
| 145 |
* Add SV_STATUS_LINE_FIELDS |
| 146 |
|
| 147 |
* Guess sep |
| 148 |
|
| 149 |
* sv_parse_line label |
| 150 |
|
| 151 |
* Handle quoting more robustly. |
| 152 |
Tidy debug messages |
| 153 |
Error lines are now not fatal unless flag SV_FLAGS_BAD_DATA_ERROR |
| 154 |
is set. |
| 155 |
Rename skip -> skip_line |
| 156 |
|
| 157 |
* Add bad records count |
| 158 |
|
| 159 |
* Add flag SV_FLAGS_BAD_DATA_ERROR |
| 160 |
|
| 161 |
2013-11-25 Dave Beckett <[email protected]> |
| 162 |
|
| 163 |
* (sv_dump_buffer): Added for debugging |
| 164 |
|
| 165 |
* Start line numbers at 1 |
| 166 |
|
| 167 |
* Print filename |
| 168 |
|
| 169 |
* Fix empty line support and line numbers |
| 170 |
|
| 171 |
* debug output |
| 172 |
|
| 173 |
* header is not a record |
| 174 |
|
| 175 |
* zero.tsv with no data |
| 176 |
|
| 177 |
* Use and report headers seen |
| 178 |
|
| 179 |
* Improve header decoding |
| 180 |
Add header fields callback. |
| 181 |
Set header widths |
| 182 |
|
| 183 |
(sv_init): Gains header_callback arg |
| 184 |
|
| 185 |
* Add one.tsv |
| 186 |
|
| 187 |
2013-11-24 Dave Beckett <[email protected]> |
| 188 |
|
| 189 |
* (sv_init) check |
| 190 |
|
| 191 |
* Add field_sep arg to sv_init |
| 192 |
|
| 193 |
* sv |
| 194 |
|
| 195 |
* Add example |
| 196 |
|
| 197 |
* libsv |
| 198 |
|
| 199 |
* Cleanups |
| 200 |
|
| 201 |
* Use #if defined |
| 202 |
|
| 203 |
* No test yet |
| 204 |
|
| 205 |
* Remove Makefile from repo |
| 206 |
|
| 207 |
* Ignore more |
| 208 |
|
| 209 |
* GNUMakefile for old makefile |
| 210 |
|
| 211 |
* automake pieces |
| 212 |
|
| 213 |
2013-07-31 Dave Beckett <[email protected]> |
| 214 |
|
| 215 |
* More tests |
| 216 |
|
| 217 |
2009-05-29 Dave Beckett <[email protected]> |
| 218 |
|
| 219 |
* Add more quote test cases and make some corner cases work better |
| 220 |
|
| 221 |
* Ignore tarballs |
| 222 |
|
| 223 |
* Ignore stuff |
| 224 |
|
| 225 |
2009-05-28 Dave Beckett <[email protected]> |
| 226 |
|
| 227 |
* Added readme |
| 228 |
|
| 229 |
* Added makefile |
| 230 |
|
| 231 |
* Added package bits and pieces - copyright docs and header. Added |
| 232 |
example with test file |
| 233 |
|
| 234 |
2009-05-26 Dave Beckett <[email protected]> |
| 235 |
|
| 236 |
* h |
| 237 |
|
| 238 |
* *** empty log message *** |
| 239 |
|
| 240 |
* Update for TSV status |
| 241 |
|
| 242 |
* Added tsv_status for error results |
| 243 |
|
| 244 |
* casts for C++ |
| 245 |
|
| 246 |
* Use pointinpoly.h |
| 247 |
|
| 248 |
* Use pointinpoly.h |
| 249 |
|
| 250 |
* Added pointinpoly.h |
| 251 |
|
| 252 |
* Added header |
| 253 |
|
| 254 |
* unsigned/signed stuff |
| 255 |
|
| 256 |
2009-05-24 Dave Beckett <[email protected]> |
| 257 |
|
| 258 |
* fix warnings |
| 259 |
|
| 260 |
* Add lots of warnings |
| 261 |
|
| 262 |
* abort callback |
| 263 |
|
| 264 |
* end lines on error |
| 265 |
|
| 266 |
* (tsv_parse_chunk): Return 1 on failure from callback |
| 267 |
|
| 268 |
* style |
| 269 |
|
| 270 |
* print tags shorter |
| 271 |
|
| 272 |
* Use flickcurl_photo_as_page_uri |
| 273 |
|
| 274 |
2009-05-23 Dave Beckett <[email protected]> |
| 275 |
|
| 276 |
* Uses flickcurl API to search for photos by WOEID of countries |
| 277 |
seen and get at most 1 photo, print the tags |
| 278 |
|
| 279 |
2009-05-22 Dave Beckett <[email protected]> |
| 280 |
|
| 281 |
* Update to new init and use headers when verbose. |
| 282 |
|
| 283 |
* Added flags arg to tsv_init to allow saving of header. Added |
| 284 |
const char* tsv_get_header(tsv *t, unsigned int i, size_t |
| 285 |
*width_p); to return them. |
| 286 |
|
| 287 |
* use memmove for overlap copy |
| 288 |
|
| 289 |
* code depends on tsv |
| 290 |
|
| 291 |
* adjust tsv_init call |
| 292 |
|
| 293 |
* remove unused FH |
| 294 |
|
| 295 |
* remove unused FH |
| 296 |
|
| 297 |
* save a memcpy |
| 298 |
|
| 299 |
* Move fields_buffer to tsv structure and grow only when needed |
| 300 |
|
| 301 |
* Count records |
| 302 |
|
| 303 |
* Allocate fields, fields_widths for first line only, save lots of |
| 304 |
per-line malloc/frees |
| 305 |
|
| 306 |
* Add verbose flag |
| 307 |
|
| 308 |
* Added tsv parsing module and use with file |
| 309 |
|
| 310 |
* internal header |
| 311 |
|
| 312 |
* use internal.h |
| 313 |
|
| 314 |
* srcs |
| 315 |
|
| 316 |
* Initial import |