summaryrefslogtreecommitdiff
path: root/sax
AgeCommit message (Collapse)Author
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
2011-10-11#i108468#: clean up xmluconv code duplication, measured approach:Michael Stahl
modify sax::Converter::convertMeasure to use sal_Int64 instead of BigInt: should be sufficient, since the largest number is SAL_INT32_MAX * 10^7. remove duplicate methods from SvXMLUnitConverter: convertMeasurePx, convertMeasure (static variants) remove entirely duplicative class SvXMLExportHelper: GetConversionFactor, GetUnitFromString, AddLength change SvXMLUnitConverter interface from MapUnit to css::util::MeasureUnit. change SvXMLExport constructor params from MapUnit to css::util::MeasureUnit. rename some methods to turn compiler into merge conflict detector :)
2011-10-11#i108468#: clean up xmluconv code duplication, DateTime edition:Michael Stahl
remove duplicate methods from SvXMLUnitConverter: convertTime (all variants), convertDateTime (DateTime variants), convertTimeDuration. move convertAny from SvXMLUnitConverter to sax::converter.
2011-10-11#i108468#: clean up xmluconv code duplication, part 1:Michael Stahl
move convertNumber64 from SvXMLUnitConverter to sax::converter. remove duplicate methods from SvXMLUnitConverter: convertBool, convertPercent, convertColor, convertNumber, convertDouble, indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars, clearUndefinedChars
2011-10-11partially revert 849a713ffd29a58ae79e48f80835c28bbd9d5a72Michael Stahl
2011-10-05simplfy dmake to gbuild bridgefileBjoern Michaelsen
2011-10-03WaE: conversion from 'unsigned int' to 'sal_Int16', possible loss of dataTor Lillqvist
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann
2011-09-21OSL_TRACE: Remove trailing newlinesThomas Arnhold
Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines
2011-09-16Removed leftover makefile.mk after gbuildization.Stephan Bergmann
2011-09-12sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed ↵Stephan Bergmann
out a6913c9677c2 For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12sb140: #i117694# some CppUnit related cleanupStephan Bergmann
2011-08-31catch by const referenceCaolán McNamara
2011-08-19detect gmake 3.81 and limit to -j1 unless num-cpu is explicitly setNorbert Thiebaud
2011-08-17add more component prefixesMatúš Kukan
2011-08-16catch by const referenceCaolán McNamara