1. 16 Oct, 2002 1 commit
  2. 15 Oct, 2002 2 commits
  3. 14 Oct, 2002 1 commit
    • 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
  4. 11 Oct, 2002 1 commit
    • 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
  5. 08 Oct, 2002 1 commit
  6. 04 Oct, 2002 1 commit
    • 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
  7. 03 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      * ./configure.ac.in: duplicated arguments to AM_INIT_AUTOMAKE to fix · f501554a
      Sam Hocevar authored
          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.
      f501554a
    • Sam Hocevar's avatar
      * ./src/libvlc.c, ./include/main.h: the root of all objects is now · 145b1961
      Sam Hocevar authored
          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.
      145b1961
  8. 29 Sep, 2002 1 commit
  9. 26 Sep, 2002 1 commit
  10. 17 Sep, 2002 1 commit
  11. 21 Aug, 2002 1 commit
    • Xavier Marchesini's avatar
      * libvlc.c : Win32 compilation fix. · 620b69bb
      Xavier Marchesini authored
      * modules.c : we now check the directory plugins/ to find some plugins.
      (this will allow us to use the packager / installer which wasn't aware
      of plugins -> modules :)
      620b69bb
  12. 20 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./modules/misc/gtk_main.c: created the gtk_main module, which simply runs · f0ec49da
      Sam Hocevar authored
          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.
      f0ec49da
  13. 19 Aug, 2002 1 commit
  14. 18 Aug, 2002 1 commit
  15. 15 Aug, 2002 1 commit
  16. 12 Aug, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/objects.c: two big changes in the object API: now objects can · 6e8f9504
      Sam Hocevar authored
          only have one parent, because I don't want to deal with cycles, and each
          created object is indexed in a global array. This feature is unused yet,
          but it will speed up vlc_object_find(FIND_ANYWHERE).
        * ./debian/rules: activated the faad codec.
        * ./doc/fortunes.txt: new fortune cookies.
        * ./modules/codec/mpeg_video/headers.c: reduced the use of attach/detach.
        * ./modules/audio_output/oss.c: fixed two compilation warnings.
      6e8f9504
  17. 09 Aug, 2002 1 commit
  18. 08 Aug, 2002 2 commits
  19. 07 Aug, 2002 1 commit
  20. 04 Aug, 2002 1 commit
  21. 31 Jul, 2002 1 commit
  22. 21 Jul, 2002 1 commit
  23. 20 Jul, 2002 1 commit
  24. 18 Jul, 2002 1 commit
  25. 16 Jul, 2002 1 commit
  26. 15 Jul, 2002 1 commit
  27. 11 Jul, 2002 1 commit
  28. 03 Jul, 2002 1 commit
  29. 27 Jun, 2002 1 commit
  30. 11 Jun, 2002 1 commit
    • Gildas Bazin's avatar
      · cecb7e86
      Gildas Bazin authored
      * ./include/configuration.h: renamed MODULE_CONFIG_* macros into
      CONFIG_*.
      * ./include/configuration.h, ./plugins/gtk/gtk_preferences.c,
      ./plugins/filter/transform.c, ./plugins/filter/distort.c,
      ./plugins/filter/deinterlace.c: added an ADD_STRING_FROM_LIST()
      configuration macro.
      * ./include/modules.h, ./include/video_output.h,
      ./src/video_output/video_output.c, ./plugins/filters/*: added a
      VOUT_FILTER capability. Having a clear distinction between VOUTs and
      VOUT_FILTERs allows us to get rid of ugly hacks. The filters are also
      stackable now (use --filter=foo:bar:foo etc..).
      * ./include/configuration.h, ./src/libvlc.h, ./src/libvlc.c: clean-up +
      added an ADD_USAGE_HINT() configuration macro.
      cecb7e86
  31. 07 Jun, 2002 2 commits
  32. 04 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      (new in MAIN) · 7291e0a7
      Sam Hocevar authored
        * ./src/interface/interface.c: interfaces are no longer attached only to
          p_vlc.
        * ./src/libvlc.c, ./src/misc/modules.c, ./src/playlist/playlist.c,
          ./src/input/input.c: improvements in the playlist handling (not quite that
          yet though).
      (ported from v0_4_1_branch)
        * ./configure.in, ./plugins/mpeg_system/mpeg_ts.c: fixed libdvbpsi handling.
        * ./src/misc/configuration.c: fixed the --nofoo option handling.
        * ./src/interface/main.c: fixed two compilation warnings under Solaris.
      7291e0a7
  33. 02 Jun, 2002 2 commits
    • Sam Hocevar's avatar
      (new in MAIN) · e058a315
      Sam Hocevar authored
        * ./plugins/spudec/spu_decoder.c: we now use FIND_ANYWHERE to find a vout.
      (ported from v0_4_1_branch)
        * ./plugins/dvdread/dvdread.c: disabled the dvdread plugin because it
          currently sucks.
        * ./src/misc/configuration.c, ./src/interface/main.c: we now accept --nofoo
          and --no-foo as negations for --foo. Also, the --help output is nicer.
        * ./plugins/qnx/vout_qnx.c: QNX compilation fix.
      e058a315
    • Sam Hocevar's avatar
      * ./src/video_output/video_output.c: fixed the "picture has invalid status" · 211d6bad
      Sam Hocevar authored
          bug which might have been the cause of crashes.
        * ./plugins/filter/crop.c: attempt at an automatic border cropping filter,
          using "--filter crop --autocrop".
        * ./vlc.spec: added missing filters to the RPM generation.
        * ./src/misc/objects.c: commented all functions.
        * ./src/misc/objects.c: implemented vlc_object_find( , , FIND_ANYWHERE).
        * ./src/misc/objects.c: renamed vlc_object_unlink to vlc_object_detach.
      211d6bad
  34. 01 Jun, 2002 2 commits