Commit Graph

6419 Commits

Author SHA1 Message Date
Robert Reif 90495d52d2 fix dmake.cpp cppcheck message: Include file: ../cli/fileLister_win32.h not found. 2011-02-09 21:32:20 -05:00
Kimmo Varis 1e3efd08f8 GUITEST: Add test reading XML format v2 file. 2011-02-09 22:08:29 +02:00
Kimmo Varis 4d886f8c3b GUITEST: Add test for reading old format XML report. 2011-02-09 22:08:25 +02:00
Kimmo Varis 11378108fa GUITEST: Add test for checking XML report version. 2011-02-09 22:08:25 +02:00
Sébastien Debrard a8ca439b7a Merge branch 'master' of http://github.com/danmar/cppcheck 2011-02-09 20:46:08 +01:00
Daniel Marjamäki 5175e4ff3f Fixed #2535 (false positive: (style) Variable 'A' is not assigned a value) 2011-02-09 19:20:44 +01:00
Robert Reif 301f83767e replace tok->strAt(0) with tok->str() 2011-02-09 07:45:19 -05:00
Kimmo Varis aa6341dbed Astyle: add option to convert to linux EOLs. 2011-02-09 14:13:37 +02:00
Robert Reif 7502cea4d3 Fixed #2554 (simplifyTypedef: wrong simplification for sizeof(array)) 2011-02-08 19:47:14 -05:00
Kimmo Varis 9dd1515f6f GUITEST: Add couple of tests for XmlReport. 2011-02-09 01:59:12 +02:00
Reijo Tomperi 73e746cfd8 Change Makefile to allow another external library to be used instead of bundled one.
E.g. make TINYXML="-ltinyxml" can be used to compile with libtinyxml-dev instead of
externals/tinyxml (but won't compile yet, because of #include "tinyxml/tinyxml.h" in the code).
2011-02-09 01:06:51 +02:00
Kimmo Varis 2684b230f1 GUITEST: Add first GUI test testing TranslationHandler. 2011-02-08 23:42:50 +02:00
Reijo Tomperi 83f43d8ab6 Fix readme.txt instructions for g++ compiling 2011-02-08 23:29:27 +02:00
Sébastien Debrard 54f523717c Merge branch 'master' of http://github.com/danmar/cppcheck 2011-02-08 21:08:40 +01:00
Daniel Marjamäki 56ae77ba87 Fixed #2555 (Cppcheck 1.47 - Crash on WinMerge-Trunk (Win7 x64)) 2011-02-08 20:18:15 +01:00
Erik Lax aeae5a867d Fixed #2550 (Bad substr/strncmp comparison) 2011-02-08 19:49:29 +01:00
Kimmo Varis e15bc488c9 GUI: Better handling of unknown language loading.
If there were unknown language in settings the fallback to English
language didn't work as expected. And there were no proper current
language set after that. Initialize current language to English
so we always have English as proper fallback.
2011-02-08 18:22:44 +02:00
Greg Hewgill 7a219b1fb8 support wildcard characters * and ? in suppression list 2011-02-09 00:19:57 +13:00
Greg Hewgill a9f2879889 factor out file matching into own class 2011-02-09 00:19:56 +13:00
Greg Hewgill 38986302e9 failing test for suppression glob 2011-02-09 00:19:56 +13:00
Greg Hewgill c0d3e002a9 preprocessor check for #define A 0 2011-02-08 21:02:15 +13:00
Robert Reif 1e0d538273 checkautovariables: refactor to use the symbol database 2011-02-07 19:26:34 -05:00
Daniel Marjamäki 7c9e52546d Fixed #2552 (preprocessor check XX is already guaranteed to be defined -- too eager?) 2011-02-07 20:26:29 +01:00
Kimmo Varis f66bdad03d GUI: Enable French translation.
French translation file was added to the source tree but not added
to the code loading translations.
2011-02-07 12:59:46 +02:00
Kimmo Varis 76b235b9cf GUI: Add comments for translationhandler.h. 2011-02-07 12:56:32 +02:00
Kimmo Varis fd112fc16e GUI: Store selected language as language code.
GUI was storing selected language as index to the languages list.
This is fragile since the order and count of items can change.
This commit changes to using ISO language code (e.g. "en" for
"English").

Fixes ticket #2446 (GUI: Don't use index number for language selection)
2011-02-07 12:30:13 +02:00
Kimmo Varis 64a70fa51c GUI: Refactoring translation handling.
Instead of separate language name and filename lists use one
list of structs. This makes language name and filename more
connected and makes handling of them easier.
2011-02-06 22:00:16 +02:00
Kimmo Varis 7d9f8e1706 GUI: Remove unneeded translation code. 2011-02-06 20:56:04 +02:00
Kimmo Varis 2a49ff9c4d GUI: Sort the languages list. 2011-02-06 20:47:12 +02:00
Daniel Marjamäki e9d14b2cfd createrelease: updated the instructions 2011-02-06 12:52:52 +01:00
Daniel Marjamäki 72aca46a6e Makefile: set debug mode 2011-02-06 12:33:05 +01:00
Daniel Marjamäki efaeb0a5e9 1.47: Updated Makefile for release 2011-02-06 12:14:09 +01:00
Daniel Marjamäki 7c6f28216d 1.47: Updated Changelog 2011-02-06 12:12:45 +01:00
Daniel Marjamäki 4a7c56f970 1.47: Updated versions 2011-02-06 12:05:42 +01:00
Daniel Marjamäki 5895b8f78c manual: updated for 1.47 release 2011-02-06 12:04:54 +01:00
Daniel Marjamäki 10e82c029a readme: tweaked the 'compiling cppcheck' section 2011-02-06 11:21:50 +01:00
Zachary Blair 44a350a6dc Ticket #2388. Added more detail to the 'exceptRethrowCopy' error message. 2011-02-06 02:01:14 -08:00
Zachary Blair daa04872a0 Merge branch 'master' of github.com:danmar/cppcheck 2011-02-06 01:31:09 -08:00
Daniel Marjamäki 2506c7db5c Removed the 'verify' folder 2011-02-06 10:04:28 +01:00
Daniel Marjamäki f7dcf2d3b9 Tokenizer: Added a comment about sizeof for struct/class. We always assume that the size is 100 2011-02-06 09:58:07 +01:00
Kimmo Varis 2214de7bbc Add .obj files to gitignore. 2011-02-05 23:46:10 +02:00
Kimmo Varis b62d034eae GUI: Update translation files. 2011-02-05 23:46:10 +02:00
Kimmo Varis f33efc7fa5 Installer: Update CLI build directory. 2011-02-05 23:46:09 +02:00
Kimmo Varis 6e11c03d86 Installer: Add French translation to installer. 2011-02-05 23:46:05 +02:00
Kimmo Varis 1e5743ff1e GUI: Add French translation to project file. 2011-02-05 23:46:05 +02:00
Reijo Tomperi 2bded1091b Improve --help listing by removing duplicate options list and using lt and gt characters for option arguments. 2011-02-05 22:59:26 +02:00
Reijo Tomperi bc5abd063f Update man page to contain more info about --rule options. 2011-02-05 22:50:25 +02:00
Reijo Tomperi 35066c898a Update man page 2011-02-05 22:31:31 +02:00
Daniel Marjamäki 2fa2157543 Cppcheck: Added short info about --rule and --rule-file to --help output 2011-02-05 20:15:22 +01:00
Kimmo Varis e8ebbf2701 GUI: Update translation files. 2011-02-05 18:38:17 +02:00