8631 Commits

Author SHA1 Message Date
Edoardo Prezioso
1e4b080737 Fixed #4278 (syntax error). 2012-10-11 13:35:20 +02:00
Robert Reif
c7961b147d speed up checks by caching commonly looked up stuff in the symbol database 2012-10-11 06:12:24 +02:00
Robert Reif
bbfd676b4e speed up checks by caching commonly looked up stuff in the symbol database 2012-10-10 20:42:07 +02:00
Edoardo Prezioso
e62e03ab31 Fixed #4267 (segmentation fault of cppcheck (invalid code)). 2012-10-09 20:44:30 +02:00
Edoardo Prezioso
3703e71f82 Related to previous commit: if the '{}' parenthesis are found after 'case', don't skip them after continuing to the main loop or it will cause indentlevel mismatching. 2012-10-09 18:24:21 +02:00
Edoardo Prezioso
9668508b32 Tokenizer::simplifyLabelsCaseDefault:
use more efficient check for 'const' token;
remove redundant NULL checks thanks to commit e3bbcf501f5dc32752f2144415f0d131e43bb190.
2012-10-09 17:52:20 +02:00
Ettl Martin
2cf75d5339 astyle run 2012-10-08 21:50:21 +02:00
Ettl Martin
0879bb5825 #4245: Segmentation fault (invalid code); Applied patch from amai. 2012-10-08 21:49:25 +02:00
Daniel Marjamäki
f74c30e116 Fixed #4231 (False positive: (error) Returning/dereferencing 'ptr' after it is deallocated / released (ignoring goto)) 2012-10-08 17:23:47 +02:00
Daniel Marjamäki
61183e7896 astyle formatting 2012-10-08 16:23:05 +02:00
Robert Reif
8ccbde117a Fixed #4261 (CheckOther::checkComparisonOfFuncReturningBool using wrong function scope test) 2012-10-08 16:15:07 +02:00
Edoardo Prezioso
74d735247f run 'lupdate gui.pro ; lrelease gui.pro'. 2012-10-07 23:53:42 +02:00
Daniel Marjamäki
fefd8529c6 Fixed #4007 (False positive: 'Possible null pointer dereference' when using short-circuit evaluation) 2012-10-07 19:06:49 +02:00
Daniel Marjamäki
6a37942431 Fixed #3935 (False report for accessing array out of bounds after casting to short) 2012-10-07 18:38:05 +02:00
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 88c55621afa8ed472e8759467177a3cbb3e35735.
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