]> git.ipfire.org Git - thirdparty/tvheadend.git/log
thirdparty/tvheadend.git
13 years agowebui: started work on new idnode editor panel
Adam Sutton [Mon, 10 Jun 2013 09:00:46 +0000 (10:00 +0100)] 
webui: started work on new idnode editor panel

13 years agowebui: added full famfam icon set to vendor and linked required
Adam Sutton [Mon, 10 Jun 2013 08:59:35 +0000 (09:59 +0100)] 
webui: added full famfam icon set to vendor and linked required

this has added one new icon, and replaced 4, some icons do not exist
in famfam and so have been left in place.

13 years agoservice: don't use service instance if its in error state
Adam Sutton [Sun, 9 Jun 2013 11:45:28 +0000 (12:45 +0100)] 
service: don't use service instance if its in error state

This is almost certainly wrong. but it does avoid the livelock problems
I was having and will do until I can get Andreas to take a look.

13 years agolinuxdvb: stop deadlock on dvr thread start/stop
Adam Sutton [Sun, 9 Jun 2013 11:44:35 +0000 (12:44 +0100)] 
linuxdvb: stop deadlock on dvr thread start/stop

13 years agostreaming: assert to catch errnoneous linkage
Adam Sutton [Sun, 9 Jun 2013 11:01:36 +0000 (12:01 +0100)] 
streaming: assert to catch errnoneous linkage

13 years agolinuxdvb: some useful debug
Adam Sutton [Sun, 9 Jun 2013 11:01:25 +0000 (12:01 +0100)] 
linuxdvb: some useful debug

13 years agompegts: ensure that init scan timer is stopped when cancelling.
Adam Sutton [Sat, 8 Jun 2013 12:07:44 +0000 (13:07 +0100)] 
mpegts: ensure that init scan timer is stopped when cancelling.

THis happens when a sub kicks the mux out and caused an assert() on
bad scan status (at timeout).

13 years agompegts: sorted some mistakes in mux tuning and also service enumeration
Adam Sutton [Sat, 8 Jun 2013 11:53:10 +0000 (12:53 +0100)] 
mpegts: sorted some mistakes in mux tuning and also service enumeration

Added automatic mpegts_input instance numbering as required for service
enumeration.

13 years agotvhlog: add option to display the thread ID in log messages
Adam Sutton [Sat, 8 Jun 2013 11:49:54 +0000 (12:49 +0100)] 
tvhlog: add option to display the thread ID in log messages

13 years agoservice: updated debug subsys to lower case for consistency
Adam Sutton [Sat, 8 Jun 2013 11:25:46 +0000 (12:25 +0100)] 
service: updated debug subsys to lower case for consistency

13 years agompegts: sort out tuning of muxes from multiple points
Adam Sutton [Sat, 8 Jun 2013 11:24:35 +0000 (12:24 +0100)] 
mpegts: sort out tuning of muxes from multiple points

There is now a common routine for starting a mux instance, it is assumed
that certain checks have already been performed before calling this
routine. However it does perform a double check that this mux is not
already tuned on another instance. If it is it updates the passed ptr
with that instance.

13 years agotvhlog: fix stupid typo in subsys processing
Adam Sutton [Fri, 7 Jun 2013 22:10:45 +0000 (23:10 +0100)] 
tvhlog: fix stupid typo in subsys processing

13 years agompegts: remove crazy unbounbed mux arbitration
Adam Sutton [Fri, 7 Jun 2013 21:31:14 +0000 (22:31 +0100)] 
mpegts: remove crazy unbounbed mux arbitration

13 years agompegts: remove deprecated file
Adam Sutton [Sat, 1 Jun 2013 23:04:31 +0000 (00:04 +0100)] 
mpegts: remove deprecated file

13 years agowebui: updated the webui to use new idnode API
Adam Sutton [Fri, 7 Jun 2013 21:05:57 +0000 (22:05 +0100)] 
webui: updated the webui to use new idnode API

