summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* more subtle dependencies for cross-compilationMatúš Kukan2013-03-132-10/+4
| | | | | | | | | | Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
* fix merge conflictThomas Arnhold2013-03-121-1/+1
| | | | Change-Id: I015a0065a88022ad4ff93711f1faae2874ccf506
* tempfile: Creating tempfiles in a given folder is not usedThomas Arnhold2013-03-122-81/+31
| | | | | | | | | | | | | | | | | 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
* fdo#38838: Converting String/UniString to OUStringelixir2013-03-112-6/+6
| | | | | | | Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9 Reviewed-on: https://gerrit.libreoffice.org/2586 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* Change definition of "dark" colour for fdo#61993Luke Deller2013-03-112-3/+3
| | | | | | | | | | | | | | | | | | | | - 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>
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-091-1/+1
| | | | Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
* fix regression reading OleStorages ( over THRESHOLD size )Noel Power2013-03-081-1/+1
| | | | Change-Id: I26daefd898873037325c02d96018890ebc7cb1b6
* fdo#38838 Replaced some use of (Uni)String with OUString.Jean-Noël Rouvignac2013-03-071-1/+1
| | | | | | | | 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>
* Translate German commentsPhilipp Weissenbacher2013-03-042-11/+7
| | | | | | | Change-Id: I3c4b8fa5b80bdd4a38dc9ea15ad805e9430a6e68 Reviewed-on: https://gerrit.libreoffice.org/2540 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* SHL_SHL1 now unused, tooThomas Arnhold2013-03-041-1/+1
| | | | Change-Id: If73c578cf698b11b14b0f97b5f0deb0febac9b2f
* remove unused and commented out codeThomas Arnhold2013-03-041-1/+1
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* The macro FEAT_FSYS_DOUBLESPEED has been removed and the related #if / ↵Jiri Blecha2013-03-044-29/+12
| | | | | | | #endif have been removed too. Bug: 61516 Change-Id: Id347e87a8789ddbe550dde7d7281d9c1cad0c199
* fdo#61513: Remove FSysFailOnErrorImpl macroMarcos Paulo de Souza2013-03-045-18/+0
| | | | | | This patch removes all used of this useless macro. Change-Id: Ib3842ef28ea676e75b18c192f8d9610dcb3c3d0c
* binfilter: remove some tracesThomas Arnhold2013-03-032-24/+1
| | | | Change-Id: I5b03dcb5d1f8c73c7a308e7ae209cc7872f18c61
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-032-2/+2
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac2013-02-272-58/+0
| | | | | | | | | | | | 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
* tools: move FileCopier out of public headers, and remove unused bits.Michael Meeks2013-02-274-70/+93
| | | | Change-Id: Iccd052ae2587bb4448ecb5bc94aeba5dd2a2291e
* port horrible tools temp directory abstraction to sal.Michael Meeks2013-02-276-60/+21
| | | | Change-Id: I3688c8babf7719091404317b13014283a8ce9492
* sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl2013-02-271-1/+1
| | | | Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
* loplugin: unused variablesThomas Arnhold2013-02-241-2/+0
| | | | Change-Id: I7fc203900256839e679bf73b717d121fedc42087
* fdo#38838 searched, replaced and removed String::CreateFromInt32().Jean-Noël Rouvignac2013-02-243-11/+5
| | | | | | | | | | | | | 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>
* Fix typo "sucessfully" -> "successfully"Julien Nabet2013-02-231-2/+2
| | | | Change-Id: I01c85e4d3853c44fa05acc3019bc35c56c4f655e
* sal: update log areasThomas Arnhold2013-02-232-2/+2
| | | | Change-Id: Id7b2c7e871abf19b70f427095371c6a6c0208607
* [Uu]sefull -> [Uu]sefulJulien Nabet2013-02-221-1/+1
| | | | Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
* s/the the/the/Tor Lillqvist2013-02-221-1/+1
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* fix snafu that crept in with 5da5cd60acb7a18878300da7f4b0acb0dbad1888Michael Meeks2013-02-211-3/+2
| | | | Change-Id: I391a415e0f4bf3813637191ef04c0b5f72a2c470
* fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERTRadu Ioan2013-02-191-3/+3
| | | | | | | | | | - 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>
* rscdep is dead and gone ... and there was much rejoicingBjoern Michaelsen2013-02-156-629/+0
| | | | Change-Id: Id411a6caceaac92d3044fe6a2385d8b1c2f16133
* so_checksum is dead and gone ... and there was much rejoicingBjoern Michaelsen2013-02-155-254/+0
| | | | Change-Id: I6cba24830d397ca405646a1deb0ee0385a3b67e4
* mkunroll is dead and gone ... and there was much rejoicingBjoern Michaelsen2013-02-153-274/+0
| | | | Change-Id: Ib5e791e85b244ac5af5b504a237892b6d81eeba8
* Reduce scopeJulien Nabet2013-02-131-2/+1
| | | | Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
* Fix Buffer overrun possible for long command line argumentsJulien Nabet2013-02-131-1/+1
| | | | Change-Id: I5e66ded25afd08f4e203ce8484001e11e0022fca
* Some cppcheck cleaningJulien Nabet2013-02-121-10/+7
| | | | Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
* fix incorrect string conversion in 9e310cc32923ceb4b18d97ce68d54a339b935f01Luboš Luňák2013-02-081-1/+2
| | | | Change-Id: Ia1ddf969f876ce47b4195c60039b38f2a47f3470
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-02-083-19/+18
| | | | | | | Change-Id: I6daea312198fae3a9717bd8d4fea6371aa4cd275 Reviewed-on: https://gerrit.libreoffice.org/1962 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Get rid of STAR_RESOURCEPATHStephan Bergmann2013-01-301-61/+28
| | | | | | | | | ...the only remaining use was for CppunitTest to find the .res files in $(OUTDIR)/bin/. Get that solved by delivering the .res files also to $(OUTDIR)/unittest/install/program/resource/ (new gb_ResTarget_get_unittest_target). Change-Id: I370e7cab4223256356c7511b88ae63d9c0dbf215
* fdo#38838 Some removal/replacement of the String/UniString with OUStringJean-Noël Rouvignac2013-01-281-17/+17
| | | | | | Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString. Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-262-1/+6
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Remove redundant braces around for loopsStephan Bergmann2013-01-261-1/+2
| | | | | | | ...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
* Detect SvStream::operator<< calls with bool args w/o using -Wsign-promoStephan Bergmann2013-01-221-0/+2
| | | | | | | | | | | | | | | | ...as -Wsign-promo caused other problems and has been removed again with 488823a140217e393298bc83e75084041a85ed45 "Remove -Wsign-promo." It had originally been introduced with e8bbb76827dd7a0e30d7d1db34a812a84d85f390 "ensure correct export size type in stream operation," apparently to detect an SvStream::operator<< call with a bool argument that would pick the "int" overload instead of the "unsigned char" (aka sal_Bool) one (which would have happened to trigger the -Wsign-promo warning "by luck," given that sal_Bool is unsigned char and not signed char, say). Change-Id: I0bf4389753e53a535bd90ca2a98b6a5be63d179a Reviewed-on: https://gerrit.libreoffice.org/1798 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* make fast string concat comparisons non-ambiguousLuboš Luňák2013-01-221-0/+52
| | | | | | Follow-up to https://gerrit.libreoffice.org/#/c/1803/ . Change-Id: I9131854a579ef57e38dfef7faa539bec98fc305b
* tools/string.hxx: add operator==/!= for OUString/StringMichael Stahl2013-01-221-0/+22
| | | | | | | | | | | | This has the disadvantage that it makes comparisons involving fast OUString concatenation via operator+ ambiguous, as can be seen in scriptdlg.cxx, but it allows comparing String and OUString wihout explicit conversion, which is nice for incrementally converting code. Change-Id: Ibfc728bdb161a01e0f8311915c97bcbba8b58c0b Reviewed-on: https://gerrit.libreoffice.org/1803 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* Fix Variable 'nMode' is reassignedJulien Nabet2013-01-211-3/+1
| | | | | | | See http://nabble.documentfoundation.org/Cppcheck-Variable-nMode-is-reassigned-in-fstat-cxx-td4030405.html Thank you Stephan! Change-Id: I780d422fe03c4c125cc89fee778d820a20553c1c
* Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac2013-01-212-2/+2
| | | | | | | Change-Id: I2f11f2f15a652a9edc3c7e5b67c854debeed20de Reviewed-on: https://gerrit.libreoffice.org/1784 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-074-4/+18
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* no non-ordering dependencies on <whatever>/.dirLuboš Luňák2013-01-011-1/+1
| | | | As that'd be like forcing a remake every single time.
* add runtime deps for custom targetsDavid Tardon2012-12-301-2/+1
| | | | Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
* Some cppcheck cleaningJulien Nabet2012-12-291-1/+1
| | | | Change-Id: Id027823617d2328b9e827268825812634731a828