Age | Commit message (Collapse) | Author |
|
fix a race on the char * for string config entries
CVS patchset: 4478
CVS date: 2003/03/25 12:49:15
|
|
All assert() function calls, with exceptions of libdvdread and libdvdnav, have been
replaced with XINE_ASSERT. Functionally XINE_ASSERT behaves just likes its predecesor but its
adding the ability to print out a stack trace at the point where the assertion fails.
So here are a few examples.
assert (0);
This use of assert was found in a couple locations most favorably being the default case of a switch
statement. This was the only thing there. So if the switch statement was unable to find a match
it would have defaulted to this and the user and the developers would be stuck wonder who died and where.
So it has been replaced with
XINE_ASSERT(0, "We have reach this point and don't have a default case");
It may seem a bit none descriptive but there is more going on behind the scene.
In addition to checking a condition is true/false, in this case '0', the XINE_ASSERT
prints out:
<filename>:<function name>:<line number> - assertion '<assertion expression>' failed. <description>
An example of this might be:
input_dvd.c:open_plugin:1178 - assertion '0' failed. xine_malloc failed!!! You have run out of memory
XINE_ASSERT and its helper function, print_trace, are found in src/xine-utils/xineutils.h
CVS patchset: 4301
CVS date: 2003/02/28 02:51:47
|
|
configfile to save, and if there's already a backup file
CVS patchset: 4087
CVS date: 2003/02/02 12:33:23
|
|
-> backup to a different file
-> if this was successful
write config to original
-> if this was successful
remove backup
CVS patchset: 4076
CVS date: 2003/02/01 13:15:22
|
|
-> traverse links
-> write to a temporary file
-> rename the file to the actual config filename
CVS patchset: 4074
CVS date: 2003/01/31 22:00:19
|
|
good news for Daniel: no frontend change is required, the entries are sorted inside
the engine
I did not change the config entry names for now, because they seem well sorted
already, so I avoided breaking everyones config file. But it is now possible to name
the config keys in a <section>.<plugin>.<entry> style (instead of the old
<section>.<entry> style) resulting in entries of the same plugin being sorted
next to each other.
CVS patchset: 3901
CVS date: 2003/01/13 17:43:08
|
|
CVS patchset: 3613
CVS date: 2002/12/21 16:25:31
|
|
basic changes:
- MRLs are a subset of URIs
- important new delimiter is #
- everything before the # will be passed to the input plugin
- after the # you can add several ;-separated stream parameters:
novideo - video will be ignored
noaudio - audio will be ignored
nospu - spus will be ignored
demux:... - specify the demuxer to use (e.g. demux:mpeg_block)
entry:value - assign any config entry a new value
CVS patchset: 3112
CVS date: 2002/10/31 16:58:12
|
|
Some decoders might never be loaded and never get a chance to register their
config entries. Example: When starting xine and playing only an ordinary avi,
liba52's passthrough setting is lost.
CVS patchset: 3110
CVS date: 2002/10/31 10:45:36
|
|
CVS patchset: 3006
CVS date: 2002/10/26 03:56:31
|
|
dispose of event queue.
CVS patchset: 2998
CVS date: 2002/10/26 02:12:27
|
|
CVS patchset: 2962
CVS date: 2002/10/23 11:44:30
|
|
- bring our beloved xine_t * back (no more const there)
- remove const on some input plugin functions
where the data changes with media (dvd, ...) changes
and is therefore not const
CVS patchset: 2740
CVS date: 2002/09/22 14:29:40
|
|
CVS patchset: 2728
CVS date: 2002/09/21 12:20:47
|
|
CVS patchset: 2688
CVS date: 2002/09/18 14:31:39
|
|
CVS patchset: 2687
CVS date: 2002/09/18 12:12:35
|
|
ewald@rambo.its.tudelft.nl
CVS patchset: 2666
CVS date: 2002/09/15 11:35:08
|
|
- make most char pointers const in public api
- simpler get_spu_lang / get_audio_lang signature
CVS patchset: 2651
CVS date: 2002/09/11 17:41:07
|
|
redraw is being called too early.
CVS patchset: 2645
CVS date: 2002/09/10 14:06:33
|
|
- reimplement config callbacks
- handle reads from config file into existing entries like updates
CVS patchset: 2638
CVS date: 2002/09/09 20:40:27
|
|
CVS patchset: 2637
CVS date: 2002/09/09 19:24:48
|
|
with new value instead
CVS patchset: 2630
CVS date: 2002/09/08 22:11:41
|
|
fix some input plugins that would not copy the mrl on open
CVS patchset: 2623
CVS date: 2002/09/06 18:13:10
|
|
broken now ... matthias/miguel: please fix it :-)
CVS patchset: 2606
CVS date: 2002/09/04 23:31:05
|
|
opt:key=value. I hope i haven't introduced races here.
CVS patchset: 2085
CVS date: 2002/06/17 07:47:50
|
|
xine-lib should really never do an exit or abort, but instead pass back nice error values to the calling application, but until that happens, use abort() as that is tracable with gdb, whereas exit(1) is not backtraceable.
CVS patchset: 1811
CVS date: 2002/04/29 23:31:59
|
|
Necessary to prevent segfaults if target of a callback has been disposed.
CVS patchset: 1788
CVS date: 2002/04/27 23:00:38
|
|
CVS patchset: 1708
CVS date: 2002/04/11 07:17:43
|
|
CVS patchset: 1573
CVS date: 2002/03/16 13:33:47
|
|
CVS patchset: 1479
CVS date: 2002/02/06 10:57:15
|
|
CVS patchset: 1400
CVS date: 2002/01/13 23:08:27
|
|
CVS patchset: 1398
CVS date: 2002/01/13 21:21:05
|
|
CVS patchset: 1397
CVS date: 2002/01/13 21:15:48
|
|
CVS patchset: 1379
CVS date: 2002/01/09 15:16:37
|
|
register_empty function from configfile (undocumented and doesn't make sense)
CVS patchset: 1153
CVS date: 2001/12/01 22:38:31
|
|
add at bottom of init_input_plugin() a line like this:
REGISTER_VALID_MRLS(this->config, "mrl.mrls_mpeg_block", "xxx");
CVS patchset: 1147
CVS date: 2001/11/30 21:55:05
|
|
CVS patchset: 1094
CVS date: 2001/11/20 19:13:28
|
|
CVS patchset: 1090
CVS date: 2001/11/20 17:22:13
|
|
string will not appear in setup dialog
CVS patchset: 1075
CVS date: 2001/11/19 02:57:10
|
|
CVS patchset: 1070
CVS date: 2001/11/18 21:38:23
|
|
CVS patchset: 1068
CVS date: 2001/11/18 15:08:30
|
|
CVS patchset: 1064
CVS date: 2001/11/18 03:53:23
|
|
acceleration?). Merge xine-utils header files to a new one "xineutils.h".
Update xine-lib C/headers to reflect those changes.
dxr3 headers are no more installed ine $includdir, but $includdir/xine.
CVS patchset: 1054
CVS date: 2001/11/17 14:26:36
|
|
page. Added API doc in html. Add new rpm package (doc). Fixes some little bugs in
proto decl, etc...
CVS patchset: 350
CVS date: 2001/07/26 11:12:25
|
|
CVS patchset: 187
CVS date: 2001/06/15 11:08:13
|
|
CVS patchset: 186
CVS date: 2001/06/15 10:17:53
|
|
CVS patchset: 1
CVS date: 2001/04/18 22:33:39
|