Kimmo Varis
0e9d0e9bde
GUI: Refactor error data passing to use own class.
2010-07-10 18:20:45 +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
81449a823a
GUI: Refactoring xmlreport to use pointer to stream writing class.
2010-07-10 13:53:44 +03:00
Kimmo Varis
c76d288ad9
GUI: Update translation files.
2010-07-08 20:15:03 +03:00
Kimmo Varis
d98d840e98
GUI: Set buddies in Project file -dialog.
2010-07-08 20:13:19 +03:00
Kimmo Varis
d2e6e3b49b
GUI: Don't write empty elements to project file.
2010-07-08 20:06:03 +03:00
Kimmo Varis
941c1a8eb8
GUI: Improve error handling for reading/writing project file.
2010-07-08 19:49:04 +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
4958424adc
GUI: Fix giving filename to project file saving function.
2010-07-08 16:16:25 +03:00
Kimmo Varis
7407b2d861
GUI: Revert testing changes from project file.
2010-07-08 16:15:39 +03:00
Kimmo Varis
ee2f785529
GUI: Remove custom lrelease target.
...
Remove the custom lrelease target since it fails to work in
Fedora 13. In Fedora 13 there is no 'lrelease' binary but
'lrelease-qt4'.
2010-07-08 10:50:46 +03:00
Kimmo Varis
eda97528dd
GUI: Update project file spec.
...
Remove autoalloc list from example and remove mentioning that there is
no GUI for project files.
2010-07-08 02:12:54 +03:00
Kimmo Varis
9d0c080697
GUI: Implement writing project file data to disk from dialog.
...
This commit implements writing data in the project file dialog back to
project file.
2010-07-08 00:59:02 +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
Daniel Marjamäki
bf7ce98178
GUI: updated swedish translation
2010-07-05 13:36:44 +02:00
Daniel Marjamäki
b63c932320
GUI: updated swedish translation
2010-07-05 13:29:58 +02: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
acbf5af586
GUI: Fixup TS translation files after they got messed up earlier.
...
The lupdate got confused of removing "Show security errors" and there being
existing string "Show style errors". lupdate thought the "Show style errors"
was a new version ("similar enough") of "Show security errors" string
instead of new string to translate. Or actually existing translated string.
So many translations got "Show style errors" translated by earlier
translation of "Show security errors".
This commit fixes the mess by manually removing "Show security errors"
references and restoring correct translations of "Show style errors" from
earlier file versions.
Good lesson to learn about lupdate behavior.
2010-07-04 01:15:09 +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
9296c717f3
GUI: Change UI file to LF EOLs.
...
In previous commit I accidentally committed the UI file with CRLF EOLs.
2010-07-03 20:29:09 +03:00
Kimmo Varis
77a34643e2
GUI: Refactoring toolbar member names to be more consistent.
2010-07-03 20:03:53 +03:00
Kimmo Varis
7ddb60dd5a
GUI: Update translation files.
2010-07-03 19:46:48 +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
1faf3b0078
GUI: Move menuitem to hide/show main toolbar to own submenu.
2010-07-03 15:33:43 +03:00
Kimmo Varis
e0c49e4eae
GUI: Add new toolbar for error/warning categories.
...
This commit adds new toolbar to the GUI for fast and easy switching of
different warning//error categories. The icons are currently just
placeholders until more descriptive icons are created.
2010-07-03 14:19:02 +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
2584c6390a
GUI: Remove "Show security errors" action.
...
There was no code using this, just GUI action for it.
2010-07-03 12:42:51 +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
Guillaume Miossec
3c2a10d0a0
Added french translation
2010-06-04 06:57:21 +02: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
Daniel Marjamäki
7c4db433ec
doxygen: fixed warning messages
2010-03-14 18:18:17 +01: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
e68c1aec21
Apply patch #1408 (gui build fails with Qt-4.4.3: QLocale)
...
Add missing QLocale include. Patch by barsnick.
2010-02-28 13:03:34 +02:00
Kimmo Varis
3575f2ec20
GUI: Remove tabs from project file.
2010-02-27 21:38:39 +02:00
Kimmo Varis
58ea4f35f4
GUI: Build to similar folders than cli in Windows.
...
This makes it easier to handle build files and manage installer.
2010-02-27 21:38:39 +02:00
Daniel Marjamäki
f2083f1b51
Merge branch 'master' of git@github.com:danmar/cppcheck
2010-02-23 18:15:33 +01:00
Daniel Marjamäki
8e58cfcd32
Removed cmake/scons files
2010-02-23 18:14:33 +01:00
Kimmo Varis
0a372a4727
Fix GUI compile error on Linux.
2010-02-23 19:09:05 +02:00
Kimmo Varis
3a7961e345
Add htmlhelp lib to GUI's CMake file.
2010-02-23 18:38:51 +02:00
Kimmo Varis
97f66e0af4
Remove some excessive empty lines.
2010-02-23 18:12:12 +02:00
Kimmo Varis
6040fdfb15
Update translation files.
2010-02-23 17:52:37 +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
Daniel Marjamäki
5e90945486
renamed gui/test.cpp to test/test.cxx
2010-02-19 07:21:16 +01:00
Moritz Barsnick
f005d674ec
Fixed #1334 (gui build fails)
2010-02-16 21:13:59 +01:00
Kimmo Varis
52be98492c
GUI part of ticket #1068 (GUI: stop or quit when processing a large file).
2010-02-01 20:26:44 +02:00
Kimmo Varis
116772da7e
Make workaround fix for ticket #1299 .
...
Since lib does not work when built as an static library, compile lib
code as part of cli/gui code.
2010-01-31 12:36:56 +02:00
Kimmo Varis
40951e1618
CMake - Build GUI also in Cygwin if QT4 is found.
2010-01-26 00:19:02 +02:00
Duraffort
eda60f6483
Do not build the gui if Qt4 headers are not present.
2010-01-23 19:33:37 +01:00
Kimmo Varis
2581c9fa9f
Gui: Update year in about dialog to 2010.
2010-01-17 20:41:26 +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
Kimmo Varis
16df0e69b2
Add lib directory to gui "project file" include.
2010-01-06 01:12:59 +02:00
Kimmo Varis
786c8b558c
CMake - Create folders for GUI files in Visual Studio IDE.
2010-01-03 21:01:40 +02:00
Kimmo Varis
b483221f45
CMake - Build proper Win32 GUI program.
2010-01-03 19:50:04 +02:00
Daniel Marjamäki
e1ed22aa2b
Fixed #1187 (GUI: fix project file loading)
2010-01-03 08:39:00 +01:00
Kimmo Varis
9e2a42ebf9
CMake - use more strict compiler flags.
2009-12-20 10:45:57 +02:00
Kimmo Varis
c988b14fb5
CMake- fix building GUI from different directory.
2009-12-19 18:15:48 +02:00
Kimmo Varis
d51520d656
CMake - add Windows resource files to build.
2009-12-19 16:54:38 +02:00
Kimmo Varis
401afea2f2
Fix Windows GUI resource file.
2009-12-19 16:53:47 +02:00
Kimmo Varis
41eb141e61
CMake - cleaner way to set additional library for Windows.
2009-12-19 16:21:46 +02:00
Kimmo Varis
d70c60b702
CMake - Fix Windows build.
2009-12-17 22:31:13 +02:00
Kimmo Varis
cf071ccdad
CMake - build GUI translation files.
2009-12-15 22:27:18 +02:00
Kimmo Varis
3437242ea7
CMake GUI build - fix adding resources to GUI.
2009-12-15 22:27:18 +02:00
Kimmo Varis
e010575398
Build GUI using CMake.
...
This is a start for building GUI with CMake. It works but it is a bit ugly.
2009-12-15 22:27:18 +02:00
Martin Ettl
2e7a4c7b75
gui:added an right-click option "copy message"
2009-12-06 17:46:24 +01:00
Daniel Marjamäki
348c663ce0
gui: with the define NDEBUG the assertions are disabled
2009-11-28 17:34:49 +01:00
Daniel Marjamäki
4e340d556d
Robert Reif: initialize array ( #366 )
2009-11-24 17:25:27 +01:00
Reijo Tomperi
d5e7d688d2
Fix #864 (GUI fails to open second position for multi-line errors)
...
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/864
2009-11-20 00:43:46 +02: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
40f2265abf
robertreif: Fixed #442 (Filter duplicate errors in GUI)
2009-11-16 17:09:30 +01:00
Daniel Marjamäki
9207f7ade5
robertreif: Fixed #726 (GUI: Fix quoting of paths with spaces in Windows)
2009-11-16 17:02:28 +01:00
Daniel Marjamäki
5616a9569e
gui: fixed compiler error
2009-11-15 17:47:23 +01:00
Daniel Marjamäki
cba94feded
Restructuring: Updated the Visual Studio project files. They are now generated by qmake
2009-10-28 17:37:38 +01:00
Daniel Marjamäki
f2106f96ad
Restructuring: updated win_installer scripts
2009-10-27 20:22:11 +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
Daniel Marjamäki
278f1b8722
eliedebrauwer: fix typo ( #755 )
2009-10-01 18:01:54 +02:00
Daniel Marjamäki
0c7bced265
eliedebrauwer: dutch translation ( #756 )
2009-10-01 17:56:43 +02:00
Daniel Marjamäki
36076d238e
eliedebrauwer: dutch translation ( #756 )
2009-10-01 17:55:13 +02:00
Reijo Tomperi
fdde2182b9
Fix GPL comments in all files. ">." was missing from the end.
2009-09-27 18:08:31 +03:00
Vesa Pikki
1c1ffa63f3
Fixed ticket#687.
...
Thread state is now initialized to "Ready".
2009-09-18 20:56:31 +02:00
Kimmo Varis
5e30a725d4
Move gui's readme to root directory to make it easier to find.
2009-09-06 10:54:42 +03:00
Aleksey Palazhchenko
d9d2f53df6
Added top-level 'check' target.
...
Also refactored all. pro files by the way. :)
2009-09-04 22:59:25 +04:00
Kimmo Varis
ec40b4c628
Don't force debug builds in qmake project files.
...
When creating makefiles with qmake one needs to give the target in command
line. E.g.
$ qmake -config debug
or
$ qmake -config release
For Visual studio projects both targets are generated by just running the
qmake command without switches.
2009-08-17 18:12:53 +03:00
Kimmo Varis
d16d19e580
Add new header file to qmake project files.
2009-08-17 18:05:10 +03:00
Daniel Marjamäki
e2681be8f2
Swedish: Updated the translation file
2009-08-16 09:38:25 +02:00
Reijo Tomperi
f36f3bfae1
line change and encoding fixes
2009-08-15 22:39:57 +03:00
Vesa Pikki
0db35229cb
Added a Polish translation file.
...
Also added some missing Finnish and English translations.
2009-08-09 23:11:13 +03:00
Reijo Tomperi
c6a1f17318
encoding fix
2009-08-04 22:41:32 +03:00
Kimmo Varis
a34d6fd2de
Oops. Didn't mean to commit the change to gui/test.cpp. But since I did,
...
lets remove the linefeeds and make the function look like it gets called.
2009-08-03 01:18:15 +03:00
Reijo Tomperi
e0f416e52e
astyle fix
2009-08-02 22:11:17 +03:00
Kimmo Varis
e5372de295
GUI: update translation files.
2009-08-02 15:02:54 +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
Kimmo Varis
5ce15eeb23
GUI: Change settings-dialog title to 'Preferences'.
...
The menuitem is 'Preferences' so the dialog must have the same title.
2009-08-01 18:28:21 +03:00
Kimmo Varis
f406babc32
GUI: Make two report saving errors translatable.
2009-08-01 09:42:52 +03:00
Kimmo Varis
f11d34c109
GUI: Fix bug that GUI didn't close the report file.
2009-07-31 22:19:21 +03:00
Kimmo Varis
2fb3b187f0
GUI: Fix GUI to recognize and use "possible error" type (was "all" earlier).
2009-07-31 22:12:05 +03:00
Slava Semushin
0e61395a63
gui/cppcheck_ru.ts: start Russian translation.
2009-07-26 16:10:11 +07:00
Slava Semushin
5d941aa137
gui: regenerate ts-files.
2009-07-26 16:09:02 +07:00
Kimmo Varis
d1eb7e6558
GUI: clarify compiling instructions a bit.
2009-07-18 13:34:00 +03:00
Daniel Marjamäki
7df3670128
doc: updated doxygen comments. three groups where created - 'GUI', 'Core' and 'Checks'
2009-07-17 10:49:01 +02:00
Vesa Pikki
962757c257
Added support for checking files via commandline arguments.
2009-07-16 08:20:29 +03:00
Kimmo Varis
2dca9d438d
GUI: Place intermediate resource files to temp folder.
2009-07-14 16:18:34 +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
dfdbf85730
GUI: Improve About-dialog layout.
...
Add vertical spacer above texts to that icon box becomes narrow and text box wide.
2009-07-12 14:22:56 +03:00
Kimmo Varis
17a27bd5e6
GUI: Wordwrap texts in the About-dialog.
...
Fixes ticket #454 (About-dialog size/text problems).
2009-07-12 11:09:50 +03:00
Daniel Marjamäki
1a97090526
Translation: Updated the translation file for swedish
2009-07-06 17:04:17 +02:00
Kimmo Varis
c8493e31ef
GUI: Add icons for error messages of failed report saving.
2009-07-06 12:37:54 +03:00
Kimmo Varis
3884b4f997
GUI: Make report class destructors virtual.
2009-07-06 12:33:10 +03: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
Kimmo Varis
81ab6a75c3
Fix ticket #456 (GUI:: save only the results selected in view settings)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/456
2009-07-04 22:29:48 +03:00
Reijo Tomperi
6e378615cf
astyle fix
2009-07-04 15:54:28 +03:00
Vesa Pikki
a7c1d99d01
I reverted back the translation file checking.
...
Allthough I put it after QTranslator had failed to load the translation.
This still allows QTranslator to try and open the file with several
variations of the file. To user we'll tell that the default file is missing.
2009-07-04 12:06:31 +03:00
Vesa Pikki
f603dfde82
Removed an unnecessary translation file check.
...
It was missing the file extension and QTranslator returns false
if it was unable to find the translation file which is just as good.
QTranslator can also check for several variations of the given filename.
2009-07-04 11:13:04 +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
3b1c9098b8
GUI: Show instructions instead of error when viewer application is not configured.
2009-07-03 17:46:39 +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
8c2f5b42df
GUI: Check translation file exists before loading it.
...
This allows more accurate error message for the user.
2009-07-03 14:18:35 +03:00
Kimmo Varis
e2248c35f9
Fix EOL style for gui/resultsview.ui that got converted to Windows style.
...
Apparently QT Creator blindly converts file EOL style without any warning to user.
2009-07-03 13:44:45 +03:00
Kimmo Varis
a155d895fd
GUI: Remove doubled margin from main window.
...
The main window sets default margin for central widget. And layout was setting another margin so margin was doubled.
2009-07-03 12:57:25 +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
a415ab1e5c
Added missing license texts.
2009-07-02 21:28:05 +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
e1701d5b27
Removed unused statusbar.
2009-07-02 19:55:25 +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
8694f6e982
About dialog now uses Qt Designer ui file.
...
Updated translations again.
2009-07-02 19:36:45 +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
32725c872e
Updated the translation files.
2009-07-02 19:15:34 +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
Kimmo Varis
85d89c29c0
GUI: Add homepage URL to About-dialog.
2009-07-02 18:56:18 +03:00