Commit Graph

32 Commits

Author SHA1 Message Date
Armin Müller 130ebe4b85 Typos found by running "codespell" (#2380) 2019-11-19 20:02:24 +01:00
Maksim Derbasov afe59531c7 Triage cleanup (#2324)
* regex for version

* fields names improved

* codestyle

* m prefix for fsmodel

* string duplication removed

* find in files: show all entries

* spaces

* added hint to checkboxes; element naming fixed

* layout naming improvement

* spacing 6->1
2019-11-04 07:10:31 +01:00
Maksim Derbasov 7de55b09f8 Triage tool ui improvement (#2320)
* triage tool: ui improvement

* small code tweak

* ci fix

* ci fix 2nd attempt
2019-11-03 08:30:30 +01:00
Maksim Derbasov 91a4bcd71e Triage tool usability improvement (#2319)
* gitignore for triage tool

* window header

* Search filename / in files functionallity for triage tool

* small codeclean
2019-11-01 09:29:00 +01:00
Scott Furry e459762bcd Suppress Code semantic and syntax warnings (#1936)
Sources were built with Clang but with increased verbosity of error detection.

A number of syntax and semantic warnings were encountered. Commit adds
changes to correct these warnings.

Some changes involve removing extra, and unncessary, semi-colons at EOL
(e.g. at end of switch clause).

Project astyle settings are not currently setup to detect if a file is to
have an extra carriage return after the last line of data. Two files were
altered to ensure an extra carriage return.

An advisory to enhance code was encountered in triage code. Clang advisory
on a for-loop interation value suggested that:
`use reference type 'const QString &' to prevent copying`
2019-06-30 21:43:25 +02:00
Scott Furry 0d76d078e2 Implement User Selectable Code Editor Style in cppcheck-gui (#1913)
Building on #1874, commit adds user controls to choose
or edit style in cppcheck-gui ONLY. Commit does not
address CodeEditor style usage in triage app at this time.

Code Editor style can be altered from the added "Code Editor"
tab in the user preferences. The user has the option to select
default light, default dark, or to customize.

If user leaves the style set to light or dark defaults, this
will be reflected in the choices shown in the preferences
dialog.

User choice for Code Editor Style is saved in the cppcheck-gui
preferences under the heading "EditorStyle".
2019-06-23 19:04:53 +02:00
Daniel Marjamäki a140095bbe Fix Cppcheck warning 2019-06-15 14:37:02 +02:00
Paul Fultz II 12f4353d40 Add build scripts for triage tool (#1862) 2019-06-01 10:48:39 +02:00
Daniel Marjamäki 5915fd50a5 triage: add options 'show 100 random results' and 'version' 2019-03-09 11:01:22 +01:00
Sebastian ff16995b26
triage: Implement Clang-Tidy and Clazy hints (#1674)
These are mainly readability and optimization changes.
2019-02-16 17:52:36 +01:00
Sebastian 37f2aa0e2d
triage tool: Add "Load from clipboard" functionality (#1599)
The user now can choose to "Load from file" or "Load from clipboard".
readme.txt has been adapted.
2019-01-14 17:49:10 +01:00
Sebastian 1042208c2c
triage: Fix warnings and Windows issues; some enhancements (#1591)
Changes:
- Fixed compiler warnings
- Add "*.*" to file open menu so files without suffix can be opened
- Make it work under Windows
- Make wget() and unpackArchive() methods so they can access the UI
- wget() and unpackArchive() use the new method runProcess() now that also does some error handling
- Errors are shown in the status bar for easier debugging / usage
- Add readme.txt
- Let travis build the triage tool
2019-01-12 09:16:43 +01:00
Daniel Marjamäki 77f1409a83 triage: better handling of donate-cpu results 2019-01-01 17:01:23 +01:00
Daniel Marjamäki 33027dc10b triage: better handling of daca@home results 2018-11-25 12:59:08 +01:00
Daniel Marjamäki d2bd536f1b triage: improve handling of daca@home results 2018-11-24 21:36:59 +01:00
Daniel Marjamäki d5a9332684 triage: show url and filename in edit boxes 2018-09-01 07:36:58 +02:00
Daniel Marjamäki 59731d70e8 triage: set error line properly 2018-09-01 06:39:22 +02:00
Daniel Marjamäki 1547059a21 triage: handle daca@home diffs better 2018-08-29 22:07:31 +02:00
Daniel Marjamäki 8d3570debf triage: use the codeeditor in the gui 2018-05-02 12:59:34 +02:00
Daniel Marjamäki 47ba7abf0b triage: updated the codeeditor 2018-05-02 10:57:04 +02:00
Daniel Marjamäki 3ef1627d11 Fix noCopyConstructor and noOperatorEq warnings in tools/triage/mainwindow.h 2018-05-01 10:55:06 +02:00
Daniel Marjamäki 2470c711e4 Fix some more Travis warnings 2018-05-01 09:43:51 +02:00
Daniel Marjamäki a8cd2ac0ea triage: update project file 2018-04-16 10:50:56 +02:00
Daniel Marjamäki e6cd8498a8 tools/triage: updated codeeditor 2018-02-17 22:26:35 +01:00
Daniel Marjamäki c26ae955ad tools/triage: set proper shuffle seed, less priority for results in tests 2018-02-09 21:44:53 +01:00
Daniel Marjamäki c650c8a111 tools/triage: try to unpack package from ~/daca2-packages 2018-02-08 22:18:50 +01:00
Daniel Marjamäki a2d9b3fbb3 triage: moved source code 2018-02-08 08:27:16 +01:00
Daniel Marjamäki 6ce9646ac6 Triage: If there are more than 100 results then pick 100 random warnings 2018-02-04 16:14:33 +01:00
Daniel Marjamäki 7b5e994f29 triage: better handling of error messages with notes 2018-02-04 09:12:41 +01:00
Daniel Marjamäki 5eee9d6d18 tools/triage: Load results from file instead of pasting them 2018-01-02 23:39:30 +01:00
Daniel Marjamäki 3b6fbd067e triage: small tweaks 2018-01-01 10:52:51 +01:00
Daniel Marjamäki 4c490b599b Tools: Add simple tool to triage daca results 2018-01-01 09:22:11 +01:00