Commit Graph

6602 Commits

Author SHA1 Message Date
Daniel Marjamäki 524498e439 Tokenizer: collapse operator function names into a single token. ticket: #2519 2011-01-27 18:44:20 +01:00
Kimmo Varis 090436ea95 Add cmd line parser tests for XML ver 2 options. 2011-01-27 14:25:10 +02:00
Kimmo Varis 97f041f292 GUI: Update homepage URL to About-dialog. 2011-01-27 13:14:53 +02:00
Kimmo Varis a794edd934 Don't stop processing cmd line after --errorlist.
Ticket #2441 (Parsing of command line arguments breaks after --errorlist)

Instead of stopping processing command line options after
--errorlist process them all. This way e.g. --verbose can be given
also after the --errorlist.
2011-01-27 11:14:08 +02:00
Kimmo Varis dcc241a2b4 Don't print "files not found" after showing help.
Fix ticket #2496 (Is error reporting for an unneeded parameter wrong?)

There are several command line options / commands after which we
don't want Cppcheck to even try to open any files. Eg. printing
help or listing errors. So add new attribute for CmdLineParser to
track use of these options and exit before checking files when
the attribute is set.
2011-01-27 10:30:53 +02:00
Kimmo Varis 50dba88077 Fix formatting of debug messages to log view.
Ticket #2513 (GUI: Garbage printed to log after missing include warning)

The linenumber was not properly converted to the QString so there
were garbage printed to the log.
2011-01-27 08:47:28 +02:00
Kimmo Varis 001d382614 GUI: Enable warnings about missing include files. 2011-01-26 23:44:15 +02:00
Sébastien Debrard 148429ef6e Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-26 20:39:08 +01:00
Sébastien Debrard 078c36921d runastyle 2011-01-26 20:10:56 +01:00
Sébastien Debrard 3e7f29d6f9 fix #2510 Improve check 'sizeof for array given as function argument' 2011-01-26 20:08:06 +01:00
Sébastien Debrard 5d661d25a8 typo: message 2011-01-26 09:35:11 +01:00
Tim Gerundt 800a08f4de Web: Add "Download Now!" link 2011-01-25 17:38:55 +01:00
Sébastien Debrard e82c190429 Merge branch 'master' of https://github.com/danmar/cppcheck
Conflicts:
	test/testother.cpp
2011-01-25 10:05:03 +01:00
Sébastien Debrard 4cf56dac2b Fix 2495 incorrect sizeof error message 2011-01-25 09:57:58 +01:00
Sébastien Debrard 0170fde66f Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-24 23:28:51 +01:00
Daniel Marjamäki a596a7a8fe Fixed #2494 (New check: clarify calculation when using ?: operator) 2011-01-24 21:40:49 +01:00
Sébastien Debrard 3445e77126 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-24 20:31:53 +01:00
Sébastien Debrard c7b8bd543f fix ticket 155 - char array 2011-01-24 19:04:56 +01:00
Daniel Marjamäki f611c9aec7 cleanup old ifdefs in cmdlineparser 2011-01-24 18:15:56 +01:00
Sébastien Debrard 15e81e60a4 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 23:09:41 +01:00
Sébastien Debrard 5b5e8ca518 .. 2011-01-23 23:09:31 +01:00
Robert Reif f5b26222ff Symbol database: better handling of functions returning function pointer. ticket: #2468 2011-01-23 22:31:35 +01:00
Sébastien Debrard daef8ef5fd Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 16:32:41 +01:00
Sébastien Debrard 86ba9dc908 sizeof 2011-01-23 16:32:33 +01:00
Daniel Marjamäki c04107131b when using TODO_ASSERT_EQUALS it's a good idea to pair it with a ASSERT_EQUALS 2011-01-23 14:34:26 +01:00
Daniel Marjamäki 586cbd5839 Tokenizer: Upon createLinks error, report error and bailout 2011-01-23 09:38:38 +01:00
Daniel Marjamäki b10f0aabd6 Fixed #2376 (simplifyTypedef: upx-ucl) 2011-01-23 09:04:34 +01:00
Robert Reif 2a3cce5001 Symbol database: fixed corruptions. ticket: #2468 2011-01-23 08:41:31 +01:00
Daniel Marjamäki 86e6822264 Fixed #2493 (false positive: (error) Possible null pointer dereference: pExpr) 2011-01-23 08:38:09 +01:00
Sébastien Debrard 74bc421f4c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-23 03:37:47 +01:00
Sébastien Debrard b5cd37e822 ticket 155 2011-01-23 03:37:38 +01:00
Daniel Marjamäki 9d3b242cd8 Fixed #1952 (false negative: buffer acces out of bounds with memcpy) 2011-01-22 21:31:26 +01:00
Debrard Sébastien 27dce075e0 Fixed #155 (check size of a variable whose type is a sized array) 2011-01-22 19:21:56 +01:00
Sébastien Debrard 8f4ea30792 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 18:54:07 +01:00
Tim Gerundt 0984d55635 Web: Tweak recent commits entries 2011-01-22 18:05:42 +01:00
Sébastien Debrard 2ed7d536a5 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 17:47:17 +01:00
Robert Reif 8abae6f1e5 Symbol database: match copy-constructor better. ticket: #2484 2011-01-22 17:43:36 +01:00
Daniel Marjamäki 1e25d74ba4 Class: better check if there are friends. ticket: #2459 2011-01-22 17:35:54 +01:00
Sébastien Debrard bc0524dec3 Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 14:06:13 +01:00
Sébastien Debrard 000e03c85d is booelan 2011-01-22 14:06:02 +01:00
Daniel Marjamäki f947955c63 Fixed #2492 (False positive: memory leak 'return &self->foo;') 2011-01-22 13:40:19 +01:00
Daniel Marjamäki 9551332321 Fixed #2459 (False positive with unused private function and friend) 2011-01-22 13:00:03 +01:00
Daniel Marjamäki 5c88129f01 Fixed #2484 (false positive because template is not instantiated properly) 2011-01-22 12:42:53 +01:00
Sébastien Debrard 8d97080ab8 ticket 155 2011-01-22 10:51:00 +01:00
Sébastien Debrard 53c36f53ef Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 10:49:26 +01:00
Daniel Marjamäki bc31f317bc Fixed #2491 (Tokenizer::setVarId : wrong handling of function call: 'a(b * c, 1);') 2011-01-22 09:27:16 +01:00
Robert Reif 0746c2410a Symbol database: Fixed memory leak. ticket: #2468 2011-01-22 08:36:47 +01:00
Robert Reif 69eee86ee4 Tokenizer: Only create 1 symbol database. ticket: #2468 2011-01-22 08:34:24 +01:00
Sébastien Debrard 1eccc2937c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-01-22 02:41:42 +01:00
Ettl Martin a83aced2ec fixed uninitialized members in tests 2011-01-21 23:48:42 +01:00