summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Collapse)Author
2013-08-04fixup SAL_INFO macros to actually print the stringsLionel Elie Mamane
Change-Id: I26bf8376d27f7fcbf8a83b7356d252dce9061fcb
2013-08-04sax converter unittest: test accept trailing zeros in fractional secondsLionel Elie Mamane
Change-Id: I3b6080df1cf8c13b5c0781c34c7806ac3c2cfbc7
2013-08-01Mark as constTakeshi Abe
Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
2013-07-21Remove unused convertDateTimeTZ and convertDateTZJulien Nabet
Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7
2013-07-15OUStringBuffer doesn't have append() overload for const char*Luboš Luňák
Change-Id: Ibde8e2021d33f01f91486fb6d3e24e7af0a47744
2013-07-15sax: even more boost_headersMichael Stahl
Change-Id: I6d78c737d7cd049c7b148da3b4d30166bb7c8517
2013-07-15sax: more s/TimeZone/Timezone/Michael Stahl
Change-Id: I9b50e53b131fc835e792c52de6560d77ac454be9
2013-07-15i#108348: support DateTimeWithTimezone in user defined Document PropertiesMichael Stahl
- fix interface of sax::Converter to allow passing time zones (rename the parsing methods while at it to reduce pointless overloading) - SfxDocumentMetaData supports DateWithTimezone and DateTimeWithTimezone in user-defined properties - add some ugly hacks to SfxCustomPropertiesPage to preserve existing time zones (which are not displayed in UI currently) Change-Id: Ice94112b9d79c285f80b5beda15f0ace91db97f3
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-03fastsax: provide the element name instead of prefix for unknown elementsCédric Bosdonnat
Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f (cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29i#108348 sax::Converter: support negative date and dateTimeMichael Stahl
Change-Id: Ie2726c7ec941a5690e053d39212d7f516e2c27ba
2013-06-05sax: FastSaxSerializer: add well-formedness assertionsMichael Stahl
In an --enable-dbgutil build, assert on the following XML well-formedness violations: * Element Type Match (-> start/end tag mismatch) * Unique Att Spec (-> duplicate attributes) Change-Id: I1d5c405b4316ba941be1db7df6cacf00b5837261
2013-06-05sax: SaxWriter: add well-formedness assertionsMichael Stahl
In an --enable-dbgutil build, assert on the following XML well-formedness violations: * Element Type Match (-> start/end tag mismatch) * Unique Att Spec (-> duplicate attributes) Change-Id: I1e32a9fd096463a418a197fcdb3174df79f7a785
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-09rename expat external to 'expat'David Tardon
expat_utf16 is long gone, so there is no need to fool around with expat_utf8. Change-Id: I0dd4a5c4d78805e98913e645cc83d2ab634bcb89
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-01Remove RTL_CONSTASCII_(U)STRINGPARAM in scaddins/saxChr. Rossmanith
Change-Id: Ic4f9bef02cc4bdc74b9a6d81e3317e10b9c79bd4
2013-03-28add missing dep on sal/types.hDavid Tardon
Change-Id: I76ab0b77a9d68feac2f14dc2f45c9bb39c15e585
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-18Wundef, fix various more or less broken debug codeLuboš Luňák
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-03-04sal_Bool to boolTakeshi Abe
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27cppu: new ZipPackage_cppu_odk_headersMichael Stahl
Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
2013-02-23Fix typo, "charcter" -> "character"Julien Nabet
Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-13fdo#60471: svgio, sax: enable internal entity declarations for SVGMichael Stahl
Change-Id: I147acac61dfe0b626268fe1e600dcf641ca63a0c
2013-02-13sax: convert some legacy assertionsMichael Stahl
Change-Id: I3b4f1caa2c2d7a0fd88ea53bf05d01b2c7cc115a
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-14sax: add methods to duplicate current top marker and reapply it laterPierre-Eric Pelloux-Prayer
The need for this is ooxml: we need to have a duplicate entry (rPr) like this: <p> <pPr> <rPr>...</rPr> </pPr> <r> <rPr>...</rPR> </r> </p> This patch allows to do that by setting aside a copy of the <rPr> line, and then merging the copy when needed. Change-Id: I3868a822aa9e5210f3d814c68398a38f95072cd5 Reviewed-on: https://gerrit.libreoffice.org/1648 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-01-13callcatcher: update and remove newly unused codeCaolán McNamara
Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
2013-01-07added Converter::convertColor with opacity parameterChr. Rossmanith
Change-Id: I0f3759d8f75f2739b2815c37e8c81bc97e097ec8
2012-12-19wrap vararg sax functions in typesafe overloadsLuboš Luňák
Now automatic conversions can take place (no getStr() needed), and there are compile errors when used improperly. The FSEND terminator is also no longer needed, but it's better to dump it only after forgetting it no longer silently breaks backports. Change-Id: Ib47e6eda2d5e12ce889b69bf2affbda3679c2d3f
2012-11-15sax: no obvious reason why expwrap should use expat_utf16Michael Stahl
Change-Id: Id2d476c4fc13ccfb501ef920f75e2a95a7ce3734
2012-11-12cppCheck: clarifyConditionjailletc36
Remove some warnings about: Boolean result is used in bitwise operation Suspicious condition (assignment + comparison) Also reduce scope of a variable. Change-Id: I553e5a09ed1d6276be61efbbb2c28d165a69af39 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/1031 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-11-11sax: FastSaxSerializer: cannot do anything without a streamMichael Stahl
Change-Id: If2fbfe776039fe1a3104d541279ab52f219f45bf
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-01add missing deps on headers to static libsDavid Tardon
Change-Id: I7a28dfa13bf0f98a654eca98eb1cdfd99177f37a
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69