summaryrefslogtreecommitdiff
path: root/tools/source
AgeCommit message (Collapse)Author
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-19tools ::Time: change constructor to fixed-length integersLionel Elie Mamane
Change-Id: I20180cda1a28f898f487aff605796077d3418be3
2013-04-19Wrap large values in SAL_CONST_INT64Stephan Bergmann
Change-Id: I9a263e2232d63e5794f757cab39b93e13c7d159f
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-12Kill empty ImpDeInitWinTools() and the header with only its definitionTor Lillqvist
Change-Id: Ica82a4612da952c0c084974b708ef9dac753dcf6
2013-04-12The silly toolsdll.cxx was the same for unx and winTor Lillqvist
Change-Id: Ia83a37980446ee9a52e096e64a9ab77f106c8b37
2013-04-10Introduce characters utilities in rtl/character.hxxArnaud Versini
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with slight modifications to sal/inc/rtl/character.hxx: * Replaced "#pragma once" with explicit include guard for now. * Missing includes. * Cosmetic clean-up. Change-Id: I94d01cd4e766f92c70f941839a67101fa2c97654
2013-04-08make internal method static.Michael Meeks
Change-Id: Id2b5bd1772009785b4aa44bf4de91e5c1b372c9e
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-04-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-04fdo#61514 clean obsolete tools/ filesystem abstractionAndras Timar
Change-Id: I7d1d5eca43d0b0f9a013e31383abc574a7b15f93
2013-04-04remove useless commentsAndras Timar
Change-Id: I90757f0d6ccdded30a49a3c54cd6bbc2f65dc755
2013-04-04fdo#44994 write out tools' FileCopier classAndras Timar
Change-Id: Ie3d04f0b2ed35099d5682d165e17c10a6d736f99
2013-04-04remove unused header: tools/fsys.hxxAndras Timar
Change-Id: Ifa740f558e5c5e9d51516b54a2b32790dbb23dd4
2013-03-29ResMgr with LanguageTagEike Rathke
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-27-Werror=unused-macrosStephan Bergmann
Change-Id: Ic44d85b0180612d499beec35e944402becd181a7
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-25remove unnecessary tools/fsys.hxx headerAndras Timar
Change-Id: If1b960853800488daf6f2a8e2a2679c7dbbdf9e9
2013-03-24Clean obsolete tools/filesystem abstractionTomas Turek
Change-Id: I74f99c48b822644b26486a66d2f15386991154d6 Reviewed-on: https://gerrit.libreoffice.org/2968 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-23tools: TempFile: create a file in ctor, not a directoryMichael Stahl
related: fdo#62617 (regression from a548924aece3dc99b2aa36b5c9b0fa52de9951ae) Change-Id: Ie29a22e2bacc5fc31c9a5d1c33c01c3b6f22fe49
2013-03-23tools: move some code around so there is less of itMichael Stahl
Change-Id: Ib93ce32cbdceae959989f9575899be0519db8377
2013-03-22clean up DBG_ERRORnThomas Arnhold
Those were DBG_ERRORn before and were falsely changed to OSL_TRACE by me. See: 1707a350af8a0909ae88c2b11deb714f8b2a93ff 533f89e49395bbc31baaab9ade46db934b383e14 Change-Id: I4f4188ba25b988128a539542f49797ea6985702e Reviewed-on: https://gerrit.libreoffice.org/2900 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-22tools: remove no longer needed CONSTASCII_STRINGPARAM macroMiklos Vajna
Change-Id: I5edf79ed165b8ed8e96e091f3f29ded0ac6067f2
2013-03-22SEARCHDELIM_C() was unusedTor Lillqvist
Change-Id: I64432470c3d53ec58d4bfe7ce5756f44bcfa5ac8
2013-03-21The private SvFileStream::GetFileHandle() was used only on UNXTor Lillqvist
Drop the Windows implementation which wasn't x64-clean anyway. Change-Id: I1622196dc4c3b940cc8d629016985cf97480a059
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-03-12fix merge conflictThomas Arnhold
Change-Id: I015a0065a88022ad4ff93711f1faae2874ccf506
2013-03-12tempfile: Creating tempfiles in a given folder is not usedThomas Arnhold
It's always the case, that the default temp folder is used. aName and aRet are always empty, pParent is no longer used. So the pParent argument makes no sense anymore. bDirectory makes no sense without pParent and is apparently unused (always sal_False by default). The include of tools/tempfile.hxx in unotools/tempfile.cxx in not necessary. Conflicts: tools/source/fsys/tempfile.cxx Change-Id: I9c53b263a640e53140a8ae8795181b1c5e43f26d
2013-03-11fdo#38838: Converting String/UniString to OUStringelixir
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-11Change definition of "dark" colour for fdo#61993Luke Deller
- Increase the threshold for "dark" colours from Luminosity<=38 to Luminosity<=60. This makes LibreOffice align more closely with MS Word when considering whether "automatic" font colour should be black or white, a decision that is based on whether the background colour is "dark". Beware that this also affects other areas. - Fix the coefficients for GetLuminosity which appeared to be off by one according to the "Rec 601" coefficients for Luma quoted at http://en.wikipedia.org/wiki/Luma_%28video%29 Change-Id: I0af1f77909713e3db5ea8ee98456146569679594 Reviewed-on: https://gerrit.libreoffice.org/2601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-08fix regression reading OleStorages ( over THRESHOLD size )Noel Power
Change-Id: I26daefd898873037325c02d96018890ebc7cb1b6
2013-03-07fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac
Change-Id: Iad623c9300919fbae34279268a5a720f978c6434 Reviewed-on: https://gerrit.libreoffice.org/2514 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-04Translate German commentsPhilipp Weissenbacher
Change-Id: I3c4b8fa5b80bdd4a38dc9ea15ad805e9430a6e68 Reviewed-on: https://gerrit.libreoffice.org/2540 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-04The macro FEAT_FSYS_DOUBLESPEED has been removed and the related #if / ↵Jiri Blecha
#endif have been removed too. Bug: 61516 Change-Id: Id347e87a8789ddbe550dde7d7281d9c1cad0c199
2013-03-04fdo#61513: Remove FSysFailOnErrorImpl macroMarcos Paulo de Souza
This patch removes all used of this useless macro. Change-Id: Ib3842ef28ea676e75b18c192f8d9610dcb3c3d0c
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27tools: move FileCopier out of public headers, and remove unused bits.Michael Meeks
Change-Id: Iccd052ae2587bb4448ecb5bc94aeba5dd2a2291e
2013-02-27port horrible tools temp directory abstraction to sal.Michael Meeks
Change-Id: I3688c8babf7719091404317b13014283a8ce9492
2013-02-24loplugin: unused variablesThomas Arnhold
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ And finally removed String::CreateFromInt32(). Change-Id: I53b26a59c68511ae09f0ee82cfade210d0de3fa5 Reviewed-on: https://gerrit.libreoffice.org/2279 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-02-23sal: update log areasThomas Arnhold
Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21fix snafu that crept in with 5da5cd60acb7a18878300da7f4b0acb0dbad1888Michael Meeks
Change-Id: I391a415e0f4bf3813637191ef04c0b5f72a2c470
2013-02-19fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan
- replaced osl_trace with sal_info - added new log areas to log-area.dox Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591 Reviewed-on: https://gerrit.libreoffice.org/2010 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-02-13Reduce scopeJulien Nabet
Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
2013-02-08fix incorrect string conversion in 9e310cc32923ceb4b18d97ce68d54a339b935f01Luboš Luňák
Change-Id: Ia1ddf969f876ce47b4195c60039b38f2a47f3470