Commit Graph

5470 Commits

Author SHA1 Message Date
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
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
Kimmo Varis dd0182c99d GUI: Fix reading multiple error locations from XML. 2011-02-05 18:33:45 +02:00
Kimmo Varis c116caa7eb Merge branch 'xml2-refactoring' 2011-02-05 16:11:58 +02:00
Kimmo Varis f279fcd351 GUI: Unquote special characters when reading XML.
Unquote the quoted data from XML file when reading. We don't want
quoted chars to be visible in the GUI.
2011-02-05 16:07:59 +02:00
Kimmo Varis 9eacceb00a GUI: Read XML format version 2 files.
Implement the parsing of XML format v2 error data.
2011-02-05 15:56:56 +02:00
Daniel Marjamäki 26f017e9c6 scripts: added tabs.pl - in my opinion it is bad to use tabs inside string constants. spaces or \t should be used instead. 2011-02-05 12:53:28 +01:00
Kimmo Varis d31703e452 GUI: Read ErrorItems instead of ErrorLines from XML report.
XML report format 1 only had error "lines" that we promoted to "items"
when adding to GUI. XML report format 2 contains error "items" so
change the code to read items and do the promotion directly when
reading and parsing the data.
2011-02-05 12:41:29 +02:00
Kimmo Varis 0f0f53f919 GUI: Determine the XML report format before reading report. 2011-02-05 12:12:34 +02:00
Zachary Blair 8a494cf8bb Fixed #2388 (Use throw without argument to rethrow exceptions) 2011-02-05 01:11:09 -08:00
Robert Reif 95e917b27f Tokenizer: Replace __null with 0 (gcc constant) 2011-02-05 09:03:31 +01:00
Robert Reif c592ccd35d Fixed #2547 (segmentation fault of cppcheck) 2011-02-05 08:59:59 +01:00
Reijo Tomperi c078d804b9 Update man page 2011-02-05 00:40:12 +02:00
Kimmo Varis 299e200d45 GUI: Quote special chars in the XML output.
Fixes ticket #2543 (GUI: Xml report does not quote special characters)
2011-02-05 00:23:25 +02:00
Kimmo Varis df231aa738 GUI: Add base class for XML report classes.
A base class is needed for e.g. some common routines that can be
shared between the formats.
2011-02-04 23:56:14 +02:00
Daniel Marjamäki 45327e46cd GUI: Updated the swedish translation 2011-02-04 22:05:37 +01:00
Kimmo Varis eaf0bca8fe GUI: Write XML version 2.
Ticket #2521 (GUI: Add XML format 2 support)
2011-02-04 22:42:43 +02:00
Daniel Marjamäki 5640845a17 Fixed #2498 (False positive: redundant assignment) 2011-02-04 21:08:42 +01:00
Stefan Weil 40b8c1d83f Add missing \n in CLI help. 2011-02-04 22:01:17 +02:00
Daniel Marjamäki d06fde77ff Fixed #2531 (False positive: Redudant assignment to itself) 2011-02-04 20:55:38 +01:00
Daniel Marjamäki dbc5929fa2 Fixed #2503 (false positive: memory leak (struct member, address is taken)) 2011-02-04 20:41:35 +01:00