Commit Graph

264 Commits

Author SHA1 Message Date
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