Sam Hocevar [Fri, 5 Apr 2002 20:44:23 +0000 (20:44 +0000)]
* ./plugins/win32/win32.cpp: fixed `--intf intfwin' which wasn't working.
* ./Makefile: we don't include the Gtk+ and SDL DLLs in the win32 package
anymore, the package is now 700k instead of 4MB.
* ./configure.in, ./Makefile, ./Makefile.opts.in: replaced LIB_FOO with
foo_LDFLAGS and CFLAGS_BAR with bar_CFLAGS for faster builds, and moved a
lot of stuff from Makefile.opts.in back to configure.in.
* ./install-win32: updated script for NSIS 1.96.
I hope this doesn't break too many other architectures...
Sam Hocevar [Fri, 5 Apr 2002 03:27:27 +0000 (03:27 +0000)]
* ./plugins/win32/intfwin.bpr: we now build intfwin.so at the right place.
* ./plugins/win32/Makefile: intfwin.so can be built using commandline.
* ./configure.in, ./include/threads.h, ./include/common.h: a custom defs.h
file isn't needed for the intfwin plugin anymore.
* ./INSTALL.win32: updated compilation instructions for the intfwin plugin.
* introduced a memalign wrapper that will align the memory manually if
memalign doesn't exist.
void *vlc_memalign( size_t align, size_t size, void **pp_orig )
where the return value is the aligned pointer and *pp_orig is the pointer
that has to be freed afterwards.
the arithmetic I'm doing on the pointer to align it is not portable to
64bits architectures. If someone knows how to something portable, please
tell me ( and no I don't want to do if(sizeof(void *) == blabla) ).
Other little problem, I was planning to use posix_memalign by default in
the wrapper implementation but it doesn't work (someone can tell me what
I'm doing wrong ?)
* re-enabled the sse plugins on win32 as we don't have anymore alignment
issues.
* ./AUTHORS: added myself :)
* ./plugins/win32/mainframe.cpp: disabled the "hide interface" menu
item, not yet implemented.
* ./plugins/win32/about.dfm: replaced the outdated author list with a
"VideoLAN Team" entry.
Sam Hocevar [Thu, 4 Apr 2002 15:35:09 +0000 (15:35 +0000)]
* ./plugins/gtk/gtk.glade, plugins/gtk/gnome.glade, ./plugins/kde/kde.cpp:
replaced the outdated author list with a "VideoLAN Team" entry.
* ./debian/rules, ./debian/control: deactivated the vlc-kde package because
it does not work, and removed the vlc-a52 package because liba52 is
statically linked into vlc.
* ./debian/control: added more helpful package descriptions.
* ALL: changed version to 0.3.0. Yeah, it's coming.
* ./Makefile: fixed make dist.
Sam Hocevar [Thu, 4 Apr 2002 05:08:05 +0000 (05:08 +0000)]
* ./src/video_output/video_output.c: fixed a vout4 image starvation bug.
* ./plugins/dvd/dvd.c: we look for libdvdcss.so.2 as well as -.so.1.
* ./configure.in: BSD/OS fixes thanks to Steven M. Schultz.
* ./Makefile: renamed the `snapshot' rule to `dist'.
* ./Makefile: removed the `snapshot-nocss' rule which isn't needed anymore.
Sam Hocevar [Wed, 3 Apr 2002 16:22:23 +0000 (16:22 +0000)]
* ./Makefile.modules: modules now depend on Makefile.opts.
* ./configure.in: added (hopefully) explicit messages on how to get
libdvdcss and link vlc with it.
* ./plugins/dvdread/input_dvdread.c: removed inclusion of dvd_udf.h.
Sam Hocevar [Wed, 3 Apr 2002 06:23:08 +0000 (06:23 +0000)]
* ALL: removed libdvdcss from the vlc tree.
* ALL: removed libdvdread from the vlc tree.
* ./acconfig.h: removed this file.
* ./plugins/dvd/dummy_dvdcss.c: merged this file into dvd.c.
* ./AUTHORS: moved a few gentlemen to the libdvdcss AUTHORS file.
Sam Hocevar [Wed, 3 Apr 2002 02:43:14 +0000 (02:43 +0000)]
* ./po/ja.po: added Japanese translation from Fumio Nakayama
<endymion@ca2.so-net.ne.jp>.
* ./plugins/gtk/gtk_callbacks.c: fixed disc ejection code.
* ./ChangeLog: how about a nice cup of 870 lines of ChangeLog for the 0.3.0
release?
* 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.
* Got rid of the DVD_DEVICE macro. We now use the dvd_device config option.
( this creates a small memory leak as we don't free the string obtained
from config_GetPszVariable, but I think we can live with it for now )
* the SSE plugins are disable on the mingw32 build as they don't work.
( because memalign is not implemented on win32, and malloc only aligns
on an 8 bytes boundary )
* ./plugins/win32:
- fixed a few bugs in the preferences
- better auto-resizing of the main window
- the disc dialog now respects the preferences settings
* Microsof Visual Studio C++ 6 project files.
This is usefull mainly for debugging as the hardware accelerated plugins
can't be compiled with msvc.
I won't be maintaining this msvc project as I don't have MSVC myself, but
maybe this will encourage people to try to develop for vlc (or maybe just
discourage them ;-)
* Win32 compilation fixes when downmixsse and downmix3dn are declared as
plugins.
* Fixed the waiting on the event thread creation in the directx plugin.
Gildas Bazin [Sun, 31 Mar 2002 22:35:44 +0000 (22:35 +0000)]
* You can now set a maximum height for the configuration windows in the gtk
and gnome plugins. This patch _doesn't change_ the look of the interface
unless this interface tries to use more space than allowed, in which case
scrollbars are added to make the navigation easy.
Note that this setting only affects the default size the interface will
use, the user is then free to change the size of the window as he wants.
* Tooltips are now triggered only in specific places. This is a lot less
intrusive and annoying for the users.
Gildas Bazin [Thu, 28 Mar 2002 10:17:06 +0000 (10:17 +0000)]
* don't try to stat() the dvd drive letter on win32
* disabled YUV overlay double buffering for now, as it seems to actually be
slower.
* temporary fix in vlc_cond_signal() for win32 (I really should use
SignalObjectAndWait() on WinNT so we can avoid race conditions in the
pthread code). This fixes a problem noticed on WinXP where vlc would
freeze regularly and eat-up all the CPU (fun no?)
Johan Bilien [Thu, 28 Mar 2002 03:53:15 +0000 (03:53 +0000)]
* When unselecting an ES, we must ged rid of p_es->p_pes so that it is
regererated when we select this ES again. It made vlc segfault when
switching from some stream to another, or when switching program
in satellite input.
* UDP access plug-in can now receive MPTS (Multiple Program TS) and switch
programs
* Audio and video output go to time-constrained scheduling [OS X port]
Gildas Bazin [Tue, 26 Mar 2002 22:30:09 +0000 (22:30 +0000)]
* modified the gtk interface to save an empty <string> option as a NULL pointer
* modified config_LoadConfigFile to consider an empty <string> option as a
NULL pointer.
Gildas Bazin [Tue, 26 Mar 2002 22:02:32 +0000 (22:02 +0000)]
* changed the behaviour of the config file:
- now all the config options are saved. <string> config options which have
no default value are also saved in the config file but as an empty string.
- config_LoadConfigFile will ignore empty config options, which also means
we cannot pass an empty string as a <string> config option. (this shouldn't
matter anyway)
Olivier Teulière [Tue, 26 Mar 2002 16:06:01 +0000 (16:06 +0000)]
* plugins/win32:
- added toolbar icons (thanks xav)
- we can no longer edit plugin names in the preferences :)
- the tool button for playlist is now a toggle button
Olivier Teulière [Mon, 25 Mar 2002 23:36:57 +0000 (23:36 +0000)]
* Added a win32 interface plugin, developed with Borland C++ Builder.
To build the plugin, follow the instructions in INSTALL-win32.txt
* Known bugs:
- subtitles don't work
- a crash occurs when the user exits by pressing 'q' in the vout
- when moving the slider, position in the stream updates even if
the slider isn't released yet
* TODO list:
- clean code in menu.cpp
- adapt lool's enhancements of the Gtk+ preferences box
- write drag-and-drop stuff
- and of course, fix known bugs :)
* For those of you who can't wait till the next release to test the win32
interface, binary files are available here:
http://www.via.ecp.fr/~ipkiss/intfwin/vlc.zip
Enjoy!
Loïc Minier [Mon, 25 Mar 2002 20:37:00 +0000 (20:37 +0000)]
The "we love gibalou" commit :
* plugins/gtk/gnome.c, plugins/gtk/gtk.c, plugins/gtk/gtk_common.h :
. new Tooltips structure
* plugins/gtk/gtk_preferences.c:
. modifications of some widgets, the structure, cosmetic changes
* src/interface/main.c:
. typos
. a couple new descriptions
Johan Bilien [Mon, 25 Mar 2002 02:06:24 +0000 (02:06 +0000)]
* Fixed a bug that made vlc segfault when choosing a program, change to
another and come back to the first one.
* Added gtk and gnome interfaces for satellite input. We should find a
way to hide the button if satellite support is not compiled.
* Fixed a problem in the MacOS X aout which caused the previously
played audio frames to be played when there were no new frames
available.
* MacOS X vout now uses the height/width calculated in video_output.c
Gildas Bazin [Thu, 21 Mar 2002 22:10:33 +0000 (22:10 +0000)]
* the calculation for the initial video window dimensions is now done in
video_output.c and made available into p_vout->i_window_height/width.
This allows to get rid of duplicated code and unify the behaviour of
the video output plugins. (not all the plugins have been modified
because I didn't want to break anything).
As a side effect, the --width and --height options are now working, you
can even use only --width or only --height the other dimension will adapt
automatically to the video characteristics.
Note that you need to remove the width/height options from the config file
or set them to -1 if you want to use the actual video size.
Gildas Bazin [Thu, 21 Mar 2002 07:11:57 +0000 (07:11 +0000)]
* moved GetConfigurationFromCmdLine() into configuration.c and renamed it
into config_LoadCmdLine()
* config_GetHomeDir doesn't use getpwuid_r anymore as this was creating
some problems on solaris. This function now uses getpwuid and is called
only once to store the home directory into the p_main structure.
Gildas Bazin [Wed, 20 Mar 2002 23:00:16 +0000 (23:00 +0000)]
* fixed stupid bug in stupid ConvertPrintfFormatString() function
* fixed the "waveout not closing" bug. We need to reset the waveout device
before closing it.
Sam Hocevar [Tue, 19 Mar 2002 00:30:44 +0000 (00:30 +0000)]
* ./plugins/chroma/i420_rgb8.c: fixed a warning.
* ./plugins/filter/deinterlace.c: fixed chroma deinterlacing.
* ./plugins/kde/kde.cpp: the KDE interface compiles again.
* ./plugins/mpeg_system/mpeg_es.c: fixed a segfault I introduced today.
* ./plugins/network/ipv4.c: cosmetic fix.
* ./src/interface/main.c: fixed a typo in the --help output.
* ./src/misc/netutils.c: fixed a segfault in the vlcs communication; still
unstable but solving other bugs won't do any good without rewriting the
whole playlist code. Which I'm doing right now.
Sam Hocevar [Mon, 18 Mar 2002 19:14:52 +0000 (19:14 +0000)]
* ./extras/MacOSX_dvdioctl: removed outdated files.
* ./plugins/fx/scope.c: fixed an infinite loop error.
* ./plugins: fixed segfaults in various demux plugins.
* ./plugins/sdl/vout_sdl.c: SDL_VIDEODRIVER can be specified from the
command line; try "--vout sdl:aalib"