Daniel Marjamäki
|
929a54e1b0
|
Fixed #2038 (memleak false positive with assignment expression in arguments)
|
2010-09-09 19:40:36 +02:00 |
Daniel Marjamäki
|
5af0d65aef
|
Fixed #2025 (iso646 c++ operators are not handled correctly)
|
2010-09-09 17:43:09 +02:00 |
Robert Reif
|
6d35396720
|
Symbol database: refactoring - differentiate between member data initialization and assignment and save the order of variable declarations. makes it possible to create some additional checks. ticket: #1895
|
2010-09-09 07:26:40 +02:00 |
Robert Reif
|
c3762903a9
|
Symbol database: fixed false negative for uninitialized variable. ticket: #1895
|
2010-09-09 07:21:51 +02:00 |
Daniel Marjamäki
|
80be31de13
|
Fixed #2037 (memleak not detected in exit path when variable used)
|
2010-09-08 20:03:22 +02:00 |
Daniel Marjamäki
|
8e746ca53f
|
CheckMemoryleaks: reduce 'use ; if return ; dealloc ;' to 'if return ; dealloc ;'. ticket: #2037
|
2010-09-08 19:22:03 +02:00 |
Daniel Marjamäki
|
ad03c97a6e
|
cmdlineparser: allow space between -D and define name. ticket: #2036
|
2010-09-08 17:42:28 +02:00 |
Kimmo Varis
|
3c8ffb90dd
|
Add tests for userdefines and userincludes for CmdLineParser.
|
2010-09-08 18:02:22 +03:00 |
Robert Reif
|
2fc2859b68
|
Fixed #2035 (Enum 'qboolean' hides typedef with same name)
|
2010-09-08 06:45:57 +02:00 |
Daniel Marjamäki
|
86a08b9f0e
|
unit testing: moved TestTokenizer::match tests to the TestToken
|
2010-09-07 20:42:29 +02:00 |
Daniel Marjamäki
|
5688412f00
|
Fixed #2030 (False positive: Uninitialized variable when function does not return)
|
2010-09-07 20:25:29 +02:00 |
Daniel Marjamäki
|
3a4cda0f0d
|
Fixed #2034 (false positive: unused private function (Borland C++ __property))
|
2010-09-07 18:37:43 +02:00 |
Reijo Tomperi
|
2ab78d819e
|
One more encoding fix.
|
2010-09-07 00:12:24 +03:00 |
Daniel Marjamäki
|
fed198aafb
|
cmdlineparser: use given settings
|
2010-09-06 22:35:30 +02:00 |
Kimmo Varis
|
c0d1bfeedf
|
GUI: use new style API to enable style checks.
|
2010-09-06 23:28:41 +03:00 |
Kimmo Varis
|
1dfab9f02c
|
Add more tests for CmdLineParser.
|
2010-09-06 23:16:52 +03:00 |
Kimmo Varis
|
ce45053131
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-09-06 22:47:26 +03:00 |
Kimmo Varis
|
ed656e02e4
|
Fix compiling tests in Linux.
For Linux I needed to add cmdlineparser object file to test target
linking definitions in dmake.
|
2010-09-06 22:45:29 +03:00 |
Reijo Tomperi
|
d0423ff8ac
|
Set encoding to UTF-8 for some files.
|
2010-09-06 22:39:02 +03:00 |
Daniel Marjamäki
|
cfe694330f
|
Fixed #2024 (Internal Error on multiple append calls on same string object)
|
2010-09-06 21:34:51 +02:00 |
Kimmo Varis
|
f36666572a
|
Add couple of basic tests for CmdLineParser.
|
2010-09-06 22:31:06 +03:00 |
Kimmo Varis
|
e800490b50
|
Add back <stdexcept> as GCC requires it.
I removed <stdexcept> after checking it builds with VS 2008. But Dan
pointed out GCC needs that header.
|
2010-09-06 22:00:56 +03:00 |
Kimmo Varis
|
3551ce8b58
|
Remove unneeded includes.
|
2010-09-06 21:08:50 +03:00 |
Kimmo Varis
|
a7ee5a0488
|
Add some comments for the CmdLineParser class.
Also remove one unneeded forward declaration.
|
2010-09-06 20:50:48 +03:00 |
Daniel Marjamäki
|
5d539c76fe
|
--help : added info about the '--enable=missingInclude' command
|
2010-09-06 19:15:21 +02:00 |
Stefan Naewe
|
078a0099dc
|
cmdlineparser: handle '-h'/'--help' correctly
|
2010-09-06 19:12:40 +02:00 |
Robert Reif
|
28c5893ee0
|
const functions: fixed false negatives for the type P. ticket: #1884
|
2010-09-06 19:04:14 +02:00 |
Daniel Marjamäki
|
cfbc06c8b6
|
removed 'empty catch block' check. to avoid false positives we'll need to check if it is bad with an empty catch block (dead pointer/undefined behaviour/etc)
|
2010-09-05 13:27:58 +02:00 |
Kimmo Varis
|
b32534b722
|
Merge branch 'master' of github.com:danmar/cppcheck
|
2010-09-05 14:16:00 +03:00 |
Kimmo Varis
|
c02d1bdce4
|
Installer: Fix translations files dir.
Translation files are build to gui source directory not gui build
directory.
Also remove non-existing French translation file from installer.
|
2010-09-05 14:15:24 +03:00 |
Kimmo Varis
|
b40dc99bc2
|
Installer: Fix GUIDs and attributes for couple of components.
|
2010-09-05 14:10:18 +03:00 |
Kimmo Varis
|
97ea1372ce
|
Installer: Add own component for GUI translation files.
|
2010-09-05 13:51:39 +03:00 |
Kimmo Varis
|
99ab5150e4
|
Installer: combine readme.txt and authors.txt to one component.
|
2010-09-05 13:47:04 +03:00 |
Kimmo Varis
|
e19d0f18c7
|
Installer: Install new Qt-help help file.
|
2010-09-05 13:40:16 +03:00 |
Kimmo Varis
|
cf2822c427
|
GUI: Upate translation files.
|
2010-09-05 12:47:10 +03:00 |
Kimmo Varis
|
688e26796f
|
Fix compiling with GCC.
|
2010-09-05 11:47:31 +03:00 |
Kimmo Varis
|
120b6b9133
|
Remove unused function.
I forgot to remove the function that was used in command line
parsing code.
|
2010-09-05 11:24:01 +03:00 |
Kimmo Varis
|
8fde754ad0
|
Disable command line tests after refactoring command line handling.
Disable the tests until I create tests that work with the new code.
|
2010-09-05 11:17:32 +03:00 |
Kimmo Varis
|
45eaebe423
|
Move CLI command line parsing to own class.
|
2010-09-05 11:17:31 +03:00 |
Daniel Marjamäki
|
0f8bc429ad
|
Fixed #2021 (false positive: syntax error with -std=gnu++0x code)
|
2010-09-05 08:16:19 +02:00 |
Daniel Marjamäki
|
7d3ccb064b
|
Fixed #2020 (false positive: (error) Uninitialized variable, used in asm statement)
|
2010-09-05 08:06:37 +02:00 |
Daniel Marjamäki
|
51bc784537
|
Tokenizer: Fixed problem in Tokenizer::simplifyRedundantParanthesis when simplifying 'void delete(double num);'
|
2010-09-05 07:53:43 +02:00 |
Daniel Marjamäki
|
a2b4e5641f
|
Fixed #2010 (missing continue in switch check ?)
|
2010-09-04 14:24:45 +02:00 |
Daniel Marjamäki
|
75fb99cee7
|
Fixed #2015 (### Internal error in Cppcheck. Please report it.)
|
2010-09-04 11:49:56 +02:00 |
Daniel Marjamäki
|
9415423352
|
Fixed #2017 (false positive::struct or union member 'Base::m_ui' is never used)
|
2010-09-04 11:21:34 +02:00 |
Daniel Marjamäki
|
beb4dddb2e
|
Refactoring CheckMemoryLeaks
|
2010-09-04 10:06:34 +02:00 |
Daniel Marjamäki
|
f490ebcf88
|
Fixed #1872 (Confused -v switch)
|
2010-09-03 13:30:49 +02:00 |
Daniel Marjamäki
|
1938b8a423
|
Fixed #1976 (False Positives with unions)
|
2010-09-03 08:10:29 +02:00 |
Daniel Marjamäki
|
fb4fce466e
|
Fixed #2014 (False positive with longjmp)
|
2010-09-03 07:18:01 +02:00 |
Robert Reif
|
b5276ce9e5
|
Symbol database: Added todo testcase for better namespace handling. Ticket: #1895
|
2010-09-03 06:17:34 +02:00 |