1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00
Commit Graph

1936 Commits

Author SHA1 Message Date
Derk-Jan Hartman
2ec1057c8b * Use the new vout_OSDMessage on the new hotkeys functions. 2003-10-30 23:17:59 +00:00
Derk-Jan Hartman
a6233ea016 * implemented a vout_OSDMessage to display messages on the video at a specific
location by any module.
* added a OSD config option to the Video options. this will allow you to disable
  the messages printed by OSDMessage. Subtitles will still be shown however.
* src/audio_output/intf.c: volumeSet sets the intf-change variable.
* modules/gui/macosx/vout.m: fix the modifier detection.
2003-10-30 22:34:48 +00:00
Gildas Bazin
46c6826dab * modules/control/hotkeys.c, src/libvlc.h, include/vlc_keys.h: added hotkeys for jump actions. 2003-10-30 17:58:07 +00:00
Derk-Jan Hartman
cd2c272c7c * the OSX vout has support for the new hotkeys now. no prefs for it yet.
And this is no final solution, i think it should be handled in VLCApplication.
2003-10-29 02:13:04 +00:00
Gildas Bazin
9097385460 * ALL: improved hotkeys support. 2003-10-29 01:33:27 +00:00
Sigmund Augdal Helberg
9ec1b8a027 src/libvlc.c:
* created a variable "key-pressed" in p_vlc that can be used to
   report or read key presses
 * allways try to start hotkeys interface in the background
configure.ac, modules/control/Modules.am, modules/control/hotkeys.c:
 * a new control module that reads keypresses from "key-pressed" and
   performs an action depending on what is asosiated with this key.
   Also uses nice on screen messages to indicate what action was performed
modules/video_filter/filter_common.h:
 * removed code to pass old style key reporting through filters
modules/video_output/x11/xcommon.c:
 * report key-presses through the new mechanism. Incomplete, I need help
   with this.
2003-10-26 12:46:55 +00:00
Eric Petit
fa3d8b417c configure.ac:
+ updated libebml/libmatroska detection as matroska headers no longer
    include ebml headers directly. Hope you upgraded it - if not, you'll
    have to set your CFLAGS accordingly.
  + on BeOS, libmkv_plugin.so has to be linked to libstdc++

 modules/control/http.c:
  + fix for gcc != 3
2003-10-21 01:05:32 +00:00
Clément Stenac
99f278fcea * A few sanity checks
* Escape < and > to prevent script injections (could be done easily with crappy playlist items)
2003-10-17 18:59:00 +00:00
Gildas Bazin
28ea8cc25d * modules/control/http.c: small bug fix.
* mozilla/vlcshell.cpp: win32 fix.
2003-10-15 07:34:25 +00:00
Laurent Aimar
3c98f145a3 * control: use new variables and 'title*', 'chapter*' ones.
* gui/beos: removed not really used STARTED_S, and NOT_STARTED_S input
 state.
 * gui/wxwindows: use 'position' and 'time' variables -> seek improved
 for avi and mp4 and accurate time display :)
2003-09-07 22:53:09 +00:00
Sigmund Augdal Helberg
2739add81a modules/control/lirc/lirc.c:
* applied slightly modified patch by  Stephane Mottelet <mottelet@dma.utc.fr>
 to support next/previous chapter buttons on remote controls
2003-08-14 18:12:39 +00:00
Gildas Bazin
10afbf8357 * src/extras/libc.c, nclude/vlc_common.h, modules/mux/mpeg/ts.c: added atoll() to our libc.
* modules/control/ntservice.c: added a --ntservice-extraintf option to allow the service to spawn additionnal interfaces.
* include/audio_output.h, modules/audio_output/directx.c: added support for 3F2R audio output in addition to 3F2R/LFE (5.1).
2003-08-14 11:47:32 +00:00
Gildas Bazin
ecc5706bc3 * ALL: bumped version number to 0.6.3-cvs
* modules/control/ntservice.c: new Windows NT/2K/XP service interface.
2003-08-13 23:26:55 +00:00
Laurent Aimar
6ac29eec36 * http: added mime type for .css file. 2003-08-01 17:30:33 +00:00
Gildas Bazin
e03c2c0dbd * src/misc/win32_specific.c: change the mode of stdin to _O_BINARY so we can use stdin to read files (thanks to Steve Li).
* modules/control/http.c: allow directories of the form "x:\" on win32.
2003-07-31 21:46:37 +00:00
Clément Stenac
4b2db5bcb6 * modules/control/joystick.c
* Allow the user to remap the actions.
	* Improved the strings (please check)
	* Prevent 0 seconds seeks

