summaryrefslogtreecommitdiff
path: root/tools/source/inet
AgeCommit message (Collapse)Author
2013-07-16Delete SvCacheStream classPalenik Mihály
I changed SvCacheStream class to SvMemoryStream class in the following: MSE40HTMLClipFormatObj, SfxLockBytesItem, SwEditShell, INetMIMEMessageStream classes, MakeLockBytes_Impl function and SwUnoCursorHelper namespace. I modified header the precompiled_sw.hxx, wrtsh1.cxx, unoobj2.cxx. I added two functions in SvMemoryStream class: GetBuffer and GetSize, and I renamed the old GetSize function to GetBufSize. I deleted SvCacheStream class. Change-Id: I929236538dfbe23cccfd1eb85f10c1d5411baa8d Reviewed-on: https://gerrit.libreoffice.org/4847 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-22tools: remove no longer needed CONSTASCII_STRINGPARAM macroMiklos Vajna
Change-Id: I5edf79ed165b8ed8e96e091f3f29ded0ac6067f2
2013-03-16Remove RTL_CONSTASCII_(U)STRINGPARAM in toolsChr. Rossmanith
Change-Id: Id97070321ad6b20f349896d3b4e1ae51cc82ece7 Reviewed-on: https://gerrit.libreoffice.org/2769 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-08fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-01-28fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2012-12-29Some cppcheck cleaningJulien Nabet
Change-Id: Id027823617d2328b9e827268825812634731a828
2012-11-17callcatcher: remove another layer of binfilter-released methodsCaolán McNamara
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-14callcatcher: more binfilter freed up methodsCaolán McNamara
Change-Id: Iea3716e5c7a21f083f36ce4b8d43ae9fc85227f7
2012-11-14callcatcher: update unused code post binfilter deathCaolán McNamara
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-10-22loplugin: various warningsCaolán McNamara
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-13loplugin: some log, indent and unused variable warningsCaolán McNamara
fix up some indents, remove some unused OUStrings and add some log areas Change-Id: I5c50807aff7a726b03b72522975d9b75e6685b9b
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-08-31UniString->OUStringCaolán McNamara
Change-Id: I65db3f419a69542d1dc19a3879eb1a07d7f2ff43
2012-08-18re-indent falsely formatted code in tools/sourcePhilipp Riemer
Change-Id: Ibc26313e79dd5f992c4bfb9454a9798fb1a78f00
2012-08-18removed commented out code in tools/sourcePhilipp Riemer
Change-Id: I4b895b1878626aaa0bbaef7a83408809fa8ccaec
2012-08-18removed ascii-art and blank lines in tools/sourcePhilipp Riemer
Change-Id: I3f95d12a8c325c96c586253b5d9bb7dce24c0858
2012-08-13Convert from including tools/list.hxx to tools/contnr.hxxNoel Grandin
Change-Id: I728995adb333df7c647674bba3bca7fe6fef78d0
2012-08-08STL'ify SV_DECL_IMPL_PERSIST_LISTNoel Grandin
Converts it to a template based on std::vector Change-Id: Id7f89f494164c61a3a573cff443ac0e0488e93f1
2012-07-11re-base on ALv2 code. Includes:Michael Meeks
Avoid some uses of non portable #!/bin/bash in shell scripts. Patch contributed by Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1235297 remove redundant namespace, patch contributed Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1162610 removal of OS/2 port changes, and preferring our similiar tools/inc/tools/solar.h DLLPOSTFIX cleanup. i118595 - Removal of the use of getopt() from rscdep. Patch contributed by Andre Fische http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-06-28probably the last uses of the one argument String::CreateFromAscii variantCaolán McNamara
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
2012-06-28There's no reason for GetDefaultContentType to be virtualCaolán McNamara
unroll the logic a bit to simplify the only relevant case and take advantage of return optimization Change-Id: I88537e83e8fc6785d3932fb4c591d62319682c9b
2012-06-28tidy INetMessage a littleCaolán McNamara
Change-Id: I506bcdc9d72d23c44b692717ee186f9718f5a388
2012-06-25drop a UniStringCaolán McNamara
Change-Id: I01c402b885733ccc1a99d4f09c792f8a44b3a3b4
2012-06-19death to some UniStringsCaolán McNamara
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-05-31targetted revert of minor cppcheck cleanupsMichael Meeks
Change-Id: I2ec1bc3fd5dd5d38c2b3b9600265943083873515
2012-05-15ditch UniStringCaolán McNamara
Change-Id: I0671f0acf5a53a1c7f442f721bb058a3760ca18c
2012-03-20remove ToDouble/ToFloatCaolán McNamara
2012-02-27ByteString->rtl::OStringCaolán McNamara
2012-02-15Various string function clean upStephan Bergmann
Added: * rtl::OString::matchL * rtl::OString::endsWith * rtl::OString::endsWithL * rtl::OString::indexOfL * rtl::OString::replaceFirst * rtl::OString::replaceAll * rtl::OString::getToken * rtl::OUString::endsWith * rtl::OUString::replaceFirst * rtl::OUString::replaceFirstAsciiL * rtl::OUString::replaceFirstAsciiLAsciiL * rtl::OUString::replaceAll * rtl::OUString::replaceAllAsciiL * rtl::OUString::replaceAllAsciiLAsciiL * rtl::OUString::getToken plus underlying C functions where necessary Deprecated: * comphelper::string::remove * comphelper::string::getToken Removed: * comphelper::string::searchAndReplaceAsciiL * comphelper::string::searchAndReplaceAllAsciiWithAscii * comphelper::string::searchAndReplaceAsciiI * comphelper::string::replace * comphelper::string::matchL * comphelper::string::matchIgnoreAsciiCaseL * comphelper::string::indexOfL Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM -> RTL_CONSTASCII_STRINGPARAM.
2012-01-17Replaced SAL_INFO with SAL_WARN were applicable.Marcel Metz
2012-01-16Fix for fdo43460 Part XXXIX getLength() to isEmpty()Olivier Hallot
Part XXXIX Modules testtools, toolkit, tools
2012-01-16Replaced DBG_ERRORFILE with SAL_INFO.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-05ByteString->rtl::OString[Buffer]Caolán McNamara
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-01get rid of class Date and Time default ctor with system time penaltyEike Rathke
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-25ByteString->rtl::OStringCaolán McNamara