1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00
Commit Graph

167 Commits

Author SHA1 Message Date
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
b83439b87e Fixed the MEGABYTE() macro to make it correctly handle parameters resulting in values larger than 2GB 2009-04-18 09:37:54 +02:00
Klaus Schmidinger
cc3afcfc68 Fixed a typo 2008-05-22 10:26:57 +02:00
Klaus Schmidinger
dc7c5464fc Introduced 'operator const void * ()' in cString 2008-02-17 13:47:12 +01:00
Klaus Schmidinger
741400fa66 Fixed handling recordings on other file systems than the video directory 2008-02-16 13:38:22 +01:00
Klaus Schmidinger
9495aa9923 Using cString::sprintf() instead of asprintf() 2008-02-15 14:57:48 +01:00
Klaus Schmidinger
0ec2063b5a Added cString::Truncate() 2008-01-13 11:26:30 +01:00
Klaus Schmidinger
49f7a7f574 Fixed cVector::Clear() and cStringList::Clear() 2008-01-01 15:10:07 +01:00
Klaus Schmidinger
a80915ff22 There can now be more than one OSD at the same time 2007-08-26 09:58:10 +02:00
Klaus Schmidinger
0f7a4af168 Switched I18N to gettext 2007-08-11 12:39:06 +02:00
Klaus Schmidinger
031000493d Fixed a problem with characters >0x7F in the modified version of skipspace() 2007-07-28 12:59:48 +02:00
Klaus Schmidinger
1476966099 All logging now goes to LOG_ERR 2007-07-28 09:45:27 +02:00
Klaus Schmidinger
4c90306502 Made skipspace() an inline function and changed it to handle the most common case of 'no leading space' very fast, and avoid calling isspace() 2007-07-21 13:39:02 +02:00
Klaus Schmidinger
7c86dcaa27 Added WeekDayNameFull() 2007-06-23 13:40:04 +02:00
Klaus Schmidinger
79b1c68ffb Now using 'fontconfig' to determine which fonts to use 2007-06-17 11:12:46 +02:00
Klaus Schmidinger
b532dc8229 Replaced strncpy() and strn0cpy() with Utf8Strn0Cpy() where necessary 2007-06-16 10:41:21 +02:00
Klaus Schmidinger
81e44bce19 Renamed Utf8NumSyms() to Utf8StrLen() 2007-06-16 09:05:22 +02:00
Klaus Schmidinger
3224fffe87 Implemented UTF-8 handling in skincurses 2007-06-15 12:24:06 +02:00
Klaus Schmidinger
c6f8a14957 Freetype font support; full UTF-8 support; dropped pixel fonts 2007-06-10 13:02:43 +02:00
Klaus Schmidinger
87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger
f9efdeab55 Removed the '__attribute__' - didn't work with function parameters 2006-12-03 17:38:38 +01:00
Klaus Schmidinger
0efa7a757a Added '#include <stdint.h>' to font.h; added a compatibility define for 'uint64' to tools.h 2006-12-03 16:52:19 +01:00
Klaus Schmidinger
19f39258f0 Replaced 'unsigned long long' with 'uint32_t' and 'uint64' with 'uint64_t' to avoid problems on 64-bit machines 2006-12-02 11:30:19 +01:00
Klaus Schmidinger
53819a9aff Added format check to syslog_with_tid() 2006-04-16 10:43:22 +02:00
Klaus Schmidinger
8831fe304f Made FadviseDrop() private 2006-02-04 14:21:08 +01:00
Klaus Schmidinger
116abbe05e Improved cUnbufferedFile 2006-02-04 14:12:17 +01:00
Klaus Schmidinger
29501203f7 Modified logging so that even on NPTL systems each line in the log file shows the individual thread's pid 2006-01-15 16:42:37 +01:00
Klaus Schmidinger
2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +01:00
Klaus Schmidinger
924827fcbe Refined cBase64Encoder description 2005-12-30 11:27:23 +01:00
Klaus Schmidinger
61fefd00bf Implemented cBase64Encoder 2005-12-29 16:02:37 +01:00
Klaus Schmidinger
aa64d64d90 Converting a grabbed image to JPEG is now done with the new function RgbToJpeg() 2005-12-29 11:24:02 +01:00
Klaus Schmidinger
579719a7f2 When displaying the amount of free disk space, the space consumed by "deleted" recordings is now taken into account 2005-12-18 10:41:26 +01:00
Klaus Schmidinger
22c5a38364 Added a copy constructor to cString and fixed its assignment operator 2005-11-26 14:16:02 +01:00
Klaus Schmidinger
9607fd33a0 cSVDRP now dynamically allocates its command buffer 2005-11-05 11:21:38 +01:00
Klaus Schmidinger
92af12daac cReadLine now dynamically allocates its buffer; changed cConfig::Load() to use cReadLine instead of a fixed buffer 2005-11-04 17:18:33 +01:00
Klaus Schmidinger
697261c981 The new class cUnbufferedFile is used for the recording files to avoid thrashing the file system cache 2005-10-31 13:14:26 +01:00
Klaus Schmidinger
325163c0ef Added '__attribute__' to functions that use printf() like parameters 2005-10-09 11:14:14 +02:00
Klaus Schmidinger
4b8ff61901 Fixed the FATALERRNO macro to check for a non-zero errno value 2005-10-01 12:48:34 +02:00
Klaus Schmidinger
c3a76dfef6 The '.update' file in the video directory is now touched when a recording is added or deleted 2005-09-25 13:49:31 +02:00
Klaus Schmidinger
cfc1903408 Fixed a typo 2005-09-18 09:33:40 +02:00
Klaus Schmidinger
94d43abecf Implemented a hash for the channels to reduce the system load in the EIT scanning thread 2005-09-11 13:23:49 +02:00
Klaus Schmidinger
6445b9a086 Implemented SVDRP command for plugins 2005-08-27 16:42:28 +02:00
Klaus Schmidinger
a8fe90b28b Replaced the get/put_unaligned() macros from <asm/unaligned.h> with own inline functions 2005-08-21 14:15:00 +02:00
Klaus Schmidinger
bc22ed879c Files and directories are now created with rights according to the shell's umask settings 2005-08-06 09:56:08 +02:00
Klaus Schmidinger
1f631bf667 Fixed a crash with negative hash ids (made them unsigned) 2005-05-29 10:24:54 +02:00
Klaus Schmidinger
7701acd968 Now using hash tables to speed up cSchedule::GetEvent() 2005-05-28 13:17:20 +02:00
Klaus Schmidinger
1855ab0ef3 Introduced cListBase::count for better performance 2005-05-26 11:41:33 +02:00
Klaus Schmidinger
b0583e5373 Switched from 'summary.vdr' to 'info.vdr' 2005-05-16 14:45:11 +02:00
Klaus Schmidinger
f1494502a7 All log entries regarding timers now contain a short description of the timer 2005-03-20 15:15:42 +01:00
Klaus Schmidinger
5b4507da05 Fixed handling symbolic links in cRecordings::ScanVideoDir() 2005-02-12 10:19:03 +01:00
Klaus Schmidinger
32e0b131c9 Fixed a memory leak in AddDirectory() and strescape() 2005-02-05 10:12:14 +01:00
Klaus Schmidinger
9423c636a2 Fixed playing files with PES packets longer than 2048 byte through the full featured DVB card 2005-01-16 12:02:39 +01:00
Klaus Schmidinger
aa1738921b Changed objalloc.h to stddef.h for compatibility with gcc 2.95 2005-01-04 11:09:51 +01:00
Klaus Schmidinger
f894ce7e00 Made cTimeMs::Now() static 2005-01-04 11:06:45 +01:00
Klaus Schmidinger
286af66cfb Made several functions threadsafe (cont'd) 2004-12-26 12:45:22 +01:00
Klaus Schmidinger
c49253824a Replaced time_ms() with a threadsafe and non-overflowing cTimeMs 2004-12-19 18:08:09 +01:00
Klaus Schmidinger
ce8369251c Removed delay_ms(), using cCondWait::SleepMs() instead 2004-12-19 17:22:13 +01:00
Klaus Schmidinger
1d3495a0f0 Made several functions threadsafe 2004-12-19 16:33:34 +01:00
Klaus Schmidinger
0b62aff0e3 Now using qsort() to sort cListBase lists 2004-11-01 10:40:38 +01:00
Klaus Schmidinger
5ed57fa1c5 The list of recordings is now kept statically in memory 2004-06-13 20:26:51 +02:00
Klaus Schmidinger
5aacc51c14 Single shot timers and events now show the day of week 2004-05-22 13:23:22 +02:00
Klaus Schmidinger
7f9d14ee8b The actual transponder data is now taken from the NIT 2004-01-11 15:54:37 +01:00
Klaus Schmidinger
c7849b14a7 Using 'Doxygen' to generate source code documentation 2002-12-15 15:36:02 +01:00
Klaus Schmidinger
7fcfd58f3c Deactivated some templates in in case some plugin needs to use the STL 2002-11-30 12:51:45 +01:00
Klaus Schmidinger
9fee2b67ab First step towards a 'unique channel ID' 2002-11-10 15:50:21 +01:00
Klaus Schmidinger
ab4ceb29a0 Implemented gaps in channel numbering 2002-10-19 15:33:37 +02:00
Klaus Schmidinger
1b396902e4 Skipping unavailable channels when switching with 'Up' and 'Down' keys 2002-09-08 11:46:53 +02:00
Klaus Schmidinger
470415ad23 Using cPoller instead of NeedsData 2002-08-16 09:22:29 +02:00
Klaus Schmidinger
9a1a16f3d4 Consistently using malloc/free and new/delete 2002-08-11 13:32:23 +02:00
Klaus Schmidinger
a4bfddd2f9 Totally rearranged device/player/recorder structures 2002-06-16 12:57:31 +02:00
Klaus Schmidinger
9f9d6a8a93 Implemented cStatusMonitor to allow plugins to set up a status monitor 2002-05-19 15:50:11 +02:00
Klaus Schmidinger
d4893ad1fe Improved the [eid]syslog() macros 2002-05-13 16:35:49 +02:00
Klaus Schmidinger
2cc450a67c Added 'insert' capabilities to cList 2002-05-12 14:46:46 +02:00
Klaus Schmidinger
0fac78954c Avoiding ambiguities in the cList template class in case one defines a 'list of lists' 2002-05-11 08:42:30 +02:00
Klaus Schmidinger
a87e7625dd Implemented the 'First day' parameter for repeating timers 2002-02-17 13:05:05 +01:00
Klaus Schmidinger
deb9f88710 Implemented TITLE and EPISODE keywords 2002-02-03 15:55:04 +01:00
Klaus Schmidinger
ddec0a101b Changed the [dei]syslog macros to use var args; fixed error handling in establishing an SVDRP connection 2002-02-02 13:44:24 +01:00
Klaus Schmidinger
28e54bc648 The 'Main' menu now displays the used disk space in the title 2002-01-27 13:11:23 +01:00
Klaus Schmidinger
503c803b8d Fixed handling file names that contain single quotes or dollar signs in calls to external commands 2002-01-26 12:04:32 +01:00
Klaus Schmidinger
305abd449f Now using 'ftw()' instead of an external 'find' to collect recordings 2002-01-20 16:47:09 +01:00
Klaus Schmidinger
a0d04288c6 Lock file for accessing the video directory 2001-09-30 10:38:06 +02:00
Klaus Schmidinger
14992a8037 EPG info is now updated if the contents changes but the ID remains the same 2001-09-22 13:07:43 +02:00
Klaus Schmidinger
6ceefaf85f Better error handling when writing configuration files 2001-09-16 08:57:58 +02:00
Klaus Schmidinger
e425cb9434 Changed size of all parse buffers to 10KB 2001-09-14 14:35:40 +02:00
Klaus Schmidinger
5513529419 Implemented replay mode display 2001-09-14 14:06:43 +02:00
Klaus Schmidinger
6f68910828 Sorting timers in the 'Timers' menu 2001-08-26 14:17:20 +02:00
Klaus Schmidinger
14d3933d91 The menus and the channel display now show the current date and time 2001-08-25 13:27:26 +02:00
Klaus Schmidinger
e994e3a4fe Implemented EPG bugfixing 2001-08-17 13:19:10 +02:00
Klaus Schmidinger
000ce0cf21 Made I/O more robust by handling EINTR 2001-08-12 15:22:48 +02:00
Klaus Schmidinger
8e99289b55 Implemented SpinUpDisk() 2001-08-11 11:15:41 +02:00
Klaus Schmidinger
c40e4eb96e Converted to the new API plus several small enhancements 2001-06-02 10:47:40 +02:00
Klaus Schmidinger
ab626eecd3 SVDRP now also works with clients that don't do line buffering 2001-04-01 14:13:42 +02:00
Klaus Schmidinger
80a42f1300 Removing empty directories 2001-02-11 14:53:44 +01:00
Klaus Schmidinger
297e727a59 Implemented safe writing of config files 2001-01-13 15:36:31 +01:00
Klaus Schmidinger
4e354bc9a0 Implemented 'on disk editing' 2000-12-28 12:57:16 +01:00
Klaus Schmidinger
6b0658a977 Switched to PES recording 2000-12-08 16:23:32 +01:00
Klaus Schmidinger
5e272f9065 The 'Schedule' button now shows the schedule of the current channel in the 'Now/Next' menu 2000-11-12 16:48:50 +01:00
Klaus Schmidinger
54a2e99c7b Implemented 'Commands' menu 2000-11-11 16:38:41 +01:00
Klaus Schmidinger
e6999e9b3a Implemented 'Schedules' menu 2000-10-29 13:17:22 +01:00