1. 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
  2. 02 Jun, 2002 1 commit
    • Sam Hocevar's avatar
      (new in MAIN) · b73f6722
      Sam Hocevar authored
        * ./src/playlist/playlist.c, src/input/input.c: added safety checks to
          prevent crashes on next file.
      (ported from 0_4_1_branch)
        * ./plugins/gtk/gtk_display.c, ./plugins/win32/mainframe.cpp: we deactivate
          popup menus when no stream is being played, even in network mode.
        * ./src/input/mpeg_system.c: removed unnecessarily verbose message.
      b73f6722
  3. 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
  4. 21 May, 2002 1 commit
  5. 20 May, 2002 1 commit
  6. 14 May, 2002 1 commit
  7. 23 Apr, 2002 1 commit
    • Sam Hocevar's avatar
      * ./src/interface/main.c: tidied the help output code. · a6bccb1c
      Sam Hocevar authored
        * ALL: removed underscores from option names and made a few options more
          self-explanatory, for instance --input_channel becomes --audio-channel;
          run vlc -H to see what has changed.
        * ALL: replaced many occurences of "plugin" with the word "module".
        * ./src/interface/main.c: moved all satellite-specific configuration options
          to the satellite plugin.
        * ./po/*: updated translations.
      a6bccb1c
  8. 08 Apr, 2002 1 commit
    • Johan Bilien's avatar
      · cb8ef93c
      Johan Bilien authored
      * made file access plugin use input_SetProgram so that we may change
        program when reading a file
      * fixed a bug in input_SetProgram
      * added --input_program <int> option, to choose the program from
        the command line
      cb8ef93c
  9. 04 Apr, 2002 1 commit
  10. 18 Mar, 2002 1 commit
    • Xavier Marchesini's avatar
      · ac7973f4
      Xavier Marchesini authored
        * skip "//" if we find "://" in a resource we have to play : this allows us to use the syntax udpstream://host.
      ac7973f4
  11. 15 Mar, 2002 1 commit
    • Sam Hocevar's avatar
      · 0d972bf5
      Sam Hocevar authored
        * ./Makefile: fixed OS X vlc.app compilation dependencies.
        * ./configure.in: fixed the endianness check under Solaris.
      
        * ./src/input/input.c: strings are now initialized to "" instead of NULL.
      
        * ./plugins/spudec/spu_decoder.c: we now properly support the subtitle
          palette information we get from the DVD. Subtitles rox !
        * ./src/video_output/vout_subpictures.c: removed all DVD-specific routines
          and put them into spu_decoder.c.
      0d972bf5
  12. 11 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · 7f583e05
      Gildas Bazin authored
      
      * New GTK configuration interface. This interface is generated dynamically
        at run-time from the configuration data contained in each plugin.
      * config_PutPszVariable and config_GetPszVariable are now thread safe.
      * Few modifications/optimizations to the config module.
      * Got rid of all the _VAR macros in config.h
      
      This is the first version of the GTK configuration interface. There are still
      a few raw corners and a fews things left to do, but it basically does what
      I wanted.
      Constructive comments like it sucks or it smells rotten fish are of course
      very welcome. And if there are GTK gurus out there, please don't hesitate to
      add your touch.
      
      I also started to add usefull comments to the configuration options but I'm not
      really good at this kind of thing so if people want to help, they can finish
      the job. For this look at all the *_LONGTEXT macros at the top of main.c
      
      (PS: Translations will also be appreciated but not right now as the interface
      will likely change again in the few coming days)
      7f583e05
  13. 09 Mar, 2002 1 commit
    • Stéphane Borel's avatar
      · c2aac10e
      Stéphane Borel authored
      *Fixed EOF segfault at end of DVD
      
      *Buffer manager is renintialised at area change.
      c2aac10e
  14. 06 Mar, 2002 1 commit
    • Stéphane Borel's avatar
      · 55ce4df1
      Stéphane Borel authored
      *Removed an occurance of former angle item in gtk.
      
      *Fixed a bug in ES management introduced lately in DVD/DvdRead.
      
      *Beginning of reorganisation in DVD plugin source files, in order to try to
      make it easier to understand. There is some work left though :p.
      
      *Decreased the score for VCD plugin, as the VCD demuxer was used even
      for DVD :p. It should make autodetection work.
      Some comment:
      -I think that VCDInit should make a test on the access plugin and be launched
      only if the access plugin is VCD,
      -VCDOpen shouldn't set p_input->b_error: if it fails we just try another
      module,
      -PSRead doesn't need to be duplicated anymore: input_ReadPS is now available
      for plugins (cf Christophe's commit).
      
      Please comment around that: I'd like to know if the behaviour I've described
      is the one everyone expects.
      
      Enjoy my new bugs :p
      55ce4df1
  15. 05 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · 7729c4e2
      Gildas Bazin authored
      
      * fixed typo in the win32 change to the input parser.
      7729c4e2
  16. 04 Mar, 2002 1 commit
    • Gildas Bazin's avatar
      · a14f1ce3
      Gildas Bazin authored
      
      * this time I actually commited the win32 modif to the input parser ;-)
      a14f1ce3
  17. 03 Mar, 2002 1 commit
    • Xavier Marchesini's avatar
      · 669c712a
      Xavier Marchesini authored
       * Fixed DVD input under Win32.
       * Fixed input parser under win32, chich couldn't understand that
      c:\windows\bureau is a valid file and doesn't need to be accessed with
      the plugin 'C' :-)
       * BTW, I added myself in the AUTHORS file :)
      669c712a
  18. 02 Mar, 2002 2 commits
    • Sam Hocevar's avatar
      · b5231008
      Sam Hocevar authored
         * ./plugins/dummy/input_dummy.c: fixed `vlc vlc:quit'.
         * ./src/input/input.c: initialized uninitialized variables.
      b5231008
    • Stéphane Borel's avatar
      · 7a65e297
      Stéphane Borel authored
      *Initiliaze p_access_module & p_demux_modules to NULL when input thread
      in created.
      7a65e297
  19. 01 Mar, 2002 2 commits
    • Stéphane Borel's avatar
      · 9b393dab
      Stéphane Borel authored
      *dvd and dvdread support for input III.
      
      Dvdread is known to segfault at title change. I'm working on this.
      9b393dab
    • Christophe Massiot's avatar
      Input III (Episode 1). · d0bf23fa
      Christophe Massiot authored
      - Major rewrite of the buffer core functions
      - Modularity of access plugins (file, udp, http)
      - Modularity of network stack (ipv4, soon ipv6)
      - Autodetection of the type of stream
      
      And a new killing feature : HTTP streams are now seekable.
      
      Please note that dvd, dvdread and vcd plug-ins are broken and thus disabled.
      d0bf23fa
  20. 27 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 7f76c7c5
      Sam Hocevar authored
        * ./src/input/input.c: BeOS network support (no idea if it works when you
          don't have BONE, though).
      7f76c7c5
  21. 26 Feb, 2002 1 commit
    • Xavier Marchesini's avatar
      · 638dac1c
      Xavier Marchesini authored
      Multicast now works under Win32, but this is a _bad_ kludge.
      
      It still segfaults 4 secondes after the first frame, but, at least, I
      can see two or three frames from MI2 :-)
      638dac1c
  22. 25 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 2935b320
      Sam Hocevar authored
        * ./include/threads.h: support for the State Threads Library, a userland
          threads library (http://state-threads.sourceforge.net/). Useless to most
          people, but can be handy to debug stuff. Activate with `--enable-st'.
      2935b320
  23. 24 Feb, 2002 1 commit
    • Gildas Bazin's avatar
      · c40571df
      Gildas Bazin authored
      This is the first part of the new configuration architecture for vlc.
      Two other parts will follow soon:
      - config file implementation
      - gtk configuration interface.
      
      This part won't change much for end-users as these changes are mostly
      internal, you will however notice that the command line interface has
      changed. It will maybe be less user-friendly as I almost removed the
      short options but it shouldn't a big problem when the config file is
      implemented.
      
      What as changed is that it is really easy now to add configuration
      options to vlc. Plugins can also implement configuration options. All
      you have to do is to declare a MODULE_CONFIG section in your plugin.
      If you want to know more about this look at configuration.h and for some
      example: main.c, dsp.c or xvideo.c
      
      It would be nice if every developper could now start using configuration
      options in there plugins and also enhance old plugins.
      
      That's it, now let's hope I didn't break too many things ;-)
      c40571df
  24. 19 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 730cc399
      Sam Hocevar authored
         * Got rid of TRACE and intf_DbgMsg which were seldom used anyway.
         * All intf_*Msg functions now write to stderr.
         * Implemented a message queue interface plugins can subscribe to.
         * Wrote the logger interface plugin. Usage:
            vlc -I logger:filename.log
         * Lots of fixes in the SPU renderer.
      730cc399
  25. 15 Feb, 2002 1 commit
    • Sam Hocevar's avatar
      · 48cbd8f3
      Sam Hocevar authored
        * ALL: got rid of *_Probe functions because most of them were duplicates
          of the real _Init or _Create functions. That's 1000 lines of code gained.
        * ./src/misc/modules.c: we try not to keep the global lock in module_Need,
          which should speed up output spawning.
        * ./plugins/dummy/input_dummy.c: fixed vlc:quit command.
        * ./plugins/gtk/gtk_playlist.c: compilation fix.
        * ./plugins/macosx/*: preliminary fixes for the vout4 port.
      
         Notes on the *_Probe eradication:
        o I probably broke the DirectX video output, because of the "must init and
          run in the same thread" issue. I'll fix this ASAP.
        o Subtitles are broken (or at least, pretty ugly) in RGB mode.
        o The input plugins still have *_Probe functions. This will disappear when
          meuuh is finished with the access plugins.
        o The decoder plugins still have *_Probe functions. This is probably not
          going to change, it looks OK to me.
      48cbd8f3
  26. 21 Jan, 2002 1 commit
  27. 15 Jan, 2002 2 commits
  28. 10 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 0e8b68b5
      Sam Hocevar authored
        * ./src/input/input.c: fixed a few segfaults caused by the dummy plugin.
        * ./plugins/mpeg_adec/mpeg_adec.c: fixed a segfault due to misuse of
          DecoderError.
        * ./plugins/x11/xcommon.c: replaced XFlush with XSync. This must be the
          fourth time someone has to commit this, so I added a reminder :-)
      0e8b68b5
  29. 09 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · c7b1c474
      Sam Hocevar authored
        * ./include/modules_inner.h: replaced _X with __VLC_SYMBOL because _X was
          already a system macro under MacOS X.
        * ./plugins/dummy/dummy.c: fixed vlc:loop, vlc:quit, etc. entries.
        * ./plugins/glide/glide.c: activated double buffering.
        * ./plugins/mga/xmga.c: started writing an xmga plugin; doesn't work yet.
        * ./src/input/input.c: fixed the input memory leak, and the insane thread
          spawning we got with vlc:loop.
        * ./src/misc/intf_eject.c: disc ejection routine courtesy of Julien Blache,
          currently Linux-only.
      c7b1c474
  30. 07 Jan, 2002 1 commit
    • Sam Hocevar's avatar
      · 1e053ea0
      Sam Hocevar authored
        * ./plugins/mga/mga.c: removed the mgammx module and put the code in
          the chroma_i420_ymga module instead. This introduces a slight
          performance issue as we now need to memcpy() the Y plane, but I have
          some vout4 enhancements on their way which make this point moot.
        * ./debian/changelog: imported official Debian changelog.
        * ./debian/control: activated the vlc-mad and vlc-arts packages; package
          builds should now work again.
        * ./plugins/dvd/dvd.c: solved a symbol resolution issue when vlc was
          compiled without libdvdcss which overflowed the return stack.
        * ./plugins/ggi/ggi.c: ported the GGI plugin to vout4.
        * ./plugins/glide/glide.c: ported the Glide plugin to vout4 (untested).
        * ./src/input/input.c: prepared everything for multi-input mode; since
          no interface is yet prepared to handle this, I changed them so that
          they just use the first available input for now. This may break other
          things, but I promise I'll eventually repair everything :-)
      1e053ea0
  31. 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
  32. 27 Dec, 2001 1 commit
  33. 12 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · 279f805a
      Sam Hocevar authored
        * Additional fixes for OSes with no gettext (thanks to ej0).
        * Fixed a potential BeOS linking issue.
        * Fixed a minor bug in input.c.
      279f805a
  34. 10 Dec, 2001 1 commit
  35. 07 Dec, 2001 2 commits
    • Sam Hocevar's avatar
      · 1b8d106c
      Sam Hocevar authored
        * Fixed a total breakage of decoder plugins introduced by fast_memcpy.
        * Got rid of #include "main.h", included it in common.h instead ; got
          rid of #include "config.h" in most files as well.
      1b8d106c
    • Johan Bilien's avatar
      * added functions in inputs to change the current program (most of · 7917d2ef
      Johan Bilien authored
        them do nothing)
      
      All inputs should now have a pf_setprogram function. A default one is
      provided in input_programs.c.
      7917d2ef