1. 24 May, 2003 1 commit
    • gbazin's avatar
      · 66815e2e
      gbazin authored
      * src/misc/variables.c, include/variables.h: first pass at object var inheritance.
      * rc/video_output/video_output.c, modules/video_filter/deinterlace/deinterlace.c: fixes to the deinterlace object var.
  2. 11 May, 2003 1 commit
    • gbazin's avatar
      · f7cc7ca2
      gbazin authored
      * src/input/input_programs.c: small bug fix.
      * src/misc/variables.c: compilation fix for MSVC.
  3. 05 May, 2003 1 commit
  4. 04 May, 2003 1 commit
    • gbazin's avatar
      · 30336bba
      gbazin authored
      * src/misc/variables.c, ALL: improvements to the object variables api.
         - added another argument to var_Change().
         - added a VLC_VAR_SETTEXT and VLC_VAR_GETTEXT method to var_Change()
           that are used to set/get a friendly name to an object variable.
         - added VLC_VAR_CHOICESCOUNT to var_Change() to be able to retrieve
           the number of availabel choices without having to get their value
           as well.
         - VLC_VAR_ADDCHOICE uses the extra var_Change() argument to assign
           a friendly name to the choice value.
         - VLC_VAR_GETCHOICES retrieves the choices values and their friendly
      * modules/gui/wxwindows/*: first step in implementing menu auto-generation in the wxWindows interface.
  5. 11 Mar, 2003 1 commit
    • gbazin's avatar
      · 1171979d
      gbazin authored
      * ALL: experimental code for stream (dvd) navigation through object variables.
  6. 09 Mar, 2003 1 commit
    • gbazin's avatar
      · ec22d731
      gbazin authored
      * configure.ac.in: don't include the screensaver plugin on win32.
      * src/misc/variables.c: fixed a bug in var_Change() and in var_DelCallback().
      * modules/codec/spudec/parse.c: removed unnessecary code.
      * modules/access/dvdplay/access.c: fixed some navigation problems.
  7. 18 Dec, 2002 1 commit
  8. 14 Dec, 2002 1 commit
    • 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.
  9. 10 Dec, 2002 1 commit
    • gbazin's avatar
      · 05b378dd
      gbazin authored
      * ALL: fixed a f*ckage I introduced recently ;) var_Type() now returns 0 when the variable
      doesn't exist, but the rest of the code wasn't updated according to this new behaviour.
      * modules/audio_output/waveout.c: changed a few error messages into warning messages.
  10. 08 Dec, 2002 1 commit
    • gbazin's avatar
      · 07541e2e
      gbazin authored
      * modules/gui/wxwindows/*: compilation fixes for wxX11 (it doesn't support drag and drop
      yet). Compilation fix for MacOSX as well (wxEntry() not declared).
      * src/misc/variables.c: added a FreeMutex() function.
  11. 07 Dec, 2002 1 commit
    • gbazin's avatar
      · 0d62cd7d
      gbazin authored
      * ALL: a few updates to the variables API:
        - got rid of the VLC_VAR_COMMAND variable type and introduced the VLC_VAR_ISCOMMAND flag
      instead. This simplifies things and avoid the strange command variables behaviour. Command
      variables will now trigger their callback on var_Set() like any other variables (look in
      modules/control/rc/rc.c for an example).
        - Renamed the VLC_VAR_ISLIST flag into VLC_VAR_HASCHOICE.
        - Added a new VLC_VAR_VOID variable type. This can be useful in conjunction with
      VLC_VAR_ISCOMMAND for instance.
  12. 06 Dec, 2002 1 commit
  13. 31 Oct, 2002 1 commit
  14. 29 Oct, 2002 2 commits
  15. 28 Oct, 2002 2 commits
  16. 17 Oct, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/misc/variables.c: callback loops are now detected; this means you · ce7d29b2
      Sam Hocevar authored
          can now use var_* functions from within your callback, they can even
          trigger callback themselves, to any level. The main restriction is that
          you shouldn't meddle with a variable that is already being triggered by
          the current thread (other threads will just wait).
        * ./src/misc/objects.c: fixed a deadlock in the "tree" command.
        * ./modules/misc/testsuite/test4.c: added a "callback-test" command to the
          rc interface to test callback loop detection and concurrent triggers.
  17. 16 Oct, 2002 2 commits
  18. 15 Oct, 2002 2 commits
  19. 14 Oct, 2002 2 commits
    • Sam Hocevar's avatar
      * ./modules/misc/testsuite/test4.c: made the 4th test less CPU intensive · 2f278849
      Sam Hocevar authored
          by making the spawned threads wait a bit longer.
        * ./src/misc/variables.c: added a usage count to the variables; trying to
          create a variable with the same name only increments its refcount.
    • 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.
  20. 11 Oct, 2002 1 commit