summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Collapse)Author
2012-06-01Targeted string re-work in padmin and saxThorsten Behrens
2012-05-31targeted string re-workNorbert Thiebaud
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
2012-05-25stop parsing on encountering internal entities in fastparser.cxxMichael Stahl
2012-05-25stop parsing on encountering internal entities in sax_expat.cxxMichael Stahl
The XML_UnparsedEntityDeclHandler is apparently deprecated anyway, so replace it with the newfangled XML_EntityDeclHandler.
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-20fdo#48969: add unit test for Converter::convertDoubleMichael Stahl
2012-04-20fdo#48969: GetConversionFactor: add inch as source unitMichael Stahl
Also, add whole bunch of missing cases while at it.
2012-04-20fdo#48969: switch units in Converter::convertDoubleMichael Stahl
The factor here is used to divide, so the parameters have to be switched; this has always been broken but probably before 3ca2bef76886450058d1667703aeafe4c2e456c3 nothing called this. This also reverts 7bf1fa3757133f12cf6ca624f8cee6ba5363e7d8 because that was a workaround for the problem in the wrong place.
2012-04-12escape \n and \r too in escapeXml()Luboš Luňák
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-02reorganize trickier staticsCaolán McNamara
2012-03-12sax: no matching function for call to 'max(int, sal_Int32&)'Ivan Timofeev
2012-03-12sax: replace Min/Max macros with std::maxMichael Stahl
2012-03-12sax: move xml2utf.cxx to libsax to prevent duplicate linkage warningsMichael Stahl
2012-03-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan
2012-03-03Avoid temporary rtl::OUStringJulien Nabet
2012-02-29sax: ConverterTest: add leap year testsMichael Stahl
2012-02-29Correctly calculate leap year.Kohei Yoshida
With the old code, year 2000 would not be a leap year, but it actually is. With this, Calc correctly loads cell with date value of 2000-2-29. (regression from CWS sw33bf02 8786083eb9dabb0d7b328a217ba99a1d71493ad7) Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Signed-off-by: Eike Rathke <erack@redhat.com> Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-02-29sax: this CalcXMLLen() was commented out since 2001Miklos Vajna
2012-02-26Avoid temporary rtl::OUStringJulien Nabet
2012-02-16Reduce verbiage slightlyTor Lillqvist
2012-02-16Use the same simple lo_main() on iOS as on AndroidTor Lillqvist
Let's do the iOS specific stuff in separate main() source file(s). Don't attempt to build complete iOS programs using normal LibreOffice mechanisms, it will work for only the very lowest level unit tests anyway, because of static linking and the circularish UNO/URE/bootstrap/whatnot (run-time) dependencies between different parts of the code. We thus can't build the various iOS-specific *_cppunittester_all unit test executables any more. Corresponding unit tests (and more complex ones) for iOS will have to be done in a different way.
2012-02-10Removed unused codeAlexander Bergmann
2012-02-10Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...")Takeshi Abe
2012-02-08update unused listCaolán McNamara
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2012-01-16remove unimplemented methods from headersCaolán McNamara
2012-01-16Removing unused codeAlexander Bergmann
2012-01-16cleanup: remove unused prototype tooMichael Meeks
2012-01-16sax_fastparser::FastSerializerHelper::write(float)Alexander Bergmann
2012-01-05Fix for fdo43460 Part XXIX getLength() to isEmpty()Olivier Hallot
Part XXIX Modules sax, scaddins, sccomp, scripting
2012-01-05callcatcher: drop some unused methodsCaolán McNamara
2012-01-04sax: this had to be accidentally added when mergingMatúš Kukan
2011-12-24catch exception by constant referenceTakeshi Abe
2011-12-07in modules, when we have a env we are in stage gbuildBjoern Michaelsen
2011-12-01we are W3C XMLSchema here, not ISO 8601Eike Rathke
2011-11-30handle dates with year < 1000Eike Rathke
* Read dates with years consisting of less than 4 digits. ISO 8601 specifies that years are to be written with a minimum of 4 digits. However, be lenient in what we accept. * Write years < 1000 with leading zeros to comply with ISO 8601 YYYY.
2011-11-29move reconfigure into gbuildBjoern Michaelsen
2011-11-28fix conversions from cmRadek Doulik
2011-11-28added conversion from MeasureUnit::CMRadek Doulik
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-21empty a bunch of d.lst filesMichael Stahl
2011-11-16tweak gbuild standart Makefile to allow partial build in unsourced envNorbert Thiebaud
This allow to run make in a module wihtout the need to source Env.Host.sh.
2011-10-15Fix overflow in smoketest, promotion from sal_Int32 to sal_Int64 doesn't ↵Caolán McNamara
happen before assign