5495 Commits

Author SHA1 Message Date
Daniel Marjamäki
227a6100f7 astyle formatting 2011-02-11 19:31:37 +01:00
Erik Lax
c7821675dd Preprocessor: Test handling of strings with multiple spaces (Ticket: #2548) 2011-02-11 18:57:58 +01:00
Greg Hewgill
f2f2d1f885 Fixed #2571 (Preprocessor: better handling for #undef) 2011-02-11 18:51:22 +01:00
Greg Hewgill
751f8d46e5 Fixed #2570 (Preprocessor: #define parsing when there is no whitespace between a macro symbol and its double-quoted string expansion) 2011-02-11 18:01:27 +01:00
Robert Reif
b8c5426bb8 fix #2567 Unused private function when implemented in different file 2011-02-11 08:00:41 -05:00
Erik Lax
b3e8ef9d48 Fixed #2559 (Refactoring Preprocessor::read) 2011-02-11 06:30:42 +01:00
Daniel Marjamäki
90bf801c83 Visual Studio 2010: Updated project files for cli and test 2011-02-10 22:10:45 +01:00
Daniel Marjamäki
ce9f9ee6c6 Visual Studio 2008: Updated project files for cli and test 2011-02-10 22:08:10 +01:00
Daniel Marjamäki
08811c8179 CheckBufferOverrun: Refactoring. Broke out checkScope code for parsing 'for' bodies 2011-02-10 21:56:06 +01:00
Reijo Tomperi
a71204b8e3 Change "tinyxml/tinyxml.h" includes into <tinyxml.h> and modify dmake to work with it.
This should allow usage of libtinyxml-dev or such libraries without modifications to code or makefile.
2011-02-10 22:35:48 +02:00
Robert Reif
2900d44ff0 #2560 (False positive: The class 'Altren' does not have a constructor, because base class is in namespace.) 2011-02-10 07:37:55 -05:00
Robert Reif
e6848aef98 Tokenizer: refactor duplicated token copy code info function 2011-02-09 22:02:17 -05:00
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
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
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
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 1.47 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