[mythtv-commits] mythtv commit: r26166 - in trunk by beirdo

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Sep 8 05:25:01 UTC 2010


      Author: beirdo
        Date: 2010-09-08 05:25:01 +0000 (Wed, 08 Sep 2010)
New Revision: 26166
   Changeset: http://svn.mythtv.org/trac/changeset/26166

Log:

This rather large commit removes the unintentional circular dependency we 
managed to make when moving myth_system to libmythdb in [24623].

Replace the calls to the lirc and joystick menu locks with events to the
main window.  This collapses the flags to myth_system some, which touches a
lot of consumers to use the new flags.  Changed the flags to an enum (at the 
suggestion of cpinkham).

Also removes the classes and events used to do those locks as they are no
longer used anywhere.

Finally, make the blocked threads timeout so they can processEvents every 100ms,
then reblock.  This allows the LIRC presses, etc during that time to get
ignored properly and in a relatively timely manner.

Fixes #8863



Modified:

   trunk/mythplugins/mythbrowser/mythbrowser/bookmarkmanager.cpp
   trunk/mythplugins/mythnetvision/mythnetvision/netsearch.cpp
   trunk/mythplugins/mythnetvision/mythnetvision/nettree.cpp
   trunk/mythplugins/mythnews/mythnews/mythnews.cpp
   trunk/mythplugins/mythvideo/mythvideo/videodlg.cpp
   trunk/mythtv/libs/libmyth/dbutil.cpp
   trunk/mythtv/libs/libmyth/mythmedia.cpp
   trunk/mythtv/libs/libmyth/util.cpp
   trunk/mythtv/libs/libmythdb/libmythdb.pro
   trunk/mythtv/libs/libmythdb/mythcorecontext.cpp
   trunk/mythtv/libs/libmythdb/mythevent.cpp
   trunk/mythtv/libs/libmythdb/mythevent.h
   trunk/mythtv/libs/libmythdb/mythsystem.cpp
   trunk/mythtv/libs/libmythdb/mythsystem.h
   trunk/mythtv/libs/libmythtv/channelbase.cpp
   trunk/mythtv/libs/libmythtv/mythsystemevent.cpp
   trunk/mythtv/libs/libmythtv/previewgenerator.cpp
   trunk/mythtv/libs/libmythui/jsmenuevent.cpp
   trunk/mythtv/libs/libmythui/jsmenuevent.h
   trunk/mythtv/libs/libmythui/libmythui.pro
   trunk/mythtv/libs/libmythui/lirc.cpp
   trunk/mythtv/libs/libmythui/lircevent.cpp
   trunk/mythtv/libs/libmythui/lircevent.h
   trunk/mythtv/libs/libmythui/mythmainwindow.cpp
   trunk/mythtv/libs/libmythui/mythmainwindow.h
   trunk/mythtv/libs/libmythui/screensaver-x11.cpp
   trunk/mythtv/programs/mythbackend/housekeeper.cpp




More information about the mythtv-commits mailing list