Commit Graph

3113 Commits

Author SHA1 Message Date
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
Robert Reif a0caea4ee6 Refactoring the handling of typedefs 2010-01-16 09:18:21 +01:00
Daniel Marjamäki 81ca6e9f98 Revert "minor tweak in Borland C++ project file"
This reverts commit ad06ee4f71.
2010-01-16 08:47:46 +01:00
Daniel Marjamäki ad06ee4f71 minor tweak in Borland C++ project file 2010-01-16 08:17:40 +01:00
Reijo Tomperi d37864f8c4 Fix part of #1262 (cppcheck false positives: 'Possible null pointer dereference'
http://sourceforge.net/apps/trac/cppcheck/ticket/1262
2010-01-15 23:46:47 +02:00
Daniel Marjamäki f591d8f8e1 refactoring 2010-01-14 22:04:58 +01:00
Daniel Marjamäki 7059dd5693 astyle formatting 2010-01-14 22:01:59 +01:00
Daniel Marjamäki cca39ac1b7 lanurmi: Fixed threads handling when using Sun compiler 2010-01-14 22:01:33 +01:00
Daniel Marjamäki b9f09679c7 lanurmi: Fixed #1269 (Changes required for compiling with Sun's compiler) 2010-01-14 22:00:14 +01:00
Daniel Marjamäki ac077d3160 Fixed #1264 (False positive: Resource leak with if-else in while) 2010-01-14 21:41:50 +01:00
Daniel Marjamäki a7bddc8fd3 Fixed #1268 (Null pointer dereference false positive) 2010-01-14 20:02:38 +01:00
Henrik Nilsson 628f4ad6e7 cppcheck-htmlreport now takes a parameter for source code encoding to support non ascii characters.
Also present a nicer error message if highlighting fail for a file.
2010-01-14 09:47:38 +01:00
Daniel Marjamäki bc5800004b wrote comments about the preprocessor 2010-01-13 21:50:44 +01:00
Daniel Marjamäki cefa695dba Fixed #1265 ((error) Uninitialized variable on macro expansion) 2010-01-13 19:37:55 +01:00
Henrik Nilsson f6c24f9070 cppcheck-htmlreport now takes a --title parameter that will be displayed on top of every page. 2010-01-13 14:11:54 +01:00
Henrik Nilsson c4775b7ee4 Added !DOCTYPE declaration for html generated by the cppcheck-htmlreport tool. 2010-01-13 14:01:45 +01:00
Robert Reif 0212225859 Tokenizer: fixed typedef issues 2010-01-13 07:59:47 +01:00
Daniel Marjamäki 1aac8f3e52 Uninitialized variables: disable subfunction analysis if multiple threads are used 2010-01-12 22:33:47 +01:00