Kimmo Varis
062eabf246
Don't use relative paths in lib.pri.
...
Using relative path in included file binds it to be usable only
included from one directory. Instead use variable for giving the
base path for files.
2010-12-18 17:03:46 +02:00
Daniel Marjamäki
2d3865a671
Add support for user defined rules
2010-12-12 11:56:22 +01:00
vBm
ccaa5c2c17
GUI: Initial addition of Serbian localization using clean English template.
2010-12-10 16:59:36 +01:00
Kimmo Varis
675cb5b5a2
GUI Add Japanese translation.
...
The translation was contributed by cjohnk7@sourceforge.net .
Ticket #2276 .
2010-12-08 11:16:48 +02:00
Kimmo Varis
8e8e1d1d72
GUI: Collect statistics about amount of different severities.
...
Add new class for collecting statistics per each error severity. Add
a new tab to Statistics-dialog for these numbers.
2010-11-30 22:50:57 +02:00
Kimmo Varis
72759de7a9
GUI: Fix path separators in project file.
...
Qt 4.7 qmake warns about using backslash in paths.
2010-09-26 10:13:21 +03:00
Kimmo Varis
b88ce77e4a
Rename gui to cppcheck-gui.
...
The 'gui' as executable name is way too general. So this commit
renames it to 'cppcheck-gui' which clearly says it is gui for
cppcheck.
2010-09-11 12:15:46 +03:00
Zachary Blair
15b4cab4bb
Fixed #1934 (GUI: Add checking info display)
2010-08-31 23:33:19 -07:00
Daniel Marjamäki
06b9cdb679
GUI: Updated online-help. This is still under work.
2010-08-20 21:25:43 +02:00
Daniel Marjamäki
2fea5f01d6
GUI: quick fix for #1957 (Unable to compile gui.pro with Qt Creator in Windows)
2010-08-19 18:21:42 +02:00
Kimmo Varis
7dbe5b547a
GUI: Implement FileList class to handle list of files to check.
...
Create a list of files to check. Currently we only read this list
once. But later on we can refer to this list to for example
determine which files were checked and which not in aborted
checking.
2010-08-10 18:13:53 +03:00
Kimmo Varis
9a9266b042
GUI: Add lib to include- and dependency-directories.
2010-07-27 17:39:33 +03:00
Kimmo Varis
45a6742e3f
Windows: Add _CRT_SECURE_NO_WARNINGS define.
...
The _CRT_SECURE_NO_WARNINGS define suppresses some Windows-specific
compile warnings. Windows has "secure" versions of some functions
and compiler outputs warnings that those "secure" versions should
be used instead. Since other platforms don't have those functions
we just suppress this warning for now on.
2010-07-27 17:34:13 +03:00
Kimmo Varis
7e88d7b41d
GUI: Add simple log view.
...
Adding a simple log view which shows log messages the core code
emits.
2010-07-16 17:48:13 +03:00
Kimmo Varis
bf1b49b370
GUI: Add Project class to handle project files and projects.
...
This commit separates logic more from the GUI. The dialog class is
only responsible from showing the dialog and handling data in it.
Other related classes do the project file reading/saving/etc.
2010-07-12 20:21:45 +03:00
Kimmo Varis
1504747030
Merge branch 'master' into projfile-gui
...
Conflicts:
gui/cppcheck_de.ts
gui/cppcheck_en.ts
gui/cppcheck_fi.ts
gui/cppcheck_nl.ts
gui/cppcheck_pl.ts
gui/cppcheck_ru.ts
gui/cppcheck_se.ts
gui/gui.pro
gui/main.ui
2010-07-11 19:43:31 +03:00
Kimmo Varis
352941f5df
GUI: Fix transporting errors.
...
Need to register integer list as new metatype so that Qt's type
system knows how to use it. Adding also additional constructors
for the ErrorItem.
2010-07-11 01:04:53 +03:00
Kimmo Varis
2f0202d105
GUI: More refactoring to use ErrorItem and ErrorLine.
2010-07-10 20:30:31 +03:00
Kimmo Varis
ee2f785529
GUI: Remove custom lrelease target.
...
Remove the custom lrelease target since it fails to work in
Fedora 13. In Fedora 13 there is no 'lrelease' binary but
'lrelease-qt4'.
2010-07-08 10:50:46 +03:00
Kimmo Varis
34d0ff73d8
GUI: Add dialog for editing project file.
...
This commit adds the dialog and code that reads the project file data
to the dialog. The changed data is not yet saved back to the file.
2010-07-07 21:18:42 +03:00
Kimmo Varis
3575f2ec20
GUI: Remove tabs from project file.
2010-02-27 21:38:39 +02:00
Kimmo Varis
58ea4f35f4
GUI: Build to similar folders than cli in Windows.
...
This makes it easier to handle build files and manage installer.
2010-02-27 21:38:39 +02:00
Kimmo Varis
279e66a1d6
Open HTML help from Help-menu in Windows.
2010-02-23 17:50:59 +02:00
Daniel Marjamäki
348c663ce0
gui: with the define NDEBUG the assertions are disabled
2009-11-28 17:34:49 +01:00
Daniel Marjamäki
cba94feded
Restructuring: Updated the Visual Studio project files. They are now generated by qmake
2009-10-28 17:37:38 +01:00
Daniel Marjamäki
f2106f96ad
Restructuring: updated win_installer scripts
2009-10-27 20:22:11 +01:00
Daniel Marjamäki
d4f706e040
fixed qmake building with new folder structure
2009-10-25 19:29:10 +01:00
Daniel Marjamäki
36076d238e
eliedebrauwer: dutch translation ( #756 )
2009-10-01 17:55:13 +02:00
Aleksey Palazhchenko
d9d2f53df6
Added top-level 'check' target.
...
Also refactored all. pro files by the way. :)
2009-09-04 22:59:25 +04:00
Kimmo Varis
ec40b4c628
Don't force debug builds in qmake project files.
...
When creating makefiles with qmake one needs to give the target in command
line. E.g.
$ qmake -config debug
or
$ qmake -config release
For Visual studio projects both targets are generated by just running the
qmake command without switches.
2009-08-17 18:12:53 +03:00
Kimmo Varis
d16d19e580
Add new header file to qmake project files.
2009-08-17 18:05:10 +03:00
Vesa Pikki
0db35229cb
Added a Polish translation file.
...
Also added some missing Finnish and English translations.
2009-08-09 23:11:13 +03:00
Kimmo Varis
2dca9d438d
GUI: Place intermediate resource files to temp folder.
2009-07-14 16:18:34 +03:00
Daniel Marjamäki
11bc5195b8
cleanup: continued with the removing of the security. Some more work is needed but now everything compiles and runs at least.
2009-07-12 22:21:49 +02:00
Kimmo Varis
58c21dde1c
GUI: Add new CSV report type.
...
CSV files are handy (and commonly used) to export/import data to other programs. CSV reports allow easy import of cppcheck error data to other programs for further processing.
2009-07-06 12:30:49 +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
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
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
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
Kimmo Varis
1aafeebe7b
GUI: Add support for project files.
...
GUI reads per-project settings (automatically deallocated classes) from XML project file. The project file format is described in projectfile.txt. Example project file is added for gui.
See also forum discussion at:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=46
2009-06-22 11:57:17 +03:00
Kimmo Varis
801a241e0b
GUI: Show authors list and license in simple text file view dialog.
...
Add "Authors" and "License" items to the Help-menu. When selected, these items open simple text file viewer dialog. The AUTHORS and COPYING files are embedded to the executable and shown in the dialog.
2009-06-14 12:57:43 +03:00
Kimmo Varis
c55f28ca2b
GUI: Move Windows-specific options and files to own scope in project file.
2009-06-13 23:14:09 +03:00
Kimmo Varis
e240848bc1
GUI: Add common.h to the project.
2009-06-13 22:44:56 +03:00
Kimmo varis
fb04e84975
GUI: Update project file after file renaming.
2009-06-08 00:51:02 +03:00
Kimmo Varis
d5a5df7fe6
GUI: Add About-dialog.
...
Replace messagebox containing about-text with dialog. About-dialog must contain copyright information.
2009-06-04 15:35:41 +03:00
Kimmo Varis
fba1102689
GUI: Add manifest for Windows build.
2009-05-30 20:49:17 +03:00
Kimmo Varis
997872f624
GUI: Fix building with MinGW.
...
Add shlwapi library to qmake project file. Use WCHAR instead of wchar_t.
2009-05-30 20:45:51 +03:00
Kimmo Varis
0792b52c6e
GUI: Add application icon for Windows.
2009-05-28 17:54:07 +03:00
Kimmo Varis
d73ab89c93
Add icon files to resource file.
...
Having resource files compiled in the executable makes installing the application easier (especially on Windows).
2009-05-28 11:32:32 +03:00