Commit Graph

98 Commits

Author SHA1 Message Date
Daniel Marjamäki 791f6ecbec GUI: Add 'Clang Analyzer' option 2017-09-22 18:57:53 +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 330ceccdc9 GUI: Rework handling of tags. The allowed tags are now userdefined in the project file 2017-08-18 17:25:08 +02:00
Daniel Marjamäki 018d59b393 GUI: Fix bug when loading project file 2017-08-10 11:15:18 +02:00
Daniel Marjamäki 0561d59d28 GUI: Added checkbox 'Analyze all Visual Studio configurations' in the projectfile dialog 2017-08-10 00:18:04 +02:00
PKEuS b4cf79f1b7 GUI: Refactorizations 2017-08-03 12:43:44 +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 037fc6e3a4 GUI: Remove Project class 2017-07-31 12:02:51 +02:00
Daniel Marjamäki 8d704f7709 GUI: Rename methods in ProjectFile 2017-07-28 05:08:59 +02:00
Daniel Marjamäki 84e6163cb8 GUI: Add cppcheck build dir 2016-11-19 20:38:50 +01:00
Daniel Marjamäki 81a38bd7ea GUI: Refactorings 2016-10-02 18:03:21 +02: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
PKEuS 8f22e4924c Updated AStyle to version 2.05.1
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Daniel Marjamäki 0f9d90d2be Changed Copyrights. Removed my name. 2015-11-18 20:04:50 +01:00
Daniel Marjamäki ff11ba9847 Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
Daniel Marjamäki 051d42ae6b astyle formatting 2014-11-20 14:20:09 +01:00
orbitcowboy f5d804f71a running astyle 2014-11-20 10:13:03 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Daniel Marjamäki 24a9da3771 GUI: Add suppressions to project file 2013-12-30 22:32:50 +01:00
Daniel Marjamäki 9698387d3a GUI: Add libraries setting to project 2013-12-29 18:06:31 +01:00
Andrew C. Martin bd0d9b9639 fix misspellings & gcc v3.4.6 warnings
1.  fix typos / misspellings
 - Fix misspelling within comments, variable/function names, stdout messages
 - changes the name of an error code: ```stlBoundries``` changed to ```stlBoundaries```.  Alias old name (```stlBoundries```) to the new one.

2.  fix gcc v3.4.6 32bit & 64bit warnings

 - fixes gcc v3.4.6 warnings, except for those in tinyxml and "-Wmissing-declarations" makefile warnings
 - in Preprocessor::handleIncludes(), replace a ```vector <bool>``` with ```stack<bool>``` (see ```vector<bool>``` warning below).
   - this is the only ```vector<bool>``` in the codebase
 - ```vector <bool>``` is actually a case of template specialization, and is not recommended, according to the following links:

http://stackoverflow.com/q/6461487
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2160.html
http://stackoverflow.com/q/670308

 - in the codebase before and after this change, testrunner SEGVs in a number of places on gcc v3.4.6, including ```Check::~Check()```, among others
   - fc42fc95 fixes this particular runtime issue for DJGPP & __sun
2013-02-09 23:43:09 -07:00
Reijo Tomperi 5d5f7085bf Updating year 2012 -> 2013 to .cpp and .h files and man page. 2013-01-01 18:29:08 +02: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 4998c913da GUI: Rename Ignore-feature to Exclude-feature.
Exclude is the correct term to use when removing paths from the
list of checked items. Ignore as a term was a poor choise to begin
with. XML file reading still recognizes and reads  the 'ignore'
element but writes 'exclude' element.

