Daniel Marjamäki
348232a599
misra.py: catch all 15.6 bugs in misra exemplar suite
2018-03-13 14:22:25 +01:00
Daniel Marjamäki
49c8e42b30
misra.py: Clarify code for switch case fallthrough
2018-03-13 13:14:26 +01:00
Daniel Marjamäki
9800e82d13
GUI: Allow that platform is selected in project dialog
2018-03-13 13:07:10 +01:00
Sebastian
af4181f4d1
Qt library: Add missing podtype information ( #1115 )
...
The type qintptr was missing.
qlonglong, qulonglong and uchar have known sizes, so the sizes can be
specified.
2018-03-13 12:54:17 +01:00
Daniel Marjamäki
caf0789ab3
misra.py: updated -verify behaviour, print all errors seen and not just the first
2018-03-12 15:51:41 +01:00
Daniel Marjamäki
a705391054
misra.py: minor update
2018-03-12 15:47:06 +01:00
Daniel Marjamäki
77318d0e14
misra.py: updated 16.3 code
2018-03-12 15:16:57 +01:00
Sebastian
004da46664
GUI: Make edit define tooltip more clear via example ( #1113 )
2018-03-12 15:20:09 +01:00
Daniel Marjamäki
f10d170ad3
misra addon: handle [[fallthrough]] attribute
2018-03-12 13:43:23 +01:00
Daniel Marjamäki
0d2171a553
astyle formatting
2018-03-12 13:43:04 +01:00
Daniel Marjamäki
31dd4ed787
use early continue
2018-03-12 12:50:33 +01:00
Daniel Marjamäki
c0e14d0a5d
Added doxygen comment
2018-03-12 12:49:27 +01:00
Daniel Marjamäki
3ef3a6088d
astyle formatting
2018-03-12 10:19:55 +01:00
Hinterwaeldlers
a9b1f4c640
Taking care of operation overloading functions ( #1108 )
2018-03-12 10:25:30 +01:00
Daniel Marjamäki
46307df9b6
Renamed method
2018-03-11 15:06:08 +01:00
Daniel Marjamäki
380ecc408f
Fixed #8418 (AST: wrong ast for throw expression)
2018-03-10 22:30:21 +01:00
Sebastian
7ba9ab7e4c
Gtk library: Add configuration to avoid syntax error, add test file ( #1109 )
...
Add configuration for G_UNLIKELY and G_LIKELY to avoid syntax errors
when these macros are used as condition without enclosing brackets.
Add test file to verify Gtk library configuration. Syntax check for the
test file is only done when Gtk+2.0 or Gtk+3.0 is found and working.
Tested on Cygwin and on Ubuntu 16.04.
2018-03-10 11:22:10 +01:00
Sebastian
c63cda4439
Qt library: Add missing comments and attributes and fixed some configurations ( #1110 )
2018-03-09 20:19:59 +01:00
Sebastian
eed9dfb31f
Codacy: Exclude more test files which contain errors by intention ( #1106 )
...
* Codacy: Exclude more test files which contain errors by intention
* Codacy: Exclude htmlreport/example.cc too
2018-03-07 20:30:27 +01:00
Sebastian
152fc83bf0
Qt library: Add some function configurations ( #1105 )
2018-03-07 15:24:36 +01:00
Sebastian
df34164b9f
GUI: Scratchpad: Add help texts; run astyle ( #1104 )
...
This adds labels with short explanations on how the scratchpad can be
used.
2018-03-07 12:38:50 +01:00
Martin Ettl
5fc8f13fd6
GUI: Expand found results when using the scratchpad.
2018-03-07 00:18:47 +01:00
Daniel Marjamäki
b66a214ce5
astyle formatting
...
[ci skip]
2018-03-06 22:51:06 +01:00
Sebastian
6b45be6c94
GUI: Avoid path concatenation when path is absolute ( #1103 )
...
When using an absolute path for import project, prepending the current
directory results in an invalid path and the analysis (silently, no
error shown in the GUI) fails.
2018-03-06 22:50:16 +01:00
Sebastian
857da29967
GUI: Remove redundant code ( #1102 )
...
The checked state of the addon checkboxes is already set in the
updateAddonCheckBox function directly above the removed code. I do not
see any reason to set it again and only for three of the four
checkboxes.
2018-03-06 22:49:33 +01:00
Sebastian
3c5ab13a6d
GUI: Add context menu entry for copying line nr ( #1100 )
...
* GUI: Add context menu entry for copying line nr
As requested in ticket 7947 (https://trac.cppcheck.net/ticket/7947 ) also
copying the line nr is implemented.
* Use early return for the new function and similar ones
2018-03-06 15:34:14 +01:00
orbitcowboy
d637d414e1
wxwidgets.cfg: Fixed wrong function names.
2018-03-05 13:49:12 +01:00
orbitcowboy
e824301cb5
wxwidgets.cfg: Fixed wrong function name.
2018-03-05 13:43:27 +01:00
orbitcowboy
402ca256be
wxwidgets.cfg: Added support for wxGrid::SetCellTextColour.
2018-03-05 13:12:24 +01:00
orbitcowboy
c31c54f1a4
wxwidgets.cfg: Improved support to for some wxSizerItem functions.
2018-03-05 00:25:47 +01:00
amai2012
b1d943894b
Copy platforms/ directory to bin/
2018-02-27 09:09:12 +01:00
Jonathan Clohessy
589cc6049d
Modified misra.py to fix issue introduced during last change ( #1101 )
...
Added additional elif confition to cause error checks to ignore .dump files
Previous change meant that .dump always falls into else statement and script exits
2018-02-26 22:08:22 +01:00
Alexander Mai
17b5083f3f
Try to publish artifacts from appveyor build: correct syntax
2018-02-26 21:59:53 +01:00
Alexander Mai
16883d2c66
Try to publish artifacts from appveyor build: correct path
2018-02-26 21:56:23 +01:00
Alexander Mai
7b3dc4e091
Try to publish artifacts from appveyor build
2018-02-26 21:45:21 +01:00
Alexander Mai
70664e5857
Ensure wxWidgets installation is at least 2.9.5
2018-02-26 20:46:56 +01:00
Martin Ettl
5bdab9e85a
wxwidgets.cfg: Improved support for some wxString functions.
2018-02-26 13:57:24 +01:00
Sebastian
54d1490c89
platform.cpp: Fix that platform files on Windows are not found ( #1096 )
...
* platform.cpp: Fix that platform files on Windows are not found
I suggested this change here:
https://trac.cppcheck.net/ticket/8242#comment:7
* Use fromNativeSeparators() and only search for forwardslash
2018-02-26 13:51:02 +01:00
Martin Ettl
defb74c0fe
Merge branch 'master' of https://github.com/danmar/cppcheck
2018-02-25 16:38:51 +01:00
Martin Ettl
6af8aa63f6
windows.cfg: Improved support for _tolower()/_toupper() functions.
2018-02-25 16:38:29 +01:00
fu7mu4
428d067f19
Cppcheck_ja.ts is updated ( #1099 )
...
* update to 1.82
* update cppcheck_ja.ts
2018-02-25 13:50:03 +01:00
Martin Ettl
1df0ac15a3
windows.cfg: Added support for _toupper() and _tolower().
2018-02-25 13:30:12 +01:00
Daniel Marjamäki
1628405869
Fix internal warning
2018-02-24 22:35:37 +01:00
Daniel Marjamäki
7701e4594a
ValueFlowBeforeCondition: Fix wrong value in do-while condition when there is a break in the loop body
2018-02-24 22:07:34 +01:00
Daniel Marjamäki
1b53e3ec1d
GUI: Updated codeeditor formatting
2018-02-23 22:17:40 +01:00
Daniel Marjamäki
17388c33aa
Add cppcheck.cppcheck build dir
2018-02-23 22:16:49 +01:00
Sebastian
51fce24d95
std.cfg: Add offsetof configuration ( #1097 )
2018-02-23 18:49:52 +01:00
Sebastian
346704b2e2
windows library: Mainly add socket functions, some other stuff and tests. ( #1095 )
...
Add Windows Socket 2 type/function configuration. There are still many
(microsoft specific) socket functions that are not yet configured.
Add configuration for GetUserName(), GetWindowText() and _fileno().
On Windows __wchar_t is a synonym for wchar_t, so an according define is
added.
2018-02-23 12:51:37 +01:00
Luxon JEAN-PIERRE
211b5ba9fb
GUI: added new french translations ( #1094 )
2018-02-22 22:02:56 +01:00
amai2012
1c38b3aae7
Fix warning in test on Cygwin
2018-02-22 12:27:46 +01:00