]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
12 years agoDescription tag fix 281/head
pete [Sun, 23 Jun 2013 16:05:26 +0000 (19:05 +0300)] 
Description tag fix

12 years agoOnly compare the serieslink field when comparing an event with a serieslink auto...
Dave Chapman [Mon, 17 Jun 2013 21:06:05 +0000 (22:06 +0100)] 
Only compare the serieslink field when comparing an event with a serieslink auto recording.  Previously tvh was also comparing other fields, including title, which broke some serieslink recordings (e.g. if the episodes had unique titles).  Fix by adamsutton.

12 years agolibav: fixed compiling issues with more recent versions of libavcodec
John Törnblom [Fri, 7 Jun 2013 11:11:09 +0000 (13:11 +0200)] 
libav: fixed compiling issues with more recent versions of libavcodec

12 years agoMerge remote-tracking branch 'origin/pr/277'
Adam Sutton [Sun, 2 Jun 2013 10:55:57 +0000 (11:55 +0100)] 
Merge remote-tracking branch 'origin/pr/277'

12 years agoBring the TVH_ARGS variable into the Debian init script 277/head
James Hannah [Sun, 2 Jun 2013 10:30:57 +0000 (11:30 +0100)] 
Bring the TVH_ARGS variable into the Debian init script

This is defined in the Defaults file but then not included in the init
script.

12 years agoFix compile errors for kqueue on FreeBSD.
Bernhard Froehlich [Sun, 2 Jun 2013 10:06:10 +0000 (12:06 +0200)] 
Fix compile errors for kqueue on FreeBSD.

src/tvhpoll.c:127: warning: assignment makes pointer from integer without a cast
src/tvhpoll.c:179: warning: assignment makes integer from pointer without a cast

12 years agoAdd missing includes for FreeBSD.
Bernhard Froehlich [Sun, 2 Jun 2013 10:03:26 +0000 (12:03 +0200)] 
Add missing includes for FreeBSD.

src/tcp.c:38: error: 'AF_INET' undeclared here (not in a function)
src/tcp.c:99: error: 'SOCK_STREAM' undeclared (first use in this function)
src/tcp.c:121: error: 'AF_INET6' undeclared (first use in this function)
src/tcp.c:159: error: 'SOL_SOCKET' undeclared (first use in this function)
src/tcp.c:159: error: 'SO_ERROR' undeclared (first use in this function)

12 years agoMerge remote-tracking branch 'upstream/master' after all FreeBSD
Bernhard Froehlich [Sun, 2 Jun 2013 09:30:50 +0000 (11:30 +0200)] 
Merge remote-tracking branch 'upstream/master' after all FreeBSD
related changes have been merged from upstream.

12 years agotvhpoll: update all code to use new tvhpoll wrapper rather than epoll
Bernhard Froehlich [Sat, 4 May 2013 14:45:51 +0000 (16:45 +0200)] 
tvhpoll: update all code to use new tvhpoll wrapper rather than epoll

12 years agotvhpoll: corrected some mistakes and expanded usage for user data.
Adam Sutton [Fri, 31 May 2013 13:10:28 +0000 (14:10 +0100)] 
tvhpoll: corrected some mistakes and expanded usage for user data.

12 years agotvhpoll: Fix kqueue parts of the poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:48:40 +0000 (11:48 +0200)] 
tvhpoll: Fix kqueue parts of the poll wrapper API

12 years agotvhpoll: new epoll/kqueue wrapper API
Adam Sutton [Wed, 29 May 2013 22:39:42 +0000 (23:39 +0100)] 
tvhpoll: new epoll/kqueue wrapper API

This is to ease some of the BSD porting work that has been done and
keep the core code cleaner.

Credit to Bernhard Froehlich <decke@bluelife.at>, for the original
kqueue code that was #if'd inline with epoll code (now hidden as a
result of tidying up commits).

12 years agoFix warning because of wrong time_t format specifier on FreeBSD i386
Bernhard Froehlich [Fri, 24 May 2013 19:34:53 +0000 (21:34 +0200)] 
Fix warning because of wrong time_t format specifier on FreeBSD i386
and fix places where format specifier is hardcoded for time_t and
correctly use PRItime_t instead.

