summaryrefslogtreecommitdiff
path: root/src/input
AgeCommit message (Collapse)Author
2007-12-19Use a zeroed allocation for buf rather than using memset.Diego 'Flameeyes' Pettenò
2007-12-19Use strcat, delay calculation of resp_len.Diego 'Flameeyes' Pettenò
2007-12-19Remove attribute that is never used.Diego 'Flameeyes' Pettenò
2007-12-19Make auth also a local variable in http_plugin_open.Diego 'Flameeyes' Pettenò
2007-12-19Make proxyauth a variable local to http_plugin_open() function.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F2%15%E8%D0%BC%EE%04Xk%21U%D2%AB%968%0F%15%8A%91E
2007-12-18Merge from 1.1.Darren Salt
2007-12-18Don't treat # in MRLs as literals or URI-decode raw filenames. [Bug 1784272]Darren Salt
2007-12-18Clean up recursive mkdir().Darren Salt
2007-12-18Mark the enctable static.Diego 'Flameeyes' Pettenò
2007-12-18Avoid a multiplication.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf.Diego 'Flameeyes' Pettenò
2007-12-18Use strdup.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use calloc() when allocating an array of elements.Diego 'Flameeyes' Pettenò
2007-12-18Use strndup.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf where possible.Diego 'Flameeyes' Pettenò
2007-12-18Use variable-sized arrays rather than allocated buffers.Diego 'Flameeyes' Pettenò
2007-12-18Use asprintf().Diego 'Flameeyes' Pettenò
2007-12-18Use zeroed allocation instead of memset, and don't zero out a string that is ↵Diego 'Flameeyes' Pettenò
going to be fully sprintf'd.
2007-12-18Use calloc() when the allocated size would be counted by multiplying the ↵Diego 'Flameeyes' Pettenò
size of an item for the number of items.
2007-12-13Mark dvb_mjdtime as static.Diego 'Flameeyes' Pettenò
2007-12-13Make sure that the sign of local variables and parameters of local functions ↵Diego 'Flameeyes' Pettenò
are the same.
2007-12-13Make sourcea bytes buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rmff_dump_pheader accept a bytes buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rmff_dump_header accept a void * parameter for buffer.Diego 'Flameeyes' Pettenò
2007-12-13Make rtsp_read_data accept a void* parameter for buffer.Diego 'Flameeyes' Pettenò
2007-12-11Bump the interface version of the VCD plugin (which got missed earlier).Darren Salt
2007-12-11Bump the input plugins interface version to 18 as they got updated.Diego 'Flameeyes' Pettenò
2007-12-11Merge from 1.2 main branch.Diego 'Flameeyes' Pettenò
2007-12-11Don't use the if(foo) free(foo); construct, as free(NULL); is well defined.Diego 'Flameeyes' Pettenò
2007-12-11Use default_*_class_dispose macro whenever the class dispose function only ↵Diego 'Flameeyes' Pettenò
called free().
2007-12-11Define free() as the default dispose function for plugin classes.Diego 'Flameeyes' Pettenò
Most plugin classes in xine define a dispose function simply to call free(), but free() is ABI-compatible with our dispose functions, so add a macro that allows to pass free() directly as dispose function. It's an opt-in so that no extra conditional is needed, and plugin authors won't forget about providing a dispose function (if they need to).
2007-12-11Use N_() rather than _(), passing the string just once to gettext().Diego 'Flameeyes' Pettenò
This way the gettext code for description does not need to be repeated by every plugin.
2007-12-11Add a textdomain field to allow using a different i18n catalog for the ↵Diego 'Flameeyes' Pettenò
description translation.
2007-12-11Update all input plugins to the new identifier/description interface.Diego 'Flameeyes' Pettenò
2007-12-11Replace get_identifier/get_description functions with strings.Diego 'Flameeyes' Pettenò
This is the start of a new experimental branch, with the first objective being the replacement of the get_description and get_identifier functions with direct-access strings. The reason for this change is to reduce code size and time of execution. By replacing the functions with direct-access strings there is one less call to be done in those cases where the description has to be fetched. The solution is not yet definitive though, there are a couple of problems to take care of: - the use of N_() still makes it easy to internationalise the strings, but it requires for the string to be found on libxine2 catalog, which is not exactly a nice solution for external plugins; - it would be simpler to re-use the id field in plugin_info_t, and then move description there; it should reduce memory usage for the class structures; - I'm not really aware of any reason why get_description and get_identifier were used beside the idea of making i18n simpler. This probably would break a couple of frontends, especially if they have some internal plugins (like post-plugins), so it needs to be reviewed carefully before merging in 1.2 branch. My current goal is to get this in before 1.2 though, rather than waiting for 1.3.
2007-11-25Merge from 1.1.Darren Salt
Some fixups were required for the kfreebsd patch; needs testing. --HG-- rename : src/video_out/libdha/ports.c => contrib/libdha/ports.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c
2007-11-19add support for GNU/kFreeBSDPetr Salinger ext:(%20)
It changes some "defined (__FreeBSD__)" into "defined (__FreeBSD_kernel__)" and "__FreeBSD_version" into "__FreeBSD_kernel_version". The changes are performed on places, where feature of kernel is tested. On some other places, feature of userland/libc is tested, on them "defined (__FreeBSD__)" remains. As proposed, include/configure.h cause __FreeBSD_kernel__ be defined if __FreeBSD__ is defined. --HG-- extra : transplant_source : %25%96K%05%E4Y%B15%94%60%15%FE1%8Ah%26Xy%8C/
2007-11-19Remove internal copies of libcdio and libvcd. This way we don't have to care ↵Diego 'Flameeyes' Pettenò
about bugs in those two on newer versions of operating systems.
2007-11-14Move CRC32 code into a common file (& out of the DVB input & TS demux plugins).Darren Salt
2007-11-14Merge from 1.1.Darren Salt
2007-11-13Missing channels.conf (ATSC)Tom Shield
load_channels was being called without checking the tuner fontend type, so channels.conf could not be decoded. Tested for ATSC only.
2007-11-13Improve the "no channels.conf" message; tidy up local variable initialisation.Darren Salt
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-10Merge from 1.1.Darren Salt
--HG-- rename : src/libxineadec/nsf.c => src/combined/nsf_decoder.c rename : src/demuxers/demux_nsf.c => src/combined/nsf_demuxer.c rename : src/combined/combined_wavpack.c => src/combined/wavpack_combined.c rename : src/combined/combined_wavpack.h => src/combined/wavpack_combined.h rename : src/combined/decoder_wavpack.c => src/combined/wavpack_decoder.c rename : src/combined/demux_wavpack.c => src/combined/wavpack_demuxer.c rename : src/demuxers/demux_ogg.c => src/combined/xine_ogg_demuxer.c rename : src/libxineadec/xine_speex_decoder.c => src/combined/xine_speex_decoder.c rename : src/libxinevdec/xine_theora_decoder.c => src/combined/xine_theora_decoder.c rename : src/libxineadec/xine_vorbis_decoder.c => src/combined/xine_vorbis_decoder.c rename : src/liba52/xine_a52_decoder.c => src/libxineadec/xine_a52_decoder.c rename : src/libdts/xine_dts_decoder.c => src/libxineadec/xine_dts_decoder.c rename : src/libfaad/xine_faad_decoder.c => src/libxineadec/xine_faad_decoder.c rename : src/libmad/xine_mad_decoder.c => src/libxineadec/xine_mad_decoder.c rename : src/libmusepack/xine_musepack_decoder.c => src/libxineadec/xine_musepack_decoder.c
2007-11-10Stop trying to distribute videodev2.h.Darren Salt
2007-11-10Fix detection of last.fm servers.Diego 'Flameeyes' Pettenò
I'm not sure whether they changed the Server response to the current "last.fm proxy streamer" or if depending of what server you hit it answer that rather than the previous "last.fm Streaming Server", so for now just look if the Server response starts with "last.fm", which covers both cases.
2007-11-09Update videodev2.h header with copy from Linux 2.6.23.Diego 'Flameeyes' Pettenò
This file is released under GPL 2 or later that makes it safe for xine to use.
2007-11-09Use system's linux/videodev2.h header file.Diego 'Flameeyes' Pettenò
Please note: on 2.4 systems without the extra V4L2 stack, the header will be missing. As it is, both input_pvr and input_v4l (that still uses the old interface) will be disabled if either header is not found. Further optimisation to just disable PVR on non-V4L2-capable systems might be useful.