22 Commits

Author SHA1 Message Date
Fred Gleason
b7eadc60be 2022-03-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'rdxport' service that caused the 'ListLog'
	WebAPI call to return null values in the 'description', 'isrc',
	'isci', 'recordingMbId' and 'releaseMbId' fields.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-10 12:42:54 -05:00
Fred Gleason
2e6a13eba1 2020-04-16 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'EVENTS.POST_POINT' field from the database.
	* Removed the 'LOG_LINES.POST_POINT' field from the database.
	* Incremented the database version tp 315.
	* Removed 'RDEventLine::postPoint()' and
	'RDEventLine::setPostPoint()' methods.
	* Removed the 'Post Point' checkbox from the 'Editing Event' dialog
	in rdlogmanager(1).
2020-04-16 17:26:18 -04:00
Fred Gleason
118c019edc 2020-04-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'RDEventLine' that caused the
	'Append Log' ['AL'] RML to append a copy of the currently loaded
	log instead of the one specified in the RML command.

Signed-off-by: Fred Gleason <fredg@paraelsystems.com>
2020-04-15 12:24:47 -04:00
Fred Gleason
c170dc3d0a 2019-04-29 Fred Gleason <fredg@paravelsystems.com>
* Added code to normalize the case of log names in
	'RDLog::RDLog()'.
2019-04-29 16:29:50 -04:00
Fred Gleason
2df7752270 2019-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the rivwebcapi 'RD_ListLogs()' that caused
	corruption of log names containing multi-byte UTF-8 characters.
	* Fixed a bug in the rivwebcapi 'RD_ListLog()' that caused
	corruption of log names containing multi-byte UTF-8 characters.
	* Fixed a regression in the 'RDLogEvent::insert()' method
	that threw a segfault when applied on am empty log.
	* Fixed a bug in date/time parsing methods that could cause
	segfaults.
2019-03-15 15:55:10 -04:00
Fred Gleason
25d0f414c4 2019-03-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that could throw a segfault when
	moving a log event to the end of a log.
2019-03-14 17:13:38 -04:00
Patrick Linstruth
dfcd8b1b65 Fixed regression in scheduler that caused events with two scheduler codes to fail.
Updated scheduler reports to indicate scheduler codes.
2019-01-12 10:43:06 -08:00
Fred Gleason
ec6207c7d6 2018-08-02 Fred Gleason <fredg@paravelsystems.com>
* Modified reports in rdlogedit(1) to display UTF-8 strings
	correctly.
2018-08-02 17:27:49 -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
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
a8ae9f9bfa 2017-12-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Engine=' directive to the [MySQL] section of
	rd.conf(5).
	* Refactored the schema update code to use standard form
	in rdadmin(1).
2017-12-01 17:37:37 -05:00
Fred Gleason
56f321976a 2017-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_event.cpp' that caused errors in
	predicted event start times in RDLogEdit(1).
2017-03-15 18:25:38 -04:00
Fred Gleason
052593f0f1 2017-03-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'lib/rdlog_event.cpp' that caused errors in
	predicted event start times in logs containing voice tracks.
2017-03-15 11:57:24 -04:00
Fred Gleason
c8ec4248a4 2017-03-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that introduced round-off errors when calculating
	event start times in RDLogEdit(1) in 'lib/rdlog_event.cpp'.
2017-03-06 10:41:21 -05:00
Wayne Merricks
f1175cd2f2 Fixes for invalid NULL sql on date/times
Most files are simple swaps to get rid of extra " as a NULL return will give
invalid SQL if used as follows UPDATE x SET y="NULL";

See github issue 121 for more info.

Extra changes have been made to the following files:
* lib/rdcartslot.cpp
- Added a QDateTime variable to prevent EVENT_DATETIME becoming
  "2016-06-09" "NULL" as it was checked separately for date and time
* lib/rdcut.cpp
- Reworked START_DATETIME and END_DATETIME to save the SQL ifs.  I believe this
  makes it easier to read and understand.
- The >QDate(1900,1,1) and < 8000 is probably not needed but I left it there
  just in case.
* lib/rdescape_string.cpp
- Reworked to add extra " if the date is not NULL see issue 121
* lib/rdfeed.cpp && lib/rdpodcast.cpp
- Had to add a SetRow for QDateTime as with the string conversion the existing
  SetRow would add an extra set of "
* lib/rdsound_panel.cpp && rdairplay/log_traffic.cpp
        && utils/rddgimport/rddgimport.cpp
- Added a QString to contain EVENT_DATETIME to prevent double checks of date
  and time separately (similar to lib/rdcartslot.cpp)
* rdcatchd/rdcatchd.cpp
- Reverted the changes.  The RML here is not touching the DB so is fine, plus
  with the RDCheckDateTime changes you'd have extra " unless it was NULL
* tests/sas_switch_torture.cpp && sas_torture.cpp
- Included missing rdescape_string.h
2016-06-09 00:01:38 +01:00
Wayne Merricks
7506d1567c lib/rdlog_event.cpp MySQL v5.7+ date/time checks
Usual date changes and some TODOs for potentially invalid SELECT statements
2016-06-04 20:04:16 +01:00
Fred Gleason
698b475933 2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
2016-05-24 13:13:26 -04:00
Brian P. McGlynn
3ecc1fd221 Refactored RDLogEvent::save() and voicetracker 2016-04-21 21:42:44 -04:00
Chris Smowton
94e80606c5 Implement "holdover events," noting those log events which are not listed in the currently loaded log but which are present because they were playing when this log was loaded.
This fixes problems arising when the duplicate IDs thus introduced cause confusion.
2014-09-22 00:36:18 +01:00
Fred Gleason
afd67c7af8 Initial import of CVS-v2_8_branch 2014-08-12 15:13:02 -04:00