src/epg.c:1412: warning: format '%ld' expects type 'long int', but argument 7 has type 'time_t'
src/dvr/dvr_rec.c:596: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
src/epggrab/module/eit.c:536: warning: format '%lu' expects type 'long unsigned int', but argument 8 has type 'time_t'

12 years agoFix printf format modifier to build properly with CLANG.
User Decke [Mon, 6 May 2013 13:57:14 +0000 (15:57 +0200)] 
Fix printf format modifier to build properly with CLANG.

src/htsp_server.c:485:55: error: format specifies type 'short' but the argument has type 'int' [-Werror,-Wformat]
        p += snprintf(url+p, sizeof(url)-p, "%s%s%s:%hd%s",
                                                    ~~^
                                                    %d

12 years agoFix sendfile() call on FreeBSD/i386
User Decke [Mon, 6 May 2013 11:05:58 +0000 (13:05 +0200)] 
Fix sendfile() call on FreeBSD/i386

src/webui/webui.c:885: warning: passing argument 6 of 'sendfile' from incompatible pointer type

12 years agoAdd missing include for ssize_t on FreeBSD.
Bernhard Froehlich [Sun, 5 May 2013 12:49:47 +0000 (14:49 +0200)] 
Add missing include for ssize_t on FreeBSD.

src/tvhlog.h:48: error: expected declaration specifiers or '...' before 'ssize_t'
src/tvhlog.c:244: error: conflicting types for '_tvhlog_hexdump'
src/tvhlog.h:48: error: previous declaration of '_tvhlog_hexdump' was here

12 years agoAdd kqueue option and allow to disable epoll.
Bernhard Froehlich [Sat, 4 May 2013 11:56:24 +0000 (13:56 +0200)] 
Add kqueue option and allow to disable epoll.

12 years agoFix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
Bernhard Froehlich [Sat, 4 May 2013 14:34:03 +0000 (16:34 +0200)] 
Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.

12 years ago__u8 is not available on FreeBSD so use u_int8_t instead
Bernhard Froehlich [Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)] 
__u8 is not available on FreeBSD so use u_int8_t instead

tvheadend-3.4/src/dvb/diseqc.h:10: error: expected declaration specifiers or '...' before '__u8'
tvheadend-3.4/src/dvb/diseqc.h:11: error: expected declaration specifiers or '...' before '__u8'

12 years agoUse internal tvh_strdupa() because strdupa() is GNU only.
Bernhard Froehlich [Sat, 4 May 2013 13:10:04 +0000 (15:10 +0200)] 
Use internal tvh_strdupa() because strdupa() is GNU only.

12 years agoAdd sendfile(2) support for FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 13:08:14 +0000 (15:08 +0200)] 
Add sendfile(2) support for FreeBSD.

12 years agostime(2) is only available on Linux so make it optional.
Bernhard Froehlich [Sat, 4 May 2013 12:59:52 +0000 (14:59 +0200)] 
stime(2) is only available on Linux so make it optional.

12 years agoDumping NGREG in traphandler only if it is supported by the platform.
Bernhard Froehlich [Sat, 4 May 2013 12:57:29 +0000 (14:57 +0200)] 
Dumping NGREG in traphandler only if it is supported by the platform.

12 years agoAdd missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:32:57 +0000 (14:32 +0200)] 
Add missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h

tvheadend-3.4/src/webui/extjs.c: In function 'service_update_iptv':
tvheadend-3.4/src/webui/extjs.c:1748: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1748: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/extjs.c:1748: error: for each function it appears in.)
tvheadend-3.4/src/webui/extjs.c:1749: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c: In function 'build_record_iptv':
tvheadend-3.4/src/webui/extjs.c:1776: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1780: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for FreeBSD which has AF_INET defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)] 
Add missing include for FreeBSD which has AF_INET defined in sys/socket.h

