[mythtv-firehose] mythtv branch master updated by jpoet. v29-pre-280-ge763d53

Git Repo Owner noreply at mythtv.org
Wed Jan 25 03:31:57 UTC 2017

The branch, master has been updated on the
mythtv repository by gitolite user jpoet.
       via  e763d53b0b1cb9e48bb31b4ddaaf7afdf036a5a3 (commit)
       via  d82629a4dfe6d8b2baa86aa7e71b34e76638f536 (commit)
      from  d1f336c61f17df5548abf3d729ef63ceb4a24a3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e763d53b0b1cb9e48bb31b4ddaaf7afdf036a5a3
Author:    John Poet <jpoet at mythtv.org> at Tue, 24 Jan 2017 18:22:05 -0700
Committer: John Poet <jpoet at mythtv.org> at Tue, 24 Jan 2017 20:31:43 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e763d53b0b1cb9e48bb31b4ddaaf7afdf036a5a3

debug theme depen

commit d82629a4dfe6d8b2baa86aa7e71b34e76638f536
Author:    John Poet <jpoet at mythtv.org> at Sat, 21 Jan 2017 16:42:28 -0700
Committer: John Poet <jpoet at mythtv.org> at Tue, 24 Jan 2017 20:31:43 -0700
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=d82629a4dfe6d8b2baa86aa7e71b34e76638f536

Allow multiple element names with different dependancies.
MythUI only allows one element with a given "name", so allow a themer to
specify names with an extension to make them unique:  Anthing after (and
including) a '+' will be ignored when matching the name.  For example:

<textarea name="description+sub" depends="subtitle">


<textarea name="description+notsub" depends="!subtitle">

results in the appropriate definition for "description" to be used depending
on if the "subtitle" element is available.

I thought about making the "+dependancies" naming automatic, but if the
themer is using inheritance, they may find the result unexpected.

This currently only works with textareas.  It would be quite a bit more work
to make it work with other types, and I have not been able to think of any


Summary of changes:
 mythtv/libs/libmythui/mythuibuttonlist.cpp      |   74 +++++++++++++----------
 mythtv/libs/libmythui/mythuitext.cpp            |   18 ++++--
 mythtv/libs/libmythui/mythuitype.cpp            |   12 ++++
 mythtv/libs/libmythui/mythuitype.h              |    3 +
 mythtv/libs/libmythui/xmlparsebase.cpp          |   14 ++++-
 mythtv/themes/MythCenter-wide/recordings-ui.xml |   16 ++++-
 6 files changed, 94 insertions(+), 43 deletions(-)


More information about the mythtv-firehose mailing list