Commit Graph

8867 Commits

Author SHA1 Message Date
Alexander Mai 3656366c7e Fixed #4257 (False Positive: String literal compared with variable - for non-pointer variable) 2012-10-07 16:26:03 +02:00
Daniel Marjamäki 0115bb8d24 Fixed #4102 (False positive: 'find('=') + 1U' can't be replaced with compare) 2012-10-07 12:43:14 +02:00
PKEuS b1a768e5ec Cleanup of includes in GUI (Removed redundant includes, use forward declarations) - Build speedup by 3% in VS10 (LINKCORE=yes, Qt 4.8.3) 2012-10-07 12:25:34 +02:00
PKEuS 5d796a5936 Updated readme_gui.txt according to suggestions of XhmikosR and my experience when trying building GUI today. 2012-10-06 21:27:39 +02:00
PKEuS fa5c8fb90b Added support to link cppcheck-core dynamically into GUI (use LINKCORE=yes when calling qmake) 2012-10-06 21:23:52 +02:00
Daniel Marjamäki 4c1abde48e Reverted 107b3b44. Write syntax error for 'if MACRO()'. We can't know if MACRO() is supposed to be used in the condition or if it is some annotation that should be removed. Ticket #4171 2012-10-06 19:12:39 +02:00
Edoardo Prezioso e3bbcf501f Fixed #4234 (segmentation fault of cppcheck in Tokenizer::simplifyFlowControl() (invalid code)) 2012-10-06 13:37:44 +02:00
Daniel Marjamäki c2b61030a8 Fixed #4254 (Tokenizer::simplifyIfAssign: varids not preserved) 2012-10-06 12:49:24 +02:00
PKEuS 47ca73c00a Hide recently added include by preprocessor configuration (as "suggested" by comment) 2012-10-06 12:19:01 +02:00
Daniel Marjamäki cebe4d98b4 runastyle: extra conversion of tabs to spaces in test folder 2012-10-03 20:14:23 +02:00
Daniel Marjamäki 10c11ec9dd more java/c# cleanup 2012-10-03 19:51:09 +02:00
Daniel Marjamäki dbddbe75bf Path: Removed java/c# handling. Thanks amai. 2012-10-03 19:47:14 +02:00
Daniel Marjamäki 1e024a9abc cleanup more java/c# code. Thanks amai for telling me about this. 2012-10-03 19:19:49 +02:00
Daniel Marjamäki 2f069f550f Removed Java/C# handling 2012-10-02 18:44:36 +02:00
Edoardo Prezioso 72666e10d1 Related to previous commit: reduce scope level, remove the now redundant check. 2012-10-02 15:19:29 +02:00
Edoardo Prezioso 60de3e75af CheckOther::checkComparisonOfBoolWithBool,checkComparisonOfFuncReturningBool: use symbolDatabase to check only tokens in executable code. 2012-10-01 15:38:31 +02:00
Daniel Marjamäki 9a462d8a0a Fixed #4225 (False positive: uninitialized variable (assignemnt in ternary expression with cast)) 2012-09-30 18:49:25 +02:00
Daniel Marjamäki a64669b1ec Fixed #4203 (Don't warn about setting NULL value for pointers and not using that value) 2012-09-30 17:22:35 +02:00
Daniel Marjamäki 9b093b404c Revert "installer: remove useless define"
This reverts commit 88c55621af.
2012-09-30 09:38:03 +02:00
Daniel Marjamäki c65ac603e9 Fixed #3837 (False positive: national locale inline asm comments are reported as unsupported) 2012-09-30 09:35:32 +02:00
Daniel Marjamäki 4e1bef5535 AssignIf: better handling of function calls 2012-09-29 19:22:34 +02:00
Daniel Marjamäki 0024310efe Fixed #4221 (Installation adds directory containing Qt DLLs to path) 2012-09-29 18:10:26 +02:00
XhmikosR 941945bf42 missing tab to space 2012-09-29 18:02:34 +02:00
XhmikosR b2a36d5841 github.js: normalize comment 2012-09-29 18:02:34 +02:00
XhmikosR 830f4559a0 batch files: switch to the batch file directory before doing anything else so that relative paths work right even if the batch file isn't called from its directory 2012-09-29 17:32:04 +02:00
XhmikosR fc97edab1b installer: CompressionLevel='high'
This decreases the installer's size from 9.78MB to 8.22MB.
2012-09-29 17:20:10 +02:00
XhmikosR 88c55621af installer: remove useless define 2012-09-29 17:19:56 +02:00
Tim Gerundt 1eb36e9810 htdocs: Use also GeSHi styles for example code 2012-09-29 15:00:52 +02:00
Tim Gerundt 0d9640eb10 htdocs: Rename geshi(.min).css to demo(.min).css 2012-09-29 14:45:04 +02:00
Tim Gerundt 4df326051d htdocs: Move some CSS rules to geshi(.min).css file 2012-09-29 14:41:18 +02:00
PKEuS c4b881f844 Refactorizations in tokenize.cpp and testsimplifytokens.cpp:
- Avoid const_cast in testsimplifytokens.cpp
- Removed redundant null-check (VS11 code analysis)
- Fixed MSVC compiler warning
- Replaced some indentation counters
2012-09-29 14:10:41 +02:00
XhmikosR 9b5c245899 tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-29 13:49:16 +02:00
XhmikosR 5101243c64 use const_cast instead of c cast 2012-09-29 13:15:09 +02:00
XhmikosR 5893b0dad3 man: tabs to spaces, remove trailing spaces and extra empty lines at the end of files 2012-09-29 13:15:08 +02:00
XhmikosR 2542c76ecd update minify scripts 2012-09-29 13:09:21 +02:00
PKEuS 5980eb81d1 Fixed cppcheck message in checkclass.cpp 2012-09-29 12:19:30 +02:00
PKEuS 7a1e64fdd4 Replaced unsafe local isFunction() function by symboldatabase. 2012-09-29 11:32:11 +02:00
PKEuS c17853949d Fixed scope handling problems with CheckOther::checkComparisonOfFuncReturningBool(), removed its experimental status. 2012-09-29 11:23:30 +02:00
Daniel Marjamäki 10aa667648 assignif: Fixed testcase. parse while loops if variable is local and not external. 2012-09-29 10:54:09 +02:00
Daniel Marjamäki b6153a00ee assign-if: Fixed token match 2012-09-29 10:41:34 +02:00
Daniel Marjamäki 44926654a4 df 2012-09-29 10:41:12 +02:00
Daniel Marjamäki 12cfdee61b AssignIf: Check into scopes recursively 2012-09-29 10:33:54 +02:00
Daniel Marjamäki 52be4a5925 Disabled checkComparisonOfBoolWithBool since there are false positives. Ticket #2617 2012-09-28 19:11:36 +02:00
XhmikosR 28df610a6e switch to the minified simplepie 2012-09-28 19:05:45 +02:00
XhmikosR e2d6c4eda7 switch to protocol-relative URL for fonts 2012-09-28 19:05:28 +02:00
XhmikosR 51a2a4ae8a htdocs: add a simple script to minify css and js files 2012-09-28 19:05:12 +02:00
XhmikosR a7794fd274 htdocs: remove trailing spaces 2012-09-28 19:04:57 +02:00
XhmikosR cc0b8fe78d .htaccess: add ETag removal, improve gzip compression 2012-09-28 19:04:36 +02:00
XhmikosR 737104fe89 .htaccess: add expires headers 2012-09-28 19:04:24 +02:00
XhmikosR 602b5af307 cosmetics 2012-09-28 19:04:11 +02:00