Edoardo Prezioso
b50e1f4451
Attempt to fix all doxygen warnings.
2012-10-24 01:32:07 +02:00
Daniel Marjamäki
e7483af028
Opposite inner conditions - made check 'experimental' because there are unsolved false positives.
2012-10-21 18:18:29 +02:00
PKEuS
b06cebe9b5
Simplification: Don't call LoadProjectFile with empty filename
2012-10-21 11:40:01 +02:00
PKEuS
14eede1cba
Show translated name of severities in ResultsTree.
...
Removed redundant break; from switch, removed redundant return (MSVC warning)
2012-10-21 11:37:23 +02:00
PKEuS
d7bdb90bc9
Refactorizations in Report classes:
...
- Base class destructor already calls Close() - removed redundant call
- Avoid creation of temporary variable
2012-10-21 10:33:11 +02:00
Robert Reif
d1fad4b762
speed up checkmemoryleak by caching commonly looked up stuff in the symbol database ( #4266 )
2012-10-21 09:07:51 +02:00
Robert Reif
9bc2a62c1e
speed up checkio by caching commonly looked up stuff in the symbol database ( #4266 )
2012-10-21 09:05:01 +02:00
Baris Demiray
0e100f7563
Fixed #4189 (Improve check (printf('%l') not detected))
2012-10-21 08:50:29 +02:00
Edoardo Prezioso
f0f216390e
Fixed #4276 (segmentation fault of cppcheck (invalid code))
2012-10-20 21:40:51 +02:00
PKEuS
be52a1404b
Replaced local implementations of Severity<->String conversions by wrappers of functions in /lib
2012-10-20 21:11:34 +02:00
PKEuS
f63e68fcaa
Refactorizations:
...
- Don't declare functions as slots if they are no slots (one recently added)
- Made some members private instead of protected
2012-10-20 20:32:22 +02:00
PKEuS
70ad457992
New Feature "Scratchpad" added to GUI. ( #4166 )
2012-10-20 20:14:52 +02:00
PKEuS
e7904bd7a8
Rely on on-demand creation of MainWindow::mLogView
2012-10-20 20:05:02 +02:00
PKEuS
cb306dd1bd
Added info about LINKCORE=yes to readme_gui.txt
2012-10-20 19:56:57 +02:00
Edoardo Prezioso
6cfb664def
Fixed a related issue with the ThreadExecutor fix
...
Don't call reportErr when the message type is a REPORT_INFO, but call reportInfo instead.
2012-10-19 20:20:29 +02:00
Alexander Mai
1881898e67
Added unit test for #4290
2012-10-19 20:04:43 +02:00
Edoardo Prezioso
d459b6acb1
Fixed #4298 (Strange 'missing include' output message when executing '-jn --check-config').
2012-10-19 19:26:42 +02:00
Edoardo Prezioso
eb84c03b01
Related to previous commit: don't hide the main.cpp file and the path to both.
2012-10-19 19:14:40 +02:00
Edoardo Prezioso
81c17b4c3b
Fix old paths present in the comments of main.cpp.
2012-10-19 18:51:43 +02:00
Edoardo Prezioso
4ddcde1e6f
CheckMemoryLeak: add '?1:0' to clarify the value of the argument to 'deleteNext'; Tokenize.cpp: in simplifyCompoundAssignment(), remove ':' odd code used to fix a weird test case ('case' code not inside a function body), remove useless 'tok->next() != NULL' check (already true by previous condition); in simplifyConditionOperator(), handle better the parenthesis skipping code and remove useless ')'check; in simplifyQuestionMark(), remove useless 'tok->tokAt(-2)' check (Token::Match returns false if the token is NULL), add more patterns to Token::Match to handle more test cases; in simplifyBitFields(), add 'const' to 'offset' bool. RedirectOutputError: style nitpick change to declaration of a pointer.
2012-10-19 14:19:52 +02:00
PKEuS
e44e6837c2
Fixed several doxygen-comments in lib and gui
2012-10-19 11:29:05 +02:00
PKEuS
60271a5819
Simplified some switch statements and removed redundant code (VS warning) in GUI.
2012-10-19 11:08:50 +02:00
Baris Demiray
d84d360afc
Fixed #4291 (Variable ID is not set when variable is accessed through 'this')
2012-10-19 06:18:13 +02:00
Carlo Marcelo Arenas Belon
be719062b9
coverage report script: clean all intermediary files
2012-10-17 18:02:47 +02:00
Edoardo Prezioso
c1718ae38d
Fixed g++ -Wshadow warning message.
2012-10-17 00:29:06 +02:00
Edoardo Prezioso
61365ea0e5
Fixed #4293 (FP: Variable is not simplified, causing a false positive).
2012-10-17 00:25:20 +02:00
Daniel Marjamäki
c8c50f0b25
Merge pull request #118 from rpavlik/patch-3
...
Update cli/version.rc
2012-10-16 11:18:35 -07:00
Daniel Marjamäki
b591097c87
Revert "Fixed #3190 (SymbolDatabase: Parse of sub class constructor fails)"
...
This reverts commit 1ee980184e
.
2012-10-16 19:12:27 +02:00
Robert Reif
1ee980184e
Fixed #3190 (SymbolDatabase: Parse of sub class constructor fails)
2012-10-16 06:11:28 +02:00
Ryan Pavlik
a4bc1d8f74
Update cli/version.rc
...
Forward slashes in include to not break cross-compilation.
2012-10-15 11:28:08 -05:00
Daniel Marjamäki
562291477d
Fixed #4226 (False positive: Uninitialized variable (problem with namespace ::rtl))
2012-10-15 06:53:38 +02:00
Edoardo Prezioso
9e147c4a0a
Makefile: update with 'dmake'; gui: run 'lupdate gui.pro ; lrelease gui.pro'.
2012-10-15 02:25:26 +02:00
Daniel Marjamäki
be174d6266
TemplateSimplifier: Fixed bad pattern that was detected by CheckInternal and pointed out by edward-san. The handling of recursive templates is better now.
2012-10-14 19:48:53 +02:00
PKEuS
4995ab7828
Fixed #4284
2012-10-14 17:40:51 +02:00
Robert Reif
3064b48156
speed up checks by caching commonly looked up stuff in the symbol database (checkexceptionsafety)
2012-10-14 17:40:17 +02:00
Robert Reif
cf7996e299
SymbolDatabase: Improved find function functionality. Taking arguments into account
2012-10-14 17:34:09 +02:00
Robert Reif
0d4b87c71e
SymbolDatabase: Improved find function functionality. Taking arguments into account
2012-10-14 17:30:37 +02:00
Robert Reif
2a2366b258
Fixed #4226 (False positive: Uninitialized variable (problem with namespace ::rtl))
2012-10-14 17:25:29 +02:00
PKEuS
d152ec31f1
Use the same style for inconclusive errors as in CLI when writing txt reports.
2012-10-14 16:28:34 +02:00
PKEuS
8c9748063b
Set notr="true" for strings that are never displayed.
2012-10-14 16:14:47 +02:00
PKEuS
f26b82e172
Removed redundant, nested QVBoxLayout controls
2012-10-14 16:09:45 +02:00
PKEuS
f4a06133a3
New attempt on properly fixing Unicode characters in version resource.
2012-10-14 16:00:58 +02:00
PKEuS
9b48c3d3e9
Slightly changed layout of stats dialog: Reduced height of form to reduce empty space on screen.
2012-10-14 15:51:38 +02:00
PKEuS
b0f5b7dce0
Fixed freeze when canceling projectfile dialog when creating a new Project.
...
Updated gui.pro (forgot it in last commit)
2012-10-14 14:13:54 +02:00
PKEuS
67fb2dc2c9
Removed unnecessary copy-ctor and dtor in class ErrorItem - they are generated automatically. Use initializer list in remaining ctors.
2012-10-14 12:42:44 +02:00
PKEuS
b9da806492
Fixed setting default application at first start.
2012-10-14 12:10:30 +02:00
PKEuS
2aae8381cc
Message refactorization: checkstl.cpp
2012-10-14 11:16:48 +02:00
PKEuS
fc53b15fa4
Refactorized resource files:
...
- Stored global information about cppcheck version and copyright string in a single resource.h file.
- Use macros of windows.h instead of numeric values for filetype, etc.
- Added versioninfo metadata to lib (#4275 )
- Removed VS resource editor code from resource files - these files shouldn't be modified with it to avoid information loss
- Renamed files to version.h/rc
- Encoded files as ANSI again - use escape sequences for unicode characters in literals (#4281 )
2012-10-14 10:21:22 +02:00
Edoardo Prezioso
8324de1dc0
Fixed 'tokAt(-2)->link() -> linkAt(-2)' thanks to cppcheck internal check.
2012-10-13 14:59:34 +02:00
Edoardo Prezioso
64b4960acc
Tokenizer: simplify GCC '({ %var%|%num% ; })' to '%var%|%num%'.
...
Remove useless brace around condition in simplifyFlowControl.
2012-10-13 13:24:41 +02:00