Commit Graph

10774 Commits

Author SHA1 Message Date
Daniel Marjamäki 690c32dd86 readme: document how a project file or Makefile is created for Cppcheck 2014-02-15 08:22:13 +01:00
Daniel Marjamäki 5fe78d1534 use nullptr in lib/token.cpp 2014-02-15 08:05:54 +01:00
Daniel Marjamäki 384ffb4173 use nullptr in lib/tokenize.cpp 2014-02-15 08:04:54 +01:00
Lauri Nurmi 91340d4043 Emulate the C++11 'nullptr' and 'static_assert' 2014-02-15 07:52:17 +01:00
Daniel Marjamäki fd3a8a2a18 Update copyright 2014-02-15 07:45:39 +01:00
Daniel Marjamäki a1d9873558 Fixed #5465 (crash: AST doesnt produce good output for 'class C:public :🅰️:b<c>{..};') 2014-02-14 06:30:51 +01:00
Daniel Marjamäki 42a3aaa4cf Merge pull request #238 from HeisSpiter/master
Fix & complete windows.cfg (likely not exhaustive)
2014-02-13 05:44:11 +01:00
Pierre Schweitzer 22104cc617 Fix & complete windows.cfg (likely not exhaustive) 2014-02-12 16:55:51 +01:00
XhmikosR 0a825318f4 htdocs/devinfo/index.php: fix jquery version. 2014-02-11 21:24:52 +02:00
Daniel Marjamäki 57a3fe59cd Merge pull request #237 from scriptum/rpg-posix-additions
Library: add mk[sd]temp to Posix
2014-02-11 19:56:50 +01:00
Pavel Roschin df69f4e4be Library: add mk[sd]temp to Posix 2014-02-11 17:02:33 +04:00
XhmikosR 5b0a480270 Update html5 boilerplate to the latest git. 2014-02-10 11:43:35 +02:00
XhmikosR 22d1119c22 Update normalize.css to v3.0.0. 2014-02-10 11:43:34 +02:00
XhmikosR f8fc9ff36a Update jquery to v1.11.0. 2014-02-10 11:43:34 +02:00
XhmikosR ad19448817 htdocs: update node.js dependencies. 2014-02-10 11:43:34 +02:00
Lucas Manuel Rodriguez 828609bb11 Fixed two doxygen errors - http://cppcheck.sourceforge.net/devinfo/doxygen-errors.txt 2014-02-09 16:46:49 -03:00
Daniel Marjamäki b5cbe784f3 htdocs/gsoc: updated document 2014-02-09 09:58:09 +01:00
Daniel Marjamäki bb1c045740 htdocs: minor updates of gsoc 2014-02-08 14:47:40 +01:00
Daniel Marjamäki 82db095cc0 htdocs: added gsoc2014 ideas page 2014-02-08 13:12:12 +01:00
Daniel Marjamäki 01092177fe htdocs: Added Visual Studio plugin to the list of plugins 2014-02-08 09:40:43 +01:00
Daniel Marjamäki 8305015dea astyle formatting 2014-02-08 08:51:38 +01:00
Daniel Marjamäki b3d31c80cb Merge pull request #236 from scriptum/rpg-add-include-to-lib
Library: add new "define" tag
2014-02-07 07:31:05 +01:00
Pavel Roschin 19a8cfd960 Library: add new "define" tag
This tag will allow to add some preprocessor defs into library.
It would be useful to provide more information about libraries
implementation details. As example GLib's library include tag
was added that helps to detect more memory leaks.
2014-02-07 10:13:36 +04:00
Daniel Marjamäki b88fbb9857 CI: run daca2 on oldest folder 2014-02-07 06:37:42 +01:00
Daniel Marjamäki 3c0619cba5 astyle formatting 2014-02-05 18:49:34 +01:00
Daniel Marjamäki 821fd8d5c4 Merge pull request #235 from scriptum/rpg-gtk-config
Library: add full GLib/GTK support
2014-02-05 18:07:44 +01:00
Pavel Roschin 4f38d7ae31 Library: add full GLib/GTK support 2014-02-05 19:52:24 +04:00
Daniel Marjamäki 3c6bfac89c Merge pull request #234 from scriptum/rpg-use-whitelist-from-library
CheckMemoryLeak: use library while checking whitelist functions
2014-02-05 11:41:47 +01:00
Daniel Marjamäki ec80068cd9 Merge pull request #228 from simartin/osx_build_restore
RFC: Restore build on OSX
2014-02-05 11:30:34 +01:00
Pavel Roschin 0dd227419d CheckMemoryLeak: use library while checking whitelist functions 2014-02-05 12:16:50 +04:00
Daniel Marjamäki 6ac9e180e0 ast: fixed hang when checking beid 2014-02-05 06:05:48 +01:00
Daniel Marjamäki 2ed3b40937 ast: fixed hang when checking bin-prot 2014-02-04 19:33:26 +01:00
Daniel Marjamäki 486a3192c0 Fixed #5246 (false positive: (warning) Logical conjunction always evaluates to false: t > 0 && t < 1.) 2014-02-04 06:50:29 +01:00
Daniel Marjamäki 8c40f4fee0 astyle formatting 2014-02-03 18:51:07 +01:00
Daniel Marjamäki ed4fa9f154 Merge pull request #231 from scriptum/rpg-add-glib-tests
Add GLib library, add GLib tests (some new bugs found)
2014-02-02 10:49:33 -08:00
Daniel Marjamäki ec61143623 Merge pull request #233 from orbitcowboy/master
Fixed #389: Providing negative value to memory allocation function.
2014-02-02 10:47:37 -08:00
Pavel Roschin 651ebcf17b Add GLib library, add GLib tests (some new bugs found) 2014-02-02 22:45:57 +04:00
Daniel Marjamäki c1282071cf Merge pull request #232 from ManaPlus/master
add basic support for SDL lib.
2014-02-02 10:18:18 -08:00
Daniel Marjamäki ef35b6b1b4 Merge pull request #230 from xypron/5355
5355: False positive var not assigned
2014-02-02 10:10:55 -08:00
Daniel Marjamäki 0166a717c5 Merge pull request #229 from scriptum/#3236
Added regression for #3236
2014-02-02 09:52:14 -08:00
Andrei Karas 7d0e16443b add basic support for SDL lib. 2014-02-02 13:34:13 +03:00
Heinrich Schuchardt 6bfd4af5f7 5355: False postive var not assigned
Avoid false positive "variable not assigned" for

