Commit Graph

10760 Commits

Author SHA1 Message Date
Robert Reif 94187c41c2 Fixed #5104 (False positive: Invalid argument in printf and scanf for vector template) 2013-10-27 10:48:49 +01:00
Daniel Marjamäki e70f0a601f Merge pull request #190 from myint/clean
Clean up cppcheck-htmlreport
2013-10-27 02:41:29 -07:00
Daniel Marjamäki 4a6274dcc0 Merge pull request #183 from felipensp/null_ptr_typeof
- Fixed false positive when passing pointer to typeof()
2013-10-27 02:37:31 -07:00
Daniel Marjamäki ec3ab74631 Preprocessor: Use set instead of list to track '#pragma once' usage 2013-10-27 10:33:37 +01:00
Daniel Marjamäki 9faaef840b daca2: check all extracted files 2013-10-27 07:53:23 +01:00
Daniel Marjamäki 86358694fb Uninitvar: Added comment to clarify that the old logic for function calls has been removed because it had FP and the 'same' checking in the new checker will be used to catch these errors instead. 2013-10-26 18:46:06 +02:00
Daniel Marjamäki 51ad9ab6ac Fixed #4896 (FP Uninitialized variable on template function) 2013-10-26 18:39:40 +02:00
Daniel Marjamäki 8687e85e56 Fixed #4850 (False positive: invalidIterator1 detected when iterator container is member of some struct) 2013-10-26 17:48:20 +02:00
Daniel Marjamäki 853d9dd7a9 Fixed #4956 (false positive: Variable 'myIsFirst' is assigned a value that is never used.) 2013-10-26 15:22:28 +02:00
Daniel Marjamäki aaf5bbb7ad daca2: minor tweaks of wget and removeLargeFiles 2013-10-26 11:47:15 +02:00
XhmikosR 32e2a5b879 test/testother.cpp: Fix a C4800 MSVC warning. 2013-10-25 18:14:16 +03:00
Daniel Marjamäki 22351a73b1 doxygen: escape #pragma in comment to make doxygen happy. Thanks XhmikosR for the suggestion! 2013-10-25 16:08:19 +02:00
orbitcowboy 924d4a8b05 htmlreport:README.txt: added command for installing pygments package for Linux systems. 2013-10-24 11:05:46 -07:00
Daniel Marjamäki 45e7c488a0 daca2: dont terminate when a package fails. try to continue. 2013-10-25 06:43:08 +02:00
Daniel Marjamäki 2f864dec49 daca2: fixes 2013-10-24 18:36:08 +02:00
Daniel Marjamäki ab2864e1cb daca2: use ls-lR file 2013-10-24 18:22:15 +02:00
Daniel Marjamäki fc9998e439 daca2: bailout if download fails 2013-10-24 17:39:37 +02:00
Steven Myint 027fb83585 Clean up cppcheck-htmlreport
1. Use context managers rather than explicit "close()".
2. Use quotes consistently.
3. Clean up some pep8 complaints.
4. Avoid colliding names ("stream").
2013-10-24 05:17:09 -07:00
XhmikosR 7349d4b767 Update htmlreport/cppcheck-htmlreport.
There were cases where two subsequent lines have errors, that they overlapped.

