f13410cf | 22-Jul-2024 |
Damjan Jovanovic |
Allow reading lines longer than 64 KiB in SvStream, and reading CSV rows and cells longer than 64 KiB in OpenOffice Base. (They are now limited to ~2 GiB). - New member functions wer
Allow reading lines longer than 64 KiB in SvStream, and reading CSV rows and cells longer than 64 KiB in OpenOffice Base. (They are now limited to ~2 GiB). - New member functions were added to the main/tools SvStream class to work with 32 bit ::rtl::OUString and ::rtl::OStringBuilder when reading lines. - The helper class QuotedString had to be upgraded from using the 16 bit String to the 32 bit ::rtl::OUString. - The CSV database driver was patched to use ::rtl::OUString and 32 bit indexes in various places. - Luckily, little other work was needed, as the ORowSetValue class already uses 32 bit ::rtl::OUString, and was previously converting 16 bit String to 32 bit ::rtl::OUString internally anyway. Also simplified some of the line parsing logic, and translated some German comments to English. Patch by: me (cherry picked from commit 7b2bc0e6bba2fbc38d078306fe10d875115d6c86)
show more ...
|
Revision tags: AOO420-Dev5-m5, AOO4115-GA, AOO4114-GA, AOO420-Dev4-m4, AOO4113-GA, AOO4112-GA, AOO4111-GA, AOO420-Dev3-m3, AOO4110-GA, AOO419-GA, AOO418-GA, 420-Dev2-m2, AOO417, AOO420-Dev-m1, AOO416, AOO416-RC1, AOO415, AOO414, AOO413, AOO4121 |
|
dd133a3a | 17-Apr-2016 |
damjan |
Fix a string limit error in my previous patch. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1739631 13f79535-47bb-0310-9956-ffa450edef68 (cherry pi
Fix a string limit error in my previous patch. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1739631 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit ab01ac79e0467416147c6ad674c82b0a44adb5a3)
show more ...
|
2cbc43e9 | 17-Apr-2016 |
damjan |
Make CSV line parsers consistent with CSV field parsers. Our CSV field parsing algorithms treats fields starting with a quote (immediately at the beginning of the row, or after the field
Make CSV line parsers consistent with CSV field parsers. Our CSV field parsing algorithms treats fields starting with a quote (immediately at the beginning of the row, or after the field delimiter) as quoted. A quoted field ends at the corresponding closing quote, and any remaining text between the closing quote and the next field delimeter or end of line is appended to the text already extracted from the field, but not processed further. Any quotes in this extra text are taken verbatim - they do not quote anything. Our CSV line parsers were big hacks - they essentially read and concatenate lines until an even number of quote characters is found, and then feed this through the CSV field parsers. This patch rewrites the line parsers to work exactly how the field parsers work. Text such as: "another" ",something else is now correctly parsed by both Calc and Base as: [another "],[something else] instead of breaking all further parsing. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1739628 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit bc1fc15f4dddfc075a011a1203c162b446e72868)
show more ...
|
6c882b5c | 03-Apr-2016 |
damjan |
#i122754# Base does not properly parse CSV files as per RFC-4180 (while Calc does) The flat file driver, in file main/connectivity/source/drivers/flat/ETable.cxx, method OFlatTab
#i122754# Base does not properly parse CSV files as per RFC-4180 (while Calc does) The flat file driver, in file main/connectivity/source/drivers/flat/ETable.cxx, method OFlatTable::fillColumns(), which reads lines to initialize columns, assumes fields in the header and the first few lines never continue onto the next line(s). This causes truncation of columns when they do. Read all lines using the readLine() method instead of SvStream::ReadByteStringLine(), which takes overflow onto next lines into account. Also implement a new version of readLine() which allows reading into an arbitrary string, as opposed to m_aCurrentLine only. Patch by: me git-svn-id: https://svn.apache.org/repos/asf/openoffice/trunk@1737591 13f79535-47bb-0310-9956-ffa450edef68 (cherry picked from commit 6b41ff7abde450fb0368489eb47c02e30b544097)
show more ...
|
Revision tags: AOO412, SNAPSHOT, AOO411, AOO410, AOO410_Beta, AOO401, AOO400, AOO340 |
|
10544477 | 28-Mar-2012 |
Andre Fischer |
Added AL2 license. git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1306262 13f79535-47bb-0310-9956-ffa450edef68 |
e5e61ed1 | 15-Feb-2012 |
Herbert Dürr |
remove svn:executable properties from configuration files git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1244487 13f79535-47bb-0310-9956-ffa450edef68 |
67a4c099 | 11-Jan-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229826 13f79535-47bb-0310-9956-ffa450edef68 |
7871dc3e | 11-Jan-2012 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1229815 13f79535-47bb-0310-9956-ffa450edef68 |
66d002e8 | 31-Dec-2011 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1225981 13f79535-47bb-0310-9956-ffa450edef68 |
9b5730f6 | 06-Nov-2011 |
Andrew Rist |
Update headers to Alv2 headers git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1198227 13f79535-47bb-0310-9956-ffa450edef68 |
cdf0e10c | 16-Aug-2011 |
rcweir |
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/
Initial import of the old OOo hg repository tip revision. .../trunk/main is a copy of (currently tip-most) http://hg.services.openoffice.org/OOO340/rev/c904c1944462 .../trunk/extras/l10n is a copy of (currently tip-most) http://hg.services.openoffice.org/master_l10n/OOO340/rev/af6bc9467af5 Note that the following files with line-end and/or encoding anomalies were left out (they will need to be to be checked in separately): /ooo/trunk/core/dictionaries/de_DE/README_hyph_de_DE.txt /ooo/trunk/core/dictionaries/de_CH/README_hyph_de_CH.txt /ooo/trunk/core/dictionaries/de_AT/README_hyph_de_AT.txt /ooo/trunk/core/gettext/gettext-0.18.1.1.patch /ooo/trunk/core/apache-commons/patches/codec.patch /ooo/trunk/core/libcroco/libcroco-0.6.2.patch /ooo/trunk/core/testautomation/writer/optional/input/import/mactext.txt /ooo/trunk/core/graphite/graphite-2.3.1.patch /ooo/trunk/core/hwpfilter/source/hwpeq.cpp /ooo/trunk/core/solenv/bin/cwstouched.pl /ooo/trunk/core/readlicense_oo/html/THIRDPARTYLICENSEREADME.html /ooo/trunk/core/writerfilter/source/doctok/escher.html /ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/xsdlib.xsd /ooo/trunk/core/writerfilter/source/odiapi/qname/resource/office2003/WordprocessingML Schemas/wordnetaux.xsd /ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/body.xsl /ooo/trunk/core/filter/source/xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl Also: Repository.mk from the l10n toplevel git-svn-id: https://svn.apache.org/repos/asf/incubator/ooo/trunk@1162288 13f79535-47bb-0310-9956-ffa450edef68
show more ...
|