1. 07 Jan, 2003 1 commit
  2. 27 Dec, 2002 1 commit
  3. 25 Dec, 2002 1 commit
  4. 14 Dec, 2002 2 commits
    • Gildas Bazin's avatar
      · 3f126864
      Gildas Bazin authored
      * src/libvlc.c: oops, forgot to remove a debug message.
      3f126864
    • Gildas Bazin's avatar
      · 215c1a85
      Gildas Bazin authored
      * 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.
      215c1a85
  5. 13 Dec, 2002 1 commit
    • Gildas Bazin's avatar
      · a71b1c8c
      Gildas Bazin authored
      * ALL: added a new vlc_list_t common type. vlc_list_find() and vlc_list_release() have been modified
      to use this new type.
      a71b1c8c
  6. 08 Dec, 2002 1 commit
  7. 03 Dec, 2002 1 commit
  8. 28 Nov, 2002 1 commit
  9. 14 Nov, 2002 1 commit
  10. 10 Nov, 2002 2 commits
  11. 09 Nov, 2002 1 commit
  12. 06 Nov, 2002 1 commit
  13. 16 Oct, 2002 1 commit
  14. 15 Oct, 2002 2 commits
  15. 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
  16. 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
  17. 08 Oct, 2002 1 commit
  18. 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
  19. 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
  20. 29 Sep, 2002 1 commit
  21. 26 Sep, 2002 1 commit
  22. 17 Sep, 2002 1 commit
  23. 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
  24. 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
  25. 19 Aug, 2002 1 commit
  26. 18 Aug, 2002 1 commit
  27. 15 Aug, 2002 1 commit
  28. 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
  29. 09 Aug, 2002 1 commit
  30. 08 Aug, 2002 2 commits
  31. 07 Aug, 2002 1 commit
  32. 04 Aug, 2002 1 commit
  33. 31 Jul, 2002 1 commit
  34. 21 Jul, 2002 1 commit
  35. 20 Jul, 2002 1 commit