summaryrefslogtreecommitdiff
path: root/tools/source
AgeCommit message (Collapse)Author
2011-12-07Remove testtoolloaderAugust Sodora
2011-12-07use gbuild_simple in toolsBjoern Michaelsen
2011-12-01get rid of class Date and Time default ctor with system time penaltyEike Rathke
2011-12-01Remove uses of charAtAugust Sodora
2011-11-30introduced Date::IsValidDate() and Date::Normalize()Eike Rathke
+ IsValidDate() checks only day and month regarding the year, not Gregorian cut-off date as now does IsValidAndGregorian(). + Normalize() carries over invalid day and month values to next months and years. * All methods that return or internally use a day count now internally normalize the date values, without modifying the actual Date instance. So, if the date is not valid you may get unexpected results. * Previously, a date with month>12 would had accessed the days-of-month array out of bounds on all such methods. So you would had gotten unexpected results anyway.. * Affected methods are: GetDayOfYear() GetWeekOfYear() GetDaysInMonth() static DateToDays()
2011-11-30renamed Date::IsValid() to IsValidAndGregorian() to prevent misassumptionsEike Rathke
Once smaller than 1582-10-15 decrementing a Date will not produce a valid date.
2011-11-28ByteString->rtl::OString[Buffer]Caolán McNamara
2011-11-27remove include of pch header from toolsNorbert Thiebaud
2011-11-25typo, thanks Guest70165 :-)Caolán McNamara
2011-11-25ByteString->rtl::OStringCaolán McNamara
2011-11-25ByteString->rtl::OStringCaolán McNamara
2011-11-24ByteString->rtl::OStringCaolán McNamara
2011-11-24ditch dbg_dumpCaolán McNamara
2011-11-24strip down old string class some moreCaolán McNamara
2011-11-23add string::strip, can replace EraseLeadingAndTrailingCharsCaolán McNamara
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23add a stripStart, can replace EraseLeadingCharsCaolán McNamara
2011-11-22want to match here, not check for equalityCaolán McNamara
2011-11-22Avoid rtl::OString::copy(getLength() + 1).Stephan Bergmann
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-11-21ByteString->rtl::OStringCaolán McNamara
2011-11-19ByteString->rtl::OString[Buffer]Caolán McNamara
2011-11-19remove ENABLE_BYTESTRING_STREAM_OPERATORSCaolán McNamara
2011-11-19remove [Byte]String::EraseAllCharsCaolán McNamara
2011-11-17ByteString->rtl::OString[Buffer]Caolán McNamara
2011-11-16we can drop unqid.hxx entirely post move to binfilterCaolán McNamara
2011-11-14remove dodgy const_castsCaolán McNamara
2011-11-01we need to assign this value also for non unix platforms (fdo#40801)Markus Mohrhard
2011-10-24always explicitly handle empty string of rangesIvan Timofeev
2011-10-24StringRangeEnumerator cleanupIvan Timofeev
* do not allow default unbounded min and max, syntax of the input string requires them * simplify logic, remove unused methods, make the class immutable, actualize documentation
2011-10-20bye-bye old range parserIvan Timofeev
2011-10-19Undo basis/brand split: merge basis program/resource/ into brand ↵Stephan Bergmann
program/resource/.
2011-10-12treat "-" as entire rangeIvan Timofeev
2011-10-10tidy this a little bitCaolán McNamara
2011-10-08no need to return size_t instead of sal_Int32Ivan Timofeev
2011-10-08allow parsing of joined rangesIvan Timofeev
i.e. "1-4-2" means "1,2,3,4,3,2" now. This is for eliminating ambiguity, it is doubtful whether users will find this useful.
2011-10-07cppcheck reduce scope of var in tools/.. table.cxxPierre-André Jacquod
2011-10-06fix doubling of range in StringRangeEnumeratorIvan Timofeev
2011-10-05fix construction of ARC polygon in case the ellipse width != heightRadek Doulik
2011-10-04Silly attempts at humour not appreciatedTor Lillqvist
2011-10-04callcatcher: various unused methodsCaolán McNamara
2011-10-04WaE: potentially uninitialized local variable 'n' usedTor Lillqvist
2011-10-04WaE: unreferenced formal parameterTor Lillqvist
2011-10-04WaE: unreachable code, we always return in preceding codeTor Lillqvist
2011-10-04WaE: conversion from 'sal_Int32' to 'sal_uInt16', possible loss of dataTor Lillqvist
2011-10-03definition of ALPHA is no longer available for DEC AlphaTakeshi Abe
proper ifdef for DEC Alpha should be covered with AXP
2011-10-01Cmis: Fixed the installation of the new UCP provider and libcmisCédric Bosdonnat
2011-10-01Added cmis+atom:// scheme to the tools urlobj.Cédric Bosdonnat
Found out a unexecuted cppunit test for the urlobj, fixed it and added a test for the cmis+atom:// URLs
2011-09-29OSL_TRACE: Remove trailing newlinesAndras Timar
2011-09-27Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *().Stephan Bergmann