383 Commits

Author SHA1 Message Date
Kimmo Varis
23eb8c41eb GUI: Add icons for warning/performance categories and add them to toolbar. 2010-10-18 21:35:35 +03:00
Kimmo Varis
aefa7d3370 GUI: Shorten menutexts for error/style items.
Items located in 'View' menu don't need 'Show' word as View-menu name
already implies it is about viewing items.
2010-10-18 20:58:04 +03:00
Kimmo Varis
bee8d15848 GUI: Add support for warning and performance -error types. 2010-10-18 20:50:34 +03:00
Reijo Tomperi
3bedc9331e Fix encoding in some files 2010-10-03 00:20:18 +03:00
Kimmo Varis
72759de7a9 GUI: Fix path separators in project file.
Qt 4.7 qmake warns about using backslash in paths.
2010-09-26 10:13:21 +03:00
Daniel Marjamäki
d9e7dd4d31 ln-: updated copyright 2010-09-16 22:15:37 +02:00
Kimmo Varis
b88ce77e4a Rename gui to cppcheck-gui.
The 'gui' as executable name is way too general. So this commit
renames it to 'cppcheck-gui' which clearly says it is gui for
cppcheck.
2010-09-11 12:15:46 +03:00
Kimmo Varis
0fd51a814f Fix ticket #2041 (GUI: duplicate messages because file name case different) 2010-09-10 17:42:14 +03:00
Kimmo Varis
c0d1bfeedf GUI: use new style API to enable style checks. 2010-09-06 23:28:41 +03:00
Kimmo Varis
cf2822c427 GUI: Upate translation files. 2010-09-05 12:47:10 +03:00
Sbastien Debrard
2049f70754 Fixed #1972 (file extensions) 2010-09-02 19:17:47 +02:00
Kimmo Varis
6777718403 GUI: Fix slot name for debugerrors.
Now DebugErrors get correctly routed to check log. The wrong slot
name also caused a warning printed to the console as reported by
thevbm in ticket #2006.
2010-09-01 19:42:28 +03:00
Zachary Blair
15b4cab4bb Fixed #1934 (GUI: Add checking info display) 2010-08-31 23:33:19 -07:00
Kimmo Varis
2f0a245032 Fix error I made merging my internal error handling.
GUI didn't show debug warnings even if they were enabled.
2010-08-29 14:06:01 +03:00
Kimmo Varis
b0fa7bfd8c GUI: Add option to show debug warnings in checking log. 2010-08-29 09:38:03 +03:00
Kimmo Varis
20a4f1e195 GUI: Output debug errors to log view.
Debug errors were not shown anywhere in the GUI, they were just
ignored. This commit adds new signal for those debug errors and
directs them to checking log.

Solves ticket #1898 (GUI: Handle internal errors from lib)
2010-08-28 20:37:21 +03:00
Kimmo Varis
35afc4c63f GUI: Disable debug warnings for now. 2010-08-28 09:21:25 +03:00
Kimmo Varis
11e073cf99 GUI: Fix compiling. 2010-08-28 09:16:01 +03:00
Daniel Marjamäki
4d6b7bea2e GUI: some fixes of help
* moved the help file to the application folder
 * use absolute path instead of relative path for helpfile
 * show warning messages if help file doesn't exist or fails to be loaded
2010-08-25 20:08:07 +02:00
Kimmo Varis
c0c4d18120 GUI: Disable project opening while checking files. 2010-08-25 20:59:30 +03:00
Kimmo Varis
b6bef44f61 GUI: Fix enabling project closing action.
Project closing action was not enabled when the project file was
opened from the checked directory. Also update the window caption to
contain project file name that was opened from the checked
directory.
2010-08-25 18:54:45 +03:00
Kimmo Varis
501015c760 GUI: Fix GCC build failure because of copy-paste error. 2010-08-25 01:01:44 +03:00
Kimmo Varis
28996bd9c1 Fixed #1978 (Fix compiler warnings in GUI (MainWindow::mExiting’ will be initialized after...)) 2010-08-25 00:56:45 +03:00
Kimmo Varis
8731b3efdd Fixed #1977 (GUI crashes when checking a directory)
The GUI was crashing if no project files were in checked directory.
I missed this case in my own testing because I had created test
project files for each directory. Whoops!

