Permalink
Commits on Jul 29, 2012
  1. Restore setup pincode following [57adc5d] - 'Flatten the Setup Menus …

    stuartm committed Jul 29, 2012
    …in the default menu theme' which dropped util_menu.xml but failed to carry over the <password> markup.
    
    (cherry picked from commit 134417fe3bf7170f3419d2388a6c26afe16c4927)
Commits on Jul 24, 2012
  1. Subtitles: Put a "DEPRECATED_608_TELETEXT" message into the logs.

    stichnot committed Jul 24, 2012
    Support for CEA-608 teletext captions is to be removed.  Allow users
    to check whether they would be affected.  Refs #10786.
    (cherry picked from commit 7b1aef8)
  2. Set m_cdWatcher to NULL after deletion, fixes segfault on exiting fro…

    stuartm committed Jul 24, 2012
    …ntend. Fixes #10936
    
    (cherry picked from commit de851dd)
  3. Fix segfault after music scan completes.

    stuartm committed Jul 22, 2012
    (cherry picked from commit b2379ae)
Commits on Jul 22, 2012
  1. Fix for Synaesthesia memory corruption

    stuartm committed Jul 21, 2012
    We were allocating just half the required space and consequently
    writing beyond the end of the array. This consistently caused
    segfaults for me when using the Synaesthesia visualiser.
    
    This fix appears to be consistent with the code used in other projects
    which were also derived from the original Synaesthia project.
    
    e.g. GStreamer/Source/gst-plugins-ugly/gst/synaesthesia/synaescope.c
    (cherry picked from commit e331017)
Commits on Jul 18, 2012
  1. Make AllowLinkLocal default to true

    jyavenard committed Jul 18, 2012
    Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
  2. Correct bad copy/paste in ServerPool.

    wagnerrp committed with jyavenard Jul 18, 2012
    Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
  3. Rework IP selection so link-local is always used.

    wagnerrp committed with jyavenard Jul 14, 2012
    This adds an option to mythtv-setup that makes link-local addresses
    listened to by default.  This behavior can still be disabled, to block
    off network access.
    
    Signed-off-by: Jean-Yves Avenard <jyavenard@mythtv.org>
Commits on Jul 16, 2012
  1. Setting VERSION to v0.25.2

    stuartm committed Jul 16, 2012
  2. Fix a stupid typo in last commit.

    stuartm committed Jul 13, 2012
    (cherry picked from commit b7f7d52)
  3. Fix a segfault in mythweather when search for location

    stuartm committed Jul 13, 2012
    If a script returned invalid data we would segfault because no bounds
    checking was performed.
    
    While here I refactored the loops immediately around the problem to
    use proper iterators for speed and simplicity.
    (cherry picked from commit f5d1986)
  4. Properly format all data items, including those from the 18hr forecast

    stuartm committed Jul 15, 2012
    (cherry picked from commit ba12736)
  5. If a grabber cannot return a value for a data field then allow the th…

    stuartm committed Jul 15, 2012
    …emer to hide it or chose what value to display instead of 'N/A'
    
    (cherry picked from commit d273cd7)
  6. Allow all weather screens to be deleted

    stuartm committed Jul 16, 2012
    This resolves an issue where it was impossible to delete all screens. This
    was especially problematic when those screens were attached to
    grabbers which no longer existed.
    (cherry picked from commit 3f108e7)
Commits on Jul 13, 2012
  1. Fix backend webserver when html dir path contains a link.

    cpinkham committed Jul 13, 2012
    Use canonicalPath() consistently in the directory path checking.
    This fixes an issue where the backend webserver would not serve
    up static content if the html directory was in a path which
    contained one or more links.
    (cherry picked from commit 381c2eb)
  2. More scheduler/recorder deadlock avoidance.

    gigem committed Jul 13, 2012
    RecordPending() can block so it needs to have schedLock released
    around calls to it too.
    
    (cherry picked from commit 6cb14ee)
Commits on Jul 12, 2012
  1. Squelch an inuseprograms DB warning during HLS transcode.

    cpinkham committed Jul 12, 2012
    If the file's hostname isn't known when we go to insert into
    inuseprograms, use our own hostname for the rechost column.
    
    References #10520.  Carries over e7a6d7e from master.
  2. Fix HLS transcoding after 199342e.

    cpinkham committed Jul 12, 2012
    Add a missing + in a += when setting the timecode being saved
    in the audio reencode buffer.
Commits on Jul 11, 2012
  1. Remove MythGame's MAWS grabber.

    nriendeau committed Jul 11, 2012
    Remove MythGame's MAWS grabber since this metadata source has been
    dead for some time and the possibility of it ever coming back
    appear to be slim and the possibily of it using the same API are
    nonexistent.
