Commit Graph

6048 Commits

Author SHA1 Message Date
Kimmo Varis 9186cd8503 GUI: Add partial support for portability severity.
Add 'backend' support for the new 'portability' severity. The new
severity is handled, converted to new SHOW_PORTABILITY and added
with correct type to the result view.

There is no menuitem/toolbar button to show/hide portability
items. Likewise there is no line for portability issues in stats-
dialog.

Ticket #2106 (More severities and new xml format)
2010-12-13 11:25:45 +02:00
Daniel Marjamäki 48241c81f8 dmake: add include path '../externals' to lib.pri in case the pcre.h is placed there. 2010-12-12 17:26:13 +01:00
Daniel Marjamäki 2d3865a671 Add support for user defined rules 2010-12-12 11:56:22 +01:00
Daniel Marjamäki 1ece516816 Makefile: switch back to debug mode 2010-12-12 09:46:59 +01:00
Daniel Marjamäki f2fac1fe70 1.46: updated Makefile for release 2010-12-12 08:41:19 +01:00
Daniel Marjamäki 4ae73ef80c 1.46: Updated Changelog 2010-12-12 08:34:59 +01:00
Daniel Marjamäki b90e514b32 1.46: updated version information 2010-12-12 08:33:05 +01:00
Daniel Marjamäki 1cfd3309bc XML2: Added severity 'portability' for future use. Ticket: #2106 2010-12-11 21:54:06 +01:00
Daniel Marjamäki 71146a444b online-help: Remove old files before generating new ones. 2010-12-11 17:29:40 +01:00
Daniel Marjamäki ab37127511 GUI: updated help file. Use latest manual. 2010-12-11 17:04:31 +01:00
vBm ccaa5c2c17 GUI: Initial addition of Serbian localization using clean English template. 2010-12-10 16:59:36 +01:00
Daniel Marjamäki 9c81695c12 Manual: minor tweaks. remark that it is not certain that fixing 'performance' messages will have a positive effect on the speed. and in general it doesn't make the code more readable. 2010-12-09 20:13:02 +01:00
Daniel Marjamäki 9de016b96d Obsolete functions: added better verbose messages 2010-12-09 19:49:33 +01:00
Daniel Marjamäki 69bacde479 Tokenizer: Cleanup redundant statement '; x = x + 0;'. Ticket: #2283 2010-12-09 19:35:52 +01:00
Daniel Marjamäki e6bef96711 ThreadExecutor: Fixed error message 'member variable _pipe not initialized'. Ticket: #2283 2010-12-09 19:03:41 +01:00
Daniel Marjamäki ee083cd7a0 Fixed #2284 (False positive: Possible null pointer reference) 2010-12-09 18:17:56 +01:00
Robert Reif 4d2c210f2a Symbol database: use in checkmemoryleaks.cpp. ticket: #2219 2010-12-09 06:15:01 +01:00
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