Commit Graph

16947 Commits

Author SHA1 Message Date
Dmitry-Me bef6d6f446 Improve test coverage for %I used with scanf 2017-10-10 17:27:33 +03:00
Daniel Marjamäki fbccb3ae55 Add errorpath for accessMoved message 2017-10-10 15:49:15 +02:00
Daniel Marjamäki d22614bdaa Use cppcheck-lib.cfg in travis and during release 2017-10-10 12:29:22 +02:00
Daniel Marjamäki 917317ad3d cppcheck-lib.cfg: fix invalid XML 2017-10-10 11:27:54 +02:00
Daniel Marjamäki 4afa8ef9d7 cppcheck-lib.cfg: Added cfg file for internal use 2017-10-10 11:25:30 +02:00
Daniel Marjamäki abc3779e61 Tweaked the --check-library output so configured methods will not be shown 2017-10-10 10:18:03 +02:00
Dmitry-Me fcba5b88c2 Improve test coverage for string literals passed as read target into scanf 2017-10-09 18:50:24 +03:00
Daniel Marjamäki 243960eb8a Revert "Remove MISRA addon before the release of 1.81"
This reverts commit 9baefd8687.
2017-10-09 15:25:55 +02:00
Daniel Marjamäki 09cdead6cb GUI: Fixed problem with absolute build dir 2017-10-08 15:01:03 +02:00
Daniel Marjamäki d3c9d06aa4 astyle formatting
[ci skip]
2017-10-08 14:16:45 +02:00
Daniel Marjamäki 9d27917fea c++98 compatibility 2017-10-08 14:16:18 +02:00
Dmitry-Me 9c0e6986da Passing string literals into printf as %p is fine 2017-10-08 11:14:10 +03:00
Ayaz Salikhov be2c65eb58 Simplify int vs bool 2017-10-08 07:54:39 +02:00
PKEuS a29b33b833 Set version to 1.81.99/1.82 dev 2017-10-07 23:22:31 +02:00
Daniel Marjamäki 7b1f156ed0 GUI: Restore filemode for checkthread 2017-10-07 23:19:09 +02:00
Daniel Marjamäki 0103a75b05 Makefile: Restore debug mode after release 2017-10-07 23:15:41 +02:00
PKEuS a79b9125a4 Removed svg file from gui.qrc 2017-10-07 23:11:39 +02:00
Daniel Marjamäki 773cc07d44 cppcheckdata.py: parsing of NULL pointers from VS 32-bit and 64-bit 2017-10-07 22:44:35 +02:00
PKEuS 6ff8849419 Revert "Windows Installer: Added Qt5Svg.dll" - it seems to not work on Windows 10 and the issue was fixed by using PNG instead of SVG
This reverts commit 46dd0dbb76.
2017-10-07 17:50:16 +02:00
Daniel Marjamäki 92314b65e9 GUI: Set PYTHONPATH 2017-10-07 16:21:35 +02:00
Daniel Marjamäki ec55313c28 GUI: DataDir - use application path if datadir is not set 2017-10-07 16:09:14 +02:00
Daniel Marjamäki 3d353a021d GUI: Use llvm-dragon.png instead of llvm-dragon.svg 2017-10-07 14:41:00 +02:00
PKEuS 46dd0dbb76 Windows Installer: Added Qt5Svg.dll 2017-10-07 14:15:16 +02:00
Daniel Marjamäki 5740a91f43 AUTHORS: Added Nekto89 2017-10-07 13:43:16 +02:00
Daniel Marjamäki 9baefd8687 Remove MISRA addon before the release of 1.81 2017-10-07 13:38:21 +02:00
PKEuS 2aa6645134 Windows installer: added bsd.cfg 2017-10-07 13:34:41 +02:00
Daniel Marjamäki fd229a20de 1.81: Updated Makefile 2017-10-07 12:56:29 +02:00
Daniel Marjamäki cebf34e718 1.81: Set versions 2017-10-07 12:55:36 +02:00
Daniel Marjamäki 335c84833b Updated AUTHORS 2017-10-07 12:52:56 +02:00
Daniel Marjamäki 5b73a388bc GUI: Run lupdate 2017-10-07 12:33:40 +02:00
Daniel Marjamäki d06f718152 GUI: Updated swedish translations 2017-10-07 12:24:57 +02:00
PKEuS 55d0849180 Updated german translation 2017-10-07 11:49:15 +02:00
orbitcowboy ee6e4c3ccd std.cfg: Fixed FP in std::string:swap(). 2017-10-07 00:49:09 +02:00
orbitcowboy c978e66936 std.cfg: Added support for std::string:swap(). 2017-10-07 00:46:34 +02:00
Daniel Marjamäki b1c730405f Code cleanup 2017-10-06 22:45:37 +02:00
orbitcowboy 702a213175 std.cfg: Added support for std::vector::at(). 2017-10-06 17:02:25 +02:00
orbitcowboy 4b4796a35f std.cfg: Added support for std::string::push_back(). 2017-10-06 16:51:10 +02:00
Daniel Marjamäki 92673afc8f fixed 'make checkcfg' 2017-10-06 15:16:25 +02:00
Daniel Marjamäki e4676b70dd Remove wrong testcase test/cfg/windows.cpp, there is missing configuration for that given code 2017-10-06 14:42:19 +02:00
Daniel Marjamäki a1053dd7dd --check-library: Report unconfigured scoped functions also 2017-10-06 11:27:01 +02:00
Daniel Marjamäki 2a6fbe2e3c astyle formatting
[ci skip]
2017-10-05 23:01:42 +02:00
hexcoder 051a18b120 pull request for ticket 8180 (better diagnostic output for bailouts) (#964)
* sync build instructions from readme.txt

* refactored the patch from ticket 8180. Moved logic from macros to the bailoutInternal function

* adapt to new bailout message format

* adapt to new bailout message format

* adapt to new bailout message format

* compile fix for Microsoft platform

* remove directory part from file locations in bailout message (normalize)

* remove directory part from valueflow message filter

* adapt tests to file format without directory part

* adapt tests to file format without directory part

* new line number agnostic assert_equals methods

* new line number agnostic assert_equals methods

* adapt to new method assertEqualsWithoutLineNumbers()

* adapt to new method assertEqualsWithoutLineNumbers()

* Bugfix: do not replace line number with spaces, remove it

* review changes: const char * -> std::string, size_t -> int, std::to_string() -> MathLib::toString()

* set #line at the beginning to guard against insertions from match compiler

* Bugfix: counting lines can be difficult :-) #line 1 -> #line 2

