1. 20 Feb, 2003 1 commit
    • sigmunau's avatar
      * include/configuration.h: added a new flag to the configuration stucture to · 5a13b475
      sigmunau authored
      indicate wether it is an "advanced" option or not. The goal with this is to
      hide the user from all the strange options that very seldom needs to be
      changed. added an extra argument to all the add_* macros to indicate wether
      the item is advanced or not.
      * src/libvlc.h: added an "show advanced options" config option default
      disabled
      * src/libvlc.c: the advanced options are not listed by vlc --help and
      friends unless --advanced is used
      * modules/gtk/preferences.c: the gtk/gnome preferences dialog don't show
      advanced options unless advanced is set
      all: set the advanced flag to VLC_FALSE or VLC_TRUE for all options, by
      using some common sense. Please check and correct
      
      note: All interfaces should still work like they used to, see the change in
      modules/gtk/preferences.c to find out how to "hide" options.
      
      second note: I think I've changed all the modules, but I could not test
      everyone for compilation, expect some broken modules (the fix is to add ",
      VLC_TRUE" as last argument to the add_* I forgot)
      5a13b475
  2. 19 Feb, 2003 1 commit
    • gbazin's avatar
      · 5154513d
      gbazin authored
      * src/libvlc.c: "stty size" won't work on win32 so make ConsoleWidth()
         always return 80.
      5154513d
  3. 14 Feb, 2003 1 commit
  4. 06 Feb, 2003 1 commit
  5. 01 Feb, 2003 2 commits
  6. 31 Jan, 2003 1 commit
  7. 27 Jan, 2003 1 commit
    • ipkiss's avatar
      * src/misc/objects.c: vlc_list_find now returns a (vlc_list_t *) · f716766a
      ipkiss authored
         instead of a (vlc_list_t); this modification was needed because BCB
         doesn't like at all when a function (compiled with mingw32) returns
         a struct...
       * ALL: modified the files to take this change into account
       * modules/gui/win32/menu.cpp: enabled the "Add interface" command
      f716766a
  8. 22 Jan, 2003 1 commit
  9. 19 Jan, 2003 1 commit
  10. 07 Jan, 2003 1 commit
  11. 27 Dec, 2002 1 commit
  12. 25 Dec, 2002 1 commit
  13. 14 Dec, 2002 2 commits
    • gbazin's avatar
      · 3f126864
      gbazin authored
      * src/libvlc.c: oops, forgot to remove a debug message.
      3f126864
    • gbazin's avatar
      · 215c1a85
      gbazin 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
  14. 13 Dec, 2002 1 commit
    • gbazin's avatar
      · a71b1c8c
      gbazin 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
  15. 08 Dec, 2002 1 commit
  16. 03 Dec, 2002 1 commit
  17. 28 Nov, 2002 1 commit
  18. 14 Nov, 2002 1 commit
  19. 10 Nov, 2002 2 commits
  20. 09 Nov, 2002 1 commit
  21. 06 Nov, 2002 1 commit
  22. 16 Oct, 2002 1 commit
  23. 15 Oct, 2002 2 commits
  24. 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
  25. 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
  26. 08 Oct, 2002 1 commit
  27. 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
  28. 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
  29. 29 Sep, 2002 1 commit
  30. 26 Sep, 2002 1 commit
  31. 17 Sep, 2002 1 commit
  32. 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
  33. 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
  34. 19 Aug, 2002 1 commit
  35. 18 Aug, 2002 1 commit