1. 14 Oct, 2002 3 commits
    • Sam Hocevar's avatar
      * ./include/vlc/vlc.h, ./src/libvlc.c: added VLC_Error() to the libvlc API. · bf7985b7
      Sam Hocevar authored
        * ./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.
      bf7985b7
    • Sam Hocevar's avatar
    • Sam Hocevar's avatar
      * ./modules/misc/testsuite/test4.c: added a stress test module; doesn't get · 112187ec
      Sam Hocevar authored
          compiled yet because it uses the "command" variables I'm about to check
          in. They need to be typed in the rc interface for instance (-I rc). This
          module has two available commands: "signal <int>" which sends the given
          signal to the vlc process, and "stress [<int>]" which performs a series of
          object creation/lookup/destruction, variable creation/setting/destruction
          and thread spawning/joining tests. The optional argument for stress is an
          integer between 1 and 200 (the bigger, the heavier the tests; it may hang
          your machine at around 150, be careful).
      112187ec
  2. 13 Oct, 2002 3 commits
  3. 12 Oct, 2002 4 commits
  4. 11 Oct, 2002 7 commits
    • Christophe Massiot's avatar
      * Updated FAQ. · da283062
      Christophe Massiot authored
      da283062
    • Sam Hocevar's avatar
      Changes to the libvlc API: · 464bd2e5
      Sam Hocevar authored
        * ./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().
      464bd2e5
    • Sam Hocevar's avatar
      * ./plugins/filter/deinterlace.c: fixed the green bottom line in the · 37741cf8
      Sam Hocevar authored
          linear deinterlace mode, thanks to Marian Durkovic <md@bts.sk>.
      37741cf8
    • Gildas Bazin's avatar
      · c93f613b
      Gildas Bazin authored
      * INSTALL.win32: removed note about running in administrator mode to play
         a DVD. Updated doc about using cygwin for compiling.
      c93f613b
    • Sigmund Augdal Helberg's avatar
    • Sam Hocevar's avatar
      * ./src/misc/variables.c, ./include/variables.h: a few functions for · f78e5583
      Sam Hocevar authored
          in-object variable storage. Unused yet (not even compiled).
      f78e5583
    • Gildas Bazin's avatar
      · cc5919ad
      Gildas Bazin authored
      * src/misc/modules.c: fixed a memory leak with the "plugin-path" config option.
      * modules/audio_output/directx.c, modules/audio_output/waveout.c: ported the directx
         and waveout audio plugins to the new changes in the audio output layer.
      * configure.ac.in: fixes for cygwin compilation, and the gtk plugin under mingw32.
      cc5919ad
  5. 10 Oct, 2002 4 commits
  6. 09 Oct, 2002 2 commits
  7. 08 Oct, 2002 3 commits
  8. 07 Oct, 2002 1 commit
  9. 06 Oct, 2002 1 commit
    • Gildas Bazin's avatar
      · eddf1236
      Gildas Bazin authored
      * configure.ac.in: vlc can now be built under cygwin with or without the
         unix emulation layer (without if you use CC="gcc -mno-cygwin").
      * INSTALL.win32: doc update for cygwin build.
      * modules/video_output/directx/events.c, modules/video_output/directx/directx.c,
         modules/audio_output/directx.c: compilation fixes for cygwin.
      eddf1236
  10. 05 Oct, 2002 4 commits
  11. 04 Oct, 2002 4 commits
    • Sam Hocevar's avatar
      * ./configure.ac.in: removed now unnecessary --force-exe-suffix flag. · 89987e11
      Sam Hocevar authored
        * ./src/misc/objects.c: structure_lock is now local.
        * ./src/misc/threads.c: implemented named mutexes which provide a handy
          way to protect data across plugins which might be sharing the same
          resources. Thread-unsafe libraries come to mind, but we can imagine
          using a named mutex for configuration files, or special devices.
        * ./include/main.h: removed global_lock because of vlc_mutex_need, removed
          p_global_data because it was never used, removed structure_lock because
          it did not belong here.
      89987e11
    • Sam Hocevar's avatar
      * ./modules/gui/macosx/vout.m: if no MacOS X interface is available when · 656bdcea
      Sam Hocevar authored
          the video output is initialized, we wait for a while before giving up;
          also changed the code so that it probes all interface objects rather than
          the first one it finds.
      656bdcea
    • Sam Hocevar's avatar
      * ./bootstrap: we use the proper linker for plugin compilation. · 2b0b7888
      Sam Hocevar authored
        * ./modules/misc/testsuite/*: moved the null module into three test modules
          that are only built when --enable-testsuite is activated. This directory
          can be a good place for compilation tests or performance benchmarks.
      2b0b7888
    • Gildas Bazin's avatar
      · 80b15699
      Gildas Bazin authored
      * src/misc/threads.c, src/misc/win32_specific.c, include/interface.h: fixed typos.
      * configure.ac.in, modules/gui/gtk/gtk.c: Added a NEED_GTK_MAIN macro to the compiler
         flags for the gtk module. When this macro isn't defined, then the gtk module
         doesn't make use of the gtk_main module. I had to do this change because the
         gtk_main trick can't work on win32 and render the whole gtk interface unusable.
      80b15699
  12. 03 Oct, 2002 4 commits