Commit Graph

2177 Commits

Author SHA1 Message Date
Reijo Tomperi b2474fd980 Fix ticket #452 (Failure to detect "member var not initialized in constructor" if class inherits)
http://sourceforge.net/apps/trac/cppcheck/ticket/452
2009-07-03 21:22:14 +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 ff957af0b2 Installer: Install translation files. 2009-07-03 12:05:45 +03:00
Kimmo Varis 71eaf8f58f Remove unused variable. 2009-07-03 10:56:08 +03:00
Vesa Pikki e76b9b974c Merge branch 'master' of git@github.com:danmar/cppcheck 2009-07-02 23:43:17 +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
Reijo Tomperi ea0035ec3a Fix ticket #434 (Unused function gets reported dozens of times)
http://sourceforge.net/apps/trac/cppcheck/ticket/434
Using --unused-functions with -j will now print out error message:
"cppcheck: error: --unused-functions can't be used with -j option."
2009-07-02 23:29:52 +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
Vesa Pikki 97508ade3f Added ui files for Settings and Application dialogs.
The code doesn't use those at the moment though.
Updated the translation files aswell.
2009-07-02 14:12:22 +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 e5d5573067 Added instructions to compile the GUI. 2009-07-02 11:38:47 +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 339366a79a Merge branch 'master' of git@github.com:danmar/cppcheck 2009-07-02 00:06:02 +03:00
Kimmo Varis c79d50a710 GUI: Remember standard toolbar visibility (add it to settings). 2009-07-02 00:05:09 +03:00
Kimmo Varis 23b816f43b Astyle fixes. 2009-07-01 23:47:38 +03:00
Kimmo Varis 4644f8b841 GUI: Add View-menu item to show/hide standard toolbar. 2009-07-01 23:46:42 +03:00
Reijo Tomperi 751a31ed91 Fix ticket #445 (simple to avoid false positive for buffer overflow)
http://sourceforge.net/apps/trac/cppcheck/ticket/445
Simple bailout in case "if" is found inside the for-loop.
2009-06-30 00:42:46 +03:00
Kimmo Varis d029a50833 Fix couple of typos in comments. 2009-06-27 10:43:03 +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
Daniel Marjamäki 7ec8e2396f Fix ticket #267 (Glued define and define name in output text)
The handling of ifdef configurations where rewritten. Either a
configuration is handled properly or it is not handled at all.
2009-06-26 13:19:55 +02:00
Reijo Tomperi f740277ce5 Fixed compile error in Linux
Include guard naming fix (names starting with underscore+capital letter are reserved in C++, so we should not use those)
Codeblocks project file update
2009-06-24 23:49:38 +03:00
Kimmo Varis 364d8067ec GUI: Add include guard for projectfile.h. 2009-06-24 13:56:28 +03:00
Kimmo Varis 0afe53c0bb Merge branch 'master' of git@github.com:danmar/cppcheck 2009-06-24 10:55:24 +03:00
Kimmo Varis 678714419c GUI: Refactor report saving.
Refactoring report writing to own classes and using QT's XML classes for XML output. This also fixes the ticket ##408 (GUI generates invalid xml).
https://sourceforge.net/apps/trac/cppcheck/ticket/408
2009-06-24 10:54:56 +03:00
Daniel Marjamäki 61f4a29758 minor fix of test case 2009-06-23 20:40:27 +02:00
Daniel Marjamäki 7f8b40d135 calling unknown function -> use 2009-06-23 20:37:34 +02:00
Daniel Marjamäki 13ca5f89be added test case 2009-06-23 18:29:43 +02:00
Kimmo Varis df241441dc Fix ticket #437 (Compile warnings in GUI (in Linux))
https://sourceforge.net/apps/trac/cppcheck/ticket/437
Add empty cases for XML element types we don't need to handle.
2009-06-23 09:20:09 +03:00
Reijo Tomperi 85f8ba79a6 codeblocks project file updated 2009-06-23 00:51:30 +03:00
Reijo Tomperi bdf1987cc4 Fix ticket #435 (False positive: Invalid number of character when ({}) is used in code)
http://sourceforge.net/apps/trac/cppcheck/ticket/435
2009-06-22 23:54:11 +03:00
Kimmo Varis e3271115f2 GUI: Add checked directory path to main window caption. 2009-06-22 18:45:48 +03:00
Kimmo Varis 3012bd5312 Fix EOL style of project file doc and example project file. 2009-06-22 12:38:21 +03:00
Kimmo Varis 74263b30de Add QT XML DLL to Windows installer and update docs. 2009-06-22 12:35:44 +03:00