Commit Graph

1074 Commits

Author SHA1 Message Date
PKEuS dcb746a49a GUI: Improved translations:
- Fixed translation of default buttons for Qt5
- Removed translation opportunity for language names. English or native names are better than translated names (#4014)
2015-10-14 18:21:00 +02:00
PKEuS fb2802d6a3 GUI: Show file that included a header in details view (#4026) 2015-10-14 18:10:14 +02:00
PKEuS 46a43f3041 GUI: Properly refresh result tree if new rows are added (#4727) 2015-10-14 17:44:52 +02:00
PKEuS 61d8a73f4c GUI:
- Support enforcing language (#5456)
- Fixed several broken settings by saving them before creating Settings instance (changing them required restarting cppcheck)
- Updated german translation
2015-10-14 14:32:21 +02:00
Aleksandr Pikalev f239057e33 Change Q_WS_WIN to Q_OS_WIN
Q_WS_* macroses were removed from Qt5.
Use Q_OS_* instead.
2015-10-07 13:42:42 +02:00
ngosang 82ba6b5901 Update Spanish translation 2015-09-23 23:09:37 +02:00
Daniel Marjamäki e09f583096 GUI: library editor, edit function comments 2015-09-10 20:11:05 +02:00
orbitcowboy 60770a8fdc test/cfg: Improved testing of std.cfg regarding uninitialized variables. 2015-09-08 15:43:22 +02:00
Daniel Marjamäki a32aa03035 GUI: Library editor - rename function 2015-09-08 15:38:02 +02:00
Daniel Marjamäki 4cffff7bde GUI: tweaks in library dialog for sorting and filter 2015-09-06 14:54:21 +02:00
Daniel Marjamäki 9f31414179 GUI: Library editor - added sort button and filter edit box 2015-09-06 14:20:27 +02:00
Daniel Marjamäki 65d246aea2 GUI: Library editor - edit argument when user double clicks on it 2015-09-06 10:38:01 +02:00
Daniel Marjamäki ddfc766375 GUI: indentation of cfg files 2015-09-06 09:10:45 +02:00
Daniel Marjamäki 0e5f7fe567 GUI: fixes to save cfg files properly in the library editor 2015-09-06 08:48:13 +02:00
Daniel Marjamäki ff0f4cef16 GUI: Add handling of containers to CppcheckLibraryData 2015-09-05 20:13:26 +02:00
Daniel Marjamäki 40bd3de9b3 GUI: rewrote library dialog xml input/output 2015-09-05 11:37:55 +02:00
Daniel Marjamäki f5c6561e18 GUI: Readd library editor 2015-09-04 20:46:26 +02:00
Daniel Marjamäki 41d7e8e1f0 GUI: Quick fix for a crash when mContextItem->parent() is NULL 2015-09-04 20:04:31 +02:00
Daniel Marjamäki b7bac8c920 GUI: Disable and hide library editor for now. It will be readded after the release. 2015-09-04 14:20:49 +02:00
PKEuS 2ae7bcaf1b Ran lupdate gui.pro, updated german translation (only translatable strings), fixed typo in main.ui 2015-09-04 14:08:05 +02:00
Daniel Marjamäki 4385879b72 GUI: Improved handling of noreturn in library editor 2015-09-03 20:36:26 +02:00
Daniel Marjamäki bfb70f3312 saving std.cfg with libraryeditor, applied some of the generated diffs. 2015-09-03 07:00:43 +02:00
Daniel Marjamäki 6b49a39282 GUI: Make it possible to configure minsizes through the LibraryDialog 2015-09-01 18:13:27 +02:00
Daniel Marjamäki c9d14f4bb0 GUI: LibraryDialog - update presentation of minsizes 2015-08-31 09:04:35 +02:00
Daniel Marjamäki a65fabebce GUI: refactoring librarydialog 2015-08-30 18:37:12 +02:00
Daniel Marjamäki 3bae4ae429 GUI: Renamed LibraryData to CppcheckLibraryData to try to avoid a name clash 2015-08-30 13:41:57 +02:00
Daniel Marjamäki 779207933c GUI: Added missing files. Forgot to add them in my last commit. 2015-08-30 13:35:02 +02:00
Daniel Marjamäki dd7c0b353d GUI: Added a dedicated dialog for LibraryDialog for configuration of function arguments 2015-08-30 13:33:43 +02:00
Martin Ettl fb643ba2d4 Running astyle; test/cfg/: Since #6958 is fixed, activated test cases for fma()-functions. 2015-08-30 11:59:33 +02:00
Daniel Marjamäki ab4adf2836 GUI: Added a dedicated 'Add function' dialog to the LibraryDialog 2015-08-30 10:24:44 +02:00
Daniel Marjamäki f9415fc904 GUI: minor tweaks of library editor 2015-08-30 02:49:17 +02:00
Daniel Marjamäki f5d131671c GUI: Let user add function in the library editor 2015-08-29 18:50:08 +02:00
Daniel Marjamäki 6aeb3ff5e3 GUI: Load/save cfg files better 2015-08-29 18:07:59 +02:00
Daniel Marjamäki f357d8611d GUI: Allow some editing of argument properties in the library editor 2015-08-29 17:24:56 +02:00
Daniel Marjamäki cc8939cef9 GUI: Refactoring library editor, splitting out data to separate file 2015-08-23 16:03:24 +02:00
Daniel Marjamäki 43953b30fb astyle formatting 2015-08-23 13:34:50 +02:00
Daniel Marjamäki ea7209e669 GUI: make it possible to save changes in library editor 2015-08-23 12:49:51 +02:00
Daniel Marjamäki 0b78b66f64 Fix travis compile errors caused by direct member initialisation 2015-08-16 18:27:41 +02:00
Daniel Marjamäki 4946f772ef GUI: Add libraryeditor 2015-08-16 17:36:10 +02:00
versat 9e09c40eb3 GUI Projectfiledialog: Added tooltip
Added tooltip with explanation how to separate defines.
2015-08-13 14:30:16 +02:00
Jan Hellwig 308e7d9ae4 Allow project roots that are relative to the project file's location 2015-08-10 20:48:08 +02:00
PKEuS eef98ef5c8 Ran lupdate, updated german translation 2015-08-01 14:15:51 +02:00
PKEuS cfde690bb2 Fixed two comments and GUI build 2015-07-25 19:17:40 +02:00
Ameen Ali 8379b0e667 GUI: show statistics after check is done 2015-07-14 18:48:51 +02:00
olshevskiy87 ad4532fb9f fix typos in russian translation 2015-06-05 21:50:09 +04:00
Alexander Mai d4550c763d Exit code shall indicate that an internal error (syntax error) has been found. Add some const. Run astyle 2015-05-25 21:15:55 +02:00
Blubbz0r 15c0be9eb4 Added missing include 2015-05-25 16:25:58 +02:00
Blubbz0r aa66cf5eda Added context menu item Open containing folder
Note: This also fixes the Copy full path context menu item (was only
putting file name into clipboard)
2015-05-25 15:33:46 +02:00
amai2012 355890375c Merge pull request #590 from Blubbz0r/#2274-GUI-Printing-support
#2274 GUI: Printing support
2015-05-23 14:39:20 +02:00
PKEuS 6fecff8651 Fixed spelling mistakes as suggested by arm_in (#6643) 2015-05-01 08:06:59 +02:00
Blubbz0r 2ffffdfdd8 Refactoring
Removed PrintReport and PrintPreview slots from mainwindow. Print
actions will instead be directly connected to reultsview.
2015-04-18 17:37:13 +02:00
Blubbz0r 2eb0832ac2 Refactoring
Adjusted documentation of PrintableReport
PrintableReport no longer provides the formatted report as QTextDocument
but as plain QString (so that the caller can decide how to deal with the
text)
2015-04-17 16:46:58 +02:00
Blubbz0r ecf04c90e4 Added print and print preview functionality
Added Print... and Print Preview... actions to main window
Added PrintableReport responsible for formatting of ErrorItems and
exposing of a QTextDocument that can be used for printing
2015-04-17 16:33:52 +02:00
Jakub Melka b7d92a4fc7 Fixed warnings of CppCheck's own code (caused by new check #695) 2015-03-08 18:18:09 +01:00
XhmikosR 143c5d4875 GUI: Remove bogus period.
[ci skip]
2015-03-07 09:49:07 +02:00
Luis Díaz Más 22424ba54a Add CMake files 2015-02-13 19:00:14 +01:00
PKEuS fb58718ad1 GUI: fixed handling of language in settings dialog (#6435) 2015-01-21 18:35:00 +01:00
Matthias Krüger bd7765e008 gui: cppcheck_es.ts: revert from filemode 755 (exectuable) back to 644. 2015-01-21 13:09:24 +01:00
ngosang f82dcc0523 Updated spanish translations 2015-01-21 06:12:03 +01:00
Samir Aguiar 141a071792 * Added Clang-related flag to gui.pro
* Updated external lib location with PWD variable
2015-01-20 19:20:00 +01:00
PKEuS 70ace39a80 Implemented changes from 787cbcb02e in GUI 2015-01-10 22:51:45 +01:00
Alexander Mai d72fbdda27 Fix compiler warnings about incomplete handling of library error codes 2015-01-06 18:10:19 +01:00
Thomas Jarosch 1ef1143609 Make local functions static 2015-01-05 01:25:49 +01:00
PKEuS e4c7b0f831 Ran lupdate gui.pro 2015-01-03 12:46:28 +01:00
Daniel Marjamäki ff11ba9847 Updated copyright year to 2015 2015-01-03 12:14:58 +01:00
Matthias Krüger 1c8c8e45d0 gui: icon.svg: manually fix offset and apply inkscapes "Vacuum Defs" functionality to reduce file size from 113675 b to 3906 b. 2014-12-21 12:24:57 +01:00
Daniel Marjamäki 051d42ae6b astyle formatting 2014-11-20 14:20:09 +01:00
orbitcowboy f5d804f71a running astyle 2014-11-20 10:13:03 +01:00
Robert Reif e2f72b4cb1 Fixed #6215 (Move Windows platform types into library) 2014-10-19 07:34:40 +02:00
PKEuS c395512ea6 Ran lupdate gui.pro, updated german translation 2014-10-18 11:03:12 +02:00
orbitcowboy c3c8132bbd Fixed gcc warning: mainwindow.cpp: In member function ‘Settings MainWindow::GetCppcheckSettings()’:
mainwindow.cpp:575:24: warning: enumeration value ‘UNSUPPORTED_FORMAT’ not handled in switch [-Wswitch]
                 switch (error.errorcode) {
                        ^
2014-09-30 08:07:50 +02:00
Lauri Nurmi 1cc872f5b2 Change "obsolete" in all filenames into "obsolescent", and also update all references to such files.
Neither the C standard, the C++ standard, or POSIX talks about "obsolete". All of them use the word "obsolescent", which is a different word with a different meaning.
2014-09-23 16:18:04 +02:00
PKEuS 495709376e lupdate gui.pro; updated german translation 2014-08-02 11:10:45 +02:00
Daniel Marjamäki 6f6642dcc5 GUI: In win32, use Win32W instead of Win32A as default platform 2014-06-16 06:30:42 +02:00
Daniel Marjamäki e3c45334d9 Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries) 2014-06-14 21:17:04 +02:00
Daniel Marjamäki 5471185781 GUI: save platform setting 2014-06-14 18:47:19 +02:00
XhmikosR 610f099487 GUI: Minor image compression improvements.
Before: 24.321 bytes
After:  24.272 bytes

[ci skip]
2014-05-28 08:17:47 +03:00
Daniel Marjamäki ae6c97eb39 GUI: Show validation errors when loading library fails. Ticket #5847 2014-05-26 20:16:19 +02:00
Daniel Marjamäki ed78d3e148 Library: Better error reporting when loading fails 2014-05-26 17:00:41 +02:00
Daniel Marjamäki d3dbfad131 GUI, manual: some clarifications how custom user .cfg files are used (Ticket: #5847) 2014-05-25 13:24:07 +02:00
PKEuS 8b180bc950 Ran lupdate gui.pro 2014-05-10 12:07:04 +02:00
Daniel Marjamäki 9a92a4d950 Cleanup. Remove unused argument. 2014-05-03 17:30:56 +02:00
Daniel Marjamäki 935b37da0e Fixed #5515 (Crash on Preferences/Applications) 2014-05-02 07:16:10 +02:00
Daniel Marjamäki 45ac1db175 GUI: set data dir before translations are loaded, before data dir is set they will not be found. 2014-05-01 14:21:17 +02:00
PKEuS 4ad7ef69c6 Updated german translation
ran lupdate gui.pro
Reverted accidential change in checkio.cpp
2014-03-28 19:06:48 +01:00
Daniel Marjamäki f3622f729c GUI: Added DATADIR setting. Related with #5513 2014-03-19 19:34:20 +01:00
Daniel Marjamäki 2ac2dcf392 GUI: fixed compilation, changed gcc flags 2014-03-08 14:10:12 +01:00
Daniel Marjamäki f991c8fd02 GUI: only show a library once in the projectfiledialog 2014-03-08 14:04:58 +01:00
Daniel Marjamäki 33e6c1bf53 GUI: use -std=c++0x with gcc compiler no matter if os is unix or windows 2014-03-08 13:45:40 +01:00
Matthias Krüger a9df4a3288 man, htdocs, gui, test, tools: bump a few more copyrights to 2014 2014-03-03 11:03:17 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Daniel Marjamäki 85b6495cce value flow: fixed comments 2014-01-23 19:40:47 +01:00
Xuecheng Zhang 50d0aa1870 GUI: fix SuggestLanguage for zh_CN 2014-01-23 06:32:41 +01:00
Daniel Marjamäki cda9b409ef GUI: List embedded cfg files in project dialog 2014-01-18 09:21:06 +01:00
Daniel Marjamäki 2ef95fc794 GUI: use debug mode 2014-01-18 08:50:22 +01:00
Mika Attila d642faf1d8 gui: Only load embedded translation if it doesn't exist in lang/
This makes it easier to test/override translations
2014-01-16 13:04:59 +01:00
Mika Attila 6a97da9871 gui: Embed the language files into the executable
This allows for:
- Out-of-source builds
- Easy installation
2014-01-15 14:35:26 +01:00
Daniel Marjamäki 037a0ba986 GUI: change -std=c++11 to -std=c++0x as it's more backwards compatible 2014-01-12 15:46:22 +01:00
Daniel Marjamäki 9c088c2dd6 gui.pro: add -std=c++11 to linux builds 2014-01-12 13:51:08 +01:00
Daniel Marjamäki f0743d3bc4 GUI: add the cfg files in the resources. use these as fallback when normal loading fails. 2014-01-11 08:38:26 +01:00
PKEuS e133bdded6 Updated (german) translation 2014-01-04 10:20:45 +01:00
Alexander Mai 12df5300ba Fixed #5290 (Doxygen fixes (32be409)) 2014-01-01 20:46:00 +01:00
Daniel Marjamäki 93b8a261a2 GUI: Add some sorting in the suppressions handling 2013-12-31 11:00:01 +01:00
Daniel Marjamäki 14d65f212f GUI: Refactoring the loading of libraries in mainwindow 2013-12-31 10:46:44 +01:00
Daniel Marjamäki 803182bf45 Reverted 'GUI: Added CFGDIR qmake flag' there are various installation problems and this only fixes one of them. 2013-12-31 10:35:34 +01:00
Daniel Marjamäki 24a9da3771 GUI: Add suppressions to project file 2013-12-30 22:32:50 +01:00
Daniel Marjamäki c143b02e67 GUI: Added CFGDIR qmake flag 2013-12-30 09:01:44 +01:00
Daniel Marjamäki ac91aa4fdf GUI: Load user-selected library properly 2013-12-30 00:23:42 +01:00
Daniel Marjamäki bf8bb29938 GUI: Allow user to choose any available library file 2013-12-30 00:05:03 +01:00
Daniel Marjamäki 9698387d3a GUI: Add libraries setting to project 2013-12-29 18:06:31 +01:00
Daniel Marjamäki 562387e3ff library: use extensions when loading std.cfg and posix.cfg 2013-12-26 13:18:54 +01:00
Daniel Marjamäki 6785f07458 GUI: Use tr() to make visible strings translatable. 2013-12-26 11:24:05 +01:00
Daniel Marjamäki 4131c621c9 Fixed #5254 (Warn about missing library files (.cfg)) 2013-12-26 11:15:28 +01:00
Lucas Manuel Rodriguez a15561d7eb Update Spanish GUI translation file with Qt Linguist 2013-12-25 17:38:55 -03:00
Daniel Marjamäki 76b907fe65 Fixed #5252 (Improve check: use Library to validate function arguments in invalidFunctionUsage) 2013-12-23 10:06:45 +01:00
XhmikosR 38471babf9 Reduce variable scope. 2013-11-05 08:10:44 +02:00
XhmikosR 549e464dcf Run lupdate. 2013-10-23 09:05:39 +03:00
Elbert Pol c6a628249a GUI: Improved translation 2013-10-19 18:12:10 +02:00
PKEuS 7d39a2d8bd Ran lupdate gui.pro 2013-10-12 12:33:03 +02:00
Daniel Marjamäki 2b3e1a28d8 Reverted 4f76f8f558 (GUI: wrong multiselection behaviour) 2013-09-07 19:38:40 +02:00
Daniel Marjamäki 6e536b9e35 astyle formatting 2013-08-21 22:53:46 +02:00
Daniel Marjamäki 4f76f8f558 Fixed #4606 (GUI: Allows selection of multiple directories then does nothing) 2013-08-21 22:51:33 +02:00
PKEuS 2413655d3d Moved GUI translations into subdirectory /lang 2013-08-03 20:21:13 +02:00
PKEuS 5a92af2556 lupdate gui.pro 2013-08-03 19:05:15 +02:00
Daniel Marjamäki 0c5e39a813 Library: Added configuration file std.cfg that clients should load. 2013-07-20 17:12:56 +02:00
Daniel Marjamäki 941da42cfd GUI: updated swedish translation 2013-07-20 16:01:02 +02:00
Kimmo Varis d1ec81771c Fixed 3191 (GUI: Does not compile against Qt 5) 2013-07-13 09:16:15 +02:00
XhmikosR 849292f821 Run lupdate. 2013-07-06 17:19:36 +02:00
Daniel Marjamäki bafdb80110 Revert "GUI: Added --std setting for GTK"
This reverts commit 5f5fdab650.

The --std setting for GTK has been removed
2013-07-05 21:53:19 +02:00
vBm 8340d32460 Update Serbian localization 2013-06-30 16:45:05 +02:00
XhmikosR d517e12043 Run lupdate. 2013-06-30 12:41:59 +02:00
XhmikosR 850cfe2be2 Compress gui/images/go-home.png a little more. 2013-06-30 12:41:59 +02:00
Daniel Marjamki 5f5fdab650 GUI: Added --std setting for GTK 2013-06-29 19:40:22 +02:00
Zachary Blair a381170886 Fixed #4874 (Minor spelling corrections) 2013-06-26 00:47:02 -07:00
Daniel Marjamäki 02fbf15557 Fixed #4855 (GUI: The checking of the file will be interrupted because there are too many #ifdef configurations.) 2013-06-18 14:14:33 +02:00
Дмитрий Старцев c5d33e163c GUI: Updated russian translation 2013-06-17 19:48:29 +02:00
XhmikosR 17b4a906ea gui: losslessly compress images with https://github.com/subzey/zopfli-png 2013-05-08 18:36:35 +02:00
PKEuS a94598e447 Fixed some gcc and cppcheck messages 2013-03-05 07:07:59 -08:00
PKEuS f1ad74da80 Ran lupdate gui.pro 2013-03-02 09:09:04 -08:00
PKEuS 30bdab5d8d Added support for new code standard options to GUI (#4132) 2013-03-02 04:01:21 -08:00
PKEuS b1b2b9b66b Use standard Qt buttons in LogView. Recreate LogView when changing language (#3647) 2013-03-01 12:07:34 -08:00
PKEuS a1926a8f89 Partial Fix for #3647: Provide translations for standard Qt buttons 2013-03-01 11:07:28 -08:00
PKEuS c4b711c0a7 Improved GUI translation:
- Allow translating texts before before Window is created
-> Translate help text
- Use AboutDialog instead of message box on Windows when starting GUI with -v
2013-03-01 10:11:27 -08:00
Alexander Mai dc88f20201 Implement -v and --version for GUI 2013-03-01 17:43:53 +01:00
PKEuS 4c23f0101a Updated translations:
- ran lupdate gui.pro
- Updated german translation
- Removed obsolete translations for file dialog
2013-03-01 07:10:44 -08:00
PKEuS d9f982443d Ran astyle 2013-02-19 12:39:50 -08:00
Mateusz Pusz 2f47b82090 Storing last path implemented according to received feedback 2013-02-17 19:59:57 +01:00
Mateusz Pusz c6520ffafe doxygen comments added 2013-02-17 19:59:56 +01:00
Mateusz Pusz 7301a3e64d QFileDialog last used paths storage improved 2013-02-17 19:59:56 +01:00
PKEuS 107dd31e50 Fixed calculation of statistics in GUI (#4578) 2013-02-15 07:49:36 -08:00