1. 06 Jan, 2004 1 commit
    • zorglub's avatar
      - src/misc/win32_specific: compilation fix for win32 (can someone please · 982c016f
      zorglub authored
      check that command line parsing still works for items and options? )
      
      - src/libvlc.c
        include/vlc/vlc.h : New libvlc functions to get playlist status and
                            clear the playlist
           Patch by Tong Ka Man
      
      - src/playlist/* : Update copyrights
      
      - src/playlist/playlist.c:
        -When a user explicitely asks for an item, do play it, even if random mode
        -Do not stop playlist upon deletion of an autodelete item
        -playlist_Clear (Patch by Tong Ka Man)
      982c016f
  2. 09 Dec, 2003 1 commit
    • gbazin's avatar
      · 9e1d63b5
      gbazin authored
      * src/misc/mtime.c: fixed an overflow in mdate() on win32.
        This overflow was only affecting the hardware configurations where we can't use the performance counter and thus have to use GetTickCount().
        We now also check for the wrapping of the 32 bits value returned by GetTickCount() so mdate() doesn't wrap after 49.7 days.
      * src/misc/win32_specific.c: call mdate() once in system_Init() so as to avoid thread safety issues while initialising the static variables used in mdate().
      9e1d63b5
  3. 02 Dec, 2003 1 commit
  4. 03 Oct, 2003 1 commit
  5. 29 Sep, 2003 1 commit
    • gbazin's avatar
      · 08e5a1f7
      gbazin authored
      * include/os_specific.h, src/libvlc.[c,h], src/misc/win32_specific.c: new win32 specific option (--one-instance) to have only one instance of vlc running at once.
       Running another vlc (with --one-instance as well) will only transfer the requested playlist items to the first instance.
      08e5a1f7
  6. 31 Jul, 2003 1 commit
    • gbazin's avatar
      · e03c2c0d
      gbazin authored
      * src/misc/win32_specific.c: change the mode of stdin to _O_BINARY so we can use stdin to read files (thanks to Steve Li).
      * modules/control/http.c: allow directories of the form "x:\" on win32.
      e03c2c0d
  7. 18 Jul, 2003 1 commit
    • gbazin's avatar
      · e809bbac
      gbazin authored
      * src/libvlc.h: disabled the encoders config options (encoders are not used anymore, all the encoding is done in the stream output transcode module).
      * src/misc/win32_specific.c: added an --high-priority config option on win32 to increase the priority of the process (default enabled for now so the behaviour isn't changed.)
      e809bbac
  8. 03 Mar, 2003 1 commit
    • gbazin's avatar
      · 7211d64e
      gbazin authored
      * ALL: Finally fixed the MSVC project files.
             Don't include io.h on win32 when not necessary.
             A few build fixes for MSVC.
      
      * src/misc/win32_specific.c: try to load winsock2 instead of winsock1 when
         present.
      7211d64e
  9. 17 Feb, 2003 1 commit
  10. 19 Jan, 2003 1 commit
  11. 10 Nov, 2002 1 commit
  12. 08 Nov, 2002 1 commit
    • gbazin's avatar
      · d532cf3c
      gbazin authored
      * ALL: using "%ll" in printf format strings is not portable (notably on win32) so
         we now use the I64Fx familly of macros to print 64 bits numbers (x being
         replaced by d,i,o,u,x or X).
         eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
      
      * src/misc/messages.c: got rid of ConvertPrintfFormatString().
      d532cf3c
  13. 07 Nov, 2002 1 commit
    • gbazin's avatar
      · d472b3e2
      gbazin authored
      * INSTALL.win32, include/vlc_config.h, src/libvlc.h: changes to reflect the
         fact that libdvdcss now needs a colon after the DVD drive letter (on Win32).
      
      * src/misc/messages.c: on Win32 only use fflush() if in debug mode.
      
      * src/misc/win32_specific.c: try to raise the our process priority slightly
         above normal. This prevent us from suffering too much from normal activity
         of the OS.
      d472b3e2
  14. 04 Oct, 2002 1 commit
    • gbazin's avatar
      · 80b15699
      gbazin authored
      * src/misc/threads.c, src/misc/win32_specific.c, include/interface.h: fixed typos.
      * configure.ac.in, modules/gui/gtk/gtk.c: Added a NEED_GTK_MAIN macro to the compiler
         flags for the gtk module. When this macro isn't defined, then the gtk module
         doesn't make use of the gtk_main module. I had to do this change because the
         gtk_main trick can't work on win32 and render the whole gtk interface unusable.
      80b15699
  15. 17 Sep, 2002 1 commit
  16. 11 Aug, 2002 1 commit
    • gbazin's avatar
      · f688e667
      gbazin authored
      * src/misc/configuration.c: bugfix (don't initialize and free p_module->object_lock
      twice).
      * src/misc/win32_specific.c: missing initializations.
      * modules/demux/mp4/libmp4.c: was missing an #ifdef HAVE_ZLIB_H
      f688e667
  17. 29 Jul, 2002 1 commit
    • gbazin's avatar
      · 7152ccea
      gbazin authored
      * include/vlc_threads.h,include/main.h,src/misc/threads.c,src/misc/win32_specific.c:
      reverted Win32 pthread implementation to the old code. Fixed vlc_cond_broadcast() for
      WinNT/2K/XP. Additional vlc_cond_* implementations for Win9x.
      * src/libvlc.h: renamed --fast_pthread option into --fast-mutex. Added a
      --win9x-cv-method option to choose which vlc_cond_* implementation we want on Win9x.
      7152ccea
  18. 08 Jun, 2002 1 commit
  19. 02 Jun, 2002 1 commit
    • gbazin's avatar
      · f8570a69
      gbazin authored
      * ./include/os_specific.h: changed prototype of system_*() to use vlc_t
      instead of vlc_object_t.
      f8570a69
  20. 01 Jun, 2002 3 commits
    • Sam Hocevar's avatar
      * ./plugins/dummy/intf_dummy.c, ./plugins/chroma/i420_yuy2.c, · 1dedf688
      Sam Hocevar authored
          src/interface/intf_eject.c, src/misc/threads.c: win32 compilation fix.
        * ./plugins/directx/aout_directx.c, plugins/directx/vout_directx.c,
          ./plugins/directx/vout_events.c: the DirectX notification and event threads
          now use the vlc_thread_create / vlc_thread_ready scheme. Untested.
        * ./configure.in: added a check for inttypes.h and sys/int_types.h.
        * ./configure.in: fixed the HTTP plugin compilation under BeOS.
        * ./plugins/network/ipv6.c: reactivated IPv6 module.
      1dedf688
    • Sam Hocevar's avatar
      * ./src/misc/beos_specific.cpp: BeOS fixes, removed a static variable. · 2dad070c
      Sam Hocevar authored
        * ./include/main.h: replaced p_sys with explicit variables because it's
          really much simpler this way. Gildas, will you ever forgive me ? :-)
      2dad070c
    • 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
  21. 27 Apr, 2002 1 commit
    • gbazin's avatar
      · 9d6920b9
      gbazin authored
      * moved the function definitions from threads.h into threads_funcs.h. This
         allows us to move p_main_sys into p_main (p_main->p_sys).
      * fixed the --with-gtk-config-path and --with-sdl-config-path options in
         configure.in
      9d6920b9
  22. 02 Apr, 2002 1 commit
    • gbazin's avatar
      · 4f08a70d
      gbazin authored
      * New pthread implementation for WinNT/2K/XP. This implementation shouldn't
        be subject to race conditions as it is using SignalObjectAndWait() from the
        Win32 API.
        As this should be somehow slower than the old method (still used on Win9x),
        you can specify that you want to use the old method with the "fast_pthread"
        config option.
      
      * Added a new p_main_sys global variable. This variable is a pointer to an
        OS specific structure which is defined in *_specific.h. This structure can
        be filled by the already existing System_Init() function and is a nice
        way to avoid too many #ifdefs.
      4f08a70d
  23. 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
  24. 09 Dec, 2001 1 commit
    • Sam Hocevar's avatar
      · 2be07191
      Sam Hocevar authored
        * COMPLETE CVS BREAKAGE !! The MAIN branch is going to be a playground
          for my nevrotic and destructive pulsions during the next few hours!
      
        * If you want to test vlc, please use the v0_2_92_branch branch.
      
        * Stuff currently working:
           - direct to YUV buffer decoding
           - non-ugly subtitle blending
           - XVideo and SDL video output
      
        * Stuff currently utterly broken:
           - aspect ratio
           - software rendering (ie, all other video output plugins)
      
        * Additional misc changes:
           - Renamed spu_dec to spudec and mad_adec to mad to stay coherent with
             other plugins. Also, renamed mpeg to mpeg_system.
           - Added jobi to the AUTHORS file.
           - Factored code common to vout_x11.c and vout_xvideo.c.
      2be07191
  25. 28 Nov, 2001 1 commit
  26. 14 Nov, 2001 1 commit
    • Jon Lech Johansen's avatar
      The default file-translation mode was not being set under win32. · 6cbaf162
      Jon Lech Johansen authored
      In other words, file playback in 0.2.91 does not work. For de-
      scheduling threads use a 0ms sleep instead of 1ms, as it was
      causing problems under WinXP. I hope this does not introduce
      problems under previous windows versions. I noticed it was
      originally 0ms, but later changed to 1ms...
      6cbaf162
  27. 12 Nov, 2001 1 commit
    • Sam Hocevar's avatar
      · cdf12612
      Sam Hocevar authored
        * Fixed the vlcs communication issue by initializing WinSock at
          startup (thanks Meuuh for the tip).
      cdf12612
  28. 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
  29. 20 Mar, 2001 1 commit
    • Sam Hocevar's avatar
      · b004a661
      Sam Hocevar authored
        * Split audio output into several separate files to make it easier
        to debug. Removed a few redundancies as well.
      b004a661
  30. 24 May, 2000 1 commit
  31. 03 Mar, 2000 1 commit
    • Sam Hocevar's avatar
      Encore un commit venu tout droit des abysses de l'enfer, d�sol� pour · 44bcfed0
      Sam Hocevar authored
      le flood, c'est la derni�re fois.
      
        . apr�s le demoronifier, le GPLifier: il y a les ent�tes de la GPL dans
         chaque fichier ; votre mission, si vous l'acceptez, est de mettre votre
         nom dans chaque fichier qui est votre oeuvre ou auquel vous avez
         particip�, pour qu'on sache qui a fait quoi. Pas de fausse modestie,
         c'est plus pour des raisons pratiques que pour la gloire.
      
        . rajout de -lthreads pour que �a linke sous Hurd
      
        . rajout de quelques #include pour que �a compile sous FreeBSD
         (d'ailleurs �a compile mais �a ne linke pas, je ne sais pas comment
         linker avec la libpthread sur la machine de Dae)
      
        . quelques #ifdef SYS_BSD �� et l�.
      44bcfed0
  32. 19 Feb, 2000 1 commit
    • Michel Lespinasse's avatar
      Yop, · 2dab23fc
      Michel Lespinasse authored
      Bon ben voila, j'ai commence a bouger les .h comme je voulais le faire...
      
      C'est encore un peu le bordel et j'en suis desole. Mais je compte bien
      deplacer des trucs jusqu'a ce que ca soit a nouveau bien range :)
      2dab23fc
  33. 13 Feb, 2000 1 commit
    • Sam Hocevar's avatar
      Je vous avais pr�venu. Le demoronifier a frapp�. · 2ad5fa64
      Sam Hocevar authored
       D�sol� pour le flood. Les en-t�tes de fonctions ne font plus 81
      caract�res, et il n'y a plus d'espaces inutiles, Tous les trailing
      spaces ont disparu, j'ai essay� de v�rifier que �a ne p�tait rien,
      mais j'ai pu oublier un truc con. J'accepte tous types de ch�timents
      � base d'orties fra�ches.
      
       D�sol� d'avoir aussi modifi� les fichiers de ceux qui formataient
      bien proprement leurs en-t�tes � 80 et pas 79 sans emb�ter personne,
      mais j'ai d� choisir entre les deux.
      
       Dor�navant ce serait bien de formater les en-t�tes et les commentaires
      justifi�s � droite � 79 colonnes, ou au pire � 80.
      
       . 1343 moronic long lines destroyed
       . 12893 trailing spaces eradicated
       . 115 ugly macros fixed
       . 959 innocent a_bit_long lines shortened
       But hey, 40054 lines were OK !
      2ad5fa64
  34. 08 Aug, 1999 1 commit