61 Commits

Author SHA1 Message Date
Oliver Stöneberg
639a4131c4
changed bool_to_string() to return const char* instead and use it in more cases (#5385) 2023-09-11 11:34:22 +02:00
chrchr-github
eee1221738
Use in-class initializers, default constructors, class -> struct (#4842) 2023-08-08 11:05:02 +02:00
Oliver Stöneberg
45de338f1b
cleaned up includes based on include-what-you-use / iwyu.yml: updated to yet another distro to get the latest version and updated the Chaotic-AUR key (#5267)
This is a mess. The version is AUR is still outdated and also doesn't
install anymore. Fedora 38 carries the latest version of it so use that
now. Keep the old steps in case we need to switch again in the future.
2023-08-02 10:36:17 +02:00
chrchr-github
78182d4773
Fix FN constVariablePointer (#5076)
* Fix FN constVariablePointer

* Fix FP

* Add const

* Fix tests

* Add const
2023-05-22 19:53:51 +02:00
Oliver Stöneberg
5be8eee943
iwyu.yml: use a distro which has the latest include-what-you-use / enabled Qt mappings / cleaned up includes (#4885) 2023-04-08 16:08:47 +02:00
Daniel Marjamäki
464fbe8d53 Update copyright year 2023-01-28 10:16:34 +01:00
Oliver Stöneberg
cff1cd9cda
applied clang-tidy misc-const-correctness fixes for POD types, iterators and references (#4529)
* applied `misc-const-correctness` fixes for POD types and iterators

* applied `misc-const-correctness` fixes for references
2022-10-02 07:12:40 +02:00
Oliver Stöneberg
45158ec064
cleaned up includes based on include-what-you-use (#4007)
* cleaned up includes based on include-what-you-use

* updated translations
2022-04-13 12:24:00 +02:00
Oliver Stöneberg
a0bab85bf9
ported GUI code from QRegExp to QRegularExpression (#3785) 2022-03-23 18:16:22 +01:00
Oliver Stöneberg
e48b5fc920
avoid usage of deprecated Qt APIs (#3923) 2022-03-22 21:44:41 +01:00
Oliver Stöneberg
2b3fc5ed1a
replaced Qt foreach() with standard for range loop / some related cleanups (#3915)
* replaced Qt foreach() with standard for range loop / some related cleanups

* updated translations
2022-03-21 17:14:26 +01:00
Oliver Stöneberg
9d524616b3
use forward declarations for Ui:: objects / renamed *.ui files to mat… (#3796) 2022-03-19 19:54:20 +01:00
Daniel Marjamäki
3989408738 Update copyright year 2022-02-05 11:45:17 +01:00
Oliver Stöneberg
9d36dd56a8
reordered includes in GUI code (#3790) 2022-02-02 16:17:28 +01:00
Paul Fultz II
7f358b2bed
Format with uncrustify (#3388) 2021-08-07 20:51:18 +02:00
Daniel Marjamäki
c489626167 updated copyright year 2021-07-04 08:09:11 +02:00
Oliver Stöneberg
6397e29f84
cleaned up includes based on include-what-you-use (#3141) 2021-04-03 21:30:50 +02:00
Daniel Marjamäki
51a6f154e0 GUI: If DATADIR is not configured try to guess it. Try to use application path. Or look if there is a cppcheck path. 2020-08-29 21:26:49 +02:00
Daniel Marjamäki
08ddd84780 Update copyright year 2020-05-10 11:16:32 +02:00
Daniel Marjamäki
3e0218299b Revert "Update copyright year"
This reverts commit 6eec6c4bd53d42e3a1179fd3a8a7dae5a43d4d50.
2020-05-10 11:13:05 +02:00
Daniel Marjamäki
6eec6c4bd5 Update copyright year 2020-05-10 11:11:34 +02:00
Oliver Stöneberg
91beccb304
fixed some clang-tidy warnings in gui code (#2565) 2020-03-07 11:33:08 +01:00
Daniel Marjamäki
c32261c737 Updated copyright year 2019-09-01 11:49:43 +02:00
Wolfgang Stöggl
1c32455ae1 Fix some typos (#1983) 2019-07-12 17:55:44 +02:00
Scott Furry
da213d1534 More Zero/Null as pointer constant corrections (#1947)
Further to pull request #1938. Changes were missed in previous commit.

Resolve warnings `warning: zero as null pointer constant` in code by
using C++ 11 recommended `nullptr`.
2019-07-02 20:37:44 +02:00
Daniel Marjamäki
7833ade128 Updated copyright year 2018-10-13 18:20:31 +02:00
Daniel Marjamäki
73a5aafba4 astyle formatting
[ci skip]
2018-06-19 14:02:58 +02:00
Daniel Marjamäki
dbc19d6503 GUI: Renamed private variables 2018-06-18 14:11:34 +02:00
Daniel Marjamäki
7d00b30488 GUI: Rename private variable ui to mUi 2018-06-18 10:13:33 +02:00
Daniel Marjamäki
c4caee6b18 Updated copyright year 2018-01-14 15:37:52 +01:00
Daniel Marjamäki
247192452f GUI: Better error handling when library file has unhandled elements 2017-11-12 21:03:22 +01:00
Daniel Marjamäki
63feebc34f GUI: Use early return 2017-11-11 21:52:36 +01:00
Daniel Marjamäki
4311d4192a Fixed CID 1360385, we know conversion can be made so use static_cast instead of dynamic_cast 2017-09-02 10:34:20 +02:00
PKEuS
f93f1bb1cc Refactorization: Removed redundant "struct" keywords in gui/librarydialog.cpp 2017-05-11 11:02:10 +02:00
Lauri Nurmi
996c9244d8 Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
PKEuS
8f22e4924c Updated AStyle to version 2.05.1
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Aleksandr Pikalev
e9b84a4f06 Related #7173: LibraryEditor: Do not save file with empty name 2015-11-29 17:02:08 +01:00
Aleksandr Pikalev
fe8cedade5 Fixed #7173 (Library Editor: Save As button and error messages) 2015-11-29 11:21:04 +01:00
Aleksandr Pikalev
a6206ae727 Fixed #7174: Do not forget argument number in Library Editor 2015-11-27 10:54:06 +01:00
Daniel Marjamäki
0f9d90d2be Changed Copyrights. Removed my name. 2015-11-18 20:04:50 +01:00
Aleksandr Pikalev
ebfa40c369 Fixed #7047 (Library Editor crashes if I try to edit not selected function) 2015-11-05 16:34:08 +01:00
Daniel Marjamäki
e09f583096 GUI: library editor, edit function comments 2015-09-10 20:11:05 +02:00
orbitcowboy
60770a8fdc test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-08 15:43:22 +02:00
Daniel Marjamäki
a32aa03035 GUI: Library editor - rename function 2015-09-08 15:38:02 +02:00
Daniel Marjamäki
4cffff7bde GUI: tweaks in library dialog for sorting and filter 2015-09-06 14:54:21 +02:00
Daniel Marjamäki
9f31414179 GUI: Library editor - added sort button and filter edit box 2015-09-06 14:20:27 +02:00
Daniel Marjamäki
ddfc766375 GUI: indentation of cfg files 2015-09-06 09:10:45 +02:00
Daniel Marjamäki
4385879b72 GUI: Improved handling of noreturn in library editor 2015-09-03 20:36:26 +02:00
Daniel Marjamäki
a65fabebce GUI: refactoring librarydialog 2015-08-30 18:37:12 +02:00
Daniel Marjamäki
3bae4ae429 GUI: Renamed LibraryData to CppcheckLibraryData to try to avoid a name clash 2015-08-30 13:41:57 +02:00