Also, add box-sizing and use single quotes inside double quotes to get rid of escaping them.
2013-10-24 08:43:45 +03:00
XhmikosR 31a0e35ef2 Tweak cppcheck-htmlreport.
Move style to a class and tweak properties.
2013-10-23 19:21:20 +03:00
XhmikosR 11a0763b40 Merge pull request #186 from matthiaskrgr/css2
html-report CSS
2013-10-23 09:06:42 -07:00
XhmikosR f1db6deddf Merge pull request #189 from myint/unicode
Use Unicode consistently throughout cppcheck-htmlreport
2013-10-23 08:42:00 -07:00
Steven Myint 0758088811 Use Unicode consistently throughout the script
This is related to #186.
2013-10-23 06:34:50 -07:00
Daniel Marjamäki c6702db9ab Code cleanups 2013-10-23 15:03:31 +02:00
XhmikosR c11ee0a1ed Remove unused variables. 2013-10-23 09:19:23 +03:00
XhmikosR 93bdf45313 Fix typo in error message. 2013-10-23 09:05:39 +03:00
XhmikosR 549e464dcf Run lupdate. 2013-10-23 09:05:39 +03:00
Daniel Marjamäki 364757e1e1 Fixed #5089 ('inconclusive' output printed although --inconclusive not specified) 2013-10-23 06:42:52 +02:00
Matthias Krüger ab3f866911 htmlreport: allow content to be wider and reduce height of menu box. If we need STILL more width for the content box, the scroll bar is added as fallback anyway. 2013-10-22 20:30:46 +02:00
Matthias Krüger df88acb04d htmlreport: fix page border, seperation border at right side of linenumbers. 2013-10-22 20:30:46 +02:00
Matthias Krüger ca2e5e3fff htmlreport: change grey-tone of the code-line numbers, set page-width to auto and adjust margin. 2013-10-22 20:30:46 +02:00
Matthias Krüger 7fa5435d54 htmlreport: use "overflow: auto" in body. This prevents the <pre> text from overlapping the "page" class. Instead a scrollbar is displayed at the bottom of the element. 2013-10-22 20:30:46 +02:00
Matthias Krüger 4f1fdce09e htmlreport: give warnig boxes ("HTML_ERROR") smaller frame and padding so they don't overlap each other if there is another one in next line.
borderwith: 2px -> 1px
padding:    3px -> 1px
2013-10-22 20:30:46 +02:00
Daniel Marjamäki d1b03d9c31 Fixed false positive for 'object is destroyed immediately' when there is no code after the object 2013-10-22 19:37:11 +02:00
Daniel Marjamäki a55056c770 Fixed #5105 (false positive: (warning) Either the condition 'b!=0' is useless or there is division by zero) 2013-10-22 16:18:42 +02:00
Daniel Marjamäki fd0f2d7900 Fixed #4929 (False positive: possible null pointer deref (checks dont handle && and || well)) 2013-10-22 10:47:48 +02:00
Daniel Marjamäki b15eeb0aa8 autopep8 formatting 2013-10-20 18:36:33 +02:00
Sam Truscott 6806fd8135 Extended Qt support through Library 2013-10-20 14:09:10 +02:00
Daniel Marjamäki fc26de89a9 Fixed #5082 (False positive: (error) Possible null pointer dereference: p2) 2013-10-20 13:37:36 +02:00
Daniel Marjamäki 47766736fc daca2: handle xz compression 2013-10-20 12:45:05 +02:00
Daniel Marjamäki f58b4b61e2 daca2: improved command line flags 2013-10-20 11:28:16 +02:00
Daniel Marjamäki 17f8edfada daca2: tried to improve getpackages to be more robust 2013-10-20 11:25:31 +02:00
Daniel Marjamäki 4debaa2b92 daca2: alloc passing rev to script 2013-10-20 10:49:54 +02:00
Elbert Pol c6a628249a GUI: Improved translation 2013-10-19 18:12:10 +02:00
Daniel Marjamäki 5d7e0aebf4 Fixed #5084 (False positive: (style) Same expression on both sides of '&&') 2013-10-19 18:04:53 +02:00
Daniel Marjamäki 6aa03efa2f Fixed #5103 (Don't show 'The scope of the variable can be reduced' if there is no explicit block with { }) 2013-10-19 17:27:02 +02:00
Daniel Marjamäki 7f9f624215 daca2: more reliable ftp 2013-10-19 13:46:15 +02:00
Daniel Marjamäki c9491f952b daca2: skip flite, quick fix of possible hang 2013-10-19 09:53:23 +02:00
Daniel Marjamäki e3a12de057 astyle formatting 2013-10-19 09:52:19 +02:00
XhmikosR 0dba668661 daca2-report.py: use a doctype. 2013-10-18 17:37:03 +02:00