Commit Graph

57 Commits

Author SHA1 Message Date
Daniel Marjamäki c32261c737 Updated copyright year 2019-09-01 11:49:43 +02:00
Scott Furry a195477470 Correct Zero/Null as pointer constant (#1938)
Building with enhanced clang warnings indicated a large number of
instances with the warning:

`warning: zero as null pointer constant`

Recommended practice in C++11 is to use `nullptr` as value for
a NULL or empty pointer value. All instances where this warning
was encountered were corrected in this commit.

Where warning was encountered in dependency code (i.e. external library)
no chnages were made. Patching will be offered upstream.
2019-06-30 21:39:22 +02:00
Daniel Marjamäki db6f4f4a3b Fix a few 'const reference' warnings by Cppcheck 2018-06-23 23:04:54 +02:00
Daniel Marjamäki a0906140a6 Suppressions: New extensible Suppressions xml format that allow more attributes. To start with it also allows symbolName. 2018-04-09 06:43:48 +02:00
Daniel Marjamäki 7e4dba6a7e Updated copyright year 2018-03-31 20:59:09 +02:00
Daniel Marjamäki 6f2d4361df Misra: Integration of MISRA in the GUI. The misra addon can now extract the rule texts from the PDF. 2018-01-20 14:13:09 +01:00
Daniel Marjamäki c4caee6b18 Updated copyright year 2018-01-14 15:37:52 +01:00
Daniel Marjamäki 120a7dd42e GUI: Refactoring pythonCmd lookup 2017-10-12 22:24:45 +02:00
Daniel Marjamäki abf97c2c26 GUI: refactoring 2017-10-12 17:02:25 +02:00
Daniel Marjamäki 6ddcfc3d1c GUI: Updated handling of clang and clang-tidy 2017-09-22 15:41:27 +02:00
Daniel Marjamäki f6184bba0d Fixed #8169 (GUI: Show checking log in mainwindow) 2017-08-19 22:55:13 +02:00
Daniel Marjamäki 71f52b77a4 GUI: Configuration of python path for the addons 2017-08-14 00:23:21 +02:00
Daniel Marjamäki f8c4d6cbc7 GUI: Clang settings 2017-08-12 12:04:42 +02:00
Daniel Marjamäki ad82f49ae2 GUI: Suppressing results 2017-08-11 07:45:29 +02:00
Daniel Marjamäki ff8c5f7457 GUI: Added configuration for VS include paths 2017-08-07 23:00:24 +02:00
Daniel Marjamäki 7f1db7b716 GUI: Working on Clang support on Windows 2017-08-04 20:08:01 +02:00
Matthias Krüger abce74ff56 gui: update doxygen comment missed in previous commit. 2017-08-03 22:56:10 +02:00
Matthias Krüger 0e40a4cc39 gui: ThreadHandler::check() remove unused parameter "all".
Was:
threadhandler.cpp:78:58: warning: unused parameter ‘all’ [-Wunused-parameter]
 void ThreadHandler::check(const Settings &settings, bool all)
                                                          ^~~
2017-08-03 22:48:38 +02:00
Daniel Marjamäki dfc48be70e Fixed #2363 (GUI: Using addons in the checking) 2017-08-03 12:30:28 +02:00
Daniel Marjamäki 97a86313aa GUI: rename methods, fix connect 2017-07-28 13:13:10 +02:00
Daniel Marjamäki 98803bb14c GUI: Renamed methods in ThreadHandler 2017-07-28 12:39:28 +02:00
Daniel Marjamäki 84e6163cb8 GUI: Add cppcheck build dir 2016-11-19 20:38:50 +01:00
Daniel Marjamäki f555abb0b5 GUI: Expose --project to gui 2016-08-18 21:58:50 +02:00
Lauri Nurmi 996c9244d8 Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
Akhilesh Nema bedd85fa50 Fixed #1459 (GUI: Allow re-checking selected files/folders) 2015-12-23 10:28:07 +01:00
Daniel Marjamäki 0f9d90d2be Changed Copyrights. Removed my name. 2015-11-18 20:04:50 +01:00
PKEuS 6dcb918b78 GUI: Implemented "Recheck all files" button (#3614), renamed "Recheck files" button to "Recheck modified files" (#3624) 2015-10-14 19:07:20 +02:00
Jakub Melka b7d92a4fc7 Fixed warnings of CppCheck's own code (caused by new check #695) 2015-03-08 18:18:09 +01:00
Daniel Marjamäki ff11ba9847 Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Reijo Tomperi 5d5f7085bf Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02:00
PKEuS fc78cac797 Made several functions in GUI static or const
Fixed cppcheck message about wrong order in initializer list
2012-10-27 12:10:32 +02:00
PKEuS b1a768e5ec Cleanup of includes in GUI (Removed redundant includes, use forward declarations) - Build speedup by 3% in VS10 (LINKCORE=yes, Qt 4.8.3) 2012-10-07 12:25:34 +02:00
Daniel Marjamäki 87a118cd16 GUI: Recheck changed files. Ticket: #816 2012-02-14 21:16:11 +01:00
Reijo Tomperi 8cae17fda8 Update year to 2012 2012-01-01 01:05:37 +02:00
Daniel Marjamäki 6f8e42a5af changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
Kimmo Varis d1d8c24a03 GUI: Don't use relative paths for include files. 2011-07-21 15:13:41 +03:00
Reijo Tomperi 226b605774 Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
vBm 46a11183a5 Fixed some spelling mistakes 2010-12-15 18:45:53 +01:00
Kimmo Varis 27936a9968 GUI: Small cleanup - use const reference. 2010-12-08 14:55:56 +02:00
Zachary Blair 15b4cab4bb Fixed #1934 (GUI: Add checking info display) 2010-08-31 23:33:19 -07:00
Kimmo Varis f60a469932 Fixed #1831 (GUI: no progress bar when rechecking files)
Need to initialize the checking also when rechecking.
2010-07-07 12:25:47 +03:00
Reijo Tomperi 35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Daniel Marjamäki d4f706e040 fixed qmake building with new folder structure 2009-10-25 19:29:10 +01:00
Reijo Tomperi 8e0f868a5e Fix #455 (Recheck is enabled when no previous results available)
http://sourceforge.net/apps/trac/cppcheck/ticket/455
2009-10-13 11:19:00 +03:00
Reijo Tomperi fdde2182b9 Fix GPL comments in all files. ">." was missing from the end. 2009-09-27 18:08:31 +03:00
Daniel Marjamäki 7df3670128 doc: updated doxygen comments. three groups where created - 'GUI', 'Core' and 'Checks' 2009-07-17 10:49:01 +02:00
Vesa Pikki 27d630f58d Disabling progressbar if stop button is pressed.
This actually had no visible effect on KDE.
2009-07-02 20:23:44 +03:00
Kimmo Varis 2eff269e60 GUI: Make ThreadHandler class part of object tree. 2009-06-20 19:55:23 +03:00
Kimmo Varis c9ceccfd3d GUI: Prevent exiting the application while checking. 2009-06-04 17:02:35 +03:00