* share/http/*.html
	* partial HTML validation fixes
	* Improved the look

* src/stream_output/announce.c
	* minor fixes (thanks sam)
2003-07-31 08:18:30 +00:00
Gildas Bazin
fa06cb361f * modules/control/http.c: on win32 we store the html interface in "http" not "share/http".
* src/input/input_programs.c: check for "" descriptions in AddES().
2003-07-30 21:09:06 +00:00
Laurent Aimar
dc4c75fe8d * http.c: under linux if no directory is specified search "share/http"
and then DATA_PATH"/http".
2003-07-29 18:51:16 +00:00
Laurent Aimar
f61cc2fd97 * rc: Fixed a bug with seek command.
Added support of "seek n%" (Usefull when mux_rate is nul )
2003-07-28 07:16:50 +00:00
Gildas Bazin
eb505a2f6d * ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
* src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
* src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
* src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.

All these changes allow you to specify input specific options.
eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
Here the ":sout" option will only apply to yourvideo.mpeg.
"--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.

TODO: - the interfaces need to be modified to benefit from the new playlist_Add() api.
      - only "sout", "sout-video", "sout-audio" implemented for now. To make it work with other options, we need to get rid of all the config_GetFoo() and replace them with var_Create()/var_Change()/var_Get().
2003-07-23 01:13:48 +00:00
Laurent Aimar
c2b01bcb47 * http: added "del" and "empty" control. (for playlist). Corrected
"previous" command.
 TODO: doc :(
2003-07-21 23:53:55 +00:00
Clément Stenac
ce09ec773c modules/control/joystick.c: Joystick control module (linux only)
disabled by default, use --enable-joystick & --extraintf joystick

actions are:
	left-right: variable speed seek
	up-down: browse the playlist
	button 1: play/pause
	button 2: fullscreen
2003-07-20 08:30:41 +00:00
Sigmund Augdal Helberg
14b3f0cfa1 All: My shot at improving subtitle rendering in vlc. Now each vout uses a "text renderer" module to render text on the video when needed. I decieded to make this a module type, because other api's (win32 and macosx) is supposed to do better than freetype under some circumstances.
include/video_output.h: added some members needed by text renderer modules
src/video_output/video_output.c: load and unload text renderer module when needed
src/video_output/video_text.c: implemented some functions to show text on the video
include/osd.h: exported the functions to show text
modules/misc/Modules.am, module/misc/freetype.c: new text renderer module, largly based on the old osdtext module.
modules/video_filter/Modules.am, modules/video_filter/osd_text.c: removed the osdtext module
configure.ac: changes "osdtext" to "freetype" some places
modules/codec/spudec/*: when iconv is available, use it to convert textual subtitles from the encoding given by --sub-encoding to utf8. Use new code to render subtitles
modules/control/lirc/lirc.c: use new code to give feedback on buttons pressed. untested.
modules/demux/util/sub.c: remove all traces of the ugly old osdtext module
modules/misc/dummy/*: added a "text renderer" submodule in the dummy module
src/misc/modules.c: included osd.h as it seems to be needed to export symbols


final notes: you need to give a proper value to --freetype-font. This should be the path to a font file freetype2 can handle (almost any format afaik) with a unicode translation table in it. Windows ttf files will do. In linux at least openoffice distributes some fonts that work. I think macosx and beos also has useable fonts.
2003-07-14 21:32:59 +00:00
Gildas Bazin
d46bb4f46b * configure.ac, modules/control/http.c: compilation fix for platforms without ctime_r(). 2003-07-14 16:10:20 +00:00
Laurent Aimar
5f5d4e185d * http.c : fix definition conflict under OS X (at least). 2003-07-12 00:56:18 +00:00
Laurent Aimar
64ce2efad4 * http: * fix for double // under linux.
* another useless feature: can browse local files (for sout)
2003-07-11 18:19:43 +00:00
Gildas Bazin
b6ba072e82 * include/httpd.h: compilation fix.
* modules/control/http.c: win32 fixes.
2003-07-11 09:50:10 +00:00
Laurent Aimar
a362f5c383 * http: rework of the http interface.
There is no more hardcoded html page. The interface recursively parse a
directory, exporting all  files. All .htm/.html are  parsed, and special
macro are  used. I will commit  somes samples pages in  share/http and I
hope documentations.

 TODO: - (re)implement access control in httpd (but in a useable way).
       - clean login/password management. (for now .access protects
       a whole directory).
       - doc ;)
2003-07-10 22:24:09 +00:00
Clément Stenac
16afd9893e * http: added support for user/pass (--http-user & --http-pass)
* httpd: removed hard-coded user/pass for admin page.
   (now: --http-admin-pass & --http-admin-user )
2003-07-10 18:29:41 +00:00
Sam Hocevar
34f2374615 * modules/control/corba/: Olivier Aubert's CORBA plugin. Almost verbatim,
compiles cleanly (to build the medicacontrol.so library you need to cd to
    that directory and "make medicacontrol.so") but untested.
  * src/playlist/playlist.c: Mostly harmless fix to playlist.c suggested by
    Olivier.
2003-07-07 16:59:00 +00:00
Sam Hocevar
1122ff8f37 * include/error.h: Renamed this file to include/vlc_error.h to avoid name
conflicts. Most headers in that directory should probably be renamed to
    their vlc_ equivalent.
2003-07-01 12:56:47 +00:00
Sam Hocevar
fe17002d42 * bootstrap:
+ New build system, using recursive makefiles. Due to the amount of code
      in VLC, this had become unavoidable.
    + Removed the check for OS X's stack size, since our automake targets are
      a lot less hungry now.
    + Ditto for Solaris's sed.
    + Since automake-1.6 is faster than 1.7, use it first if both are present.
  * m4/vlc.m4:
    + New AX_ADD_CPPFLAGS, AX_ADD_CFLAGS, AX_ADD_CXXFLAGS, AX_ADD_OBJCFLAGS
      and AX_ADD_LDFLAGS macros that do all the magic to detect possible
      modules and register their flags.
    + New AX_ADD_BUILTINS and AX_ADD_PLUGINS macros.
    + Some magic to generate vlc-config.
  * configure.ac:
    + Moved most code to the AX_ADD_* macros.
    + Explicitely added all target Makefiles.
  * modules/**/Modules.am:
    + Path to sources are now relative to Modules.am's directory level.
