Commit Graph

150 Commits

Author SHA1 Message Date
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
Klaus Schmidinger 81cc592c33 Fixed calling close(-1) in cUnbufferedFile::Close() 2009-05-31 11:47:05 +02:00
Klaus Schmidinger 0c5374ce7d Added a typecast in cUnbufferedFile::Write() to avoid an error message when compiling on 64 bit systems 2009-01-16 14:31:26 +01:00
Klaus Schmidinger 7de7ede26f The recording format is now Transport Stream 2009-01-06 14:41:11 +01:00
Klaus Schmidinger f040eed489 Fixed a signed character used as index in cBase64Encoder::NextLine() 2008-03-05 17:25:44 +01:00
Klaus Schmidinger ff04bc72fd Fixed handling 3 and 4 byte UTF-8 symbols in Utf8CharGet() 2008-02-29 13:23:02 +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 47ea5cb1d0 Fixed detecting directories in cFileNameList::Load() 2008-02-10 12:41:18 +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 6f76e10038 cTimeMs now uses the monotonic clock, if available 2007-12-27 15:58:18 +01:00
Klaus Schmidinger 612bbc0e06 Added a missing '.' to the date returned by DayDateTime() 2007-11-03 15:36:41 +01:00
Klaus Schmidinger 929d3e9ba2 Fixed handling reallocated memory in cCharSetConv::Convert() 2007-10-13 12:03:39 +02:00
Klaus Schmidinger 0f7a4af168 Switched I18N to gettext 2007-08-11 12:39:06 +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 bd36fb5111 Improved numdigits(), isnumber() and strreplace() 2007-07-20 14:25:46 +02:00
Klaus Schmidinger 57c2b211e4 Fixed handling single byte characters >0x7F in Utf8ToArray() 2007-07-20 13:56:38 +02:00
Klaus Schmidinger c9094aad18 Fixed a buffer overflow in initializing the system character table 2007-07-20 12:31:38 +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 d1934a7cfd Using nl_langinfo(CODESET) to determine the local codeset to use; libsi uses canonical codeset names 2007-06-15 13:25:35 +02:00
Klaus Schmidinger 1f7c70cd49 Fixed a crash in i18n character set conversion 2007-06-15 13:01:18 +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 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 1c3acf28af No longer stopping removing empty directories if an error occurs 2006-08-12 13:32:06 +02:00
Klaus Schmidinger 9fe7b98cdb Fixed handling relative link targets in the ReadLink() function 2006-06-17 09:48:50 +02:00
Klaus Schmidinger af9266d21c Fixed calculating the cache size in cUnbufferedFile::Read() 2006-05-26 10:13:48 +02:00
Klaus Schmidinger 44878cdb6c Fixed several spelling errors 2006-04-21 15:15:18 +02:00
Klaus Schmidinger e84a565bfa Stripped some trailing whitespace 2006-04-17 12:19:31 +02:00
Klaus Schmidinger 2eab16a310 Fixed cReadLine::Read() for lines that end with the infamous "\r\n" 2006-03-19 12:28:16 +01:00
Klaus Schmidinger 204f4a322e Further improvements to cUnbufferedFile 2006-02-05 11:06:47 +01:00
Klaus Schmidinger 116abbe05e Improved cUnbufferedFile 2006-02-04 14:12:17 +01:00
Klaus Schmidinger c60129ed78 Improved NULL checking in strreplace() 2006-01-20 14:02: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 0676448937 Added a leading '0' to the day in the DayDateTime() function 2006-01-15 14:35:14 +01:00
Klaus Schmidinger 2d863532cc Cleaned up some trailing white space 2006-01-08 11:44:37 +01:00
Klaus Schmidinger bc269db4fc Disabled the use of fadvise in cUnbufferedFile because there have been several reports that it causes more problems than it solves 2006-01-05 11:32:32 +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 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 259ed3055e Fixed a memory leak in cString::operator=() 2005-11-04 14:27:51 +01:00
Klaus Schmidinger 52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00