Commit Graph

170 Commits

Author SHA1 Message Date
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
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 c3b1800a5c * configure.in and Makefile.in patches for better SDL support and
support for $(bindir) $(datadir) and $(libdir) stuff, courtesy
    of Arkadiusz Miskiewicz <misiek@pld.ORG.PL>
  * Ported ggi.so to the new modules API. As for the other modules, only
    the "q" key works. Moreover, VLC doesn't exit cleanly if you close the
    GGI window.
  * Deactivated non-working widgets in the Gnome interface.
  * Added CONTRIBUTORS file.

  Hint of the day: don't expect to code quite long in your bed when sleepy.
2001-02-18 19:14:27 +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
Christophe Massiot 884bfabe27 * Added --enable-debug, --enable-stats and --disable-optims (sam could
you check I did'nt make a mess of it ?).
* Added todo things in the TODO file.
2000-11-18 03:15:01 +00:00
Sam Hocevar 3c9727d5d4 . correction d'une faute de frappe dans configure.in (�a r�pond � ta
question, Stef ? :)
2000-10-18 02:17:20 +00:00
Sam Hocevar 534979f922 . version 0.1.99i 2000-08-28 00:37:44 +00:00
Sam Hocevar 3bc946fc2c . fixed an other typo
. fixed the aliases install
 . renamed an inconsistent variable in src/input/input_file.c
2000-08-23 23:45:27 +00:00
Sam Hocevar 0a88393778 * added a few sanity checks in the audio mpeg and ac3 decoders.
* temporarily got rid of vlc.channels.
  * added notice in debian/control about unencrypted DVDs.
  * fixed PowerPC .deb build.
2000-08-22 00:13:26 +00:00
Sam Hocevar 99eda04a91 . updated version number
. removed a verbose message in intf_sdl.c
2000-08-21 20:05:42 +00:00
Pierre Baillet 9ac8c0ec7d A few new things:
. The interface part:
			. created intf_AssignKey, intf_getKey and intf_AssignNormalKeys
			these new function are a first abstraction of the the key handling system.			It makes use of a new structure in the interface : p_keys.

			. AssignNormalKeys is commonly used in all the interface plugins.
			AssignKey is used to allow the SDL interface to react nicely.

			. Now the plugin struct element psz_filename is filled (and freed
				at the end of the program).

	. the SDL plugin:
			works but does only display a green screen for now. so don't use it !

	. Please try and compile the client on your box with this version.
		I've tried a few output plugin but not all.
2000-08-21 09:33:42 +00:00
Sam Hocevar 5e870913ed . removed the sdlvlc alias
. added the vlc-sdl package in the Debian control files
2000-08-18 17:02:03 +00:00
Pierre Baillet 8129268386 My first contribution.
* Added SDL plugin
	* support fullscreen display with --display fullscreen
	* complete keyboard handling
* Added --enable_sdl to configure

Octplane.
2000-08-18 08:25:23 +00:00
Sam Hocevar 66dca68f86 * more files needed to build packages
* changed "pentiumpro" to "ppro" in the ./configure, it was misleading.
 * prepared 0.1.99g
2000-08-16 00:28:29 +00:00
Sam Hocevar af22a4b58c * fixed a dumb bug in the Makefile that prevented inclusion of the
-march=pentium directive. thanks Meuuh, blame sam.
  * fixed a warning in main.c.
  * separate Debian packages.
  * added request for ALSA support in the TODO list.
2000-08-15 23:35:31 +00:00
Sam Hocevar 57947f9678 . vir� les aliases � xvlc �, � ggivlc � etc. qui faisaient un peu
piti�, pour ne laisser que � vlc �, � gvlc � (gnome) et � fbvlc �
  (framebuffer) ; les autres restent bien entendu accessibles avec
  par exemple � vlc --vout ggi �.

 . IMPORTANT - nouvelle option --synchro pour forcer un type de
  synchro. Pour le moment les options possibles sont :

    --synchro I     /* n'affiche que les I */
    --synchro IP    /* affiche les I et toutes les P */
    --synchro IP+   /* affiche les I, les P, et la moiti� des B */
    --synchro IPB   /* affiche toutes les images */

   Toute autre valeur de --synchro sera ignor�e et c'est l'algo
  par d�faut bas� sur la consommation de processeur qui sera
  utilis�. Notez que si vous en demandez trop au vlc, il va
  bien entendu planter, ou tout du moins remplir sa fifo comme
  un gros cochon. On n'y peut pas grand chose, c'est la vie.