2003-06-27 13:50:13 +00:00
Sam Hocevar
07b9ad3823 * modules/**/.cvsignore: added Makefile{,.in.am} to the ignore list, as
well as .lo/.la files.
2003-06-24 09:31:16 +00:00
Sigmund Augdal Helberg
0fb99cd548 turned a debug message into a comment 2003-06-22 13:27:41 +00:00
Sigmund Augdal Helberg
1163f4321e the http interface should now output valid xhtml 1.0. 2003-05-23 23:53:53 +00:00
Derk-Jan Hartman
024b9debee * Updated the informal message to report the ip and port the http intf was
started on. This will help ppl to actually use the thing ;)
2003-05-23 13:02:53 +00:00
Derk-Jan Hartman
8b5235d6e5 * modules/control/http.c: strings for the address and the port variable were switched. 2003-05-22 15:34:02 +00:00
Christophe Massiot
d5791c9cc1 * now 0.6.0-cvs
* ALL: Capitalize all preferences text strings
2003-05-15 22:27:38 +00:00
Gildas Bazin
7ba77f51a7 * modules/control/rc/rc.c: win32 fixes for the handling of special control keys. 2003-05-13 12:09:29 +00:00
Gildas Bazin
4d4cc83868 * modules/misc/httpd.c: win32 fixes.
* modules/control/http.c: fixed a problem with IE that sends POST requests instead of GET ones.
2003-05-09 16:01:17 +00:00
Laurent Aimar
9ff0782a46 * http: redirect to main page each time we pass arguments. (it's done by
an html header and not by the http protocol. I know it's bad but it's a
lot easier ;)
2003-05-06 14:19:29 +00:00
Laurent Aimar
14ad3ab7df * http: fix 'add mrl'. 2003-05-06 12:57:48 +00:00
Gildas Bazin
95b4a56a03 * ALL: changed the prototype of input_AddES() to include enough information so we can build an "video-es", "audio-es" and "spu-es" object variable. These variables can be used by the interfaces to navigate between the elementary streams.
* modules/gui/wxwindows/menus.cpp: use the "foo-es" object variables.
2003-05-05 22:23:42 +00:00
Gildas Bazin
30336bba3f * src/misc/variables.c, ALL: improvements to the object variables api.
- added another argument to var_Change().
   - added a VLC_VAR_SETTEXT and VLC_VAR_GETTEXT method to var_Change()
     that are used to set/get a friendly name to an object variable.
   - added VLC_VAR_CHOICESCOUNT to var_Change() to be able to retrieve
     the number of availabel choices without having to get their value
     as well.
   - VLC_VAR_ADDCHOICE uses the extra var_Change() argument to assign
     a friendly name to the choice value.
   - VLC_VAR_GETCHOICES retrieves the choices values and their friendly
     names.

