Commit Graph

1836 Commits

Author SHA1 Message Date
Daniel Marjamäki bf98ff85e5 Memory leaks: calling function that deallocates the memory and allocates new memory
https://apps.sourceforge.net/trac/cppcheck/ticket/336
2009-05-30 20:30:44 +02: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 55acefa206 Make GUI work in Windows compiled with VS.
Since GUI is QT project it is also Unicode project. And other cppcheck code is ANSI code. So we must convert data between Unicode and ANSI when calling WinAPI functions. WinAPI functions want Unicode strings but e.g. std::string contains ANSI strings.
2009-05-30 19:46:04 +03:00
Kimmo Varis 04264db9bd Add more generated GUI files to gitignore. 2009-05-30 19:30:40 +03:00
Daniel Marjamäki e987b23509 Merge branch 'aa' 2009-05-30 14:26:07 +02:00
Daniel Marjamäki d33139b2c7 Preprocessor: Added todos for better handling of UTF / extended ASCII
http://apps.sourceforge.net/trac/cppcheck/ticket/343
2009-05-30 14:24:55 +02:00
Kimmo Varis 0a9f6bc631 Windows: Fix FileLister to send full paths instead of only filenames. 2009-05-30 13:22:08 +03:00
Kimmo Varis 76f5c9ef19 Merge branch 'master' of git@github.com:danmar/cppcheck 2009-05-30 10:33:10 +03:00
Kimmo Varis b2d50ca512 Don't create debug info for release build. 2009-05-30 10:32:33 +03:00
Reijo Tomperi 58eda6e978 Fix ticket #325 (Replace developer names in source files with AUTHORS file)
http://apps.sourceforge.net/trac/cppcheck/ticket/325
2009-05-30 08:48:12 +03:00
Reijo Tomperi 8876f0ee57 Fix ticket #342 (Simplify "if( (true) == true )")
http://apps.sourceforge.net/trac/cppcheck/ticket/342
2009-05-30 00:04:01 +03:00
Reijo Tomperi a015704591 Changed expected result for test case TestTokenizer::removeParantheses3 to simplify it more 2009-05-28 23:13:15 +03:00
Reijo Tomperi a3be307c03 Fix bug related to ticket #330, cppcheck hanged with some files containing "(("
http://apps.sourceforge.net/trac/cppcheck/ticket/330
2009-05-28 23:03:36 +03:00
Daniel Marjamäki a3990648a9 Tokenizer: Simplifying redundant parantheses
http://apps.sourceforge.net/trac/cppcheck/ticket/330
2009-05-28 19:37:39 +02:00
Kimmo Varis 31c68ffb5a Fix EOL style (had Unix/DOS) mixed style. 2009-05-28 18:30:20 +03:00
Kimmo Varis f5730d3d75 GUI: Fix typo in Add New Application -dialog. 2009-05-28 18:14:16 +03:00
Kimmo Varis 44e5985fe5 GUI: Add separator in View-menu before check/uncheck all. 2009-05-28 18:10:09 +03:00
Kimmo Varis fd3a1f709c Add GUI build folders to gitignore. 2009-05-28 17:55:17 +03:00
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