Commit Graph

70 Commits

Author SHA1 Message Date
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