Commit Graph

5281 Commits

Author SHA1 Message Date
Daniel Marjamäki 3918aa4953 memory leaks: fixed test that I broke in my last commit 2010-12-09 06:13:59 +01:00
Daniel Marjamäki cad9c5f232 Fixed #2285 (False Positive: memory leak) 2010-12-08 21:02:02 +01:00
Kimmo Varis bc30c7d23b GUI: Small cleanup - use const reference. 2010-12-08 15:08:27 +02:00
Kimmo Varis 27936a9968 GUI: Small cleanup - use const reference. 2010-12-08 14:55:56 +02:00
Kimmo Varis fab16c4cbf GUI: Fix typo in Japanese translation name.
The typo was visible in the Language-menu.
2010-12-08 11:52:49 +02:00
Kimmo Varis ec842782e4 GUI: Update language files. 2010-12-08 11:22:08 +02:00
Kimmo Varis 675cb5b5a2 GUI Add Japanese translation.
The translation was contributed by cjohnk7@sourceforge.net.
Ticket #2276.
2010-12-08 11:16:48 +02:00
Kimmo Varis 383df58e7e Fix EOL style for stats.ui.
I accidentally committed stats.ui with Windows EOL style.
2010-12-08 10:59:06 +02:00
Robert Reif c6e67d4aad Symbol database: use symbol database in the memory leaks function checking. Ticket: #2219 2010-12-08 07:49:01 +01:00
Robert Reif 980a90071c Fixed #2282 (Improve check: Function can be const) 2010-12-07 19:42:30 +01:00
Kimmo Varis 3527c04cfb GUI: Update translation files. 2010-12-07 18:24:45 +02:00
Kimmo Varis abc5ec9009 GUI: Don't translate placeholder texts in stats dialog. 2010-12-07 18:22:32 +02:00
Robert Reif b6acfa809b Symbol database: creates a single symbol database within Tokenizer on demand and changes all checks to use it 2010-12-07 07:08:49 +01:00
Robert Reif 399cc63d2d Symbol database: adds new tests that verify that namespaces work for the class check 2010-12-07 07:08:05 +01:00
Robert Reif 271d8988aa Symbol database: fixed a TODO test where class variables were qualified with the class name 2010-12-07 07:07:36 +01:00
Robert Reif 6c719c5806 Symbol database: removed unnecessary null pointer checks 2010-12-07 07:07:07 +01:00
Daniel Marjamäki 26864dd011 Memory leaks: Removed the experimental checking using ExecutionPath. 2010-12-06 21:46:18 +01:00
Daniel Marjamäki b705a9cbdd Writing rules: converting the docbook to pdf with buildman.sh 2010-12-06 20:39:38 +01:00
Daniel Marjamäki 964852f14e Writing rules: More simplifications 2010-12-06 19:36:51 +01:00
Daniel Marjamäki 0b696b7079 Fixed #2280 (Tokenizer::setVarId : variable id not set for inner iterator) 2010-12-06 17:52:44 +01:00
Kimmo Varis 9667d97949 Update GUI executable name to .gitignore. 2010-12-05 23:11:37 +02:00
Kimmo Varis d977e1b2bd Update Makefile. 2010-12-05 23:06:36 +02:00
Daniel Marjamäki 55e12659ff Writing rules: minor tweaks 2010-12-05 21:50:17 +01:00
Kimmo Varis cdcd3c4a8f Merge branch 'master' of github.com:danmar/cppcheck 2010-12-05 22:25:45 +02:00
Kimmo Varis 3ab725fa04 Add few tests for ErrorLogger. 2010-12-05 22:23:36 +02:00
Robert Reif 626a814241 Symbol database: better handling of inline functions. Ticket: #2219 2010-12-05 20:26:52 +01:00
Daniel Marjamäki b25e6ff24c Fixed #2279 ((style) struct of union member is never used) 2010-12-05 18:33:53 +01:00
Daniel Marjamäki ac60a41a7e Writing rules: use 'cppcheck --rule=.+' instead of 'cppcheck --debug' to see simplified code 2010-12-05 14:08:49 +01:00
Daniel Marjamäki 68f2c47c5c Writing rules: Minor updates. Trying to make it easier. 2010-12-05 13:19:30 +01:00
Daniel Marjamäki eaea572683 Writing rules: rewrote the chapter about writing rule files 2010-12-05 09:39:06 +01:00
Robert Reif c20b8831ee Fixed #2275 (False Positive: Member variable not initialized in the constructor) 2010-12-04 20:24:13 +01:00
Daniel Marjamäki 80b2c0594b Writing rules: Target this guide for beginners. Skip C++ and only describe how rules are created with regular expressions. 2010-12-04 20:01:55 +01:00
Robert Reif 04b811b74f Fixed #2273 (False Positive: Member variable not initialized in the constructor) 2010-12-04 17:47:00 +01:00
Daniel Marjamäki a29f54c122 Writing rules: Removed the C++ information. I'll focus on regular expressions to begin with. 2010-12-04 15:52:22 +01:00
Daniel Marjamäki ab336b9088 Tokenizer: Added a few comments 2010-12-04 15:49:25 +01:00
Daniel Marjamäki 11a0ac4e07 xml2: rename '--xmlver' to '--xml-version'. bugfix in settings, change the type of _xml_version from bool to int. 2010-12-04 14:20:51 +01:00
Daniel Marjamäki 1f1df0645b Merge branch 'xml2' of github.com:danmar/cppcheck 2010-12-04 14:06:57 +01:00
Kimmo Varis c6c5fc6a1c Add tests for remaining CLI options. 2010-12-04 14:13:44 +02:00
Daniel Marjamäki df56b31143 Writing rules: Start writing document. A beginners guide to writing rules. 2010-12-04 09:18:57 +01:00
Kimmo Varis d14b5039ce Improve 'Use x.empty() instead of x.size() for emptiness' warning.
Improve the performance warning message as discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192#p926
2010-12-04 10:15:48 +02:00
Kimmo Varis 8369d0ddd6 Improving 'Wrong assignment of auto variable' error message.
Improving the error message as discussed at dev-forum:
https://sourceforge.net/apps/phpbb/cppcheck/viewtopic.php?f=3&t=192&start=0
2010-12-04 09:55:20 +02:00
Robert Reif 758fc85a12 Memory leaks: Determine that some classes are not auto-deallocated. Reduce false negatives. Ticket: #2219 and #1618 2010-12-04 07:29:12 +01:00
Daniel Marjamäki ca8f5015b8 Manual: updated the manual 2010-12-03 20:00:59 +01:00
Daniel Marjamäki 93ebdca313 Fixed #2264 (False positive: variable assigned value that is never used) 2010-12-03 18:45:49 +01:00
Robert Reif b29568c81d Fixed #2271 (Tokenizer: simplify Qt signals and slots) 2010-12-03 08:14:09 +01:00
Robert Reif 2cd8bc74cc Symbol database: The symbol database has a bug where it can find an out of line constructor when looking for a destructor. Ticket: #2272 2010-12-03 07:35:06 +01:00
Daniel Marjamäki 8118e4755a Fixed #2263 (False positive: variable assigned value that is never used) 2010-12-02 20:08:05 +01:00
Daniel Marjamäki 66f0948395 Preprocessor: Don't include system headers twice. 2010-12-02 18:07:32 +01:00
Robert Reif eda4bcae29 Fixed #2271 (Tokenizer: simplify Qt signals and slots) 2010-12-02 17:41:49 +01:00
Daniel Marjamäki af80384ae7 xml2: replace --xml2 with --xmlver=2. Ticket: #2106 2010-12-02 17:32:51 +01:00