* Fixed a bug in rdlogmanager(1) that caused the Chain-To event
to be dropped when linking music events in bypass grid mode.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added code to 'RDSvc::create()' to include the
'SERVICES.BYPASS_MODE', 'SERVICES.MUS_TRANS_TYPE_OFFSET',
'SERVICES.MUS_TRANS_TYPE_LENGTH', 'SERVICES.MUS_TIME_TYPE_OFFSET'
and 'SERVICES.MUS_TIME_TYPE_LENGTH' fields when cloning a new
Service entry.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
Added a 'RDEventLine::loadBypass()' method.
* Implemented log generation and importation for bypass grid
processing in rdlogmanager(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.BYPASS_MODE' field to the database.
* Added a 'SERVICES.MUS_TRANS_TYPE_OFFSET' field to the database.
* Added a 'SERVICES.MUS_TRANS_TYPE_LENGTH' field to the database.
* Added a 'SERVICES.MUS_TIME_TYPE_OFFSET' field to the database.
* Added a 'SERVICES.MUS_TIME_TYPE_LENGTH' field to the database.
* Added a 'IMPORT_TEMPLATES.TRANS_TYPE_OFFSET' field to the database.
* Added a 'IMPORT_TEMPLATES.TRANS_TYPE_LENGTH' field to the database.
* Added a 'IMPORT_TEMPLATES.TIME_TYPE_OFFSET' field to the database.
* Added a 'IMPORT_TEMPLATES.TIME_TYPE_LENGTH' field to the database.
* Added a 'IMPORTER_LINES.TRANS_TYPE' field to the database.
* Added a 'IMPORTER_LINES.TIME_TYPE' field to the database.
* Added a 'IMPORTER_LINES.GRACE_TIME' field to the database.
* Incremented the database schema to 363.
* Added a 'Bypass Grid Processing' dropdown to the 'Edit Service'
dialog in rdadmin(1).
* Added 'Transition Type' and 'Time Type' parameters to the music
import parameters in the 'Edit Service' dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Reverted the following changes:
2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1) that caused events from
previously viewed logs to be prepended to subsequent logs viewed
during the same session.
2022-03-09 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'RDAddLog' dialog to allow for instance reuse.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.INCLUDE_MUS_IMPORT_MARKERS' field to the database.
* Added a 'SERVICES.INCLUDE_TFC_IMPORT_MARKERS' field to the database.
* Added a 'LOGS.INCLUDE_MUS_IMPORT_MARKERS' field to the database.
* Added a 'LOGS.INCLUDE_TFC_IMPORT_MARKERS' field to the database.
* Incremented the database version to 354.
* Replaced the 'Include Import Marker in Finished Logs' checkbox
with 'Include Music Import Markers in Finished Logs' and
'Include Traffic Import Markers in Finished Logs' checkboxes in
the 'Edit Service' dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
Fix typos in lib/rdsvc.cpp that threw SQL errors.
Fix typos in rdlibrary/list_reports.cpp that threw SQL errors.
Fix typos in utils/rdclilogedit/operations.cpp that threw SQL errors.
Fix typos in utils/rddbmgr/updateschema.cpp that threw SQL errors.
Signed-off-by: David Klann <dklann@broadcasttool.com>
* Escaped all SQL identifiers in 'lib/'.
* Replaced " with ' delimiters in all SQL literal strings in 'lib/'.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogmanager(1) that caused incorrect
operation of the progress dialog during log generation.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDClockModel' model.
* Refactored the 'Edit Clock' dialog in rdlogmanager(1) to use
the model base API.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that, after detection of a
linker error, caused subsequent linker errors to fail to be
appended to the error report.
* Fixed a bug in rdlogmanager(1) that caused second and subsequent
inline Track Markers or Markers within an Event to fail to be
inserted Relative Position mode.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::setProcessEnvironment()' method.
* Fixed a bug in 'RDSvc::create()' that failed to propagate
the 'SERVICES.SUB_EVENT_INHERITANCE', 'SERVICES.TFC_PREIMPORT_CMD',
'SERVICES.TFC_LABEL_CART', 'SERVICES.TFC_TRACK_CART',
'SERVICES.TFC_BREAK_STRING', 'SERVICES.TFC_TRACK_STRING',
'SERVICES.MUS_PREIMPORT_CMD, 'SERVICES.MUS_LABEL_CART',
'SERVICES.MUS_TRACK_CART', 'SERVICES.MUS_BREAK_STRING',
'SERVICES.MUS_TRACK_STRING', 'SERVICES.PROGRAM_CODE' and
'SERVICES.DESCRIPTION' fields when using an exemplar.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDProcess::setProcessEnvironment()' method.
* Fixed a bug in 'RDSvc::create()' that failed to propagate
the 'SERVICES.SUB_EVENT_INHERITANCE', 'SERVICES.TFC_PREIMPORT_CMD',
'SERVICES.TFC_LABEL_CART', 'SERVICES.TFC_TRACK_CART',
'SERVICES.TFC_BREAK_STRING', 'SERVICES.TFC_TRACK_STRING',
'SERVICES.MUS_PREIMPORT_CMD, 'SERVICES.MUS_LABEL_CART',
'SERVICES.MUS_TRACK_CART', 'SERVICES.MUS_BREAK_STRING',
'SERVICES.MUS_TRACK_STRING', 'SERVICES.PROGRAM_CODE' and
'SERVICES.DESCRIPTION' fields when using an exemplar.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added generation of an 'RDLogManager Error Report' when errors
are detected when importing voice track markers from an external
scheduler file in rdlogmanager(1).
* Restored operation of Label/Note carts in rdlogmanager(1).
* Fixed a bug in rdlogmanager(1) that caused inline events
without explicit start time/length data to fail to be placed.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Defined a set of standard exit code defines starting with
'RD_EXIT_' in 'lib/rd.h'.
* Regularized the exit codes returned by rdlogmanager(1).
* Cleaned up error handling when using rdlogmanager(1) in
command line mode.
* Fixed a bug in rdlogmanager(1) that could leave a log lock
asserted after exiting when handling schedule import errors.
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES.FILE_LINE' field to the database.
* Added an 'IMPORTER_LINES.LINK_START_TIME' field to the database.
* Added an 'IMPORTER_LINES.LINK_LENGTH' field to the database.
* Incremented the database version to 341.
* Reimplemented the 'RDSvc::linkLog()' and 'RDEventLine::linkLog()'
methods to use the updated 'IMPORTER_LINES' table schema.
* Added generation of an 'RDLogManager Error Report' when errors
are detected when importing an external scheduler file in
rdlogmanager(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added an 'IMPORTER_LINES.TYPE' field to the database.
* Removed the 'not null' attribute from the
'IMPORTER_LINES.START_HOUR' field in the database.
* Removed the 'not null' attribute from the
'IMPORTER_LINES.START_SECS' field in the database.
* Removed the 'IMPORTER_LINES.LINK_LENGTH' field from the database.
* Removed the 'IMPORTER_LINES.INSERT_TRACK' field from the database.
* Removed the 'IMPORTER_LINES.INSERT_FIRST' field from the database.
* Removed the 'IMPORTER_LINES.TRACK_STRING' field from the database.
* Removed the 'IMPORTER_LINES.LINK_START_TIME' field from the database.
* Removed the 'IMPORTER_LINES.LINK_LENGTH' field from the database.
* Incremented the database version to 340.
* Added type icons to the 'Imported Events' list in the 'Test Import'
dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'SERVICES.SUB_EVENT_INHERITANCE' field to the
database.
* Incremented the database version to 339.
* Added 'RDSvc::subEventInheritance()' and
'RDSvc::setSubEventInheritance()' methods.
* Added an 'Inline Traffic Inheritance' control to the 'Edit Service'
dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a check in 'RDSvc::create()' to disallow creation of a
service with a name containing whitespace.
* Added whitespace to the set of banned characters for service names
in the 'Add Service' dialog in rdadmin(1).
Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_SCHED_CODES' table to the database.
* Dropped the 'STACK_LINES.SCHED_CODES' field from the database.
* Incremented the database version to 308.
* Renamed the 'SchedCartList' class to 'RDSchedCartList' and
refactored it to be idiomatic Qt.
* Renamed the 'SchedRulesList' class to 'RDSchedRulesList'.
* Added a 'SERVICES.INCLUDE_IMPORT_MARKERS' field to the database.
* Added a 'LOGS.INCLUDE_IMPORT_MARKERS' field to the database.
* Incremented the database version to 301.
* Added an 'Inlcude Import Markers in Finished Logs' checkbox to
the 'Edit Service' dialog in rdadmin(1).
* Removed the 'SERVICES.MUS_WIN_PATH', 'SERVICES.MUS_WIN_PREIMPORT_CMD'
'SERVICES.TFC_WIN_PATH', and 'SERVICES.TFC_WIN_PREIMPORT_CMD' fields
from the database.
* Incremented the database version to 300.
* Removed the 'RDSvc::ImportOs' enumeration.
* Removed the 'Windows Import Path' and 'Windows Preimport Command'
fields from the 'Edit Service' dialog in rdadmin(1).
* Added an 'IMPORTER_LINES' table to the database.
* Incremented the database version to 295.
* Refactored the log importer code to use the static 'IMPORTER_LINES'
table.
* Fixed a bug in rdadmin(1) that caused 'Length' parameters in
custom log import settings to fail to be copied correctly when
cloning a new service.
* Dropped the 'SERVICES.TFC_LENGTH_OFFSET' field from the database.
* Dropped the 'SERVICES.TFC_LENGTH_LENGTH' field from the database.
* Dropped the 'SERVICES.MUS_LENGTH_OFFSET' field from the database.
* Dropped the 'SERVICES.MUS_LENGTH_LENGTH' field from the database.
* Incremented the database version to 286.
* Removed drop of the 'RECORDINGS.SAMPRATE' field from schema
change 285.
* Cleaned up SQL calls in rdcatchd(8).
* Cleaned up SQL calls in 'RDStation'.
* Cleaned up SQL calls in 'RDLibraryConf'.
* Cleaned up SQL calls in 'RDLogeditConf'.
* Cleaned up SQL calls in 'RDLogLine'.
* Cleaned up SQL calls in 'RDSvc'.
* Cleaned up SQL calls in rivendell_filter(1).
* Fixed a bug that caused the 'SERVICES.TRACK_GROUP',
'SERVICES./AUTOSPOT_GROUP', 'SERVICES.DEFAULT_LOG_SHELFLIFE',
'SERVICES.LOG_SHELFLIFE_ORIGIN', 'SERVICES.TFC_IMPORT_TEMPLATE' and
'SERVICE.MUS_IMPORT_TEMPLATE field values to fail to be cloned from
the exemplar when creating a new Service.
* Added a 'SERVICES.LOG_SHELFLIFE_ORIGIN' field to the database.
* Incremented the database version to 275.
* Added a drop-down control to the 'Set Logs to auto-delete' control
to allow origin to be specified in the 'Edit Service' dialog in
rdadmin(1).
* Modified log linking to retain parent link events in linked logs.
* Fixed a bug where re-merging linked logs would generate an
'Event not placed' exception for avails that were previously
unpopulated.
* Modified log linking to retain parent link events in linked logs.
* Fixed a bug where re-merging linked logs would generate an
'Event not placed' exception for avails that were previously
unpopulated.