summaryrefslogtreecommitdiffstats
path: root/sax
Commit message (Collapse)AuthorAgeFilesLines
* fdo#62475 - remove visual noisePhilipp Riemer2013-08-311-2/+0
| | | | Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
* fix indentationPhilipp Riemer2013-08-311-11/+11
| | | | | | | | This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I55ff666c357c89ad355a1a5bc0d0347fcc188476
* fdo#62475 - remove visual noisePhilipp Riemer2013-08-311-48/+9
| | | | | | | | This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
* cppcheck: fix duplicate if/elseJulien Nabet2013-08-231-0/+2
| | | | | | | | I don't know if it's possible to parse EBCDIC knowing that there are several implementations So I commented the block and added a TODO. => no time wasted for this block (ok "micro waste")+ 1 less cppcheck report Change-Id: I72b72b68295eab7be5332166b955adaddf6ee5c3
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-213-5/+5
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Re-work 8bit characters in source code, or remove them.Michael Meeks2013-08-201-1/+1
| | | | | | | | Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Mark as constTakeshi Abe2013-08-151-1/+1
| | | | Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
* fixup SAL_INFO macros to actually print the stringsLionel Elie Mamane2013-08-041-10/+10
| | | | Change-Id: I26bf8376d27f7fcbf8a83b7356d252dce9061fcb
* sax converter unittest: test accept trailing zeros in fractional secondsLionel Elie Mamane2013-08-041-1/+1
| | | | Change-Id: I3b6080df1cf8c13b5c0781c34c7806ac3c2cfbc7
* Mark as constTakeshi Abe2013-08-011-1/+1
| | | | Change-Id: Idd1d0641d5b7d8594f354c7d2e2a9093ecc6b2f7
* Remove unused convertDateTimeTZ and convertDateTZJulien Nabet2013-07-211-12/+0
| | | | Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7
* OUStringBuffer doesn't have append() overload for const char*Luboš Luňák2013-07-151-1/+1
| | | | Change-Id: Ibde8e2021d33f01f91486fb6d3e24e7af0a47744
* sax: even more boost_headersMichael Stahl2013-07-151-0/+2
| | | | Change-Id: I6d78c737d7cd049c7b148da3b4d30166bb7c8517
* sax: more s/TimeZone/Timezone/Michael Stahl2013-07-151-4/+4
| | | | Change-Id: I9b50e53b131fc835e792c52de6560d77ac454be9
* i#108348: support DateTimeWithTimezone in user defined Document PropertiesMichael Stahl2013-07-152-47/+54
| | | | | | | | | | | - 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
* i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl2013-07-152-55/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* fastsax: provide the element name instead of prefix for unknown elementsCédric Bosdonnat2013-07-031-1/+1
| | | | | Change-Id: I3effd8a0cfe57875446536bbd0a93a73e630a44f (cherry picked from commit 4946cc813704703f7d988a6acf75c4d9e9c068a9)
* remove OUString wrap for string literalsThomas Arnhold2013-06-295-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* i#108348 sax::Converter: support negative date and dateTimeMichael Stahl2013-06-292-10/+18
| | | | Change-Id: Ie2726c7ec941a5690e053d39212d7f516e2c27ba
* sax: FastSaxSerializer: add well-formedness assertionsMichael Stahl2013-06-052-1/+54
| | | | | | | | | | 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
* sax: SaxWriter: add well-formedness assertionsMichael Stahl2013-06-051-2/+32
| | | | | | | | | | 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
* Spelling "separate" (etc) correctly is hardTor Lillqvist2013-05-151-1/+1
|
* gbuild: drop empty use_packages callsDavid Tardon2013-04-242-6/+0
| | | | | | | Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-1/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* move URE headers to include/David Tardon2013-04-241-3/+0
| | | | | | | Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-237-796/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* date/time IDL datatypes incompatible changeLionel Elie Mamane2013-04-182-123/+128
| | | | | | | | | | - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
* rename expat external to 'expat'David Tardon2013-04-092-2/+2
| | | | | | | expat_utf16 is long gone, so there is no need to fool around with expat_utf8. Change-Id: I0dd4a5c4d78805e98913e645cc83d2ab634bcb89
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0718-183/+165
| | | | | | | | 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
* Remove RTL_CONSTASCII_(U)STRINGPARAM in scaddins/saxChr. Rossmanith2013-04-012-5/+5
| | | | Change-Id: Ic4f9bef02cc4bdc74b9a6d81e3317e10b9c79bd4
* add missing dep on sal/types.hDavid Tardon2013-03-281-0/+2
| | | | Change-Id: I76ab0b77a9d68feac2f14dc2f45c9bb39c15e585
* -Wunused-macrosStephan Bergmann2013-03-271-1/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* further OUString cleanupThomas Arnhold2013-03-192-5/+5
| | | | Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-191-2/+2
| | | | | | | | | 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>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-192-3/+3
| | | | | | | | | | | 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>
* Wundef, fix various more or less broken debug codeLuboš Luňák2013-03-182-5/+5
| | | | Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* sal_Bool to boolTakeshi Abe2013-03-042-5/+5
| | | | Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-032-2/+2
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* cppu: new ZipPackage_cppu_odk_headersMichael Stahl2013-02-271-1/+1
| | | | Change-Id: I4ceee0ed3438a18e13c186ebd8d390604d26ec28
* Fix typo, "charcter" -> "character"Julien Nabet2013-02-231-7/+7
| | | | Change-Id: Idde59a616b16c52b7369dd67e7a06eab52b334c8
* fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2013-02-191-35/+25
| | | | | | | | | | - 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>
* fdo#60471: svgio, sax: enable internal entity declarations for SVGMichael Stahl2013-02-131-10/+32
| | | | Change-Id: I147acac61dfe0b626268fe1e600dcf641ca63a0c
* sax: convert some legacy assertionsMichael Stahl2013-02-132-11/+10
| | | | Change-Id: I3b4f1caa2c2d7a0fd88ea53bf05d01b2c7cc115a
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-0/+3
| | | | | | | | | - 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
* sax: add methods to duplicate current top marker and reapply it laterPierre-Eric Pelloux-Prayer2013-01-144-0/+29
| | | | | | | | | | | | | | | | | | | | 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>
* callcatcher: update and remove newly unused codeCaolán McNamara2013-01-132-25/+0
| | | | Change-Id: Iff3ce7c3a44010b3bc81fc0d2156216ee13948dc
* added Converter::convertColor with opacity parameterChr. Rossmanith2013-01-072-2/+27
| | | | Change-Id: I0f3759d8f75f2739b2815c37e8c81bc97e097ec8
* wrap vararg sax functions in typesafe overloadsLuboš Luňák2012-12-192-24/+121
| | | | | | | | | 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