diff --git a/components/csvdocument/csvdocument.pas b/components/csvdocument/csvdocument.pas index 9663306e7..cb1f5fcf7 100644 --- a/components/csvdocument/csvdocument.pas +++ b/components/csvdocument/csvdocument.pas @@ -1,6 +1,6 @@ { CSV Parser and Document classes. - Version 0.4 2011-01-31 + Version 0.4 2011-05-10 Copyright (C) 2010-2011 Vladimir Zhirov diff --git a/components/csvdocument/doc/wikidoc.txt b/components/csvdocument/doc/wikidoc.txt index 86419ce6f..2d8966040 100644 --- a/components/csvdocument/doc/wikidoc.txt +++ b/components/csvdocument/doc/wikidoc.txt @@ -22,6 +22,7 @@ Vladimir Zhirov === Contributors === Luiz Americo Pereira Camara +Mattias Gaertner === 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). @@ -45,7 +46,7 @@ The library is a single Pascal source file that only depends on FPC RTL and FCL. * performance improvements. * code cleanup. * 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. * 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. @@ -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). * updated test suite for RFC 4180 compliance. * 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 === Beta === 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 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 === 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 === diff --git a/components/csvdocument/doc/wikidoc_ru.txt b/components/csvdocument/doc/wikidoc_ru.txt index 1db9cc80a..9f564cc52 100644 --- a/components/csvdocument/doc/wikidoc_ru.txt +++ b/components/csvdocument/doc/wikidoc_ru.txt @@ -22,6 +22,7 @@ === Участники, внесшие вклад в развитие библитеки === 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). @@ -45,7 +46,7 @@ Luiz Américo Pereira Câmara * улучшена производительность * выполнена чистка кода * добавлен набор простых тестов -==== Версия 0.4 (20.01.2011) ==== +==== Версия 0.4 (10.05.2011) ==== * функция QuoteCSVString заменена классом TCSVBuilder. Пример его использования можно посмотреть в методе TCSVDocument.SaveToStream. * свойство TrimWhitespace переименовано в IgnoreOuterWhitespace (для соответствия с новым свойством QuoteOuterWhitespace). * поддержка одинакового числа столбцов во всём документе (требуется для соответствия RFC 4180). См. свойство EqualColCountPerRow. @@ -54,21 +55,31 @@ Luiz Américo Pereira Câmara * параметры формата CSV перемещены в класс TCSVHandler (предка классов TCSVParser, TCSVBuilder и TCSVDocument). * набор тестов обновлён для соответствия RFC 4180. * исправлены мелкие недоработки в demo-приложении. -* оптимизация, улучшенное demo-приложение и пакет для Lazarus от Luiz Américo Pereira Câmara. +* включен оптимизированный вариант функции ChangeLineEndings, созданный Mattias Gärtner. +* оптимизации по скорости, улучшения в demo-приложении и пакет для Lazarus от Luiz Américo Pereira Câmara. === Статус === Beta === Загрузка === -Последнюю версию можно загрузить с lazarus-ccr: +Новый выпуск библиотеки можно загрузить с Lazarus-CCR: 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''. Если необходимо, можно установить путь к модулю в свойствах проекта. +Другой вариант: +1. Откройте файл "csvdocument_package.lpk" из Lazarus IDE, используя меню: "Пакет -> Открыть файл пакета (.lpk) ...". +2. Скомпилируйте пакет. +3. Откройте ваш проект. +4. Добавьте пакет в качестве зависимости для вашего проекта с помощью Инспектора проекта. === Обратная связь ===