Kimmo Varis
29d6b443fa
GUI: Add language selection panel to settings-dialog.
...
Settings-dialog is more natural place for language selection than
the main menu. We also have more space and freedom there to have
longer text etc to make the selection easier (menus are quite limited
controls).
2011-01-10 00:52:02 +02:00
Reijo Tomperi
226b605774
Change year 2010 -> 2011 in license texts.
2011-01-09 21:33:36 +02:00
Kimmo Varis
b7a3fc4908
GUI: Enable information messages.
...
Dan added new enable-flag for information messages in commit 033e759
.
Enable that flag for GUI so that the information messages are visible
in the GUI.
2011-01-05 23:33:53 +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
991318d0de
GUI: zero is not valid value for bool type.
2010-12-26 18:37:11 +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
a73970483d
GUI: Add "Information" errors items to menu and toolbar.
2010-12-26 15:23:55 +02:00
Kimmo Varis
31c974c954
GUI: Add Information-severity support.
2010-12-26 15:23:54 +02:00
vBm
46a11183a5
Fixed some spelling mistakes
2010-12-15 18:45:53 +01: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
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
458af3c931
Merge branch 'error-details'
...
Conflicts:
gui/resultstree.h
gui/resultsview.cpp
2010-11-24 17:24:36 +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
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
Zachary Blair
a16c0dbd5e
Fixed #1861 (GUI: Allow hiding error)
2010-11-21 10:55:34 -08:00
Kimmo Varis
bee8d15848
GUI: Add support for warning and performance -error types.
2010-10-18 20:50:34 +03:00
Kimmo Varis
c0d1bfeedf
GUI: use new style API to enable style checks.
2010-09-06 23:28:41 +03:00
Zachary Blair
15b4cab4bb
Fixed #1934 (GUI: Add checking info display)
2010-08-31 23:33:19 -07: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
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
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
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
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
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
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
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
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
Kimmo Varis
ab1aaf9a45
GUI: Add menuitem to close open project file.
2010-08-15 12:12:28 +03:00
Kimmo Varis
c98d398398
GUI: Open project file and check contained paths.
...
Now we load user-selected project file and start checking paths it
contains. Project file can be anywhere as long as it contains valid
path(s) to check.
2010-08-15 11:35:46 +03:00
Kimmo Varis
737ca1a968
Fix filenames starting with capital letters.
...
I accidentally committed two new files with filenames starting
with capital letters from Windows machine. The Linux build
breakage was fixed by fixing the include lines. But the correct
fix is to fix filenames as we are using all lower letter filenames
in this project.
2010-08-11 17:22:39 +03:00
Ettl Martin
653b5f37b8
gui: fixed regression du to case sensitifity of Linux
2010-08-10 23:04:59 +02:00
Kimmo Varis
2a294babc3
GUI: Use canonical path as checking path.
...
Cleanup the path name before starting checking and saving it.
2010-08-10 18:13:53 +03:00
Kimmo Varis
7dbe5b547a
GUI: Implement FileList class to handle list of files to check.
...
Create a list of files to check. Currently we only read this list
once. But later on we can refer to this list to for example
determine which files were checked and which not in aborted
checking.
2010-08-10 18:13:53 +03:00
Kimmo Varis
50b41a25de
Fixed #1870 (Wrong path in report)
...
Current directory was set from first file in the list. That file
could be in subdirectory when wrong path was set. Also getting
absolute path was buggy.
2010-07-18 13:00:39 +03:00
Kimmo Varis
0b463dadb9
GUI: Close application cleanly when exiting while checking.
...
Earlier commit allowed cppcheck to exit immediately while checking.
This however leads crashes and error logs shown since the thread
termination leaves things in inconsistent state. I thought cppcheck
would close fast enough so these could be ignored. But apparently
not.
So this commits adds new bool mExiting for MainWindow and sets that
to true when exiting while checking. When the checking is ready this
attribute is checked and if it is true the application can now be
cleanly exited.
2010-07-17 23:52:50 +03:00
Kimmo Varis
de767a7cf1
GUI: Remember log view size.
2010-07-16 23:27:57 +03:00
Kimmo Varis
7e88d7b41d
GUI: Add simple log view.
...
Adding a simple log view which shows log messages the core code
emits.
2010-07-16 17:48:13 +03:00
Kimmo Varis
f5024a7f67
Fixed #1853 (GUI: Allow closing gui.exe while checking)
...
The GUI now asks if user wants to stop the current checking and exit
the application.
2010-07-16 12:44:11 +03:00
Kimmo Varis
b92f7b854a
GUI: Disable Project file menu items when checking.
2010-07-13 12:46:28 +03:00
Kimmo Varis
4a1708013e
GUI: Rename project file related methods in mainwindow.
2010-07-13 12:33:24 +03:00
Daniel Marjamäki
414dbdb295
Merge branch 'master' into projfile-gui
2010-07-13 07:49:17 +02:00
Kimmo Varis
bf1b49b370
GUI: Add Project class to handle project files and projects.
...
This commit separates logic more from the GUI. The dialog class is
only responsible from showing the dialog and handling data in it.
Other related classes do the project file reading/saving/etc.
2010-07-12 20:21:45 +03:00
Kimmo Varis
75f6ca5b66
GUI: Disable opening XML report file when checking files.
2010-07-12 02:18:26 +03:00
Kimmo Varis
1504747030
Merge branch 'master' into projfile-gui
...
Conflicts:
gui/cppcheck_de.ts
gui/cppcheck_en.ts
gui/cppcheck_fi.ts
gui/cppcheck_nl.ts
gui/cppcheck_pl.ts
gui/cppcheck_ru.ts
gui/cppcheck_se.ts
gui/gui.pro
gui/main.ui
2010-07-11 19:43:31 +03:00
Kimmo Varis
5e14abf735
GUI: Read errors from report XML file.
...
This commits adds new "Open XML" item to File-menu. Selecting this
menuitem allows user to select report file to open. When the file is
read the error data is printed to debug output. Later patches will
implement adding error data back to the GUI.
2010-07-10 16:37:36 +03:00
Kimmo Varis
25a9c75287
GUI: Allow creating new project file.
...
Add new "New project file" item to File-menu and rename existing
"Project File" item to "Open Project File". Selecting new file
opens empty project file dialog. When the dialog is then closed
the user is asked to select a filename for the new project file.
2010-07-08 18:59:06 +03:00
Kimmo Varis
34d0ff73d8
GUI: Add dialog for editing project file.
...
This commit adds the dialog and code that reads the project file data
to the dialog. The changed data is not yet saved back to the file.
2010-07-07 21:18:42 +03:00
Kimmo Varis
f60a469932
Fixed #1831 (GUI: no progress bar when rechecking files)
...
Need to initialize the checking also when rechecking.
2010-07-07 12:25:47 +03:00
Kimmo Varis
643d400716
GUI: Refactoring progress/finished handling.
...
Progress signal had also item count with it and then the handler determined
that check is ready when max count of progress was done. Also progressbar
was practically reset in every progress signal. This was simply fragile
code.
After this patch progress signal has only the current progress count. Total
count of items is given when initializing the checking. And there is
separate function for handling check finishing.
This also fixes the bug that progressbar was not hidden after checking
or when interrupting the checking.
2010-07-04 18:54:41 +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
Kimmo Varis
77a34643e2
GUI: Refactoring toolbar member names to be more consistent.
2010-07-03 20:03:53 +03:00
Kimmo Varis
3f04aebf7c
GUI: Add View-menu item for showing/hiding Categories-toolbar.
2010-07-03 19:37:09 +03:00
Kimmo Varis
c5a3b306e4
GUI: Rename main toolbar in code.
2010-07-03 13:11:38 +03:00
Kimmo Varis
5d55bc0581
GUI: Remove remains of "possible error".
2010-07-03 12:58:56 +03:00
Kimmo Varis
35e655590c
GUI: Remove remains of "all style".
...
Earlier "all style" was just removed as menu item but all the code related
was left in place. This commit actually removes the now unneeded code.
2010-07-03 11:48:25 +03:00
Robert Reif
1207531c21
Fixed #1698 (Add define support to GUI)
2010-05-20 07:22:19 +02:00
Daniel Marjamäki
c52d7fbb22
Fixed #1689 (failed to build gui)
2010-05-17 20:05:41 +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
d7db82293e
gui: removed options for possible error/style
2010-04-10 15:32:22 +02: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
Kimmo Varis
d1bbcf1734
Implement Win32 FileLister as separate class.
...
Improve the system used to have separate versions of code of FileLister for
Win32 and Linux. New idea is to have Base FileLister class implementing
common code and then derived classes for Win32 and Linux specific code.
FileLister is not anymore a static class. Instead we use singleton of
derived class.
2010-03-11 21:58:59 +02:00
Kimmo Varis
0a372a4727
Fix GUI compile error on Linux.
2010-02-23 19:09:05 +02:00
Kimmo Varis
279e66a1d6
Open HTML help from Help-menu in Windows.
2010-02-23 17:50:59 +02:00
Kimmo Varis
e38694ccfc
Remove some excessive empty lines.
2010-02-23 14:34:51 +02:00
Kimmo Varis
0186d59cbe
Fixed #1229 (GUI: project file not read when checking a file)
2010-01-06 11:34:02 +02:00
Kimmo Varis
e1b30721cd
Fixed #1226 (GUI: project include file relative path search problem)
...
Thanks for Robert Reif for finding and reporting problem in previous commit.
2010-01-06 03:15:56 +02:00
Kimmo Varis
5bb3c5898b
Fixed #1226 (GUI: project include file relative path search problem)
2010-01-06 01:40:26 +02:00
Daniel Marjamäki
e1ed22aa2b
Fixed #1187 (GUI: fix project file loading)
2010-01-03 08:39:00 +01:00
Reijo Tomperi
74cefb7f3a
Fix #981 (GUI saves report with wrong extension)
...
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/981
2009-11-20 00:19:44 +02:00
Daniel Marjamäki
5616a9569e
gui: fixed compiler error
2009-11-15 17:47:23 +01:00
Reijo Tomperi
1ee28ba444
Refactoring: Make Cppcheck::version() static
...
Update codeblocks projectfile
2009-10-25 22:06:58 +02:00
Daniel Marjamäki
d4f706e040
fixed qmake building with new folder structure
2009-10-25 19:29:10 +01:00
Daniel Marjamäki
fa14dcbf68
fixed compiler error when building gui
2009-10-17 11:34:17 +02:00
Reijo Tomperi
8e0f868a5e
Fix #455 (Recheck is enabled when no previous results available)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/455
2009-10-13 11:19:00 +03: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
f6d2445e16
Add 'possible style error' severity for the GUI.
...
Fixes ticket #436 (GUI: All style -severity). The possible style errors can be now selected visible / hidden so all severities have their own menu item.
2009-08-02 15:00:22 +03:00
Kimmo Varis
4da5679737
GUI: Use native path separators in main window caption.
2009-08-02 14:08:04 +03:00
Vesa Pikki
962757c257
Added support for checking files via commandline arguments.
2009-07-16 08:20:29 +03:00
Kimmo Varis
635acfa2ab
GUI: Remove security-category.
...
The security-category was removed from core in commits 03f3ee62a0
and 11bc5195b8
.
2009-07-13 16:47:38 +03:00
Daniel Marjamäki
11bc5195b8
cleanup: continued with the removing of the security. Some more work is needed but now everything compiles and runs at least.
2009-07-12 22:21:49 +02:00
Kimmo Varis
58c21dde1c
GUI: Add new CSV report type.
...
CSV files are handy (and commonly used) to export/import data to other programs. CSV reports allow easy import of cppcheck error data to other programs for further processing.
2009-07-06 12:30:49 +03:00
Reijo Tomperi
8b0e481d46
Refactoring: Rename member functions to follow naming guidelines.
2009-07-05 23:16:43 +03:00
Reijo Tomperi
6e378615cf
astyle fix
2009-07-04 15:54:28 +03:00
Vesa Pikki
d5762b8003
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-07-04 11:07:23 +03:00
Vesa Pikki
e656c951e5
Settings are now saved before window has closed.
...
This enables us to check if toolbar is visible or not. Earlier
we saved settings after the window was closed and checking for
toolbar visibility was not feasible anymore.
2009-07-04 11:06:29 +03:00
Kimmo Varis
462117485d
GUI: Read include directories from project file.
2009-07-04 01:38:47 +03:00
Kimmo Varis
f1847e736d
GUI: Further improve error message for lang file not found.
...
Not being able to switch language is critical error, not just warning. Also show full file name (with extension) of the file not found.
2009-07-03 17:20:54 +03:00
Kimmo Varis
71eaf8f58f
Remove unused variable.
2009-07-03 10:56:08 +03:00
Vesa Pikki
7a4115236a
TranslationHandler now suggests a language based on sysytem locale.
...
Also made sure toolbar visibility is updated before saving settings.
2009-07-02 23:41:37 +03:00
Vesa Pikki
27d630f58d
Disabling progressbar if stop button is pressed.
...
This actually had no visible effect on KDE.
2009-07-02 20:23:44 +03:00
Vesa Pikki
8f516a5638
Checks if toolbar is closed when opening view menu.
...
Basically just reverted back Kimmo's code that was lost in merge.
2009-07-02 20:13:22 +03:00
Vesa Pikki
7e043b182d
Fileview dialogs now use Qt Designer ui files.
...
Translation also updated.
2009-07-02 19:46:26 +03:00
Vesa Pikki
7d2c26bd25
Merge branch 'master' of git@github.com:danmar/cppcheck
...
Conflicts:
gui/mainwindow.cpp
2009-07-02 19:16:50 +03:00
Vesa Pikki
e973f9653b
Settings dialog and application dialog now use Qt Designer ui files.
2009-07-02 19:14:12 +03:00
Kimmo Varis
df7ca21a31
Astyle fixes.
2009-07-02 18:57:09 +03:00
Vesa Pikki
1daba9e913
Error types are now translated aswell.
2009-07-02 13:48:32 +03:00
Vesa Pikki
4206a9d218
Toolbar can now be hidden.
...
Treeview's headers will now be translated when language changes.
2009-07-02 11:46:26 +03:00
Vesa Pikki
ebfa55b1c3
Began adding translations and using Qt Designer .ui files.
...
Also added QSetting value names to common.h
Work is halfway on both translations and .ui files.
I added a very quick and rough finnish translation.
The program now requires the translation files to be created before running
that can be done with lrelease gui.pro.
To compile the whole GUI one must do the following
cd gui
qmake
lrelease gui.pro
make
2009-07-02 11:33:28 +03:00
Kimmo Varis
b245b7a832
GUI: Do not make settings names translatable.
...
Having translated settings names is a bad idea. If user changes GUI language one loses settings. Also settings might be exported/imported and translated names might not work between systems/users.
2009-07-02 02:02:34 +03:00
Kimmo Varis
c79d50a710
GUI: Remember standard toolbar visibility (add it to settings).
2009-07-02 00:05:09 +03:00
Kimmo Varis
4644f8b841
GUI: Add View-menu item to show/hide standard toolbar.
2009-07-01 23:46:42 +03:00
Kimmo Varis
64f304684f
GUI: Remove GUI for showing unused functions.
...
Implements ticket #443 (Remove checking of unused functions from GUI) https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:41:30 +03:00
Kimmo Varis
64f88f147c
GUI: Disable checking unused functions.
...
Implements ticket #443 (Remove checking of unused functions from GUI)
https://sourceforge.net/apps/trac/cppcheck/ticket/443
See also ticket #434
https://sourceforge.net/apps/trac/cppcheck/ticket/434
2009-06-27 10:30:32 +03:00
Kimmo Varis
e3271115f2
GUI: Add checked directory path to main window caption.
2009-06-22 18:45:48 +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
Kimmo Varis
dc75761856
GUI: Don't allow to open Settings-dialog while checking.
2009-06-21 00:03:59 +03:00
Kimmo Varis
7c50e74b95
GUI: Rename Check all/Uncheck all View-menu items to Show all/Hide all.
...
It is not obvious for user what those items do and after all it is about showing/hiding all items.
2009-06-20 23:52:54 +03:00
Kimmo Varis
2adfd3607d
GUI: Enable clearing/saving results also if there are only hidden results.
...
This commit fixes a bug in my earlier commit that only checked visible results.
2009-06-20 23:42:12 +03:00
Kimmo Varis
71aa189efb
GUI: Notify user the compare is ready if main window is inactive.
2009-06-20 23:23:54 +03:00
Kimmo Varis
5643d816cf
GUI: Clear results from view before starting new compare.
...
Strictly speaking this is not necessary but it is the easiest way to set the GUI state to "no results"-state.
2009-06-20 23:13:08 +03:00
Kimmo Varis
0792d89a6b
GUI: Disable result cleaning and saving during the checking.
2009-06-20 23:05:17 +03:00
Kimmo Varis
2eff269e60
GUI: Make ThreadHandler class part of object tree.
2009-06-20 19:55:23 +03:00
Kimmo Varis
a19c9861da
GUI: Use native file selection dialog when selecting report file.
2009-06-18 00:34:22 +03:00
Kimmo Varis
071c79c5cb
GUI: Use native dialogs in Windows for check file/directory selection.
2009-06-17 22:35:24 +03:00
Kimmo Varis
195880807e
GUI: Refactor menu and toolbar creation to own methods.
2009-06-15 00:48:16 +03:00
Reijo Tomperi
0966a2fbd4
astyle fix
2009-06-14 23:22:19 +03:00
Vesa Pikki
3b73fc6494
Made License and Authors dialogs a bit bigger.
2009-06-14 19:24:00 +03:00
Kimmo Varis
801a241e0b
GUI: Show authors list and license in simple text file view dialog.
...
Add "Authors" and "License" items to the Help-menu. When selected, these items open simple text file viewer dialog. The AUTHORS and COPYING files are embedded to the executable and shown in the dialog.
2009-06-14 12:57:43 +03:00
Reijo Tomperi
9ea80b4d74
Fix ticket #397 (xml output doesn't encode " and & -characters as it should)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/397
2009-06-12 22:02:01 +03:00
Vesa Pikki
799252e8f2
Force extension to the file and check save type by filter and not by filename.
2009-06-12 21:22:45 +03:00
Vesa Pikki
398c81f4a8
Force progressbar to be visible when checking starts.
2009-06-09 11:21:17 +03:00
Vesa Pikki
b67424785f
Added messagebox to inform user about not found/non visible errors.
2009-06-09 10:51:27 +03:00
Vesa Pikki
de0bea3479
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-09 09:31:54 +03:00
Vesa Pikki
814cd37c90
Added some warning messageboxes.
...
One for when user tries to double click and there are now applications specified.
Another for when user tries to check something and the file list is empty.
2009-06-09 09:30:28 +03:00
Kimmo Varis
13eb74173c
GUI: Make mainwindow parent of Settings-dialog.
2009-06-06 12:51:14 +03:00
Kimmo Varis
c9ceccfd3d
GUI: Prevent exiting the application while checking.
2009-06-04 17:02:35 +03:00
Kimmo Varis
d5a5df7fe6
GUI: Add About-dialog.
...
Replace messagebox containing about-text with dialog. About-dialog must contain copyright information.
2009-06-04 15:35:41 +03:00
Kimmo Varis
62741bfd4a
Remove some empty lines.
2009-06-04 13:07:21 +03:00
Vesa Pikki
a330e9c35f
Added the initial version of saving results to a file.
2009-06-03 21:18:22 +03:00
Kimmo Varis
027c31f39c
GUI: Implement stopping the compare.
...
Threads must be exited from check cleanly even though it takes small amount of time. Just terminating thread can have unpredictable side-effects (even weird crashes).
2009-06-02 02:01:53 +03:00
Kimmo Varis
0178fed611
GUI: Add Collapse/Expand all -items to View-menu.
2009-06-02 01:26:44 +03:00
Reijo Tomperi
58eda6e978
Fix ticket #325 (Replace developer names in source files with AUTHORS file)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 08:48:12 +03:00
Kimmo Varis
44e5985fe5
GUI: Add separator in View-menu before check/uncheck all.
2009-05-28 18:10:09 +03:00
Kimmo Varis
04226295a0
GUI: Use PNG icon instead of SVG icon for Check directory -action.
2009-05-28 16:30:44 +03:00
Kimmo Varis
d73ab89c93
Add icon files to resource file.
...
Having resource files compiled in the executable makes installing the application easier (especially on Windows).
2009-05-28 11:32:32 +03:00
Vesa Pikki
4f41adf45e
Astyle formatting.
2009-05-26 18:23:06 +03:00
Vesa Pikki
76c7290e12
Added 22x22 icons from http://tango.freedesktop.org .
...
Also added icon source to AUTHORS file.
Also added toolbar with the default actions.
Added icons to result files and errors.
2009-05-26 18:21:39 +03:00
Vesa Pikki
9bb0cff511
Astyle formatting.
2009-05-24 11:55:54 +03:00
Vesa Pikki
de0dd0a2bb
Fixed issues pointed out by Reijo.
...
The number of threads is now atleast 1.
Added a very simple about dialog with version number and license.
Replaced all CppCheck's with Cppcheck.
Renamed "show more errors" to "show possible false positives" in the menu.
User created application now has to have a name and a path.
2009-05-24 11:53:29 +03:00
Vesa Pikki
2b7bf671d7
Now starts the default application by double clicking the error.
2009-05-23 18:45:05 +03:00
Vesa Pikki
70c32c10e4
Added the initial version of opening a error with user specified application.
2009-05-23 14:26:04 +03:00
Vesa Pikki
78d4318c5e
Added the ability to add/remove/modify applications to open errors with.
...
Only the list of applications added, errors cant be opened yet.
2009-05-23 13:37:30 +03:00
Vesa Pikki
f0a26b3ffe
Results tree now uses only QStandardItemModel for data storage.
...
Items are now hidden from the tree and the tree is not recreated everytime it is refreshed.
Also added test.cpp as a sample data for GUI testing.
Added Check all and uncheck all buttons to menu to show/hide all errors more easily.
2009-05-23 11:17:27 +03:00
Vesa Pikki
d1e43ee6ea
Added a window title.
2009-03-22 19:51:49 +02:00
Vesa Pikki
1e66d7f0e4
Merge conflicts.
2009-03-22 19:41:32 +02:00
Vesa Pikki
855dda69b7
Conflicts:
...
gui/mainwindow.cpp
gui/resultstree.cpp
2009-03-22 19:40:29 +02:00
Vesa Pikki
0953995ee3
Merged gui branch to master.
2009-03-22 19:39:44 +02:00
Vesa Pikki
c6e8d61db3
Added recheck and clear results buttons.
2009-03-22 17:42:48 +02:00
Vesa Pikki
f04bdccee4
Astyle formatting.
2009-03-22 15:15:16 +02:00
Vesa Pikki
5e1994068a
Added settings dialog to select what kind of errors are visible.
2009-03-22 14:32:07 +02:00
Vesa Pikki
cc6cec091a
Began implementing ThreadExecutor with Qt threads. Still a work in progress.
...
Added tr to all strings.
2009-03-01 20:44:42 +00:00
Vesa Pikki
b39c15410b
Began implementing a simple Qt based GUI.
...
Also modified astyle scripts to format gui code aswell.
2009-03-01 07:38:21 +00:00