struct Fred{
};
void foo () {
  Fred fred;
  throw fred;
}

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2014-02-01 22:40:35 +01:00
Martin Ettl 6ca7daec10 Fixed #389: Providing negative value to memory allocation function. 2014-02-01 22:38:29 +01:00
Pavel Roschin e06e96e864 Added regression for #3236 (Failure to detect memory leak if pointer members are added) 2014-02-01 15:51:29 +04:00
Simon Martin 8ff9696374 OSX's compiler supports C++11 but one needs to use GNU's STL to build cppcheck, that does not have cbegin/end. 2014-02-01 07:40:08 +01:00
Daniel Marjamäki b3bfd5014d Fixed #5433 (FP:Possible null pointer dereference) 2014-01-31 15:43:34 +01:00
Daniel Marjamäki 9aa9530e0d Fixed #5426 (crash: btrfs-progs cmds-inspect.c) 2014-01-31 06:19:36 +01:00
Lucas Manuel Rodriguez a34d2eb7b3 Fixed #4938: (.empty() method false positive for non-STL classes) 2014-01-30 18:09:24 -03:00
Daniel Marjamäki d6e3b3d3f3 ast: fixed syntax tree for 'a=(b)?1:0'. The parentheses should not be in the syntax tree 2014-01-30 17:31:06 +01:00
Lucas Manuel Rodriguez ad0269eeeb Refactor checks using Variable::isStlType() 2014-01-30 01:26:48 -03:00