Commit Graph

9953 Commits

Author SHA1 Message Date
Daniel Marjamäki e1acef1217 archive: moved <script> from report.cgi. don't output <html> etc from report.cgi because it is inlined in /archive/index.php 2013-07-30 17:40:30 +02:00
Alexander Mai 7a324cef25 Fixed various Cppcheck inconclusive warnings 2013-07-30 12:52:27 +02:00
Daniel Marjamäki 807204e580 Fixed #4237 (False positive: (error) Memory Leak: data (references and pointer aliases)) 2013-07-30 11:30:14 +02:00
Daniel Marjamäki 66e406fe43 Makefile: update by dmake 2013-07-30 08:47:27 +02:00
Daniel Marjamäki 1bebf1fd7e AssignIf: added todo test case (pass variable by value to function) 2013-07-29 12:27:57 +02:00
Alexander Mai 39ba0d36c1 TestRunner: added test case for assignment simplification in do-while (#4881). 2013-07-29 12:10:11 +02:00
Daniel Marjamäki d9a2f542be CheckOther: removed redundant conditions. No need to check if varid is > 0 and if there is variable info. 2013-07-29 12:01:52 +02:00
Daniel Marjamäki f59164302d TestAssignIf: improved code coverage 2013-07-29 11:43:08 +02:00
Alexander Mai 3e9f6daa00 Added test cases for #4801 (Cppcheck fails to parse Posix (crash in CheckOther::checkPipeParameterSize())) 2013-07-29 10:57:41 +02:00
Daniel Marjamäki 545aad579f archive: fixed addfile URL from the report.cgi. improved xml validation for '_' in attribute values and <abc/> elements. 2013-07-29 10:21:10 +02:00
Daniel Marjamäki 57d8a8719b Merge pull request #155 from simartin/ticket_4900_errorlist
Register error added for ticket #4900 in cppcheck --errorlist
2013-07-28 16:03:36 -07:00
Daniel Marjamäki f353713718 archive: use '<?php .. ?>' instead of '<? .. ?>'. Thanks XhmikosR. 2013-07-28 23:17:56 +02:00
Simon Martin 1fe008ba4b Ensure wrongPrintfScanfParameterPositionError is shown by 'cppcheck --errorlist'. 2013-07-28 20:33:49 +02:00
XhmikosR 8e59ea9842 Add a link to the Archive in navbar. 2013-07-28 20:19:04 +02:00
XhmikosR 9f8fcdddb9 Use the full sourceforge url. 2013-07-28 20:18:53 +02:00
XhmikosR 0a97fd972c Update make.js
Simplify echo commands.

Thanks @vBm for pointing it out.
2013-07-28 18:38:46 +02:00
XhmikosR 53bf8308fa htdocs:
* update deps
* use double quotes and fix warnings
2013-07-28 18:38:40 +02:00
Daniel Marjamäki 9ff204f8bc astyle formatting, use isEnabled("warning") instead of isEnabled("style") 2013-07-28 16:13:16 +02:00
Daniel Marjamäki 1409461e4f Merge pull request #154 from simartin/ticket_4900
Fixed #4900 (error wrongPrintfScanfArgNum doesn't support positional parameters)
2013-07-28 07:10:15 -07:00
Simon Martin d01e3fa17a Handle parameter positions format strings (POSIX extensions). 2013-07-28 15:00:28 +02:00
Daniel Marjamäki 239a0819e3 astyle formatting 2013-07-28 13:17:46 +02:00
Daniel Marjamäki 7fd12ee2b5 Merge pull request #153 from simartin/ticket_4930
Fixed #4930 ((error) Internal Error: Division by zero)
2013-07-28 04:17:03 -07:00
Daniel Marjamäki 2a1af1acda CheckUninitVar: Assertion for '} while (' after 'do {..' in debug builds. Bail out in release builds to avoid segfaults. 2013-07-28 12:41:38 +02:00
Simon Martin eb3bf571be Avoid divisions by zero when simplifying numeric calculations. 2013-07-28 12:32:18 +02:00
Lucas Manuel Rodriguez 09f4d3732a Fixed #4911 (segfault, assignment in do ... while, 1.61dev) 2013-07-28 11:58:14 +02:00
Daniel Marjamäki 36ef34a2cf astyle formatting 2013-07-28 11:53:49 +02:00
Daniel Marjamäki 862eb351d5 Merge pull request #152 from simartin/ticket_4914
Fixed #4914 (memory freed twice, when in do {} while being shortcircuited via continue)
2013-07-28 01:43:45 -07:00
Alexander Mai 40fa474a5b Fixed #4927 (Segfault in CheckOther::checkCommaSeparatedReturn() on invalid code) 2013-07-28 10:39:58 +02:00
Daniel Marjamäki 43f0be06fa astyle formatting 2013-07-28 10:38:56 +02:00
Simon Martin 470a9a6c71 Take into account break and continue statements in CheckLeakAutoVar. 2013-07-28 10:26:46 +02:00
Daniel Marjamäki be11c47b82 archive: renamed createzip.cgi to archive.zip. allow rules in the archive and append .rule if the file is a rule and .cfg otherwise. 2013-07-26 11:21:42 +02:00
Daniel Marjamäki 44333f316a Added terminate() handling to get quicker response when the user wants to terminate 2013-07-24 13:06:59 +02:00
Daniel Marjamäki 178467a578 astyle formatting 2013-07-24 11:20:28 +02:00
Carlo Marcelo Arenas Belon aa0560fe3b Fixed #4925 (False positive: checkother style)
When using a variable that is assigned a function pointer checks for
pointers are triggered which would complain if used in arithmetic
comparisions (eventhough it will be valid code if the function returns
an int)
2013-07-24 08:22:24 +02:00
Daniel Marjamäki 8aa99e8c54 manual: fixed docbook syntax errors 2013-07-23 08:04:32 +02:00
Daniel Marjamäki 05aa400b68 manual: document <strz> and <formatstr> 2013-07-23 07:18:00 +02:00
Daniel Marjamäki a1fafa7f06 Library: added <formatstr> and <strz> to argument checks 2013-07-22 20:21:45 +02:00
Robert Reif 20f81f92d9 CheckIO: Improved handling of h, hh, l, and ll. 2013-07-22 08:28:29 +02:00
Daniel Marjamäki 464dccc188 htdocs/archive: added download 2013-07-22 08:22:06 +02:00
Daniel Marjamäki e54bc77ad2 astyle formatting 2013-07-22 07:26:15 +02:00
Lucas Manuel Rodriguez 7e556c215e Fixed #4861 (Improve check: object is destroyed immediately not detected when calling overloaded constructor) 2013-07-22 07:25:53 +02:00
XhmikosR 63cba99d7e Fix democlient compilation under MSYS. 2013-07-21 19:15:59 +02:00
Daniel Marjamäki 011fd3bed9 checksizeof: Fixed compiler error on VS. Missing header. 2013-07-21 19:00:12 +02:00
Daniel Marjamäki 79fa4e7226 htdocs/archive: improved xml validation 2013-07-21 17:00:12 +02:00
Daniel Marjamäki cb73a1d0c7 tools/times: modified script to allow longer dataseries 2013-07-21 13:16:34 +02:00
Daniel Marjamäki 6e7c29987d webarchive: updated validation 2013-07-21 11:27:50 +02:00
Robert Reif f11e54aa42 Fixed #4902 (printf and scanf format checks don't support microsoft %I, %I32 and %I64 extensions) 2013-07-21 08:35:01 +02:00
Daniel Marjamäki 2ab8489e1b archive: added report.c 2013-07-21 08:26:25 +02:00
Daniel Marjamäki 71138cffd2 manual: cleanup 2013-07-20 19:44:39 +02:00
Robert Reif e6ab8f478b Symbol database: improved handling of array members 2013-07-20 17:51:13 +02:00