summaryrefslogtreecommitdiff
path: root/src/xine-engine/configfile.c
AgeCommit message (Collapse)Author
2008-01-27Rename base64 functions to _x_ as they should not be part of the public API.Diego 'Flameeyes' Pettenò
Note that these will be removed as soon as -libavutil branch is merged, in favour of libavutil's base64 implementation.
2008-01-27Move base64 header to xine-utils as we don't want it installed.Diego 'Flameeyes' Pettenò
--HG-- rename : include/xine/base64.h => src/xine-utils/base64.h
2008-01-24Merge from -plugin-loader branch.Darren Salt
base64.{c,h} functions are given "xine_" prefixes and are exported. --HG-- rename : src/xine-utils/base64.h => include/xine/base64.h rename : src/xine-engine/configfile.h => include/xine/configfile.h rename : src/xine-engine/plugin_catalog.h => include/xine/plugin_catalog.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/input/base64.c => src/xine-utils/base64.c
2008-01-17Remove SyncFB video output plugin, and related documentation and code.Diego 'Flameeyes' Pettenò
Matthias Dahl, the last maintainer of the code, confirms that the needed Linux kernel module is not building anymore, and thus this is unusable. Please consider using VIDIX or DirectFB instead, which should both work fine with Matrox cards.
2008-01-02The config translator returns a non-constant string.Diego 'Flameeyes' Pettenò
2008-01-01Merge from 1.1.Darren Salt
--HG-- rename : src/xine-utils/xmllexer.h => include/xine/xmllexer.h rename : src/libffmpeg/ff_video_decoder.c => src/combined/ffmpeg/ff_video_decoder.c rename : src/libmpeg2/header.c => src/video_dec/libmpeg2/header.c rename : src/libmpeg2/mpeg2_internal.h => src/video_dec/libmpeg2/mpeg2_internal.h
2008-01-01Skip deleted keys - should any ever occur! - while saving the config.Darren Salt
2007-12-22Merge -headers-reshuffle branch into main.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-engine/osd.h => include/xine/osd.h
2007-12-19Mark static strings as const.Diego 'Flameeyes' Pettenò
2007-12-19Update all the code to the new headers layout.Diego 'Flameeyes' Pettenò
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-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2007-08-17Fix C++ breakage introduced in cset 290f0d28f8fc.Darren Salt
2007-08-12Extend config key translation to allow front ends to provide an additional list.Darren Salt
Intent is to allow front ends to rename their old, badly-named, config items.
2007-06-06Correctly check for LOG being defined.Darren Salt
--HG-- extra : transplant_source : %DFs%84N%8AG%00%5B%EFv%FF%E6%CD%93%23%D8%E6%A1%C2%18
2007-04-12Fixed double free problem.Thibaut Mattern
2007-04-11Released allocated strings.Thibaut Mattern
Added some profiling (XINE_PROFILE).
2007-04-10Config entry deserialization.Thibaut Mattern
2007-04-08Mark various private arrays, structs & fn parameters as static and/or const.Darren Salt
Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once.
2007-04-06- Moved base64 stuff to xine-utils.Thibaut Mattern
- Added config entry serialization. - Added serialized config entries to the plugin cache. --HG-- rename : src/input/base64.c => src/xine-utils/base64.c rename : src/input/base64.h => src/xine-utils/base64.h
2007-04-05Added a new callback.Thibaut Mattern
This callback is called when a new entry is registered. The plan is register and call back a plugin loader function.
2007-02-22Revert the const mark on xine_config_register_enum, as that breaks C++ ↵Diego 'Flameeyes' Pettenò
frontends (like Kaffeine). Thanks to Christoph Pfister for reporting. This change introduces a few warnings of incompatible pointers internally in configfile.c. These are non-fatal (in C) and they just tell the compiler to handle more stuff as const internally without changing the function interface. CVS patchset: 8620 CVS date: 2007/02/22 15:49:16
2007-02-20Reduce warnings to one, that seems to be caused by GCC counting ↵Diego 'Flameeyes' Pettenò
compatibility wrong. CVS patchset: 8606 CVS date: 2007/02/20 00:01:19
2007-02-19Make the enum functions accept the strict parameter, const char* array ↵Diego 'Flameeyes' Pettenò
rather than char* array. CVS patchset: 8605 CVS date: 2007/02/19 23:53:40
2006-12-19Mark string-type configuration items according to whether they're plainDarren Salt
strings or names of files, device nodes or directories. This information is available to front ends (via .num_value) so that they can present file/dir-open dialogue boxes if they so choose. Subtitle font selection is split up due to this. CVS patchset: 8425 CVS date: 2006/12/19 19:10:50
2006-09-26Fix _x_config_change_opt function to actually sanity check all the pointers, ↵Diego 'Flameeyes' Pettenò
and avoid deeply nested code. Closes Coverity Scan CIDs 246 and 247. CVS patchset: 8305 CVS date: 2006/09/26 21:51:11
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8063 CVS date: 2006/06/20 00:35:07
2005-08-21**BUGFIX**Darren Salt
Allow the backup of an empty configuration file to succeed. CVS patchset: 7708 CVS date: 2005/08/21 17:01:02
2005-07-21- change frontend_lock and config_lock to recursive mutexes to fixMiguel Freitas
reentrancy problems (as reported by Reinhard Nissl and Darren Salt) - add a new recursive mutex support check to configure so we should fail nicely if system doesn't provides it (please test) CVS patchset: 7670 CVS date: 2005/07/21 02:51:14
2005-07-17**BUGFIX**Darren Salt
Locking problem with string config item callbacks which access config items. CVS patchset: 7655 CVS date: 2005/07/17 23:05:09
2005-02-07Stupid me, sorry about that.Thibaut Mattern
Fixed config locking. CVS patchset: 7389 CVS date: 2005/02/07 18:53:17
2005-01-30First part of the plugin loader changesThibaut Mattern
- duplicate all strings, needed to allow plugin unloading - move duplicated code to functions This should not change anything to the behavior of the config system. CVS patchset: 7373 CVS date: 2005/01/30 16:51:20
2005-01-05input.http_no_proxy -> media.network.http_no_proxyDarren Salt
Change separator from ", " to ",". Make domain matching stricter - require that the character at the start of the match or the immediately preceding character is a dot. Add '=DOMAIN' (full match: domain "foo.bar" matches host "foo.bar" only). Modify config option's description and help text accordingly. CVS patchset: 7323 CVS date: 2005/01/05 00:37:29
2004-12-20remove all local names beginning with double underscore, because C99Michael Roitzsch
reserves these names for use by the C implementation CVS patchset: 7288 CVS date: 2004/12/20 21:22:18
2004-12-13add dvb.adapter to the conversion listMike Lampard
CVS patchset: 7241 CVS date: 2004/12/13 11:11:27
2004-12-13readd translation for dxr3.playback.alt_play_mode,Michael Roitzsch
remove the identical translations entirely for clarity CVS patchset: 7240 CVS date: 2004/12/13 10:58:33
2004-12-13Don't list key translations where new == old, and don't recursivelyDarren Salt
translate keys: instead, try lookup, translate, retry lookup. As was, this would cause stack overflows (and was preventing my use of Xv). Special-case the plugin priority translation in case of third-party decoder plugins and corresponding config entries of the form "decoders.*_priority". CVS patchset: 7235 CVS date: 2004/12/13 03:49:44
2004-12-12huge patch ahead: reorganizing config entries with automatic conversionMichael Roitzsch
and backwards compatible translation Sorry, I got a litte tired proof-reading the patch, so their might be bugs lurking around. I will give it some further examination and (as necessary) fixing tomorrow. CVS patchset: 7233 CVS date: 2004/12/12 22:00:47
2004-09-12including <unistd.h>, which has been removed from the global headersMichael Roitzsch
CVS patchset: 6968 CVS date: 2004/09/12 19:23:36
2004-07-22frontends could have crashed xine-lib by passing a too long filenameMichael Roitzsch
CVS patchset: 6837 CVS date: 2004/07/22 14:26:24
2004-06-19rename part of config entry keys from "plugin" to "subsection", because forMichael Roitzsch
the users it is better if we structure by intuitive categories, not strictly by plugins CVS patchset: 6712 CVS date: 2004/06/19 19:54:59
2004-05-07* fix config file loading: enums are read as numbers, although written as ↵Michael Roitzsch
strings -> read and update them as strings * remove the obsolete CONFIG_TYPE_* constants and replace them with XINE_CONFIG_TYPE_* from xine.h CVS patchset: 6496 CVS date: 2004/05/07 14:38:14
2004-03-16prevent segfaults (patch from Debian bug #228751, posted by Michel Daenzer)Siggi Langauf
CVS patchset: 6276 CVS date: 2004/03/16 21:32:23
2004-03-16implicit changes to the configuration are now disabled by default and haveMichael Roitzsch
to be enabled by the user CVS patchset: 6274 CVS date: 2004/03/16 20:50:08
2004-03-03use the _x_abort() macro instead of abort, since it prints some debug infoMichael Roitzsch
before aborting CVS patchset: 6211 CVS date: 2004/03/03 20:09:11
2004-01-16fix 'unsavable' config file: if config file contain garbage (non printable ↵Daniel Caujolle-Bert
chars), backup fail (fgets/fputs), and value can't be saved, never. Move to fread/fwrite, single shot, backup function (need to reproduce ?: <http://xine.sf.net/daniel/config_failure>) CVS patchset: 6051 CVS date: 2004/01/16 23:03:38
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-07get rid of XINE_{ASSERT,ABORT} and useless xine_print_trace (useless). ↵Daniel Caujolle-Bert
Replace XINE_ASSERT by _x_assert, which works exaclty as assert, except that it still warns with NDEBUG defined (but don't abort). Fix missuning of assert(0), which isn't safe, abort is abort, assert is for debugging purpose only, so all assert(0) has been converted to abort() alls. In osd_preload_fonts(): alloc needed memory chunk. Define NDEBUG in CFLAGS, for non DEBUG build only. CVS patchset: 5860 CVS date: 2003/12/07 15:34:29
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26