Damien Fouilleul [Fri, 11 Nov 2005 16:28:01 +0000 (16:28 +0000)]
oleobject.cpp: fixed order of notifications for buggy containers like Delphi, added default size at activation
plugin.cpp: set configuration width/height when resizing control
Marian Durkovic [Fri, 11 Nov 2005 08:26:42 +0000 (08:26 +0000)]
changed MPGA_PACKET_SIZE to 1024
we can't operate with 4 KB blocks since with low bitrate MP3 streams
we'll end up putting too many PCRs into one block.
Cyril Deguet [Thu, 10 Nov 2005 22:30:22 +0000 (22:30 +0000)]
* winamp2.xml: all the equalizer sliders are working !!
* all: the slider background is now in a dedicaded tag
"SliderBackground". The number of images can now be parametrized
in both directions, and the offset between 2 images (padhoriz and
padvert) is no more hardcoded
Cyril Deguet [Thu, 10 Nov 2005 20:42:48 +0000 (20:42 +0000)]
* winamp2.xml: added the Equalizer and Playlist windows.
Now it starts to really look cool ;-)
* builder.cpp: look for fonts in the resource path if the
font file cannot be found in the theme itself
* ctrl_slider.cpp: fixed the hack for winamp: the bar images
are separated by 2 rows, not 3...
Gildas Bazin [Thu, 10 Nov 2005 18:48:55 +0000 (18:48 +0000)]
* src/libvlc.c: failing of bindtextdomain() does not mean that there exists no DOMAIN in the locale path. It means that a memory error has occured. The error message was generalized. Patch by Daniel Stranger (vlc at schmaller dot de).
* skins2: experimental support for the <Include file="foo.xml"/> tag.
Be warned, no DTD validation is done on the included XML file, and the
loading will fail if it contains several top-level tags.
Cyril Deguet [Tue, 8 Nov 2005 20:26:13 +0000 (20:26 +0000)]
* all: the skin sliders can now have a background image, which
depends on the position of the slider. The "Slider" elements now
have optional attributes "background", which the Id of a bitmap,
and "nbimages" which is the number of images in the bitmap (it
is similar to the radialslider). At the moment there is a hack
to support winamp slider bars: the different images must be
separated by 3 rows of unused pixels (well, maybe they are
useful; if someone knows how... ;)
* theme_loader.cpp: convert the file names from zip archives to
lower case, to avoid mixed case issues in some winamp skins
Cyril Deguet [Sun, 6 Nov 2005 16:17:57 +0000 (16:17 +0000)]
* winamp2.xml: generic theme file for winamp2 skins. Still a
lot of things to do but it works !
* theme_loader.cpp: when a theme contains no XML file, assume
we are trying to load a winamp skin, and use winamp2.xml
* vlcproc.cpp: repaired text variables ($N was broken)
Cyril Deguet [Sun, 6 Nov 2005 14:23:16 +0000 (14:23 +0000)]
* all: added a new xml element: "SubBitmap". It allows to define
several bitmaps in a skin from regions of the same image file.
Usage is:
<Bitmap id="body" file="main.bmp" alphacolor="#FF0000">
<SubBitmap id="sub1" x="0" y="10" width="100" height="100" />
<SubBitmap id="sub2" x="100" y="10" width="100" height="100" />
</Bitmap>
Cyril Deguet [Sun, 6 Nov 2005 12:31:53 +0000 (12:31 +0000)]
* all: support .zip for skin themes in addition to tar.gz (vlt)
Borrowed code from Gilles Vollant for the unzip part
(I guess this code should be put elsewhere in vlc, but it was
the easy way for me at the moment;) I hope it compiles fine
everywhere, I've tested only on linux.
Now, everything's ready for winamp skins ;)
Cyril Deguet [Sat, 5 Nov 2005 17:05:25 +0000 (17:05 +0000)]
* sdl_image.c: fixed decoding of 24/32 bpp images (the color masks were not
taken into account, which caused getting RGBA pictures instead of ARGB,
or GBR instead of RGB). 8bpp is obviously broken too, I have not tested it.
--> now BMP images (and other formats) can be used in skins, not only PNG!
(of course the goal is to add a winamp skins loader ;-)
Cyril Deguet [Sat, 5 Nov 2005 11:54:38 +0000 (11:54 +0000)]
* all: added a variable "equalizer.isEnabled" and commands
"equalizer.enable()" and "equalizer.disable()" to enable
or disable the equalizer audio filter.
+ small fixes
Cyril Deguet [Wed, 2 Nov 2005 22:01:06 +0000 (22:01 +0000)]
* all: first support of graphical equalizer in the skins2 interface.
It can be defined in the XML with usual sliders, using the new
variables equalizer.band(0), ..., equalizer.band(9)
(0% means -20dB, and 100% means +20 dB).
More things to come, but it is already working as is.
* all: AsyncQueue::push() now does also a remove() by default, as
the two methods are always called together
Gildas Bazin [Wed, 2 Nov 2005 16:02:01 +0000 (16:02 +0000)]
* modules/gui/wxwidgets/playlist.cpp: don't call treectrl->EnsureVisible() when updating a playlist item. That just makes navigation of the playlist unusable.
Gildas Bazin [Wed, 2 Nov 2005 10:25:41 +0000 (10:25 +0000)]
* modules/gui/wxwidgets/playlist.cpp: if too many items are queued to be added to the playlist then it is quicker to just rebuild the whole playlist instead of inserting items one by one (fixes huge slowdown when using shoutcast).