This includes generic routines for all pagination, filtering and sorting.

13 years agoidnode: added regexp filtering
Adam Sutton [Fri, 7 Jun 2013 21:06:42 +0000 (22:06 +0100)] 
idnode: added regexp filtering

13 years agoidnode: added new set processing routines
Adam Sutton [Fri, 7 Jun 2013 20:34:24 +0000 (21:34 +0100)] 
idnode: added new set processing routines

This allow a list of arbitrary idnode's to be compiled, including the
ability to filter (based on props and filter config) what gets included
and then a matching sort routine.

This makes generating idnode based grids fairly straight-forward.

13 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

13 years agowebui: more functionality for creating networks
Adam Sutton [Tue, 4 Jun 2013 15:56:56 +0000 (16:56 +0100)] 
webui: more functionality for creating networks

13 years agompegts: added support for creating a network from an input
Adam Sutton [Tue, 4 Jun 2013 15:56:21 +0000 (16:56 +0100)] 
mpegts: added support for creating a network from an input

This won't actually link it, which might need to change.

13 years agompegts: added some additional routines for network setup
Adam Sutton [Tue, 4 Jun 2013 14:20:35 +0000 (15:20 +0100)] 
mpegts: added some additional routines for network setup

13 years agoidnode: starting to add some extensions to idnode/prop
Adam Sutton [Tue, 4 Jun 2013 14:19:06 +0000 (15:19 +0100)] 
idnode: starting to add some extensions to idnode/prop

Want to be able to drive some of the UI (or at least the API) from here
so need a few additional modes of operation.

13 years agowebui: starting to get a slightly more usable idnode grid framework
Adam Sutton [Tue, 4 Jun 2013 10:11:05 +0000 (11:11 +0100)] 
webui: starting to get a slightly more usable idnode grid framework

The layout of the grid and filtering etc. is now auto-setup from the
idnode class definition.

I think I need to extend idnode to allow it to be used more for this
context.

13 years agowebui: some hacked grids to start getting network management going
Adam Sutton [Mon, 3 Jun 2013 20:58:35 +0000 (21:58 +0100)] 
webui: some hacked grids to start getting network management going

13 years agoidnode: allow property list to be written without an object
Adam Sutton [Tue, 4 Jun 2013 10:12:32 +0000 (11:12 +0100)] 
idnode: allow property list to be written without an object

This allows the "class" to be written out without the need for an
instanatiation. Useful for auto-generating grid layouts for a given
object type.

13 years agoidnode: some additions to help getting individual values from idnode's
Adam Sutton [Mon, 3 Jun 2013 20:57:26 +0000 (21:57 +0100)] 
idnode: some additions to help getting individual values from idnode's

13 years agofilebundle: follow symlinks on the local filesystem
Adam Sutton [Mon, 3 Jun 2013 16:12:50 +0000 (17:12 +0100)] 
filebundle: follow symlinks on the local filesystem

13 years agowebui: link extjs back into the vendor directory
Adam Sutton [Tue, 4 Jun 2013 10:12:14 +0000 (11:12 +0100)] 
webui: link extjs back into the vendor directory

13 years agowebui: restructure webui/extjs source files
Adam Sutton [Mon, 3 Jun 2013 16:11:01 +0000 (17:11 +0100)] 
webui: restructure webui/extjs source files

I want to keep the 3rd-party packages away from the main source
where possible.

13 years agowebui: a VERY hacked list of networks, muxes and services
Adam Sutton [Mon, 3 Jun 2013 10:23:42 +0000 (11:23 +0100)] 
webui: a VERY hacked list of networks, muxes and services

13 years agompegts: do not set NID from PSI, this is used to limit NIT scanning
Adam Sutton [Sun, 2 Jun 2013 22:33:43 +0000 (23:33 +0100)] 
mpegts: do not set NID from PSI, this is used to limit NIT scanning

