summaryrefslogtreecommitdiffstats
path: root/soltools
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:staticmethodsNoel Grandin2015-04-021-3/+3
| | | | Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
* V804: Decreased performanceCaolán McNamara2015-03-021-1/+2
| | | | Change-Id: I6430442cc407e02810d849cf60833abe7c7d2830
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-234-32/+32
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* brute-force find-and-remove of unused #define constants.Noel Grandin2015-01-081-1/+0
| | | | Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
* warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)Stephan Bergmann2014-12-091-1/+1
| | | | Change-Id: Ife7d223f5e751e246c537561d3ce24395b4c9f3b
* warning C4267: conversion from 'size_t' to 'int' (MSVC 64-bit)Stephan Bergmann2014-12-093-8/+8
| | | | Change-Id: I2fa40ebe467a65b0d6023883a14c79ff4303bb2f
* coverity#1000834 Use of untrusted string valueCaolán McNamara2014-11-061-0/+1
| | | | | | | | | and coverity#706196 Use of untrusted string value coverity#1244947 Use of untrusted string value Change-Id: I5083aba2eff9e852a24513db431585922302b279
* coverity#982185 silence Unchecked return value from libraryCaolán McNamara2014-10-281-2/+2
| | | | | | | | and coverity#982184 Unchecked return value from library Change-Id: I4b4ba39abc4c008b68cfc1498ee56ac9c4934c98
* coverity#706158 Copy into fixed size bufferNorbert Thiebaud2014-10-041-5/+24
| | | | Change-Id: I5d540e6e3a21b0563febb70696882439a10b9b86
* coverity#1233618 Overlapping buffer in memory copyCaolán McNamara2014-10-021-1/+1
| | | | Change-Id: I062dd96bfc4abf2bdaec2c17d1cf57d853d655d8
* coverity#1019334 Explicit null dereferencedCaolán McNamara2014-09-041-74/+5
| | | | Change-Id: I22b85cbfda1c1bd705b35095e03cfae4071d2fb7
* mkdepend: cleanup indentation and function declarationsNoel Grandin2014-06-248-238/+186
| | | | | | | | | to make it easier to read Change-Id: Iff0fe055c12358edc1be335ec83d0855cc32f03c Reviewed-on: https://gerrit.libreoffice.org/9877 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove use of register keyword in C filesNoel Grandin2014-06-248-86/+86
| | | | | | | | | C compilers have been ignoring it for the last decade Change-Id: I42918263121dd189bab9d27077798b779b9e8da1 Reviewed-on: https://gerrit.libreoffice.org/9873 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* -Wstrict-prototypesStephan Bergmann2014-06-178-76/+25
| | | | | | | | ...no reason to not have it enabled for URE C include files and what little real C code is still left. (But note that Clang ignores that warning.) Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
* coverity#705235 Missing break in switchCaolán McNamara2014-05-301-0/+1
| | | | Change-Id: I19e8e6aa08dc879f273f2a0177b40435c0ac553d
* coverity#705236 Missing break in switchCaolán McNamara2014-05-301-0/+1
| | | | Change-Id: I8065789618f806d01cdb69a18502dfafd962b9f3
* coverity#705237 Missing break in switchCaolán McNamara2014-05-301-0/+1
| | | | Change-Id: I1f8c9aa6c7b4403346ee43501a3555abbccf1cfb
* Remove unnecessary semicolonsPeter Senna Tschudin2014-05-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* coverity#982647 Missing break in switchCaolán McNamara2014-05-241-0/+1
| | | | Change-Id: Ifa318214079eeb2f903b3e0c4a27c1a807787fd4
* Fix some memory leak in soltools/cpp toolStephan Bergmann2014-05-222-0/+2
| | | | | | | ...though many more remain, as the design appears to be let heap grow until exit. Change-Id: I3e5cc95a0896c8add33a767209ab0ff60d6a4b52
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-152-4/+4
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Clean up function declarationStephan Bergmann2014-04-103-3/+32
| | | | Change-Id: I92c54f61fe8608d788cc236956f4a5a58e20a7df
* Move prototype to includeStephan Bergmann2014-04-042-2/+2
| | | | Change-Id: I90c093c704609429f9997f3ffed6a9a79c8956a6
* Typo #elsif -> #elifStephan Bergmann2014-03-311-6/+6
| | | | Change-Id: I95d4dc2a3364172e8917d0a029564e9114943148
* WaE: 'PATH_MAX' : macro redefinitionTor Lillqvist2013-11-172-2/+6
| | | | Change-Id: I153e34d24493bbbebf37422fb6382969153506a8
* Fix for VS 2013 compilationJesús Corrius2013-11-162-2/+2
| | | | | | | I don´t know why it doesn´t work anymore, but the fix is trivial may be related of using the Windows 8.0 SDK. Change-Id: Ia09109b53d4f022a732ea781c98ddd4eb0c721d9
* WaE: size_t/unsigned int: possible loss of dataTor Lillqvist2013-08-301-3/+3
| | | | | | With MSVC, the third parameter to read() is unsigned int. Change-Id: I607089fb2a9e6bf794293187be48e910ac40158f
* left shift of 1 by 31 places cannot be represented in type 'int'Stephan Bergmann2013-08-221-2/+2
| | | | | | Clang -fsanitize=undefined Change-Id: I2b3f1bd28e098d5eb57892d2c7438c18c5c3b357
* We don't seem to actually need glibc getoptTor Lillqvist2013-08-212-9/+3
| | | | | | | Change-Id: I1f221533f5ea684d113bdc45c04bf84405140f9f Reviewed-on: https://gerrit.libreoffice.org/5539 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Mark as constTakeshi Abe2013-07-141-1/+1
| | | | Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
* soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl2013-05-106-31/+2
| | | | Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
* error: too many arguments in call to 'pr_dummy' [-Werror]Stephan Bergmann2013-04-241-1/+1
| | | | Change-Id: Ib03b6d3af9909c971245314bbde2085d8c3c73b2
* gbuild: get rid of processdeps.awkMichael Stahl2013-04-243-4/+43
| | | | | | | | | | | | | | | | | | The only thing that processdeps.awk does that is actually useful is to be able to set the target name freely, but that is only important for the default resource file which was just renamed. Instead hack makedepend to provide the required functionality directly: - write dummy rules for included files so builds don't break on rename/removal - format deps one per line like concat-deps expects - concat-deps expects standard POSIX line ends, so open in binary mode (also disable that awful backup copying nonsense) Though in retrospect it would perhaps be a better investment of time to try to replace makedepend... Change-Id: I54fafdcdcf1a52692e62b8f1f4b96fb9a93d4421
* add external for unistd.hDavid Tardon2013-04-092-7/+5
| | | | Change-Id: I728b162e21a7a2c02cb76af110cc0a01a762fdbd
* -Wunused-macrosStephan Bergmann2013-03-271-5/+3
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* reduce whitespaces between include and filenameThomas Arnhold2013-03-192-3/+3
| | | | Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* more subtle dependencies for cross-compilationMatúš Kukan2013-03-131-3/+1
| | | | | | | | | | 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
* remove dmake-only utilsPeter Foley2013-02-2810-2639/+0
| | | | Change-Id: Id0723277613cf1867b28dbd98c2249ff9ea73649
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* s/the the/the/Tor Lillqvist2013-02-221-1/+1
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-266-6/+6
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* Get rid of GetVersionInfo and checkdllTor Lillqvist2013-01-163-123/+0
| | | | | | | With gbuildification neither was actually used anyway, as far as I could see. Change-Id: I00d914e6571aed3110226f91ac1685a838031c65
* Get rid of (most uses of) GUITor Lillqvist2012-12-251-2/+2
| | | | | | | | | | 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>
* cleanup README files.Michael Meeks2012-11-051-1/+0
| | | | | Convert DOS -> unix newlines. Cleanup and clarify several files.
* add a README filesAlia Almusaireae2012-11-051-0/+1
| | | | | | | Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24 Reviewed-on: https://gerrit.libreoffice.org/989 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* fix some lousy formatting that triggers warnings from the compiler pluginLuboš Luňák2012-10-095-31/+29
| | | | Change-Id: I94cafba5363f24d608add6878c72f230f45fdb87
* -Werror,-Wc++98-compat-pedanticStephan Bergmann2012-10-031-3/+3
| | | | Change-Id: Ifbbca6bfb12d23c8726e35e799dc92be94844c8a
* -Werror,-Wheader-hygieneStephan Bergmann2012-10-032-8/+8
| | | | Change-Id: Icac29e4f433b1e72603e52a0561e60cb8a7cfdef
* nearly all soltools executables need unistd.hDavid Tardon2012-10-034-0/+24
| | | | Change-Id: I0177f624951943d1f241d395a38f13211a3ff9ef