Kimmo Varis
abf0a2ea52
GUI: Add buttons to add new paths to ProjectFile dialog.
2010-11-11 22:08:10 +02:00
Daniel Marjamäki
ba7a3b376e
Fixed #2167 (Drop linefeeds from error messages)
2010-11-11 19:54:43 +01:00
Kimmo Varis
c80c709d7e
Add missing include lines.
2010-10-31 13:26:23 +02:00
Kimmo Varis
ca9f8a7036
GUI: Improve External editor add/edit dialog layout.
...
Get rid of the form layout stretching the Browse-button so wide. Use
form-like but more flexible layout. Change the term 'Application to
execute' to 'Command to execute'. This reduces duplication and makes
clear difference between application name and the command to execute
to start the application. Fix also tab ordering so that the
application name field gets the focus initially.
2010-10-28 23:47:30 +03:00
Kimmo Varis
3b4770e5a3
GUI: Use Notepad in Windows as default editor if Notepad++ not found.
2010-10-28 23:21:05 +03:00
Kimmo Varis
16fe2f8802
GUI: Failed to start default Notepad++.
...
Notepad++ found and set as editor by default failed to start. There
were no quotation marks around path containing space chars.
2010-10-28 22:54:30 +03:00
Kimmo Varis
d2182dbd3e
GUI: It is Notepad++ with capital first letter.
2010-10-28 22:32:35 +03:00
Kimmo Varis
6b017f6a2c
GUI: Fix modality of Application dialog when editing application.
2010-10-28 22:32:01 +03:00
Kimmo Varis
3ad4067262
GUI: Fix saving new error categories names.
2010-10-28 20:04:35 +03:00
Kimmo Varis
23eb8c41eb
GUI: Add icons for warning/performance categories and add them to toolbar.
2010-10-18 21:35:35 +03:00
Kimmo Varis
aefa7d3370
GUI: Shorten menutexts for error/style items.
...
Items located in 'View' menu don't need 'Show' word as View-menu name
already implies it is about viewing items.
2010-10-18 20:58:04 +03:00
Kimmo Varis
bee8d15848
GUI: Add support for warning and performance -error types.
2010-10-18 20:50:34 +03:00
Reijo Tomperi
3bedc9331e
Fix encoding in some files
2010-10-03 00:20:18 +03: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
Daniel Marjamäki
d9e7dd4d31
ln-: updated copyright
2010-09-16 22:15:37 +02: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
Kimmo Varis
0fd51a814f
Fix ticket #2041 (GUI: duplicate messages because file name case different)
2010-09-10 17:42:14 +03:00
Kimmo Varis
c0d1bfeedf
GUI: use new style API to enable style checks.
2010-09-06 23:28:41 +03:00
Kimmo Varis
cf2822c427
GUI: Upate translation files.
2010-09-05 12:47:10 +03:00
Sbastien Debrard
2049f70754
Fixed #1972 (file extensions)
2010-09-02 19:17:47 +02:00
Kimmo Varis
6777718403
GUI: Fix slot name for debugerrors.
...
Now DebugErrors get correctly routed to check log. The wrong slot
name also caused a warning printed to the console as reported by
thevbm in ticket #2006 .
2010-09-01 19:42:28 +03:00
Zachary Blair
15b4cab4bb
Fixed #1934 (GUI: Add checking info display)
2010-08-31 23:33:19 -07:00
Kimmo Varis
2f0a245032
Fix error I made merging my internal error handling.
...
GUI didn't show debug warnings even if they were enabled.
2010-08-29 14:06:01 +03:00
Kimmo Varis
b0fa7bfd8c
GUI: Add option to show debug warnings in checking log.
2010-08-29 09:38:03 +03:00
Kimmo Varis
20a4f1e195
GUI: Output debug errors to log view.
...
Debug errors were not shown anywhere in the GUI, they were just
ignored. This commit adds new signal for those debug errors and
directs them to checking log.
Solves ticket #1898 (GUI: Handle internal errors from lib)
2010-08-28 20:37:21 +03:00
Kimmo Varis
35afc4c63f
GUI: Disable debug warnings for now.
2010-08-28 09:21:25 +03:00
Kimmo Varis
11e073cf99
GUI: Fix compiling.
2010-08-28 09:16:01 +03:00
Daniel Marjamäki
4d6b7bea2e
GUI: some fixes of help
...
* moved the help file to the application folder
* use absolute path instead of relative path for helpfile
* show warning messages if help file doesn't exist or fails to be loaded
2010-08-25 20:08:07 +02:00
Kimmo Varis
c0c4d18120
GUI: Disable project opening while checking files.
2010-08-25 20:59:30 +03:00
Kimmo Varis
b6bef44f61
GUI: Fix enabling project closing action.
...
Project closing action was not enabled when the project file was
opened from the checked directory. Also update the window caption to
contain project file name that was opened from the checked
directory.
2010-08-25 18:54:45 +03:00
Kimmo Varis
501015c760
GUI: Fix GCC build failure because of copy-paste error.
2010-08-25 01:01:44 +03:00
Kimmo Varis
28996bd9c1
Fixed #1978 (Fix compiler warnings in GUI (MainWindow::mExiting’ will be initialized after...))
2010-08-25 00:56:45 +03:00
Kimmo Varis
8731b3efdd
Fixed #1977 (GUI crashes when checking a directory)
...
The GUI was crashing if no project files were in checked directory.
I missed this case in my own testing because I had created test
project files for each directory. Whoops!
Anyway, this now also makes silently loaded project files (project
file residing in directory but not load by the user) as normal
projects in the GUI.
2010-08-25 00:47:05 +03:00
Kimmo Varis
ce0f65e761
GUI: Fix for loading "oldstyle" project file.
2010-08-24 20:50:25 +03:00
Kimmo Varis
4ccdcf0fc2
Merge remote branch 'remotes/kimmo/loadable-project'
...
Conflicts:
gui/gui.qrc
gui/mainwindow.cpp
gui/mainwindow.h
2010-08-24 20:37:51 +03:00
Daniel Marjamäki
d97b3bd9d9
GUI: Added icons to the help window.
2010-08-23 22:01:01 +02:00
Kimmo Varis
f2e3090a83
GUI: Fix bug that same defines were added to list several times.
2010-08-21 22:59:55 +03:00
Kimmo Varis
dbf097326d
Improve project file documentation.
2010-08-21 22:54:28 +03:00
Kimmo Varis
2f063ad775
GUI: Use rootpath from Project file.
...
If rootpath is given in project file then use it as a current
directory. Also check if paths given in project file are
relative and use rootpath as base path for relative paths.
2010-08-21 19:38:51 +03:00
Kimmo Varis
d967151c32
GUI: Add project root path to Project file -dialog.
2010-08-21 17:08:10 +03:00
Daniel Marjamäki
8432e0048f
GUI: updated helpwindow ui
2010-08-21 13:43:07 +02:00
Daniel Marjamäki
65c5b9906e
GUI: Fixed help window leaks and made sure it is closed when the gui is closed
2010-08-21 11:02:52 +02:00
Kimmo Varis
1e7694d56b
GUI: Add new optional root-element to project file.
...
Add support for new root-element to project file. This element
defines project root directory if given. If not given then project
root is directory where the project file is located.
2010-08-20 23:58:00 +03:00
Daniel Marjamäki
ac8544f3b3
GUI: fixed the online-help.qhp file listing
2010-08-20 22:31:49 +02:00
Daniel Marjamäki
1e59302be6
GUI: Removed the help collection file because it didn't work on different Qt setups
2010-08-20 22:12:40 +02: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
1d0debddef
astyle formatting
2010-08-20 19:31:23 +02:00
Kimmo Varis
5a65f4d55d
GUI: Prevent opening new files or directories when project file loaded.
2010-08-19 22:28:56 +03:00
Kimmo Varis
2da6a242d2
GUI: Set current directory when loading a project file.
2010-08-19 22:06:45 +03:00
Daniel Marjamäki
043ff6aab5
GUI: Added generated file online-help.qhc because it is not yet autogenerated when building
2010-08-19 19:21:39 +02:00
Daniel Marjamäki
c83461c858
GUI: added simple help file
2010-08-19 18:58:40 +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
c8e073576c
GUI: Add icon for Open Project and add it to toolbar.
2010-08-19 17:47:27 +03:00
Kimmo Varis
6a3bccae6f
GUI: Add check paths field to Project File -dialog.
2010-08-17 19:32:29 +03:00
Kimmo Varis
aef0aeb974
GUI: Set project filename to main window caption.
...
When project file is closed the caption is emptied.
2010-08-17 18:06:17 +03:00
Kimmo Varis
d4210f4fc0
GUI: Leave new project file open and selected.
...
When user creates new project file one probably wants to keep using
the same project file. So leave it open for use.
2010-08-15 22:51:15 +03:00
Daniel Marjamäki
8d52c33790
GUI: Use Notepad++ by default in windows. Ticket: #1931
2010-08-15 16:40:16 +02:00
Tim Gerundt
eb6d596085
Fixed #1916 (gui: Update german translation)
2010-08-15 16:07:48 +02:00
Kimmo Varis
0f4d067926
GUI: Add menuitem to edit open project file.
...
Earlier we opened project file only for editing. But now that we
really use project files we need separate feature for editing
them.
2010-08-15 16:12:32 +03:00
Kimmo Varis
ab1aaf9a45
GUI: Add menuitem to close open project file.
2010-08-15 12:12:28 +03:00
Kimmo Varis
c98d398398
GUI: Open project file and check contained paths.
...
Now we load user-selected project file and start checking paths it
contains. Project file can be anywhere as long as it contains valid
path(s) to check.
2010-08-15 11:35:46 +03:00
Daniel Marjamäki
676e0d2c70
astyle formatting
2010-08-15 08:11:32 +02:00
Erik Lax
6423288d2e
Fixed #1931 (GUI should try to detect the best possible editor)
2010-08-15 07:58:14 +02:00
Kimmo Varis
a82edf5278
GUI: Add check paths to project file.
...
Add new element containing paths to check into the project file. This
is for growing project files to real project files that can be loaded
and selected from the GUI. And decoupling project files from the
directory they reside. So you can put project file in any directory,
load it and it checks paths listed.
2010-08-14 18:42:37 +03:00
Kimmo Varis
737ca1a968
Fix filenames starting with capital letters.
...
I accidentally committed two new files with filenames starting
with capital letters from Windows machine. The Linux build
breakage was fixed by fixing the include lines. But the correct
fix is to fix filenames as we are using all lower letter filenames
in this project.
2010-08-11 17:22:39 +03:00
Ettl Martin
653b5f37b8
gui: fixed regression du to case sensitifity of Linux
2010-08-10 23:04:59 +02:00
Kimmo Varis
2a294babc3
GUI: Use canonical path as checking path.
...
Cleanup the path name before starting checking and saving it.
2010-08-10 18:13:53 +03: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
Robert Reif
483a3ddfe1
Fixed #1925 (fix some cppcheck warnings in cppcheck)
2010-08-10 07:26:59 +02: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
Ettl Martin
76fbbd7bd0
fixed regression due to missing settings.h
2010-07-26 22:59:35 +02:00
Daniel Marjamäki
3c376047ba
pulled changes from kimmov (filelocation-refactor)
2010-07-19 18:06:49 +02:00
Kimmo Varis
c3dfe1a356
GUI: Fix bug that every error item got own parent item.
...
The code could not find existing parent item since items have paths
with native separators and search was done with non-native path
separators.
2010-07-18 13:17:21 +03:00
Kimmo Varis
50b41a25de
Fixed #1870 (Wrong path in report)
...
Current directory was set from first file in the list. That file
could be in subdirectory when wrong path was set. Also getting
absolute path was buggy.
2010-07-18 13:00:39 +03:00
Kimmo Varis
d8077cf2f7
Fixed #1870 (Wrong path in report)
...
Current directory was set from first file in the list. That file
could be in subdirectory when wrong path was set. Also getting
absolute path was buggy.
2010-07-18 12:57:48 +03:00
Kimmo Varis
006c9f17d4
GUI: Avoid unnecessary path separator conversion.
2010-07-18 11:20:10 +03:00
Kimmo Varis
0b463dadb9
GUI: Close application cleanly when exiting while checking.
...
Earlier commit allowed cppcheck to exit immediately while checking.
This however leads crashes and error logs shown since the thread
termination leaves things in inconsistent state. I thought cppcheck
would close fast enough so these could be ignored. But apparently
not.
So this commits adds new bool mExiting for MainWindow and sets that
to true when exiting while checking. When the checking is ready this
attribute is checked and if it is true the application can now be
cleanly exited.
2010-07-17 23:52:50 +03:00
Kimmo Varis
3261f848c3
GUI: Fix includes for dialogs/views.
...
At first we created the GUI in the code and so needed all the layouts
etc include to the code. Now when we are using UI files we don't need
all those included. So clean them up. Also use forward declarations
instead of includes in header files when possible.
2010-07-17 22:57:32 +03:00
Kimmo Varis
93bfa24d3e
GUI: Ensure native path separators in reports.
...
Ensure that native separators are used in saved reports. Reports may
be parsed by other programs/scripts so it is important that paths
are properly formatted.
2010-07-17 21:07:09 +03:00
Kimmo Varis
c606dc8403
GUI: Show paths with native separators in result tree.
...
GUI used to show paths with / separator which is not native
separator in Windows. So lets convert shown paths to native
separators before adding them to the GUI.
2010-07-17 20:26:24 +03:00
Kimmo Varis
d5a6b02e9e
GUI: Fix building after path handling refactorings.
2010-07-17 18:36:21 +03:00
Kimmo Varis
db7c9848d0
GUI: Update translation files.
2010-07-17 10:54:53 +03:00
Kimmo Varis
de767a7cf1
GUI: Remember log view size.
2010-07-16 23:27:57 +03:00
Kimmo Varis
8bf8dd4bf7
GUI: Add Clear-button to log view.
2010-07-16 18:35:51 +03:00
Kimmo Varis
7f3825d922
GUI: Add close-button to log view.
2010-07-16 18:07:23 +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
f5024a7f67
Fixed #1853 (GUI: Allow closing gui.exe while checking)
...
The GUI now asks if user wants to stop the current checking and exit
the application.
2010-07-16 12:44:11 +03:00
Kimmo Varis
f81774f5b9
GUI: Fix compile after Severity changes.
2010-07-14 21:12:54 +03:00
Kimmo Varis
6c6ab0a78d
GUI: Sent ErrorItem with Error -signal.
...
This commit modifies and registers ErrorItem as proper metatype so it
can be used with Qt signals. Then sending Error-signals is refactored
so that ErrorItem instances are sent instead of several different
arguments that already contained couple of lists.
2010-07-14 14:24:46 +03:00
Kimmo Varis
cff008634e
GUI: Update translation files.
2010-07-13 13:02:12 +03:00
Kimmo Varis
b92f7b854a
GUI: Disable Project file menu items when checking.
2010-07-13 12:46:28 +03:00
Kimmo Varis
cc64907edb
GUI: Remove ; from the end of the include/define strings in dialog.
2010-07-13 12:40:20 +03:00
Kimmo Varis
4a1708013e
GUI: Rename project file related methods in mainwindow.
2010-07-13 12:33:24 +03:00
Daniel Marjamäki
414dbdb295
Merge branch 'master' into projfile-gui
2010-07-13 07:49:17 +02:00
Martin Ettl
51beb6d01a
gui/main added spaces between template brackets
2010-07-13 00:13:08 +03:00
Kimmo Varis
4a695c78d9
GUI: Add two new files I forgot to add earlier.
2010-07-13 00:10:48 +03:00
Daniel Marjamäki
7d0fd3f2aa
Fixed #1849 (GUI: failed to build gui)
2010-07-12 20:39:20 +02:00
Martin Ettl
cba711f293
gui/main added spaces between template brackets
2010-07-12 20:02:58 +02:00
Kimmo Varis
4ceea93945
GUI: Show project file's name in project file -dialog title.
2010-07-12 20:31:37 +03:00
Kimmo Varis
e468779feb
GUI: Don't mention auto-allocated classes even in comments.
2010-07-12 20:22:19 +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
75f6ca5b66
GUI: Disable opening XML report file when checking files.
2010-07-12 02:18:26 +03:00
Kimmo Varis
801afae88b
GUI: Refactor linenumber in ErrorLine to unsigned int.
2010-07-12 01:51:36 +03:00
Kimmo Varis
4a2446d235
GUI: Ignore errors with "debug" severity.
...
GUI doesn't know about "debug" severity. And it is not worth the
trouble to add new category everywhere (icons etc) just for
internal debug messages.
2010-07-12 01:18:16 +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
8a24435db2
GUI: Update translation files.
2010-07-11 16:33:49 +03:00
Kimmo Varis
c9d63fa454
GUI: Remember user-selected base path.
...
Remember the base path user selects when opening files from loaded
XML report.
2010-07-11 16:20:19 +03:00
Kimmo Varis
b8793b1529
GUI: Ask file location from user if not found.
...
When loading report from XML there is no full paths so the file's real
path is not known and cppcheck cannot open it. So if the file has no
absolute path then we ask where the file is located from the user.
2010-07-11 14:22:55 +03:00
Kimmo Varis
f894b19209
GUI: Add errors read from XML report to GUI.
2010-07-11 02:02:08 +03:00
Kimmo Varis
9a5166075f
GUI: Fix line numbers and filenames in errors.
...
When converting to use new ErrorItem and ErrorLine I made few mistakes
in how I handled the data. And for some reason there was not even
warnings about converting integers to QStrings.
2010-07-11 01:07:40 +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
faa483b8d0
GUI: Use integer list instead of variant list for line numbers.
2010-07-10 20:54:33 +03:00
Kimmo Varis
2f0202d105
GUI: More refactoring to use ErrorItem and ErrorLine.
2010-07-10 20:30:31 +03:00
Kimmo Varis
0e9d0e9bde
GUI: Refactor error data passing to use own class.
2010-07-10 18:20:45 +03:00
Kimmo Varis
5e14abf735
GUI: Read errors from report XML file.
...
This commits adds new "Open XML" item to File-menu. Selecting this
menuitem allows user to select report file to open. When the file is
read the error data is printed to debug output. Later patches will
implement adding error data back to the GUI.
2010-07-10 16:37:36 +03:00
Kimmo Varis
81449a823a
GUI: Refactoring xmlreport to use pointer to stream writing class.
2010-07-10 13:53:44 +03:00
Kimmo Varis
c76d288ad9
GUI: Update translation files.
2010-07-08 20:15:03 +03:00
Kimmo Varis
d98d840e98
GUI: Set buddies in Project file -dialog.
2010-07-08 20:13:19 +03:00
Kimmo Varis
d2e6e3b49b
GUI: Don't write empty elements to project file.
2010-07-08 20:06:03 +03:00
Kimmo Varis
941c1a8eb8
GUI: Improve error handling for reading/writing project file.
2010-07-08 19:49:04 +03:00
Kimmo Varis
25a9c75287
GUI: Allow creating new project file.
...
Add new "New project file" item to File-menu and rename existing
"Project File" item to "Open Project File". Selecting new file
opens empty project file dialog. When the dialog is then closed
the user is asked to select a filename for the new project file.
2010-07-08 18:59:06 +03:00
Kimmo Varis
4958424adc
GUI: Fix giving filename to project file saving function.
2010-07-08 16:16:25 +03:00
Kimmo Varis
7407b2d861
GUI: Revert testing changes from project file.
2010-07-08 16:15:39 +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
eda97528dd
GUI: Update project file spec.
...
Remove autoalloc list from example and remove mentioning that there is
no GUI for project files.
2010-07-08 02:12:54 +03:00
Kimmo Varis
9d0c080697
GUI: Implement writing project file data to disk from dialog.
...
This commit implements writing data in the project file dialog back to
project file.
2010-07-08 00:59:02 +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
f60a469932
Fixed #1831 (GUI: no progress bar when rechecking files)
...
Need to initialize the checking also when rechecking.
2010-07-07 12:25:47 +03:00
Daniel Marjamäki
bf7ce98178
GUI: updated swedish translation
2010-07-05 13:36:44 +02:00
Daniel Marjamäki
b63c932320
GUI: updated swedish translation
2010-07-05 13:29:58 +02:00
Kimmo Varis
643d400716
GUI: Refactoring progress/finished handling.
...
Progress signal had also item count with it and then the handler determined
that check is ready when max count of progress was done. Also progressbar
was practically reset in every progress signal. This was simply fragile
code.
After this patch progress signal has only the current progress count. Total
count of items is given when initializing the checking. And there is
separate function for handling check finishing.
This also fixes the bug that progressbar was not hidden after checking
or when interrupting the checking.
2010-07-04 18:54:41 +03:00
Kimmo Varis
acbf5af586
GUI: Fixup TS translation files after they got messed up earlier.
...
The lupdate got confused of removing "Show security errors" and there being
existing string "Show style errors". lupdate thought the "Show style errors"
was a new version ("similar enough") of "Show security errors" string
instead of new string to translate. Or actually existing translated string.
So many translations got "Show style errors" translated by earlier
translation of "Show security errors".
This commit fixes the mess by manually removing "Show security errors"
references and restoring correct translations of "Show style errors" from
earlier file versions.
Good lesson to learn about lupdate behavior.
2010-07-04 01:15:09 +03:00
Kimmo Varis
5aadf242d7
GUI: Remove code for automatic deallocated classes.
...
Project file code still read the list of automatically deallocated
classes from project file. That feature hasn't been supported in
few last releases.
2010-07-04 00:15:19 +03:00
Kimmo Varis
9296c717f3
GUI: Change UI file to LF EOLs.
...
In previous commit I accidentally committed the UI file with CRLF EOLs.
2010-07-03 20:29:09 +03:00
Kimmo Varis
77a34643e2
GUI: Refactoring toolbar member names to be more consistent.
2010-07-03 20:03:53 +03:00
Kimmo Varis
7ddb60dd5a
GUI: Update translation files.
2010-07-03 19:46:48 +03:00
Kimmo Varis
3f04aebf7c
GUI: Add View-menu item for showing/hiding Categories-toolbar.
2010-07-03 19:37:09 +03:00
Kimmo Varis
1faf3b0078
GUI: Move menuitem to hide/show main toolbar to own submenu.
2010-07-03 15:33:43 +03:00
Kimmo Varis
e0c49e4eae
GUI: Add new toolbar for error/warning categories.
...
This commit adds new toolbar to the GUI for fast and easy switching of
different warning//error categories. The icons are currently just
placeholders until more descriptive icons are created.
2010-07-03 14:19:02 +03:00
Kimmo Varis
c5a3b306e4
GUI: Rename main toolbar in code.
2010-07-03 13:11:38 +03:00
Kimmo Varis
5d55bc0581
GUI: Remove remains of "possible error".
2010-07-03 12:58:56 +03:00
Kimmo Varis
2584c6390a
GUI: Remove "Show security errors" action.
...
There was no code using this, just GUI action for it.
2010-07-03 12:42:51 +03:00
Kimmo Varis
35e655590c
GUI: Remove remains of "all style".
...
Earlier "all style" was just removed as menu item but all the code related
was left in place. This commit actually removes the now unneeded code.
2010-07-03 11:48:25 +03:00
Guillaume Miossec
3c2a10d0a0
Added french translation
2010-06-04 06:57:21 +02:00
Robert Reif
1207531c21
Fixed #1698 (Add define support to GUI)
2010-05-20 07:22:19 +02:00
Daniel Marjamäki
c52d7fbb22
Fixed #1689 (failed to build gui)
2010-05-17 20:05:41 +02:00
Daniel Marjamäki
c718a7c595
astyle: Update to astyle 1.24
2010-04-15 20:08:51 +02:00
Reijo Tomperi
35d2a27b9c
Update copyright year in all source files
2010-04-13 22:23:17 +03:00
Daniel Marjamäki
d7db82293e
gui: removed options for possible error/style
2010-04-10 15:32:22 +02:00
Daniel Marjamäki
0cad22314e
Reverted 'astyle fix'. Those changes are not in sync with my astyle configuration/setup.
2010-04-02 07:30:58 +02:00
Martin Ettl
193aa7d1d3
astyle fix
2010-04-02 02:21:53 +02:00
Daniel Marjamäki
7c4db433ec
doxygen: fixed warning messages
2010-03-14 18:18:17 +01:00
Kimmo Varis
d1bbcf1734
Implement Win32 FileLister as separate class.
...
Improve the system used to have separate versions of code of FileLister for
Win32 and Linux. New idea is to have Base FileLister class implementing
common code and then derived classes for Win32 and Linux specific code.
FileLister is not anymore a static class. Instead we use singleton of
derived class.
2010-03-11 21:58:59 +02:00
Kimmo Varis
e68c1aec21
Apply patch #1408 (gui build fails with Qt-4.4.3: QLocale)
...
Add missing QLocale include. Patch by barsnick.
2010-02-28 13:03:34 +02: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
Daniel Marjamäki
f2083f1b51
Merge branch 'master' of git@github.com:danmar/cppcheck
2010-02-23 18:15:33 +01:00
Daniel Marjamäki
8e58cfcd32
Removed cmake/scons files
2010-02-23 18:14:33 +01:00
Kimmo Varis
0a372a4727
Fix GUI compile error on Linux.
2010-02-23 19:09:05 +02:00
Kimmo Varis
3a7961e345
Add htmlhelp lib to GUI's CMake file.
2010-02-23 18:38:51 +02:00
Kimmo Varis
97f66e0af4
Remove some excessive empty lines.
2010-02-23 18:12:12 +02:00
Kimmo Varis
6040fdfb15
Update translation files.
2010-02-23 17:52:37 +02:00
Kimmo Varis
279e66a1d6
Open HTML help from Help-menu in Windows.
2010-02-23 17:50:59 +02:00
Kimmo Varis
e38694ccfc
Remove some excessive empty lines.
2010-02-23 14:34:51 +02:00
Daniel Marjamäki
5e90945486
renamed gui/test.cpp to test/test.cxx
2010-02-19 07:21:16 +01:00
Moritz Barsnick
f005d674ec
Fixed #1334 (gui build fails)
2010-02-16 21:13:59 +01:00
Kimmo Varis
52be98492c
GUI part of ticket #1068 (GUI: stop or quit when processing a large file).
2010-02-01 20:26:44 +02:00
Kimmo Varis
116772da7e
Make workaround fix for ticket #1299 .
...
Since lib does not work when built as an static library, compile lib
code as part of cli/gui code.
2010-01-31 12:36:56 +02:00
Kimmo Varis
40951e1618
CMake - Build GUI also in Cygwin if QT4 is found.
2010-01-26 00:19:02 +02:00
Duraffort
eda60f6483
Do not build the gui if Qt4 headers are not present.
2010-01-23 19:33:37 +01:00
Kimmo Varis
2581c9fa9f
Gui: Update year in about dialog to 2010.
2010-01-17 20:41:26 +02:00
Kimmo Varis
0186d59cbe
Fixed #1229 (GUI: project file not read when checking a file)
2010-01-06 11:34:02 +02:00
Kimmo Varis
e1b30721cd
Fixed #1226 (GUI: project include file relative path search problem)
...
Thanks for Robert Reif for finding and reporting problem in previous commit.
2010-01-06 03:15:56 +02:00
Kimmo Varis
5bb3c5898b
Fixed #1226 (GUI: project include file relative path search problem)
2010-01-06 01:40:26 +02:00
Kimmo Varis
16df0e69b2
Add lib directory to gui "project file" include.
2010-01-06 01:12:59 +02:00
Kimmo Varis
786c8b558c
CMake - Create folders for GUI files in Visual Studio IDE.
2010-01-03 21:01:40 +02:00
Kimmo Varis
b483221f45
CMake - Build proper Win32 GUI program.
2010-01-03 19:50:04 +02:00
Daniel Marjamäki
e1ed22aa2b
Fixed #1187 (GUI: fix project file loading)
2010-01-03 08:39:00 +01:00
Kimmo Varis
9e2a42ebf9
CMake - use more strict compiler flags.
2009-12-20 10:45:57 +02:00
Kimmo Varis
c988b14fb5
CMake- fix building GUI from different directory.
2009-12-19 18:15:48 +02:00
Kimmo Varis
d51520d656
CMake - add Windows resource files to build.
2009-12-19 16:54:38 +02:00
Kimmo Varis
401afea2f2
Fix Windows GUI resource file.
2009-12-19 16:53:47 +02:00
Kimmo Varis
41eb141e61
CMake - cleaner way to set additional library for Windows.
2009-12-19 16:21:46 +02:00
Kimmo Varis
d70c60b702
CMake - Fix Windows build.
2009-12-17 22:31:13 +02:00
Kimmo Varis
cf071ccdad
CMake - build GUI translation files.
2009-12-15 22:27:18 +02:00
Kimmo Varis
3437242ea7
CMake GUI build - fix adding resources to GUI.
2009-12-15 22:27:18 +02:00
Kimmo Varis
e010575398
Build GUI using CMake.
...
This is a start for building GUI with CMake. It works but it is a bit ugly.
2009-12-15 22:27:18 +02:00
Martin Ettl
2e7a4c7b75
gui:added an right-click option "copy message"
2009-12-06 17:46:24 +01: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
4e340d556d
Robert Reif: initialize array ( #366 )
2009-11-24 17:25:27 +01:00
Reijo Tomperi
d5e7d688d2
Fix #864 (GUI fails to open second position for multi-line errors)
...
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/864
2009-11-20 00:43:46 +02:00
Reijo Tomperi
74cefb7f3a
Fix #981 (GUI saves report with wrong extension)
...
Apply patch from robertreif
http://sourceforge.net/apps/trac/cppcheck/ticket/981
2009-11-20 00:19:44 +02:00
Daniel Marjamäki
40f2265abf
robertreif: Fixed #442 (Filter duplicate errors in GUI)
2009-11-16 17:09:30 +01:00
Daniel Marjamäki
9207f7ade5
robertreif: Fixed #726 (GUI: Fix quoting of paths with spaces in Windows)
2009-11-16 17:02:28 +01:00
Daniel Marjamäki
5616a9569e
gui: fixed compiler error
2009-11-15 17:47:23 +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
Reijo Tomperi
1ee28ba444
Refactoring: Make Cppcheck::version() static
...
Update codeblocks projectfile
2009-10-25 22:06:58 +02:00
Daniel Marjamäki
d4f706e040
fixed qmake building with new folder structure
2009-10-25 19:29:10 +01:00