1. 23 Jan, 2004 1 commit
  2. 11 Jan, 2004 1 commit
    • zorglub's avatar
      * configure.ac : Added new folders · 5dc722b5
      zorglub authored
      * New playlist import/export system:
         -export plugin in misc/playlist (contains one module for each file type)
         -open plugin = special demuxer2, that can be opened from the command
          line or the graphical interface.
        NB: the demuxer "playlist" is forced to earn speed, but this does not
        work yet, as we have a demux2
      
      * modules/gui/wxwindows: use the new import/export.
      
      * src/playlist/group.c : fixed boundary check
      
      * src/playlist/item-ext.c: correctly reset stuff when clearing the playlist
      5dc722b5
  3. 10 Jan, 2004 2 commits
  4. 06 Jan, 2004 2 commits
  5. 05 Jan, 2004 1 commit
    • zorglub's avatar
      * Makefile.am : Added src/playlist/item-ext.c and src/playlist/info.c · 17557ea6
      zorglub authored
      * src/playlist/item.c
        src/playlist/info.c
        src/playlist/item-ext.c
        src/playlist/group.c
        src/playlist/sort.c
        src/playlist/loadsave.c
        include/vlc_playlist.h
            - New playlist_info structures and accessors
              It works pretty like the old input_info (with categories)
              It provides modularity to the playlist
            - Removed ppsz_options and i_options from playlist_item
              (we use the special category Options)
            - Added a unique id to each playlist_item to be able to track the
              items accross playlist reorders
            - Simplified adding of items.
                 - playlist_AddExt is removed
                 - playlist_AddItem is still here and exported but should not be used
                 - use playlist_Add( p_playlist, uri, name, duration, mode, pos )
                   and use the accessors for all other things
            - Added setters for fields of the playlist_item structure
            - Introduced "item-change" and "playlist-current" playlist variables
              to give more flexibility than only intf-change
      
            At the moment, duration is still in the structure (easier to use, IMHO)
      
      * src/input/input.c
        src/libvlc.c :
              playlist item options parsing changed
      
      * include/vlc_common.h : added playlist_info structures
      17557ea6
  6. 03 Dec, 2003 1 commit
    • sigmunau's avatar
      all: · ddc23167
      sigmunau authored
       * in vlc, times are stored in microseconds. playlist_item_t::i_duration
         shouldn't be an exception
      modules/gui/wxwindows/playlist.cpp:
       * fixed indentation
      ddc23167
  7. 26 Nov, 2003 1 commit
  8. 12 Nov, 2003 1 commit
  9. 29 Oct, 2003 1 commit
    • zorglub's avatar
      * src/playlist/* && Makefile.am · 84b846bf
      zorglub authored
         - splitted the enormous playlist.c file
         - implemented a better item group system: groups have a name
           and must be created before use by
            playlist_CreateGroup( p_playlist, "newgroupname")
      
      * modules/misc/sap.c
         - Create our own playlist group ("SAP") and use it
      
      * modules/access/slp.c
         - Create our own playlist group ("SLP") and use it
      
      * modules/demux/util/id3tag.c
         - Trigger playlist update when we have parsed our tag
      
      * modules/gui/wxwindows/interface.cpp
         - Fixed the about box by using vlc_wraptext
         - Added the simple open and the streaming wizard icons
                 *** Icons need to be changed ! ***
         - Added the visualization to the extended gui
      
      * modules/gui/wxwindows/preferences.cpp && include/vlc_help.h
         - Enlarged the window to fit the wrapped text
         - Added help for audio encoders
      
      * modules/gui/wxwindows/stream.cpp  & open.cpp & include/vlc_interface.h
         - Created a "streaming wizard" window (3-step streaming)
      
      * modules/gui/wxwindows/iteminfo.cpp:
         - Group change is now based on the name
      
      * modules/gui/wxwindows/playlist.cpp
         - Added author and group columns to the listview
         - Redesigned the window
         - Added the Sort menu with several criteria (title, author, group)
         - Added up/down buttons to move an item in the playlist
         - Added the group menu to enable/disable a group in an understandable way
      
      
      TODO:
      -----
      
      * playlist core :
         - Implement advanced sort capabilities  (multi-criteria)
         - File format to save the new features
         - export playlist (to M3U, eg)
         - more robust group creation (duplicates check, ...)
      
      * wxWindows playlist:
         The idea of a treeview seems impossible, because of wxWindow's treeview,
         that don't allow multi-selection, and, as far as I know, multi-columns.
         - Provide a frontend to advanced sort (when it's done :-) )
         - Allow moving items by drag & drop (well, if possible, haven't checked yet)
         - Allow moving several items at once
         - Customizable listview (ability to remove/move columns)
         - Find a solution to the focus problem
           (when you change track, the selected one scrolls at the
            bottom of the visible screen)
      
      * wxWindows interface:
         - New icons, our icons begin to get old and not so pretty
         - Find a solution for the volume bar (nobody understands what it is)
      84b846bf
  10. 06 Oct, 2003 1 commit
    • zorglub's avatar
      * include/vlc_playlist.h · 12cbd4c8
      zorglub authored
        src/playlist/playlist.c:
           * Implemented a boolean b_enabled to disable a playlist item
           * Implemented the idea of group (p_item->i_group), that allows
             to enable/disable and to sort some series of items
           * Implemented an unused (at the moment), psz_author field
           * Started to implement a new playlist format to store all of these
      
      * modules/gui/wxwindows/interface.cpp:
           Added a hiddeable panel to put some important options.
           (Menu Preferences->Extra GUI)
           At the moment, we put the adjust filter and aspect ratio, and must
           decide what options we want here
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/iteminfo.cpp:
           Added "Enable/disable group button", options to enable/disable selection
           Added an item info dialog box
      
      * modules/misc/sap.c :
           Added a sap-group-id option: the SAP playlist items are in a separate group
           (defaults to 42)
      
      * modules/visualization/visual/effects.c:
           Minor coding style fixes
      
      Todo:
      -----
      
      * Advanced sort (alphabetical and/or by group)
      * Ability to load 0_6 playlists
      * Really use the libid3tag
      12cbd4c8
  11. 08 Sep, 2003 1 commit
    • zorglub's avatar
      * src/playlist/playlist.c · 8f02c035
      zorglub authored
             include/playlist.h: playlist sorting
       		(function playlist_Sort( playlist_t * , int type)
      
      * modules/gui/wxwindows/playlist.cpp
        modules/gui/wxwindows/wxwindows.h :
      	* Implement playlist sorting & reverse sorting
      	* Playlist search
      8f02c035
  12. 14 Aug, 2003 1 commit
    • sigmunau's avatar
      vlc_playlist.h: · 92c1ab4e
      sigmunau authored
         * added a duration field to the playlist item struct
      vlc_playlist.h, playlist.c:
         * turned playlist_AddName into playlist_AddExt and made it take an extra
         argument( the duration )
         * doxygenize comments
      modules/demux/m3u.c, modules/gui/macosx/playlist.m:
         * use playlist_AddExt
      92c1ab4e
  13. 23 Jul, 2003 1 commit
    • gbazin's avatar
      · eb505a2f
      gbazin authored
      * ALL: changes to the playlist_Add() and VLC_AddTarget() proto to include a list of options associated with the input.
      * src/input/input.c: parses the input options list before spawning the input and create object variables for these options. Options are of the form "[no[-]]foo[=bar]" where foo is the option name and bar is its value.
      * src/input/input.c, src/input/input_dec.c: use the object var api to get the value of the "sout", "sout-video" and "sout-audio" options.
      * src/libvlc.c: extended the command line parser to parse input options. Input options must always follow the input they apply to and begin with a ':'.
      
      All these changes allow you to specify input specific options.
      eg: ./vlc --no-sout-audio yourvideo.mpeg :sout=udp/http::8080 :sout-audio yourvideo2.mpeg
      Here the ":sout" option will only apply to yourvideo.mpeg.
      "--no-sout-audio" will be a global option so will apply to yourvideo2.mpeg but the global behaviour is overriden by ":sout-audio" for yourvideo.mpeg.
      
      TODO: - the interfaces need t...
      eb505a2f
  14. 27 Jun, 2003 1 commit
    • zorglub's avatar
      · 8f9ee6fd
      zorglub authored
      * modules/demux/m3u.c :
          Added name support. Only implemented for M3U and B4S playlists at the moment
      
      * src/playlist/playlist.c
        include/vlc_playlist.h   : Added the playlist_AddName function to add an item with its name without filling an item structure.
      8f9ee6fd
  15. 17 Mar, 2003 1 commit
    • hartman's avatar
      * src/playlist/playlist.c: · 7314de69
      hartman authored
        - added playlist_Move to move an item in our playlist before the position
          of a previous item (or end) of our playlist. Keeps index at it's current
          item.
      * modules/gui/macosx/playlist.?:
        - Now a reorderable playlist. Thanks to Andrew Stone for example code.
          This fixes #349 (Finally ;)
        - True alternating colors in the playlistview. Thanks to Apple Computer
          for the example code.
      7314de69
  16. 29 Jan, 2003 1 commit
  17. 13 Dec, 2002 1 commit
    • Boris Dorès's avatar
      - vlc_playlist.h, playlist.c: added the ability to save a playlist to · 4552cb1e
      Boris Dorès authored
        and restore it from a file chosen by the user.
      
      - win32/*:
      
        - implementation of the previous feature in the win32 interface
      >   -> what the other interfaces need to do to support it is simply to
      >      call the two following functions:
      >       int playlist_LoadFile(playlist_t *p_playlist,const char *psz_filename);
      >       int playlist_SaveFile(playlist_t *p_playlist,const char *psz_filename);
      >      where psz_filename is the name of the destination/source file.
      
        - ability to open several files at a time
      4552cb1e
  18. 03 Dec, 2002 1 commit
    • Arnaud Schauly's avatar
      * src/playlist/playlist.c : Added playlist_AddItem (enqueues · 923da588
      Arnaud Schauly authored
      playlist_item_t instead of psz_target ). Now playlist_Add uses
      playlist_AddItem to enqueue.
      * include/vlc_playlist.h : Added a psz_uri field in the playlist_item_t
      structure.
      * src/input/input.c : takes item->psz_uri  argument to start playing an
      item.
      923da588
  19. 12 Nov, 2002 1 commit
    • gbazin's avatar
      · 35b69681
      gbazin authored
      * include/vlc_playlist.h, src/playlist/playlist.c: added a b_autodeletion
         flag to the playlist item structure. If this flag is set then the playlist
         item will be deleted automatically after it has been played.
      35b69681
  20. 31 Jul, 2002 1 commit
  21. 20 Jul, 2002 1 commit
  22. 03 Jul, 2002 1 commit
  23. 07 Jun, 2002 3 commits
  24. 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
  25. 01 Jun, 2002 2 commits
    • Sam Hocevar's avatar
    • Sam Hocevar's avatar
      * ALL: the first libvlc commit. · 9e3ab283
      Sam Hocevar authored
         As for video output 4, this breaks almost everything, but I'll slowly
        do what remains to be fixed during the weekend.
      
         Changes in vlc:
         ===============
      
        * vlc is now a very small program (20 lines) which uses the libvlc API;
         it is quite simple for the moment but can be extended in the future.
      
        * interfaces, decoders, video outputs, etc. are now almost the same
         objects (yes, I know, this is C++ redone in C) and are structured in
         a tree. More about this later, but basically it allows the following
         nice features:
          - several interfaces
          - several playlists with several outputs
          - input plugins spawning helper interfaces (will be used for DVD menus)
          - anything spawning anything; I swear there are useful uses for this!
      
        * libvlc can be used in other programs; I'm currently writing a Mozilla
         plugin for my employer.
      
         Things currently broken:
         ========================
      
        * most interfaces, most ports
        * the playlist handling (almost finished rewriting this though). This means
         no file can be played from the GUI, you need to use the commandline. This
         also means it segfaults at EOF, when exiting the program, and it sometimes
         refuses to open a file when asked to.
      9e3ab283
  26. 24 Apr, 2002 1 commit
  27. 30 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · cc0f0bb6
      Sam Hocevar authored
      Some heavy changes today:
        * Removed duplicate function checks from configure.in.
        * Added extra magic to Makefile.modules so that the module Makefiles
          are now ridiculously simple. And I mean *simple*. Check it! This will
          make a possible switch to full autoconf/automake a lot easier.
        * Added the vlc version name to the plugin symbols, to be sure we only load
          plugins with the same version number. A nasty consequence is that you
          need to rebuild your tree after midnight if you are using a CVS tree :-)
        * Got rid of modules_export.h by #defining exported functions in the same
          header as their prototype.
        * Added modules_inner.h and other commonly used .h files to common.h so
          there are less and less files to include, and renamed common.h to
          <videolan/vlc.h>.
        * First modifications to the module handling system towards my ultimate
          goal to get rid of the *_Probe functions. Got rid of TestMethod and
          TestCPU, as well as src/misc/tests.c.
        * Wrote the chroma plugin handling functions. No YUV functions have been
          ported yet because it'ls a lot of work, but the core system works, I
          tried it with a naive yv12->rgb16 plugin (which will disappear when the
          real functions are ready).
        * Made a lot of functions in dvd_summary.c one-liners to avoid wasting
          too many output lines.
        * Fixed a segfault in input_dvd.c:DVDInit.
        * Added a fixfiles.sh script in plugins/gtk to be run after Glade has
          generated its C files.
        * Did some work on the KDE interface to make it suck a bit less. It still
          segfaults, but at least it runs and it looks less ugly.
        * RGB SDL rendering works again, though in 16bpp only.
        * Made plugins/vcd/linux_cdrom_tools.c independent of any vlc structure
          so that it'll be easily put in a library. Maybe libdvdcss?
        * Fixed VCD date display.
        * Merged vout_xvideo.c, vout_x11.c and vout_common.c into xcommon.c.
        * Wrote non-Shm XVideo output.
        * Made X11 output work again. Still pretty unstable, only works for 16bpp.
        * Additional french translation in po/fr.po. Any taker for the rest?
        * Fixed a segfault in video_output.c when the allocated pictures were
          not direct buffers.
        * If $DISPLAY isn't set, don't try to run the Gtk+ interface.
        * Replaced 48x48 .xpm images with 32x32 ones to conform to Debian policy
          (Closes Debian bug #126939).
        * Removed the automatic ./configure launch when running `make all' for
          the first time.
      
      Stuff currently more broken than it ought to be:
        * The wall filter. Being fixed.
        * x11 and sdl plugins for depth != 16bpp.
        * Software YUV.
        * gvlc, gnome-vlc, kvlc shortcuts. Use --intf instead for the moment.
      cc0f0bb6
  28. 30 May, 2001 1 commit
    • Sam Hocevar's avatar
      · 440f9992
      Sam Hocevar authored
        * Fixed the BeOS compile typo.
        * The ALSA plugin is back.
        * A gift for Gildas: plugins don't rely on backlinking any more. The
          drawback is the dirty magic in include/modules_export.h which has to
          be included whenever a module needs one of the functions in it. But
           a) we should less and less rely on those functions
           b) no plugin code modification was needed
      
         The BeOS and MacOS X modules may be broken when compiled as plugins,
         I'll check this later when I can reboot under BeOS.
      440f9992
  29. 15 May, 2001 1 commit
    • Stéphane Borel's avatar
      *initialization bugfixes in input_dvd · 9530fc9f
      Stéphane Borel authored
      *added a b_stopped flag to interface playlist to have a stop function in
      interface plugins. As a consequence, the playlist no longer loops on end
      but wait for the user to press 'play' or to add another item (gtk/gnome
      interface). I think that other plugins are broken but it shouldn't be
      difficult to repair: just add a 'p_main->p_playlist->b_stopped = 0' in
      play functions and 'p_main->p_playlist->b_stopped = 1' when you have to
      stop.
      
      *Updated gtk interface so that it has the same features as gnome. I
      think I will merge the code so that we don't have to copy and paste each
      change. Only the .glade file would be different.
      9530fc9f
  30. 21 Mar, 2001 1 commit
    • Sam Hocevar's avatar
      · 4f551c2b
      Sam Hocevar authored
        * Header cleaning: filled all empty authors fields, added CVS $Id stuff.
        * Fixes to aout_darwin.c by Colin Delacroix <colin@zoy.org>.
        * Fixes to configure.in, Makefile.in and main.c (Altivec detection)
          by Eugenio Jarosiewicz <ej0@cise.ufl.edu>.
        * Added Colin and Eugenio to the AUTHORS file.
      4f551c2b
  31. 15 Mar, 2001 1 commit
    • Sam Hocevar's avatar
      · a0c1805b
      Sam Hocevar authored
        * Bug fixes and enhancements in the Gtk+/Gnome interfaces.
      
         o the slider should behave correctly and stop jumping here and
           there (this bug is _not_ related to Stef's similar bug)
         o added an "open network" menu (useless since the input doesn't
           handle it properly yet)
         o tried to reorganize gnome_callbacks.c and gtk_callbacks.c
         o stream date is now displayed instead of percentage
         o renamed gnome_sys.h to intf_gnome.h, and gtk_sys.h to intf_gtk.h
      
        * Changed documentation and package creation files.
      
         o added versioned conflicts/replaces to vlc-gtk (Closes Debian bug #88796)
         o removed useless or outdated documentation from doc/*
         o moved vlc.1 manpage from debian/vlc.1 to doc/vlc.1
      
        * Added basic Qt interface.
      
         o working features: slide bar, open file, toolbar, popup menu
         o added "qvlc" alias, equivalent to "vlc -I qt"
         o known issues : no "open disc" or "open network" menus yet
                          the IntfWindow class is never cleaned on destruction
                          the popup menu always pop at the middle of the screen
      
        * Misc fixes/updates.
      
         o renamed netutils.h functions from input_* to network_*
         o renamed *plst* files and functions to *playlist* (it was stupid
           from me to name them "plst")
         o made a few input error messages more meaningful
         o added -I, -A and -V short flags, corresponding to --intf, --audio
           and --video
      
          I got a lot of conflicts on this commit, lart me if I forgot a
        file or made old bugs reappear.
      a0c1805b
  32. 08 Mar, 2001 1 commit
    • Pierre Baillet's avatar
      Hurg ! · 585b6ad7
      Pierre Baillet authored
      ###code is dirty###
      Please clean it for me :P
      (or at least, tell me how to clean it)
      
      . Slightly modified playlist base interface
        (Added a function to jump directly to an item, used for double clicking)
      
      . Added manymanycallbacks
      . Added the playlist dialog
      . Added Dnd support for intf_window and the clist1
        . support URI and plain file(s)/folder(s)
      . Added "show/hide main window" menuitem in intf_popup
      . Added bugs :P
      
      Enjoy and please bug report.
      585b6ad7
  33. 08 Feb, 2001 3 commits
    • Sam Hocevar's avatar
      · 71f866bf
      Sam Hocevar authored
       . added comments to src/interface/intf_plst.c and include/intf_plst.h
         so that people understand how the playlist works.
       . updated the TODO list (34 items to do, 41 done !)
      71f866bf
    • Sam Hocevar's avatar
      · 03d925fd
      Sam Hocevar authored
       . moved the playlist handling from input/input.c to interface/interface.c
       . fixed a few warnings at compile-time
       . fixed sound channel selection in playlist mode
       . added a color message in the plugin bank because on peut bien d�conner
         cinq minutes, quand-m�me
       . we now spawn a new input thread for each file
       . added a missing pf_close() because it's always cool to close files
         after we read them
      03d925fd
    • Sam Hocevar's avatar
      · 0935df9e
      Sam Hocevar authored
         This commit is a bit early, but it'll save Stef, Henri and me much
       time later, when we don't have to backport modifications to input_*.c
      
         What's new :
          - playlist works again (still the old wrong way like Meuuh doesn't
          like, but this is going to change within a few hours)
          - input_ps, input_ts and input_dvd are now plugins, located in
          plugins/mpeg/ and plugins/dvd/
      
         What's broken :
          - audio output might be broken on some streams ; have to investigate
      
         What has changed :
          - fast/slow keys are now A/Z instead of A/S since S was already
          linked to the scale/noscale toggle.
          - `--dvd' doesn't work anymore, for the moment try to use :
           vlc --input dvd /dev/dvd
          - module bank is now less verbose ; use `--warn 1' to turn back
          verbosity on
      0935df9e