tvheadend-3.4/src/webui/comet.c: In function 'comet_serverIpPort':
tvheadend-3.4/src/webui/comet.c:162: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/comet.c:162: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/comet.c:162: error: for each function it appears in.)
tvheadend-3.4/src/webui/comet.c:164: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for "struct iovec" which is defined in sys/uio.h
Bernhard Froehlich [Sat, 4 May 2013 12:25:59 +0000 (14:25 +0200)] 
Add missing include for "struct iovec" which is defined in sys/uio.h
on FreeBSD and also on Linux.

tvheadend-3.4/src/muxer/tvh/mkmux.c: In function 'mk_write_to_fd':
tvheadend-3.4/src/muxer/tvh/mkmux.c:347: error: invalid application of 'sizeof' to incomplete type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: dereferencing pointer to incomplete type
cc1: warnings being treated as errors
tvheadend-3.4/src/muxer/tvh/mkmux.c:358: warning: implicit declaration of function 'writev'
tvheadend-3.4/src/muxer/tvh/mkmux.c:364: error: invalid use of undefined type 'struct iovec'

12 years agoRead timezone from gettimeofday() to not have to rely on an globally set timezone...
Bernhard Froehlich [Sat, 4 May 2013 12:24:04 +0000 (14:24 +0200)] 
Read timezone from gettimeofday() to not have to rely on an globally set timezone variable.

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:22:18 +0000 (14:22 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined in sys/socket.h

12 years agoAdd missing include for accept(2) on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:20:29 +0000 (14:20 +0200)] 
Add missing include for accept(2) on FreeBSD.

tvheadend-3.4/src/epggrab/module.c: In function '_epggrab_socket_thread':
tvheadend-3.4/src/epggrab/module.c:357: warning: implicit declaration of function 'accept'
tvheadend-3.4/src/epggrab/module.c: In function 'epggrab_module_enable_socket':
tvheadend-3.4/src/epggrab/module.c:382: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/epggrab/module.c:382: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:382: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/epggrab/module.c:382: error: for each function it appears in.)
tvheadend-3.4/src/epggrab/module.c:392: warning: implicit declaration of function 'socket'
tvheadend-3.4/src/epggrab/module.c:392: error: 'AF_UNIX' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:392: error: 'SOCK_STREAM' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:398: warning: implicit declaration of function 'bind'
tvheadend-3.4/src/epggrab/module.c:406: warning: implicit declaration of function 'listen'

12 years agoRemove unused sys/epoll.h includes
Bernhard Froehlich [Sat, 4 May 2013 12:16:33 +0000 (14:16 +0200)] 
Remove unused sys/epoll.h includes

12 years agoAdd missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:10:42 +0000 (14:10 +0200)] 
Add missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.

tvheadend-3.4/src/cwc.c: In function 'cwc_session':
tvheadend-3.4/src/cwc.c:1139: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/cwc.c:1139: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/cwc.c:1139: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/cwc.c:1139: error: for each function it appears in.)
tvheadend-3.4/src/cwc.c: In function 'cwc_entry_update':
tvheadend-3.4/src/cwc.c:2369: error: 'SHUT_RDWR' undeclared

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined
Bernhard Froehlich [Sat, 4 May 2013 12:04:08 +0000 (14:04 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined
in sys/socket.h

tvheadend-3.4/src/access.c: In function 'netmask_verify':
tvheadend-3.4/src/access.c:164: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:164: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c:164: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/access.c:164: error: for each function it appears in.)
tvheadend-3.4/src/access.c:177: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:177: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/access.c:193: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c: In function 'access_set_prefix':
tvheadend-3.4/src/access.c:422: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c: In function 'access_record_build':
tvheadend-3.4/src/access.c:554: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAvoid "install -D" because the flag is not available on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 11:59:54 +0000 (13:59 +0200)] 
Avoid "install -D" because the flag is not available on FreeBSD.

12 years agoEnable SSL per default on FreeBSD because libssl is in base so it's always available.
Bernhard Froehlich [Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)] 
Enable SSL per default on FreeBSD because libssl is in base so it's always available.

12 years agoAdd PLATFORM_* define to config.h to allow supporting non Linux platforms.
Bernhard Froehlich [Sat, 4 May 2013 11:54:12 +0000 (13:54 +0200)] 
Add PLATFORM_* define to config.h to allow supporting non Linux platforms.

