69 Commits

Author SHA1 Message Date
Fred Gleason
505360007a 2022-10-20 Fred Gleason <fredg@paravelsystems.com>
* 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>
2022-10-20 13:37:35 -04:00
Fred Gleason
41a3ff7c03 2022-10-18 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>
2022-10-18 15:21:27 -04:00
Fred Gleason
f37ef760cc 2022-10-18 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>
2022-10-18 13:49:44 -04:00
Fred Gleason
7c8fbeacb8 2022-10-14 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>
2022-10-14 18:45:38 -04:00
Fred Gleason
2fbc9681b4 2022-03-25 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>
2022-03-25 12:04:39 -04:00
Fred Gleason
3a41e13afd 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>
2022-03-09 15:42:55 -05:00
Fred Gleason
ac594cc68b 2021-09-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up deprecation warnings for 'QString::sprintf()'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-09-01 19:59:37 -04:00
Fred Gleason
e30fe2b0b7 2021-08-31 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>
2021-08-31 13:24:57 -04:00
Fred Gleason
338465531c 2021-08-13 Fred Gleason <fredg@paravelsystems.com>
* Replaced hard-coded date/time formats with standard formats in
	all reports and GUI modules.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-08-13 10:02:26 -04:00
Fred Gleason
4173eb3b95 2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in 'lib/rdsvc.cpp'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-06-01 12:45:50 -04:00
David Klann
288fb02fed Fix a typo in lib/rdcut.cpp that threw a SQL error.
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>
2021-05-09 21:29:45 -05:00
Fred Gleason
0fd02861f9 2021-04-17 Fred Gleason <fredg@paravelsystems.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>
2021-04-17 19:47:05 -04:00
Fred Gleason
ea8bf6674a 2021-02-25 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>
2021-02-25 17:31:41 -05:00
Fred Gleason
89a0d72439 2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-02-23 18:07:21 -05:00
Fred Gleason
da1d8f62fb 2021-02-10 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>
2021-02-10 15:49:42 -05:00
Fred Gleason
ca7ead3ea3 2020-12-27 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDLogEvent' class.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-27 17:20:58 -05:00
Fred Gleason
5f55a3438d 2020-11-15 Fred Gleason <fredg@paravelsystems.com>
* Added the name of the import file to schedule import failure
	reports.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-15 14:58:25 -05:00
Fred Gleason
b9e63c6e7c 2020-11-15 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>
2020-11-15 14:28:02 -05:00
Fred Gleason
622e2b670d 2020-11-14 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>
2020-11-15 11:33:57 -05:00
Fred Gleason
9cd09bacad 2020-11-14 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>
2020-11-14 21:18:38 -05:00
Fred Gleason
f6b4be8e29 2020-10-23 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>
2020-10-23 09:58:12 -04:00
Fred Gleason
998e0124f6 2020-10-09 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>
2020-10-09 13:48:44 -04:00
Fred Gleason
b9f84fca37 2020-10-08 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>
2020-10-08 20:08:57 -04:00
Fred Gleason
050ef6b500 2020-10-07 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>
2020-10-07 19:05:32 -04:00
Fred Gleason
2e60ea8f0b 2020-10-07 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>
2020-10-07 14:01:11 -04:00
Fred Gleason
d433e3c631 2020-08-10 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>
2020-08-10 13:17:27 -04:00
Patrick Linstruth
90a20c66ef Modified rdadmin(1) Edit Service dialog to display built-in traffic and music import template values.
Added "Copy To Custom" buttons to rdadmin(1) Edit Service dialog.
2020-04-07 15:10:53 -07:00
Fred Gleason
33fa0eaa5a 2019-07-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused a 'no default column
	value' SQL error when generating a log.
2019-07-30 18:58:23 -04:00
Fred Gleason
5589d3fc97 2019-04-23 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'.
2019-04-23 18:30:30 -04:00
Fred Gleason
528d4f3f1f 2019-02-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdadmin(1) that caused cloning of an
	existing service to fail.
2019-02-19 17:59:56 -05:00
Fred Gleason
a9a3f385ad 2018-11-29 Fred Gleason <fredg@paravelsystems.com>
* 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).
2018-11-29 14:44:38 -05:00
Fred Gleason
10b08d65a8 2018-11-21 Fred Gleason <fredg@paravelsystems.com>
* 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).
2018-11-21 09:56:54 -05:00
Fred Gleason
75bec4d3c4 2018-10-19 Fred Gleason <fredg@paravelsystems.com>
* Removed 'build_win32.bat'.
	* Removed all conditional compilation based on 'WIN32'.
2018-10-19 17:03:58 -04:00
Fred Gleason
c52c9b9f8a 2018-07-20 Fred Gleason <fredg@paravelsystems.com>
* 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.
2018-07-20 19:24:11 -04:00
Fred Gleason
363dbb7878 2018-07-12 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'lib/' ensure UTF-8 compatibility.
2018-07-12 13:47:20 -04:00
Fred Gleason
3973ab5f01 2018-07-10 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STACK_LINES' table to the database.
	* Incremented the database version to 293.
2018-07-10 11:05:46 -04:00
Fred Gleason
db70aa4550 2018-07-05 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ELR_LINES' table to the database.
	* Incremented the database version to 289.
	* Removed the 'RDSvc::serviceTableName()' method.
2018-07-05 08:52:38 -04:00
Fred Gleason
300aebdc04 2018-07-03 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LOG_LINES' table to the database.
	* Incremented the database version to 288.
	* Removed the 'RDLog::tableName()' method.
2018-07-03 12:32:41 -04:00
Fred Gleason
84430a10ef 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored table drops to use 'RDApplication::dropTable()'.
2018-05-31 19:11:16 +00:00
Fred Gleason
c6bbac7267 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL errors in rdadmin(1).
2018-05-31 18:31:56 +00:00
Fred Gleason
415878a9a3 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* 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.
2018-05-31 16:48:33 +00:00
Fred Gleason
32b3d1775c 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* 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).
2018-05-31 00:09:35 +00:00
Fred Gleason
7e437154ad 2018-04-30 Fred Gleason <fredg@paravelsystems.com>
* 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.
2018-04-30 17:58:41 +00:00
Fred Gleason
8f1bd700cd 2018-02-15 Fred Gleason <fredg@paravelsystems.com>
* 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).
2018-02-15 09:39:37 -05:00
Fred Gleason
20cf2abb65 2018-01-12 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that caused rdlogmanager(1) to throw SQL errors when
	importing music/traffic data.
2018-01-12 13:07:21 -05:00
Fred Gleason
03c10c717d 2018-01-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdlogmanager(1) that caused remerging of traffic
	data to a log to remove voice track transitions.
2018-01-10 10:18:46 -05:00
Fred Gleason
9ae18f2559 2018-01-09 Fred Gleason <fredg@paravelsystems.com>
* 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.
2018-01-09 13:55:30 -05:00
Fred Gleason
54a807fe3d 2017-12-21 Fred Gleason <fredg@paravelsystems.com>
* Added log locking logic to rdlogmanager(1).
2017-12-21 14:27:07 -05:00
Fred Gleason
d29aaf619d Merged v2.17.0-remerge-fix 2017-12-06 13:14:50 -05:00
Fred Gleason
140f8fe500 2017-12-05 Fred Gleason <fredg@paravelsystems.com>
* 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.
2017-12-05 12:41:10 -05:00