Commit Graph

10 Commits

Author SHA1 Message Date
Adam Waldenberg 369290fc25 Extended the HTML header with some initial CSS.
The pie-chart plugin script was also added to the head of the document.
2012-11-17 00:33:47 +01:00
Adam Waldenberg e833ac1c9b Fixed some violations reported by pylint. 2012-11-13 12:18:30 +01:00
Adam Waldenberg 527d47ecae gitinspector can now be executed from another directory again.
This was broken when the loading of external resources for the HTML output
was added.

This fix should also improve compatibility with py2exe.
2012-11-13 11:27:56 +01:00
Adam Waldenberg 6ee7ad71ab The scripts from the flot archive are now included in the HTML output.
The gitinspector piclet was also added to the generated HTML.
2012-11-13 00:49:26 +01:00
Adam Waldenberg 6625651366 HTML header and footer is now properly outputted. 2012-11-03 02:13:53 +01:00
Adam Waldenberg e4a1b6ea15 The blame module now only shows progress in text format output. 2012-10-19 02:00:34 +02:00
Adam Waldenberg a557ff9944 Implemented output_header/footer() in the format module.
This enables us to fetch XML output from multiple sources in-between the
footer and header. These functions are called at the beginning and end
when gitinspector runs.
2012-10-18 16:59:52 +02:00
Adam Waldenberg d9c94b53d6 Fixed the packing and unpacking of parameters in the format module.
Forgot to specify the '*' operator when passing the parameters to the
callback functions; something which resulted in a dictionary being sent
into the callback functions. Obviously, this is not what we want.
2012-10-18 16:56:46 +02:00
Adam Waldenberg fb0b29c6c5 The format module now supports function callbacks for different formats.
There is now a call_output_function() which automatically decides which
function (of any three supplied ones) should be called.
2012-10-18 15:32:55 +02:00
Adam Waldenberg ac5c5ddb31 Added format module with initial support for different formats.
Currently this does nothing but will later enable us to output xml and
html alongside the current support for text output.
2012-10-12 12:52:35 +02:00