Rex Dieter [Thu, 18 Jun 2009 17:57:58 +0000 (17:57 -0000)]
encode #'s too
CCBUG: 172242
Christoph Pfister [Tue, 7 Apr 2009 17:28:33 +0000 (17:28 -0000)]
fix videowidget cursor handling
videowidget.cpp explicitly sets Qt::ArrowCursor under certain
circumstances; after that it is impossible to hide the cursor over the
video widget (needed e.g. in fullscreen mode)
backport of 950148
Thiago Macieira [Thu, 26 Feb 2009 20:32:31 +0000 (20:32 -0000)]
Update Phonon version number to 4.3.2.
The phonon/4.3 branch contains some fixes not present in Phonon 4.3.1 (which is shipping with Qt 4.5.0)
Thiago Macieira [Thu, 26 Feb 2009 20:29:41 +0000 (20:29 -0000)]
Backport r915247
Matthias Kretz [Wed, 11 Feb 2009 19:44:44 +0000 (19:44 -0000)]
sorry, I thought this was trivial :-S
Matthias Kretz [Wed, 11 Feb 2009 19:43:46 +0000 (19:43 -0000)]
two more adaptor accesses where adaptor might be 0
Matthias Kretz [Tue, 10 Feb 2009 09:17:28 +0000 (09:17 -0000)]
Let MediaObject encode the URL to a Xine MRL. This is not as easy as
QUrl::toEncoded as xine then can't know anymore what encoding to use for local
files. Instead, for local files, use QFile::encodeName to create an 8-bit string
that is then percent encoded as needed and prefixed with "file:/".
BUG: 172242
Matthias Kretz [Wed, 4 Feb 2009 11:08:10 +0000 (11:08 -0000)]
backport SVN commit 921006 by thiago:
Fixes: Crash in Amarok
Task: None, running Amarok
RevBy: Jens
AutoTest: None
Details: createBackend() ended up doing emit adaptor->..., before
adaptor got a chance to be created. So invert the order and initialise
the adaptor first thing.
Matthias Kretz [Fri, 23 Jan 2009 13:32:42 +0000 (13:32 -0000)]
this check is not necessary anymore
Matthias Kretz [Thu, 22 Jan 2009 16:37:04 +0000 (16:37 -0000)]
old junk
Matthias Kretz [Thu, 22 Jan 2009 16:28:06 +0000 (16:28 -0000)]
this was always supposed to be LGPL, the GPL header was an error
Matthias Kretz [Wed, 21 Jan 2009 08:28:22 +0000 (08:28 -0000)]
bump version to 4.3.0
Alex Merry [Wed, 21 Jan 2009 00:06:02 +0000 (00:06 -0000)]
Backport r914374: make the volume go down when negative decibel values are entered, not up.
Christian Ehrlicher [Mon, 12 Jan 2009 19:17:16 +0000 (19:17 -0000)]
compile with qt4.4 (backport from trunk)
Matthias Kretz [Wed, 7 Jan 2009 07:31:04 +0000 (07:31 -0000)]
bump cmake requirement
bump phonon version to RC1 number
Script Kiddy [Mon, 5 Jan 2009 13:10:25 +0000 (13:10 -0000)]
SVN_SILENT made messages (.desktop file)
Alexander Neundorf [Sun, 4 Jan 2009 15:45:49 +0000 (15:45 -0000)]
-update FindAutomoc4.cmake to include documentation, same as in kdelibs/cmake/modules/FindAutomoc4.cmake
Alex
Matthias Kretz [Sun, 4 Jan 2009 15:41:41 +0000 (15:41 -0000)]
Compile a copy of the xine wav demuxer as it should get shipped with xine-lib 1.1.16. Compile it only if compiling against xine-lib < 1.1.16 and even if it is compiled in use it only if the runtime version is < 1.1.16.
This fixes #178296 without the need to update to xine-lib 1.1.16.
CCBUG: 178296
Matthias Kretz [Tue, 30 Dec 2008 15:51:10 +0000 (15:51 -0000)]
we need to detect the encoding of the meta data strings. Not everything out there is UTF-8 :(
BUG: 142797
Script Kiddy [Tue, 30 Dec 2008 14:54:12 +0000 (14:54 -0000)]
SVN_SILENT made messages (.desktop file)
Matthias Kretz [Mon, 29 Dec 2008 22:56:11 +0000 (22:56 -0000)]
when all devices fail don't hang forever on the last broken device but rather fall back to a null output so that everything behaves properly - just without sound. The new string for better user feedback can wait.
BUG: 159469
Script Kiddy [Mon, 29 Dec 2008 14:11:25 +0000 (14:11 -0000)]
SVN_SILENT made messages (.desktop file)
Matthias Kretz [Sun, 28 Dec 2008 22:40:10 +0000 (22:40 -0000)]
fix a race condition: MediaObject was accessing XineStream::m_stream from the main thread. Simply protect it with m_mutex for now (using tryLock to avoid hard deadlocks)
This fixes at least a crash I got when closing dragon after watching a DVD.
Script Kiddy [Sun, 21 Dec 2008 13:03:58 +0000 (13:03 -0000)]
SVN_SILENT made messages (.desktop file)
Thierry Bastian [Fri, 19 Dec 2008 14:14:16 +0000 (14:14 -0000)]
small mistake fixed in the detection of the connections
Thierry Bastian [Fri, 19 Dec 2008 14:01:17 +0000 (14:01 -0000)]
major upgrade:
-lot of code cleanup
-improved videorenderer to have double Buffering
-support for the latest ogg/theora filters in the SW renderer
-support from grabWidget/grabWindow added
-support for dynamic switching between native/qt rendering
Matthias Kretz [Fri, 19 Dec 2008 07:08:53 +0000 (07:08 -0000)]
bring the libxine config file back which should speed up backend initialization (again)
Simon Edwards [Sun, 14 Dec 2008 13:25:53 +0000 (13:25 -0000)]
auditoformat.h is installed and requires experimental/phononnamespace.h. But this header wasn't installed. Fixed.
Matthias Kretz [Sat, 13 Dec 2008 23:42:20 +0000 (23:42 -0000)]
move the phonon-xine KCM back to KDE base as a KCM needs to depend on kdelibs and can't be Qt-only.
Helio's move simply disabled this code and I didn't notice until now. :(
Thierry Bastian [Thu, 11 Dec 2008 17:17:23 +0000 (17:17 -0000)]
make the video widget compatible with Qt 4.5 new paint engine
Thierry Bastian [Thu, 11 Dec 2008 17:15:44 +0000 (17:15 -0000)]
make the video widget compatible with Qt 4.5 new paint engine
Script Kiddy [Wed, 10 Dec 2008 13:54:07 +0000 (13:54 -0000)]
SVN_SILENT made messages (.desktop file)
Matthias Kretz [Tue, 9 Dec 2008 15:57:27 +0000 (15:57 -0000)]
#undef assert as some headers might include assert.h
Thanks for the investigation, Daniel.
BUG: 29088
Script Kiddy [Wed, 3 Dec 2008 14:42:51 +0000 (14:42 -0000)]
SVN_SILENT made messages (.desktop file)
Alexander Neundorf [Tue, 2 Dec 2008 15:08:06 +0000 (15:08 -0000)]
-move the macros into a separate file, makes the toplevel CMakeLists.txt a bit easier to read
Alex
CCMAIL: kretz@kde.org
Alexander Neundorf [Tue, 2 Dec 2008 15:03:02 +0000 (15:03 -0000)]
-set up RPATH handling consistent to the other projects in kdesupport (pointing to the own install dir and to external link dirs)
Alex
Matthias Kretz [Tue, 2 Dec 2008 12:47:00 +0000 (12:47 -0000)]
m_visual needs to be ifdefed
Matthias Kretz [Mon, 1 Dec 2008 17:09:45 +0000 (17:09 -0000)]
Having PHONON_EXPORT in this macro means that a GCC attribute directive
is put into this template specialization. Which is syntactically
incorrect. GCC knows and plugs along. But it throws parse errors internally
which make it impossible for the static analysis tool to scan the code in
the same file.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 17:04:40 +0000 (17:04 -0000)]
In devicemanager.cpp m_backend has to be checked always before
dereferencing.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:57:46 +0000 (16:57 -0000)]
Adjusted the patch: if the ObjectDescriptionData is not valid delete instead of leak
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:52:04 +0000 (16:52 -0000)]
1. dereferencing src in the Q_ASSERT is plain dangerous. Remove the
assert all together and initialize the pointer variable to null.
2. val might be returned uninitialized.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:49:37 +0000 (16:49 -0000)]
Partially applied:
Several classes do not initialize all of their member variables in their
respective ctors.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:48:42 +0000 (16:48 -0000)]
remove unused variable
Matthias Kretz [Mon, 1 Dec 2008 16:39:58 +0000 (16:39 -0000)]
The variables below are not used even though they are assigned.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:37:21 +0000 (16:37 -0000)]
Ugly but true:
The sentinel in the parameter ellipse has to be a pointer to work
properly. In C NULL has special meaning as a null pointer. In C++ that
is not true. So when using a C ellipse function in C++ the NULL has
to be cast otherwise 64-bit implementations can fiddle with the
value and bad things can happen.
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:25:04 +0000 (16:25 -0000)]
I hate it when copy and paste executes a command - especially when pasting into a multiline quote...
Revert what wasn't meant to be committed
Matthias Kretz [Mon, 1 Dec 2008 16:22:14 +0000 (16:22 -0000)]
Function parameters can be hidden by new declarations of the same name
Thanks to Erik Hovland
Matthias Kretz [Mon, 1 Dec 2008 16:19:01 +0000 (16:19 -0000)]
These two headers include themselves.
Thanks to Erik Hovland
Matthias Kretz [Sat, 29 Nov 2008 11:36:27 +0000 (11:36 -0000)]
change the #ifdef to the same as in effectparameter.h
BUG: 172430
Thierry Bastian [Fri, 28 Nov 2008 09:19:31 +0000 (09:19 -0000)]
remove a compiler warning
Matthias Kretz [Thu, 27 Nov 2008 19:21:30 +0000 (19:21 -0000)]
I had the ifdefs wrong so I didn't notice that the code was not compiling
Matthias Kretz [Thu, 27 Nov 2008 16:10:39 +0000 (16:10 -0000)]
it compiles and works alright now
Thierry Bastian [Thu, 27 Nov 2008 16:02:23 +0000 (16:02 -0000)]
Merge ... git repo and fix compile issue with dbus
Matthias Kretz [Thu, 27 Nov 2008 15:46:49 +0000 (15:46 -0000)]
handle empty MediaSources correctly
Matthias Kretz [Thu, 27 Nov 2008 15:41:41 +0000 (15:41 -0000)]
Make the AudioOutput DBus interface more powerful to allow a "Media Control" type of application for Phonon:
- add a outputDeviceIndex property
- add signals for volumeChanged, mutedChanged, outputDeviceIndexChanged, nameChanged, when a new AudioOutput object is created and when one is destroyed
- make AudioOutput emit those signals
Make device fallback easier and less noisy:
- AudioOutputPrivate now keeps the whole AudioOutputDevice object, not just the index
- GlobalConfig now allows to filter out unavailable devices, so they can be skipped right away when looking for a fallback device
- the setupBackendObject logic was the wrong way around which could result in no output device getting set on the backend if the device choice was overridden
Matthias Kretz [Thu, 27 Nov 2008 15:40:55 +0000 (15:40 -0000)]
- compile tutorial1 again
- add outputselector example which shows how to remote control Phonon applications. Not completely ready for public consumption yet, though
Matthias Kretz [Thu, 27 Nov 2008 15:40:29 +0000 (15:40 -0000)]
a simple commandline player
Matthias Kretz [Thu, 27 Nov 2008 15:40:04 +0000 (15:40 -0000)]
When running in a KDE session prefer the KDE platform plugin, when running in a GNOME session prefer gnome.* (doesn't exist atm, but might be added after the release, so it makes sense to let libphonon behave correctly already). Also allow to load a specific platform plugin using the PHONON_PLATFORMPLUGIN environment variable
Matthias Kretz [Thu, 27 Nov 2008 15:39:36 +0000 (15:39 -0000)]
change docs, following a suggestion from Richard
Matthias Kretz [Thu, 27 Nov 2008 15:39:04 +0000 (15:39 -0000)]
as discussed add a new MediaSource::Type Empty which has the function to empty/reset the MediaObject. MediaSource() now returns an Empty instead of an Invalid source. Adjust MediaObject accordingly and remove the setNextSource(MediaSource()) backend call as that is not necessary anymore for phonon-xine and has a different meaning now.
Script Kiddy [Wed, 26 Nov 2008 14:07:43 +0000 (14:07 -0000)]
SVN_SILENT made messages (.desktop file)
Albert Astals Cid [Tue, 25 Nov 2008 21:22:41 +0000 (21:22 -0000)]
use recently added XGETTEXT_QT instead of XGETTEXT
Matthias Kretz [Tue, 25 Nov 2008 12:28:23 +0000 (12:28 -0000)]
If on aboutToFinish no new source got enqueued then we know the queue is done and finished needs to be emitted.
Also if we're told to load an invalid MediaSource we now go to the state where MediaObject starts after creation
Jesse Lee Zamora [Tue, 25 Nov 2008 02:50:20 +0000 (02:50 -0000)]
Fixes unused variable warnings for cleaner compilation.
Matthias Kretz [Mon, 24 Nov 2008 13:15:48 +0000 (13:15 -0000)]
remove fake state change to BufferingState on play as it's not consistent and other backends don't do it either
Matthias Kretz [Mon, 24 Nov 2008 13:14:33 +0000 (13:14 -0000)]
add comment for translators
Script Kiddy [Mon, 24 Nov 2008 12:53:12 +0000 (12:53 -0000)]
SVN_SILENT made messages (.desktop file)
Matthias Kretz [Sat, 22 Nov 2008 16:58:25 +0000 (16:58 -0000)]
revert this part: it breaks at least the xine backend to know when the source queue is empty and it shouldn't wait for the next MediaSource to play
Matthias Kretz [Thu, 20 Nov 2008 23:21:14 +0000 (23:21 -0000)]
when compiling with -fno-rtti/QT_NO_DYNAMIC_CAST we don't try as hard to get a useful warning message
Matthias Kretz [Thu, 20 Nov 2008 14:07:01 +0000 (14:07 -0000)]
bump version
Matthias Kretz [Thu, 20 Nov 2008 13:45:16 +0000 (13:45 -0000)]
move the files to experimental, though they're also unused there (for now)
Thierry Bastian [Thu, 20 Nov 2008 12:32:08 +0000 (12:32 -0000)]
make autotest path when reconnecting a path with the exact same source and sink.
Thierry Bastian [Thu, 20 Nov 2008 12:16:26 +0000 (12:16 -0000)]
adding getters for source and sink to the Path
Matthias Kretz [Thu, 20 Nov 2008 11:57:11 +0000 (11:57 -0000)]
those files are not needed anymore and can also be removed in the Qt copy
Thierry Bastian [Thu, 20 Nov 2008 11:38:29 +0000 (11:38 -0000)]
sync with Qt 4.5:
removing AbstractMediaStream2 references
Matthias Kretz [Thu, 20 Nov 2008 11:02:47 +0000 (11:02 -0000)]
clean up ams2 remains
Matthias Kretz [Thu, 20 Nov 2008 11:02:03 +0000 (11:02 -0000)]
clean up ams2 remains
Matthias Kretz [Wed, 19 Nov 2008 23:38:27 +0000 (23:38 -0000)]
forwardport: add VideoPlayer(QWidget *) ctor
Matthias Kretz [Wed, 19 Nov 2008 23:34:34 +0000 (23:34 -0000)]
forwardport: Q_DECLARE_METATYPE must be outside of namespace
Matthias Kretz [Wed, 19 Nov 2008 23:32:23 +0000 (23:32 -0000)]
forwardport EffectWidget changes by Thierry
Matthias Kretz [Wed, 19 Nov 2008 23:13:27 +0000 (23:13 -0000)]
forwardport: Fixed compilation with namespace in AbstractMediaStream
Matthias Kretz [Wed, 19 Nov 2008 23:11:33 +0000 (23:11 -0000)]
forwardport Albert's changes:
- Since r817777 phonon is a qt_only program and such already gets this flags, no need to add them here again
- Vir wanted this for phonon too (where this == copyright and bugs address)
Matthias Kretz [Wed, 19 Nov 2008 23:06:26 +0000 (23:06 -0000)]
the branch uses Q_WS_WIN, looks more correct to me
Matthias Kretz [Wed, 19 Nov 2008 23:05:56 +0000 (23:05 -0000)]
forwardport QT_NO_WHATSTHIS change
Matthias Kretz [Wed, 19 Nov 2008 22:09:38 +0000 (22:09 -0000)]
SVN_SILENT: one more mention of ams2 to remove
Matthias Kretz [Wed, 19 Nov 2008 21:04:56 +0000 (21:04 -0000)]
get rid of some failed assertions because of changes with the device listing now being done by the platform plugin
Matthias Kretz [Wed, 19 Nov 2008 21:03:30 +0000 (21:03 -0000)]
clean out AbstractMediaStream2 remains
Matthias Kretz [Wed, 19 Nov 2008 20:50:52 +0000 (20:50 -0000)]
disable all ams2 tests
Matthias Kretz [Wed, 19 Nov 2008 20:29:25 +0000 (20:29 -0000)]
SVN_SILENT: one line too much committed
Matthias Kretz [Wed, 19 Nov 2008 20:26:36 +0000 (20:26 -0000)]
replace automoc4 + add_{library,executable} with automoc4_add_{lib,exec}
Matthias Kretz [Wed, 19 Nov 2008 13:14:24 +0000 (13:14 -0000)]
forwardport Thierry's commit to 4.2
- Trolltech -> Nokia copyright
Matthias Kretz [Wed, 19 Nov 2008 13:10:27 +0000 (13:10 -0000)]
forwardport Thierry's commit to 4.2:
- fix for loading invalid MediaSource
- adding MediaObject::clear (for unloading)
Matthias Kretz [Tue, 18 Nov 2008 12:03:11 +0000 (12:03 -0000)]
add fallback for when the platform plugin doesn't work
Thierry Bastian [Tue, 18 Nov 2008 08:50:59 +0000 (08:50 -0000)]
update from Qt git repo:
- fixes in software renderer (not using QImage in threads and some speed improvements)
- Nokia copyright
- small fix for the management og invalid mediasource
Matthias Kretz [Tue, 18 Nov 2008 08:50:05 +0000 (08:50 -0000)]
let libphonon add its own install prefix to the Qt library paths to make sure that non-KDE apps running without QT_PLUGIN_PATH set and no libraryPath entry in Trolltech.conf find the backends installed alongside the Phonon prefix
Harald Fernengel [Sun, 16 Nov 2008 17:24:02 +0000 (17:24 -0000)]
compile with QT_NO_DBUS
Matthias Kretz [Thu, 13 Nov 2008 10:47:00 +0000 (10:47 -0000)]
get back the icon installation that Helio removed
Matthias Kretz [Thu, 13 Nov 2008 10:42:38 +0000 (10:42 -0000)]
copy macro from kdelibs to install icons
Script Kiddy [Wed, 12 Nov 2008 13:49:54 +0000 (13:49 -0000)]
SVN_SILENT made messages (.desktop file)
Matthias Kretz [Mon, 10 Nov 2008 11:08:13 +0000 (11:08 -0000)]
white space; explicitly inline