Commit Graph

1061 Commits

Author SHA1 Message Date
Akhilesh Nema 4aa2876ca0 Fixed #7278 (GUI: error rechecking with some files) 2016-01-15 16:52:22 +01:00
Akhilesh Nema 6c1ac1bd53 GUI: Add detection for geany and Qtcreator as editor application 2016-01-15 09:33:04 +01:00
PKEuS 2a30e2bc01 Fixed bug in german translation 2016-01-09 11:00:32 +01:00
PKEuS bd202ba20a Ran lupdate gui.pro, updated german translation 2016-01-09 10:51:42 +01:00
PKEuS 37fefe3479 Removed non-standard code annotations with __attribute__ 2016-01-09 09:33:56 +01:00
Daniel Marjamäki 24739869ba GUI: Renamed 'Builtin' to 'Native' 2016-01-08 19:56:09 +01:00
Aleksandr Pikalev e92bbf6481 Fixed #7275 - Make GUI tests buildable
* Use -std=c++11 flag for gcc and clang
 * Use $$PWD variable in qmake files to have correct paths
 * Change tokenizer.simplifyTokenList() to tokenizer.simplifyTokenList2()
 * Add build-generated files to .gitignore
 * Link libpcre only if rules are enabled
2016-01-08 15:21:36 +01:00
Daniel Marjamäki 79e663dd6f Settings: Remove '_' prefix for public member variables 2016-01-03 16:18:17 +01:00
Daniel Marjamäki ca4f55ec4c Cleanup Copyrights. Now all should be just for Cppcheck team. 2016-01-01 23:04:16 +01:00
Lauri Nurmi 996c9244d8 Update copyright year to 2007-2016. 2016-01-01 15:34:45 +02:00
Akhilesh Nema 997d7dc695 Fixed #7231 (GUI: 'Selected File Recheck' being performed multiple times if file selection includes existing error messages.) 2015-12-29 01:38:36 +01:00
Akhilesh Nema 0886ef9c5f Fixed #3192 (GUI: Allow opening project file without extra parameter from CLI) 2015-12-26 11:47:07 +01:00
Daniel Marjamäki cc987d8ff5 astyle formatting 2015-12-23 23:05:26 +01:00
Akhilesh Nema bedd85fa50 Fixed #1459 (GUI: Allow re-checking selected files/folders) 2015-12-23 10:28:07 +01:00
fu7mu4 dab0774297 add translations in Japanese 2015-12-19 16:30:30 +09:00
PKEuS 8f22e4924c Updated AStyle to version 2.05.1
Tweaked runastyle.bat a little bit.
2015-12-17 15:53:13 +01:00
Daniel Marjamäki e88a1b0915 astyle formatting 2015-12-08 14:23:26 +01:00
Akhilesh Nema ca3c19c63d GUI: Fixed compiler warnings 2015-12-07 11:24:54 +01:00
Akhilesh Nema 20b695d62d GUI: Handle 'Enter Key' Event in results tree. 2015-12-03 19:33:36 +01:00
Aleksandr Pikalev e9b84a4f06 Related #7173: LibraryEditor: Do not save file with empty name 2015-11-29 17:02:08 +01:00
Aleksandr Pikalev fe8cedade5 Fixed #7173 (Library Editor: Save As button and error messages) 2015-11-29 11:21:04 +01:00
Aleksandr Pikalev e8decd925b Fixed #7161 (GUI: Do not lose [Default] label after editing an application) 2015-11-28 21:39:48 +01:00
Aleksandr Pikalev a6206ae727 Fixed #7174: Do not forget argument number in Library Editor 2015-11-27 10:54:06 +01:00
Frank Zingsheim 70c20515a9 Cmake object linkage. Fix #7128: (cppcheck 1.70 doesn't report any warnings) 2015-11-26 20:25:09 +01:00
Daniel Marjamäki e2b859bf42 Library Editor: Load/save <warn> elements 2015-11-22 11:45:29 +01:00
Daniel Marjamäki aedba792b5 Library Editor: Don't write empty comments 2015-11-21 16:10:14 +01:00
Daniel Marjamäki 0f9d90d2be Changed Copyrights. Removed my name. 2015-11-18 20:04:50 +01:00
PKEuS 65e8538590 GUI: Attempt to fix editor detection for x64 Windows 2015-11-18 17:35:10 +01:00
PKEuS 68afbaae07 Ran lupdate/lrelease. Updated german translation. 2015-11-14 10:55:48 +01:00
Aleksandr Pikalev e1342435ca Fixed #7063 (GUI: better extensions filtering)
Make filtering case insensitive to let check *.C, *.CPP, etc files.
Show in file open dialog only files that could be checked.
2015-11-13 20:21:07 +01:00
Aleksandr Pikalev c0191b25ac Fixed #5662 (GUI - Save results missing some entries)
Use empty parent index as we test top level items.
2015-11-13 20:21:06 +01:00
PKEuS cc783b0186 Updated/Improved several readme files 2015-11-06 15:19:08 +01:00
Aleksandr Pikalev ebfa40c369 Fixed #7047 (Library Editor crashes if I try to edit not selected function) 2015-11-05 16:34:08 +01:00
XhmikosR 0825c57c9f GUI: losslessly compress images.
Before: 21,9 KB (22.477 bytes)
After:  21,4 KB (21.996 bytes)

[ci skip]
2015-10-22 08:44:26 +03:00
PKEuS 04a31011b0 GUI: Do not show Severity, Id, Inconclusive and Summary twice if an error element has a child 2015-10-15 12:08:51 +02:00
PKEuS dfe61f415d GUI: Improved handling of inconclusive messages (#3815)
- Moved setting from "Advanced" to "General" tab
-> Moved remaining single item, too, as it does not make sense to keep a tab for a single option. This option is now shown at the bottom of the dialog
- Replaced [inconclusive] string in "Summary" Column by extra column "Inconclusive", which is only visible if inconclusive checking is enabled
2015-10-15 11:59:17 +02:00
PKEuS 6dcb918b78 GUI: Implemented "Recheck all files" button (#3614), renamed "Recheck files" button to "Recheck modified files" (#3624) 2015-10-14 19:07:20 +02:00
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