43 Commits

Author SHA1 Message Date
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
3faa8dfbed 2016-10-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LockRdairplayMemory=' parameter to the [Hacks] section
	of rd.conf(5).
2016-10-20 09:06:58 -04:00
Fred Gleason
b257ba924c 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up warning in 'rdairplay/log_play.cpp'.
2016-07-22 18:32:59 -04:00
Fred Gleason
368c310a5e 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdairplay/log_play.cpp' that caused a SQL error.
2016-07-22 18:30:14 -04:00
Fred Gleason
7a399bca5b 2016-07-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_traffic.cpp' that generated
	a SQL error when logging ELR data.
2016-07-22 17:51:55 -04:00
Fred Gleason
c21c1a0d5d Merge branch 'stable' of https://github.com/waynemerricks/rivendell into waynemerricks-stable 2016-06-14 11:25:43 -04:00
Fred Gleason
c19b241907 2016-06-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdairplay/list_logs.cpp' that failed to process
	SQL NULL date values correctly.
2016-06-10 17:14:22 -04: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
9eb97c5b27 rdairplay/log_traffic.cpp MySQL v5.7+ date/time changes 2016-06-04 23:22:05 +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
Fred Gleason
512d1a2575 2016-04-25 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Cut Log' report in 'lib/export_cutlog.cpp'.
	* Added 'DESCRIPTION' and 'OUTCUE' fields to the '_SRT' table
	schema.
	* Incremented the database version to 255.
2016-04-25 17:47:22 -04:00
Fred Gleason
330a602fb5 2016-03-25 Fred Gleason <fredg@paravelsystems.com>
* Changed 'uninstall' to 'uninstall-local' targets in all
	'Makefile.am' files.
2016-03-25 10:30:45 -04:00
Fred Gleason
c0446ea5f7 Merged 04bd883b65b9922c35216b92b4da52245fdc7f5b from master 2015-09-15 08:06:20 -04:00
Fred Gleason
436b090667 2015-08-29 Fred Gleason <fredg@paravelsystems.com>
* Removed instrumentation code in 'rdairplay/hourselector.cpp'.
	* Removed instrumentation code in 'rdairplay/log_play.cpp'.
	* Removed instrumentation code in 'rdairplay/rlmhost.cpp'.
2015-08-29 10:22:59 -04:00
Fred Gleason
188c6c4bb5 2015-08-13 Fred Gleason <fredg@paravelsystems.com>
* Commented out the 'qApp->processEvents()' call in the
	'refreshStatusChangedData()' method in 'rdairplay/rdairplay.cpp'.
2015-08-13 19:30:11 -04:00
Fred Gleason
81727799d1 2015-08-12 Fred Gleason <fredg@paravelsystems.com>
* Instrumented the cleanup phase of the 'LogPlay::refresh()' method in
	'rdairplay/log_play.cpp'.
2015-08-12 06:58:05 -04:00
Fred Gleason
3e1a26564f 2015-07-14 Fred Gleason <fredg@paravelsystems.com>
* Instrumented 'HourSelect::updateTimeData()' in
	'rdairplay/hourselector.cpp'.
	* Instrumented 'LogPlay::transTimerData()' in
	'rdairplay/log_play.cpp'.
	* Instrumented 'LogPlay::graceTimerData()' in
	'rdairplay/log_play.cpp'.
	* Instrumented 'RLMHost::timerData()' in 'rdairplay/rlmhost.cpp'.
2015-07-14 09:01:26 -04:00
Fred Gleason
44ab9010a6 2015-07-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'LogPlay::refresh()' that caused a segfault
	in 'rdairplay/log_play.cpp'.
	* Instrumented the 'LogPlay::refresh()' method in
	'rdairplay/log_play.cpp'.
2015-07-02 13:53:48 -04:00
Fred Gleason
6d3881bd2f 2015-06-10 Fred Gleason <fredg@paravelsystems.com>
* Refactored 'LogPlay' class to provide per-instance RDCae instances.
	in 'rdairplay/log_play.cpp' and 'rdairplay/log_play.h'.
2015-06-10 11:39:20 -04:00
Fred Gleason
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -04:00
Fred Gleason
d44a6686bc Removed debugging printfs 2015-02-27 14:31:36 -05:00
Fred Gleason
741dc183da 2015-02-22 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_play.cpp' that caused
	the 'Play Tail' button to start from an incorrect position when
	non-zero Start Marker position was set for the cut.
