Kimmo Varis
f7c0377412
GUI: Fix EOL style of stats.ui.
2010-12-27 11:27:39 +02:00
Kimmo Varis
2cd4fbfeb2
GUI: Add 'portability' warnings to statistics-dialog.
2010-12-27 11:17:17 +02:00
Kimmo Varis
f150f1ba05
GUI: Add GUI for showing 'portability' warnings.
...
Add menuitem, icon and toolbar button for portability warnings.
Ticket #2359 (Gui: Show portability warnings).
2010-12-27 11:06:31 +02:00
Kimmo Varis
0758160fcd
GUI: Fix building with Qt < 4.7.0.
...
I accidentally added the 'placeholderText' attribute to settings.ui
when editing it with Qt Creator. That attribute was added in Qt
4.7.0 and we are not using it for anything. So removing it to fix
building with older Qt versions.
2010-12-26 23:49:43 +02:00
Kimmo Varis
dd13a98fd9
GUI: Improve Preferences-dialog layout.
...
Make threads-textfield smaller as it can contain only three numbers.
Also set the input mask so that three numbers at max are accepted.
2010-12-26 20:18:49 +02:00
Kimmo Varis
991318d0de
GUI: zero is not valid value for bool type.
2010-12-26 18:37:11 +02:00
Kimmo Varis
436bd68ece
GUI: Reorder settings-constants in common.h
...
It is easier to manage those constants when there is even some basic
ordering and organization.
2010-12-26 18:35:51 +02:00
Kimmo Varis
d367243039
GUI: Allow enabling inline suppressions from the GUI.
...
Ticket #2342 (inline suppressions not available from the GUI)
2010-12-26 18:29:43 +02:00
Kimmo Varis
3020e77570
GUI: Show information messages count in stats dialog.
2010-12-26 15:23:56 +02:00
Kimmo Varis
a73970483d
GUI: Add "Information" errors items to menu and toolbar.
2010-12-26 15:23:55 +02:00
Kimmo Varis
84180e4fcd
GUI: Change Style-warnings icon.
...
I want to use the current Style-warning icon for Information
messages. So change the Style-warning icon first to new
icon.
2010-12-26 15:23:54 +02:00
Kimmo Varis
31c974c954
GUI: Add Information-severity support.
2010-12-26 15:23:54 +02:00
Kimmo Varis
062eabf246
Don't use relative paths in lib.pri.
...
Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
2010-12-18 17:03:46 +02:00
vBm
46a11183a5
Fixed some spelling mistakes
2010-12-15 18:45:53 +01:00
Zachary Blair
500c0a19c3
Fixed #2047 (GUI: save log to file)
2010-12-14 23:51:21 -08:00
Zachary Blair
05ebf120c3
Fixed #2266 (GUI: Better check duration display format)
2010-12-14 00:16:26 -08:00
Kimmo Varis
9186cd8503
GUI: Add partial support for portability severity.
...
Add 'backend' support for the new 'portability' severity. The new
severity is handled, converted to new SHOW_PORTABILITY and added
with correct type to the result view.
There is no menuitem/toolbar button to show/hide portability
items. Likewise there is no line for portability issues in stats-
dialog.
Ticket #2106 (More severities and new xml format)
2010-12-13 11:25:45 +02:00
Daniel Marjamäki
2d3865a671
Add support for user defined rules
2010-12-12 11:56:22 +01:00
Daniel Marjamäki
71146a444b
online-help: Remove old files before generating new ones.
2010-12-11 17:29:40 +01:00
Daniel Marjamäki
ab37127511
GUI: updated help file. Use latest manual.
2010-12-11 17:04:31 +01:00
vBm
ccaa5c2c17
GUI: Initial addition of Serbian localization using clean English template.
2010-12-10 16:59:36 +01:00
Kimmo Varis
bc30c7d23b
GUI: Small cleanup - use const reference.
2010-12-08 15:08:27 +02:00
Kimmo Varis
27936a9968
GUI: Small cleanup - use const reference.
2010-12-08 14:55:56 +02:00
Kimmo Varis
fab16c4cbf
GUI: Fix typo in Japanese translation name.
...
The typo was visible in the Language-menu.
2010-12-08 11:52:49 +02:00
Kimmo Varis
ec842782e4
GUI: Update language files.
2010-12-08 11:22:08 +02:00
Kimmo Varis
675cb5b5a2
GUI Add Japanese translation.
...
The translation was contributed by cjohnk7@sourceforge.net .
Ticket #2276 .
2010-12-08 11:16:48 +02:00
Kimmo Varis
383df58e7e
Fix EOL style for stats.ui.
...
I accidentally committed stats.ui with Windows EOL style.
2010-12-08 10:59:06 +02:00
Kimmo Varis
3527c04cfb
GUI: Update translation files.
2010-12-07 18:24:45 +02:00
Kimmo Varis
abc5ec9009
GUI: Don't translate placeholder texts in stats dialog.
2010-12-07 18:22:32 +02:00
Kimmo Varis
b41447384c
GUI: Don't show summary/details for the parent items.
2010-12-01 18:58:26 +02:00
Kimmo Varis
9731c736e5
Fix ticket #2269 ([GUI] Crash when rechecking files while having hidden stuff)
...
If there is no current item show empty details panel.
2010-12-01 18:19:37 +02:00
Kimmo Varis
523a4a6f05
GUI: Add files I forgot to add when committing statistic patches.
2010-11-30 23:50:40 +02:00
Kimmo Varis
57a61a4a83
GUI: Show also summary in the details pane.
...
Show both short summary and verbose message in lower details panel
in the GUI: Add titles for short summary and message. Hopefully this
makes it easier to read the messages and copy/paste them too.
2010-11-30 23:37:25 +02:00
Kimmo Varis
2b8f6b9b56
GUI: Copy statistics also to clipboard.
2010-11-30 22:50:57 +02:00
Kimmo Varis
8e8e1d1d72
GUI: Collect statistics about amount of different severities.
...
Add new class for collecting statistics per each error severity. Add
a new tab to Statistics-dialog for these numbers.
2010-11-30 22:50:57 +02:00
Kimmo Varis
e0702d3ef8
GUI: Allow selecting multiple items in results tree.
...
If multiple items are selected then other than "Hide" context menu
items are disabled.
2010-11-28 23:26:53 +02:00
Kimmo Varis
94ab34d797
GUI: Update translation files.
2010-11-26 23:22:14 +02:00
Kimmo Varis
e0e0e3b4fa
GUI: Change text in Add Application-dialog back to plain text.
...
Revert change ca9f8a7036
that converted
text in Add Application -dialog to rich text. The text is plain
text and doesn't use any formatting so plain text is good for it.
2010-11-26 23:20:25 +02:00
Kimmo Varis
14ee95eab7
GUI: Cleanup duplicate code.
2010-11-26 22:51:38 +02:00
Kimmo Varis
2dfa1d540e
GUI: Add Setting for global include paths.
...
This commit adds new setting and GUI for global include dirs. When
project file with include dirs is loaded, global includes dirs are
added first and after them the include dirs from project file.
2010-11-26 22:35:45 +02:00
Kimmo Varis
c685035ca4
GUI: Fixing includes.
2010-11-24 17:39:53 +02:00
Kimmo Varis
458af3c931
Merge branch 'error-details'
...
Conflicts:
gui/resultstree.h
gui/resultsview.cpp
2010-11-24 17:24:36 +02:00
Kimmo Varis
c6046b6663
GUI: Clear the details panel when starting new check.
2010-11-24 17:09:02 +02:00
Zachary Blair
6b9d9188c9
Fixed #1861 (GUI: Allow hiding error) Disabled menu item when not applicable
2010-11-24 00:48:07 -08:00
Kimmo Varis
0da55d6477
GUI: Improve updating details view.
...
After previous patches the details view was only updated when the
item was clicked with mouse. This patch improves the updating and
now it works also when changing selected item using keyboard.
2010-11-23 22:37:31 +02:00
Kimmo Varis
f1b511a366
GUI: Remember main window splitter state.
...
Save and restore the vertical splitter state (sizes of tree view and
details panel).
2010-11-23 21:57:16 +02:00
Kimmo Varis
81a599e260
GUI: Rename the splitter widget.
2010-11-23 21:32:35 +02:00
Kimmo Varis
74c15d436b
GUI: Add missing include lines.
2010-11-23 00:37:29 +02:00
Kimmo Varis
20334815c6
GUI: Remove Message-column from the error tree view.
...
The full detailed message is shown in the own panel below error tree.
2010-11-22 23:32:04 +02:00
Kimmo Varis
060131df2f
GUI: Add own panel for detailed error messages.
...
This commit adds new rich text panel for the detailed error messages.
When user clicks error item the detailed error text is updated to
the panel. This way we have much more freedom in formatting the
message and user can easily copy/paste (parts of) the message.
2010-11-22 23:13:12 +02:00
Zachary Blair
a16c0dbd5e
Fixed #1861 (GUI: Allow hiding error)
2010-11-21 10:55:34 -08:00
Kimmo Varis
3fba8b52c0
GUI: Right-align line number.
2010-11-19 23:11:40 +02:00
Kimmo Varis
a0a1ad806a
GUI: Add tooltips for error items.
2010-11-19 22:54:40 +02:00
Kimmo Varis
3226281c59
GUI: Add new "Summary" column to results.
...
Summary column contains the short message core produces.
2010-11-11 23:15:06 +02:00
Kimmo Varis
999e446777
GUI: Add new short summary to error structures.
...
Also rename 'msg' in structures to 'message' for consistency.
2010-11-11 22:51:00 +02:00
Kimmo Varis
53e9938afe
GUI: Add path separator in ProjectFiles dialog.
...
Add path separator to end of the paths user added via Browse-dialog.
2010-11-11 22:08:10 +02:00
Kimmo Varis
1e503cbad5
GUI: Show native paths in ProjectFiles -dialog.
...
When adding paths to the dialog convert them to native separators.
When saving the paths convert them to internal separators.
2010-11-11 22:08:10 +02:00
Kimmo Varis
abf0a2ea52
GUI: Add buttons to add new paths to ProjectFile dialog.
2010-11-11 22:08:10 +02:00
Daniel Marjamäki
ba7a3b376e
Fixed #2167 (Drop linefeeds from error messages)
2010-11-11 19:54:43 +01:00
Kimmo Varis
c80c709d7e
Add missing include lines.
2010-10-31 13:26:23 +02:00
Kimmo Varis
ca9f8a7036
GUI: Improve External editor add/edit dialog layout.
...
Get rid of the form layout stretching the Browse-button so wide. Use
form-like but more flexible layout. Change the term 'Application to
execute' to 'Command to execute'. This reduces duplication and makes
clear difference between application name and the command to execute
to start the application. Fix also tab ordering so that the
application name field gets the focus initially.
2010-10-28 23:47:30 +03:00
Kimmo Varis
3b4770e5a3
GUI: Use Notepad in Windows as default editor if Notepad++ not found.
2010-10-28 23:21:05 +03:00
Kimmo Varis
16fe2f8802
GUI: Failed to start default Notepad++.
...
Notepad++ found and set as editor by default failed to start. There
were no quotation marks around path containing space chars.
2010-10-28 22:54:30 +03:00
Kimmo Varis
d2182dbd3e
GUI: It is Notepad++ with capital first letter.
2010-10-28 22:32:35 +03:00
Kimmo Varis
6b017f6a2c
GUI: Fix modality of Application dialog when editing application.
2010-10-28 22:32:01 +03:00
Kimmo Varis
3ad4067262
GUI: Fix saving new error categories names.
2010-10-28 20:04:35 +03:00
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