* added method stripDirectoryPart()

* added method stripDirectoryPart()

* used new method Path::stripDirectoryPart()

* new dependency path.h in lib/valueFlow.cpp

* code cleanup, removing redundant temporary objects and casts
2017-10-05 23:03:13 +02:00
Daniel Marjamäki 13c0b4131b --check-library: improved function name output 2017-10-05 21:50:24 +02:00
Dmitry-Me d170b496ba Improve test coverage for wide string literals passed into printf 2017-10-05 17:45:06 +03:00
orbitcowboy 91202c47e6 windows.cfg: Added more returnValue-types. 2017-10-05 11:55:27 +02:00
orbitcowboy cbc95c5662 gnu.cfg: Added more returnValue-types. 2017-10-05 11:45:46 +02:00
orbitcowboy 1a4c25243c posix.cfg: Added more returnValue-types. 2017-10-05 11:38:11 +02:00
orbitcowboy beb9223b6f std.cfg: Added more returnValue-types. 2017-10-05 10:23:48 +02:00
orbitcowboy f3d5e526d0 std.cfg: Added more returnValue-types. 2017-10-05 09:58:12 +02:00
orbitcowboy 00bff02e13 Formatted the code. There are no functional changes [ci skip]. 2017-10-05 09:02:55 +02:00