Daniel Marjamäki
e8b6235e23
dmake: pathmatch was moved from cli to lib
2016-10-02 13:15:51 +02:00
Daniel Marjamäki
03d6d34396
Fixed #4399 (Exclude directory with absolute path does not work)
2016-10-02 13:02:29 +02:00
Daniel Marjamäki
3605457cbe
CLI: Fix exclude of absolute path. #4399
2016-10-02 12:38:44 +02:00
Daniel Marjamäki
91d97c556d
Path: Add methods Path::isAbsolute() and Path::getCurrentPath()
2016-10-02 12:06:55 +02:00
orbitcowboy
30b48cb80a
Merge pull request #834 from simartin/ticket_7557
...
Ticket #7557 : Test case added since the fix for #7541 also fixed this.
2016-10-01 22:14:09 +02:00
Simon Martin
d3c6fb4ccf
Ticket #7557 : Test case added since the fix for #7541 also fixed this.
2016-10-01 21:21:07 +02:00
orbitcowboy
f00636c0d3
Merge pull request #833 from simartin/ticket_7541
...
Ticket #7541 : Properly keep track of namespace definition end markers
2016-10-01 21:08:00 +02:00
Simon Martin
3f415673e4
Ticket #7541 : Properly keep track of namespace definition end markers when there are multiple of them.
2016-10-01 20:46:33 +02:00
orbitcowboy
ee0602cd21
Merge pull request #832 from simartin/ticket_7068
...
Ticket #7068 : Treat "memset(&this->member, ..." as member initialization
2016-10-01 15:36:32 +02:00
Simon Martin
dc61b6342d
Ticket #7068 : Treat "memset(&this->member, ..." as member initialization.
2016-10-01 13:46:58 +02:00
Daniel Marjamäki
6f133a397b
Fixed #3492 (GUI: after edit project recheck use old settings)
2016-10-01 13:08:58 +02:00
Daniel Marjamäki
d4d1d32937
GUI: use early return
2016-10-01 12:06:04 +02:00
Daniel Marjamäki
cf9ece4187
astyle formatting
...
[ci skip]
2016-10-01 12:04:13 +02:00
Daniel Marjamäki
1beb22a247
Fixed #7746 (Cppcheck can not open compile_commands.json (only compile_database.json))
2016-10-01 11:25:58 +02:00
Daniel Marjamäki
9dcad7115a
Fixed #7743 (--config-exclude no longer supported)
2016-09-30 08:00:06 +02:00
Daniel Marjamäki
190cc82d63
Merge pull request #831 from Chocobo1/desktop
...
Add .desktop file
2016-09-27 12:12:29 +02:00
Chocobo1
54ac95223e
Resize page to content.
...
Results in better menu icon
2016-09-27 17:06:26 +08:00
Chocobo1
0972de14f1
Rename icon.svg to cppcheck-gui.svg
2016-09-27 16:28:36 +08:00
Chocobo1
4e11c0004d
Rename icon.png to cppcheck-gui.png
2016-09-27 16:28:36 +08:00
Chocobo1
bdc59a51dc
Add .desktop file
2016-09-27 16:05:38 +08:00
Daniel Marjamäki
a3a392a8c4
Merge pull request #830 from JIghtuse/master
...
Show struct member in unsignedLessThanZeroError warning
2016-09-22 14:38:59 +02:00
Boris Egorov
0154d39bf6
Show struct member in unsignedLessThanZeroError warning
...
Before:
[/tmp/test.c:8]: (style) Checking if unsigned variable '.' is less than zero.
[/tmp/test.c:12]: (style) Checking if unsigned variable '.' is less than zero.
After:
[/tmp/test.c:8]: (style) Checking if unsigned variable 'd.n' is less than zero.
[/tmp/test.c:12]: (style) Checking if unsigned variable 'd.n' is less than zero.
2016-09-22 08:03:30 +07:00
Daniel Marjamäki
652043fa22
daca2: allow setting cpu limit
2016-09-20 12:46:15 +02:00
Daniel Marjamäki
1c970df17f
Revert "GUI: fix results if there is problem only in header and not in file-1."
...
This reverts commit 997a3cd9ca
.
2016-09-19 15:40:15 +02:00
Daniel Marjamäki
997a3cd9ca
GUI: fix results if there is problem only in header and not in file0.
2016-09-18 21:32:53 +02:00
Matthias Krüger
2f39ed6f88
redundantPointerOpError: put pointer name into single quotes in the error message.
2016-09-16 22:18:24 +02:00
Daniel Marjamäki
3bdbce0bde
bump simplecpp 2917a13fbda2df9742d5f45d33f40f58217b6708
2016-09-11 20:27:57 +02:00
Daniel Marjamäki
a396e2f839
Updated AUTHORS for #4920 fix.. so it won't be forgotten later.
2016-09-11 17:18:54 +02:00
Daniel Marjamäki
6b55acd7af
CheckIO: Changed severity for '.. aka' warnings to portability. If type is compatible then it's just a possible portability issue.
2016-09-11 17:05:01 +02:00
orbitcowboy
f0797c3924
Merge pull request #829 from simartin/ticket_7680
...
Ticket #7680 : Properly handle ::delete during memory leak checks.
2016-09-10 15:55:31 +02:00
Simon Martin
f816fb811e
Ticket #7680 : Properly handle ::delete during memory leak checks.
2016-09-10 14:55:50 +02:00
Daniel Marjamäki
fb405e9f85
Merge pull request #822 from microe/pygments_is_a_required_package
...
Pygments is a required package
2016-09-10 10:56:35 +02:00
orbitcowboy
a50405b8ab
cli: Added documentation for --doc option.
2016-09-09 14:03:12 +02:00
amai2012
4936f23e9a
Merge pull request #825 from jpwco/master
...
Update cppcheckdata.py
2016-09-08 12:49:40 +02:00
John-Paul Ore
ffa8af69f2
Update cppcheckdata.py
...
fixes problem reading from dump files. One character typo in Scope class.
2016-09-07 10:38:27 -05:00
Daniel Marjamäki
ac1a869d60
unused struct members: don't warn about packed structs ( #3088 )
2016-09-05 17:27:12 +02:00
Daniel Marjamäki
4d22ada078
Fixed #5839 (False positive: Function can be const, if this is passed to functor)
2016-09-04 16:36:04 +02:00
Daniel Marjamäki
ce7bfba416
Refactoring CheckClass::checkConst. Use continue.
2016-09-04 16:06:54 +02:00
Daniel Marjamäki
54db79305b
Redo refactoring of CheckClass::checkConst.
2016-09-04 16:02:59 +02:00
Daniel Marjamäki
530a05e40e
Refactoring CheckClass::checkConst. Use continue.
2016-09-04 15:38:56 +02:00
Daniel Marjamäki
03a6282ab3
Fixed #7338 (Library: method in base class)
2016-09-04 14:14:21 +02:00
Daniel Marjamäki
60f22bd4ee
Fixed #7477 (False positive 'Assigned value is never used' in multithreaded context)
2016-09-03 20:38:36 +02:00
Daniel Marjamäki
b97bdb5300
bump simplecpp to rev b50ced8ac14f8debab9e85e78036f881ff2b3965
2016-09-03 12:29:45 +02:00
Roberto Martelloni
28f1222dc2
CWE mapping of useAutoPointerMalloc, uselessCallsCompare, uselessCallsSwap, uselessCallsSubstr, uselessCallsEmpty, uselessCallsRemove, derefInvalidIterator, reademptycontainer, multiplySizeof, divideSizeof, stringLiteralWrite, incorrectStringCompare, literalWithCharPtrCompare, charLiteralWithCharPtrCompare, incorrectStringBooleanError, staticStringCompare, stringCompare, signConversion, truncLongCastAssignment, truncLongCastReturn, unusedFunction, unusedVariable, unusedAllocatedMemory, unreadVariable, unassignedVariable, unusedStructMember, postfixOperator, va_start_wrongParameter ( #824 )
...
Add an optional extended description…
2016-09-03 00:31:35 +02:00
Daniel Marjamäki
1484ceeffb
bump simplecpp to rev c49c716dfc6abc0ee23234fa413a69a08e1dc4e8
2016-08-31 11:25:03 +02:00
orbitcowboy
0422d05a34
library: Added wxwidgets.cfg file.
2016-08-29 15:29:18 +02:00
orbitcowboy
90a8dd7cf3
windows.cfg: Added support for _mkdir and _wmkdir.
2016-08-29 13:45:38 +02:00
orbitcowboy
61d642cb06
windows.cfg: Added support for _rmdir, _wrmdir.
2016-08-29 11:59:59 +02:00
Daniel Marjamäki
9417425829
Fix testrunner
2016-08-29 04:26:27 +02:00
Daniel Marjamäki
0e48625ff4
Fixed false positive when self-checking Cppcheck 'boolean result used in bitwise operation' when using boolean variables.
2016-08-29 04:09:36 +02:00