summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2012-01-23can't see the point of calling String::Erase before delete StringCaolán McNamara
2012-01-23Removed NfCurrencyEntry::ApplyVariableInformation().Mariusz Dykierek
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-20svl: add new test to subsequenttestsMichael Stahl
2012-01-18fdo#39428 Remove/audit SvStream operator>>/<<(long)Keith McRae
Replaced calls to operator<<(long) with sal::static_int_cast<sal_Int32> Replaced calls to operator>>(long) with operator>>(sal_Int32)
2012-01-18remove unused codeThomas Arnhold
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-17a can't-happen-but-do-it-correct-anyway one character fixEike Rathke
2012-01-17Make test code compile on Mac OS X.Stephan Bergmann
2012-01-17Disable CppunitTest_svl_urihelper for now due to bad dependencies.Stephan Bergmann
2012-01-17Adapted svl test_URIHelper to gbuild.Stephan Bergmann
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz
2012-01-14Remove SvStringsDtorAugust Sodora
2012-01-13use INCLUDE instead of SOLARINC, and after local includesEike Rathke
2012-01-13Fix for fdo43460 Part XXXVI getLength() to isEmpty()Olivier Hallot
Part XXXVI Modules svl
2012-01-11Remove SvStringISortAugust Sodora
2012-01-11fdo#44636 use date acceptance patterns in number scannerEike Rathke
Get rid of the lax "any 1-2 possible date separators used with 2-3 numbers forms a date" date recognition. Use locale data's DateAcceptancePattern elements to match against, or ISO 8601 yyyy-mm-dd, or an already applied date format.
2012-01-11lower date acceptance with only two numbersEike Rathke
2012-01-11strict date recognition using locale's separator and ISO 8601Eike Rathke
- Removed separators '-', '.' and '/' working in all combinations in all locales forcing a date even for 23/12.99 (if locale has DMY order) * Only the locale's date separator is accepted, plus '-' if the input may represent an ISO 8601 date yyyy-mm-dd, check is lax though on minimum digits, y-m-d is also accepted. * Additionally, accept yy-month-dd or dd-month-yy with month name. Year must be <1 or >31, 2-digit year magic for values 0,32..99 is applied, or has to be prefixed with leading zero.
2012-01-11accept and display years < 100Eike Rathke
+ Years < 100 without being hit by the 2 digits year magic can be entered by preceding them with a leading 0 if at least 3 digits are present, e.g. 099-1-1 is year 99, not 1999. + Years < 100 in an yyyy format are always displayed as 0099.
2012-01-10Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora
2012-01-10simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara
2012-01-09toLower->lowercaseCaolán McNamara
2012-01-09simplify CharClassCaolán McNamara
multiple variants of toUpper (etc) some that take a non-const OUString or String and modify it some that take a const OUString or String and return a new one some that take part of a const OUString or String and return a new one
2012-01-07Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz
2012-01-06Removed unnecessary tools/debug.hxx includes.Marcel Metz
2012-01-06make ReadUniOrByteString return a stringCaolán McNamara
2012-01-05getPropertyMap can return a reference instead of a pointerCaolán McNamara
2012-01-05Translated German commentsChristina Rossmanith
2012-01-05removed unused #define_SVSTDARR_sal_uI(n)t16S(SORT)Christina Rossmanith
2012-01-06catch exception by constant referenceTakeshi Abe
2012-01-05Removed unnecessary tools includes.Marcel Metz
2012-01-05Removed unnecessary tools includes.Marcel Metz
2012-01-05Removed unnecessary tools includes.Marcel Metz
Hello lo-devs, this patch series removes a lot of unnecessary includes for the various tools header. The patches without suffix should be applied to the core repository, the .binfilter.patch suffix should be applied to the binfilter repository. I've tested the build with the configuration --enable-binfilter --enable-dbgutil --enable-debug, is this sufficient or did I miss another important configuration, that enables some conditional compiled code? I've only build this on linux-x86_64, but the patch also touches some of the mac specific code like fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good idea to test this patch. regards Marcel Metz
2012-01-05add a comphelper::string::getTokenCountCaolán McNamara
suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
2012-01-04Easyhack fdo#38831 remove SvStringsBrad Sowden
Remove SvStrings definition and obsolete #defines.
2011-12-22recognize arbitrary y-m-d format for editing as ISO 8601 yyyy-mm-ddEike Rathke
2011-12-22callcatcher: newly unused codeCaolán McNamara
2011-12-21resolved fdo#37978 - Date formatting in Spreadsheet is inconsistentEike Rathke
* SvNumberFormatter::IsNumberFormat() ISO 8601 date input results in yyyy-mm-dd format if no other date format was set. * SvNumberFormatter::GetInputLineString() preserves ISO 8601 date format for editing if such was set.
2011-12-21tweak for pre language-defect #77Caolán McNamara
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara
The ones which use a definite 8-bit encoding read/write pascal-style strings with a 16bit length prefix. The ones which use a definite 16-bit encoding read/write pascal-style UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending on the charset. Rename to ReadUniOrByteString like the other similar horrors to flag this misery
2011-12-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara
Nobody ever used the return values anyway, so for reading just return the string and for writing the number of bytes written Doesn't need to be members, make standalone functions Rename to read_lenPrefixed_uInt8s_ToO[U]String and write_lenPrefixed_uInt8s_FromO[U]String, lengthy, but much less unambiguous, seeing as a lot of users of it don't seem to be aware that they read/write pascal-style length prefixed strings, which isn't surprising given the apparent simplicity of their original name. added a unit test
2011-12-21needs more work firstCaolán McNamara
This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
2011-12-21bah, need to tweak for pre c++0xCaolán McNamara
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
2011-12-21disentangle Read/WriteByteString OUString variantsCaolán McNamara
The ones which use a definite 8-bit encoding read/write pascal-style strings with a 16bit length prefix. The ones which use a definite 16-bit encoding read/write pascal-style UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending on the charset. Rename to ReadUniOrByteString like the other similar horrors to flag this misery
2011-12-21convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara
Nobody ever used the return values anyway, so for reading just return the string and for writing the number of bytes written Doesn't need to be members, make standalone functions Rename to read_lenPrefixed_uInt8s_ToO[U]String and write_lenPrefixed_uInt8s_FromO[U]String, lengthy, but much less unambiguous, seeing as a lot of users of it don't seem to be aware that they read/write pascal-style length prefixed strings, which isn't surprising given the apparent simplicity of their original name. added a unit test
2011-12-20callcatcher: Remove unused codeAugust Sodora
2011-12-19callcatcher: Remove unused codeAugust Sodora
2011-12-13Missing dependencies.Stephan Bergmann
2011-12-13Simplified, type-safe C++ configuration access.Stephan Bergmann
* New offapi com.sun.star.configuration entities to access the complete configuration read-only or read/write... * ...configmgr adapted to support those new services/singletons... * ...new unotools/configuration.hxx is the type-safe C++ plumbing on top of that... * ...officecfg now generates C++ headers to access all the properties and sets given in the .xcs files... * ...and svl's asiancfg.cxx exemplarily makes use of the new officecfg/Office/Common.hxx to access the configuration. * There is still TODOs: For one, see those listed in officecfg/registry/cppheader.xsl. For another, at least a notification mechanism for the new read-only configuration access and the C++ wrapper is missing.