* Added a 'DROPBOXES.LOG_TO_SYSLOG' field to the database.
* Incremented the database version to 309.
* Added a 'Log Events in Syslog' checkbox to the
'Dropbox Configuration' dialog in rdadmin(1).
* Added special name logic to RDApplication to detect when a
dropbox is being started.
* Modified the '--log-filename=' switch in rdimport(1) to accept
both directory and filename components.
* Removed the '--log-directory=' switch from rdimport(1).
* Added an 'ID' column to the list of dropbox configurations in the
'Rivendell Dropbox Configurations; dialog in rdadmin(1).
* Refactored logging system to use syslog(3) exclusively.
* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
and 'LogPattern=' directives from rd.conf(5).
* Added an 'RDWaveData::validateMarkers()' method.
* Added an 'RDWaveData::validateDateTime()' method.
* Removed the 'RDWaveData::checkDateTimes()' method.
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
* Fixed a bug in 'utils/rdimport/rdimport.cpp' that failed to
apply automatic segues correctly when the audio store was not
locally accessible.
* Fixed a bug in 'utils/rdimport/rdimport.cpp' that caused the
value of the '--segue-level' options to be wrong by a factor of
100.
* Refactored the 'RDCut::autoSegue()' method to fetch trim data
via 'RDTrimAudio'.
* Added language in the rdimport(1) man page to resolve ambiguity
regarding how the --segue-level location is dteremined when
normalization is specified.
* Implemented '--set-string-description' and '--set-string-outcue'
options for rdimport(1) in 'utils/rdimport/rdimport.cpp' and
'utils/rdimport/rdimport.h'.
* Implemented '--set-marker-fadedown=' and '--set-marker-fadeup*='
options for rdimport(1) in 'utils/rdimport/markerset.cpp',,
'utils/rdimport/markerset.h', 'utils/rdimport/rdimport.cpp' and
'utils/rdimport/rdimport.h'.
* Implemented '--set-marker-end-*=' and '--set-marker-start-*='
options for rdimport(1) in 'utils/rdimport/markerset.cpp',,
'utils/rdimport/markerset.h', 'utils/rdimport/rdimport.cpp' and
'utils/rdimport/rdimport.h'.
* Fixed a bug in 'lib/rdcut.cpp' that caused the 'Title' value
to be applied to the 'Description' field in the 'RDCut::setMetadata()'
method.
* Added 'docs/metadata_wildcards.txt'.
* Implemented support for the '%i' ['Cut Description'] wildcard in
rdimport(1)'s '--metadata-pattern' switch in
'utils/rdimport/rdimport.cpp' [Github Issue #6].
* Implemented support for the '%o' ['Outcue'] wildcard in
rdimport(1)'s '--metadata-pattern' switch in
'utils/rdimport/rdimport.cpp'.
* Implemented support for the '%y' ['Release Year'] wildcard in
rdimport(1)'s '--metadata-pattern' switch in
'utils/rdimport/rdimport.cpp'.
* 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'