12 years agoFix kqueue parts of the poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:48:40 +0000 (11:48 +0200)] 
Fix kqueue parts of the poll wrapper API

12 years agoMerge WIP implementation for poll wrapper API
Bernhard Froehlich [Fri, 31 May 2013 09:46:21 +0000 (11:46 +0200)] 
Merge WIP implementation for poll wrapper API

Obtained from: https://github.com/adamsutton/tvheadend/commit/533a6cc9185396acbee743a8e11ad9b0aec535c6

12 years agoMerge remote-tracking branch 'origin/pr/276'
Adam Sutton [Wed, 29 May 2013 22:44:43 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/276'

12 years agoMerge remote-tracking branch 'origin/pr/275'
Adam Sutton [Wed, 29 May 2013 22:44:39 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/275'

12 years agoMerge remote-tracking branch 'origin/pr/273'
Adam Sutton [Wed, 29 May 2013 22:44:24 +0000 (23:44 +0100)] 
Merge remote-tracking branch 'origin/pr/273'

12 years agoFix warning because of wrong time_t format specifier on FreeBSD i386
Bernhard Froehlich [Fri, 24 May 2013 19:34:53 +0000 (21:34 +0200)] 
Fix warning because of wrong time_t format specifier on FreeBSD i386
and fix places where format specifier is hardcoded for time_t and
correctly use PRItime_t instead.

src/epg.c:1412: warning: format '%ld' expects type 'long int', but argument 7 has type 'time_t'
src/dvr/dvr_rec.c:596: warning: format '%ld' expects type 'long int', but argument 4 has type 'time_t'
src/epggrab/module/eit.c:536: warning: format '%lu' expects type 'long unsigned int', but argument 8 has type 'time_t'

12 years agoConvert all #ifdef ENABLE_EPOLL to #if ENABLE_EPOLL
Bernhard Froehlich [Fri, 24 May 2013 17:31:10 +0000 (19:31 +0200)] 
Convert all #ifdef ENABLE_EPOLL to #if ENABLE_EPOLL

12 years agoSync with tvheadend/master and merge in changes.
Bernhard Froehlich [Fri, 24 May 2013 17:03:40 +0000 (19:03 +0200)] 
Sync with tvheadend/master and merge in changes.

12 years agoDo not export the episode URI if it starts with tvh:// - these are just for internal...
Dave Chapman [Thu, 23 May 2013 09:10:34 +0000 (10:10 +0100)] 
Do not export the episode URI if it starts with tvh:// - these are just for internal use within tvh.

12 years agoAdd episodeUri and serieslinkUri to the HTSP eventAdd and eventUpdate messages.
Dave Chapman [Thu, 23 May 2013 08:21:29 +0000 (09:21 +0100)] 
Add episodeUri and serieslinkUri to the HTSP eventAdd and eventUpdate messages.

12 years agohtsp: update the EPG/HTSP hookup to send channelUpdate on next event change.
Adam Sutton [Wed, 22 May 2013 11:53:32 +0000 (12:53 +0100)] 
htsp: update the EPG/HTSP hookup to send channelUpdate on next event change.

Previously this was only being output if the current event was updated.

12 years agoRemove accidental code
Andreas Öman [Wed, 22 May 2013 07:53:27 +0000 (09:53 +0200)] 
Remove accidental code

12 years agoChange status.xml to default xml-style with only one element/tag per line 275/head
CSchlipp [Wed, 22 May 2013 07:49:33 +0000 (09:49 +0200)] 
Change status.xml to default xml-style with only one element/tag per line

Change status.xml to default xml-style with only one element/tag per line.
Makes it a lot more easier to parse the file.

12 years agoHTSP: Add subscriptionFilterStream command
Andreas Öman [Wed, 22 May 2013 07:47:25 +0000 (09:47 +0200)] 
HTSP: Add subscriptionFilterStream command

12 years agoThe lists out there set ISO8859-5 encoding for all the channels 276/head
Wojciech Myrda [Wed, 22 May 2013 07:37:20 +0000 (09:37 +0200)] 
The lists out there set ISO8859-5 encoding for all the channels
in the "Sattelite BG" digital platform from 23.5E  however hence
 several of those transponders share their channels with other
platforms this commit sets in only where it is safe meaning where
channels are used by this platform only. To set them for others
would require more testing

12 years agoI have found several ovverrides http://www.ab-forum.info/viewtopic.php?f=147&t=41393
Wojciech Myrda [Wed, 22 May 2013 07:33:29 +0000 (09:33 +0200)] 
I have found several ovverrides http://www.ab-forum.info/viewtopic.php?f=147&t=41393
that help with encoding on the platforms of Easteuropean origin for enigma2 boxes.

This commit sets encoding for Romanian channels from RCS DigiTV

12 years agoMoving skyde overrides to the beggining of the file to sort the list in the
Wojciech Myrda [Wed, 22 May 2013 07:28:34 +0000 (09:28 +0200)] 
Moving skyde overrides to the beggining of the file to sort the list in the
alphabetical order just like sattelites names go and skyde is located on Astra
hence is deserves the place in the start

12 years agoTurkish character encoding override addition based on encoding.conf from
Wojciech Myrda [Wed, 22 May 2013 07:26:06 +0000 (09:26 +0200)] 
Turkish character encoding override addition based on encoding.conf from
http://git.opendreambox.org/?p=enigma2.git;a=summary

12 years agoGreek character encoding override addition based on nonstandard_encoding from IPBox HD
Wojciech Myrda [Wed, 22 May 2013 07:20:37 +0000 (09:20 +0200)] 
Greek character encoding override addition based on nonstandard_encoding from IPBox HD

12 years agoupstream uptodate file
Wojciech Myrda [Wed, 22 May 2013 07:17:16 +0000 (09:17 +0200)] 
upstream uptodate file

12 years agoMerge remote-tracking branch 'dev/master'
Wojciech Myrda [Wed, 22 May 2013 07:10:08 +0000 (09:10 +0200)] 
Merge remote-tracking branch 'dev/master'

Conflicts:
data/conf/charset

12 years agoREADME updated 273/head
Vuolter [Fri, 3 May 2013 13:12:09 +0000 (15:12 +0200)] 
README updated

12 years agoBump HTSP protocol version to 11 for the recent transcoding changes and the addition... htsp/11
Dave Chapman [Mon, 13 May 2013 10:23:26 +0000 (11:23 +0100)] 
Bump HTSP protocol version to 11 for the recent transcoding changes and the addition of the audio_type field

12 years agoAdd saving/loading of audio_type, and also display it in the webui
Dave Chapman [Mon, 13 May 2013 09:39:35 +0000 (10:39 +0100)] 
Add saving/loading of audio_type, and also display it in the webui

12 years agoParse the audio_type field of the iso639_language_descriptor - this indicates if...
Dave Chapman [Mon, 13 May 2013 08:27:01 +0000 (09:27 +0100)] 
Parse the audio_type field of the iso639_language_descriptor - this indicates if the audio stream contains audio description for the hard of hearing.  Use this value when regenerating the PMT for the passthrough muxer, and also include it in the HTSP stream description messages.

12 years agoAdded initial support for transcoding.
John Törblom [Thu, 9 May 2013 19:51:27 +0000 (21:51 +0200)] 
Added initial support for transcoding.

12 years agodvb: fix mistake in NIT processing.
Adam Sutton [Fri, 10 May 2013 14:10:54 +0000 (15:10 +0100)] 
dvb: fix mistake in NIT processing.

This was stopping some DVB-C networks from being properly scanned.

12 years agoFix printf format modifier to build properly with CLANG.
User Decke [Mon, 6 May 2013 13:57:14 +0000 (15:57 +0200)] 
Fix printf format modifier to build properly with CLANG.

src/htsp_server.c:485:55: error: format specifies type 'short' but the argument has type 'int' [-Werror,-Wformat]
        p += snprintf(url+p, sizeof(url)-p, "%s%s%s:%hd%s",
                                                    ~~^
                                                    %d

12 years agoFix sendfile() call on FreeBSD/i386
User Decke [Mon, 6 May 2013 11:05:58 +0000 (13:05 +0200)] 
Fix sendfile() call on FreeBSD/i386

src/webui/webui.c:885: warning: passing argument 6 of 'sendfile' from incompatible pointer type

12 years agoAdd missing include for ssize_t on FreeBSD.
Bernhard Froehlich [Sun, 5 May 2013 12:49:47 +0000 (14:49 +0200)] 
Add missing include for ssize_t on FreeBSD.

src/tvhlog.h:48: error: expected declaration specifiers or '...' before 'ssize_t'
src/tvhlog.c:244: error: conflicting types for '_tvhlog_hexdump'
src/tvhlog.h:48: error: previous declaration of '_tvhlog_hexdump' was here

12 years agoAdd kqueue support and make epoll optional.
Bernhard Froehlich [Sat, 4 May 2013 14:50:45 +0000 (16:50 +0200)] 
Add kqueue support and make epoll optional.

12 years agoAdd kqueue support and make epoll optional.
Bernhard Froehlich [Sat, 4 May 2013 14:45:51 +0000 (16:45 +0200)] 
Add kqueue support and make epoll optional.

12 years agoFix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
Bernhard Froehlich [Sat, 4 May 2013 14:34:03 +0000 (16:34 +0200)] 
Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.

12 years ago__u8 is not available on FreeBSD so use u_int8_t instead
Bernhard Froehlich [Sat, 4 May 2013 13:30:48 +0000 (15:30 +0200)] 
__u8 is not available on FreeBSD so use u_int8_t instead

tvheadend-3.4/src/dvb/diseqc.h:10: error: expected declaration specifiers or '...' before '__u8'
tvheadend-3.4/src/dvb/diseqc.h:11: error: expected declaration specifiers or '...' before '__u8'

12 years agoUse internal tvh_strdupa() because strdupa() is GNU only.
Bernhard Froehlich [Sat, 4 May 2013 13:10:04 +0000 (15:10 +0200)] 
Use internal tvh_strdupa() because strdupa() is GNU only.

12 years agoAdd sendfile(2) support for FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 13:08:14 +0000 (15:08 +0200)] 
Add sendfile(2) support for FreeBSD.

12 years agostime(2) is only available on Linux so make it optional.
Bernhard Froehlich [Sat, 4 May 2013 12:59:52 +0000 (14:59 +0200)] 
stime(2) is only available on Linux so make it optional.

12 years agoDumping NGREG in traphandler only if it is supported by the platform.
Bernhard Froehlich [Sat, 4 May 2013 12:57:29 +0000 (14:57 +0200)] 
Dumping NGREG in traphandler only if it is supported by the platform.

12 years agoAdd missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:32:57 +0000 (14:32 +0200)] 
Add missing include for FreeBSD which has AF_INET and AF_INET6 defined in sys/socket.h

tvheadend-3.4/src/webui/extjs.c: In function 'service_update_iptv':
tvheadend-3.4/src/webui/extjs.c:1748: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1748: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/extjs.c:1748: error: for each function it appears in.)
tvheadend-3.4/src/webui/extjs.c:1749: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c: In function 'build_record_iptv':
tvheadend-3.4/src/webui/extjs.c:1776: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/extjs.c:1780: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for FreeBSD which has AF_INET defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)] 
Add missing include for FreeBSD which has AF_INET defined in sys/socket.h

