Commit Graph

713 Commits

Author SHA1 Message Date
PKEuS 3eede5ba8c Fixed/Improved description of -rp/--relative-paths
run astyle
2012-04-14 16:07:37 +02:00
Reijo Tomperi 8777842a23 Add missing license text to gui/selectfilesdialog.* files 2012-04-14 06:01:12 +03:00
PKEuS 6643e14d3c Avoid copying Settings in CppCheckExecutor 2012-04-06 14:19:26 +02:00
Stefan Weil cbfd1349b3 manual: fix grammar in documentation 2012-03-18 16:50:15 +01:00
larudwer e0c880133c on Windows Backslashes in Pathnames must be double quoted, otherwise some editors like e.c. SciTE are not able to open the file. 2012-03-04 15:53:39 +01:00
PKEuS fbef32d27b Updated german translation (nearly complete)
Added my name to AUTHORS (forgotten for a long time)
2012-03-02 16:20:15 +01:00
vBm 3d612b4bef Added my full name to AUTHORS
Updated Serbian localization file. (yet to be translated)
2012-03-01 22:58:51 +01:00
Ettl Martin ff1edbc98a gui: fixed wrong spelled words in comments. 2012-02-15 23:00:13 +01:00
Daniel Marjamäki 87a118cd16 GUI: Recheck changed files. Ticket: #816 2012-02-14 21:16:11 +01:00
Daniel Marjamäki 3c30dad5f1 GUI: updated copyright text in about dialog 2012-02-12 02:57:40 +01:00
Daniel Marjamäki 37305972fc GUI: Removed translations for english. There is no reason to translate a string from english to english. 2012-02-12 02:55:48 +01:00
lioncash 18e95ee83e Update the Japanese language translation file.
When I updated it through QT, it added some missing things to the other translation files, I hope that doesn't break anything :x

So far from what I've tested, everything works fine.
2012-01-28 14:50:27 -05:00
Daniel Marjamäki 9f493c7c51 GUI: Refactorings. Changed names. Added comments. 2012-01-15 07:59:54 +01:00
Daniel Marjamäki fe12b280b9 GUI: In the selectfiles dialog use partial selection if some children are checked and others are not 2012-01-15 07:43:50 +01:00
Daniel Marjamäki e43fa83aa4 GUI: SelectFilesDialog: increased the height somewhat 2012-01-13 06:34:07 +01:00
Daniel Marjamäki bcd04dd79e GUI: SelectFilesDialog: Changed text for OK button to 'Check' 2012-01-13 06:33:10 +01:00
Daniel Marjamäki d8a1a693d5 GUI: Fixed path match problem that caused extra directories to be selected/unselected 2012-01-13 06:18:56 +01:00
Reijo Tomperi da09adc583 Fix #3510 (Improve error message for --suppressions-list)
http://sourceforge.net/apps/trac/cppcheck/ticket/3510
Print additional info to error message if we suspect that multiple files were given.
2012-01-12 22:21:51 +02:00
Daniel Marjamäki 34105cb17e GUI: Use SelectFilesDialog result if OK button is pressed 2012-01-12 07:51:59 +01:00
Daniel Marjamäki feb187cb02 GUI: Added ui file for the selectfilesdialog 2012-01-11 21:32:52 +01:00
Daniel Marjamaki 833f9af107 GUI: give the SelectFilesDialog a parent widget 2012-01-11 06:26:24 +01:00
Daniel Marjamaki 8df66c9df7 GUI: SelectFilesDialog - tweaked behaviour when unchecking a folder and checking a subfolder 2012-01-11 06:20:30 +01:00
Daniel Marjamaki 9beb38a74d GUI: SelectFilesDialog - set root path to '/'. More files are selectable. 2012-01-11 06:01:14 +01:00
Daniel Marjamäki fe3d6bf8ea Merge pull request #75 from kimmov/guifixes
GUI fixes + VS 2008 project files update
2012-01-10 13:41:07 -08:00
Daniel Marjamäki fb248ed270 GUI: New experimental dialog for selecting files to check 2012-01-10 22:39:22 +01:00
Kimmo Varis cc92f1c432 GUI: Add include paths as relative to project file.
When adding a new include path check if the path is relative path to
the project file's path. If path is relative then remove the begin of
the path making it a relative path in project file.

Ticket: #3019 (GUI: Add project include paths as relative paths)
2012-01-10 22:14:51 +02:00
Kimmo Varis c74e246e9b GUI: Remeber last path where project file was opened from.
It is handy to remember the last location of the opened project file.
Currently the Open Project -dialog was always opened to location of
the executable file. Which is never the correct place. But last
opened project file location might at least be near the location user
wants to open next.

