Commit Graph

1004 Commits

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