Commit Graph

760 Commits

Author SHA1 Message Date
PKEuS e44e6837c2 Fixed several doxygen-comments in lib and gui 2012-10-19 11:29:05 +02:00
PKEuS 60271a5819 Simplified some switch statements and removed redundant code (VS warning) in GUI. 2012-10-19 11:08:50 +02:00
Edoardo Prezioso 9e147c4a0a Makefile: update with 'dmake'; gui: run 'lupdate gui.pro ; lrelease gui.pro'. 2012-10-15 02:25:26 +02:00
PKEuS 4995ab7828 Fixed #4284 2012-10-14 17:40:51 +02:00
PKEuS d152ec31f1 Use the same style for inconclusive errors as in CLI when writing txt reports. 2012-10-14 16:28:34 +02:00
PKEuS 8c9748063b Set notr="true" for strings that are never displayed. 2012-10-14 16:14:47 +02:00
PKEuS f26b82e172 Removed redundant, nested QVBoxLayout controls 2012-10-14 16:09:45 +02:00
PKEuS 9b48c3d3e9 Slightly changed layout of stats dialog: Reduced height of form to reduce empty space on screen. 2012-10-14 15:51:38 +02:00
PKEuS b0f5b7dce0 Fixed freeze when canceling projectfile dialog when creating a new Project.
Updated gui.pro (forgot it in last commit)
2012-10-14 14:13:54 +02:00
PKEuS 67fb2dc2c9 Removed unnecessary copy-ctor and dtor in class ErrorItem - they are generated automatically. Use initializer list in remaining ctors. 2012-10-14 12:42:44 +02:00
PKEuS b9da806492 Fixed setting default application at first start. 2012-10-14 12:10:30 +02:00
PKEuS fc53b15fa4 Refactorized resource files:
- Stored global information about cppcheck version and copyright string in a single resource.h file.
- Use macros of windows.h instead of numeric values for filetype, etc.
- Added versioninfo metadata to lib (#4275)
- Removed VS resource editor code from resource files - these files shouldn't be modified with it to avoid information loss
- Renamed files to version.h/rc
- Encoded files as ANSI again - use escape sequences for unicode characters in literals (#4281)
2012-10-14 10:21:22 +02:00
PKEuS e1e154721a Fixed detection of multiple editors on non-Windows systems
Don't look for Windows editors on Linux and vice-versa
2012-10-12 20:28:31 +02:00
PKEuS a2548d1319 Partially fixed detection of multiple editors on Windows (setting default is still broken) 2012-10-12 20:06:40 +02:00
XhmikosR 857ea9fb0d remove unneeded spaces and empty lines 2012-10-12 17:46:57 +02:00
XhmikosR 8d08c3b58b pro and pri files: remove unneeded empty lines, use spaces for consistency 2012-10-12 17:46:57 +02:00
XhmikosR 85f75179ff gui: tabs to spaces and remove extra empty lines at the end of files 2012-10-12 17:46:57 +02:00
PKEuS 3c4c547fcf Encoded .rc files as UTF16 LE. (#4279) 2012-10-12 13:13:06 +02:00
Edoardo Prezioso 74d735247f run 'lupdate gui.pro ; lrelease gui.pro'. 2012-10-07 23:53:42 +02:00
PKEuS b1a768e5ec Cleanup of includes in GUI (Removed redundant includes, use forward declarations) - Build speedup by 3% in VS10 (LINKCORE=yes, Qt 4.8.3) 2012-10-07 12:25:34 +02:00
PKEuS fa5c8fb90b Added support to link cppcheck-core dynamically into GUI (use LINKCORE=yes when calling qmake) 2012-10-06 21:23:52 +02:00
PKEuS 47ca73c00a Hide recently added include by preprocessor configuration (as "suggested" by comment) 2012-10-06 12:19:01 +02:00
XhmikosR 830f4559a0 batch files: switch to the batch file directory before doing anything else so that relative paths work right even if the batch file isn't called from its directory 2012-09-29 17:32:04 +02:00
Alexander Mai b15cb09af6 Fixed #3489 ('cppcheck-gui -h' doesnt work on WinXP) 2012-09-26 20:26:46 +02:00
Edoardo Prezioso 3f4e8e81a9 GUI: fixed spotted italian translation error. 2012-09-17 12:17:18 +02:00
Edoardo Prezioso c2bca552e5 GUI: Forgot to add the Italian entry in the translation handler; run 'lupdate gui.pro ; lrelease gui.pro'. 2012-09-17 12:07:45 +02:00
Edoardo Prezioso 2bf8195a22 New language file: Italian. 2012-09-16 13:21:46 +02:00
Edoardo Prezioso eca4ab344f run 'lupdate gui.pro && lrelease gui.pro' 2012-09-16 13:17:47 +02:00
Daniel Marjamäki 7753258eca reverted my change 7852b7e8 2012-09-15 21:13:31 +02:00
Edoardo Prezioso f410db6499 run 'lupdate gui.pro && lrelease gui.pro'. 2012-09-15 21:01:36 +02:00
Daniel Marjamäki 7852b7e8e0 gui: fixed 'variable is assigned a value that is never used' warnings 2012-09-15 16:13:22 +02:00
XhmikosR 2794d3dfd2 add Notepad2/Notepad2-mod in the application's list 2012-09-15 15:27:39 +02:00
XhmikosR d69293a929 rename "QT" to "Qt" 2012-09-15 15:24:32 +02:00
Daniel Marjamäki e809e246d0 Merge pull request #112 from kimmov/gui-fixes
Gui fixes
2012-09-09 07:33:14 -07:00
XhmikosR f7d0d8129c improve gui/help/buildhelp.bat 2012-09-06 18:25:29 +02:00
Kimmo Varis ba49d856bd GUI: Update translation files. 2012-09-05 22:23:48 +03:00
Kimmo Varis 6d75cdf7c2 GUI: Don't warn about empty results after re-check.
If user tried to save results after re-checking files and not
getting new results by the re-check, the save was failed since
Cppcheck thought there were no results. This was caused by wrong
clearing of "has results" flag when removing single items from
the results.

Ticket: #4121 (Bogus error message when saving the report)
2012-09-05 22:01:50 +03:00
Kimmo Varis 8025b8bab4 GUI: Fix extra space in German translation file. 2012-09-05 18:33:55 +03:00
Daniel Marjamäki 475f12eec3 gui: fixed compiler errors 2012-08-26 08:19:43 +02:00
PKEuS 28efd10dbd Updated german translation 2012-08-02 07:14:36 -07:00
Kimmo Varis a597bb1ec8 GUI: Update translation files. 2012-08-02 15:31:26 +03:00
Kimmo Varis e490852476 GUI: Clear current results before opening XML.
Currently if there were results in the GUI the results from XML
file were imported to list of results. This is confusing and not
what users usually want to do.

This patch makes GUI to clear the results before opening new
results from XML file.

Ticket #3829 (Rename open xml to import xml)
2012-08-02 15:29:55 +03:00
Kimmo Varis c843e9a763 GUI: Update translation files. 2012-08-02 10:26:21 +03:00
Kimmo Varis 602c93098e GUI: Remove Polish translation.
The Polish translation doesn't have any translated text. So it is
only waste of resources to have it available. And it may confuse
some people who try it.

Ticket #4008 (GUI: Polish translation does not translate and should be removed)
2012-08-02 10:21:13 +03:00
Changkyoon Kim 9d0fb1a169 GUI: Added Korean translation 2012-07-28 15:10:39 +02:00
Ryan Pavlik 9b1ef68713 In case of Windows, tell qmake it's a windows gui app 2012-04-30 11:47:40 -05:00
Daniel Marjamäki f5f7696d7d gui.pro: removed debug option that was added by mistake 2012-04-26 20:21:34 +02:00
PKEuS 3eede5ba8c Fixed/Improved description of -rp/--relative-paths
run astyle
2012-04-14 16:07:37 +02:00
Reijo Tomperi 8777842a23 Add missing license text to gui/selectfilesdialog.* files 2012-04-14 06:01:12 +03:00
PKEuS 6643e14d3c Avoid copying Settings in CppCheckExecutor 2012-04-06 14:19:26 +02:00