John Rennie [Fri, 2 Aug 2013 07:12:52 +0000 (00:12 -0700)]
Merge pull request #3029 from jhsrennie/keyedpaste
Add OnPasteClipboard method to CGUIDialogKeyboardGeneric
John Rennie [Fri, 2 Aug 2013 06:47:44 +0000 (07:47 +0100)]
Add and test paste on OSX
davilla [Fri, 2 Aug 2013 06:46:45 +0000 (02:46 -0400)]
fixed compiler warning, comparision always false due to limited type
davilla [Fri, 2 Aug 2013 06:45:24 +0000 (02:45 -0400)]
fixed compiler warning, missing return value
davilla [Fri, 2 Aug 2013 06:44:42 +0000 (02:44 -0400)]
fixed compiler warnings, unused vars
davilla [Thu, 1 Aug 2013 23:12:54 +0000 (19:12 -0400)]
fixed broken build. please remember to add to all three projects when you add files, see getinfo, target
Martijn Kaijser [Thu, 1 Aug 2013 23:10:42 +0000 (16:10 -0700)]
Merge pull request #2971 from mus65/logind
[Linux] systemd/UPower power management improvements
Alexis Ballier [Thu, 1 Aug 2013 20:31:03 +0000 (13:31 -0700)]
Merge pull request #3031 from aballier/typo
Fix typo in [
50e52c36]. Broke the build with external FFmpeg.
Alexis Ballier [Thu, 1 Aug 2013 20:20:48 +0000 (16:20 -0400)]
Fix typo in [
50e52c36]. Broke the build with external FFmpeg.
Voyager1 [Thu, 1 Aug 2013 20:20:10 +0000 (13:20 -0700)]
Merge pull request #2966 from Voyager1/uniquedvdid-use-libdvdnav
Uniquedvdid use libdvdnav
Martijn Kaijser [Thu, 1 Aug 2013 20:16:00 +0000 (13:16 -0700)]
Merge pull request #2957 from jmbreuer/upstream-libdvdnav-seek
More accurate seeking with libdvdnav
Alexis Ballier [Thu, 1 Aug 2013 20:14:42 +0000 (13:14 -0700)]
Merge pull request #3013 from aballier/avfilter_deprec
Modernize libavfilter usage
Alexis Ballier [Fri, 26 Jul 2013 21:13:40 +0000 (17:13 -0400)]
DllAvFilter.h: Include libavfilter/avcodec.h only when necessary. We are not using it anymore when using the new avfilter APIs and it contains only deprecated functions.
Alexis Ballier [Fri, 26 Jul 2013 21:11:13 +0000 (17:11 -0400)]
DllAvFilter.h: Include libavfilter/avfilter.h since we are using functions from this header such as avfilter_get_by_name.
Alexis Ballier [Fri, 26 Jul 2013 21:08:28 +0000 (17:08 -0400)]
Drop support for av_vsrc_buffer_add_frame: We are using the new API since libavfilter 3, which is available in FFmpeg 1.0 at least.
libavfilter from libav will not work without the avframe based API anyway.
Alexis Ballier [Fri, 26 Jul 2013 20:41:38 +0000 (16:41 -0400)]
Use avfilter_graph_parse_ptr when available (Fixes a deprecation warning with FFmpeg 2.0).
Include the libav API for avfilter_graph_parse which should help porting to libav.
Alexis Ballier [Fri, 26 Jul 2013 19:56:18 +0000 (15:56 -0400)]
DllAvFilter: Map avfilter_graph_parse_ptr when available.
Alexis Ballier [Fri, 26 Jul 2013 19:48:51 +0000 (15:48 -0400)]
Switch to the avframe based API for libavfilter when it is available.
The old API is deprecated and the new code is simpler and saves a memcopy.
Also, use the AVFrame values instead of the codec context for DVDVideoCodecFFmpeg::GetPicture.
Alexis Ballier [Fri, 26 Jul 2013 16:33:11 +0000 (12:33 -0400)]
DllAvUtil.h: Map av_frame_move_ref when applicable.
Alexis Ballier [Fri, 26 Jul 2013 16:31:11 +0000 (12:31 -0400)]
DllAvUtil.h: Map av_frame_unref when applicable.
Alexis Ballier [Fri, 26 Jul 2013 16:22:55 +0000 (12:22 -0400)]
DllAvUtil.h: Map av_frame_alloc when applicable.
Alexis Ballier [Fri, 26 Jul 2013 16:12:43 +0000 (12:12 -0400)]
DllAvUtil.h: Map av_frame_free when applicable.
Alexis Ballier [Fri, 26 Jul 2013 16:07:12 +0000 (12:07 -0400)]
DllAvUtil.h: Add LIBAVUTIL_FROM* macros.
Alexis Ballier [Fri, 26 Jul 2013 14:59:01 +0000 (10:59 -0400)]
DllAvFilter.h: Do not map avfilter_open.
It is deprecated in FFmpeg git master and unused in xbmc code.
popcornmix [Thu, 1 Aug 2013 20:01:43 +0000 (13:01 -0700)]
Merge pull request #3022 from popcornmix/avoid_avcodec_max
[rbp/omxplayer] Stop using AVCODEC_MAX_AUDIO_FRAME_SIZE
Martijn Kaijser [Thu, 1 Aug 2013 19:03:31 +0000 (12:03 -0700)]
Merge pull request #2987 from ronie/remove-wunderground
[RFC] Ship XBMC without weather addon
John Rennie [Thu, 1 Aug 2013 18:54:14 +0000 (19:54 +0100)]
Add OnPasteClipboard method to CGUIDialogKeyboardGeneric
Marius T [Sun, 14 Jul 2013 10:44:28 +0000 (12:44 +0200)]
[Linux] systemd/logind/UPower power management improvements
This patch improves the power management functionality
on Linux systems running logind and optionally UPower.
While the old class was named SystemdUPowerSyscall, I renamed
it to LogindUPowerSyscall since systemd itself is technically
not used. Logind can run without systemd (Ubuntu is even planning
to do this).
The new LogindUPowerSyscall class does not inherit
from the UPowerSyscall class anymore. The little
functionality needed by UPower is implemented separately
in the rewritten class. I originally extended the existing
class, but this resulted in pretty messy code.
Advantages:
- The power management functionality provided by logind
now works even when UPower is not available on the system. Previously
nothing would work without UPower, even though UPower provided nothing
but the battery level. The complete suspend/poweroff etc.
functionality is provided by logind itself and does not rely on
UPower anymore. The class itself checks whether UPower is available,
and if not, avoids any battery related operations.
- As mentioned, the suspend functionality by UPower is not used anymore.
This is also important because this functionality is being deprecated:
see http://lists.freedesktop.org/archives/devkit-devel/2013-January/001339.html
- The OnSleep()/OnWake() callbacks now actually work. This was at least
broken on systemd/logind systems since the corresponding UPower signals
were never even emitted. This is now properly handled via
logind inhibitor locks, so the system doesn't suspend until
XBMC is finished with whatever it is doing with the callback.
see also http://www.freedesktop.org/wiki/Software/systemd/inhibit/
- The code is imho cleaner since I don't keep a complete copy of the
UPower devices within the class. Instead the Battery Level is
re-read via D-Bus everytime UPower emits a DeviceChanged signal.
UPower seems to emit this signal every 30 seconds while idle. I originally only
re-read the data everytime the BatteryLevel() function is called since
this doesn't seem to happen that often. However, I don't know if there
are cases in which this function may be called very often or how
much overhead D-Bus would actually cause in this case. Either way,
this could easily be changed.
I made no changes to the other implementations, so this should not have
any effects on non-systemd, or to be exact, non-logind systems.
Martijn Kaijser [Thu, 1 Aug 2013 18:06:29 +0000 (20:06 +0200)]
[langauge] add missing setting descriptions
Rainer Hochecker [Thu, 1 Aug 2013 17:34:24 +0000 (10:34 -0700)]
Merge pull request #2969 from fritsch/ae-fix-wrong-softresume
AESinkAlsa: Make sure to reinit but return false if format might be changing
Martijn Kaijser [Thu, 1 Aug 2013 17:20:33 +0000 (10:20 -0700)]
Merge pull request #2885 from smspillaz/fix-tests-
16062013
Fix "make check"
Martijn Kaijser [Thu, 1 Aug 2013 16:40:22 +0000 (18:40 +0200)]
[cosmetics] update copyright headers
Martijn Kaijser [Thu, 1 Aug 2013 16:05:11 +0000 (09:05 -0700)]
Merge pull request #2601 from sraue/automake-1.13-fixes
[fix] change AM_CONFIG_HEADER to AC_CONFIG_HEADERS for automake-1.13 support
popcornmix [Thu, 25 Jul 2013 16:15:26 +0000 (17:15 +0100)]
[rbp/omxplayer] Stop using AVCODEC_MAX_AUDIO_FRAME_SIZE
This constant has been deprecated and is now gone in FFmpeg 2.0.
See #3006
Also made use of av_samples_fill_arrays and av_samples_copy
and have simplified the code.
popcornmix [Wed, 31 Jul 2013 18:57:38 +0000 (19:57 +0100)]
[DllAvUtil] Plumb in missing av_samples_fill_arrays and av_samples_copy
Joakim Plate [Thu, 1 Aug 2013 15:46:35 +0000 (08:46 -0700)]
Merge pull request #2848 from elupus/3d
Stereoscopic 3d rendering support
Sascha Montellese [Thu, 1 Aug 2013 15:22:04 +0000 (08:22 -0700)]
Merge pull request #2965 from LucasG2000/master
Built in function PlayMedia does not play music folders
Sascha Montellese [Thu, 1 Aug 2013 15:20:42 +0000 (08:20 -0700)]
Merge pull request #2999 from dnunes/webinterface
[webinterface.default] JS bugfix, cleanup and linting.
Joakim Plate [Thu, 1 Aug 2013 15:10:26 +0000 (17:10 +0200)]
egl: take flags into account when chaning check if we need to recreate
3d mode or interlacing could have changed
Joakim Plate [Thu, 1 Aug 2013 15:05:47 +0000 (17:05 +0200)]
rbpi: make sure we take mode flags into account when finding desktop res
Joakim Plate [Thu, 1 Aug 2013 14:36:10 +0000 (16:36 +0200)]
rbpi: fixup more pixel ratio's for stereo modes
Joakim Plate [Thu, 1 Aug 2013 12:42:14 +0000 (14:42 +0200)]
rbpi: fix pixel ratio setup for rbpi
Joakim Plate [Thu, 1 Aug 2013 12:33:33 +0000 (14:33 +0200)]
gui: restore stereo correction on resolution when writing calibration
Joakim Plate [Thu, 1 Aug 2013 11:18:53 +0000 (13:18 +0200)]
gui: automaticlly switch to stereo mode if we select a stereo resolution
Joakim Plate [Wed, 31 Jul 2013 17:25:17 +0000 (19:25 +0200)]
gui: make sure we match 3d type when finding display modes
Joakim Plate [Mon, 29 Jul 2013 13:15:27 +0000 (15:15 +0200)]
gui: fixed player info that was remaining after playback of item
If music was played after a video, some of the video metadata would
still be present. This also fixes the issue that gui would switch to
a 3d mode on playback of audio.
elupus [Fri, 26 Jul 2013 13:47:33 +0000 (15:47 +0200)]
winrenderer: correct for stereo offset
Needed since this is using non transformed vertizes during render
elupus [Fri, 26 Jul 2013 13:46:35 +0000 (15:46 +0200)]
slideshow/waveform: avoid using non transformed vertices
They skip viewport offsets and similar
Joakim Plate [Thu, 25 Jul 2013 21:34:37 +0000 (23:34 +0200)]
[3D] fix rbi 3d modes to have correctly set pixel ratio
Joakim Plate [Thu, 25 Jul 2013 22:21:24 +0000 (00:21 +0200)]
[3D] add support for frame packed resolutions
Joakim Plate [Thu, 25 Jul 2013 22:21:00 +0000 (00:21 +0200)]
[3D] adjust gui resolution for 3d mode instead of modifying transform
This allows real 3d resolutions to be provided from windowing layer
Joakim Plate [Thu, 25 Jul 2013 19:42:44 +0000 (21:42 +0200)]
gl: fix project call for the case of moved or partial viewport
Joakim Plate [Sun, 30 Jun 2013 16:06:53 +0000 (18:06 +0200)]
gui: don't modify transforms for defined viewport
This kills the posibility of using a set viewport to move the
render output with an offset. It is alwo very questionable, if
we should take width/height of viewport into account here either.
Joakim Plate [Sun, 30 Jun 2013 15:58:02 +0000 (17:58 +0200)]
projectm: retain viewport set during render
Joakim Plate [Sun, 30 Jun 2013 12:40:12 +0000 (14:40 +0200)]
gui: avoid asking windowing for viewport
This could stall GPU and we can just keep track of it at
top of stack.
Joakim Plate [Wed, 26 Jun 2013 20:11:09 +0000 (22:11 +0200)]
dvdplayer: look for stereo_mode metadata in frames to update stereo mode
Joakim Plate [Thu, 1 Aug 2013 13:01:54 +0000 (15:01 +0200)]
ffmpeg: add patch file for stereoscopic metadata from h264
Joakim Plate [Wed, 26 Jun 2013 20:07:28 +0000 (22:07 +0200)]
h264: expose h264 frame packing as stereo_mode metadata
Joakim Plate [Sat, 22 Jun 2013 18:00:52 +0000 (20:00 +0200)]
[3D] don't allow setting modes that are unsupported
Joakim Plate [Sat, 22 Jun 2013 17:58:18 +0000 (19:58 +0200)]
[3D] fixup some labels
Joakim Plate [Sat, 22 Jun 2013 17:57:48 +0000 (19:57 +0200)]
[3D] display selection for matching the video's mode
Joakim Plate [Sat, 22 Jun 2013 17:39:24 +0000 (19:39 +0200)]
gui: let gui dialog select return id of added items
Simplifies usage when some options are optional
Joakim Plate [Sat, 22 Jun 2013 17:25:59 +0000 (19:25 +0200)]
[3D] add half-tab/sbs filename keyword
Joakim Plate [Tue, 18 Jun 2013 21:22:24 +0000 (23:22 +0200)]
gui: fix scrolling text to not move between two render passes
Joakim Plate [Mon, 17 Jun 2013 21:46:16 +0000 (23:46 +0200)]
[3D] move preferred sterescopic mode into system settings
It will apply to viz and pictures eventually
Joakim Plate [Mon, 17 Jun 2013 20:09:41 +0000 (22:09 +0200)]
dvdplayer: allow setting the video's stereo scopic mode from video settings
Joakim Plate [Mon, 17 Jun 2013 19:32:31 +0000 (21:32 +0200)]
[3D] drop setting for global enablement of stereoscopic support
We should not hide this feature, it should have sane defaults and
only display when we find a movie with stereo data or forced stereo info
popcornmix [Mon, 10 Jun 2013 19:21:30 +0000 (20:21 +0100)]
Remove Pi specific 3D support and use new generic 3d support
Joakim Plate [Tue, 11 Jun 2013 20:48:03 +0000 (22:48 +0200)]
[3D] make language labels more generic (replace "movie" with "video")
Joakim Plate [Sat, 8 Jun 2013 17:56:58 +0000 (19:56 +0200)]
[3d] simplify some code by moving error check
Franz Koch [Thu, 6 Jun 2013 08:24:42 +0000 (10:24 +0200)]
[3D] add stereo mode popup to Confluence similar to the subtitle popup
Franz Koch [Wed, 5 Jun 2013 20:47:16 +0000 (22:47 +0200)]
[3D] turn off stereoscopic mode on startup
Joakim Plate [Fri, 7 Jun 2013 20:21:48 +0000 (22:21 +0200)]
[3D] allow next/prev stereo mode select the none case
Franz Koch [Wed, 5 Jun 2013 21:31:34 +0000 (23:31 +0200)]
[3D] add cAction to toggle between stereoscopic/3D and mono/2D mode
Franz Koch [Wed, 5 Jun 2013 21:30:21 +0000 (23:30 +0200)]
[3D] add cAction to select stereoscopic mode from a list
Franz Koch [Wed, 5 Jun 2013 23:29:00 +0000 (01:29 +0200)]
[3D] add settings to configure the playback behavior of stereoscopic videos
- preferred playback mode of stereoscopic movies (ask, stereoscopic/3D, mono/2D)
- preferred stereoscopic mode (use video mode or a fixed mode)
- quit stereoscopic mode when playback stopped
Franz Koch [Thu, 6 Jun 2013 08:23:48 +0000 (10:23 +0200)]
[3D] add GUI stereoscopic mode to GUIInfoManager to have it available in skins
Franz Koch [Wed, 5 Jun 2013 21:12:18 +0000 (23:12 +0200)]
[3D] add stereo mode info to stream details and make it available to skins via the GUIInfoManager
Franz Koch [Wed, 5 Jun 2013 21:08:19 +0000 (23:08 +0200)]
[3D] add stereoscopic mode "mono" (2D)
Franz Koch [Wed, 5 Jun 2013 20:57:01 +0000 (22:57 +0200)]
[3D] move stereomode detection from filename to stereoscopicsmanager and make the flags configurable via advanced settings.
Franz Koch [Wed, 5 Jun 2013 21:33:59 +0000 (23:33 +0200)]
[3D] add cActions to cycle through stereo modes and toggle it on/off
Franz Koch [Wed, 5 Jun 2013 20:21:18 +0000 (22:21 +0200)]
[3D] observe changes to the stereoscopicmode setting and push changes to the GraphicContext instead of having the context constantly checking the setting
Joakim Plate [Sun, 9 Jun 2013 18:05:10 +0000 (20:05 +0200)]
[3D] add a global toggle to enable/disable stereoscopic related features and moved interaction with stereoscopic related settings to a central stereoscopics manager
Joakim Plate [Sun, 28 Apr 2013 12:45:08 +0000 (14:45 +0200)]
gl: support stereo rendering using opengl builtin system
Joakim Plate [Sun, 28 Apr 2013 11:28:04 +0000 (13:28 +0200)]
gl: support anaglyph and interlaced stereo rendering
Joakim Plate [Sun, 28 Apr 2013 11:27:47 +0000 (13:27 +0200)]
d3d: support anaglyph stereo rendering
Joakim Plate [Sun, 28 Apr 2013 13:25:41 +0000 (15:25 +0200)]
dvdplayer: pass stereo_mode to renderers and select what to render
Joakim Plate [Mon, 10 Jun 2013 20:18:46 +0000 (22:18 +0200)]
dvdplayer: factor out render flags from player
Joakim Plate [Fri, 26 Jul 2013 00:21:02 +0000 (02:21 +0200)]
added: support SBS and TAB display of xbmc gui
Joakim Plate [Sun, 28 Apr 2013 13:24:58 +0000 (15:24 +0200)]
renderers: rename stereo 3d mode flag to more distinct name
Joakim Plate [Sun, 9 Jun 2013 15:56:15 +0000 (17:56 +0200)]
guilib: add accessor for CPoints in CRect and constructor
Joakim Plate [Sat, 8 Jun 2013 11:02:42 +0000 (13:02 +0200)]
guilib: reset pixelratio of RES_WINDOW when requested
Fixes default button in calibration window.
Joakim Plate [Sat, 8 Jun 2013 13:49:46 +0000 (15:49 +0200)]
vaapi/dxva: disallow larger than 1080p video's for decode
This can crash drives on sandy bridge systems and likely others
too.
Joakim Plate [Sat, 8 Jun 2013 11:02:13 +0000 (13:02 +0200)]
v(dpau/aapi): respect source rectangle on render
This fixes 3d rendering and should allow cropping to function. This should
also solve any issues with pixmap being larger than source video video
Joakim Plate [Sat, 2 Mar 2013 01:49:48 +0000 (02:49 +0100)]
overlay: don't take cropping offset into account for overlays
This breaks 3d modes and serve very little use in the real world
Joakim Plate [Thu, 25 Jul 2013 23:31:03 +0000 (01:31 +0200)]
gui: always get screen resolution from graphicscontext
This allows GFX to modify this info for stereo modes and calibration
Rainer Hochecker [Thu, 1 Aug 2013 14:40:06 +0000 (07:40 -0700)]
Merge pull request #2970 from FernetMenta/sledgehammer
grAEken: add ActiveAE as an additional audio engine
Rainer Hochecker [Thu, 1 Aug 2013 10:48:28 +0000 (12:48 +0200)]
ActiveAE: set resampling quality to low when changing ratio
Rainer Hochecker [Tue, 30 Jul 2013 10:42:30 +0000 (12:42 +0200)]
ActiveAE: resampling quality, credits to @fritsch who did adjustment of parameters
Karlson2k [Mon, 29 Jul 2013 18:15:38 +0000 (22:15 +0400)]
Settings: add settings for sound quality processing