Cyril Deguet [Sun, 25 Jan 2004 11:44:19 +0000 (11:44 +0000)]
* all: replaced the flex parser by the libxml one
* src/window_manager.cpp: improved the raise window algorithm
* src/tooltip.cpp: fixed a segfault after changing a theme
Cyril Deguet [Sat, 24 Jan 2004 13:08:12 +0000 (13:08 +0000)]
* configure.ac: check xml2-config for skins2
* modules/gui/skins2/src/var_manager.cpp: delete the variables in the
right order to avoid invalid reads in the destructor
* modules/gui/skins2/parser/xmlparser: skeleton of a new parser based
on the text reader API of libxml2
Gildas Bazin [Fri, 23 Jan 2004 17:56:14 +0000 (17:56 +0000)]
* src/stream_output/stream_output.c, include/stream_output.h: new sout_AccessOutRead() funcion.
* modules/access_output/file.c: implemented sout_AccessOutRead().
* modules/access_output/udp.c: coding style cleanup.
* modules/mux/mp4.c: Added support for generating "fast start" files (ie. with the moov header at the beginning of the file).
Started some code cleanup.
Eric Petit [Fri, 23 Jan 2004 15:36:23 +0000 (15:36 +0000)]
+ deinterlace.c : added an Altivec version of Merge() - makes the
filter more than 100% faster here (blend mode). Feel free to check
if I haven't broken anything, first time doing Altivec ;)
modules/demux/mkv.cpp:
* comment out parsing of elements that no muxer ever used, and that are
being removed from the spec. (patch by Mosu in the mkv team)
modules/misc/sap.c:
* fixed a nasty integer overflow that caused items to be removed right away
when the timeout value was large.
* fixed a small mem-leak
Derk-Jan Hartman [Tue, 20 Jan 2004 15:34:44 +0000 (15:34 +0000)]
* src/misc/cpu.c: New altivec detection for Darwin. Using the correct
official method.
* modules/gui/macosx/playlist.m: Fix Add with options and no enqueue.
* modules/gui/macosx/applescript.m: PLAYLIST_GO fix
Laurent Aimar [Tue, 20 Jan 2004 14:51:30 +0000 (14:51 +0000)]
* demux2: once demux2 opened, do a DEMUX_GET_LENGTH and call
playlist_SetDuration.
TODO -> add meta info queries trough demux2_Control (a demuxer should
NEVER touch playlist themself).
Laurent Aimar [Mon, 19 Jan 2004 20:31:21 +0000 (20:31 +0000)]
* dvdnav: a lot of fixes :
- subtitle/audio selection works
- subtitle display works
- menu fixed.
Problem:
- when we see a menu, the currently selected item isn't highlighted
You have to select another to see them. I don't understand why ...
- manual audio/sub selection is lost when we switch back to the menu.
Gildas Bazin [Sun, 18 Jan 2004 23:52:02 +0000 (23:52 +0000)]
* modules/demux/dvdnav.c: restart the decoders on VTS change only, not CELL change.
* src/input/input_dec.c: fixed the pictures leak work-around.
Wasn't working before because there always is at least one READY_PICTURE which is the last/currently displayed picture.
Cyril Deguet [Sun, 18 Jan 2004 19:54:46 +0000 (19:54 +0000)]
* utils/var_bool.*: VarBool is now an interface for reading bool variables
(not writing); use VarBoolImpl instead to instanciate read/write variables.
Bool variables can now be combined with VarNotBool and VarBoolAndBool
(TODO: VarBoolOrBool)
* commands/cmd_show_window.hpp: the commands now call directly
GenericWindow::show/hide, because the visibility variable of a
window is a VarBool (so, read-only)
* commands/cmd_input.hpp: added Play and Pause commands
* parser/interpreter.cpp: beginning of support of boolean expressions,
like "vlc.isSeekable and not vlc.isStopped" (operator precedence is
not really well handled yet)
* src/vlcproc.*: new variables "vlc.isSeekable", "vlc.isStopped" and
"vlc.isPaused"
* controls/ctrl_checkbox.cpp: the "state" variable of a checkbox is
now a passive VarBool, so actions must be explicitely set with
'action1="..." action2="..."' in the xml file
* removed src/vlcvars.* => "vlc.isMute" doesn't work any more
(anyway it didn't work well...)
* theme/theme.xml: updated with the new VarBool behaviour
Gildas Bazin [Sun, 18 Jan 2004 11:14:23 +0000 (11:14 +0000)]
* configure.ac, modules/demux/Modules.am: added ps2, ts2 and dvdnav modules to the build system.
* modules/demux/demux2.c: added an "ffmpeg" shortcut for the ffmpeg/libavformat demuxer.