Anyway, this now also makes silently loaded project files (project
file residing in directory but not load by the user) as normal
projects in the GUI.
2010-08-25 00:47:05 +03:00
Kimmo Varis
ce0f65e761 GUI: Fix for loading "oldstyle" project file. 2010-08-24 20:50:25 +03:00
Kimmo Varis
4ccdcf0fc2 Merge remote branch 'remotes/kimmo/loadable-project'
Conflicts:
	gui/gui.qrc
	gui/mainwindow.cpp
	gui/mainwindow.h
2010-08-24 20:37:51 +03:00
Daniel Marjamäki
d97b3bd9d9 GUI: Added icons to the help window. 2010-08-23 22:01:01 +02:00
Kimmo Varis
f2e3090a83 GUI: Fix bug that same defines were added to list several times. 2010-08-21 22:59:55 +03:00
Kimmo Varis
dbf097326d Improve project file documentation. 2010-08-21 22:54:28 +03:00
Kimmo Varis
2f063ad775 GUI: Use rootpath from Project file.
If rootpath is given in project file then use it as a current
directory. Also check if paths given in project file are
relative and use rootpath as base path for relative paths.
2010-08-21 19:38:51 +03:00
Kimmo Varis
d967151c32 GUI: Add project root path to Project file -dialog. 2010-08-21 17:08:10 +03:00
Daniel Marjamäki
8432e0048f GUI: updated helpwindow ui 2010-08-21 13:43:07 +02:00
Daniel Marjamäki
65c5b9906e GUI: Fixed help window leaks and made sure it is closed when the gui is closed 2010-08-21 11:02:52 +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
Daniel Marjamäki
ac8544f3b3 GUI: fixed the online-help.qhp file listing 2010-08-20 22:31:49 +02:00
Daniel Marjamäki
1e59302be6 GUI: Removed the help collection file because it didn't work on different Qt setups 2010-08-20 22:12:40 +02:00
Daniel Marjamäki
06b9cdb679 GUI: Updated online-help. This is still under work. 2010-08-20 21:25:43 +02:00
Daniel Marjamäki
1d0debddef astyle formatting 2010-08-20 19:31:23 +02:00
Kimmo Varis
5a65f4d55d GUI: Prevent opening new files or directories when project file loaded. 2010-08-19 22:28:56 +03:00
Kimmo Varis
2da6a242d2 GUI: Set current directory when loading a project file. 2010-08-19 22:06:45 +03:00
Daniel Marjamäki
043ff6aab5 GUI: Added generated file online-help.qhc because it is not yet autogenerated when building 2010-08-19 19:21:39 +02:00
Daniel Marjamäki
c83461c858 GUI: added simple help file 2010-08-19 18:58:40 +02:00
Daniel Marjamäki
2fea5f01d6 GUI: quick fix for #1957 (Unable to compile gui.pro with Qt Creator in Windows) 2010-08-19 18:21:42 +02:00
Kimmo Varis
c8e073576c GUI: Add icon for Open Project and add it to toolbar. 2010-08-19 17:47:27 +03:00
Kimmo Varis
6a3bccae6f GUI: Add check paths field to Project File -dialog. 2010-08-17 19:32:29 +03:00
Kimmo Varis
aef0aeb974 GUI: Set project filename to main window caption.
When project file is closed the caption is emptied.
2010-08-17 18:06:17 +03:00
Kimmo Varis
d4210f4fc0 GUI: Leave new project file open and selected.
When user creates new project file one probably wants to keep using
the same project file. So leave it open for use.
2010-08-15 22:51:15 +03:00
Daniel Marjamäki
8d52c33790 GUI: Use Notepad++ by default in windows. Ticket: #1931 2010-08-15 16:40:16 +02:00
Tim Gerundt
eb6d596085 Fixed #1916 (gui: Update german translation) 2010-08-15 16:07:48 +02:00
Kimmo Varis
0f4d067926 GUI: Add menuitem to edit open project file.
Earlier we opened project file only for editing. But now that we
really use project files we need separate feature for editing
them.
2010-08-15 16:12:32 +03:00