13 years agompegts: ensure that we check stuff is emabled
Adam Sutton [Sun, 2 Jun 2013 20:45:36 +0000 (21:45 +0100)] 
mpegts: ensure that we check stuff is emabled

Otherwise starting on a debug system sends TVH into a tailspin. Though
this is another indication that some bounding of mm_start_mux is required!

13 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'

13 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.

13 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

13 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)

13 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.

13 years agompegts: minor debug formatting correction
Adam Sutton [Sat, 1 Jun 2013 22:58:39 +0000 (23:58 +0100)] 
mpegts: minor debug formatting correction

13 years agolinuxdvb: fix some mistakes in frontend tuning
Adam Sutton [Sat, 1 Jun 2013 22:27:17 +0000 (23:27 +0100)] 
linuxdvb: fix some mistakes in frontend tuning

13 years agolinuxdvb: updated tuning/pid filtering code
Adam Sutton [Sat, 1 Jun 2013 22:03:17 +0000 (23:03 +0100)] 
linuxdvb: updated tuning/pid filtering code

All services/tables should now be opened using PES filters if the
tuner is not in full mux mode.

13 years agolinuxdvb: add complete (ish) v3 and S2 tuning calls
Adam Sutton [Sat, 1 Jun 2013 20:43:18 +0000 (21:43 +0100)] 
linuxdvb: add complete (ish) v3 and S2 tuning calls

This still doesn't include any code to handle DVB-S, that needs further
thought on how best to configure.

13 years agompegts: starting to tidy up input class
Adam Sutton [Sat, 1 Jun 2013 19:51:10 +0000 (20:51 +0100)] 
mpegts: starting to tidy up input class

13 years agolinuxdvb: fix service configuration loading
Adam Sutton [Sat, 1 Jun 2013 16:24:20 +0000 (17:24 +0100)] 
linuxdvb: fix service configuration loading

This is what was causing the duplicate service entries, it was
simply not loading the old configuration properly and thus creating
new entries.

13 years agompegts: fix scanning issue and lfe display name
Adam Sutton [Sat, 1 Jun 2013 13:32:40 +0000 (14:32 +0100)] 
mpegts: fix scanning issue and lfe display name

Still have a problem with dup services being created when scanning
with multiple adapters.

13 years agompegts: fix display name bug and looks like mux arbitration is currently still broken
Adam Sutton [Sat, 1 Jun 2013 13:07:01 +0000 (14:07 +0100)] 
mpegts: fix display name bug and looks like mux arbitration is currently still broken

13 years agompegts: correct some types now I have added PT_U16
Adam Sutton [Sat, 1 Jun 2013 12:46:01 +0000 (13:46 +0100)] 
mpegts: correct some types now I have added PT_U16

13 years agompegts linuxdvb: loads of tidying up of network/mux code
Adam Sutton [Sat, 1 Jun 2013 12:40:29 +0000 (13:40 +0100)] 
mpegts linuxdvb: loads of tidying up of network/mux code

13 years agodvbpsi: tidied up some of the debug
Adam Sutton [Sat, 1 Jun 2013 11:33:58 +0000 (12:33 +0100)] 
dvbpsi: tidied up some of the debug

13 years agotvhlog: allow independent trace/debug subsystems to be enabled
Adam Sutton [Sat, 1 Jun 2013 11:32:51 +0000 (12:32 +0100)] 
tvhlog: allow independent trace/debug subsystems to be enabled

13 years agolinuxdvb: new service file
Adam Sutton [Sat, 1 Jun 2013 10:58:18 +0000 (11:58 +0100)] 
linuxdvb: new service file

13 years agompegts: fixed some problems with service discovery
Adam Sutton [Fri, 31 May 2013 22:55:43 +0000 (23:55 +0100)] 
mpegts: fixed some problems with service discovery

