Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-19 | Use asprintf rather than snprintf, make frontend_device a local variable, ↵ | Diego 'Flameeyes' Pettenò | |
and make sure to free the allocated variables on error. | |||
2007-12-19 | Mark the name attribute of Param being a const char *. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Mark content static and const. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Make buffering and enabled static, also use them as array of char array ↵ | Diego 'Flameeyes' Pettenò | |
rather than array of pointers. | |||
2007-12-19 | Typo. | Darren Salt | |
2007-12-19 | Add and use new functions for malloc+memcpy(+NUL-term) fragments. | Darren Salt | |
2007-12-19 | Use a zeroed allocation for buf rather than using memset. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Use strcat, delay calculation of resp_len. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Remove attribute that is never used. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Make auth also a local variable in http_plugin_open. | Diego 'Flameeyes' Pettenò | |
2007-12-19 | Make 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-18 | Merge from 1.1. | Darren Salt | |
2007-12-18 | Don't treat # in MRLs as literals or URI-decode raw filenames. [Bug 1784272] | Darren Salt | |
2007-12-18 | Clean up recursive mkdir(). | Darren Salt | |
2007-12-18 | Mark the enctable static. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Avoid a multiplication. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use asprintf. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use asprintf. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use strdup. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use strndup. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use calloc() when allocating an array of elements. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use strndup. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use asprintf where possible. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use variable-sized arrays rather than allocated buffers. | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use asprintf(). | Diego 'Flameeyes' Pettenò | |
2007-12-18 | Use 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-18 | Use 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-13 | Mark dvb_mjdtime as static. | Diego 'Flameeyes' Pettenò | |
2007-12-13 | Make sure that the sign of local variables and parameters of local functions ↵ | Diego 'Flameeyes' Pettenò | |
are the same. | |||
2007-12-13 | Make sourcea bytes buffer. | Diego 'Flameeyes' Pettenò | |
2007-12-13 | Make rmff_dump_pheader accept a bytes buffer. | Diego 'Flameeyes' Pettenò | |
2007-12-13 | Make rmff_dump_header accept a void * parameter for buffer. | Diego 'Flameeyes' Pettenò | |
2007-12-13 | Make rtsp_read_data accept a void* parameter for buffer. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Bump the interface version of the VCD plugin (which got missed earlier). | Darren Salt | |
2007-12-11 | Bump the input plugins interface version to 18 as they got updated. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Merge from 1.2 main branch. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Don't use the if(foo) free(foo); construct, as free(NULL); is well defined. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Use default_*_class_dispose macro whenever the class dispose function only ↵ | Diego 'Flameeyes' Pettenò | |
called free(). | |||
2007-12-11 | Define 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-11 | Use 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-11 | Add a textdomain field to allow using a different i18n catalog for the ↵ | Diego 'Flameeyes' Pettenò | |
description translation. | |||
2007-12-11 | Update all input plugins to the new identifier/description interface. | Diego 'Flameeyes' Pettenò | |
2007-12-11 | Replace 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-25 | Merge 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-19 | add support for GNU/kFreeBSD | Petr 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-19 | Remove 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-14 | Move CRC32 code into a common file (& out of the DVB input & TS demux plugins). | Darren Salt | |
2007-11-14 | Merge from 1.1. | Darren Salt | |
2007-11-13 | Missing 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-13 | Improve the "no channels.conf" message; tidy up local variable initialisation. | Darren Salt | |