Kimmo Varis
c9c6de24a6
Remove extra space from error message.
2010-11-27 20:54:02 +02:00
Kimmo Varis
2c3f9a9dce
Small fix to error message.
...
Start with capital letter and no space in beginning.
2010-11-27 20:41:08 +02:00
Daniel Marjamäki
095f725b3c
Fixed #2218 (False positive: Data is allocated but not initialized)
2010-11-27 17:34:54 +01:00
Daniel Marjamäki
03a92582ca
Fixed #2235 (false Resource leak)
2010-11-27 11:09:42 +01:00
Kimmo Varis
2ed14431fe
Ticket #2237 (Too long "short" message about iterator increment)
...
Improve the message for suspicious iterator increment in loop.
2010-11-27 10:57:26 +02:00
Kimmo Varis
837605b05b
Ticket #2239 (Too long "short" message about function parameter passing)
...
Have a proper short message for the parameter passing warning and
improve the message.
2010-11-27 10:46:34 +02:00
Kimmo Varis
9b4b8b2abe
Ticket #2238 (Improve postincrement warning message)
...
Have a proper short message for post ++/-- operators.
Pre ++/-- operators are usually more efficient for non-primitive types.
2010-11-27 10:30:57 +02:00
Kimmo Varis
87b69a10fa
Ticket #2240 (Improve no constructor-message).
...
Improve the message about missing constructor but having class
attributes. Have proper short and long messages.
2010-11-27 10:17:03 +02:00
Kimmo Varis
94ab34d797
GUI: Update translation files.
2010-11-26 23:22:14 +02:00
Kimmo Varis
e0e0e3b4fa
GUI: Change text in Add Application-dialog back to plain text.
...
Revert change ca9f8a7036
that converted
text in Add Application -dialog to rich text. The text is plain
text and doesn't use any formatting so plain text is good for it.
2010-11-26 23:20:25 +02:00
Kimmo Varis
14ee95eab7
GUI: Cleanup duplicate code.
2010-11-26 22:51:38 +02:00
Kimmo Varis
2dfa1d540e
GUI: Add Setting for global include paths.
...
This commit adds new setting and GUI for global include dirs. When
project file with include dirs is loaded, global includes dirs are
added first and after them the include dirs from project file.
2010-11-26 22:35:45 +02:00
Robert Reif
88a1448a07
Symbol database: refactor CheckMemoryLeakInClass::checkPublicFunctions to use the symbol database. Ticket: #2219
2010-11-25 21:04:49 +01:00
Daniel Marjamäki
0a744c0c6e
Fixed #2234 (Variable is assigned a value that is never used)
2010-11-25 18:16:11 +01:00
Robert Reif
ad91f414db
Symbol database: Avoid possible null pointer dereference if _settings is null. Ticket: #2219
2010-11-25 17:55:44 +01:00
Robert Reif
03b12c5494
Fixed #2230 (segmentation fault of cppcheck)
2010-11-25 07:43:39 +01:00
Robert Reif
08b86e0b7e
Fixed #2228 (False positive: Claims function can be const when it can not be (shared_ptr))
2010-11-25 07:15:33 +01:00
Kimmo Varis
469be78254
Installer: Write Cppcheck version and install path to registry.
...
As suggested by mcartoixa at forums. This helps 3rd party software to
find the Cppcheck in Windows environment. Note that this commit
writes to HKCU instead of suggested HKLM.
2010-11-24 20:16:52 +02:00
Daniel Marjamäki
fc57e06cdd
Fixed #2226 (segmentation fault of cppcheck)
2010-11-24 18:08:21 +01:00
Kimmo Varis
c685035ca4
GUI: Fixing includes.
2010-11-24 17:39:53 +02:00
Kimmo Varis
458af3c931
Merge branch 'error-details'
...
Conflicts:
gui/resultstree.h
gui/resultsview.cpp
2010-11-24 17:24:36 +02:00
Kimmo Varis
c6046b6663
GUI: Clear the details panel when starting new check.
2010-11-24 17:09:02 +02:00
Zachary Blair
6b9d9188c9
Fixed #1861 (GUI: Allow hiding error) Disabled menu item when not applicable
2010-11-24 00:48:07 -08:00
Kimmo Varis
0da55d6477
GUI: Improve updating details view.
...
After previous patches the details view was only updated when the
item was clicked with mouse. This patch improves the updating and
now it works also when changing selected item using keyboard.
2010-11-23 22:37:31 +02:00
Kimmo Varis
f1b511a366
GUI: Remember main window splitter state.
...
Save and restore the vertical splitter state (sizes of tree view and
details panel).
2010-11-23 21:57:16 +02:00
Daniel Marjamäki
22a4dd2cc3
Fixed #2225 (false positive: variable is assigned a value that is never used '*(stack[0])+=arg')
2010-11-23 20:35:08 +01:00
Kimmo Varis
81a599e260
GUI: Rename the splitter widget.
2010-11-23 21:32:35 +02:00
Robert Reif
1842a122da
reuse symbol database in checkmemoryleak.cpp. ticket: #2219
2010-11-23 18:41:07 +01:00
Robert Reif
f1eef49fcb
Fixed #2221 (segmentation fault of cppcheck)
2010-11-23 07:31:15 +01:00
Kimmo Varis
74c15d436b
GUI: Add missing include lines.
2010-11-23 00:37:29 +02:00
Kimmo Varis
20334815c6
GUI: Remove Message-column from the error tree view.
...
The full detailed message is shown in the own panel below error tree.
2010-11-22 23:32:04 +02:00
Kimmo Varis
060131df2f
GUI: Add own panel for detailed error messages.
...
This commit adds new rich text panel for the detailed error messages.
When user clicks error item the detailed error text is updated to
the panel. This way we have much more freedom in formatting the
message and user can easily copy/paste (parts of) the message.
2010-11-22 23:13:12 +02:00
Zachary Blair
a16c0dbd5e
Fixed #1861 (GUI: Allow hiding error)
2010-11-21 10:55:34 -08:00
Daniel Marjamäki
bb745da5f9
Tokenizer::simplifyKnownVariables: suppress debug warnings about pointer aliases. Temporary solution that limits the amount of debug warnings somewhat.
2010-11-21 13:50:57 +01:00
Daniel Marjamäki
9d88e17c39
Tokenizer::simplifyKnownVariables: Reduce debug-warnings for conditional increment
2010-11-21 13:40:42 +01:00
Daniel Marjamäki
ec6edaee6e
Buffer overflow: Added unit test that makes sure that array index out of bounds is detected inside loop. Ticket: #2199
2010-11-21 12:24:57 +01:00
Daniel Marjamäki
9d9a5b0623
VS: Fixed compiler warnings. Ticket: #2200
2010-11-21 11:48:27 +01:00
Daniel Marjamäki
ee333598fc
gcc: fixed compiler warnings
2010-11-21 11:06:28 +01:00
Zachary Blair
215cb5ac8d
Fixed #2162 (false positive: Mutual exclusion over ||)
2010-11-21 00:06:43 -08:00
Reijo Tomperi
1394d0245a
Increase number of cores allowed by the cli to 10000 and add comment about the limit (it is there just to catch typos)
2010-11-20 22:33:46 +02:00
Daniel Marjamäki
0fe4249cfc
Fixed #2216 (wrong warning when C++0x keyword delete is used)
2010-11-20 17:20:25 +01:00
Ettl Martin
f10e433593
mathlib: toString() parameter changed to const reference
2010-11-20 14:21:18 +01:00
Daniel Marjamäki
cda44e0c39
VS: Fixed compiler warnings
2010-11-20 11:48:03 +01:00
Daniel Marjamäki
d021cd9074
VS: fixed compiler warning. Ticket: #2200
2010-11-20 11:28:47 +01:00
Daniel Marjamäki
e8ca76e02e
Fixed #2200 (MathLib: Calculation overflow)
2010-11-20 10:05:33 +01:00
Daniel Marjamäki
9ccc57a455
Fixed #2214 (Improve check: Memory leak not detected when pointer is incremented)
2010-11-20 08:35:23 +01:00
Daniel Marjamäki
fd64a7e683
Mutual exclusion: Disable this check until #2162 is fixed.
2010-11-20 07:43:07 +01:00
Robert Reif
27cae2f0d7
Symbol database: add global space and add all global functions and variables to it. Ticket: #2198
2010-11-20 07:26:50 +01:00
Kimmo Varis
3fba8b52c0
GUI: Right-align line number.
2010-11-19 23:11:40 +02:00
Kimmo Varis
a0a1ad806a
GUI: Add tooltips for error items.
2010-11-19 22:54:40 +02:00