summaryrefslogtreecommitdiffstats
path: root/svl
Commit message (Collapse)AuthorAgeFilesLines
* can't see the point of calling String::Erase before delete StringCaolán McNamara2012-01-231-7/+3
|
* Removed NfCurrencyEntry::ApplyVariableInformation().Mariusz Dykierek2012-01-232-12/+0
|
* Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann2012-01-2125-176/+125
| | | | | | | | | 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.
* svl: add new test to subsequenttestsMichael Stahl2012-01-201-0/+1
|
* fdo#39428 Remove/audit SvStream operator>>/<<(long)Keith McRae2012-01-182-6/+8
| | | | | Replaced calls to operator<<(long) with sal::static_int_cast<sal_Int32> Replaced calls to operator>>(long) with operator>>(sal_Int32)
* remove unused codeThomas Arnhold2012-01-182-67/+0
|
* Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz2012-01-175-14/+14
|
* a can't-happen-but-do-it-correct-anyway one character fixEike Rathke2012-01-171-1/+1
|
* Make test code compile on Mac OS X.Stephan Bergmann2012-01-171-2/+1
|
* Disable CppunitTest_svl_urihelper for now due to bad dependencies.Stephan Bergmann2012-01-171-1/+2
|
* Adapted svl test_URIHelper to gbuild.Stephan Bergmann2012-01-174-54/+78
|
* Replaced DBG_ERRORFILE with SAL_INFO.Marcel Metz2012-01-165-14/+14
|
* Remove SvStringsDtorAugust Sodora2012-01-143-9/+0
|
* use INCLUDE instead of SOLARINC, and after local includesEike Rathke2012-01-133-3/+3
|
* Fix for fdo43460 Part XXXVI getLength() to isEmpty()Olivier Hallot2012-01-1315-40/+40
| | | | | | Part XXXVI Modules svl
* Remove SvStringISortAugust Sodora2012-01-112-53/+0
|
* fdo#44636 use date acceptance patterns in number scannerEike Rathke2012-01-112-32/+317
| | | | | | | 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.
* lower date acceptance with only two numbersEike Rathke2012-01-111-0/+17
|
* strict date recognition using locale's separator and ISO 8601Eike Rathke2012-01-112-17/+71
| | | | | | | | | | | - 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.
* accept and display years < 100Eike Rathke2012-01-113-13/+61
| | | | | | | + 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.
* Remove _SVSTDARR_STRINGSISORTDTORAugust Sodora2012-01-104-28/+0
|
* simplify LocalFileHelper::ConvertURLToPhysicalNameCaolán McNamara2012-01-102-2/+2
|
* toLower->lowercaseCaolán McNamara2012-01-091-2/+2
|
* simplify CharClassCaolán McNamara2012-01-094-39/+37
| | | | | | | 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
* Remove superfluous _ZFORLIST_DECLARE_TABLE definition.Marcel Metz2012-01-072-8/+0
|
* Removed unnecessary tools/debug.hxx includes.Marcel Metz2012-01-067-8/+1
|
* make ReadUniOrByteString return a stringCaolán McNamara2012-01-062-4/+3
|
* getPropertyMap can return a reference instead of a pointerCaolán McNamara2012-01-052-10/+9
|
* Translated German commentsChristina Rossmanith2012-01-051-2/+2
|
* removed unused #define_SVSTDARR_sal_uI(n)t16S(SORT)Christina Rossmanith2012-01-051-1/+0
|
* catch exception by constant referenceTakeshi Abe2012-01-062-3/+3
|
* Removed unnecessary tools includes.Marcel Metz2012-01-052-2/+0
|
* Removed unnecessary tools includes.Marcel Metz2012-01-052-2/+0
|
* Removed unnecessary tools includes.Marcel Metz2012-01-051-1/+0
| | | | | | | | | | | | | | | | | 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
* add a comphelper::string::getTokenCountCaolán McNamara2012-01-053-47/+45
| | | | | | suitable for conversion from [Byte]String::GetTokenCount converted low-hanging variants to rtl::O[UString]::getToken loops added unit test
* Easyhack fdo#38831 remove SvStringsBrad Sowden2012-01-044-11/+2
| | | | Remove SvStrings definition and obsolete #defines.
* recognize arbitrary y-m-d format for editing as ISO 8601 yyyy-mm-ddEike Rathke2011-12-224-8/+91
|
* callcatcher: newly unused codeCaolán McNamara2011-12-222-31/+0
|
* resolved fdo#37978 - Date formatting in Spreadsheet is inconsistentEike Rathke2011-12-213-44/+70
| | | | | | | * 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.
* tweak for pre language-defect #77Caolán McNamara2011-12-212-2/+2
|
* disentangle Read/WriteByteString OUString variantsCaolán McNamara2011-12-212-9/+9
| | | | | | | | | | | | 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
* convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara2011-12-212-4/+2
| | | | | | | | | | | | | | | | | 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
* needs more work firstCaolán McNamara2011-12-212-2/+4
| | | | This reverts commit 92f396733ebc518bcb7a9eae2dd3169d333b82b9.
* bah, need to tweak for pre c++0xCaolán McNamara2011-12-212-9/+9
| | | | This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
* disentangle Read/WriteByteString OUString variantsCaolán McNamara2011-12-212-9/+9
| | | | | | | | | | | | 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
* convert ReadByteString/WriteByteString from ByteString to OStringCaolán McNamara2011-12-212-4/+2
| | | | | | | | | | | | | | | | | 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
* callcatcher: Remove unused codeAugust Sodora2011-12-202-16/+0
|
* callcatcher: Remove unused codeAugust Sodora2011-12-192-48/+0
|
* Missing dependencies.Stephan Bergmann2011-12-131-1/+1
|
* Simplified, type-safe C++ configuration access.Stephan Bergmann2011-12-132-73/+28
| | | | | | | | | | | | | | | | * 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.