Commit graph

35 commits

Author SHA1 Message Date
Robert BuRnEr Schadek
2896cec3e9 attributes and two small bug fixes for csv
some more

some reverts

nitpick

csv love update

forgot some

added one nogc

some more
2014-08-13 17:29:27 +02:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
Daniel Murphy
1818d190b5 More implicit array to bool 2013-12-15 19:55:34 +11:00
Hackerpilot
ae1dcaa3e1 Removed empty declarations. Converted more C-style array declarations to D-style. Removed trailing whitespace 2013-07-13 19:34:37 +00:00
k-hara
b66012ef4e fix Issue 8908 - Collapse of std.csv by the specifications change of std.conv.parse 2012-12-18 09:11:57 +09:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
k-hara
119f7f7424 Revert all const qualifier of class member functions that inherited from Object.
This change is necessary to avoid breaking existing codes which inherit them in user code.
2012-07-31 10:05:59 +09:00
k-hara
d6ffbd1328 Add const attribute more strictly 2012-07-11 01:02:59 +09:00
Jesse Phillips
53fb29b7f7 Provide both of Exceptions constructors. 2012-01-29 21:50:25 -08:00
Jesse Phillips
3891c392bb Updated documentation for throwing on csv length mismatch 2012-01-22 10:52:06 -08:00
Jesse Phillips
ffac776388 Update with Johnathon's suggestions 2012-01-22 10:47:27 -08:00
Jesse Phillips
eb7a453cb1 Update unittest for consistant row length. 2012-01-15 18:26:05 -08:00
Jesse Phillips
8109ff353b Throw exceptions on row length mismatches. 2012-01-15 18:08:58 -08:00
Jesse Phillips
27d0ff8653 Modified internal handling of input for csv.
Using a struct to hold the input and row/col info.
Added unittest for mismatch row length when ignoring.
2012-01-15 14:28:22 -08:00
Jesse Phillips
889c25df38 Exceptions constructed with file and line std.csv 2012-01-12 19:20:33 -08:00
Jesse Phillips
449076d7c2 Place brackets on own line std.csv 2012-01-12 19:12:57 -08:00
Jesse Phillips
dfb28f81d6 Activate unittest in std.csv 2012-01-12 19:12:00 -08:00
Jesse Phillips
eac7ce9997 Fix overlapping when using struct with csvReader 2012-01-11 20:06:14 -08:00
Jesse Phillips
7f9992bbcf Added documentation of throws to csvNextToken 2012-01-11 18:52:39 -08:00
Jesse Phillips
6640d4de85 Allow selective heading to work 2012-01-11 18:39:28 -08:00
Jesse Phillips
c5c1059448 Updated std.csv for -property 2011-12-18 11:26:39 -08:00
Jesse Phillips
cf535c70be Use override for toString in std.csv 2011-12-04 09:40:48 -08:00
Jesse Phillips
bf7c6ffdd2 Updated documentation and improved exceptions
No longer documenting Records and Record.
Exceptions derive from CsvException.
2011-12-03 20:26:12 -08:00
Jesse Phillips
1e4a23917b csv paser updates
Only excepts ranges of dchar
Appender users dchar
csvNextToken takes an output range of dchar
Heading renamed to Header
2011-11-10 22:34:14 -08:00
Jesse Phillips
1acbd9337b Added input range unittest, updated docs 2011-11-09 21:06:56 -08:00
Jesse Phillips
ee0b650bbf Added support for associative arrays in std.csv 2011-11-06 15:44:54 -08:00
Jesse Phillips
86fc75346d Created CSVException for holding row and column 2011-11-06 13:31:58 -08:00
Jesse Phillips
8f8ba9ae0d Small change to csv API
Heading is not any InputRange of string.
csvReader will take delimiters instead of Malformed.
2011-11-05 16:15:13 -07:00
Jesse Phillips
f6f5ce9d89 Expended CSV documentation. 2011-11-05 16:01:32 -07:00
Jesse Phillips
5fddab421f Improved documentation for std.csv. 2011-10-29 14:00:11 -07:00
Jesse Phillips
4cd7291138 Fixed issue when parsing CSV ignoring errors. 2011-10-29 13:55:40 -07:00
Jesse Phillips
d91d3a3c93 Moving Malformed enum to top. 2011-10-27 21:35:52 -07:00
Jesse Phillips
6c59edaa8a Updated exceptions improved docs. 2011-10-27 20:58:08 -07:00
Jesse Phillips
c056616bd7 Updated constraints.
Removed two csvText functions. These failed the contracts, but I also
would prefer RecordList be used for custom delimiters.
2011-08-13 10:34:42 -07:00
Jesse Phillips
f306e0140d Adding std.csv to Phobos 2011-08-13 10:05:04 -07:00