tvheadend-3.4/src/webui/comet.c: In function 'comet_serverIpPort':
tvheadend-3.4/src/webui/comet.c:162: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/webui/comet.c:162: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/webui/comet.c:162: error: for each function it appears in.)
tvheadend-3.4/src/webui/comet.c:164: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAdd missing include for "struct iovec" which is defined in sys/uio.h
Bernhard Froehlich [Sat, 4 May 2013 12:25:59 +0000 (14:25 +0200)] 
Add missing include for "struct iovec" which is defined in sys/uio.h
on FreeBSD and also on Linux.

tvheadend-3.4/src/muxer/tvh/mkmux.c: In function 'mk_write_to_fd':
tvheadend-3.4/src/muxer/tvh/mkmux.c:347: error: invalid application of 'sizeof' to incomplete type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: invalid use of undefined type 'struct iovec'
tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: dereferencing pointer to incomplete type
cc1: warnings being treated as errors
tvheadend-3.4/src/muxer/tvh/mkmux.c:358: warning: implicit declaration of function 'writev'
tvheadend-3.4/src/muxer/tvh/mkmux.c:364: error: invalid use of undefined type 'struct iovec'

12 years agoRead timezone from gettimeofday() to not have to rely on an globally set timezone...
Bernhard Froehlich [Sat, 4 May 2013 12:24:04 +0000 (14:24 +0200)] 
Read timezone from gettimeofday() to not have to rely on an globally set timezone variable.

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined in sys/socket.h
Bernhard Froehlich [Sat, 4 May 2013 12:22:18 +0000 (14:22 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined in sys/socket.h

12 years agoAdd missing include for accept(2) on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:20:29 +0000 (14:20 +0200)] 
Add missing include for accept(2) on FreeBSD.

tvheadend-3.4/src/epggrab/module.c: In function '_epggrab_socket_thread':
tvheadend-3.4/src/epggrab/module.c:357: warning: implicit declaration of function 'accept'
tvheadend-3.4/src/epggrab/module.c: In function 'epggrab_module_enable_socket':
tvheadend-3.4/src/epggrab/module.c:382: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/epggrab/module.c:382: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:382: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/epggrab/module.c:382: error: for each function it appears in.)
tvheadend-3.4/src/epggrab/module.c:392: warning: implicit declaration of function 'socket'
tvheadend-3.4/src/epggrab/module.c:392: error: 'AF_UNIX' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:392: error: 'SOCK_STREAM' undeclared (first use in this function)
tvheadend-3.4/src/epggrab/module.c:398: warning: implicit declaration of function 'bind'
tvheadend-3.4/src/epggrab/module.c:406: warning: implicit declaration of function 'listen'

