csvdocument: updated wiki pages and release dates (preparing to 0.4 release)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1629 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
vvzh
2011-05-10 14:19:56 +00:00
parent 0dd62c13c1
commit 8325b84349
3 changed files with 29 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{ {
CSV Parser and Document classes. CSV Parser and Document classes.
Version 0.4 2011-01-31 Version 0.4 2011-05-10
Copyright (C) 2010-2011 Vladimir Zhirov <vvzh.home@gmail.com> Copyright (C) 2010-2011 Vladimir Zhirov <vvzh.home@gmail.com>

View File

@@ -22,6 +22,7 @@ Vladimir Zhirov
=== Contributors === === Contributors ===
Luiz Americo Pereira Camara Luiz Americo Pereira Camara
Mattias Gaertner
=== License === === License ===
[http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL Modified] [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL LGPL] (same as FPC RTL and Lazarus LCL). [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL Modified] [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL LGPL] (same as FPC RTL and Lazarus LCL).
@@ -45,7 +46,7 @@ The library is a single Pascal source file that only depends on FPC RTL and FCL.
* performance improvements. * performance improvements.
* code cleanup. * code cleanup.
* added simple test suite. * added simple test suite.
==== Version 0.4 (2011-01-31) ==== ==== Version 0.4 (2011-05-10) ====
* replaced QuoteCSVString function with TCSVBuilder class. See example of its usage in TCSVDocument.SaveToStream. * replaced QuoteCSVString function with TCSVBuilder class. See example of its usage in TCSVDocument.SaveToStream.
* renamed TrimWhitespace to IgnoreOuterWhitespace (to be consistent with newly introduced QuoteOuterWhitespace property). * renamed TrimWhitespace to IgnoreOuterWhitespace (to be consistent with newly introduced QuoteOuterWhitespace property).
* support for equal column count throughout the document (required by RFC 4180). See new EqualColCountPerRow property. * support for equal column count throughout the document (required by RFC 4180). See new EqualColCountPerRow property.
@@ -54,21 +55,31 @@ The library is a single Pascal source file that only depends on FPC RTL and FCL.
* moved CSV format settings to TCSVHandler class (an ancestor of TCSVParser, TCSVBuilder and TCSVDocument). * moved CSV format settings to TCSVHandler class (an ancestor of TCSVParser, TCSVBuilder and TCSVDocument).
* updated test suite for RFC 4180 compliance. * updated test suite for RFC 4180 compliance.
* fixed minor annoyances in demo application. * fixed minor annoyances in demo application.
* optimizations, demo improvements and Lazarus package by Luiz Americo Pereira Camara. * included optimized ChangeLineEndings function by Mattias Gaertner.
* speed optimizations, demo improvements and Lazarus package by Luiz Americo Pereira Camara.
=== Status === === Status ===
Beta Beta
=== Download === === Download ===
The latest release is available at lazarus-ccr: The latest release is available at Lazarus-CCR:
http://sourceforge.net/projects/lazarus-ccr/files/CsvDocument/CsvDocument%200.4/csvdocument-0.4.zip/download http://sourceforge.net/projects/lazarus-ccr/files/CsvDocument/CsvDocument%200.4/csvdocument-0.4.zip/download
The download contains the library and demo application. The download contains the library and demo application.
You can get development version from Lazarus-CCR svn reporsitory:
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/csvdocument csvdocument
=== Installation and usage === === Installation and usage ===
Include unit CsvDocument in the ''uses'' section. Set path for it in project settings if needed. Include unit CsvDocument in the ''uses'' section. Set path for it in project settings if needed.
Alternatively:
1. Open "csvdocument_package.lpk" file from Lazarus IDE using menu: "Package -> Open package file (.lpk) ...".
2. Compile the package.
3. Open your project.
4. Add the package as a requirement to your project using Project Inspector.
=== Contact === === Contact ===

View File

@@ -22,6 +22,7 @@
=== Участники, внесшие вклад в развитие библитеки === === Участники, внесшие вклад в развитие библитеки ===
Luiz Américo Pereira Câmara Luiz Américo Pereira Câmara
Mattias Gärtner
=== Лицензия === === Лицензия ===
[http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL Modified] [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL LGPL] (та же, что у FPC RTL и Lazarus LCL). [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.modifiedLGPL Modified] [http://svn.freepascal.org/svn/lazarus/trunk/COPYING.LGPL LGPL] (та же, что у FPC RTL и Lazarus LCL).
@@ -45,7 +46,7 @@ Luiz Américo Pereira Câmara
* улучшена производительность * улучшена производительность
* выполнена чистка кода * выполнена чистка кода
* добавлен набор простых тестов * добавлен набор простых тестов
==== Версия 0.4 (20.01.2011) ==== ==== Версия 0.4 (10.05.2011) ====
* функция QuoteCSVString заменена классом TCSVBuilder. Пример его использования можно посмотреть в методе TCSVDocument.SaveToStream. * функция QuoteCSVString заменена классом TCSVBuilder. Пример его использования можно посмотреть в методе TCSVDocument.SaveToStream.
* свойство TrimWhitespace переименовано в IgnoreOuterWhitespace (для соответствия с новым свойством QuoteOuterWhitespace). * свойство TrimWhitespace переименовано в IgnoreOuterWhitespace (для соответствия с новым свойством QuoteOuterWhitespace).
* поддержка одинакового числа столбцов во всём документе (требуется для соответствия RFC 4180). См. свойство EqualColCountPerRow. * поддержка одинакового числа столбцов во всём документе (требуется для соответствия RFC 4180). См. свойство EqualColCountPerRow.
@@ -54,21 +55,31 @@ Luiz Américo Pereira Câmara
* параметры формата CSV перемещены в класс TCSVHandler (предка классов TCSVParser, TCSVBuilder и TCSVDocument). * параметры формата CSV перемещены в класс TCSVHandler (предка классов TCSVParser, TCSVBuilder и TCSVDocument).
* набор тестов обновлён для соответствия RFC 4180. * набор тестов обновлён для соответствия RFC 4180.
* исправлены мелкие недоработки в demo-приложении. * исправлены мелкие недоработки в demo-приложении.
* оптимизация, улучшенное demo-приложение и пакет для Lazarus от Luiz Américo Pereira Câmara. * включен оптимизированный вариант функции ChangeLineEndings, созданный Mattias Gärtner.
* оптимизации по скорости, улучшения в demo-приложении и пакет для Lazarus от Luiz Américo Pereira Câmara.
=== Статус === === Статус ===
Beta Beta
=== Загрузка === === Загрузка ===
Последнюю версию можно загрузить с lazarus-ccr: Новый выпуск библиотеки можно загрузить с Lazarus-CCR:
http://sourceforge.net/projects/lazarus-ccr/files/CsvDocument/CsvDocument%200.4/csvdocument-0.4.zip/download http://sourceforge.net/projects/lazarus-ccr/files/CsvDocument/CsvDocument%200.4/csvdocument-0.4.zip/download
Архив содержит саму библиотеку и демонстрационное приложение. Архив содержит саму библиотеку и демонстрационное приложение.
Разрабатываемую версию можно получить из svn-репозитория Lazarus-CCR:
svn co https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/csvdocument csvdocument
=== Установка и использование === === Установка и использование ===
Достаточно добавить модуль CsvDocument в секцию ''uses''. Если необходимо, можно установить путь к модулю в свойствах проекта. Достаточно добавить модуль CsvDocument в секцию ''uses''. Если необходимо, можно установить путь к модулю в свойствах проекта.
Другой вариант:
1. Откройте файл "csvdocument_package.lpk" из Lazarus IDE, используя меню: "Пакет -> Открыть файл пакета (.lpk) ...".
2. Скомпилируйте пакет.
3. Откройте ваш проект.
4. Добавьте пакет в качестве зависимости для вашего проекта с помощью Инспектора проекта.
=== Обратная связь === === Обратная связь ===