summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Revert "String Cleanup and news OUString methods/constructors"Tor Lillqvist2012-12-292-104/+13
| | | | | | Broke a unit test and made all tinderboxes red. This reverts commit 3179055dc3e267c961a5618c810fbc0df1858d72.
* String Cleanup and news OUString methods/constructorsRicardo Montania2012-12-282-13/+104
| | | | | | | Change-Id: Ia6142020330d0e12650fdc519b66f00e607eac42 Reviewed-on: https://gerrit.libreoffice.org/1491 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Check for __GNUC__ instead of GCC in sourcesTor Lillqvist2012-12-271-1/+1
| | | | | | | | | We still have checks for $(COM) being GCC or MSC in makefiles, of course. But there is no reason to pass -D$(COM) to compilations. Checking the built-in compiler-specific macros __GNUC__, _MSC_VER (etc) is the right thing to do. Change-Id: Ia961a29ba74e2c4977e5300a92318f38104c6592
* Check for _MSC_VER instead of MSC in sourcesTor Lillqvist2012-12-271-1/+1
| | | | Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
* Get rid of (most uses of) GUITor Lillqvist2012-12-251-1/+1
| | | | | | | | | | GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
* remove unused ifndefMarkus Mohrhard2012-12-172-4/+0
| | | | Change-Id: I759d2c7cea6a27fe676d1c1a17586445aa013ee9
* UniString::Fill -> OUStringBuffer::padToLengthCaolán McNamara2012-12-172-32/+0
| | | | | | | | | none of these strings starts out before "Fill" longer than the size they are asked to be filled to so there are no trailing unfilled bits to consider all of which means that we can get rid of UniString::Fill now Change-Id: I8da21e9787017da9243a2c1d7118d3fbcca2a7fb
* callcatcher: update unused code listCaolán McNamara2012-12-142-56/+2
| | | | Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
* whitespace cleanupNoel Grandin2012-12-131-17/+17
| | | | | | | Since I'm hacking in this file anyhow, make the class definition a little prettier. Change-Id: Id47f1084fe103e85cf1dacc84a9e536774767e61
* make the "inline" method attributes match with the method definition.Noel Grandin2012-12-131-23/+23
| | | | | | And make the whitespace layout a little cleaner. Change-Id: I12b042600f061e74825de92ce836ee34ebdfabdb
* Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis2012-12-101-6/+0
| | | | Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
* callcatcher: remove unused rtf filter and associated methodsCaolán McNamara2012-12-102-6/+0
| | | | | | update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
* mvoe rtl_(u)string_alloc to salLuboš Luňák2012-12-061-4/+0
| | | | | | No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
* Fix commentTor Lillqvist2012-12-051-1/+1
|
* Bye bye ODMATor Lillqvist2012-12-052-27/+1
| | | | | SUSE has no interest in it any longer, and I doubt anybody else has either.
* tools String support for fast operator+Luboš Luňák2012-12-032-1/+29
| | | | Change-Id: I13f49a49f86a7097fce115d62271ad82609036f1
* ugly hack to avoid virtual method in WindowMarkus Mohrhard2012-12-031-0/+1
| | | | Change-Id: I7ffc13167f5ecbfe3afab6451e1ef52e81130d48
* We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2012-11-281-4/+0
| | | | | | We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
* added FIXME markersEike Rathke2012-11-271-0/+6
| | | | Change-Id: I7f9b5f9843c6f20fec17cec1e43d49624922b4fe
* Simplify SVLIBRARYTor Lillqvist2012-11-271-19/+9
| | | | | | | | No need for a __DLLEXTENSION macro that is used nowhere else, and which is in the namespace reserved for the compiler implementation (two initial underscores) even. Just one #ifdef tree is enough. Change-Id: Ib2612ceba385250792c52066a720b220eb294aea
* include necessary headerLuboš Luňák2012-11-211-0/+1
| | | | Change-Id: Ibfad213031a2ff07a752cf6b14a2fe35b6e285f4
* debug helpers for Point, Size, Rect, etc.Luboš Luňák2012-11-211-0/+35
| | | | | | | | I'm kinda tired of typing it out (what kind of imbecile lumps all these classes together into one header and still can't decide whether accessors are Foo() or getFoo() and the capitalization of that?). Change-Id: I15b69280265ae8570378f9f905cca66d546a252c
* Enforce use of accessors on gen.hxx structuresMatteo Casalin2012-11-202-15/+17
| | | | | | | Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Bin pointless _SOLAR__PRIVATE which was always 1 anywayTor Lillqvist2012-11-201-5/+0
| | | | Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
* Bin the HACK() sillynessTor Lillqvist2012-11-193-8/+2
| | | | Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
* Drop ILLEGAL_POINTER sillynessTor Lillqvist2012-11-191-6/+0
| | | | Change-Id: I19316f0fd04f75d980719676c928c3455e0f07b7
* callcatcher: remove another layer of binfilter-released methodsCaolán McNamara2012-11-172-34/+0
| | | | Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
* use LanguageTagEike Rathke2012-11-161-1/+2
| | | | Change-Id: I5138eb613ba78c2bc876e45e6845eef4d1212314