* modules/gui/wxwindows/*: first step in implementing menu auto-generation in the wxWindows interface.
2003-05-04 22:42:18 +00:00
Gildas Bazin
089782f785 * modules/control/http.c: fixed buffer allocation problem. 2003-04-27 00:02:27 +00:00
Gildas Bazin
ee2bc403e0 * modules/control/http.c: brand new (and also basic) HTTP interface plugin for vlc (uses port 8080 by default). 2003-04-26 21:36:23 +00:00
Gildas Bazin
a1e8137774 * modules/*: sanitization of the modules description strings. 2003-03-30 18:14:39 +00:00
Sigmund Augdal Helberg
b5d99c6455 modules/video_filter/osd_text.c: A video filter that uses freetpye2 to
render text on the video
include/osd.h: some constants useful when interfacing with the osd module
configure.ac.in: check for freetype2, enabled the osdtext module by default
Makefile.am: added osd.h, please check that this is correct
lirc.c: modified to provide feedback when buttons are pressed.

Look at the Feedback() function in lirc.c to see how this module can be used
2003-03-23 16:38:40 +00:00
Sigmund Augdal Helberg
6c1d00ed78 added a down, right gesture to quit vlc and an up, right gesture that swaps
fullscreen on/off, removed the down gesture as it is now covered by the up,
right gesture
2003-03-08 01:55:28 +00:00
Gildas Bazin
7211d64eb0 * ALL: Finally fixed the MSVC project files.
Don't include io.h on win32 when not necessary.
       A few build fixes for MSVC.

* src/misc/win32_specific.c: try to load winsock2 instead of winsock1 when
   present.
2003-03-03 14:21:08 +00:00
Gildas Bazin
de621e39dd * src/libvlc.h, modules/audio_output: added a global --spdif config option
to allow using the spdif output by default if available.
* modules/misc/dummy/*: on win32 added a quiet mode that doesn't display
   a dos command box.
* modules/control/rc/rc.c: on win32 enabled the echo mode and the
   backspace key.
* modules/codec/mpeg_audio.c: fixed a sync bug.
2003-02-20 16:07:38 +00:00
Sigmund Augdal Helberg
5a13b475ce * include/configuration.h: added a new flag to the configuration stucture to
indicate wether it is an "advanced" option or not. The goal with this is to
hide the user from all the strange options that very seldom needs to be
changed. added an extra argument to all the add_* macros to indicate wether
the item is advanced or not.
* src/libvlc.h: added an "show advanced options" config option default
disabled
* src/libvlc.c: the advanced options are not listed by vlc --help and
friends unless --advanced is used
* modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
advanced options unless advanced is set
all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
using some common sense. Please check and correct

note: All interfaces should still work like they used to, see the change in
modules/gtk/preferences.c to find out how to "hide" options.

second note: I think I've changed all the modules, but I could not test
everyone for compilation, expect some broken modules (the fix is to add ",
VLC_TRUE" as last argument to the add_* I forgot)
2003-02-20 01:52:47 +00:00
Eric Petit
cfa53f6914 * ipv4.c, libvlc.h: add a --ttl option to set time-to-live when
multicasting with the stream output
 * modules/control/: missing cvsignore
2003-02-18 18:33:44 +00:00
Gildas Bazin
fccc30cae4 * modules/control/rc/rc.c: finally fixed the rc interface under win32 by
using WaitForSingleObject() on the console handle and ReadConsoleInput().
   (Closes #59)
2003-02-17 16:56:02 +00:00
Sigmund Augdal Helberg
b5133d4d75 Added support for volume up/down buttons. 2003-02-16 10:25:57 +00:00
Sigmund Augdal Helberg
3dcb1349a9 *: a new mouse gestures interface, currently supporting back, forward, quit
fullscreen and a nice debug message when you draw a clockwise square. Video
output modules needs to be modified for this to work, but it should be minor
in modules supporting dvd navigation.

btw: it should be easy to add new gestures, ideas appreciated
2003-02-09 23:42:06 +00:00
Christophe Massiot
f055f01f00 * aout_Volume* functions now do their own vlc_object_find() on the
audio output. Consequently, the first argument can be any vlc_object_t.
* modules/gui/macosx/*: greatly simplified volume functions ; you can now
  call aout_Volume* even when there is no audio output, and the volume
  will be saved for later use.
2003-02-09 01:13:43 +00:00
Sam Hocevar
f7c92985ff * ./modules/access/dvdplay/demux.c: the dvdplay plugin no longer sets the
"interface" variable to "dvdplay" (Closes: #178, #210, and probably a
    bunch of others).
  * ./src/interface/interface.c: added a safety check to circumvent the bug,
    allowing a smooth upgrade.
2003-02-06 23:59:40 +00:00
Gildas Bazin
916664af95 * modules/access/dvdread/input.c, modules/control/rc/rc.c: fixed typos. 2003-01-23 10:25:40 +00:00
Gildas Bazin
77081ffba6 * modules/control/rc/rc.c: Partial fix for the rc interface under win32. On win32, select() only works on
socket descriptors so we don't use it anymore on this platform. Right now we only do a blocking call to
read() although it should be possible to have a fully functionnal interface by using the PeekConsoleInput()
call (someone willing to investigate this ?).
2003-01-23 09:53:55 +00:00
Sam Hocevar
1ff15337c3 * ./modules/control/rc/rc.c: boundary checks for chapter navigation. 2003-01-17 19:22:21 +00:00
Loïc Minier
0acdca901e * typo 2003-01-16 20:08:00 +00:00
Sam Hocevar
b25e0c1894 * ./modules/**/.cvsignore: added common *$(LIBEXT) values to .cvsignore. 2003-01-16 09:05:37 +00:00
Christophe Massiot
36ead72d91 * Fixed dual-mono handling of MPEG audio.
* rc.c: fixed a warning.
2003-01-14 14:51:02 +00:00
Sigmund Augdal Helberg
b62653a9fd changed the a rule into add and made it work along with others such as play
even when nothing is currently playing. Added a playlist command to list the
entries currently in the playlist. plus some cleanups and sanity checks.
2003-01-14 01:30:09 +00:00
Sigmund Augdal Helberg
762f087853 * src/video_output/video_output.c: add a key-pressed variable to p_vout
* modules/access/dvdplay/intf.c: allow keyboard naviagation in dvd-menus,
by reading the key-pressed variable
 * modules/control/lirc/lirc.c: allow navigation with remote control by
