[mythtv] noob to MythTV development

Karl Dietz dekarl at spaetfruehstuecken.org
Thu Mar 16 02:54:08 UTC 2017


On 11.03.2017 15:49, Dave Mansfield wrote:
> With regards to development:  I've been looking at the web pages and
> have not seen info on coding templates for Eclipse.  Has anyone who uses
> Eclipse setup code templates?  If so, can I get an exported copy of the
> templates?  (Spaces vs. tabs is an ironclad rule with me, too!)

I've not seen actual coding templates,
but "spaces vs tabs" is documented :)

We have that written down at
https://www.mythtv.org/wiki/Coding_Standards

There is a configuration for astyle, but I just started to try that one.
https://github.com/MythTV/extras/blob/master/configs/mythtv_astyle.cfg

I expect there to be lots of code in our code base that does not conform
to our style. Please keep style changes in separate commits from the
actual code changes. That makes it easier to understand the actual
changes when reviewing or hunting bugs in the years to come.

We are slowly going trough warnings from cppcheck and the compilers to
make it easier for people to work with our code.
Ripping out dead code, old QT3/4 stuff, frame grabber grabber support
and other things from times that have long gone.

Regards,
Karl


More information about the mythtv-dev mailing list