1. 04 Oct, 2002 2 commits
    • 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
    • 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
  2. 03 Oct, 2002 2 commits
    • gbazin's avatar
      · 6dafa419
      gbazin authored
      * FAQ: updated FAQ with config file issues.
      * configure.ac.in: use -mms-bitfields instead of -fnative-struct for
         mingw32 gcc-3.x.
      * include/interface.h, modules/misc/dummy/interface.c, modules/misc/logger/logger.c,
         modules/control/rc/rc.c: Display message on Win32 explaining how to get
         back to the GUI mode.
      * src/misc/threads.c, include/vlc_threads_funcs.h: ignore the
         win9x-cv-method config option on WinNT when fast-mutex is not enabled.
      6dafa419
    • 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
  3. 29 Sep, 2002 1 commit
  4. 17 Sep, 2002 1 commit
  5. 30 Aug, 2002 2 commits
  6. 29 Aug, 2002 1 commit
  7. 08 Aug, 2002 1 commit
  8. 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
  9. 20 Jul, 2002 1 commit
  10. 16 Jul, 2002 1 commit
  11. 05 Jul, 2002 1 commit
  12. 08 Jun, 2002 1 commit
  13. 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
  14. 02 Jun, 2002 1 commit
    • gbazin's avatar
      · 5cfee589
      gbazin authored
      * ./include/vlc_common.h: got rid of i_thread in VLC_COMMON_MEMBERS.
      5cfee589
  15. 01 Jun, 2002 4 commits
    • Sam Hocevar's avatar
    • 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