Commit Graph

570 Commits

Author SHA1 Message Date
Sam Hocevar
77c667f409 * ALL: libvlc now compiles and run under WinCE. I haven't ported any modules
yet so there's little that can be tested, but threads work at least.
  * ./src/extras/libc.c: renamed strndup.c to libc.c because a few other
    libc functions were added (strcasecmp, atof, getenv...).
2002-11-10 23:41:54 +00:00
Sam Hocevar
be8ca6e9a9 * ALL: WinCE compilation fixes (mostly nonexistent headers). A lot of
work is still needed for missing functions. I only touched libvlc for
    the moment, plugins will come in a long long while.
  * ./bootstrap: moved MSVC project files generation here; use --update-msvc.
2002-11-10 18:04:24 +00:00
Sam Hocevar
5d02f37fe0 * A few additional MSVC build fixes. 2002-11-09 17:44:09 +00:00
Sam Hocevar
05ac379f73 * ./Makefile.am: added a "update-vlc.dsp" rule to create the MSVC project
file from the makefile.
  * ./msvc/*: moved the MSVC files here.
  * ./src/extras/*: moved the extra code here (used to be in src/misc,
    extras/GNUgetopt and extras/Win32_msvc).
  * ./include/*: a few warning fixes.
2002-11-09 16:34:53 +00:00
Sam Hocevar
141414b0c4 * ./Makefile.am: we properly install plugins in the OS X vlc.app directory.
* ./mozilla/npvlc_rc.rc, ./mozilla/vlcplugin.h: added the Ogg mime type to
    the Mozilla plugin properties.
  * ./debian/control: added libogg-dev and libvorbis-dev dependicies to the
    Debian build script.
2002-11-04 15:04:45 +00:00
Sam Hocevar
03019d5816 * ./Makefile.am: fixed a typo that caused HAVE_DEBUG to imply HAVE_RELEASE.
* ./bootstrap: fixed calls to $(LINK) which had duplicate -o options.
2002-10-29 18:12:07 +00:00
Sam Hocevar
11e021963b * ./Makefile.am: fixed missing build dependencies for the Mozilla plugin.
* ./src/misc/variables.c: implemented min/max and steps for integer and
    float variables.
2002-10-28 13:25:56 +00:00
Sam Hocevar
003f74f14f * ./bootstrap, ./Makefile.am: we don't build static libraries if their only
goal is to provide dependencies for shared libraries.
2002-10-25 09:24:29 +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
ec8c631800 * ./configure.ac.in, ./src/libvlc.c: attempt at activating gettext support
under platforms without libintl such as Win32. Use --with-included-gettext
    to test. Might break compilation on systems I don't have access to.
2002-10-16 15:10:39 +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
Gildas Bazin
2328faeb74 * configure.ac.in: fix for the mingw32 build. The gtk plugin may also need mingwex.
* modules/demux/mpeg/ts.c: added an #include <stdint.h> to make mingw32 happy when
   compiled with libdvbpsi.
* Makefile.am: fixed dependency problem with share/vlc_win32_rc.rc.
2002-10-12 21:31: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
Sam Hocevar
66bbe4847a * ./Makefile.am: removed a circular dependency on src/misc/modules_plugin.h. 2002-10-02 13:28:52 +00:00
Sam Hocevar
5c05d0564d * ./Makefile.am: another workaround for an old automake 1.5 bug (bug #279). 2002-10-02 13:26:14 +00:00
Sam Hocevar
106497cdb1 * ./bootstrap, ./Makefile.am: workarounds for automake 1.5. 2002-10-02 12:59:59 +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
e3401d5787 * ./configure.in: we now require autoconf 2.5x because previous versions
don't seem to work very well if you are using autopoint, although
    gettext 0.11.5 claims to be fully backwards compatible. Welcome to
    automake hell.
  * ./bootstrap: workaround which uses gettextize if you do not have
    autopoint. We'll probably stay like this for a while, until gettext
    0.11.x (which replaces gettextize with autopoint) becomes more
    widespread. Currently this workaround seems to work, but don't expect
    a clean tarball if you make dist without having used autopoint. Welcome
    to automake hell.
2002-08-26 20:49:50 +00:00
Sam Hocevar
0df46599e8 * ./bootstrap: dropped the dependency on gettext 0.11.5. Now 0.10.4 is OK. 2002-08-26 09:38:20 +00:00
Sam Hocevar
764176f688 * ALL: started the slow move to automake. For the moment, the changes are
unnoticeable apart from the extra dependency on autoconf, automake and
    gettextize. See the new HACKING file for some information, especially if
    you don't run Linux.

    The current strategy is to have the configure script generate a nice
    automake Makefile from Makefile.am, and then clobber it with our good
    old dirty Makefile. Muahaha :-)
2002-08-25 23:18:05 +00:00