12 years agoRemove unused sys/epoll.h includes
Bernhard Froehlich [Sat, 4 May 2013 12:16:33 +0000 (14:16 +0200)] 
Remove unused sys/epoll.h includes

12 years agoAdd missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 12:10:42 +0000 (14:10 +0200)] 
Add missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.

tvheadend-3.4/src/cwc.c: In function 'cwc_session':
tvheadend-3.4/src/cwc.c:1139: warning: implicit declaration of function 'shutdown'
tvheadend-3.4/src/cwc.c:1139: error: 'SHUT_RDWR' undeclared (first use in this function)
tvheadend-3.4/src/cwc.c:1139: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/cwc.c:1139: error: for each function it appears in.)
tvheadend-3.4/src/cwc.c: In function 'cwc_entry_update':
tvheadend-3.4/src/cwc.c:2369: error: 'SHUT_RDWR' undeclared

12 years agoAdd missing include for FreeBSD which has AF_INET6 defined
Bernhard Froehlich [Sat, 4 May 2013 12:04:08 +0000 (14:04 +0200)] 
Add missing include for FreeBSD which has AF_INET6 defined
in sys/socket.h

tvheadend-3.4/src/access.c: In function 'netmask_verify':
tvheadend-3.4/src/access.c:164: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:164: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c:164: error: (Each undeclared identifier is reported only once
tvheadend-3.4/src/access.c:164: error: for each function it appears in.)
tvheadend-3.4/src/access.c:177: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c:177: error: 'AF_INET' undeclared (first use in this function)
tvheadend-3.4/src/access.c:193: error: dereferencing pointer to incomplete type
tvheadend-3.4/src/access.c: In function 'access_set_prefix':
tvheadend-3.4/src/access.c:422: error: 'AF_INET6' undeclared (first use in this function)
tvheadend-3.4/src/access.c: In function 'access_record_build':
tvheadend-3.4/src/access.c:554: error: 'AF_INET6' undeclared (first use in this function)

