[mythtv-commits] mythtv branch master updated by jyavenard. v0.27-pre2-1732-g86bd971

Git Repo Owner noreply at mythtv.org
Tue Jul 9 01:07:59 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  86bd971a4e630b7c38659bde76274d801cb5607e (commit)
       via  410089001978b58140bc10c8715321e412fbcc1d (commit)
       via  29fae07fed30031976aa268ac9886360e1f00b47 (commit)
      from  2e7840b1dcf30222ff2817ebaa3ae089ba785ca1 (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 86bd971a4e630b7c38659bde76274d801cb5607e
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 9 Jul 2013 10:58:21 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 9 Jul 2013 11:07:11 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=86bd971a4e630b7c38659bde76274d801cb5607e

Fix crash when called from non-GUI application (like mythutil)
mythcorecontext destructor calls GetNotificationCenter() ; which would have created the MainWindow



commit 410089001978b58140bc10c8715321e412fbcc1d
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 9 Jul 2013 01:55:46 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 9 Jul 2013 11:07:11 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=410089001978b58140bc10c8715321e412fbcc1d

Make Notification Center part of MythMainWindow
The notification center is only ever usable once MythMainWindow has been created and initialised. So to simplify the logic, make it a member of MythMainWindow

This fix a crash where the main window isn't initialized and the frontend exits early (like when the themes directory is missing)



commit 29fae07fed30031976aa268ac9886360e1f00b47
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Mon, 8 Jul 2013 23:13:27 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 9 Jul 2013 11:07:11 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=29fae07fed30031976aa268ac9886360e1f00b47

Fix deadlock
If for whatever reason the BonjourRegister instance was deleted before the callback getting called ; the lock would have never been released.
The would cause the frontend failing to start following an early error to hang



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmyth/mythcontext.cpp                |   60 +++++++++++--------
 mythtv/libs/libmythbase/bonjourregister.cpp        |   11 +++-
 mythtv/libs/libmythbase/bonjourregister.h          |    1 +
 mythtv/libs/libmythui/mythmainwindow.cpp           |   23 ++++++-
 mythtv/libs/libmythui/mythmainwindow.h             |    5 +-
 mythtv/libs/libmythui/mythuinotificationcenter.cpp |   37 +-----------
 mythtv/libs/libmythui/mythuinotificationcenter.h   |    4 -
 7 files changed, 71 insertions(+), 70 deletions(-)

-- 



More information about the mythtv-commits mailing list