Chris Clayton [Sat, 17 Dec 2011 23:00:47 +0000 (23:00 +0000)]
UPNP: Fix a tag name in MediaServer xml parsing
According to http://upnp.org/specs/av/UPnP-av-MediaServer-v1-Device.pdf, the tag name of the element
that provides the base URL for relative URLs is "URLBase". The same is true for a v2 MediaServer.
Make it so in MediaServer:: parseDeviceDescription().
Cheng Sun [Thu, 15 Dec 2011 17:10:52 +0000 (17:10 +0000)]
Fix stack overflow in ExecuteCommand
Close #5675
Because ExecuteCommand allocates temporary string space on the stack,
proportional to the length of the command to execute, a stack overflow can
occur when the the command is too long.
This can be triggered remotely e.g. from the VLC Web interface, by
running this JavaScript:
Martin Storsjö [Fri, 16 Dec 2011 21:47:06 +0000 (23:47 +0200)]
omxil: Use a fake library name when loading IOMX
The iomx loading stub doesn't use the library name.
If there's errors in loading the function pointers, this
gives slightly more correct error messages.
Martin Storsjö [Fri, 16 Dec 2011 21:47:05 +0000 (23:47 +0200)]
android: Don't add private header include directories when building the full VLC tree
These aren't necessary any longer.
The approach of adding private headers to the build of the VLC
core doesn't work well if one wants to target multiple private
ABI versions in one build.
Instead, small shared libraries for each private ABI version
can be built separately.
Martin Storsjö [Fri, 16 Dec 2011 21:47:04 +0000 (23:47 +0200)]
omxil: Remove the header check for the iomx module
Building the iomx version of the omxil module itself doesn't
require the private headers any longer, they're only necessary
when building the iomx wrapper code (which should be built by the
NDK makefile instead).
Martin Storsjö [Fri, 16 Dec 2011 21:47:03 +0000 (23:47 +0200)]
omxil: Build the iomx wrapper code as a separate shared library
The separate shared library needs to be loaded into the process
before using the iomx module, preferrably by the java part
of the android application.
This allows building the iomx glue code for a number of different
ABI versions, and additionally avoids linking the main VLC
library to any private symbols that might make it unloadable.
Cheng Sun [Sat, 17 Dec 2011 21:22:11 +0000 (21:22 +0000)]
Fix QToolButtonExt edge cases
Previously QToolButtonExt had some undesirable edge case behaviour.
Firstly, once the user presses down on a QToolButtonExt there is no
way to cancel the action; either a short or a long click will be
generated. Compare this to a normal button, which can be cancelled by
releasing the mouse outside of the button area.
Secondly, with the mouse button held down, moving the mouse in and out
of the button area will generate multiple short click events, when no
event at all is desired.
This patch corrects this: by releasing the mouse outside the button area
no event is generated; additionally no short click events are generated
simply by moving the depressed mouse in and out of the button.
Only ignores triplets in the root contrib path. Previous
implementation had the potential to ignore triplets in the
subfolders.
This will allow for creating:
1) Patches using this format (e.g. contrib/src/*/track-me-now.patch).
2) Subfolders beneath contrib's root (but not in contrib itself)
(e.g. contrib/src/track-me-now/*).
Ludovic Fauvet [Thu, 15 Dec 2011 00:21:13 +0000 (01:21 +0100)]
Qt: fix an utf8 encoding issue in the recents menu
The MRL received from a drag & drop was not converted correctly to an
URI (using toURI) before being saved into the configuration. This was
causing multi bytes characters to be serialized in UTF8 (\x????) and be
given as-is to decode_URI which is not able to decode them.
Close #5662
contrib: use 32-bits LUAC file format on all platforms
In other words, 64-bits platform will support 32-bits LUAC files and
reject 64-bits LUAC files when using contribs.
This should ease cross-compilation and copying luac files manually.
Mal Graty [Mon, 12 Dec 2011 00:13:44 +0000 (00:13 +0000)]
Playlist status not being updated on play/pause
Fix issue #4899
The problem was that the playing/paused state was being misreported
to the luahttp interface, turns out this was due to the way the playing
state was being updated in the Qt and hotkey logic.
The p_input state was being updated, but the playlist wasn't being
informed, this patch switches out the p_state calls to use the
equivalent playlist aware functions.
Laurent Aimar [Sun, 11 Dec 2011 19:13:18 +0000 (20:13 +0100)]
Fixed multi-volume RAR support.
The access now open itself the following rar volumes (only if needed). This
also allows to support rar embeded in rar or using other protocals than file.
It has been broken since the rar modules have been modified to
support multiple files.