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
XhmikosR
a42177c2e5
Update cppcheck-htmlreport.
...
* remove unneeded classes
* remove non-existent background images
* tweak properties
* use the proper capitalization for "Cppcheck" and "HTML"
2013-10-13 11:03:42 +03:00
XhmikosR
1b7b3102ef
cppcheck-htmlreport: PEP8 fixes.
2013-10-12 12:04:25 +03:00
Steven Myint
18402bf673
Fix Travis tests
...
This fixes a bug introduced in #180 .
2013-10-11 23:43:07 -07:00
Steven Myint
e183a826c5
Fix typo in getting line number
...
The closing parenthesis was in the wrong place resulting in the default
value not getting set. This adds a test case.
2013-10-07 06:38:49 -07:00
Steven Myint
6ad30a1c69
Handle "--xml-version=2"
...
This also adds "test_htmlreport.py" to the Travis CI tests.
2013-10-06 13:34:48 -07:00
PKEuS
53adafb1f2
Fixed htmlreport ( #5068 )
2013-10-05 12:20:25 +02:00
XhmikosR
ae73466f97
Python scripts: PEP8 fixes
2013-03-03 09:59:16 +01:00
XhmikosR
fd10110404
htmlreport/cppcheck-htmlreport: simplify css
2012-12-23 18:20:04 +01:00
XhmikosR
9b5c245899
tabs to spaces, remove trailing spaces and extra empty lines at the end of files
2012-09-29 13:49:16 +02:00
myint
91199bbd6d
Highlight errors to make them obvious
2012-09-15 13:41:56 -07:00
myint
8cd0b44ef0
Add Python 3 compatibility
...
Maintain backward compatibility with Python 2.6 and 2.7.
2012-09-07 09:44:46 -07:00
Daniel Marjamäki
c1c4ffd700
Fixed #3057 (cppcheck-htmlreport fails since 1.50)
2011-08-30 20:30:52 +02:00
Stefan Weil
cc41da1dc4
html report: better handling of non ASCII characters in C source code
2011-04-16 11:22:44 +02:00
Henrik Nilsson
628f4ad6e7
cppcheck-htmlreport now takes a parameter for source code encoding to support non ascii characters.
...
Also present a nicer error message if highlighting fail for a file.
2010-01-14 09:47:38 +01:00
Henrik Nilsson
f6c24f9070
cppcheck-htmlreport now takes a --title parameter that will be displayed on top of every page.
2010-01-13 14:11:54 +01:00
Henrik Nilsson
c4775b7ee4
Added !DOCTYPE declaration for html generated by the cppcheck-htmlreport tool.
2010-01-13 14:01:45 +01:00
Henrik Nilsson
5240e1a8bf
cppcheck-htmlreport now annotates the highlighted source code with the cppcheck error message.
2010-01-12 21:35:54 +01:00
Henrik Nilsson
e85cfd8041
Fixed some markup errors in generated html from the cppcheck-htmlreport script.
2010-01-12 20:34:55 +01:00
Henrik Nilsson
c83f446412
cppcheck doesn't always report a filename for an error.
...
Added some error checking so this tool doesn't crash.
2009-12-15 13:28:26 +01:00
Henrik Nilsson
89b2118622
index.html page is now complete with a list of files and all errors found.
...
Other changes:
* added a stylesheet and made the html design much better.
* contains links directly to the line in the source file.
2009-12-11 12:39:39 +01:00
Henrik Nilsson
b107617d46
Added a python script that takes the cppcheck output xml file
...
and generates a html report of it. The html report is complete
with syntax highlighted source code using the pygments module.
This initial commit contains generation of html files but the
actual errors is missing from the html content and the index.html file.
2009-12-08 15:09:21 -05:00