Kimmo Varis
0792b52c6e
GUI: Add application icon for Windows.
2009-05-28 17:54:07 +03:00
Kimmo Varis
04226295a0
GUI: Use PNG icon instead of SVG icon for Check directory -action.
2009-05-28 16:30:44 +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
Kimmo Varis
3f3b1279da
Fix building GUI with Visual Studio.
2009-05-28 10:22:30 +03:00
Reijo Tomperi
adb1ed4947
Fix ticket #319 (Function names are tagged as variables)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/319
2009-05-27 23:34:08 +03:00
Reijo Tomperi
d6a34dafb2
Added test case TestMemleak::dealloc_and_alloc_in_func
2009-05-27 22:16:54 +03:00
Daniel Marjamäki
ca6d927dfa
Fix ticket 330 (found memory leak when __builtin_expect uses)
2009-05-27 20:49:29 +02:00
Daniel Marjamäki
e89c03da92
Fix ticket 308 (cppcheck msg:: invalid number of ((). Cant process file)
2009-05-27 20:07:18 +02:00
Daniel Marjamäki
3d592baeb0
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-05-27 19:41:04 +02:00
Daniel Marjamäki
650d58e3de
Fix for ticket 337 ('scope can be limited' false positive with variables referenced by pointers)
2009-05-27 19:38:26 +02:00
Kimmo Varis
c5058aedcb
Installer: Add docoments to Start-menu.
...
Add AUTHORS.txt, COPYING.txt and readme.txt to the Start-menu. Files are opened by default .txt file viewer which is usually Notepad.
2009-05-27 19:36:08 +03:00
Kimmo Varis
bc935bd7f3
Installer: Add .txt extension to text files. Windows does not know how to open files without extension in name so add .txt extension when installing for AUTHORS and COPYING.
2009-05-27 19:29:26 +03:00
Kimmo Varis
372fc33c5d
Installer: Install AUTHORS-file.
...
AUTHORS is good to install as it tells who are working with cppcheck.
2009-05-27 18:09:36 +03:00
Kimmo Varis
fa4961d24e
Installer: Add large installer bitmap.
...
Adding large installer image which is shown as "sidebar" of installer's welcome window. The bitmap is combination of Inno Setup standard image and cppcheck icon.
2009-05-27 18:00:29 +03:00
Kimmo Varis
24c84464b4
Installer: Fix output folder name in installer readme.
2009-05-27 17:37:44 +03:00
Kimmo Varis
910a1eb875
Installer: Add small image shown in top of the installer.
2009-05-27 17:31:14 +03:00
Reijo Tomperi
ea4232fb06
Fix ticket #334 (segmentation fault on boost 1.39.0)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/334
2009-05-26 23:22:00 +03:00
Vesa Pikki
4f41adf45e
Astyle formatting.
2009-05-26 18:23:06 +03:00
Vesa Pikki
76c7290e12
Added 22x22 icons from http://tango.freedesktop.org .
...
Also added icon source to AUTHORS file.
Also added toolbar with the default actions.
Added icons to result files and errors.
2009-05-26 18:21:39 +03:00
Daniel Marjamäki
c7c9966fa3
renamed the logo files to icon instead
2009-05-25 18:54:15 +02:00
Daniel Marjamäki
d21f309d61
logo: modified the logo so it looks better when used as mainicon for the gui program
2009-05-25 18:07:24 +02:00
Vesa Pikki
1173854c6f
GUI now uses Cppcheck's logo.
2009-05-25 16:00:42 +03:00
Daniel Marjamäki
9b626118bd
Added a temporary logotype for cppcheck
2009-05-25 14:32:30 +02:00
Daniel Marjamäki
b9b542d05b
Fixed ticket #333 (tokenizer: incorrect removal of decrement/increment)
2009-05-25 14:21:58 +02:00
Daniel Marjamäki
2d2c0e42cc
Fix ticket #317 (pre-increment causes style false positive)
2009-05-25 08:31:20 +02:00
Daniel Marjamäki
7fdd497c44
Fix ticket #317 (pre-increment causes style false positive)
2009-05-25 08:26:11 +02:00
Reijo Tomperi
977e31786d
Fix ticket #332 (White space between macro name and '(' causes macro simplification to fail)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/332
2009-05-24 23:57:12 +03:00
Vesa Pikki
d53eb9e303
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-05-24 12:10:10 +03:00
Vesa Pikki
d9c36eada2
Astyle formatting.
2009-05-24 12:09:37 +03:00
Vesa Pikki
04b23b582c
User can now undo changes to application list by clicking cancel.
2009-05-24 12:09:31 +03:00
Vesa Pikki
9bb0cff511
Astyle formatting.
2009-05-24 11:55:54 +03:00
Vesa Pikki
de0dd0a2bb
Fixed issues pointed out by Reijo.
...
The number of threads is now atleast 1.
Added a very simple about dialog with version number and license.
Replaced all CppCheck's with Cppcheck.
Renamed "show more errors" to "show possible false positives" in the menu.
User created application now has to have a name and a path.
2009-05-24 11:53:29 +03:00
Slava Semushin
9ae9ffa9be
src/checkmemoryleak.cpp(GetAllocationType): simplify condition a bit.
...
Replace two Token::simpleMatch() calls to one Token::Match().
Correction for my previous (2654a4aa54
)
commit.
No functional change.
2009-05-24 03:46:50 +07:00
Slava Semushin
2654a4aa54
Added support to search resource leaks after opendir()/fdopendir() usage.
2009-05-24 02:53:02 +07:00
Slava Semushin
f5300ae56c
Part of fix for ticket #284 (style check: redundant condition improvement)
...
Fixed case "if (p) delete [] p;" and also added test case for it.
http://apps.sourceforge.net/trac/cppcheck/ticket/284
2009-05-24 00:32:53 +07:00
Slava Semushin
bc62472a18
Part of fix for ticket #284 (style check: redundant condition improvement)
...
Fixed case "if (p != NULL) delete p;" and also added test case for it.
http://apps.sourceforge.net/trac/cppcheck/ticket/284
2009-05-24 00:30:27 +07:00
Slava Semushin
1e2545439e
src/checkmemoryleak.cpp(GetDeallocationType): removed brackets.
...
No functional change.
2009-05-24 00:26:34 +07:00
Vesa Pikki
2d8b08d4ab
Added more comments to class members and methods.
2009-05-23 19:29:24 +03:00
Vesa Pikki
2b7bf671d7
Now starts the default application by double clicking the error.
2009-05-23 18:45:05 +03:00
Vesa Pikki
31a88bd0ba
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-05-23 14:26:40 +03:00
Vesa Pikki
70c32c10e4
Added the initial version of opening a error with user specified application.
2009-05-23 14:26:04 +03:00
Slava Semushin
bfd49e21e7
Added 17 functions which work with FILE structure to white list.
...
Inspired by previous commit.
2009-05-23 18:01:18 +07:00
Vesa Pikki
78d4318c5e
Added the ability to add/remove/modify applications to open errors with.
...
Only the list of applications added, errors cant be opened yet.
2009-05-23 13:37:30 +03:00
Slava Semushin
b5c7316666
Fixed ticket #327 (File descriptor leak not detected when feof() used)
...
Thanks to aggro80@ for help.
http://apps.sourceforge.net/trac/cppcheck/ticket/327
2009-05-23 17:20:26 +07:00
Vesa Pikki
ae7fc7fe3e
When adding a new error, only hides it and doesn't check all errors.
2009-05-23 11:33:38 +03:00
Vesa Pikki
f0a26b3ffe
Results tree now uses only QStandardItemModel for data storage.
...
Items are now hidden from the tree and the tree is not recreated everytime it is refreshed.
Also added test.cpp as a sample data for GUI testing.
Added Check all and uncheck all buttons to menu to show/hide all errors more easily.
2009-05-23 11:17:27 +03:00
Vesa Pikki
63000e57d1
Updated new cppcheck files to project file.
2009-05-23 07:56:50 +03:00
Reijo Tomperi
bbf63b7970
Fix ticket #304 (#include <file.h> should be searched from paths given with -I parameter.)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/304
Note that the ticket is same as with previous commit, but task description was changed a little.
2009-05-23 00:18:48 +03:00
Reijo Tomperi
93d9400f63
Fix ticket #304 (#include <file.h> should be parsed like #include "file.h" is being parsed)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/304
2009-05-22 23:59:07 +03:00
Reijo Tomperi
0f9b2efa43
Fix ticket #326 (Reported memory leak when pointer returned by assign to function's parameter)
...
http://apps.sourceforge.net/trac/cppcheck/ticket/326
2009-05-22 23:36:03 +03:00