Commit Graph

1148 Commits

Author SHA1 Message Date
Gary D. Gregory c609fb39e6 [CSV-131] Save positions of records to enable random access. 2nd commit for this new feature. Let the Lexer make the underlying reader's character position available through a new package private method.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1625456 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 03:02:22 +00:00
Gary D. Gregory 9e4e3dc379 [CSV-131] Save positions of records to enable random access. First commit for this new feature. Let the ExtendedBufferedReader track how many characters it has read so far.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1625455 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 02:57:46 +00:00
Brent Worden 2785c355aa revert tostring implementation
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624273 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 12:56:17 +00:00
Brent Worden 704e1679d2 CSV-124 replace string concatenation with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624061 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 17:28:26 +00:00
Brent Worden b1668b41e5 CSV-124 update changes
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624050 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 16:08:46 +00:00
Brent Worden 69cdb8a227 CSV-124 apply provided patch and update unit tests
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1624048 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 16:05:45 +00:00
Gary D. Gregory 581279310e [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...). Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623987 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:50:47 +00:00
Gary D. Gregory e650b9d699 [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...). Adjust test for style.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623985 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:49:53 +00:00
Gary D. Gregory a4f737108b [CSV-130] CSVFormat#withHeader doesn't work well with #printComment, add withHeaderComments(String...)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623984 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 12:48:02 +00:00
Gary D. Gregory 807ddd164b [CSV-132] Incorrect Javadoc referencing org.apache.commons.csv.CSVFormat withQuote()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1623971 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 11:33:46 +00:00
Gary D. Gregory cebbcc8b3c Revert history in the release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1621154 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 15:38:33 +00:00
Gary D. Gregory fe514da465 [CSV-129] Add CSVFormat#with 0-arg methods matching boolean arg methods
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1621004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 00:28:02 +00:00
Gary D. Gregory c81ad0328e [CSV-128] CSVFormat.EXCEL should ignore empty header names
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620902 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 14:12:40 +00:00
Gary D. Gregory bc504117fc Keep a history of release notes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620901 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 14:07:52 +00:00
Gary D. Gregory 8867c0591f Fix compiler warning.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620897 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:46:59 +00:00
Gary D. Gregory 2a318dcf33 Oops, back out one of the previous changes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620896 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:46:31 +00:00
Gary D. Gregory e2221de62a Fix compiler warnings.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1620893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 13:41:31 +00:00
Benedikt Ritter 7399265250 Correct component name
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1619033 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 05:36:15 +00:00
Benedikt Ritter b892a78993 Update mailing list site
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618098 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 05:32:29 +00:00
Benedikt Ritter 8ec4c9b85d Add README.md with some information to make the repo look nicer on github
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618046 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 20:37:11 +00:00
Benedikt Ritter db622ffd73 Configure site build to exclude JavaDocs archive
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618039 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 20:00:38 +00:00
Benedikt Ritter 53d8b4edc6 Document release 1.0
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618032 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 19:52:14 +00:00
Benedikt Ritter d7c9dea912 Bump development version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1618031 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 19:51:49 +00:00
Benedikt Ritter 91f72b2f2e Correct Java Language requirement in RELEASE-NOTES
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617098 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 11:41:20 +00:00
Benedikt Ritter f08b5d61b0 Update to latest version of h2 in-memory database
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617084 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 10:21:32 +00:00
Benedikt Ritter 040bbefb2c project tag has to be on a single line for maven release plugin to work
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617081 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:56:49 +00:00
Benedikt Ritter f0b4fc5109 Fix JavaDoc problems
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617076 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:23:01 +00:00
Benedikt Ritter 3c7be9458f Override jacoco version from commons parent to make the build work with java 8
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617074 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:11:58 +00:00
Benedikt Ritter 3eec388ea5 Add missing bugfix to RELEASE-NOTES
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617072 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 09:01:14 +00:00
Benedikt Ritter 07e215eef5 Add Java requirement to download page
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617071 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:59:44 +00:00
Benedikt Ritter e729fdff4d Remove commented out code and add TODO for obscure code
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617070 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:54:34 +00:00
Benedikt Ritter d69e911aea Remove import that is only used in JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617069 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:53:42 +00:00
Benedikt Ritter a6a92598de Make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617066 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:50:05 +00:00
Benedikt Ritter af2c045d83 Update report plugins to latest version
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1617064 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 08:44:55 +00:00
Benedikt Ritter 67d150adc8 Restore commentMarker property which was overridden during refactoring
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612390 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 19:42:40 +00:00
Gary D. Gregory f9a3162037 Use "Character" as the postfix is ivar names. Use the method name pattern isFooSet() for ivar "foo" for methods that test foo for null (foo != null).
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612352 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 17:18:20 +00:00
Benedikt Ritter a72c71f5cc Consistently rename Quote/QuotePolicy to QuoteMode
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612344 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:32:08 +00:00
Benedikt Ritter 4695d73e3b Prefix everything that is a pure getter with "get" as proposed by Gary Gregory
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612341 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:28:07 +00:00
Benedikt Ritter aa0762d538 Rename the IgnoreEmptyHeaders property to AllowMissingColumnNames
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612337 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 16:23:00 +00:00
Gary D. Gregory 62345245e9 Use the more modern, compact, and flexible Javadoc "{@code ...}" instead of the HTML "<tt>...</tt>".
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1612019 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 04:37:40 +00:00
Benedikt Ritter 7d8821225e CSV-125: No longer works with Java 6. Changing source level back to Java 6
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1611389 13f79535-47bb-0310-9956-ffa450edef68
2014-07-17 15:23:10 +00:00
Gary D. Gregory aff3891701 Update test dependencies to latest (some depend on Java 6), which is OK since we depend on Java 7 now.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610906 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 03:11:45 +00:00
Benedikt Ritter ed65e66f69 Use StandardCharsets class in user guide code examples, since it is more save than passing a string
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610786 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 18:02:02 +00:00
Benedikt Ritter f4e1197bdc Use try-with-resource in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610781 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:58:49 +00:00
Benedikt Ritter d6de8062b5 Revert Java 7 diamond notation since JavaNCSS can't handle it
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610772 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:52:53 +00:00
Benedikt Ritter 5e60966b56 Use 4 spaces indentation in examples
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610770 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:46:07 +00:00
Benedikt Ritter 8fdcb3da11 Remove needless method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610769 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:42:06 +00:00
Benedikt Ritter 4623756644 Elaborate on the difference between line number and record number
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610768 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:33:50 +00:00
Benedikt Ritter 4428b575e8 Document format of CSVPrinter.toString
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610766 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:30:18 +00:00
Benedikt Ritter 4144674588 Clearify the meaning of isConsistent
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1610761 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 17:17:04 +00:00