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 - fc42fc9 fixes this particular runtime issue for DJGPP & __sun
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)
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).
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.
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.
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.
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.
This commit implements writing data in the project file dialog back to project file.
Project file code still read the list of automatically deallocated classes from project file. That feature hasn't been supported in few last releases.
https://sourceforge.net/apps/trac/cppcheck/ticket/437 Add empty cases for XML element types we don't need to handle.
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