Kimmo Varis
df241441dc
Fix ticket #437 (Compile warnings in GUI (in Linux))
...
https://sourceforge.net/apps/trac/cppcheck/ticket/437
Add empty cases for XML element types we don't need to handle.
2009-06-23 09:20:09 +03:00
Reijo Tomperi
85f8ba79a6
codeblocks project file updated
2009-06-23 00:51:30 +03:00
Reijo Tomperi
bdf1987cc4
Fix ticket #435 (False positive: Invalid number of character when ({}) is used in code)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/435
2009-06-22 23:54:11 +03:00
Kimmo Varis
e3271115f2
GUI: Add checked directory path to main window caption.
2009-06-22 18:45:48 +03:00
Kimmo Varis
3012bd5312
Fix EOL style of project file doc and example project file.
2009-06-22 12:38:21 +03:00
Kimmo Varis
74263b30de
Add QT XML DLL to Windows installer and update docs.
2009-06-22 12:35:44 +03:00
Kimmo Varis
4b1f300660
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-22 11:58:15 +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
Daniel Marjamäki
5c36d33943
astyle formatting
2009-06-21 21:03:58 +02:00
Daniel Marjamäki
5b5352226c
doc: simplified the documentation for autovariables a bit
2009-06-21 21:03:21 +02:00
Slava Semushin
13e805f332
Fixed ticket #399 (Add detection for resource leaks after open() usage)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/399
2009-06-21 22:01:43 +07:00
Daniel Marjamäki
8715ba1458
CheckMemoryLeakInFunction: More sensitive checking when the code calls an unknown function
2009-06-21 14:12:59 +02:00
Daniel Marjamäki
f28dec1f5a
detect memory leak when all is given when calling an unknown function
2009-06-21 13:48:39 +02:00
Daniel Marjamäki
a0ba52ccf1
Preprocessor: Replace "#if !defined(A)" with "#ifndef A"
2009-06-21 08:03:42 +02:00
Kimmo Varis
dc75761856
GUI: Don't allow to open Settings-dialog while checking.
2009-06-21 00:03:59 +03:00
Kimmo Varis
7c50e74b95
GUI: Rename Check all/Uncheck all View-menu items to Show all/Hide all.
...
It is not obvious for user what those items do and after all it is about showing/hiding all items.
2009-06-20 23:52:54 +03:00
Kimmo Varis
2adfd3607d
GUI: Enable clearing/saving results also if there are only hidden results.
...
This commit fixes a bug in my earlier commit that only checked visible results.
2009-06-20 23:42:12 +03:00
Kimmo Varis
bf84ab4ab2
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-20 23:24:20 +03:00
Kimmo Varis
71aa189efb
GUI: Notify user the compare is ready if main window is inactive.
2009-06-20 23:23:54 +03:00
Reijo Tomperi
ac6e7b40e5
Fix ticket #426 (Problem with include)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/426
2009-06-20 23:13:19 +03:00
Kimmo Varis
5643d816cf
GUI: Clear results from view before starting new compare.
...
Strictly speaking this is not necessary but it is the easiest way to set the GUI state to "no results"-state.
2009-06-20 23:13:08 +03:00
Kimmo Varis
0792d89a6b
GUI: Disable result cleaning and saving during the checking.
2009-06-20 23:05:17 +03:00
Kimmo Varis
a5af858253
Add Doxygen output directory to gitignore.
2009-06-20 21:01:14 +03:00
Kimmo Varis
b40a5916c4
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-20 20:56:13 +03:00
Kimmo Varis
210014b930
GUI: Make three Get*() methods const methods.
2009-06-20 20:55:28 +03:00
Daniel Marjamäki
8a3ec4549b
Fixed #425 (False positive: usage of char variable.. c = c & 0x03)
...
Using char variables in bit operations are ok if:
* the result is stored in a char
* the variable is and'ed with a number that is less than 0x100
2009-06-20 19:24:58 +02:00
Kimmo Varis
2eff269e60
GUI: Make ThreadHandler class part of object tree.
2009-06-20 19:55:23 +03:00
Daniel Marjamäki
d1d9c9a9c9
CheckMemoryLeakInClass: Only show the memory leak message when --all is used
2009-06-20 14:17:56 +02:00
Daniel Marjamäki
453a5cdd47
Fixed ticket #411 (false positive: resource leak in while loop)
2009-06-20 13:58:30 +02:00
Daniel Marjamäki
13b8f10906
refactoring testcases for Tokenizer::simplifyAddBraces
2009-06-20 13:20:51 +02:00
Kimmo Varis
af994d23e1
Doxygen fixes. Wrong parameter names etc.
2009-06-20 12:54:49 +03:00
Daniel Marjamäki
03944f1b96
Tokenizer: Fixed problem when simplifying casts
2009-06-19 19:25:56 +02:00
Reijo Tomperi
5f7d88b36c
Fix ticket #416 (False positive: Redundant code)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/416
2009-06-19 19:03:09 +03:00
Daniel Marjamäki
6e1281ec34
Preprocessor: Better handling of macros that has parantheses but not parameters such as "#define AAA( ) aaa"
2009-06-19 16:42:47 +02:00
Reijo Tomperi
73661dbd69
astyle fix
2009-06-19 16:47:40 +03:00
Daniel Marjamäki
58c7414ce0
Fixed ticket #417 (Crashes in windows because of invalid char value)
...
negative char values are allowed in strings and comments. but not in other code.
2009-06-19 15:43:46 +02:00
Kimmo Varis
f523b118ab
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-19 15:20:00 +03:00
Kimmo Varis
923e01af3f
Build testrunner to same folders than cppcheck binary.
2009-06-19 15:19:32 +03:00
Daniel Marjamäki
12c9f09780
Fixed #420 (WarningOldStylePointerCast() needs a test case)
2009-06-19 12:01:27 +02:00
Kimmo Varis
3da3c74f6f
Revert "Fix ticket #417 (Crashes in Windows because of invalid char value)"
...
This reverts commit 70db2562f4
.
See the ticket - the fix was not correct fix.
2009-06-19 10:20:15 +03:00
Kimmo Varis
1619b6cb0f
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-19 00:11:17 +03:00
Daniel Marjamäki
d5d96d2535
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-18 23:10:16 +02:00
Kimmo Varis
48ac595ae0
Merge branch 'master' of git@github.com:danmar/cppcheck
2009-06-19 00:09:37 +03:00
Daniel Marjamäki
12f3ac5a2f
Preprocessor: better handling of "..." and "__VA_ARGS__" in macros
2009-06-18 23:09:11 +02:00
Kimmo Varis
70db2562f4
Fix ticket #417 (Crashes in Windows because of invalid char value)
...
8-bit characters and UTF-8 characters are now converted to spaces. They can only appear in the code files in comments or string/char constants. So we cannot just ignore them as that would change length.
2009-06-19 00:09:05 +03:00
Reijo Tomperi
e8d1905e6d
Fix ticket #418 (delete a,b; not tokenized correctly)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/418
2009-06-19 00:00:16 +03:00
Reijo Tomperi
b7171c3cd2
Fix ticket #413 (false positive: C-style pointer casting for pure virtual function)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/413
2009-06-18 23:26:21 +03:00
Reijo Tomperi
ffd8008081
Encoding changed from ISO* to UTF-8
2009-06-18 21:21:18 +03:00
Reijo Tomperi
c28cd3f82e
astyle fix
2009-06-18 21:05:42 +03:00
Slava Semushin
fafc261611
Fixed ticket #278 (variable id: references are not handled correctly)
...
http://sourceforge.net/apps/trac/cppcheck/ticket/278
2009-06-18 23:30:04 +07:00