13 years agoservice: fix some mistakes in service saving
Adam Sutton [Fri, 31 May 2013 20:48:59 +0000 (21:48 +0100)] 
service: fix some mistakes in service saving

13 years agoservice: trying to sort the service saving
Adam Sutton [Fri, 31 May 2013 20:45:29 +0000 (21:45 +0100)] 
service: trying to sort the service saving

13 years agoprop: added some extra sized types for clarity
Adam Sutton [Fri, 31 May 2013 19:43:17 +0000 (20:43 +0100)] 
prop: added some extra sized types for clarity

In particular I wanted to be able to use u16, as this is commonly
used within the mpegts code for various fields.

13 years agolinuxdvb: stop the correct mux!
Adam Sutton [Fri, 31 May 2013 19:18:49 +0000 (20:18 +0100)] 
linuxdvb: stop the correct mux!

13 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

13 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.

13 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

13 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).

13 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'

13 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

13 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

13 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

13 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.

13 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.

13 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'

13 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.

13 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.

13 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.

13 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.

13 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)

13 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)

13 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'

13 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.

13 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

13 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'

13 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

13 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

13 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)

13 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.

13 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.

13 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.

13 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

13 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

13 years agolinuxdvb: started to add service saving (very rough)
Adam Sutton [Thu, 30 May 2013 21:30:16 +0000 (22:30 +0100)] 
linuxdvb: started to add service saving (very rough)

13 years agolinuxdvb: mux scanning is now working and I will not re-run unless reqd
Adam Sutton [Thu, 30 May 2013 20:47:42 +0000 (21:47 +0100)] 
linuxdvb: mux scanning is now working and I will not re-run unless reqd

13 years agompegts linuxdvb: starting to get more complete config load/save
Adam Sutton [Thu, 30 May 2013 19:55:11 +0000 (20:55 +0100)] 
mpegts linuxdvb: starting to get more complete config load/save

13 years agompegts linuxdvb: starting to get working scanning on DVB-T
Adam Sutton [Thu, 30 May 2013 15:09:47 +0000 (16:09 +0100)] 
mpegts linuxdvb: starting to get working scanning on DVB-T

Moved DVB mux config into dvb_support
Updated table processing to include proper section tracking
Fixed some problem in the MPEG-TS core
Updates to get scanning working in LinuxDVB

13 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'

13 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'

13 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'

13 years agolinuxdvb: starting to see data input working
Adam Sutton [Wed, 29 May 2013 13:22:22 +0000 (14:22 +0100)] 
linuxdvb: starting to see data input working

there are a lot of hacks in at the moment, need to go through and tidy
everything up.

13 years agompegts linuxdvb: add routine to create mmi's on the fly
Adam Sutton [Tue, 28 May 2013 15:27:09 +0000 (16:27 +0100)] 
mpegts linuxdvb: add routine to create mmi's on the fly

13 years agolinuxdvb: starting to add network/input connection
Adam Sutton [Sun, 26 May 2013 20:02:17 +0000 (21:02 +0100)] 
linuxdvb: starting to add network/input connection

Still just early stages, but should be able to start thinking about
getting something tuning soon.

13 years agolinuxdvb: starting to get config load/save for device tree
Adam Sutton [Sat, 25 May 2013 20:46:37 +0000 (21:46 +0100)] 
linuxdvb: starting to get config load/save for device tree

I think eventually I will re-work this to one file per entry similar
to the other trees (like network). But this will do for now.

13 years agolinuxdvb: starting to add network/mux information
Adam Sutton [Fri, 24 May 2013 20:20:56 +0000 (21:20 +0100)] 
linuxdvb: starting to add network/mux information

13 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'

13 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

13 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.

13 years agofilebundle: correct possible bug with fb_scandir() on some FSs
Adam Sutton [Fri, 24 May 2013 15:40:30 +0000 (16:40 +0100)] 
filebundle: correct possible bug with fb_scandir() on some FSs