Commit Graph

9794 Commits

Author SHA1 Message Date
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
Daniel Marjamäki 37716fb8bb Tokenizer: Set variable() pointer for array members 2013-07-20 17:46:39 +02:00
Lucas Manuel Rodriguez 59f448da8a Fixed #4908 (False positive: void * calculation (struct member, cast)) 2013-07-20 17:20:16 +02:00
Daniel Marjamäki 0c5e39a813 Library: Added configuration file std.cfg that clients should load. 2013-07-20 17:12:56 +02:00
Daniel Marjamäki 941da42cfd GUI: updated swedish translation 2013-07-20 16:01:02 +02:00
Daniel Marjamäki 0832734503 Library: Fixed compiler error 2013-07-20 15:40:57 +02:00
Daniel Marjamäki be5e4ccfd5 Library: Renamed <ignore> to <leak-ignore> 2013-07-20 13:12:24 +02:00
Daniel Marjamäki 9c67af058a SymbolDatabase: Renamed Variable::varId() to Variable::declarationId() to make it more clear how it works. 2013-07-20 12:31:04 +02:00
Daniel Marjamäki 1a2aaa6780 Library: If load from current path fails, try to load 'default' configuration from cppcheck-executable path. Allow that '.cfg' extension is not used. Allow that multiple configurations are provided (comma separated). 2013-07-20 10:21:05 +02:00
Daniel Marjamäki 1dc8b1706b cfg/gtk.cfg: Updated configuration 2013-07-20 10:19:12 +02:00