[mythtv-commits] mythtv commit: r22799 - in trunk/mythtv by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Nov 11 23:04:20 UTC 2009


      Author: danielk
        Date: 2009-11-11 23:04:20 +0000 (Wed, 11 Nov 2009)
New Revision: 22799
   Changeset: http://svn.mythtv.org/trac/changeset/22799

Added:

   trunk/mythtv/libs/libmythtv/programdetail.cpp
   trunk/mythtv/libs/libmythtv/programdetail.h

Modified:

   trunk/mythtv/libs/libmyth/programinfo.cpp
   trunk/mythtv/libs/libmyth/programinfo.h
   trunk/mythtv/libs/libmyth/programlist.cpp
   trunk/mythtv/libs/libmyth/programlist.h
   trunk/mythtv/libs/libmythdb/mythversion.h
   trunk/mythtv/libs/libmythtv/libmythtv.pro
   trunk/mythtv/libs/libmythtv/recordinginfo.h
   trunk/mythtv/libs/libmythtv/recordinglist.cpp
   trunk/mythtv/libs/libmythtv/recordinglist.h
   trunk/mythtv/libs/libmythtv/tv_play.cpp
   trunk/mythtv/libs/libmythtv/viewschdiff.cpp
   trunk/mythtv/programs/mythbackend/mainserver.cpp
   trunk/mythtv/programs/mythbackend/mythxml.cpp
   trunk/mythtv/programs/mythbackend/scheduler.cpp
   trunk/mythtv/programs/mythfrontend/guidegrid.cpp
   trunk/mythtv/programs/mythfrontend/playbackbox.cpp
   trunk/mythtv/programs/mythfrontend/progfind.cpp
   trunk/mythtv/programs/mythfrontend/progfind.h
   trunk/mythtv/programs/mythfrontend/proglist.cpp
   trunk/mythtv/programs/mythfrontend/programrecpriority.cpp
   trunk/mythtv/programs/mythfrontend/statusbox.cpp
   trunk/mythtv/programs/mythfrontend/viewscheduled.cpp
   trunk/mythtv/programs/mythshutdown/main.cpp
   trunk/mythtv/programs/mythwelcome/welcomedialog.cpp
   trunk/mythtv/programs/mythwelcome/welcomedialog.h

Log:

Fixes #6862. ProgramList/RecordingList refactor.

This eliminates a few hundred lines of of duplicated code. There had been some divergance in the code that initialized ProgramInfo lists despite the comments in the code on how to keep them in sync. This attempts to merge all of those but if anyone notices a missing flag or some such thing please open a ticket. This also eliminates some of the Q3PtrList compatibility methods, these were left in as part of the initial Qt4 port, but were not flagged as depreciated and so unfortunately were used in some new code. The ProgramDetail class has put into it's own header and cpp file so it can be moved back into to the appropriate library. Finally, the data structure has been changed from a doubly linked list to a deque for greater speed in most places where it is used. (Uncomment '#define PGLIST_USE_LINKED_LIST' if you want to time the linked list version in some algorithm.)




More information about the mythtv-commits mailing list