Commit Graph

4996 Commits

Author SHA1 Message Date
Daniel Marjamäki 41ac2c252f Fixed #2325 (Tokenizer: Remove for-loop if condition is false) 2010-12-18 21:43:12 +01:00
Robert Reif a2aa601899 CheckOther: Use SymbolDatabase. Ticket: #2318 2010-12-18 20:35:40 +01:00
Kimmo Varis 1d349bf4cf Update Makefile. 2010-12-18 17:12:27 +02:00
Kimmo Varis 4ebdbec621 Update dmake to use basepath in lib.pri. 2010-12-18 17:11:19 +02:00
Kimmo Varis 67713e47bd Update test.pro for using base path for included pri files. 2010-12-18 17:07:20 +02:00
Kimmo Varis 062eabf246 Don't use relative paths in lib.pri.
Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
2010-12-18 17:03:46 +02:00
Kimmo Varis a60b933ac7 Don't use relative paths in tinyxml.pri.
Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
2010-12-18 16:29:58 +02:00
Kimmo Varis b6391b2427 Reformat tinyxml qmake file.
Have one filename at one line.
2010-12-18 16:22:58 +02:00
Daniel Marjamäki 79ea453913 Preprocessor: Report 'missing system include' with debug severity. temporary solution until the handling of system includes is better. 2010-12-18 14:45:53 +01:00
Daniel Marjamäki da15277675 QMake: added test/test.pro 2010-12-18 12:13:11 +01:00
Kimmo Varis 5d89b2ffc7 Add _CRT_SECURE_NO_WARNINGS for Windows CLI build. 2010-12-18 12:21:58 +02:00
Daniel Marjamäki 8ffc2b0ac6 Tokenizer: better handling for switch/break in the simplifyKnownVariables. Ticket: #2324 2010-12-18 11:14:31 +01:00
Daniel Marjamäki f6c00fc478 Fixed #2323 (false positive: Buffer access out of bounds) 2010-12-18 10:54:36 +01:00
Daniel Marjamäki fc9c450eed Fixed #2320 (false positive: Uninitialized variable: kbuf) 2010-12-18 10:06:21 +01:00
Daniel Marjamäki 7eb9855104 Tokenizer: Remove redundant parantheses in rhs. Ticket: #2320 2010-12-18 09:44:58 +01:00
Daniel Marjamäki 18933ea0e6 QMake: auto-generate the visual studio project files with qmake 2010-12-17 21:43:47 +01:00
Daniel Marjamäki 814efb2512 Fixed #2313 (False Positive: memory leak) 2010-12-17 21:34:22 +01:00
Daniel Marjamäki 7050e9610b checkmemoryleaks: added assertion for todo assertion 2010-12-17 21:30:02 +01:00
Daniel Marjamäki c2335f845e Fixed #2306 (False positive: array of std::string is reported as uninitialized) 2010-12-17 21:20:04 +01:00
Daniel Marjamäki 696550abd3 Fixed #2299 (false positive: possible nullpointer dereference) 2010-12-17 21:09:12 +01:00
Daniel Marjamäki 845d1491f9 Fixed #2307 (No constructor defined false positive when class is enclosed in namespace) 2010-12-17 20:56:46 +01:00
Daniel Marjamäki e0a0ed6fac removed the NOLONGLONG handling. it seems unlikely it is needed 2010-12-16 21:53:18 +01:00
Daniel Marjamäki 0cebcc8fa9 Fixed #2300 (false positive: possible nullpointer dereference) 2010-12-16 21:41:50 +01:00
Daniel Marjamäki 49ee1533d9 Fixed #2301 (false positive: The given size 3 is mismatching) 2010-12-16 21:27:33 +01:00
Daniel Marjamäki 2d97189486 Fixed #2311 (False positive: Index out of bounds) 2010-12-16 20:16:59 +01:00
Daniel Marjamäki eb0231b48f astyle formatting 2010-12-16 20:15:22 +01:00
Daniel Marjamäki e5d5b25b9d build.txt: some updated instructions 2010-12-16 19:41:35 +01:00
Robert Reif f2d69acbfd Symbol database: reuse in CheckOther. Ticket: #2318 2010-12-16 19:04:47 +01:00
Robert Reif bf136f0123 Fixed #2314 (False positive: (style) Template instantiation 'Foo' hides typedef with same name) 2010-12-16 07:48:46 +01:00
Kimmo Varis 0473473e7b Merge branch 'master' of github.com:danmar/cppcheck 2010-12-15 22:40:35 +02:00
Kimmo Varis ac8eb30d68 Fixed #2309 (cppcheck-suppress issue because of path slash/backslash)
Internally we are using forward-slash and only convert to backslash
for Windows output. For suppressing we must use internal
forward-slash format of paths.
2010-12-15 22:39:46 +02:00
Ettl Martin a55d7df8a3 test:testpreprocessor.cpp; fixed broken unit test due to wrong charcter encoding 2010-12-15 21:34:31 +01:00
Kimmo Varis 5ac9a7eaa7 Update VS2010 project files for new TinyXml location. 2010-12-15 22:13:31 +02:00
Kimmo Varis cf46f2ffb9 Update VS2008 project files for new TinyXml location. 2010-12-15 22:05:05 +02:00
Daniel Marjamäki 166eabaef9 Merge commit 'vBm/master' 2010-12-15 19:40:53 +01:00
vBm 46a11183a5 Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
Kimmo Varis 7bdcbff799 Installer: Fix typo 'IntallationPath' to 'InstallationPath'. 2010-12-15 18:02:55 +02:00
Kimmo Varis b92e1dcc8c Installer: Add Japanese and Serbian translation files.
I forgot to add Japanese and Serbian translation files to the
Windows installer when adding them.
2010-12-15 17:51:51 +02:00
vBm f15539d6bb Merge branch 'master' of git://github.com/danmar/cppcheck 2010-12-15 15:55:36 +01:00
Zachary Blair 500c0a19c3 Fixed #2047 (GUI: save log to file) 2010-12-14 23:51:21 -08:00
vBm 0b8f2ef254 Merge branch 'master' of git://github.com/danmar/cppcheck 2010-12-14 15:36:19 +01:00
Zachary Blair 05ebf120c3 Fixed #2266 (GUI: Better check duration display format) 2010-12-14 00:16:26 -08:00
Daniel Marjamäki 60554bdb9f createrelease: Added comment to test 'cppcheck --errorlist'. Ticket: #2292 2010-12-13 18:22:52 +01:00
vBm 0b1006a56a Merge branch 'master' of git://github.com/danmar/cppcheck 2010-12-13 18:20:31 +01:00
Daniel Marjamäki 5ce63a1df0 Fixed #2292 (segmentation fault with cppcheck 1.46 with --errorlist) 2010-12-13 18:17:33 +01:00
vBm 7d3f6f69f0 Change case for some standardized words 2010-12-13 15:13:50 +01:00
Ettl Martin 7d1b2254d3 fixed mistake from previous commit. changes path from test/tinyxml to external/tinyxml; Thanks to kimmov. 2010-12-13 14:47:53 +01:00
Ettl Martin 515b4cce1c dmake: added test/tinyxml path to make clean 2010-12-13 13:44:40 +01:00
Kimmo Varis 9186cd8503 GUI: Add partial support for portability severity.
Add 'backend' support for the new 'portability' severity. The new
severity is handled, converted to new SHOW_PORTABILITY and added
with correct type to the result view.

There is no menuitem/toolbar button to show/hide portability
items. Likewise there is no line for portability issues in stats-
dialog.

Ticket #2106 (More severities and new xml format)
2010-12-13 11:25:45 +02:00
Daniel Marjamäki 48241c81f8 dmake: add include path '../externals' to lib.pri in case the pcre.h is placed there. 2010-12-12 17:26:13 +01:00