Commit Graph

3230 Commits

Author SHA1 Message Date
Daniel Marjamäki 744c385097 Revert "removed tools/dmake and Makefile. Please use cmake from now on."
This reverts commit cfacd5fe10.
2010-01-23 09:54:51 +01:00
Daniel Marjamäki fb10396cb3 only run CheckClass::checkConst if style checking is on 2010-01-23 09:38:35 +01:00
Daniel Marjamäki 35c303943f Partial fix for #13 - detect simple cases of member functions that can be const 2010-01-23 09:19:22 +01:00
Daniel Marjamäki 037ecffc34 detect when function pointer that is null is used 2010-01-23 09:15:30 +01:00
Daniel Marjamäki 7b986c831d Report when using uninitialized function pointer 2010-01-23 07:57:57 +01:00
Daniel Marjamäki 8a9eba980b Function pointers: re-enabled the simplifyFunctionPointers 2010-01-23 07:43:12 +01:00
Daniel Marjamäki cfacd5fe10 removed tools/dmake and Makefile. Please use cmake from now on. 2010-01-22 20:57:30 +01:00
Robert Reif 13ca2510cc Fixed #1298 ((error) ### Internal error in Cppcheck. Please report it. (typedef in fun proto)) 2010-01-22 20:26:07 +01:00
Daniel Marjamäki 1552c0f7f2 Fixed #1276 (False Uninitialized variable when using goto) 2010-01-22 20:20:43 +01:00
Daniel Marjamäki e9c8e1d8b1 doxygen and minor refactorings 2010-01-22 19:29:24 +01:00
Daniel Marjamäki 59de7934b7 Fixed #643 (Member variable not initialized not detected if any unknown function called) 2010-01-22 18:51:25 +01:00
Robert Reif 9f853cb164 Fixed #1297 (typedef causes internal error in vlc/modules/access/imem.c) 2010-01-22 17:27:40 +01:00
Daniel Marjamäki d4b13eee9f Fixed #1290 (1.40: Internal error) 2010-01-21 20:05:32 +01:00
Daniel Marjamäki 2e707974d0 Fixed #1273 (scope of variable limited not detected in latest versions) 2010-01-21 18:50:56 +01:00
Robert Reif 9f0b9551cf This patch simplifies the function pointer return type code and allows more complex return types. 2010-01-21 18:01:09 +01:00
Robert Reif e9e64033e7 Improved typedef simplification of function pointers 2010-01-21 07:51:08 +01:00
Daniel Marjamäki a6e81c2ee7 Fixed #1293 (Things to add to call_func_white_list) 2010-01-20 22:03:06 +01:00
Daniel Marjamäki 3447030564 Merge branch 'master' of git@github.com:danmar/cppcheck 2010-01-20 21:19:32 +01:00
Daniel Marjamäki 96359b14ff Simplify function pointers 2010-01-20 21:19:06 +01:00
Robert Reif e163f878ab Handle/simplify function pointer typedefs 2010-01-20 21:16:40 +01:00
Reijo Tomperi b83d257852 Fix #1296 (false positive: index out of bounds)
http://sourceforge.net/apps/trac/cppcheck/ticket/1296
2010-01-20 21:26:54 +02:00
Reijo Tomperi 863a42797f Updated cppcheck.cbp project file.
Fixes #1292 (cppcheck.cbp needs an update (V1.40))
http://sourceforge.net/apps/trac/cppcheck/ticket/1292
2010-01-19 23:22:25 +02:00
Daniel Marjamäki 85fcd4c9a9 Fixed #1282 (False positive for a memory leak in a simple loop) 2010-01-19 19:08:03 +01:00
Daniel Marjamäki f49cc7f0ff CheckMemoryLeak: Added 'scanf' and 'sscanf' to the whitelist 2010-01-18 21:58:27 +01:00
Daniel Marjamäki 32604dd55e Fixed #1266 ('qsort' missing in call_func_white_list) 2010-01-18 21:34:11 +01:00
Daniel Marjamäki 53d036fadf Added Cppcheck::terminate function that will terminate the checking ASAP 2010-01-18 20:23:50 +01:00
Robert Reif cd31cd9298 Fixed #1251 (tokenize typedef of reference) 2010-01-18 19:06:50 +01:00
Kimmo Varis 5e86403534 Installer: Add config variable for pdf manual path. 2010-01-17 21:12:25 +02:00
Kimmo Varis 91bfa42101 Merge branch 'master' of github.com:danmar/cppcheck 2010-01-17 20:41:51 +02:00
Kimmo Varis 2581c9fa9f Gui: Update year in about dialog to 2010. 2010-01-17 20:41:26 +02:00
Kimmo Varis 5a6b7871ba Installer: Create short documentation for WiX installer. 2010-01-17 20:37:13 +02:00
Kimmo Varis b6e2586669 Installer: Path variable for gui.exe was missing in one place. 2010-01-17 20:23:06 +02:00
Kimmo Varis f02d00824d Installer: Move installer configuration to new file. 2010-01-17 20:18:52 +02:00
Daniel Marjamäki fbf428550a Fixed #1262 (cppcheck false positives: 'Possible null pointer dereference', 'Uninitialized variable') 2010-01-17 19:08:45 +01:00
Daniel Marjamäki f3e25a5244 Fixed doxygen error messages 2010-01-17 16:38:28 +01:00
Daniel Marjamäki 25bf50755e Reformatting the --doc output to work better in the wiki 2010-01-17 14:56:56 +01:00
Daniel Marjamäki 3e698362c4 manual: updated version to 1.40 2010-01-17 14:05:14 +01:00
Daniel Marjamäki 004cdc68dd updated Changelog 2010-01-17 13:54:55 +01:00
Daniel Marjamäki 5595a17e41 Updated version to 1.40 2010-01-17 13:52:28 +01:00
Daniel Marjamäki 3aa67cd537 Added TODO test for better pointer aliasing with memset 2010-01-17 08:43:10 +01:00
Robert Reif 70dbb8ba17 Fixed #1275 (Cppcheck hangs when analysing the code 'typedef struct { } A, *B, **C;') 2010-01-17 08:16:17 +01:00
Kimmo Varis 2851e76414 Merge branch 'master' of github.com:danmar/cppcheck 2010-01-17 01:22:59 +02:00
Kimmo Varis 97eb380bba Installer: Add GPL v3 license.
WiX requires that license text is in RTF format so add also RTF-formatted
GPL v3 license text file.
2010-01-17 01:21:45 +02:00
Kimmo Varis ab54fb68af Installer: Update package version to 300 to use latest installer version. 2010-01-17 01:11:49 +02:00
Kimmo Varis a969a1aa9a Installer: Add variable for Qt dll location. 2010-01-17 01:09:14 +02:00
Kimmo Varis 38ef24c388 Install MS CRT runtimes.
Add VS2008 CRT merge module to the installer. This is the correct way to
install MS runtimes.
2010-01-17 01:04:41 +02:00
Kimmo Varis 3677ebcfca Installer: Add project file.
Project file allows building installer with msbuild. Add config variables
for binaries directories to avoid copying binaries to installer directory.
2010-01-17 00:27:03 +02:00
Daniel Marjamäki fbefb8df34 Fixed #1272 (links in typedef not handled correctly) 2010-01-16 19:42:37 +01:00
Daniel Marjamäki 999176396b Merge branch 'master' of git://github.com/nsmoooose/cppcheck 2010-01-16 15:28:01 +01:00
Daniel Marjamäki 0a8ca1f160 Fixed #1271 (SIGSEGV on malformed source (macro stub + fundef)) 2010-01-16 13:56:57 +01:00