Daniel Marjamäki
5455da8fa6
GUI: Updated help (index)
2020-07-21 21:58:51 +02:00
Paul
3480aba35b
Fix crash when typeScope is missing
2020-07-21 14:09:46 -05:00
Paul
abeea7b32b
Merge branch 'main' into fp-invalid-container-pointer
2020-07-21 13:31:13 -05:00
Paul
dbb410cdae
Merge branch 'main' into condition-in-expr
2020-07-21 13:28:59 -05:00
Paul
5bc5c96c8f
Fix cppcheck error
2020-07-21 13:20:39 -05:00
Paul
38e1b57bc9
Use refs
2020-07-21 13:18:45 -05:00
Georgy Komarov
fc504ed6c3
misra.py: Fix false positives on macro expansion
...
This will fix Trac#9634
2020-07-21 20:03:04 +03:00
Daniel Marjamäki
ca1fcfa8bc
GUI: Only suppress warnings by hash during bug hunting
2020-07-21 17:45:56 +02:00
Daniel Marjamäki
aad455e1ea
Fix compile error
2020-07-21 17:43:12 +02:00
Daniel Marjamäki
2b968202bb
win_installer: include online-help in msi
2020-07-21 17:38:50 +02:00
Daniel Marjamäki
453cd93fae
update warning hash calculation
2020-07-21 16:00:09 +02:00
Daniel Marjamäki
83be203d44
Merge pull request #2715 from rikardfalkeborn/refactor-use-visitastnodes-more
...
Refactor use visitastnodes more
2020-07-21 15:26:58 +02:00
Daniel Marjamäki
26c849b732
Merge pull request #2716 from rikardfalkeborn/refactor-use-simple-loop-instead-of-stack-in-checktype
...
Refactor: Simplify checkSignConversion
2020-07-21 15:26:03 +02:00
Daniel Marjamäki
4ab04db53c
Rename 'cppcheckID' to 'hash'
2020-07-21 11:27:03 +02:00
Daniel Marjamäki
ae0ad17152
GUI: quick walk through in online-help
2020-07-21 10:30:50 +02:00
Daniel Marjamäki
a68d9e75ef
GUI: In ProjectFileDialog; updated choice of vs configurations
2020-07-20 22:06:07 +02:00
Daniel Marjamäki
5fca5830c5
astyle formatting
...
[ci skip]
2020-07-20 21:41:46 +02:00
Daniel Marjamäki
d7f9dc25cd
Quick fix for Travis problems. Skip building gui online-help.
2020-07-20 19:19:37 +02:00
Daniel Marjamäki
1c39bed5b0
buildhelp.bat: remove old script
2020-07-20 19:18:06 +02:00
Daniel Marjamäki
bdb7db0fd5
Travis: Try to install qt help
2020-07-20 19:04:47 +02:00
Daniel Marjamäki
65742b9779
gui.pro: build help
2020-07-20 12:43:08 +02:00
Daniel Marjamäki
89ba12d9b3
Remove old build.bat file
2020-07-20 12:04:51 +02:00
Daniel Marjamäki
09241030c3
GUI: Add online help
2020-07-20 11:59:28 +02:00
Rikard Falkeborn
7973fd843c
Refactor: Simplify checkSignConversion
...
The loop only checks astoperand1 and astoperand2. Simplify the condition
to loop over these instead of using a stack. Also, add a testcase for
when astoperand2 is negative.
2020-07-20 11:16:56 +02:00
Rikard Falkeborn
ed36856451
Refactor: Use visitAstNodes in checkuninitvar
2020-07-20 11:03:52 +02:00
Rikard Falkeborn
9ced26a7a1
Refactor: Use visitAstNodes in checkcondition
2020-07-20 11:03:29 +02:00
Rikard Falkeborn
82fe6193fa
Refactor: Use visitAstNodes in checkstring
2020-07-20 10:25:00 +02:00
Rikard Falkeborn
2ace2b006a
Refactor: Use visitAstNodes in checkleakautovar
2020-07-20 10:25:00 +02:00
Daniel Marjamäki
b812d48397
Merge pull request #2713 from whoopsmith/no_duplicate_misra_violtions
...
misra.py: Squelch duplicate violation messages
2020-07-20 08:00:01 +02:00
Paul
e2a81a382f
Track reading aliases during valueflow forward
2020-07-19 23:25:35 -05:00
Daniel Marjamäki
0a84a1fad7
GUI: Add help files that replace the gui-manual.md
2020-07-19 21:40:17 +02:00
Daniel Marjamäki
4a76dbb632
Bug hunting; Avoid bailout uninit FP, stream object
2020-07-19 16:54:44 +02:00
Daniel Marjamäki
fe0081496c
Bug hunting; Avoid bailout uninit FP, arrays
2020-07-19 16:27:56 +02:00
Richard A. Smith
41a846d8a7
misra.py: Squelch duplicate violation messages
...
When checking multiple files if the same violation is encountered from
an included file then the violation is both displayed and counted in the
error summary.
Track each violation by location and error number and if the violation
has been previously encountered then do not report it again.
2020-07-19 08:42:35 -03:00
Daniel Marjamäki
5df9cd90a6
astyle formatting
...
[ci skip]
2020-07-19 11:10:53 +02:00
Daniel Marjamäki
7e65b561f0
AST: Fix ast for 'for ((..initexpr..);;)'
2020-07-19 11:10:38 +02:00
Daniel Marjamäki
011c5e97f9
gui-manual: Preferences
2020-07-19 08:56:14 +02:00
Daniel Marjamäki
3723c708fc
ImportProject; Do not fail loading a GUI project that has warning tags
2020-07-19 08:07:10 +02:00
Daniel Marjamäki
e9281babc4
Bug hunting; avoid false positives for structs/classes with constructors
2020-07-18 18:54:21 +02:00
Daniel Marjamäki
7cb65b7f67
GUI: Speedup code editor when selecting another warning in the same file
2020-07-18 18:14:55 +02:00
Daniel Marjamäki
46d997cd71
GUI; Remove unused signal ResultTree::tagged
2020-07-18 17:20:45 +02:00
Daniel Marjamäki
2b05059307
GUI; Tweaked button texts
2020-07-18 17:10:39 +02:00
Daniel Marjamäki
9ec5ae2929
GUI: Started writing a manual
2020-07-18 15:27:46 +02:00
Daniel Marjamäki
ce64fa9eb8
Merge pull request #2712 from jubnzv/fix-9774
...
Fixed crash on garbage code: comparisson with empty second operand
2020-07-18 09:54:15 +02:00
Daniel Marjamäki
23008e7bc0
GUI: Add button in ProjectFileDialog to exclude a file
2020-07-18 08:56:31 +02:00
Daniel Marjamäki
744b363186
GUI; Tweaks. Add tooltips, change texts.
2020-07-18 08:23:04 +02:00
Georgy Komarov
6bc13080ee
Simplify condition
2020-07-18 07:07:20 +03:00
Georgy Komarov
382f21a5c9
Fixed crash on garbage code: comparisson with an empty second operand
...
This will fix #9774 .
2020-07-18 07:02:12 +03:00
Daniel Marjamäki
58638d7757
Bug hunting; Fix itc.py test
2020-07-17 13:20:31 +02:00
Daniel Marjamäki
2713474f56
Fixed Cppcheck warning
2020-07-17 12:25:06 +02:00