Commit Graph

198 Commits

Author SHA1 Message Date
Klaus Schmidinger f859b8d2ae Fixed printing/scanning values for systems where %ld doesn't work for time_t 2022-11-22 14:33:56 +01:00
Klaus Schmidinger 786245efe5 Now assuming the lock when removing deleted recordings even if the disk is full 2022-11-04 14:30:01 +01:00
Klaus Schmidinger d05765c670 Replaced strncpy() with memcpy() in strreplace() to avoid a compiler warning 2021-12-30 14:38:40 +01:00
Klaus Schmidinger c02c081d91 The cFile class has been partially deprecated 2021-05-20 10:13:43 +02:00
Klaus Schmidinger ad35c9c2d3 Added some missing user command calls for copying, renaming and moving recordings 2021-01-19 20:38:28 +01:00
Klaus Schmidinger 55b237dbe8 Fixed strreplace() to handle NULL strings 2020-12-29 21:40:29 +01:00
Klaus Schmidinger 2b3556b460 Implemented "Pattern Timers" 2020-12-26 15:49:01 +01:00
Klaus Schmidinger ad55da4ef9 Fixed possible compilation errors with libjpeg 2020-11-22 13:32:05 +01:00
Klaus Schmidinger 5cfa736ad0 Fixed memory handling in cString::Append() 2020-06-10 20:52:10 +02:00
Klaus Schmidinger 75648e80cf Modified cStateLock's SetExplicitModify() and IncState() 2018-03-04 11:31:21 +01:00
Klaus Schmidinger 8a7540321d Disabled the use of posix_fadvise() when reading 2018-03-03 19:35:31 +01:00
Klaus Schmidinger 9c3ce0048a When remote timers are fetched from a peer VDR, we no longer blindly delete and re-add them, but rather compare them and make only the minimum necessary changes 2018-02-28 10:06:47 +01:00
Klaus Schmidinger 027ae738a8 Now using readdir() instead of readdir_r(), if GLIBC version 2.24 or newer is used 2017-06-25 11:54:32 +02:00
Klaus Schmidinger 9cf7328452 Now skipping a leading '/' in AddDirectory(), to avoid double slashes 2017-06-23 09:44:25 +02:00
Klaus Schmidinger 7d1dde01ba The constructor of cHash (via cHashBase) now has an additional parameter (OwnObjects); fixed a memory leak in cSectionSyncerHash 2017-05-09 08:33:37 +02:00
Klaus Schmidinger 68acf8815c Fixed a possible buffer overflow in handling CA descriptors 2016-12-23 14:08:14 +01:00
Klaus Schmidinger 0f18bd0a6a Fixed a possible stack overflow in cListBase::Sort() 2015-09-10 13:20:21 +02:00
Klaus Schmidinger 4e3325b7f7 Implemented setup options for SVDRP peering 2015-09-08 11:08:06 +02:00
Klaus Schmidinger 3cd5294d8a Implemented strict locking of global lists 2015-09-01 11:14:27 +02:00
Klaus Schmidinger c3b0347556 Implemented SVDRP peering 2015-05-22 13:44:43 +02:00
Klaus Schmidinger 8225d3758f Modified EntriesOnSameFileSystem(), so that it returns 'true' if either of the given; changed handling the 'error' variable in cDirCopier 2015-02-07 16:08:13 +01:00
Klaus Schmidinger 23ea3dcb48 No longer logging an error message in DirSizeMB() if the given directory doesn't exist 2014-03-22 14:25:46 +01:00
Klaus Schmidinger 2bdb599fbc Added renaming and moving recordings and folders, and editing a recording's priority and lifetime; added cutting queue 2013-10-10 13:13:30 +02:00
Klaus Schmidinger cd10b439d0 Added basic support for positioners to control steerable satellite dishes 2013-08-21 11:02:52 +02:00
Klaus Schmidinger bc0b67e630 Only handling decimal point in atod() and dtoa() if it differs from '.' 2012-12-07 09:00:00 +01:00
Klaus Schmidinger 9a0236b9e2 Changed reading and writing of floating point numbers into configuration files to make it independent of the decimal point used in the current locale 2012-12-06 10:29:23 +01:00
Klaus Schmidinger e2796948b2 Fixed calling iconv_close() only with a valid iconv_t value 2012-12-03 09:34:12 +01:00
Klaus Schmidinger f1000d75c0 Added 'IgnoreFiles' to RemoveEmptyDirectories() 2012-09-30 13:05:14 +02:00
Klaus Schmidinger 3f03cfa14d RemoveEmptyDirectories() now ignores dot files 2012-08-21 10:42:01 +02:00
Klaus Schmidinger 5f93700e07 The new member function cSkinDisplayReplay::SetRecording() allows a skin to display more information about the currently played recording 2012-05-12 14:20:41 +02:00
Klaus Schmidinger 06b8fe94ef Renamed the function cString::sprintf(const char *fmt, va_list &ap) to vsprintf() 2012-05-08 11:23:56 +02:00
Klaus Schmidinger 23ec57d822 Fixed switching into time shift mode when pausing live video 2012-02-19 11:50:20 +01:00
Klaus Schmidinger 882691e32f cReadDir::Next() now skips directory entries "." and ".." 2012-02-17 14:02:13 +01:00
Klaus Schmidinger 48de95f5d2 Fixed cListBase::Move() in case From and To are equal 2012-01-11 11:23:38 +01:00
Klaus Schmidinger 04e5380723 Replaced all calls to sleep() with cCondWait::SleepMs() 2011-12-04 14:53:41 +01:00
Klaus Schmidinger 0ecf6b00d4 Fixed handling DVB subtitles and implemented decoding textual DVB subtitles 2011-09-18 11:36:38 +02:00
Klaus Schmidinger f4007c7ff3 cTimeMs is no longer initialized to the current time if the value given to the constructor is negative 2011-08-15 14:13:42 +02:00
Klaus Schmidinger 4a9fd9b097 Implemented command line options --filesize and --split 2011-08-15 12:45:40 +02:00
Klaus Schmidinger 404124eca4 The isnumber() function now checks the given pointer for NULL 2011-07-31 13:23:31 +02:00
Klaus Schmidinger 464552dd91 Fixed cString's operator=(const char *String) in case the given string is the same as the existing one 2011-05-15 11:46:30 +02:00
Klaus Schmidinger a914aed05a Fixed cUnbufferedFile::Seek() in case it is compiled without USE_FADVISE 2011-03-20 15:25:06 +01:00
Klaus Schmidinger d1ab9dbc5f Now checking the result of all realloc() calls 2011-02-25 15:25:42 +01:00
Klaus Schmidinger c8cc3a6e36 Fixed inclusion of <stdarg.h> 2010-12-24 11:34:11 +01:00
Klaus Schmidinger 1c5ece6100 Added cString::operator=(const char *String) 2010-10-24 13:08:55 +02:00
Klaus Schmidinger 208b703e5b Fixed following symbolic links in RemoveFileOrDir() (cont'd) 2010-10-24 11:33:46 +02:00
Klaus Schmidinger 2009716599 Fixed following symbolic links in RemoveFileOrDir() 2010-08-29 15:03:08 +02:00
Klaus Schmidinger 7506867fbe cSafeFile::Close() now flushes the file 2010-02-28 13:36:26 +01:00
Klaus Schmidinger d8d65c7536 Modified cCharSetConv so that it can be used to convert from "whatever VDR uses" to a given code 2009-12-23 15:25:05 +01:00
Klaus Schmidinger 6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger ff858b78a3 Fixed EntriesOnSameFileSystem() to avoid using f_fsid, which may be 0 2009-11-06 15:23:52 +01:00