Commit Graph

42 Commits

Author SHA1 Message Date
Clément Stenac
2917b1a65a Also fix mozilla when not in debug mode 2005-06-27 18:18:55 +00:00
Clément Stenac
981c7b9196 Don't continously resize mozilla plugin window - Closes #139 2005-06-20 19:43:52 +00:00
Antoine Cellerier
d026e61f6d forwardport 11445 2005-06-17 12:37:42 +00:00
Antoine Cellerier
c3512a49e8 yet some more copyright date updates ... (2002 was quite old) 2005-06-07 00:00:03 +00:00
Clément Stenac
dcee738bbe Fix loop in mozilla plugin (closes #138) 2005-05-22 14:52:26 +00:00
Andre Pang
4ed026603a * mozilla/vlcshell.cpp: handle Mozilla plugin output window resizing in X11 (patch thanks to Conrad Parker, conrad AT metadecks DOT org), and annotate #endifs with the #ifdef that it closes 2005-03-11 13:38:38 +00:00
Derk-Jan Hartman
0815f48408 * TEST: removing #include <jis.h> from the mozilla plugin to see if we really require Java support.
if this breaks the linux or win32 mozilla plugin then it should be restored.
2005-03-08 23:25:11 +00:00
Andre Pang
e8e8633f71 * mozilla/vlcshell.cpp: Fix compilation on Mac OS X 2005-01-22 17:50:11 +00:00
Gildas Bazin
e5ba909ea8 * mozilla/vlcshell.cpp: added a mute start option. 2004-12-02 16:54:47 +00:00
Gildas Bazin
d9aa5ddb7a * mozilla/vlcshell.cpp: nasty hack on win32 to avoid a deadlock on plugin destruction. 2004-11-29 15:38:01 +00:00
Derk-Jan Hartman
347e1ecf94 * WARNING: Libvlc API change
- VLC_Set VLC_Get were changed to VLC_VariableGet VLC_VariableSet
 - VLC_ClearPlaylist was changed to VLC_PlaylistClear
 - Added a lot of new calls: 
   VLC_PositionGet, VLC_PositionSet, VLC_TimeGet, VLC_TimeSet,
   VLC_LengthGet, VLC_SpeedFaster, VLC_SpeedSlower, VLC_PlaylistIndex,
   VLC_PlaylistNumberOfItems, VLC_PlaylistNext, VLC_PlaylistPrev, 
   VLC_VolumeGet, VLC_VolumeSet, VLC_VolumeMute.
 - everything doxygenized.
 - There are NO mozilla functions of these additions yet. (someone else please?)
2004-06-06 13:02:26 +00:00
Derk-Jan Hartman
be973dfb40 NOTE: libvlc API changes
* renamed VLC_Stop to VLC_CleanUp since this name is closer to what it actually does.
* added a new VLC_Stop that just does playlist_Stop analogous to VLC_Play and VLC_Pause.
* reordered the functions in libvlc. everything was mixed up.
* added doxygen info to all the functions
* fixed several functions to use the correct underlying API calls
* corrected the copyright info


This is in preparation of the new libvlc calls for mozilla plugin
temp. moved the playlist_command_t typedef to vlc_common.h awaiting implementation of playlist_Control()
2004-06-05 16:09:00 +00:00
Gildas Bazin
3a8f5790c7 * mozilla/vlcshell.cpp: added fullscreen=yes/no option
* modules/gui/wxwindows/*: fixed auto-generated menus on win32.
2004-04-08 12:57:50 +00:00
Gildas Bazin
c876674243 * mozilla/vlcshell.cpp: don't translate debug messages.
* modules/misc/logger/logger.c: compilation fix.
2004-01-25 17:52:17 +00:00
Anil Daoud
59bd8e1485 * string review. 2004-01-25 16:17:04 +00:00
Gildas Bazin
f5d3806626 * mozilla/vlcshell.cpp, modules/video_output/directx/*: round of fixes for the win32 mozilla plugin. 2003-11-20 17:48:44 +00:00
Sam Hocevar
3fa2bee809 * configure.ac:
+ Detect <mozilla-config.h> on newer Mozilla versions.
  * mozilla/vlcpeer.cpp:
    + If neither NP_UNIX, NP_MACOSX nor NP_WIN are defined, default to NP_UNIX.
    + Use <mozilla-config.h> whenever possible.
2003-10-23 17:04:40 +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
Gildas Bazin
f056f1fca6 * configure.ac, mozilla/vlcshell.cpp, mozilla/support/npwin.cpp: mozilla plugin for win32 is finally working (well there's still work left).
* src/misc/modules.c: small clean-up and fixed --plugin-path on win32.
2003-09-23 16:07:49 +00:00
Gildas Bazin
0fc16f660e * mozilla/vlcshell.cpp: on win32, try to find the location of the vlc plugins from the registry key. 2003-09-20 22:52:27 +00:00
Gildas Bazin
973cf0496f * configure.ac, mozilla/*: the win32 mozilla plugin compiles again (most likely won't yet work).
Added a --with-mozilla-sdk-path option (win32 only) to ./configure so you can pass the path of your mozilla sdk tree.
 You also need to set the XPIDL env var to the the path of the xpidl mozilla compiler when ./configuring.
2003-09-20 13:52:23 +00:00
Simon Latapie
68cdda1e88 * oups (forgot to erase a test line) 2003-08-27 08:44:28 +00:00
Simon Latapie
97f2fb96f1 * Now the MacOS mozilla plugin is an independant bundle ( searchs no more
* in /usr/local/lib/vlc for modules )
2003-08-27 07:21:07 +00:00
Simon Latapie
00a3f0e4d8 * put the beautiful "no picture" black screen. 2003-08-25 14:51:49 +00:00
Simon Latapie
4edb3a5ffd * XPCOM implementation in mozilla plugin on MacOSX (Play, pause, stop
*  buttons. Fullscreen disabled ).
2003-08-19 14:07:51 +00:00
Simon Latapie
fe77b6513b * little bug fix. 2003-08-14 13:32:12 +00:00
Simon Latapie
d86fd15629 * mozilla plugin on MacOSX. Not fully implemented yet.
* compiled with mozilla 1.4 (won't probably work with <1.4)
 * TODO:
 *     - make XPCOM work (play,pause,stop buttons)
 *     - fullscreen implementation (quite difficult on MacOSX because only
 *       the main thread can create windows)
2003-08-14 12:38:04 +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
Sam Hocevar
898d537760 * mozilla/*: Additional Mozilla 1.4 compilation fixes. 2003-07-16 16:33:59 +00:00
Sam Hocevar
558b51e092 * mozilla/vlcshell.cpp: free() requires <stdlib.h>. 2003-07-09 13:52:22 +00:00
Sam Hocevar
d9ca68f7ab * ./Makefile.am: we call pbxbuilder with the explicit target name, because
we might have an additional target one day, such as vlcplugin :)
  * ./mozilla/vlc.r: OS X specific resource file for an OS X plugin.
  * ./mozilla/vlcshell.cpp: added required OS X functions.
2003-04-09 17:27:51 +00:00
Sam Hocevar
62ef155640 * ./mozilla/*: moved support files in a separate directory.
* ./mozilla/support/npmac.cpp: added a hacked version of Mozilla's npmac.cpp
    that builds with g++ instead of CodeWarrior.
2003-04-09 16:18:36 +00:00
Sam Hocevar
d5fe6ade47 * ./mozilla/*: s/VideoLAN Client/VLC/g. 2003-02-18 13:13:12 +00:00
Sam Hocevar
b6b1bef8bf * ./mozilla/vlcshell.cpp: fixed the Mozilla plugin's target drawable.
* ./modules/video_output/directx/directx.c, ./modules/video_output/x11/x11.c,
    ./modules/video_output/x11/xvideo.c: removed the drawable configuration
    variables which are now deprecated.
2003-02-01 18:54:10 +00:00
Sam Hocevar
a793be381c * ALL: fixes for various compilation warnings and spelling errors. 2003-01-28 16:57:28 +00:00
Sigmund Augdal Helberg
a98b6d88f5 made the vlc mozilla plugin a drop-in replacement for wmp in most embedded
wmp sites I could find, by adding som mimetypes and parsing some more
parameters passed by mozilla. Also disabled the StreamAsFile function since
mozilla tend to pass it non-exsisting files.
2002-11-28 23:53:03 +00:00
Sam Hocevar
c01dd5d375 * ./modules/video_output/directx/events.c: start the colorkey search at 10,
not 5, to avoid using a color used by another application.
  * ./modules/video_output/directx/events.c: support for drawing in a parent
    window instead of creating our own; still a bit flakey.

  * ./mozilla/vlcshell.cpp: we can now compile the Mozilla plugin so that it
    does not call libvlc (for testing purposes).
2002-10-25 18:17:59 +00:00
Sam Hocevar
435bab6bc1 * ./mozilla/vlcshell.cpp: ported the Mozilla plugin to Windows.
For the moment it spawns a separate window and seems to behave nastily
    (read: crashes) when the target has sound, but the javascript interface
    works perfectly, for instance.

    To build it, I installed Mozilla development files in my mingw32 dir
    and hacked mozilla-config so that it uses these files. I also hacked
    jri_md.h and jni_md.h to put "defined(_MSC_VER) || defined(__MINGW32__)"
    where it read "defined(_MSC_VER)". No other changes were necessary.
2002-10-22 21:10:28 +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
Sam Hocevar
f501554a39 * ./configure.ac.in: duplicated arguments to AM_INIT_AUTOMAKE to fix
locales breakage.
  * ./src/libvlc.c: libvlc understands the VLC_VERBOSE environment variable,
    to be set between 0 and 4. Default value is 0 for a program using libvlc,
    but vlc sets it to 1 by default.
  * ./src/misc/configuration.c: -v now works the old way (-v, -vv, -vvv) as
    well as the new way (-v0, -v1, -v4). -v1 is the same as -v, and -v0 is
    the same as -q (quiet). Hope it's all understandable.
2002-10-03 18:56:10 +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
5555c82c83 * ./mozilla/*: added hooks so that the vlc plugin is scriptable from
javascript. It's also in C++, but we didn't have the choice.
2002-09-17 08:18:24 +00:00