Daniel Marjamäki
df03e3a8d2
Fixed #4395 (Wrong simplification of known variables in nested assignment)
2012-12-10 06:08:33 +01:00
Robert Reif
5a7ede2563
Fixed #4391 (False positive: ctor not detected after variable declaration)
2012-12-10 06:01:29 +01:00
Frank Zingsheim
327db15284
Fix #4045 : memory leak not reported after usage of " + p[]"
2012-12-09 08:59:21 +01:00
Daniel Marjamäki
927a6e4794
Obsolete functions: removed 'ctime' warning. The function is obsolete but the message don't point out a good replacement nor where it's documented that this function is obsolete
2012-12-09 09:35:57 +01:00
Daniel Marjamäki
b107e5e9e8
cppcheckexecutor: removed time info from verbose progress info. the ctime function that is used is not threadsafe.
2012-12-09 09:30:18 +01:00
Daniel Marjamäki
a11ec4a5ee
matchcompiler: replaced regular expression with simple code that parses the code better
2012-12-08 19:29:16 +01:00
Daniel Marjamäki
9fcfb38a1c
matchcompiler: merged regular expressions to a single expression
2012-12-08 16:22:55 +01:00
PKEuS
410c0f98d9
Refactorized CheckObsoleteFunctions:
...
- Speedup checkobsoletefunctions by using symboldatabase and by not calling SymbolDatabase::findFunctionByToken() for each function call.
-> Benchmark (SQlite amalgamation):
CheckObsoleteFunctions::runSimplifiedChecks(): 9s -> 0,016s (562%, 4% on entire runtime)
- Fixed false negative when passing function result as parameter
2012-12-08 02:46:30 -08:00
PKEuS
578e582987
Fixed regression #4368 .
2012-12-08 00:26:10 -08:00
Daniel Marjamäki
0f1e150386
Travis: Run 'make test' with compiled patterns
2012-12-08 07:43:07 +01:00
Daniel Marjamäki
bef0cf149b
matchcompiler: reverted changes so the 'make test' works again
2012-12-08 07:41:18 +01:00
PKEuS
068c695bd1
Fixed false positive when ternary operator is used: case A&&B?B:A:
2012-12-07 12:44:30 -08:00
PKEuS
0ac4c3baf4
New check: Find suspicious case labels like 'case A||B:'
2012-12-07 12:27:32 -08:00
PKEuS
65db8b8b9f
Fixed #4229
2012-12-07 11:45:20 -08:00
PKEuS
1f87961c16
Fixed recent regression in GUI: multiple messages with same Id in the same line weren't shown
2012-12-07 04:35:14 -08:00
PKEuS
2a1ca20795
Fixed duplicate rows on windows when file name case differs ( #2041 )
2012-12-07 03:54:28 -08:00
Edoardo Prezioso
0273c183a7
Run astyle and update the translation files.
...
I believe we need a hook script because else everytime we change a file we have to make a new commit to fix the discrepancies problems.
2012-12-07 01:49:51 +01:00
Frank Zingsheim
a24f224a38
Revert "Support for older Qt versions which do not support "setPlaceholderText""
...
This reverts commit 9784a426f4
.
Support for older Qt versions is not desired.
See https://github.com/danmar/cppcheck/pull/31
2012-12-06 22:21:44 +01:00
PKEuS
4737966caf
Unit test cleanup: Removed some empty lines and whitespaces before \n.
2012-12-06 10:19:22 -08:00
PKEuS
ae447a192a
Removed some more nested redundant QHBoxLayout/QVBoxLayout/QWidget were it is safe to remove them.
2012-12-06 19:00:38 +01:00
PKEuS
77bab29809
Updated german translation
2012-12-06 18:57:19 +01:00
Robert Reif
63b585424d
Fixed #4386 (False positive: ctor not detected)
2012-12-05 20:31:17 +01:00
Frank Zingsheim
b99d3f0767
Style change: Fixed #4369 (false positive: Variable 'i' is assigned a value that is never used)
...
based on aebdb3769f
due to comment in aebdb3769f
2012-12-05 20:18:14 +01:00
Daniel Marjamäki
599642d5a9
Reverted last revert again.. still not working
2012-12-04 23:47:09 +01:00
Daniel Marjamäki
a69329a69b
Revert "Reverted travis update. It doesn't work for some reason."
...
This reverts commit 301a5527f5
.
2012-12-04 23:39:09 +01:00
Daniel Marjamäki
9bd222970e
matchcompiler: fixed hang. don't know why it hangs.
2012-12-04 23:38:49 +01:00
Daniel Marjamäki
301a5527f5
Reverted travis update. It doesn't work for some reason.
2012-12-04 23:21:25 +01:00
Daniel Marjamäki
3724ce8e8e
Travis: Add testing of matchcompiler
2012-12-04 23:00:56 +01:00
Daniel Marjamäki
ae7846bf7e
matchcompiler: added some selftests for findMatchPattern
2012-12-04 22:57:52 +01:00
Frank Zingsheim
9784a426f4
Support for older Qt versions which do not support "setPlaceholderText"
2012-12-04 22:47:47 +01:00
Frank Zingsheim
aebdb3769f
Fixed #4369 (false positive: Variable 'i' is assigned a value that is never used)
2012-12-04 21:39:51 +01:00
Frank Zingsheim
590704afb4
Missing semicolon in "do {} while();" tests of testunusedvar.cpp ( #4180 )
2012-12-03 21:49:53 +01:00
Daniel Marjamäki
c91250cd6e
Fixed #4277 (duplicateExpression finds false positive for floats in a union as a member of a class)
2012-12-03 17:05:37 +01:00
XhmikosR
ab82cc6305
htdocs/demo/index.php: fix typo
2012-12-03 12:33:20 +01:00
XhmikosR
7000dbadd5
update .htaccess to the latest html5 boilerplate git
2012-12-03 12:33:07 +01:00
XhmikosR
ebd5c17b52
combine css and js files
2012-12-03 12:32:56 +01:00
XhmikosR
1479a50db9
update jQuery to 1.8.3
2012-12-03 12:32:44 +01:00
XhmikosR
25b76894f7
htdocs: switch to uglify-js 2.x
2012-12-03 12:32:33 +01:00
XhmikosR
9ba25a891a
htdocs/site/css: merge similar selectors and create the minified css with the latest clean-css
2012-12-03 12:32:21 +01:00
XhmikosR
217a8bcc59
htdocs/index.php: break a couple of very long lines and fix a typo
2012-12-03 12:32:09 +01:00
XhmikosR
7fb5c0d73b
minify.bat: update workaround for node.js exiting
2012-12-03 12:31:57 +01:00
XhmikosR
f8c99ce065
htdocs/site/css: reindent
2012-12-03 12:31:45 +01:00
XhmikosR
912d93b5c3
htdocs: update SimplePie to v1.3.1
2012-12-03 12:31:32 +01:00
Daniel Marjamäki
514d06b015
Makefile: minor cleanup
2012-12-03 06:34:43 +01:00
Daniel Marjamäki
b08ba5b575
Preprocessor: Refactoring previous fix
2012-12-02 20:17:25 +01:00
Daniel Marjamäki
cb06d07ae7
Fixed #4351 (Escaped whitespace gives wrong error)
2012-12-02 18:04:19 +01:00
Daniel Marjamäki
94930c3bd7
Compiled Token::Match patterns: let 'make clean' cleanup compiled patterns
2012-12-02 13:42:48 +01:00
Daniel Marjamäki
ef5eece286
Compiled Token::Match patterns: extended match patterns and refactored the script a little
2012-12-02 13:39:59 +01:00
Daniel Marjamäki
d630d34b62
Compiled Token::Match patterns. Added python script solution. Python is required to build with compiled patterns. To build cppcheck with compiled patterns use 'make LIBDIR=build'.
2012-12-02 12:36:55 +01:00
Daniel Marjamäki
15ef6bb32f
Fixed #4382 (Use of alloca causes VLA recommendation in C++)
2012-12-02 11:39:26 +01:00