2015-02-22 14:46:58 -05:00
Fred Gleason
30a9f6f823 2015-02-18 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDMatrix::SoftwareAuthority' to the 'RDMatrix::Type'
	enumeration in 'lib/rdmatrix.cpp' and 'lib/rdmatrix.h'.
	* Implemented a switcher driver for systems using Software Authority
	Protocol in 'ripcd/swauthority.cpp' and 'ripcd/swauthority.h'.
2015-02-18 21:19:07 -05:00
Fred Gleason
f4ae671a1f 2015-02-11 Fred Gleason <fredg@paravelsystems.com>
* Added support for 'Conductor', 'Song-ID', 'Year', 'Outcue' and
	'Description' fields in 'rlm/rlm_padpoint.c'.
	* Fixed a bug when generating the 'Year' field in RLM updates
	in 'rdairplay/rlmhost.cpp'.
2015-02-11 16:44:16 -05:00
Fred Gleason
a1414e0d08 2015-01-09 Fred Gleason <fredg@paravelsystems.com>
* Applied patch by Daniel Bair to add support for dark themes
	[GitHub pull request #000046].
2015-01-09 17:42:39 -05:00
Daniel Bair
d60f272b74 Patches to add support for dark themes 2014-12-03 11:32:12 +07:00
Daniel Bair
4a98ffc52c Patches to add support for dark themes 2014-11-30 20:18:19 +07:00
Fred Gleason
14a4645577 2014-11-24 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in 'rdairplay/log_traffic.cpp' that broke
	when writing ELR data to a service with a space in its name.
2014-11-24 15:17:26 -05:00
Fred Gleason
381726279e 2014-10-10 Fred Gleason <fredg@paravelsystems.com>
* Adjusted display of Talk Time in button widget to allow for display
	of lengths greater than :59 [GitHub issue #000018].
2014-10-10 16:33:16 -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
1ea819d167 2014-09-20 Alban Peignier <alban@tryphon.eu>
* Fixes 'Next Timed Start: [nn:nn:nn]' encoding in RdAirPlay
2014-09-20 22:15:16 -04:00
Fred Gleason
ea15b7f4e7 Merge pull request #24 from tryphon/station-cue
Use Station cue card and port
Merged to master.  Thanks!
2014-09-20 15:59:57 -04:00
Alban Peignier
3f94f92c52 Use RDStation->cueCard/Port to configure Audition Head/Tail in RDAirPlay 2014-09-20 17:50:53 +02:00
Alban Peignier
b2b69499bd Use RDStation->cueCard/Port to configure RDCueEdit in RDAirPlay 2014-09-20 17:50:30 +02:00
Alban Peignier
5a9d63a77e 2014-09-20 Alban Peignier <alban@tryphon.eu>
* Fixes 'Next Timed Start: [nn:nn:nn]' encoding in RdAirPlay
2014-09-20 15:08:20 +02:00
Alban Peignier
45b0159a54 Update French translation for RdAirPlay messages 2014-09-20 12:01:16 +02:00
Fred Gleason
a4e288508c 2014-09-04 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'rdairplay/nownext.cpp' that caused PAD updates
	to be sent for macro carts with the asyncronous attribute set.
2014-09-04 19:39:42 -04:00
Fred Gleason
8b0aa4622d 2014-09-04 Fred Gleason <fredg@paravelsystems.com>
* Removed object names in 'rdairplay/log_play.cpp' and
	'rdairplay/log_play.h'.
2014-09-04 17:16:40 -04:00
Fred Gleason
433852598c 2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Modified the AC_INIT invocation in 'configure.ac' so as not
	to break on RHEL 6.
	* Added '--Wno-strict-aliasing' to 'AM_CPPFLAGS' in 'cae/Makefile.am'.
	* Added '--Wno-strict-aliasing' to 'AM_CPPFLAGS' in 'lib/Makefile.am'.
	* Added '--Wno-strict-aliasing' to 'AM_CPPFLAGS' in
	'rdairplay/Makefile.am'.
2014-08-14 22:58:00 -04:00
Fred Gleason
89b846f7d6 2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed warnings in 'lib/rdaudioconvert.cpp'.
	* Fixed warnings in 'lib/rdaudioexport.cpp'.
	* Fixed warnings in 'lib/rdaudioimport.cpp'.
	* Fixed warnings in 'lib/rdcart_dialog.cpp'.
	* Fixed warnings in 'lib/rdconf.cpp'.
	* Fixed warnings in 'lib/rdcopyaudio.cpp'.
	* Fixed warnings in 'lib/rdescape_string.cpp'.
	* Fixed warnings in 'lib/rdevent_line.cpp'.
	* Fixed warnings in 'lib/rdfeed.cpp'.
	* Refactored 'RDOneShot' to use int values in 'lib/rdoneshot.cpp'
	and 'lib/rdoneshot.h'.
	* Fixed warnings in 'lib/rdpeaksexport.cpp'.
	* Fixed warnings in 'lib/rdtrimaudio.cpp'.
	* Fixed warnings in 'lib/rdwavefile.cpp'.
	* Fixed warnings in 'rdhpi/rdhpiplaystream.cpp'.
	* Fixed warnings in 'rdhpi/rdhpirecordstream.cpp'.
	* Fixed warnings in 'rdhpi/rdhpisoundcard.cpp'.
	* Fixed warnings in 'pam_rd/pam_rd.cpp'.
	* Fixed warnings in 'rdadmin/edit_rdairplay.cpp'.
	* Fixed warnings in 'rdairplay/list_log.cpp'.
	* Fixed warnings in 'rdairplay/log_play.cpp'.
	* Fixed warnings in 'rdairplay/pie_counter.cpp'.
	* Fixed warnings in 'rdairplay/rlm_host.cpp'.
	* Fixed warnings in 'rdcatchd/rdcatchd.cpp'.
	* Fixed warnings in 'rdlogedit/editlog.cpp'.
	* Fixed warnings in 'rdlogmanager/rdlogmanager.cpp'.
	* Fixed warnings in 'rdrepl/replfactory.h'.
	* Fixed warnings in 'ripcd/acu1p.cpp' and 'ripcd/acu1p.h'.
	* Fixed warnings in 'ripcd/bt16x2.cpp' and 'ripcd/bt16x2.h'.
	* Fixed warnings in 'ripcd/btss164.cpp' and 'ripcd/btss164.h'.
	* Fixed warnings in 'ripcd/btss42.cpp' and 'ripcd/btss42.h'.
	* Fixed warnings in 'ripcd/btss44.cpp' and 'ripcd/btss44.h'.
	* Fixed warnings in 'ripcd/btss82.cpp' and 'ripcd/btss82.h'.
	* Fixed warnings in 'ripcd/btsrc16.cpp' and 'ripcd/btsrc16.h'.
	* Fixed warnings in 'ripcd/btsrc8iii.cpp' and 'ripcd/btsrc8iii.h'.
	* Fixed warnings in 'ripcd/livewire_mcastgpio.cpp'.
	* Fixed warnings in 'ripcd/local_gpio.cpp' and 'ripcd/local_gpio.h'.
	* Fixed warnings in 'ripcd/sas64000gpi.cpp' and 'ripcd/sas64000gpi.h'.
	* Fixed warnings in 'ripcd/vguest.cpp' and 'ripcd/vguest.h'.
	* Fixed warnings in 'utils/rdhpiinfo/rdhpiinfo.cpp'
	* Fixed warnings in 'utils/rdgen/wavlib.cpp'
	* Fixed warnings in 'utils/rdimport/rdimport.cpp'
	* Fixed warnings in 'utils/rdsoftkeys/rdsoftkeys.cpp'
	* Fixed warnings in 'web/rdxport/export.cpp'
2014-08-14 19:08:38 -04:00
Fred Gleason
6532b723b2 2014-08-14 Fred Gleason <fredg@paravelsystems.com>
* Amalgamated INCLUDE Makefile entries into AM_CPPFLAGS.
	* Added '-Wno-portability' to the invocation of 'automake' in
	'autogen.sh'.
2014-08-14 13:20:26 -04:00
Fred Gleason
8c7dd1d861 Added .gitignore files 2014-08-14 12:19:23 -04:00
Fred Gleason
afd67c7af8 Initial import of CVS-v2_8_branch 2014-08-12 15:13:02 -04:00