Commits on Jul 10, 2012
  1. Hopefully remove more scheduler/recorder deadlocks.

    gigem committed Jul 6, 2012
    Change the scheduler to unlock schedLock when calling the recorder
    synchronously.  If the recorder happens to be calling the scheduler at
    the same time, this allows the recorder's call to grab the lock as
    needed.
    
    Refs #10647, #10770 and #10771 .
    (cherry picked from commit ca27332)
    
    Conflicts:
    	mythtv/programs/mythbackend/scheduler.cpp
  2. Fix 0ms sleep time calculation in scheduler.

    gigem committed Jul 10, 2012
    Don't check the pending list for programs that won't record.  They'll
    never be there and don't need the 30 second padding.
    
    Fixes #10279 .
    (cherry picked from commit 8881796)
Commits on Jul 8, 2012
  1. Internet Content: Fix TED Talks RSS

    natanojl committed Jul 8, 2012
    Fixes #10570
    (cherry picked from commit 24c688e)
Commits on Jul 5, 2012
  1. Allow visualizations to be turned on during playback.

    stichnot committed Jun 22, 2012
    In particular, allow the Audio>Visualizations submenu to appear in the
    Playback OSD menu.
    (cherry picked from commit 85e3a38)
Commits on Jul 4, 2012
  1. Fix a bug resulting in multiple copies of the same track being insert…

    stuartm committed Jul 4, 2012
    …ed into the database
  2. Protect the reschedule queue with a seperate lock to fix a backend de…

    stuartm committed Jul 4, 2012
    …adlock.
    
     Fixes a deadlock in mythbackend caused when a reschedule request occurs
     immedately prior to a recording starting.
    
     The recorder thread locks the scheduler when starting a recording. The pending
     reschedule request handled in the event loop waits for the scheduler lock to be
     released blocking the event loop. The backend is now stopped from handling any
     further events or protocol requests, meanwhile the recorder is waiting on
     events to be processed before it will release the lock resulting in an
     irrecoverable deadlock (or hang) and the failure of the recording.
    
     This deadlock was more likely to be triggered for users of EIT because it will
     ask for a reschedule every 5 minutes in addition to any reschedules triggered
     through other means.
    
     Refs #10771
  3. Revert "Protect the reschedule queue with a seperate lock to fix a ba…

    stuartm committed Jul 4, 2012
    …ckend deadlock."
    
    This reverts commit 5eb9779.
    
    While this seems to work well in master, it appears to make the
    situation worse in 0.25 and I really don't have the time to figure out
    why. Anyone experiencing the pre-existing deadlock will need to
    upgrade to 0.26 when it's released. Refs #10771
  4. Reworked all of the NOAA/NWS Weather Scripts

    Beirdo committed Jul 4, 2012
    Seems weather.gov has moved the urls for nearly all their data services.  On
    top of that, the SOAP response is gzip encoded by default, and SOAP::Lite is
    stupid and can't handle it.  Also, we were missing the Units parameter which
    is now required.
    
    Fixes #10821
    (cherry picked from commit b8a78ae)
Commits on Jul 2, 2012
Commits on Jun 29, 2012
  1. Fix incorrect cast causing loss of integer precision in RingBuffer

    stuartm committed Jun 29, 2012
    (cherry picked from commit 7aea313)
  2. Protect the reschedule queue with a seperate lock to fix a backend de…

    stuartm committed Jun 29, 2012
    …adlock.
    
    Fixes a deadlock in mythbackend caused when a reschedule request occurs
    immedately prior to a recording starting.
    
    The recorder thread locks the scheduler when starting a recording. The pending
    reschedule request handled in the event loop waits for the scheduler lock to be
    released blocking the event loop. The backend is now stopped from handling any
    further events or protocol requests, meanwhile the recorder is waiting on
    events to be processed before it will release the lock resulting in an
    irrecoverable deadlock (or hang) and the failure of the recording.
    
    This deadlock was more likely to be triggered for users of EIT because it will
    ask for a reschedule every 5 minutes in addition to any reschedules triggered
    through other means.
    
    Refs #10771
    
    Backported from master 788bc51
Commits on Jun 27, 2012
  1. Don't create a watch list for the "Deleted" recording group.

    gigem committed Jun 27, 2012
    Fixes #10854.
    
    (cherry picked from commit 22ed71e)
  2. Clean up deferred deletes MThreadPool.

    daniel-kristjansson committed Jun 26, 2012
    In case someone uses QObject::deleteLater() within a QRunnable
    passed to MThreadPool, this adds a cleanup of those when done
    with the QRunnable.
Commits on Jun 25, 2012
  1. Move QUERY_FILETRANSFER handling to improve backend performance.

    stuartm committed Jun 25, 2012
    This significantly reduces the backend CPU usage for me when streaming a
    recording or other file to the frontend.
    
    Each time we send a command to the backend we perform a number of string
    comparisons to find the correct handler. In the cases where that same command
    is sent regularly, maybe several times a second those comparisons can stack up
    to result in a high CPU load. This can be avoided by moving the most frequently
    used commands to the top of the list thereby avoiding a couple of dozen or more
    comparisons each time.
    
    There may be other commands that should be moved to the top with similar
    benefit.
    (cherry picked from commit 529853d)