12 years agoAvoid "install -D" because the flag is not available on FreeBSD.
Bernhard Froehlich [Sat, 4 May 2013 11:59:54 +0000 (13:59 +0200)] 
Avoid "install -D" because the flag is not available on FreeBSD.

12 years agoEnable SSL per default on FreeBSD because libssl is in base so it's always available.
Bernhard Froehlich [Sat, 4 May 2013 11:57:34 +0000 (13:57 +0200)] 
Enable SSL per default on FreeBSD because libssl is in base so it's always available.

12 years agoAdd kqueue option and allow to disable epoll.
Bernhard Froehlich [Sat, 4 May 2013 11:56:24 +0000 (13:56 +0200)] 
Add kqueue option and allow to disable epoll.

12 years agoAdd PLATFORM_* define to config.h to allow supporting non Linux platforms.
Bernhard Froehlich [Sat, 4 May 2013 11:54:12 +0000 (13:54 +0200)] 
Add PLATFORM_* define to config.h to allow supporting non Linux platforms.

12 years agosupport: remove natty and add raring to the build list
Adam Sutton [Mon, 22 Apr 2013 09:06:58 +0000 (10:06 +0100)] 
support: remove natty and add raring to the build list

12 years agoFix #1703 - tvhlog: took too many liberties with previous va_list fix
Adam Sutton [Fri, 19 Apr 2013 11:46:17 +0000 (12:46 +0100)] 
Fix #1703 - tvhlog: took too many liberties with previous va_list fix

