Commit Graph

74 Commits

Author SHA1 Message Date
Christophe Massiot
196b34acab Disable x11 plugin if X11 headers are not found. 2001-04-07 16:35:05 +00:00
Christophe Massiot
a8c893ff0e * Sync MOSX dev/CVS tree : code support for MacOS X audio, video and
interface (courtesy of Eugenio Jarosiewicz & Colin Delacroix) ;
* Bumped up version number to 0.2.70.
2001-04-06 18:18:10 +00:00
Sam Hocevar
cfbe86907a * added the GNU getopt library, which gets compiled in when getopt_long
isn't available on the desired platform.
  * replaced the `--warning' flag with the standard cumulative `-v' flag.
    `-v' is like `--warning 3', and `-vvvv' is like `--warning 0'
    (`--warning' is still valid for those used to it)
  * cleaning in configure.in and Makefile.in, the Solaris port now
    builds and runs properly.
2001-04-05 03:50:38 +00:00
Sam Hocevar
5ff854ec22 * XVideo plugin courtesy of Shane Harper <shanegh@optusnet.com.au>
* Makefile.in and configure.in fixes by Nilmoni Deb <ndeb@ece.cmu.edu>
  * A few syntax fixes in the plain X11 plugin
2001-04-01 06:21:44 +00:00
Sam Hocevar
4f551c2bf0 * 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.
2001-03-21 13:42:35 +00:00
Christophe Massiot
1e76706805 * Compile Altivec modules on Darwin. [MacOS X port] 2001-03-20 20:54:44 +00:00
Christophe Massiot
63f29665c7 * Compile Darwin module by default on Darwin system. [MacOS X port] 2001-03-20 19:36:59 +00:00
Sam Hocevar
98725620ed * vlc core compiles under QNX RTOS. Now if anyone feels like tidying
it and writing output and interface plugins...
2001-03-19 13:26:59 +00:00
Sam Hocevar
52f0fa6821 * Function prototypes for the forthcoming Darwin and MacOS X port.
* Gtk+ interface: fixed a precision issue in the scale.
  * Qt interface: somebody pop up us the menu!!
2001-03-18 00:01:13 +00:00
Stéphane Borel
b16d6fabe3 -Added dsp plugin compilation (/dev/dsp is not a regular file :)) 2001-03-17 22:52:00 +00:00
Christophe Massiot
a3c6cd9af2 * Borrowed config.guess and config.sub from SDL [MacOS X port] ;
* Changed files so that the MacOS X port compiles & runs [MacOS X port] ;
* If SDL/GTK/DSP is not available, don't compile the associated module.
2001-03-16 22:37:06 +00:00
Sam Hocevar
a0c1805bd9 * 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.
2001-03-15 01:42:20 +00:00
Pierre Baillet
585b6ad74c Hurg !
###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.
2001-03-08 13:32:55 +00:00
Sam Hocevar
2afb724073 * Everything in place for the 0.2.63 release.
* Got rid of the CONTRIBUTORS list, and switched AUTHORS to a
    linux-kernel like author list.
  * Updated TODO list.
  * Fixed a segfault in the BeOS interface when --noaudio was specified.
  * Title and Chapter selection in the Gnome and Gtk+ interfaces.
