Commit graph

548 commits

Author SHA1 Message Date
Ivailo Monev
cdacdd9bc4 kutils: allow multiple options to be passed to the KMediaWidget constructor
and make use of it in KHTML

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 18:18:53 +00:00
Ivailo Monev
314fa967a4 kutils: report media player command errors
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 17:34:52 +00:00
Ivailo Monev
7506a2cef6 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-27 02:35:23 +00:00
Ivailo Monev
8a6bb39279 kutils: revert lazy initialization changes
it has too many side effects that will complicate things more then it is
worth it to save a few MB of RAM per-application until load

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 21:29:11 +00:00
Ivailo Monev
33b9f1274e kutils: optimize media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 18:06:51 +00:00
Ivailo Monev
dd06909ffb kutils: when the parent widget is KMainWindow use setCaption() to set title
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 06:32:39 +00:00
Ivailo Monev
135ed6f12f kutils: fix KAbstractPlayer stop command
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 06:31:51 +00:00
Ivailo Monev
05dd897b78 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 03:17:36 +00:00
Ivailo Monev
73d50c52e9 kutils: for some media classes bugs
one bug was that replay was not possible after sucessfull finish, another
one was that controls remained hidden after finish because path is empty
and finally the play/pause button was not update on finish because MPV does
not emit the event on finish (noted in the API docs)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 04:43:58 +00:00
Ivailo Monev
3d92b0104f generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-25 03:23:43 +00:00
Ivailo Monev
38f880f312 kutils: make multimedia context creation more tolerant
returing from the constructor prematurely is not a good idea because the
settings pointer may be left uninitialized, also issue a general warning
if mpv_create() failed

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-24 00:06:16 +00:00
Ivailo Monev
a26021c35c kutils: rework some parts of the media classes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-23 04:16:54 +00:00
Ivailo Monev
003bfe1da1 kutils: add more paranoia checks to KMediaWidget
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 23:16:57 +00:00
Ivailo Monev
977adde9a6 kutils: set MPV debug level to info
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 23:16:24 +00:00
Ivailo Monev
d398932909 generic: drop Phonon in favour of MPV and custom player classes
kcompactdisc was remove because there is no use for it in the
current set of applications supported, if it is needed it will
need some work to make it use KMediaPlayer or whatever.

the Plasma VideoWidget class was dropped because custom widgets
(at some point) will be dropped unless absolutely needed and
hopefully getting rid of the heavy-weight QML stuff.

the new KMediaPlayer and KMediaWidgets classes are experimental
but they have been tested and they work as they should.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-20 02:43:02 +00:00
Ivailo Monev
376484dff8 generic: get rid of KLibrary
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-05 03:36:21 +02:00
Ivailo Monev
273176ec02 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 12:06:01 +02:00
Ivailo Monev
5da23b1810 generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-06 10:08:00 +02:00
Ivailo Monev
04506de1e7 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 19:10:29 +02:00
Ivailo Monev
ca9fbac8fd kutils: cleanup remains of deprecated DocPath 2015-10-14 22:11:49 +03:00
Ivailo Monev
65c1b37e19 kutils: remove redundant headers inclusion in kcm proxy 2015-10-14 22:02:06 +03:00
Ivailo Monev
1a8cbdbdf5 generic: code shrinks 2015-10-01 05:02:16 +03:00
Ivailo Monev
3d14a4b88b generic: code shrinks 2015-09-30 10:37:53 +03:00
Ivailo Monev
9f0377bfa4 kutils: add doxygen file back 2015-09-25 08:19:06 +00:00
Ivailo Monev
7e6bd222da generic: cleanup headers inclusions 2015-09-24 17:34:26 +00:00
Ivailo Monev
c0da30760b generic: misc cleanups 2015-09-06 14:43:27 +03:00
Ivailo Monev
e7133114e1 generic: misc cleanups 2015-09-05 05:16:46 +00:00
Ivailo Monev
eeba19d4c4 generic: misc cleanups 2015-09-04 13:06:11 +00:00
Ivailo Monev
e1c89a39e7 generic: misc cleanups 2015-09-04 01:57:47 +00:00
Ivailo Monev
007a44cd2f generic: major build system cleanup
the test are broken!
2015-09-01 01:05:33 +03:00
Ivailo Monev
4cd59c841e kutils: remove deprecated library 2015-08-28 04:26:19 +03:00
Ivailo Monev
5b3d79736a kutils: remove mac and win pollers 2015-08-28 04:13:43 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
a7064db00e generic: deal with LINK_INTERFACE_LIBRARIES, cmake >=2.8.11 required now 2015-06-25 00:27:48 +03:00
Ivailo Monev
732148f49b generic: partitially revert 22db5ad6 2015-06-14 18:49:20 +03:00
Ivailo Monev
22db5ad66c generic: change standard paths 2015-05-20 13:36:16 +00:00
Ivailo Monev
5333e9917d generic: remove deprecated API 2015-02-28 03:27:54 +00:00
Ivailo Monev
82fc15f54b generic: use CMake moc instead of automoc4 by default
for compatibilty reasons automoc4 support is not removed but it
shall be in the future. automoc4 has not been maintained for a
while (last commit is from 2011) and the stable release is from
2009.

CMake version >= 2.8.6 provides the functionality for mocking so
I see no reason to not make use of it.
2015-02-27 07:40:26 +00:00
Ivailo Monev
65a3ece48e generic: drop doxygen files 2015-01-21 16:08:31 +00:00
Ivailo Monev
c88b5ef465 remove all doxygen pages and add top-level config 2014-12-04 20:34:48 +00:00
Ivailo Monev
4f3fd401e4 KDE3_SUPPORT cleanup 2014-12-04 00:04:49 +00:00
Ivailo Monev
3f0dd268de remove win and mac cruft 2014-11-27 18:22:42 +00:00
Ivailo Monev
2d55a8d3dd katana -> kde4 2014-11-20 09:05:46 +00:00
Ivailo Monev
354273cb81 more hardcore paths replacement 2014-11-19 22:10:27 +00:00
Ivailo Monev
c7a2a17692 yet more windows and mac code remove 2014-11-19 15:30:39 +00:00
Ivailo Monev
c3f3bcb965 windows code remove 2014-11-19 15:17:14 +00:00
Ivailo Monev
d1998a1d50 removed static libraries defines (including #if 0, watch out!) 2014-11-18 00:42:37 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00