Commit graph

3149 commits

Author SHA1 Message Date
Bernhard Froehlich
c1193e81f0 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
2013-05-08 15:19:45 +02:00
Bernhard Froehlich
303f92a61b Add kqueue support and make epoll optional. 2013-05-08 15:19:39 +02:00
Bernhard Froehlich
356917f9e2 Add kqueue support and make epoll optional. 2013-05-08 15:18:32 +02:00
Bernhard Froehlich
27e52c5c6f Fix IPv4 multicasting on FreeBSD and make IPv6 multicasting optional
because it's not yet supported on FreeBSD.
2013-05-04 16:34:03 +02:00
Bernhard Froehlich
006a1793b2 __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'
2013-05-04 15:30:48 +02:00
Bernhard Froehlich
3de6b0cbe1 Use internal tvh_strdupa() because strdupa() is GNU only. 2013-05-04 15:10:04 +02:00
Bernhard Froehlich
f0ec040cf2 Add sendfile(2) support for FreeBSD. 2013-05-04 15:08:14 +02:00
Bernhard Froehlich
b94257e50b stime(2) is only available on Linux so make it optional. 2013-05-04 14:59:52 +02:00
Bernhard Froehlich
0efd76a2a6 Dumping NGREG in traphandler only if it is supported by the platform. 2013-05-04 14:57:29 +02:00
Bernhard Froehlich
7e92397f2c 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)
2013-05-04 14:32:57 +02:00
Bernhard Froehlich
f42c7d4639 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)
2013-05-04 14:30:19 +02:00
Bernhard Froehlich
f1c7c87c93 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'
2013-05-04 14:25:59 +02:00
Bernhard Froehlich
72210b2cdb Read timezone from gettimeofday() to not have to rely on an globally set timezone variable. 2013-05-04 14:24:04 +02:00
Bernhard Froehlich
e5f9d020ea Add missing include for FreeBSD which has AF_INET6 defined in sys/socket.h 2013-05-04 14:22:18 +02:00
Bernhard Froehlich
0783ecee9e 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'
2013-05-04 14:20:29 +02:00
Bernhard Froehlich
23ec229b7f Remove unused sys/epoll.h includes 2013-05-04 14:16:33 +02:00
Bernhard Froehlich
0d38f0c860 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
2013-05-04 14:10:42 +02:00
Bernhard Froehlich
c127710cd5 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)
2013-05-04 14:04:08 +02:00
Bernhard Froehlich
51ca7c6c55 Avoid "install -D" because the flag is not available on FreeBSD. 2013-05-04 13:59:54 +02:00
Bernhard Froehlich
8d814e9b51 Enable SSL per default on FreeBSD because libssl is in base so it's always available. 2013-05-04 13:57:34 +02:00
Bernhard Froehlich
7fe66a47ef Add kqueue option and allow to disable epoll. 2013-05-04 13:56:24 +02:00
Bernhard Froehlich
06824215e4 Add PLATFORM_* define to config.h to allow supporting non Linux platforms. 2013-05-04 13:54:12 +02:00
Adam Sutton
a2ccbb2de6 support: remove natty and add raring to the build list 2013-04-22 10:06:58 +01:00
Adam Sutton
143128c708 Fix #1703 - tvhlog: took too many liberties with previous va_list fix 2013-04-19 12:46:17 +01:00
Adam Sutton
341618477e Fix #1682 - support: version script outputs something even if .git is missing 2013-04-18 15:29:58 +01:00
Adam Sutton
c83b0cba2f dvb: remove the create only tv/radio services, this was a bad idea! 2013-04-18 15:21:59 +01:00
Adam Sutton
d4883d9d6b docs: some minor documentation updates 2013-04-18 13:25:14 +01:00
Adam Sutton
89b18c05ca docs: update documentation with new domain name and paypal link 2013-04-18 13:02:22 +01:00
Adam Sutton
1a95003b24 tvhlog: correct stupid error in va_list processing 2013-04-18 12:03:24 +01:00
Adam Sutton
1ed10b2cf2 dvb: add some additional tracing into NIT/SDT parsing 2013-04-18 11:54:39 +01:00
Adam Sutton
99fe1c73a7 tvhlog: fix some problems with hexdump code 2013-04-18 11:54:39 +01:00
Adam Sutton
f442a28b77 tvhlog: some efficiency improvements 2013-04-18 11:54:39 +01:00
Adam Sutton
ed27c4b3dd dvb: attempt to stop bad updates to network info. 2013-04-18 11:54:39 +01:00
Adam Sutton
34e7acc087 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.
2013-04-18 11:54:39 +01:00
Adam Sutton
b672a9da50 tdt: some changes to SDT processing to pick up unknown services 2013-04-18 11:54:39 +01:00
Adam Sutton
3581869d83 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.
2013-04-18 11:54:39 +01:00
John Törblom
cbae62c053 xmltv: fixed episode/season count being off by one. 2013-04-16 13:41:36 +02:00
Adam Sutton
c80088ac23 htsp: bump version number due to imagecache fix 2013-04-15 16:23:10 +01:00
Adam Sutton
82a1edd132 htsp: fix bug causing imagecache file open to crash. 2013-04-15 12:13:44 +01:00
Adam Sutton
9d7e51f9c5 redhat: moved to tvheadend-packaging 2013-04-15 10:15:26 +01:00
virtualdj
9c32585449 Fixes the implicit declaration of function 'llabs' warning when using older gcc versions 2013-04-13 17:59:53 +02:00
Adam Sutton
46704009e1 Issue #1692 - dvb: fix DVB v3 builds 2013-04-11 10:32:56 +01:00
Adam Sutton
aa0e5b1219 init: remove TVH_TRACE option, users can do that one manually 2013-04-10 16:37:53 +01:00
Adam Sutton
c828849620 tvhlog: add UI debug to allow run-time updates to the debugging config 2013-04-10 16:30:13 +01:00
Adam Sutton
da25793bcb Fix some printing errors. 2013-04-10 14:58:13 +01:00
Adam Sutton
36f9bd6652 tvhlog: fix some silly errors. 2013-04-10 11:53:11 +01:00
Adam Sutton
9abf21525a dvr: attempt to stop new DVR code creating false entries 2013-04-10 11:45:32 +01:00
Adam Sutton
f9d9bea214 Merge remote-tracking branch 'origin/pr/268' 2013-04-10 11:34:38 +01:00
Adam Sutton
3d5d13b726 tdt: add trace hexdump to sdt/nit parsers. 2013-04-10 11:32:19 +01:00
Adam Sutton
03ec14e0f5 tvhlog: ignore empty subsys values 2013-04-10 11:31:21 +01:00