myint
85b0a4d398
Generalize HTML check a bit
2012-09-09 14:05:38 -07:00
myint
6738a760b1
Make test names more descriptive
2012-09-09 12:29:59 -07:00
Ettl Martin
f1faaac1f2
Added testcases for #3098
2012-09-09 19:49:40 +02:00
myint
2bbdac3816
Ignore generated files
2012-09-09 10:01:39 -07:00
myint
df5fa209d4
Add pygments dependency
2012-09-09 09:59:57 -07:00
myint
97119b8de0
Add tox configuration file
...
tox makes it easy to test against multiple Python interpreters. See
http://tox.testrun.org for details.
2012-09-09 09:58:38 -07:00
myint
3cb737131b
Add tests for cppcheck-htmlreport
2012-09-09 09:58:21 -07:00
Daniel Marjamäki
d3bdd84d8b
Fixed #4175 (segmentation fault of cppcheck)
2012-09-09 18:56:26 +02:00
Daniel Marjamäki
cf8ac78069
Fixed test assertion failure caused by me
2012-09-09 18:33:41 +02:00
myint
37ac74d946
Make shebang more cross-platform
2012-09-09 08:48:13 -07:00
Daniel Marjamäki
98760de003
Merge pull request #113 from myint/python3
...
Add Python 3 compatibility
2012-09-09 07:45:13 -07:00
Daniel Marjamäki
e809e246d0
Merge pull request #112 from kimmov/gui-fixes
...
Gui fixes
2012-09-09 07:33:14 -07:00
Daniel Marjamäki
250b823fd4
Merge pull request #114 from kimmov/gui-readme
...
GUI: Update readme-file for new Qt download address etc.
2012-09-09 07:31:09 -07:00
Daniel Marjamäki
7acb04b44c
Tokenizer: improved simplification of numeric calculations
2012-09-09 16:22:39 +02:00
PKEuS
d44f10fc01
Fixed createLinks2() on this code: nvwa<(x > y)>
2012-09-09 15:31:23 +02:00
PKEuS
a748678636
Removed redundant nullpointer checks in token.cpp
2012-09-09 14:34:07 +02:00
XhmikosR
1968b6ffe0
vs2010 projects: consistently use /MP and remove default property
2012-09-09 14:20:49 +02:00
Kimmo Varis
9a52412d8f
GUI: Update readme-file for new Qt download address etc.
2012-09-09 14:39:57 +03:00
Daniel Marjamäki
ce862e02aa
dmake: New version of TinyXml needs -DTIXML_USE_STL define in linux
2012-09-09 13:08:04 +02:00
XhmikosR
ea941adae2
update TinyXML to v2.6.2
2012-09-09 12:59:43 +02:00
Daniel Marjamäki
511c5a62e7
Fixed #4141 (Crash when parsing divide by zero.)
2012-09-09 12:38:15 +02:00
Daniel Marjamäki
107b3b4401
Fixed #4171 (don't choke when parentheses are missing from macros)
2012-09-09 09:48:07 +02:00
Daniel Marjamäki
0c55d5cfa7
Fixed #4002 (syntax error for 'X( typedef, Y)')
2012-09-09 09:14:46 +02:00
Daniel Marjamäki
69a0062177
Tokenizer: don't crash for 'int'. Ralated with tickets #2978 and #3304
2012-09-08 20:59:25 +02:00
Daniel Marjamäki
e93679b3b2
democlient: updated build script to match the script I have on the shell. Removed the old 'info.txt'.
2012-09-08 18:40:47 +02:00
Daniel Marjamäki
853c6522dc
Tokenizer::simplifyEnum: Readded refactorings. Tickets 3949,3950,4025,4053 has been solved as far as I see.
2012-09-08 12:42:24 +02:00
PKEuS
78d49ea4b8
Fixed #3732 - properly simplify struct declarations:
...
- Don't replace "{ {" if they are part of an initialization
- Properly split struct definition, variable declaration and variable initialization.
Used std::stack instead of std::list
2012-09-08 10:51:31 +02:00
Daniel Marjamäki
a39b58046f
Tokenizer: Improved simplification of 'a?(1):b'
2012-09-08 10:45:00 +02:00
Daniel Marjamäki
2722f53edd
Fixed #4142 (false positive (error) Uninitialized variable: b)
2012-09-08 10:15:37 +02:00
Daniel Marjamäki
c31ce68520
TestTokenizer: Added TODO assertion
2012-09-08 09:01:02 +02:00
Daniel Marjamäki
2ce5cb3075
Tokenizer: Simplified parentheses better in such pattern: 'git merge --squash 4142 operator git merge --squash 4142 (%var%|)) ( %num%|%bool% ) %op%|;|,|)'
2012-09-08 07:01:35 +02:00
myint
8cd0b44ef0
Add Python 3 compatibility
...
Maintain backward compatibility with Python 2.6 and 2.7.
2012-09-07 09:44:46 -07:00
Daniel Marjamäki
6b56b4a9d3
Show that inconclusive message is inconclusive
2012-09-07 16:11:15 +02:00
PKEuS
e87ebcc602
Added support for std::unique and std::remove_if to CheckStl::uselessCalls().
2012-09-07 14:23:32 +02:00
PKEuS
a4b5824dec
New internal check: checkRedundantNextPrevious().
...
Fixed findings by new internal check
2012-09-07 12:36:40 +02:00
PKEuS
e4a693eaab
Refactorizations:
...
- Fixed several findings of CheckInternal.
- Removed some debug code from CheckOther::checkRedundantAssignment().
2012-09-07 11:59:20 +02:00
PKEuS
489df29346
Moved Tokenizer::typeConstToConstType() to Tokenizer::simplifyConst()
2012-09-07 11:41:41 +02:00
Ettl Martin
9a375744a4
fixed a wrong spelled word in comments
2012-09-07 11:34:58 +02:00
PKEuS
c2d4afc525
Support default arguments in symboldatabase for arguments without name ( #4055 )
2012-09-06 20:50:46 +02:00
PKEuS
6023ae423c
Added missing include to democlient.cpp ( #4149 )
...
Include cstdio instead of stdio.h
2012-09-06 20:23:48 +02:00
PKEuS
0c812c5ac3
Throw an InternalError when trying to divide (or modulo) by zero in MathLib.
2012-09-06 20:15:32 +02:00
PKEuS
20f989b6c4
Skip code in brackets in default argument declaration ( fixes #4057 )
2012-09-06 20:02:53 +02:00
PKEuS
31e7e41098
Fixed and refactorized broken CheckNullPointer::CanFunctionAssignPointer():
...
- return true if parameter is passed by reference (fixes #4111 )
- Use symboldatabase
- Improved handling of inconclusive
2012-09-06 18:33:15 +02:00
XhmikosR
3eac886591
build.bat: better indentation, remove useless quotes and escape the special characters in the help screen
2012-09-06 18:26:01 +02:00
XhmikosR
f7d0d8129c
improve gui/help/buildhelp.bat
2012-09-06 18:25:29 +02:00
Edoardo Prezioso
097d0816d0
Fixed #4150 (new ineffective statement check warning wrong).
2012-09-06 17:48:30 +02:00
PKEuS
e2bc381550
Don't shift by a negative value in TemplateSimplifier::simplifyNumericCalculations()
2012-09-06 17:02:20 +02:00
PKEuS
a8cdd15738
Fixed false positive #4077 .
2012-09-06 16:30:10 +02:00
Daniel Marjamäki
1c7027140a
Tokenizer: Improved simplifyRedundantParanthesis
2012-09-06 16:16:29 +02:00
PKEuS
6edec7bdce
Fixed false positive #4123 .
2012-09-06 16:10:51 +02:00