Commit Graph

8805 Commits

Author SHA1 Message Date
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
XhmikosR 85c6d3e8b7 favicon.ico: use a 16x16 one 2012-09-28 19:03:55 +02:00
Daniel Marjamäki ff4f8b58f3 Disable checkComparisonOfFuncReturningBool check because of false warnings. Ticket #2617 2012-09-28 18:51:10 +02:00
Daniel Marjamäki bb62325ddb AssignIf: Better handling of complex conditions with multiple subconditions 2012-09-28 17:03:16 +02:00
Edoardo Prezioso 7362ca9e8f Fixed #4242 (segmentation fault of cppcheck (invalid code: '<')) 2012-09-28 11:24:35 +02:00
Alexander Mai 074b7781b2 Fixed #4239 (segmentation fault of cppcheck (invalid code)) 2012-09-27 06:35:36 +02:00
Alexander Mai b15cb09af6 Fixed #3489 ('cppcheck-gui -h' doesnt work on WinXP) 2012-09-26 20:26:46 +02:00
Daniel Marjamäki 9f7a0146d0 AssignIf: Detect mistake in such code: 'int x=y&4; if ((x==3)||..' 2012-09-26 20:15:46 +02:00
Mohit Mate 9e297c95f2 Fixed #2617 (improve check: comparing boolean with '<') 2012-09-26 18:18:36 +02:00
Daniel Marjamäki 8010bcfbe8 astyle formatting 2012-09-26 18:17:02 +02:00
Daniel Marjamäki 753942df0c Revert "Fixed #4165 (False positive:(error) Uninitialized variable: here)"
This reverts commit 96b1890797.
2012-09-26 16:15:35 +02:00
Daniel Marjamäki 96b1890797 Fixed #4165 (False positive:(error) Uninitialized variable: here) 2012-09-25 20:45:42 +02:00
XhmikosR 95b6288d25 win_installer: remove trailing spaces 2012-09-24 18:18:07 +02:00