Ticket: #3493 (GUI: remember last path in Open Project File)
2012-01-10 21:40:11 +02:00
Kimmo Varis 362c5f604c GUI: Fix crash opening project file from command line.
The GUI crashed if the project file was tried to open from the
command line. The project file loading was run before the MRU menu
was created but tried to add a new item to it.
2012-01-10 21:16:47 +02:00
Reijo Tomperi 8cae17fda8 Update year to 2012 2012-01-01 01:05:37 +02:00
Kimmo Varis 314fd25f6e GUI: Disable project MRU items while checking.
Project file can't be opened when the check is running. So the menu
items must be disabled.

Fixes ticket: #3446 (GUI: MRU items must be disabled while checking)
2011-12-28 11:52:18 +02:00
Daniel Marjamäki 2d0531227f Merge pull request #72 from kimmov/gui-standards
Add standards support for the GUI
2011-12-27 21:55:46 -08:00
Kimmo Varis 2356e593e0 GUI: Add menu items for selecting standards.
This commit adds menuitems for selecting standards:
 - C++11
 - C99
 - Posix

Fixes tickets:
 #3203 (GUI: Support std=c99)
 #3202 (GUI: Support std=posix)
2011-12-27 22:12:52 +02:00
Kimmo Varis a057c8f30d GUI: Fix file order in project file. 2011-12-27 21:13:16 +02:00
Daniel Marjamäki 996a109b14 Merge pull request #70 from kimmov/gui-filter-fix
GUI: Fix bug in severity filtering.
2011-12-27 08:10:37 -08:00
Kimmo Varis bb28041758 GUI: Fix bug in severity filtering.
There was (obviously) a copy-paste bug in code converting severities
to GUI's show types. This caused some severities not being
filtered correctly when severity selection in GUI was changed.

Fixes ticket: #3242 (GUI: Unmatched suppression: message in wrong category)
2011-12-27 14:54:03 +02:00
Kimmo Varis f15729bee2 GUI: Disable platform selection during checking.
Fixes ticket: #3250 (GUI: platform type should not be changeable at runtime)
2011-12-27 12:46:21 +02:00
Kimmo Varis 56212aa9ca GUI: Remove empty/space-only items from MRU list. 2011-12-27 11:46:43 +02:00
Marek Zmysłowski 7c4c0b628b Fixed #3216 (GUI: Crash when cancel is clicked in the New Project dialog) 2011-11-25 07:42:16 +01:00
Edoardo Prezioso 9dd3360cd6 Fix some complainted choices made in my older commits.
Note: probably you should do 'make clean' before using 'make' to rebuild it again. Maybe it's me but 'make' reports various errors when linking.
2011-11-01 13:23:47 +01:00
Thomas Jarosch 91a5d95bc9 Use Token::simpleMatch() / Token::findsimplematch() where possible 2011-10-28 22:31:05 +02:00
Daniel Marjamäki 321aadf848 Merge pull request #46 from rpavlik/patch-1
Use forward slashes in resource file to support cross-building.
2011-10-25 11:49:50 -07:00
Ryan Pavlik 53d848da1d Remove 'help' from qmake profile
Supports cross-build using mingw-cross-env
2011-10-24 17:48:54 -05:00
Ryan Pavlik d3ede39d24 Use forward slashes in resource file to support cross-building. 2011-10-24 15:41:21 -05:00
Daniel Marjamäki 4705026242 fixed a few doxygen warnings 2011-10-16 17:16:07 +02:00
Daniel Marjamäki 6f8e42a5af changed the astyle formatting flags 2011-10-13 20:53:06 +02:00
Kimmo Varis 4c24b6a804 GUI: Rename ErrorItem::id to ErrorItem::errorId. 2011-10-12 22:19:08 +03:00
Kimmo Varis 00ae7dbda3 GUI: Move ShowTypes enum to own class and file.
We are using ShowTypes around the GUI codebase so it makes sense
to have it in its own class. And the class also contains related
helper functions instead of scattering them around different
classes.

ShowTypes also contains the visibility settings for all the
GUI severities. Implementation in this commit makes ShowTypes
class to load the visibility settings when it is created. And save
the settings when it is destroyed.
2011-10-11 22:20:36 +03:00
Kimmo Varis 3b82c26a70 GUI: Update translation files. 2011-10-07 20:09:15 +03:00
Kimmo Varis 09df5de964 GUI: Rename default platform to "Build-in".
"default" as platform name/definition doesn't tell much and would
only confuse users. "Build-in" is not perfect either but it is
best I've can come with before the release.

Ticket: #3156 (GUI: "default" platform needs proper name)
2011-10-05 20:06:32 +03:00
Kimmo Varis 2ff7999baf GUI: Fix enabling/disabling visibilities of errors
When GUI was started not all the categories visibility statuses
were not preserved. I.e.

Ticket: #3087 (GUI does not show all reported files until a filter button state is changed)
2011-10-05 19:50:10 +03:00