2001-03-05 01:29:25 +00:00
Sam Hocevar
28e3820e6f * Added debian/* files to help generating CSS-enabled non-US packages,
and changed plugins/dvd/* to reflect this change.
  * Added .xpm icons (fixes lintian warnings).
  * --help output and manpage are now in sync (Closes Debian bug #87478).
  * Fixed Build-dpends entry in debian/control (Closes Debian bug #83707).
2001-03-03 11:01:07 +00:00
Sam Hocevar
29670af177 * Changed debian/control to fix Debian bug #83707
* Added a --disable-css configure option
  * Moved some code here and there in the DVD plugin to make it easier
    for me to build the Debian CSS-free packages.
2001-03-02 13:47:01 +00:00
Sam Hocevar
bec589af3d (note: empty CVS mails mean that a new directory has been created,
don't forget to use the -p option if you cvs update)

  * Added a plain Gtk+ port of the Gnome interface, for the gnome-impaired
    people. Gtk+ is now compiled by default, while Gnome isn't (you will
    have to add --enable-gnome when running configure)
  * Replaced -lcurses with -lncurses in configure.in.
2001-02-21 11:49:18 +00:00
Sam Hocevar
ba61d25caf * Updated version number to 0.2.62. Release tonight.
* DVD plugin is still non-functional when you don't have DVD ioctls,
   but at least it compiles under BeOS as well.
 * Minor cosmetic changes here and there.
2001-02-20 23:30:15 +00:00
Christophe Massiot
290dc45ae7 On machines without dvd ioctl, remove the DVD plugin from the Makefile,
fucking holy piece of *�$^%� !
2001-02-20 13:41:01 +00:00
Sam Hocevar
1c5f83306f * Fixed a bash-ism in configure.in 2001-02-20 11:34:01 +00:00
Sam Hocevar
583c6553f6 * Ported Glide and MGA plugins to the new module API. MGA never worked,
so this didn't make it work better.
  * Started thinking about built-in modules, and added some code to
    make it easier eventually.
  * Added Oct in the AUTHORS file.
  * Fixed a mistake in configure.in.
  * All your base are belong to us.
  * Fixed a bug in src/misc/modules which prevented loading modules
    when launched from the Tracker.
  * Fixed a similar bug in src/video_output/video_text.c.
  * BeOS CSS support, thanks to Markus Kuespert <ltlBeBoy@beosmail.com>
    who ported the Linux DVD ioctls. We can now read encrypted DVDs
    under BeOS ! Woohoo.
2001-02-20 07:49:13 +00:00
Sam Hocevar
e630779bd0 * Ported the framebuffer plugin to the new module API. As for most of the
other video output modules, keyboard doesn't work. Except ^C to quit.
2001-02-18 10:24:20 +00:00
Jean-Marc Dressler
b0ab70c9bf The BeOS port seems to work again.
I used this command to play an unencrypted DVD, but maybe there is a
   better solution: ./vlc dvd:/dev/disk/ide/atapi/1/master/0/raw

   Current problems: gcc doesn't like MMX-EXT instructions, and refuses
   to have register %ebx being used in the main application. Grr.

   ,-- don't trust the CVS bot, it's Sam speaking here :)
  /
2001-02-18 03:32:02 +00:00
Sam Hocevar
566ca28782 * Upgraded version number to 0.2.61. Release is today.
* Fixed package building (both RPMs and .debs).
 * Fixed `make snapshot' rule.
 * Added some magic to filename detection. To read a DVD you now just
   need to run 'vlc dvd:/dev/hdc' for instance. Same for file:// URIs.
 * Fixed a segfault in the slider when no stream was playing.
 * Made the slider go from 0 to 100 (instead of 99 :)
 * The vlc now doesn't exit when finished playing. As a side effect of
   the playlist code being very recent, it continuously loops.
2001-02-16 09:25:04 +00:00
Sam Hocevar
b2f56af994 * Fixed a segfault in the input thread creation, as well as a possible
deadlock. This happened mostly when opening non-existing files.
 * Created input_SetStatus to do input_SetRate's job. input_SetRate will
   be used to set an arbitrary rate, for people who want to read DVDs at
   1/2.71828 times the actual speed.
 * Stubs for the ncurses control interface. No working code yet, but the
   holes just need to be filled.
 * Improved X11 support. Still not as functional as before.
 * The output window now states the method name, so that people know whether
   they are using X11 or SDL.
 * The Gnome interface is now drag'n'drop aware, you can drop a file
   on it just like Xine does (or so I guess).
2001-02-16 06:37:09 +00:00
Sam Hocevar
2ba056f279 * X11 output works again. It's just the output, but it works; I now need
to clean the code and add event handling.
2001-02-15 03:01:20 +00:00
Sam Hocevar
1c99dc85d6 * updated version information to 0.2.60 -- today's release
* started porting the X11 vout (still disabled)
 * a few unnoticeable changes in the Gnome intf
2001-02-14 07:48:18 +00:00
Sam Hocevar
75eb696dcc * added --intf option to vlc
* started cleaning vout_sdl.c
 * the dummy plugin works again
 * added a slider to the Gnome interface so that we can browse through streams

  There is a problem with the slider: we sometimes get unexpected async
  replies, which would mean that we don't properly lock our Xlib calls.
  Which is true. But we also get these errors when using `--vout dummy'.
  I'll investigate.
2001-02-13 04:29:46 +00:00
Sam Hocevar
959674591f Beginning of Interface II
---------------------------

 * Plugins have completely disappeared, we now only use the new module API.
 * All intf and vout modules are now independant. So far, only the Gnome
   intf module and the SDL vout module have been ported. configure.in has
   been modified to reflect the changes (x11 and dummy aren't compiled by
   default anymore, while SDL and Gnome are).

  Note that this is _not_ Interface II, it's just a step forward. For
  instance, it lacks the whole message passing scheme.

  Things that should work:

 * Right-clicking on the SDL video output window brings the Gnome menu.
 * Pause, Play, Exit, About work from the menu or from the interface window.
 * The old SDL keys still work.

   Things that are broken or may be broken:

 * Xlib calls are not locked yet, which may lead to "Unexpected async reply"
   errors, and make the vlc segfault.
 * Sound only works for the first file.
 * The SDL vout_sdl.c file is absolutely ugly and kludgey.
 * The vlc immediately quits when no filename is given as an argument. Not
   a real bug, but still annoying.
 * The Gnome menu does not work in fullscreen mode.

   Things that will come soon, maybe tomorrow:

 * Complete navigation buttons (fast forward, slow, etc.).
 * File/Open menu to add files to the playlist.
 * Return of the X11 video output for those of us who do not have SDL.
 * Textmode interface for those of us who do not have Gnome.
 * aout and vout autospawn (maybe).
2001-02-11 01:15:12 +00:00
Stéphane Borel
6b14a375ee -Some functions to prepare ifo commands utilisation to move in the
structures of DVDs
-Change in configure to avoid compiling css functions on BSD.
2001-02-09 03:51:42 +00:00
Sam Hocevar
0935df9e58 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
2001-02-08 04:43:28 +00:00
Sam Hocevar
8628860b53 . version 0.2.50 for the Linux Expo
. --overlay and --fulscreen options (only work with --vout sdl)
 . the vlc exits after the end of the stream, which prevents from having
   to kill it and relaunch it during a presentation, just script it like :

      for i in ~/mpeg/* ; do vlc --fullscreen --overlay --vout sdl $i ; done


 Yes, I know the --overlay stuff is fucking ugly. But *I* am not the one
  who redefines vout_sys_t in an interface-related source file. I won't
  change it until the vout/intf is finished being rewritten.

 Additional information: if "--overlay --fulscreen" doesn't center your
  picture, try with your screen geometry, eg:
  "--overlay --fullscreen --width 1024 --height 768"
2001-01-31 03:42:39 +00:00
Christophe Massiot
7b9a281f7b * Completely removed BIZARRE_OPTIMS. 2001-01-23 10:15:13 +00:00
Christophe Massiot
ea94227edd * Tuned up optimization flags. 2001-01-22 15:49:55 +00:00
Stéphane Borel
419eb2fe24 *Check for the needed headers for DVD ioctls
I have only tested it on my computer ; so I don't know if it work
elsewhere, particularly on BSD and BeOS.
2001-01-22 05:20:44 +00:00
Sam Hocevar
7590bd9b3c . changed program version to 0.2.5 (preparing 0.3.0 release).
. changed codename to Urumov
 . cleaned a lot of stuff in the Debian package generation.

  If anyone objects with the versioning scheme, let's fight in the
  dirt and sort that out. Or change it yourself.

  Debian packages can be tried here: http://armitage.via.ecp.fr/~sam/vlc/
2001-01-19 18:17:36 +00:00
Sam Hocevar
647cca0ebb The motion compensation routines are now modules as well ; choose your
implementation with `--motion motion', `--motion motionmmx' or
  `--motion motionmmxext'. Of course, the best implementation is chosen
  if you don't ask for any. There doesn't seem to be any performance hit
  due to the move to shared libs, which is a good thing. Please test
  actively if you have time, though.

    Updated --help result, manpage, INSTALL document, and a few files.

    I moved vdec_motion.h and vpar_blocks.h back to /include because they
  will be needed to build motion compensation modules, but perhaps we don't
  need to export everything which is in these files.

    /src/video_decoder/ now has only one .c file, perhaps it could now be
  merged with video_parser ?
2001-01-18 05:13:23 +00:00
Christophe Massiot
3a8481df75 * Reverted something that wasn't supposed to go into the cvs :p
* Removed -fargument-noalias-global which causes problems with as (???).
2001-01-16 18:06:01 +00:00
Sam Hocevar
6eb707884c . added files for the SSE (MMX on steroids) IDCT. Meuuh, you should just
need to touch plugins/idct/idct_mmxext.c (ok, the filenames suck).
2001-01-16 13:26:46 +00:00
Sam Hocevar
26ee312a6f . the IDCT functions are now located in modules : the classic IDCT,
our optimized IDCT, and MMX IDCT.
 . cosmetic changes for modules (pf_* instead of p_*)
 . fixes to the BeOS and dummy modules

   WARNING: a new directory has been added, which means you have to
   use `cvs update -dP' to update ; files have been removed , which means
   you either have to run `make distclean' or remove the .deps directory,
   and the configure script has changed, which means you have to run it
   again. Don't complain before having checked this :)

   Note about the IDCT modules: there is no way to choose the one we
   use, but you may remove the module in lib/ to prevent it from being
   loaded. The preference order is : MMX, Optimized, Classic.
2001-01-13 12:57:21 +00:00
Sam Hocevar
ef05e7761e . fixed a warning under FreeBSD (dlerror() is a const char*, not a char*).
. made configure script look for the bswap assembly instruction (using
   AC_TRY_COMPILE makes sure the compiler will really accept it).
2001-01-09 21:03:47 +00:00
Sam Hocevar
ffa693e8bd . should compile & run on Solaris with ./configure --disable-dsp
(tested on puma)
 . removed most SYS_SOLARIS #ifdef's in favour of more generic tests
 . updated example ./configure line in INSTALL file
 . now we only load modules that end with ".so"
 . null module is compiled by default
2001-01-06 07:23:32 +00:00
Christophe Massiot
454454b554 BSD port, including :
* --enable-sdl and some others are now --with-sdl[=name] to supply an
optional library name ;
* deleted all unnecessary #include <sys/uio.h> ;
* /usr/include is now searched when looking for libraries and headers.

It seems to compile and run on BSD. Under Linux Sam's latest commit makes
vlc crash on startup, so I can't really tell, but hey it compiles.
2001-01-05 18:46:45 +00:00
Sam Hocevar
bcaed52cad . added the Null Module, the module that does nothing but that is going
to be of great help for debugging my module code.
2001-01-05 14:24:06 +00:00
Benoit Steiner
53c2e3acf7 Generation d'un makefile presque correct pour les vieilles versions de make
Nettoyage: gestion des dependances pour les plugins, suppressions de pas
mal de redondances, options de compilations coherentes, etc...
2000-12-10 08:08:35 +00:00
Stéphane Borel
9bc87bff4b . Ajout de la date dans les warning si le mode debug est activ�
. Modification du configure pour remmettre le x11 par d�faut, et pour
montrer que ppro et mmx sont par d�fauts maintenant.
2000-11-29 19:02:17 +00:00
Christophe Massiot
266e3eabc0 ppro and mmx optimizations are now enabled by default (K6 users should
buy real processors).
2000-11-29 14:36:20 +00:00
Christophe Massiot
b335e3b40f * vlc is now compiled without the STATS mode by default.
* Fixed a bug which made frames go backwards with some displays (the
   video_decoder thread is now niced).
 * Made use of intf_WarnMsg() in the most needed places.
Also simplified the synchro algorithm and fixed a bug with non-(5/1) streams.
Fixed the optimizations in the configure stuff.
Warning : this release needs a full rebuild (make clean; make).
Warning : I might have broken the BeOS port, could somebody check ?
2000-11-27 10:35:57 +00:00
Henri Fallon
313cf680c8 - Cosmetic changes to alsa.c
- Configure now checks alsa is present
2000-11-23 01:40:31 +00:00
Henri Fallon
a7dd995f4c Added : alsa support
Todo : - test it on several cards
       - support more than Stereo s16
       - make configure check for alsa
2000-11-20 03:31:45 +00:00