Commit Graph

9796 Commits

Author SHA1 Message Date
Daniel Marjamäki 1a2aaa6780 Library: If load from current path fails, try to load 'default' configuration from cppcheck-executable path. Allow that '.cfg' extension is not used. Allow that multiple configurations are provided (comma separated). 2013-07-20 10:21:05 +02:00
Daniel Marjamäki 1dc8b1706b cfg/gtk.cfg: Updated configuration 2013-07-20 10:19:12 +02:00
Daniel Marjamäki a216edfd07 updated manual and CLI --help output 2013-07-20 09:38:44 +02:00
Daniel Marjamäki 4a2c200b7a renamed the folder data/ to cfg/ in the repo 2013-07-20 08:26:15 +02:00
Daniel Marjamäki dfed6bbea0 Fixed #4445 (Token::Match called with varid 0) 2013-07-19 21:18:54 +02:00
XhmikosR e09dfadce6 htdocs: Make the Cppcheck header clickable. 2013-07-19 09:39:11 +02:00
Daniel Marjamäki 7eb1f36200 astyle formatting 2013-07-19 09:28:45 +02:00
Daniel Marjamäki 794aebe3cf MathLib: Return inf.0 for NAN and INF calculations 2013-07-19 09:27:33 +02:00
Daniel Marjamäki f02e885b42 CheckMemoryLeakInFunction: Use <ignore> info from Library 2013-07-19 07:50:54 +02:00
Daniel Marjamäki 6fe1b92a47 Improved --check-library messages 2013-07-16 18:50:25 +02:00
Daniel Marjamäki c071d752e0 Manual: Made chapter about library configuration shorter 2013-07-16 10:28:43 +02:00
Daniel Marjamäki fa7f8ddc78 Library: Renamed Argument to ArgumentChecks to make it a bit more clear 2013-07-16 09:40:31 +02:00
XhmikosR 548234ba50 Trim trailing spaces. 2013-07-16 09:02:31 +02:00
XhmikosR 29475d056a Use the full sourceforget.net url. 2013-07-16 09:01:56 +02:00
Daniel Marjamäki d25e7d4a21 Library: fixed problems 2013-07-16 08:21:38 +02:00
Daniel Marjamäki 2a884446be Library: document not-null and not-uninit argument configuration 2013-07-15 21:58:29 +02:00
Daniel Marjamäki 24dfc052e2 astyle formatting 2013-07-15 21:57:58 +02:00
Daniel Marjamäki a01e54fdd9 astyle formatting 2013-07-15 21:57:10 +02:00
Daniel Marjamäki 7b5c58d286 astyle formatting 2013-07-15 21:56:31 +02:00
Daniel Marjamäki 7443883b9c Library: Improved handling in CheckNullPointer::parseFunctionCall for Library data 2013-07-15 18:55:40 +02:00
Daniel Marjamäki 66d8fa62d1 Library: added init attribute to <alloc> 2013-07-15 08:44:00 +02:00
Daniel Marjamäki 16d0a818c9 manual: describe rules and library configuration 2013-07-14 16:41:20 +02:00
Daniel Marjamäki b2f6e9e3eb library: improved handling of noreturn. The Tokenizer::isScopeNoReturn will now try to use the library to determine if scope is noreturn. 2013-07-14 10:10:11 +02:00
Daniel Marjamäki 7d237579c9 htdocs/archive: renamed 'history.txt' to 'setfiledata.log'. use full url cppcheck.sourceforge.net. 2013-07-13 21:02:45 +02:00
Daniel Marjamäki ab2d2a7484 democlient: log input 2013-07-13 18:15:20 +02:00
Daniel Marjamäki dcb38ff637 htdocs/archive: Save every version 2013-07-13 17:32:48 +02:00
Daniel Marjamäki 2d73b3ef0d htdocs/archive: change index.php to use new archive 2013-07-13 17:17:32 +02:00
Daniel Marjamäki 3185b1b118 htdocs/archive: minor fixes and cleanup 2013-07-13 10:23:10 +02:00
Kimmo Varis d1ec81771c Fixed 3191 (GUI: Does not compile against Qt 5) 2013-07-13 09:16:15 +02:00
Daniel Marjamäki 8285510996 Rules: Make it possible to write rules that check #define macros 2013-07-12 16:09:00 +02:00
Lucas Manuel Rodriguez cfd697d6d4 Fixed #4042 (False Positive : Same expression on both sides of '&') 2013-07-11 07:13:47 +02:00
Daniel Marjamäki 8f332af849 Uninitialized variables: Avoid FP when using '?:' 2013-07-10 16:44:35 +02:00
XhmikosR bbf3db4d78 Update jquery to 1.10.2 and add a local fallback. 2013-07-10 06:43:07 +02:00
Lucas Manuel Rodriguez 040c1e3a13 Fixed #4906 (False positive: void * calculation (cast)) 2013-07-10 06:40:09 +02:00
Daniel Marjamäki 4106972fdc Merge pull request #148 from JustRamires/master
Fixed segmentation fault in SymbolDatabase::SymbolDatabase(Ticket #4892)
2013-07-09 02:55:46 -07:00
Roman Zaytsev Borisovich 295869a866 Fixed segmentation fault in SymbolDatabase::SymbolDatabase(Ticket #4892) 2013-07-09 13:10:03 +04:00
Daniel Marjamäki 8ba14edb51 dmake: fixed lib.pri for gui (tinyxml) 2013-07-08 21:56:09 +02:00
Daniel Marjamäki 5da31fd2f3 htdocs: improved archive. added edit/setfiledata 2013-07-08 21:20:36 +02:00
Daniel Marjamäki 7d47fd65a2 Renamed --environment to --library. Added --check-library. Renamed Environment to Library 2013-07-08 18:26:18 +02:00
Alexander Mai b7bb16ea77 Fixed #4897 (callStackToString is not available when using custom message template) 2013-07-08 06:44:25 +02:00
Lucas Manuel Rodriguez d177c8fd03 Fixed #4824 (False positive: (warning) Member variable 'Foo::m_state' is not initialized in the constructor.) 2013-07-08 06:38:33 +02:00
XhmikosR 589614e791 htdocs: Re-license files under GPLv3, the same as Cppcheck itself. 2013-07-07 18:09:37 +02:00
XhmikosR 611e6eaf97 htdocs\site\js\github.js: remove unneeded JSHint rules. 2013-07-07 18:09:19 +02:00
Daniel Marjamäki 88e96a42fe htdocs: web archive. when addfile/deletefile/renamefile are done, show message and OK button. 2013-07-07 18:06:52 +02:00
Daniel Marjamäki c74b74da0d Merge pull request #151 from simartin/xcode_build_environment
Add environment.h,cpp to XCode project and restore build from XCode.
2013-07-07 08:13:09 -07:00
Daniel Marjamäki 15f24fe405 htdocs: new archive interface. add file, rename file, delete file works. But edit doesn't work yet. 2013-07-07 16:55:38 +02:00
Simon Martin 60b244af81 Add environment.h,cpp to XCode project and restore build from XCode. 2013-07-07 11:33:25 +02:00
XhmikosR 557be8efc8 Remove extra new lines. 2013-07-07 11:21:33 +02:00
Daniel Marjamäki 244d724b26 astyle formatting 2013-07-07 11:07:23 +02:00
Daniel Marjamäki b51ed802f0 updated runastyle scripts 2013-07-07 11:05:32 +02:00