faking keypresses (closes #38). I think the remotes for dvdplayers usually
have buttons for "root menu" and "title menu". Whould this be easily
implemented in vlc?
2003-01-12 15:38:35 +00:00
Sigmund Augdal Helberg
b8c2e88ea3 new rule for remote controls with combined play/pause button (like mine has) 2003-01-12 01:26:36 +00:00
Gildas Bazin
215c1a851c * src/misc/objects.c: implemented the FIND_CHILD mode for vlc_list_find().
vlc_object_get() now increments the refcount of the object so you'll need to release
the object at some point.
* src/misc/variables.c, ALL: var_Change() with VLC_VAR_GETLIST now returns a vlc_value_t
which points to a vlc_list_t.
2002-12-14 19:34:07 +00:00
Christophe Massiot
ec518727fc * configure.ac.in: Disabled -Wtraditional as it produces much more bogus
warnings than real ones.
* audio output: New intf-change variable to know when audio-channels
  and audio-device have changed.
* video output: New intf-change variable and vout_VarCallback, to know
  when video-device has changed (OS X port).
* modules/gui/macosx/*: Menus for audio channels, implemented volume
  management, added a menu for screen selection.
2002-12-07 23:50:31 +00:00
Gildas Bazin
0d62cd7dd4 * ALL: a few updates to the variables API:
- got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag
instead. This simplifies things and avoid the strange command variables behaviour. Command
variables will now trigger their callback on var_Set() like any other variables (look in
modules/control/rc/rc.c for an example).
  - Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
  - Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with
VLC_VAR_ISCOMMAND for instance.
2002-12-07 15:25:27 +00:00
Sam Hocevar
ade615bfc0 * ./configure.ac.in: removed -W in favour of -Wtraditional.
* ALL: a bunch of additional warning fixes.
2002-12-06 16:34:08 +00:00
Jon Lech Johansen
ce31d545f0 * ALL: Fixed some compiler warnings. 2002-12-02 21:13:25 +00:00
Sam Hocevar
736d5c4844 * ./modules/control/rc/rc.c: the seek command is now "seek" and not "r",
and it uses a command variable like other controls. This also fixes a
    bug that prevented to have spaces between the command and its argument.
2002-11-23 20:37:10 +00:00
Gildas Bazin
e3d6e0047d * modules/control/rc/rc.c: added commands to navigate between chapters and
titles.
2002-11-20 15:34:39 +00:00
Christophe Massiot
8928554ebd Major change of the channels management. p_format->i_channels disappeares
and is replaced by two members : i_physical_channels and i_original_channels.
i_physical_channels describes the channels which are effectively present
in the stream (at the current point of the aout pipeline), whereas
i_original_channels represents the channels we used to constitute the
stream. For instance a mono stream (FRONT_CENTER) may emanate from a
FRONT_LEFT channel of a STEREO stream.

Additionally, this contains hooks to dynamically select the audio device
and the channels configuration. In order to do that, all aout plugins,
and all interface plug-ins need to be adapted. Currently only SDL
(partially OSS) and the rc interface have been adapted, please use them
as a guide. Other aout plug-ins have been temporarily disabled.

IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
for several days until we fix that.

* modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
  preferences and asking for multicast.
2002-11-14 22:38:48 +00:00
Sam Hocevar
bf7985b74a * ./include/vlc/vlc.h, ./src/libvlc.c: added VLC_Error() to the libvlc API.
* ./include/main.h: removed p_vlc->i_status because it was not sufficient
    to represent all the possible states of p_vlc; each part should be tested
    separately upon destruction.
  * ./src/misc/objects.c: fixed a signed/unsigned bug that prevented creation
    of VLC_OBJECT_GENERIC objects.

  * ./src/misc/variables.c: added the VLC_VAR_COMMAND type which is simply a
    variable that stores a function pointer, and calls it when var_Get is
    called for it. The function argument is taken in val.psz_string.
  * ./src/misc/objects.c: vlc_dumpstructure and vlc_liststructure are no longer
    exported to the rest of the program; instead, they're VLC_VAR_COMMAND vars
    ("tree" and "list").
  * ./modules/control/rc/rc.c: moved a few commands to VLC_VAR_COMMAND vars.
2002-10-14 16:46:56 +00:00
Sam Hocevar
464bd2e5b4 Changes to the libvlc API:
* ./include/vlc/vlc.h: changed the naming conventions for libvlc. Now
    exported functions start with VLC_ instead of vlc_ to avoid conflicts.
  * ./include/vlc/vlc.h: removed the vlc_object_t, vlc_list_t, vlc_error_t
    and vlc_t types; they are now internal types only.
  * ./include/vlc/vlc.h: merged the reentrant and non-reentrant libvlc
    calls. In non-reentrant mode, we just use 0 as the first argument. In
    reentrant mode, we use an object's ID. (see below)

Internal changes:
  * ./src/libvlc.c, ./src/misc/objects.c: instead of manipulating vlc_object_t
    pointers, we manipulate their i_object_id. When needed, an object is
    retrieved using vlc_object_get (I hope the lookup isn't too expensive,
    that's why I designed the pp_objects layout to allow log2(n) seeks).
  * ./src/misc/objects.c: activated the per-object variable storage. Unused
    yet, unless you want to try "getfoo" and "setfoo blablah" in vlc -I rc.
  * ./include/vlc_objects.h: moved the vlc_object_t and vlc_list_t definitions
    here.

Misc:
  * ./src/vlc.c, ./mozilla/vlcshell.cpp: removed inclusion of config.h in
    code portions not part of libvlc; it was just required for the
    COPYRIGHT_MESSAGE string which is now available from VLC_Version().
2002-10-11 22:32:56 +00:00
Gildas Bazin
6dafa41984 * FAQ: updated FAQ with config file issues.
* configure.ac.in: use -mms-bitfields instead of -fnative-struct for
   mingw32 gcc-3.x.
* include/interface.h, modules/misc/dummy/interface.c, modules/misc/logger/logger.c,
   modules/control/rc/rc.c: Display message on Win32 explaining how to get
   back to the GUI mode.
* src/misc/threads.c, include/vlc_threads_funcs.h: ignore the
   win9x-cv-method config option on WinNT when fast-mutex is not enabled.
2002-10-03 17:01:59 +00:00
Sam Hocevar
145b1961b4 * ./src/libvlc.c, ./include/main.h: the root of all objects is now
p_libvlc, and each p_vlc is a child of p_libvlc. Reasons for this are:

     o the module bank and the message bank only need to be initialized once,
       which gives faster loads when multiple instances of libvlc are used,
     o we allow the possibility of different p_vlc sharing objects, for
       instance the audio output,
     o the CPU detection is only done once.

    This patch is not polished yet, but I cannot do any intensive tests for
    the moment because of a bug somewhere that leaves audio output objects
    lying here and there which needs to be investigated first. The current
    major issue is that the module bank is no longer freed.
2002-10-03 13:21:55 +00:00
Sam Hocevar
7cca8d8fa0 * ./debian/rules: moved the gtk_main and gnome_main plugins to the gvlc
and gnome-vlc packages.
  * ALL: updated .cvsignore files to properly ignore automake files.
2002-09-30 15:46:47 +00:00
Sam Hocevar
2799d36bc8 * ALL: the build mechanism now uses automake. See HACKING for more details.
* ./mozilla/vlcplugin.cpp: javascript support for the Mozilla plugin.
  * debian/rules: the A52 module is now in a separate package.
2002-09-30 11:05:42 +00:00
Sam Hocevar
864128116a * ALL: added *.am files here and there for future automake support. 2002-09-30 10:00:47 +00:00
Sam Hocevar
f0ec49dae5 * ./modules/misc/gtk_main.c: created the gtk_main module, which simply runs
gtk_main() in its own thread, and does nothing on subsequent calls. This
    ensures that gtk_main is only running once.
  * ./modules/gui/familiar/*, modules/gui/gtk/*: the familiar, gtk and gnome
    modules are now fully reentrant thanks to their use of the gtk_main module.
  * ./src/libvlc.c: implemented vlc_set(), a wrapper for config_Put* available
    to external programs.
  * ./src/libvlc.c: removed vlc_stop() and vlc_end(), everything is now done
    by vlc_destroy().
  * ./modules/control/rc/rc.c: implemented a few new functions. For instance,
    run "vlc -I rc" and then type "intf gtk" or "intf gnome". You can even
    launch several of them. "segfault" works, too.
2002-08-20 18:08:51 +00:00
Sam Hocevar
c250844e76 * ./modules/control/rc/rc.c: 'l' outputs a list of all allocated objects,
just as 'd' displayed a tree of attached objects.
  * ./src/misc/modules.c: added a missing header.
2002-08-14 08:17:24 +00:00
Sigmund Augdal Helberg
a6ef9bbb9d ./modules/control/rc/rc.c: fixed a segfault when pressing 'i' with no
input
2002-08-13 13:15:14 +00:00
Sam Hocevar
19ea8feb6d * ./modules/*: moved plugins to the new tree. Yet untested builds include
waveout, directx, qnx, beos, win32, macosx, and the AltiVec modules.
  * ALL: removed mention of AC3 in favour of A52.
  * ./configure.in, ./Makefile*: modules can now be built deeper than 1
    directory. As a consequence, the build is even slower (but I'm fixing
    this) and make clean doesn't work anymore.
2002-08-04 17:23:44 +00:00