Ticket: #2995 (GUI: Rename ignore-feature to exclude-feature)
2011-08-23 20:44:04 +03:00
Kimmo Varis 1c4e9c662b GUI: Show native path separators.
Show native path separators in project file-dialog. Convert paths
to internal separators when reading from project file and when
reading from the dialog. Convert to native separators when adding
to the dialog (for the user).
2011-02-28 17:18:14 +02:00
Kimmo Varis ae11b064c8 GUI: Small cleanup for projectfile code. 2011-02-28 16:21:03 +02:00
Kimmo Varis 6fc90d1f18 GUI: Write ignore paths to project file. 2011-02-28 16:08:14 +02:00
Kimmo Varis 46f7a81b7b GUI: Take filtering into use in GUI.
Add applying of filtering into list of files to check if we have
an active project file. Filtering is quite much similar to the
filtering in CLI.

If we have directory filter ("gui/") then we check all paths if
they contain "gui" part. In practice we search for string "/gui"
from the paths. If we have filename filtering
("gui/projectfile.cpp") then we check if any of the paths end
with that.
2011-02-28 00:13:28 +02:00
Kimmo Varis e81fa46699 GUI: Convert some projectfile method arguments const. 2011-02-27 18:53:57 +02:00
Kimmo Varis d6f6da10fa GUI: Add ignored paths support to project file.
This patch adds support for ignored paths in the project file.
There is new <ignore> element which can contain one or more
<path> elements with name attribute containing the path to
ignore.
2011-02-27 18:32:53 +02:00
Reijo Tomperi 226b605774 Change year 2010 -> 2011 in license texts. 2011-01-09 21:33:36 +02:00
Kimmo Varis 1e7694d56b GUI: Add new optional root-element to project file.
Add support for new root-element to project file. This element
defines project root directory if given. If not given then project
root is directory where the project file is located.
2010-08-20 23:58:00 +03:00
Kimmo Varis a82edf5278 GUI: Add check paths to project file.
Add new element containing paths to check into the project file. This
is for growing project files to real project files that can be loaded
and selected from the GUI. And decoupling project files from the
directory they reside. So you can put project file in any directory,
load it and it checks paths listed.
2010-08-14 18:42:37 +03:00
Kimmo Varis 941c1a8eb8 GUI: Improve error handling for reading/writing project file. 2010-07-08 19:49:04 +03:00
Kimmo Varis 4958424adc GUI: Fix giving filename to project file saving function. 2010-07-08 16:16:25 +03:00
Kimmo Varis 9d0c080697 GUI: Implement writing project file data to disk from dialog.
This commit implements writing data in the project file dialog back to
project file.
2010-07-08 00:59:02 +03:00
Kimmo Varis 5aadf242d7 GUI: Remove code for automatic deallocated classes.
Project file code still read the list of automatically deallocated
classes from project file. That feature hasn't been supported in
few last releases.
2010-07-04 00:15:19 +03:00
Robert Reif 1207531c21 Fixed #1698 (Add define support to GUI) 2010-05-20 07:22:19 +02:00
Daniel Marjamäki c718a7c595 astyle: Update to astyle 1.24 2010-04-15 20:08:51 +02:00
Reijo Tomperi 35d2a27b9c Update copyright year in all source files 2010-04-13 22:23:17 +03:00
Daniel Marjamäki 0cad22314e Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup. 2010-04-02 07:30:58 +02:00
Martin Ettl 193aa7d1d3 astyle fix 2010-04-02 02:21:53 +02:00
Reijo Tomperi fdde2182b9 Fix GPL comments in all files. ">." was missing from the end. 2009-09-27 18:08:31 +03:00
Kimmo Varis 462117485d GUI: Read include directories from project file. 2009-07-04 01:38:47 +03:00
Kimmo Varis df241441dc Fix ticket #437 (Compile warnings in GUI (in Linux))
https://sourceforge.net/apps/trac/cppcheck/ticket/437
Add empty cases for XML element types we don't need to handle.
2009-06-23 09:20:09 +03:00
Kimmo Varis 1aafeebe7b GUI: Add support for project files.
GUI reads per-project settings (automatically deallocated classes) from XML project file. The project file format is described in projectfile.txt. Example project file is added for gui.

See also forum discussion at:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=46
2009-06-22 11:57:17 +03:00