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"
Sam Hocevar [Sun, 17 Mar 2002 17:00:38 +0000 (17:00 +0000)]
* ./plugins/chroma/i420_rgb8.c: plain C 8 bpp transformation.
* ./plugins/chroma/i420_rgb16.c: plain C 24/32 bpp transformations.
* ./plugins/ggi/ggi.c: support for 8 bpp displays.
* ./plugins/sdl/vout_sdl.c: support for 8 bpp displays.
* ./plugins/x11/xcommon.c: support for 8 bpp displays.
* ./src/video_output/video_output.c: fixed a segfault.
Gildas Bazin [Sun, 17 Mar 2002 13:53:21 +0000 (13:53 +0000)]
* added an alternate fullscreen method. With this method, _nothing_ is allowed
to be displayed on top of the video (especially not taskbars, etc...).
Of course this can also be annoying sometimes, this is why it's an option.
PS: does anybody know how not to propagate the Ctrl-Alt-Tab key event to the
window manager. I tryed XChangeWindowAttributes with do_not_propagate_mask but
it doesn't seem to work.
Gildas Bazin [Sun, 17 Mar 2002 11:12:08 +0000 (11:12 +0000)]
* small fix for the config file. The parser assumes that the config file is
divided into sections (a section is the config data for a plugin and begins
with something like [foo]), so the comment for the beginning of the section
must be after the section marker and not before.
If you want to illustrate the problem (without this fix):
- save vlc's config
- exit from vlc and remove for example the dsp plugin (rm plugins/dsp.so)
- resave vlc's config
and now look at the end of the config file, it's all screwed up.
Tony Castley [Sun, 17 Mar 2002 05:48:18 +0000 (05:48 +0000)]
Tidied code and prevented curruption on window not containing the video.
Video window now returns to correct size and position after toggling
full screen.
Sam Hocevar [Sat, 16 Mar 2002 23:03:19 +0000 (23:03 +0000)]
* ./configure.in: more modules are plugins.
* ./src/misc/configuration.c: changed ~/.VideoLan/vlc to ~/.videolan/vlcrc,
and a few cosmetic changes (sorry Gildas for the butchery).
* ./plugins/chroma/i420_rgb16.c: C version of the I420 to RV15/16 chroma.
Gildas Bazin [Sat, 16 Mar 2002 01:40:58 +0000 (01:40 +0000)]
* This the last piece of the new configuration module. You can now save your
configuration options (only from the gtk/gnome interface for now). The config
file will be saved as ~/.VideoLan/vlc
It's not quite yet finished (well there are a few small details to sort out),
but I'm going away for the week-end and I wanted to commit this before so you
can all have a play with it :)
Sam Hocevar [Fri, 15 Mar 2002 18:20:27 +0000 (18:20 +0000)]
* ./plugins/spudec/spu_decoder.c: we now analyze the subtitle image
data to find the border color and the inner colors when there was
no way to find the palette data (network stream).
Sam Hocevar [Fri, 15 Mar 2002 04:41:54 +0000 (04:41 +0000)]
* ./Makefile: fixed OS X vlc.app compilation dependencies.
* ./configure.in: fixed the endianness check under Solaris.
* ./src/input/input.c: strings are now initialized to "" instead of NULL.
* ./plugins/spudec/spu_decoder.c: we now properly support the subtitle
palette information we get from the DVD. Subtitles rox !
* ./src/video_output/vout_subpictures.c: removed all DVD-specific routines
and put them into spu_decoder.c.
Stéphane Borel [Tue, 12 Mar 2002 18:37:46 +0000 (18:37 +0000)]
*New configuration option to choose audio output format at runtime.
It allows to select spdif pass-through decoder with --ac3_adec and to
remove the ugly b_ac3 in main.h
As a consequence --spdif doesn't work anymore: you should use --ac3_adec pass
*Fixed a typo in main.c
*Return the option name in error message for unknown option intead of the
argument.
Gildas Bazin [Mon, 11 Mar 2002 07:23:10 +0000 (07:23 +0000)]
* New GTK configuration interface. This interface is generated dynamically
at run-time from the configuration data contained in each plugin.
* config_PutPszVariable and config_GetPszVariable are now thread safe.
* Few modifications/optimizations to the config module.
* Got rid of all the _VAR macros in config.h
This is the first version of the GTK configuration interface. There are still
a few raw corners and a fews things left to do, but it basically does what
I wanted.
Constructive comments like it sucks or it smells rotten fish are of course
very welcome. And if there are GTK gurus out there, please don't hesitate to
add your touch.
I also started to add usefull comments to the configuration options but I'm not
really good at this kind of thing so if people want to help, they can finish
the job. For this look at all the *_LONGTEXT macros at the top of main.c
(PS: Translations will also be appreciated but not right now as the interface
will likely change again in the few coming days)
Stéphane Borel [Fri, 8 Mar 2002 22:58:12 +0000 (22:58 +0000)]
Rewrite most functions in DVD plugin. Some old bugs might have been
solved in the operation. The plugin some be more readable now, and
should produce fewaer segfaults (I hope so :p)
Sam Hocevar [Wed, 6 Mar 2002 23:54:28 +0000 (23:54 +0000)]
* ./src/interface/main.c: disabled the GNOME segfault dialog in debug
mode. We want nice, clean segfaults, with huge core files and a lot
of rattle noise.
Sam Hocevar [Wed, 6 Mar 2002 03:27:17 +0000 (03:27 +0000)]
* ./plugins/ac3_adec/ac3_parse.c: ac3dec is now less verbose.
* ./src/interface/interface.c: fixed a deadlock when seeking the
stream using the keyboard arrows.
Stéphane Borel [Wed, 6 Mar 2002 01:20:56 +0000 (01:20 +0000)]
*Removed an occurance of former angle item in gtk.
*Fixed a bug in ES management introduced lately in DVD/DvdRead.
*Beginning of reorganisation in DVD plugin source files, in order to try to
make it easier to understand. There is some work left though :p.
*Decreased the score for VCD plugin, as the VCD demuxer was used even
for DVD :p. It should make autodetection work.
Some comment:
-I think that VCDInit should make a test on the access plugin and be launched
only if the access plugin is VCD,
-VCDOpen shouldn't set p_input->b_error: if it fails we just try another
module,
-PSRead doesn't need to be duplicated anymore: input_ReadPS is now available
for plugins (cf Christophe's commit).
Please comment around that: I'd like to know if the behaviour I've described
is the one everyone expects.
* IPv6 network module, courtesy of Alexis Guillard <alexis.guillard@bt.com>,
for BT ;
* --6 and --4 options to force IPv6 or IPv4 (FIXME: it should be -6 and
-4 but I don't know how to do it with the new configuration module) ;
* Channel manager now uses a socket from the network plug-in and is more
portable (and probably broken, too :) ;
* input_ReadPS and input_ReadTS are now in mpeg_system.c to be more
easily reused by plug-ins other than mpeg_ps and mpeg_ts.
Gildas Bazin [Mon, 4 Mar 2002 22:18:25 +0000 (22:18 +0000)]
* We now make sure the aout plugin buffers always contain between
AOUT_BUFFER_DURATION/2 and AOUT_BUFFER_DURATION*3/2 worth of audio.
This should solve the audio buffer underruns.
* fix for the bug in input when filename contains a '@' character.
* simplified the win32 specific changes to the input parser. ( I think
we can safely assume that no access plugin name will have a length of
one character)
* Fixed DVD input under Win32.
* Fixed input parser under win32, chich couldn't understand that
c:\windows\bureau is a valid file and doesn't need to be accessed with
the plugin 'C' :-)
* BTW, I added myself in the AUTHORS file :)
Sam Hocevar [Fri, 1 Mar 2002 16:07:00 +0000 (16:07 +0000)]
* ./po/no.po: Norwegian translation by Sigmund Augdal. Berd� ka p� t�t.
* ./src/misc/modules.c: shortcuts for --intf work again, gvlc launches the
Gtk interface, qvlc launches the Qt interface, etc.
* ./plugins/fx/scope.c: we now have sound together with --aout scope.