Commit Graph

400 Commits

Author SHA1 Message Date
William Knauss
a6f8c708f9 1 2014-06-05 01:51:46 -04:00
cff692d976 Fix issue when CSV data does not end with a newline
If CSV data didn't end with "\n", "\r", or "\r\n" the last line of the
CSV would be ignored, as the parser wouldn't trigger end of row logic
for the last row.

This change forces the parser to process the end of the CSV data as it's
own character (false), and deals with end of data just like it treats
end of row.
2014-06-05 01:56:14 +01:00
William Knauss
c3c13258f3 Merge pull request #4 from parsecsv/master
U2D
2014-06-04 14:38:48 -04:00
9cf0ba9f97 Merge pull request #23 from williamknauss/readme-update
Readme update
2014-06-04 18:56:01 +01:00
William Knauss
18eb8a8f11 Updated readme with installation instructions 2014-06-04 13:52:13 -04:00
William Knauss
44a5507e10 Updated Composer 2014-06-04 13:48:14 -04:00
William Knauss
3ffcd731ee Merge pull request #3 from parsecsv/master
UPD
2014-06-04 03:44:53 -04:00
William Knauss
3545dbeb00 Merge pull request #20 from Norcoen/master
Force enclosing of all columns with optional switch
2014-06-03 14:09:46 -04:00
Norcoen
0235c24b36 Pass delimiter from unparse function to _enclose_value function, revert
changes from previous approach
2014-06-03 15:52:36 +02:00
Norcoen
33b1a0d196 Fix local/global delimiter bug between output() and _enclose_value() by
setting global delimiter to local if not null
2014-06-03 15:02:49 +02:00
Norcoen
f3c70ad17c Fix local/global delimiter bug between output() and _enclose_value() by
setting global delimiter to local if not null
2014-06-03 15:01:04 +02:00
Norcoen
98a146bd38 Force enclosing of all columns with optional switch 2014-06-03 14:45:07 +02:00
William Knauss
0486a4bf3e Merge pull request #18 from parsecsv/williamknauss-new-issue-14
williamknauss new issue 14
0.4.5
2014-06-02 20:37:04 -04:00
William Knauss
90042a553c ugh 2014-06-02 20:35:20 -04:00
William Knauss
73d7acb493 fix conflicts 2014-06-02 20:34:08 -04:00
William Knauss
2ed5801b33 Merge branch 'williamknauss-new-issue-14' 2014-06-02 20:30:38 -04:00
William Knauss
7b6692d7fd @norcoen caching request 2014-06-02 20:13:31 -04:00
William Knauss
01d25e0fdd Tabs to spaces 2014-06-02 20:09:20 -04:00
William Knauss
c64a4bffd7 Merge pull request #12 from williamknauss/tab_to_spaces
Fix #11
2014-05-17 12:51:24 -04:00
William Knauss
2d7f18ebc9 converted tabs to spaces 2014-05-17 12:47:45 -04:00
William Knauss
ee5b34e1c1 Merge branch 'master' of https://github.com/parsecsv/parsecsv-for-php 2014-05-17 12:43:00 -04:00
William Knauss
44929708ca Merge pull request #10 from parsecsv/fix-author-name-spelling
Fix typo in author name
2014-05-17 12:41:36 -04:00
c55ab2ec2c Fix typo in author's last name 2014-05-17 10:50:01 +01:00
William Knauss
6784c614ea Merge pull request #2 from parsecsv/master
Fork Update
2014-05-16 19:49:55 -04:00
William Knauss
5a70a7bffa Merge pull request #9 from williamknauss/composer-support
Composer support
2014-05-16 19:37:46 -04:00
William Knauss
c1a6946815 added gitignore 2014-05-16 19:33:15 -04:00
William Knauss
dbf415bd92 Added Composer.json 2014-05-16 19:30:59 -04:00
William Knauss
c915579955 Merge pull request #8 from williamknauss/readme_update-1
Readme update
2014-05-16 17:36:59 -04:00
William Knauss
55aaa1eb17 Grammer Fix 2014-05-16 17:36:14 -04:00
William Knauss
ab069e5d2d Updated readme 2014-05-16 17:35:08 -04:00
William Knauss
7e7aeba761 Merge pull request #6 from williamknauss/issue-5
Issue 5
2014-05-14 10:29:48 -04:00
William Knauss
a3e3582222 Patch for #5 2014-05-14 10:26:32 -04:00
William Knauss
fff3e73f08 Merge pull request #1 from parsecsv/master
U2D
2014-05-14 10:20:18 -04:00
f59af53183 Add contributors section to readme 2014-05-14 14:50:10 +01:00
629b0c9fd5 Indent header comment start/end strings 2014-05-14 10:18:02 +01:00
698a570a11 Add license header 2014-05-14 10:12:45 +01:00
2aca09e05d Add URL to PHP class which inspired parseCSV's creation 2014-05-14 09:26:21 +01:00
7a9fc101f8 Update copyright year in readme and license file 2014-05-14 09:24:27 +01:00
a1564a9a99 Correct project URL, and update copyright 2014-05-14 09:19:42 +01:00
4b280885f4 Merge pull request #1 from williamknauss/master
Basic Cleanup
2014-05-14 09:14:26 +01:00
William Knauss
88ad81f061 removed end of php line
its not really needed
2014-05-13 21:26:06 -04:00
William Knauss
7e46cc193a line feed should only be \r 2014-05-13 21:23:53 -04:00
William Knauss
a274874084 documenation changes 2014-05-13 21:23:23 -04:00
William Knauss
dea1b453eb _validate_row_conditions readability 2014-05-13 21:21:58 -04:00
William Knauss
9a8bd77eb8 forgot access flag 2014-05-13 21:21:04 -04:00
William Knauss
89a2817765 _validate_row_condition readability 2014-05-13 21:19:44 -04:00
William Knauss
75d7d51a9c _validate_offset readability 2014-05-13 21:05:53 -04:00
William Knauss
9b6dbd9849 _enclose_value readability 2014-05-13 21:05:11 -04:00
William Knauss
61d1c27eac _check_data readability 2014-05-13 21:04:25 -04:00
William Knauss
ecbb0736f1 more changes 2014-05-13 18:56:26 -04:00