2000-08-08 22:51:04 +00:00
Sam Hocevar 9667c93001 . d�commentage d'une fonction comment�e par erreur
. version 0.1.99f
 . divers fixes dans la cr�ation des packages
2000-08-08 12:05:57 +00:00
Sam Hocevar 4af2fd109e . suppression du d�codeur de r�f�rence qui de toute fa�on ne marcherait
plus vraiment avec la structure actuelle du vlc
 . pr�paration de la 0.1.99e
2000-07-20 13:49:24 +00:00
Sam Hocevar 57e189eb5d Bon, puisque �a semble commiter sous BeOS, je commite.
Voil� le changelog appoximatif :

 . fichier INSTALL plus clair
 . vir� quelques warnings
 . *PATH sont maintenant d�finis dans config.h
 . quelques fautes d'orthographe
 . l'option --enable-ppro n'est pas mise par d�faut car elle ne fonctionne
  pas sur un K6-2
 . nouvelle API des plugins
 . le client framebuffer ne d�truit plus la console quand on quitte
 . r�paration de la YUV 8 bits
 . mise des YUV en plugins
 . transfo YUV 32bits MMX chour�e dans la libmpeg2
2000-07-04 02:37:21 +00:00
Sam Hocevar 3cbfc06dc3 . nouveaux plugins - ne fonctionnent pas encore tous 2000-06-23 22:28:42 +00:00
Sam Hocevar ea286a76f4 . g�n�ration de .rpm et .deb via make.
. rajout des plugins dummy m�me pour BeOS.
2000-06-20 01:21:59 +00:00
Sam Hocevar 58b377bc71 . vlc.spec pour faire des packages RedHat
. un petit peu plus d'aout_beos
2000-06-19 16:35:47 +00:00
Sam Hocevar 3d1104112b . ajout� un FIXME pour un bug dans plugins/vout/vout_x11.c
. ajout� un ChangeLog
 . updat� le README
2000-06-17 01:49:09 +00:00
Sam Hocevar 08dcf8d79b . petit oubli b�te dans le `make snapshot` 2000-06-15 18:50:13 +00:00
Sam Hocevar f2f5c4a077 . petite erreur dans le configure.in qui emp�chait de configurer
convenablement les options de compilation

  maintenant faire: ./configure --enable-fb --enable-blabla
    (./configure --help pour tous les voir)

 . correction d'un warning en mode non-MMX
2000-06-01 15:25:38 +00:00
Sam Hocevar 52cbe65fde . encore un peu plus loin dans le passage � autoconf
. giclage de l'ancien d�codeur dans le Makefile

n'oubliez pas de relancer ./configure avec les bonnes options !
typiquement elles sont du genre :

   ./configure --enable-fb --enable-mmx --enable-ppro
2000-05-29 07:29:50 +00:00
Jean-Marc Dressler 4eed2dd0c0 Quelques ajustements pour beos. Les plugins ne compilent toujours pas. 2000-03-11 00:05:16 +00:00
Sam Hocevar 18e6f1a820 . suppression de quelques #define SYS_* (mais pas encore tous)
. include/config.h devient include/config.h.in et config.h sera
  g�n�r� par ./configure. Le but est d'�viter les options -DFOO de gcc
 . suppression d'un 'Resources' qui trainait encore dans config.h
2000-03-10 00:47:17 +00:00
Sam Hocevar 12422fe0b1 Premiers fichiers n�cessaires � autoconf 2000-03-08 10:22:45 +00:00