summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)Author
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-15rscdep is dead and gone ... and there was much rejoicingBjoern Michaelsen
Change-Id: Id411a6caceaac92d3044fe6a2385d8b1c2f16133
2013-02-15so_checksum is dead and gone ... and there was much rejoicingBjoern Michaelsen
Change-Id: I6cba24830d397ca405646a1deb0ee0385a3b67e4
2013-02-15mkunroll is dead and gone ... and there was much rejoicingBjoern Michaelsen
Change-Id: Ib5e791e85b244ac5af5b504a237892b6d81eeba8
2013-02-13Reduce scopeJulien Nabet
Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
2013-02-13Fix Buffer overrun possible for long command line argumentsJulien Nabet
Change-Id: I5e66ded25afd08f4e203ce8484001e11e0022fca
2013-02-12Some cppcheck cleaningJulien Nabet
Change-Id: I74ff9d8d116ebfe9ebc302c79a3763eda9c1250f
2013-02-08fix incorrect string conversion in 9e310cc32923ceb4b18d97ce68d54a339b935f01Luboš Luňák
Change-Id: Ia1ddf969f876ce47b4195c60039b38f2a47f3470
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-30Get rid of STAR_RESOURCEPATHStephan Bergmann
...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
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
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- 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
2013-01-26Remove redundant braces around for loopsStephan Bergmann
...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
2013-01-22Detect SvStream::operator<< calls with bool args w/o using -Wsign-promoStephan Bergmann
...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>
2013-01-22make fast string concat comparisons non-ambiguousLuboš Luňák
Follow-up to https://gerrit.libreoffice.org/#/c/1803/ . Change-Id: I9131854a579ef57e38dfef7faa539bec98fc305b
2013-01-22tools/string.hxx: add operator==/!= for OUString/StringMichael Stahl
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>
2013-01-21Fix Variable 'nMode' is reassignedJulien Nabet
See http://nabble.documentfoundation.org/Cppcheck-Variable-nMode-is-reassigned-in-fstat-cxx-td4030405.html Thank you Stephan! Change-Id: I780d422fe03c4c125cc89fee778d820a20553c1c
2013-01-21Replaced O[U]String::valueOf( static_cast<> ) with O[U]String::number()Jean-Noël Rouvignac
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>
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-01no non-ordering dependencies on <whatever>/.dirLuboš Luňák
As that'd be like forcing a remake every single time.
2012-12-30add runtime deps for custom targetsDavid Tardon
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-29Some cppcheck cleaningJulien Nabet
Change-Id: Id027823617d2328b9e827268825812634731a828
2012-12-29Revert "String Cleanup and news OUString methods/constructors"Tor Lillqvist
Broke a unit test and made all tinderboxes red. This reverts commit 3179055dc3e267c961a5618c810fbc0df1858d72.
2012-12-28String Cleanup and news OUString methods/constructorsRicardo Montania
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>
2012-12-27Check for __GNUC__ instead of GCC in sourcesTor Lillqvist
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
2012-12-27Check for _MSC_VER instead of MSC in sourcesTor Lillqvist
Change-Id: Ibaf2501e6b655913963a53c1cd63668f1c4cccb2
2012-12-25Get rid of (most uses of) GUITor Lillqvist
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>
2012-12-17remove unused ifndefMarkus Mohrhard
Change-Id: I759d2c7cea6a27fe676d1c1a17586445aa013ee9
2012-12-17UniString::Fill -> OUStringBuffer::padToLengthCaolán McNamara
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
2012-12-14callcatcher: update unused code listCaolán McNamara
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
2012-12-13whitespace cleanupNoel Grandin
Since I'm hacking in this file anyhow, make the class definition a little prettier. Change-Id: Id47f1084fe103e85cf1dacc84a9e536774767e61
2012-12-13make the "inline" method attributes match with the method definition.Noel Grandin
And make the whitespace layout a little cleaner. Change-Id: I12b042600f061e74825de92ce836ee34ebdfabdb
2012-12-10Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10callcatcher: remove unused rtf filter and associated methodsCaolán McNamara
update and remove newly unused code, mostly original rtf filter Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-06mvoe rtl_(u)string_alloc to salLuboš Luňák
No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-05Fix commentTor Lillqvist
2012-12-05Bye bye ODMATor Lillqvist
SUSE has no interest in it any longer, and I doubt anybody else has either.
2012-12-03tools String support for fast operator+Luboš Luňák
Change-Id: I13f49a49f86a7097fce115d62271ad82609036f1
2012-12-03ugly hack to avoid virtual method in WindowMarkus Mohrhard
Change-Id: I7ffc13167f5ecbfe3afab6451e1ef52e81130d48
2012-11-28We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist
We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-27added FIXME markersEike Rathke
Change-Id: I7f9b5f9843c6f20fec17cec1e43d49624922b4fe
2012-11-27Simplify SVLIBRARYTor Lillqvist
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
2012-11-21include necessary headerLuboš Luňák
Change-Id: Ibfad213031a2ff07a752cf6b14a2fe35b6e285f4
2012-11-21debug helpers for Point, Size, Rect, etc.Luboš Luňák
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
2012-11-20Enforce use of accessors on gen.hxx structuresMatteo Casalin
Change-Id: Icd1b2937fdeaba6de1877258731f53ddf996002e Reviewed-on: https://gerrit.libreoffice.org/936 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-11-20Bin pointless _SOLAR__PRIVATE which was always 1 anywayTor Lillqvist
Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
2012-11-19Bin the HACK() sillynessTor Lillqvist
Change-Id: Ieeebc4098404fa006d66bb8b656172a4348b1dc1
2012-11-19Drop ILLEGAL_POINTER sillynessTor Lillqvist
Change-Id: I19316f0fd04f75d980719676c928c3455e0f07b7
2012-11-17callcatcher: remove another layer of binfilter-released methodsCaolán McNamara
Change-Id: Id5bedd660b2ada460ffc48ce28d4f8ab9cd89226
2012-11-16use LanguageTagEike Rathke
Change-Id: I5138eb613ba78c2bc876e45e6845eef4d1212314