XhmikosR
1714cea928
github.js: fix a JSHint warning
2012-11-03 11:18:13 +01:00
XhmikosR
e0434015fb
css/all.css: cosmetic changes
2012-11-03 11:18:12 +01:00
XhmikosR
b4b3679f18
change comment
2012-11-03 11:18:12 +01:00
PKEuS
a36e008967
Fixed #4314 : Using CheckNullPointer::isPointerDeRef() here is overkill and doesn't work as intended, since this function is designed to return 'false' if it isn't sure.
2012-11-03 10:25:32 +01:00
Edoardo Prezioso
c9e0089546
Change Tokenizer member function name.
...
From 'simplifyQuestionMark' to 'simplifyConstTernaryOp' (the older name was not clear). Adjusted the doxy comment.
2012-11-02 14:57:12 +01:00
PKEuS
472a39d157
Fixed two MSVC warnings in testsymboldatabase.cpp
2012-11-01 18:55:15 +01:00
PKEuS
24b98feadb
Message refactorization: checkuninitvar.cpp, checkunusedfunctions.cpp, checkunusedvar.cpp
2012-11-01 18:40:20 +01:00
Robert Reif
d7b658a5aa
speed up checks by caching commonly looked up stuff in the symbol database (checkio)
2012-10-30 15:52:45 +01:00
Robert Reif
8e14d7682c
Symbol database: fix some function prototype bugs that were found during check conversions. Ticket: #4266
2012-10-30 15:48:06 +01:00
Daniel Marjamäki
e1dce66494
tweaked message
2012-10-28 13:03:40 +01:00
Daniel Marjamäki
38213f1f2f
Fixed #4237 (False positive: (error) Memory Leak: data (assign reference variable value to a shadow variable in inner scope))
2012-10-27 16:36:14 +02:00
PKEuS
ca073bdaad
Set parent of LogView.
2012-10-27 13:24:58 +02:00
Edoardo Prezioso
b44ad4e277
Update translation files.
2012-10-27 12:28:47 +02:00
PKEuS
10d338d4a7
Removed unnecessary call to AboutToShowViewMenu() -> Increase constness of MainWindow::SaveSettings()
2012-10-27 12:26:51 +02:00
PKEuS
7c8f6173c1
Don't need parent of QObject to be set in Report -> Increase constness of ResultsView::Save()
...
- our code already deletes all Report instances; there is no need for garbage collector
2012-10-27 12:22:56 +02:00
PKEuS
fc78cac797
Made several functions in GUI static or const
...
Fixed cppcheck message about wrong order in initializer list
2012-10-27 12:10:32 +02:00
PKEuS
c56170acfa
Refactorization: Avoid copying Application instances.
2012-10-27 11:35:00 +02:00
PKEuS
0fe2deafe5
Fixed compiler error introduced by last commit.
2012-10-27 11:18:41 +02:00
PKEuS
7ffffdfc16
Optionally display error Id in additional column and details view ( #3526 )
2012-10-27 11:16:52 +02:00
PKEuS
8750c93a7a
GUI Translation updates:
...
- Updated german translation
- Removed obsolete strings from ko and sv translation
2012-10-26 13:19:15 +02:00
Daniel Marjamäki
863441afe8
Fixed #4236 (False positive: pointer free()d twice - neglecting call to other function)
2012-10-25 19:41:18 +02:00
Edoardo Prezioso
39a5768e9d
Fixed cppcheck message found in lib:
...
[lib/checkmemoryleak.cpp:869]: (style) The scope of the variable 'realloc' can be reduced.
And since realloc is never used, for now I commented all the lines where 'realloc' is declared/used.
2012-10-25 14:05:53 +02:00
Edoardo Prezioso
8271d63744
Forgot to fix another clang analyzer message.
...
I don't understand why here there is a loop 'break' after a token stepping forward and a bool assignment.
2012-10-24 15:30:40 +02:00
Edoardo Prezioso
99777671e5
Related to commit 11b00470637ed119140fb6257a5552f13f010d85: fix copy-paste mistake.
2012-10-24 03:27:15 +02:00
Edoardo Prezioso
ad1e65d290
Update translations files.
2012-10-24 03:19:38 +02:00
Edoardo Prezioso
11b0047063
Fix some clang analyzer messages.
...
CheckMemoryLeak: two redundant assignments, should be clarified;
TemplateSimplifier: same;
Tokenizer: same.
2012-10-24 03:17:56 +02:00
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