12 years agoFix #1682 - support: version script outputs something even if .git is missing
Adam Sutton [Thu, 18 Apr 2013 14:29:34 +0000 (15:29 +0100)] 
Fix #1682 - support: version script outputs something even if .git is missing

12 years agodvb: remove the create only tv/radio services, this was a bad idea!
Adam Sutton [Thu, 18 Apr 2013 14:21:59 +0000 (15:21 +0100)] 
dvb: remove the create only tv/radio services, this was a bad idea!

12 years agodocs: some minor documentation updates
Adam Sutton [Thu, 18 Apr 2013 12:25:14 +0000 (13:25 +0100)] 
docs: some minor documentation updates

12 years agodocs: update documentation with new domain name and paypal link
Adam Sutton [Thu, 18 Apr 2013 12:02:22 +0000 (13:02 +0100)] 
docs: update documentation with new domain name and paypal link

12 years agotvhlog: correct stupid error in va_list processing
Adam Sutton [Thu, 18 Apr 2013 11:03:24 +0000 (12:03 +0100)] 
tvhlog: correct stupid error in va_list processing

12 years agodvb: add some additional tracing into NIT/SDT parsing
Adam Sutton [Wed, 17 Apr 2013 12:15:18 +0000 (13:15 +0100)] 
dvb: add some additional tracing into NIT/SDT parsing

12 years agotvhlog: fix some problems with hexdump code
Adam Sutton [Wed, 17 Apr 2013 12:14:44 +0000 (13:14 +0100)] 
tvhlog: fix some problems with hexdump code

12 years agotvhlog: some efficiency improvements
Adam Sutton [Tue, 16 Apr 2013 20:04:38 +0000 (21:04 +0100)] 
tvhlog: some efficiency improvements

12 years agodvb: attempt to stop bad updates to network info.
Adam Sutton [Sat, 30 Mar 2013 13:01:43 +0000 (13:01 +0000)] 
dvb: attempt to stop bad updates to network info.

12 years agoservices: include info from SDT (for Other services) if they already exist.
Adam Sutton [Tue, 16 Apr 2013 20:50:52 +0000 (21:50 +0100)] 
services: include info from SDT (for Other services) if they already exist.

Services can be added from a variety of other tables which probably indicates
that they are in fact valid TV/Radio services, but we just don't know the
type.

This might help people to map these services manually within TVH.

12 years agotdt: some changes to SDT processing to pick up unknown services
Adam Sutton [Tue, 16 Apr 2013 20:25:56 +0000 (21:25 +0100)] 
tdt: some changes to SDT processing to pick up unknown services

12 years agotdt: ignore other network in NIT this causes havoc with DVB-S networks.
Adam Sutton [Tue, 16 Apr 2013 20:11:11 +0000 (21:11 +0100)] 
tdt: ignore other network in NIT this causes havoc with DVB-S networks.

This is particularly true where the other network is only available
via another orbital position (we could check for this) but it also
causes problems with other transmission types so I think we'll just
ignore for now.