qtmediahub:rogerzhangs-qtmediahub-core.git
6 years agoRework the media player code newmediaplayer
Girish Ramakrishnan [Wed, 21 Sep 2011 19:11:12 +0000 (12:11 -0700)]
Rework the media player code

6 years agoCreate the binary in bin/
Girish Ramakrishnan [Thu, 22 Sep 2011 06:10:41 +0000 (23:10 -0700)]
Create the binary in bin/

6 years agos/refcountedcache.h/refcountcache.h
Girish Ramakrishnan [Wed, 21 Sep 2011 13:33:53 +0000 (06:33 -0700)]
s/refcountedcache.h/refcountcache.h

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 21 Sep 2011 13:08:21 +0000 (15:08 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoremove obsolete/wrong documentation in the INSTALL file
Johannes Zellner [Wed, 21 Sep 2011 13:08:15 +0000 (15:08 +0200)]
remove obsolete/wrong documentation in the INSTALL file

6 years agoRemove randomText which is not used anywhere
Girish Ramakrishnan [Wed, 21 Sep 2011 13:06:46 +0000 (06:06 -0700)]
Remove randomText which is not used anywhere

6 years agoresourcePath can be a string
Girish Ramakrishnan [Wed, 21 Sep 2011 13:02:25 +0000 (06:02 -0700)]
resourcePath can be a string

6 years agoAdd runtime sg animation vsync toggle
Donald Carr [Wed, 21 Sep 2011 01:29:55 +0000 (01:29 +0000)]
Add runtime sg animation vsync toggle

Drives CPU usage up to 100%

6 years agoFurther tweaking for SG usage
Donald Carr [Tue, 20 Sep 2011 23:34:33 +0000 (23:34 +0000)]
Further tweaking for SG usage

6 years agoGet QMH compiling with Qt 5
Donald Carr [Tue, 20 Sep 2011 22:38:11 +0000 (22:38 +0000)]
Get QMH compiling with Qt 5

6 years agoAdd Qt5 specific build flags
Donald Carr [Tue, 20 Sep 2011 21:52:42 +0000 (21:52 +0000)]
Add Qt5 specific build flags

6 years agoAdd qt5 check to .qmake.cache
Donald Carr [Tue, 20 Sep 2011 21:38:37 +0000 (21:38 +0000)]
Add qt5 check to .qmake.cache

6 years agoImplement wrapAround property for Playlist
Girish Ramakrishnan [Tue, 20 Sep 2011 17:04:05 +0000 (10:04 -0700)]
Implement wrapAround property for Playlist

6 years agoFix my breakage after upgrading to latest json code.
Girish Ramakrishnan [Tue, 20 Sep 2011 16:23:23 +0000 (09:23 -0700)]
Fix my breakage after upgrading to latest json code.

The latest JSON code parses numbers as doubles as qlonglong.
This means that our slot invocation code now has to handle the
conversion to compatible types (for example, slots that take
an int argument).

The correct fix is to make RpcConnection::handleRpcCall more robust.
But a fix that we can live with for now is to just make all our slots
as qlonglong.

Also, add a comment to highlight limitation of our rpc call code.

6 years agoUse setupViewport instead of setViewport.
Girish Ramakrishnan [Tue, 20 Sep 2011 15:32:21 +0000 (08:32 -0700)]
Use setupViewport instead of setViewport.

The safer approach is to use the setupViewport(). The original code
was probably broken anyway because it never called the parent setViewport().

6 years agoFix coding style from 12163f37460ff40fc98fd9dda5bfcfc455ee2ea2.
Girish Ramakrishnan [Tue, 20 Sep 2011 15:20:50 +0000 (08:20 -0700)]
Fix coding style from 12163f37460ff40fc98fd9dda5bfcfc455ee2ea2.

6 years agomoved overview files to qtmediahub
Marcel Schuette [Tue, 20 Sep 2011 15:03:43 +0000 (17:03 +0200)]
moved overview files to qtmediahub

6 years agomoved file to qtmediahub repo
Marcel Schuette [Tue, 20 Sep 2011 14:16:13 +0000 (16:16 +0200)]
moved file to qtmediahub repo

6 years agoforward inputContext requests to rpc
Johannes Zellner [Tue, 20 Sep 2011 10:11:13 +0000 (12:11 +0200)]
forward inputContext requests to rpc

6 years agoif call() is called on rpcconnection, which is in server mode, the call will be sent...
Johannes Zellner [Tue, 20 Sep 2011 10:09:44 +0000 (12:09 +0200)]
if call() is called on rpcconnection, which is in server mode, the call will be sent to all connected clients

6 years agoremove debug outpug
Johannes Zellner [Tue, 20 Sep 2011 10:08:20 +0000 (12:08 +0200)]
remove debug outpug

6 years agointermediate fix for rpc...when json is fixed please revert me
Johannes Zellner [Tue, 20 Sep 2011 09:33:37 +0000 (11:33 +0200)]
intermediate fix for rpc...when json is fixed please revert me

6 years agoIntroduce driven fps counter for Johannes' soul
Donald Carr [Mon, 19 Sep 2011 23:48:20 +0000 (23:48 +0000)]
Introduce driven fps counter for Johannes' soul

6 years agoRevert "change fps counter to tell us the Qt painting truth"
Donald Carr [Mon, 19 Sep 2011 22:36:17 +0000 (22:36 +0000)]
Revert "change fps counter to tell us the Qt painting truth"

This reverts commit ddd5e6ee3fab37ee43f4479f63e251a72ddad498.

Bury-the non-truth

Will make (driveable) rt fps counter as well as current max possible fps

6 years agochange fps counter to tell us the Qt painting truth
Johannes Zellner [Mon, 19 Sep 2011 16:16:36 +0000 (18:16 +0200)]
change fps counter to tell us the Qt painting truth

6 years agoadd initial stub for inputcontext handling
Johannes Zellner [Mon, 19 Sep 2011 15:53:37 +0000 (17:53 +0200)]
add initial stub for inputcontext handling

6 years agoDisplay version from manifest
Girish Ramakrishnan [Sat, 17 Sep 2011 18:12:12 +0000 (11:12 -0700)]
Display version from manifest

6 years agoGet name of skin from the manifest
Girish Ramakrishnan [Sat, 17 Sep 2011 18:09:42 +0000 (11:09 -0700)]
Get name of skin from the manifest

6 years agoUse skin.manifest to detect skins
Girish Ramakrishnan [Sat, 17 Sep 2011 09:25:30 +0000 (02:25 -0700)]
Use skin.manifest to detect skins

6 years agoUpgrade to latest qjsonparser
Girish Ramakrishnan [Sat, 17 Sep 2011 08:48:26 +0000 (01:48 -0700)]
Upgrade to latest qjsonparser

6 years agoUse skin.manifest to display skin meta information
Girish Ramakrishnan [Sat, 17 Sep 2011 08:28:01 +0000 (01:28 -0700)]
Use skin.manifest to display skin meta information

6 years agoReturn QList<QObject *> instead
Girish Ramakrishnan [Fri, 16 Sep 2011 21:45:35 +0000 (14:45 -0700)]
Return QList<QObject *> instead

6 years agoSkinSelector is now qml based.
Girish Ramakrishnan [Fri, 16 Sep 2011 20:34:47 +0000 (13:34 -0700)]
SkinSelector is now qml based.

6 years agoPass the SkinManager to SkinSelector
Girish Ramakrishnan [Fri, 16 Sep 2011 20:18:56 +0000 (13:18 -0700)]
Pass the SkinManager to SkinSelector

6 years agoSkin discovery is now moved into a new class SkinManager
Girish Ramakrishnan [Fri, 16 Sep 2011 19:17:23 +0000 (14:17 -0500)]
Skin discovery is now moved into a new class SkinManager

In the future, this class will also handle skin installation.

6 years agoFix typo
Girish Ramakrishnan [Fri, 16 Sep 2011 18:43:43 +0000 (13:43 -0500)]
Fix typo

6 years agoReplace // with / in qar file paths
Girish Ramakrishnan [Fri, 16 Sep 2011 18:41:24 +0000 (13:41 -0500)]
Replace // with / in qar file paths

6 years agoremove all symbian stuff, as it will never be proper ported to that plaform anyway
Johannes Zellner [Fri, 16 Sep 2011 14:35:11 +0000 (16:35 +0200)]
remove all symbian stuff, as it will never be proper ported to that plaform anyway

6 years ago - default PREFIX is now project root AND /usr/local
Johannes Zellner [Fri, 16 Sep 2011 13:24:45 +0000 (15:24 +0200)]
 - default PREFIX is now project root AND /usr/local
 - 'resources', 'translation', 'imports' and 'plugin' paths are now
   alsow possible in same place where 'skins', 'keymaps' and 'apps' are

6 years agoremove 'hub' folder
Johannes Zellner [Fri, 16 Sep 2011 10:51:09 +0000 (12:51 +0200)]
remove 'hub' folder

6 years agoFix my breakage which pollutes library population
Donald Carr [Thu, 15 Sep 2011 21:51:56 +0000 (21:51 +0000)]
Fix my breakage which pollutes library population

Make parsers thread safe

6 years agoFix Johannes' breakage of keymap loading
Donald Carr [Thu, 15 Sep 2011 21:26:30 +0000 (21:26 +0000)]
Fix Johannes' breakage of keymap loading

6 years agoKill superfluous msg
Donald Carr [Thu, 15 Sep 2011 21:10:56 +0000 (21:10 +0000)]
Kill superfluous msg

6 years agoin-source builds really should be the default since that is what we use 99% of the...
Donald Carr [Thu, 15 Sep 2011 18:39:04 +0000 (18:39 +0000)]
in-source builds really should be the default since that is what we use 99% of the time we run qmake

6 years agoShuffle scripts around to handle the Neb's fookery
Donald Carr [Thu, 15 Sep 2011 18:04:42 +0000 (18:04 +0000)]
Shuffle scripts around to handle the Neb's fookery

6 years agoheavy prefix refactoring!
Johannes Zellner [Thu, 15 Sep 2011 16:29:04 +0000 (18:29 +0200)]
heavy prefix refactoring!
very sorry about this huge commit, but I had a very bad happening with
'rm -rf' just before pushing my branch

Use qmake PREFIX=/path to set the install prefix
As a developer (in-source) you have to use PREFIX=$PWD/hub !! to get the
old behavior, dont hate me for this :-)

For runtime config use '-skins-path' or 'export QMH_SKINS_PATH' to
adjust the lookup. This is enabled for 'skins', 'keymaps' and 'apps'.

6 years agoAdd snes parser for emulation support
Donald Carr [Wed, 14 Sep 2011 19:09:07 +0000 (19:09 +0000)]
Add snes parser for emulation support

Add external process manager to make this actually somewhat usable

6 years agoUnwidgetify QMH in anticipation of testing Scenegraph (again)
Donald Carr [Wed, 14 Sep 2011 00:14:13 +0000 (00:14 +0000)]
Unwidgetify QMH in anticipation of testing Scenegraph (again)

6 years agouse F5-F8 as default for media control
Johannes Zellner [Tue, 13 Sep 2011 14:53:23 +0000 (16:53 +0200)]
use F5-F8 as default for media control

6 years agoif no skin set and default skin is not available, use a the first available skin
Johannes Zellner [Tue, 13 Sep 2011 14:50:14 +0000 (16:50 +0200)]
if no skin set and default skin is not available, use a the first available skin

6 years agoAdd support for qar files
Girish Ramakrishnan [Fri, 9 Sep 2011 02:12:18 +0000 (19:12 -0700)]
Add support for qar files

Uses Adriano's tar file engine with some minor modifications:
  * We drop the tar file's "prefix". All tar files should be packaged to
    have a prefix.
  * Replace // with / so that foo/bar//image.png works inside the skins.

In the very long run:
  * We should mmap the skins instead of the current fopen approach.
    Since the tar files are uncompressed anyway, reading would be very
fast once mmapped.

6 years agoadd hackish support for the remote keyboard
Johannes Zellner [Wed, 7 Sep 2011 09:01:13 +0000 (11:01 +0200)]
add hackish support for the remote keyboard

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 7 Sep 2011 08:57:19 +0000 (10:57 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agoback action should not hijack backspace
Johannes Zellner [Wed, 7 Sep 2011 08:56:54 +0000 (10:56 +0200)]
back action should not hijack backspace

6 years agoGirish: Fix over correction for dotdot item
Donald Carr [Tue, 6 Sep 2011 22:46:14 +0000 (22:46 +0000)]
Girish: Fix over correction for dotdot item

6 years agoRevert "Implement wrapAround property for Playlist"
Girish Ramakrishnan [Tue, 6 Sep 2011 21:24:13 +0000 (14:24 -0700)]
Revert "Implement wrapAround property for Playlist"

This reverts commit db15c5091e5e0c0a7ee49f0ce0ae71251d1f4140.

This breaks the value of currentIndex.

6 years agoAdded duration to QHMPlayer (getting from QMHVideoItemBackend)
Thomas Senyk [Tue, 6 Sep 2011 13:37:29 +0000 (15:37 +0200)]
Added duration to QHMPlayer (getting from QMHVideoItemBackend)

6 years agodont error() on qmake cache creation..breaks build systems
Johannes Zellner [Mon, 5 Sep 2011 09:24:56 +0000 (11:24 +0200)]
dont error() on qmake cache creation..breaks build systems

6 years agoadjust technisat remote
Johannes Zellner [Sat, 3 Sep 2011 09:35:24 +0000 (11:35 +0200)]
adjust technisat remote

6 years agolet particles fade-in/out in overlay mode
Johannes Zellner [Sat, 3 Sep 2011 04:00:47 +0000 (06:00 +0200)]
let particles fade-in/out in overlay mode

6 years agoMake is possible to move the window v0.73
Girish Ramakrishnan [Fri, 2 Sep 2011 23:24:00 +0000 (16:24 -0700)]
Make is possible to move the window

6 years agoAdd playing binding v0.72
Girish Ramakrishnan [Fri, 2 Sep 2011 23:10:02 +0000 (16:10 -0700)]
Add playing binding

6 years agoFix coding style
Girish Ramakrishnan [Fri, 2 Sep 2011 15:52:51 +0000 (08:52 -0700)]
Fix coding style

6 years agoreintroduce no-gst option v0.71
Donald Carr [Thu, 1 Sep 2011 17:58:00 +0000 (17:58 +0000)]
reintroduce no-gst option

6 years agoMake all the slots Q_SCRIPTABLE
Girish Ramakrishnan [Thu, 1 Sep 2011 05:15:02 +0000 (22:15 -0700)]
Make all the slots Q_SCRIPTABLE

6 years agoAdd MediaScanner::availableParserPlugins
Girish Ramakrishnan [Thu, 1 Sep 2011 04:54:26 +0000 (21:54 -0700)]
Add MediaScanner::availableParserPlugins

6 years agoDon't try to play if currentIndex is -1
Girish Ramakrishnan [Thu, 1 Sep 2011 04:22:14 +0000 (21:22 -0700)]
Don't try to play if currentIndex is -1

6 years agoImplement wrapAround property for Playlist
Girish Ramakrishnan [Thu, 1 Sep 2011 04:16:26 +0000 (21:16 -0700)]
Implement wrapAround property for Playlist

6 years agoMake the qmake build feedback more central/rational
Donald Carr [Thu, 1 Sep 2011 01:08:52 +0000 (01:08 +0000)]
Make the qmake build feedback more central/rational

6 years agoUse allow for disabling of pkg-config usage
Donald Carr [Thu, 1 Sep 2011 00:29:17 +0000 (00:29 +0000)]
Use allow for disabling of pkg-config usage

6 years agoEnable explicit override of remote mode for non-remote skins
Donald Carr [Wed, 31 Aug 2011 19:10:52 +0000 (19:10 +0000)]
Enable explicit override of remote mode for non-remote skins

6 years agoRemove Q_SCRIPTABLE from the AbstractMediaPlayer
Girish Ramakrishnan [Wed, 31 Aug 2011 22:00:16 +0000 (15:00 -0700)]
Remove Q_SCRIPTABLE from the AbstractMediaPlayer

Q_SCRIPTABLE needs to be done by the 'exporter' i.e the media playback
service provider.

6 years agoAdd the necessary C++ functions for overlaymode playback
Girish Ramakrishnan [Wed, 31 Aug 2011 21:18:13 +0000 (14:18 -0700)]
Add the necessary C++ functions for overlaymode playback

6 years agoadd process key events for actionmapper
Johannes Zellner [Wed, 31 Aug 2011 21:26:10 +0000 (23:26 +0200)]
add process key events for actionmapper

6 years agoRemove m_repeatingKeys unused variable
Girish Ramakrishnan [Wed, 31 Aug 2011 16:29:19 +0000 (09:29 -0700)]
Remove m_repeatingKeys unused variable

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 31 Aug 2011 01:58:06 +0000 (03:58 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agocursor is now on runtime
Johannes Zellner [Wed, 31 Aug 2011 01:57:42 +0000 (03:57 +0200)]
cursor is now on runtime

6 years agoMake gl format fondling toggleable (opt out)
Donald Carr [Wed, 31 Aug 2011 00:56:37 +0000 (00:56 +0000)]
Make gl format fondling toggleable (opt out)

6 years agoSo long primitive key event squashing
Donald Carr [Tue, 30 Aug 2011 22:06:17 +0000 (22:06 +0000)]
So long primitive key event squashing

This should be directly fixed for path views

6 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Tue, 30 Aug 2011 18:19:19 +0000 (20:19 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

6 years agofix warning
Johannes Zellner [Tue, 30 Aug 2011 18:18:30 +0000 (20:18 +0200)]
fix warning

6 years agofix packaging a bit
Johannes Zellner [Tue, 30 Aug 2011 18:17:47 +0000 (20:17 +0200)]
fix packaging a bit

6 years agoreduce particles in visualisation
Johannes Zellner [Tue, 30 Aug 2011 18:17:16 +0000 (20:17 +0200)]
reduce particles in visualisation

6 years agoAdd copyright headers
Girish Ramakrishnan [Tue, 30 Aug 2011 02:37:27 +0000 (19:37 -0700)]
Add copyright headers

6 years agoAdd bindings for hasVideo and statusChanged abstractmediaplayer
Girish Ramakrishnan [Tue, 30 Aug 2011 01:08:29 +0000 (18:08 -0700)]
Add bindings for hasVideo and statusChanged

6 years agoFix the player
Girish Ramakrishnan [Mon, 29 Aug 2011 23:58:40 +0000 (16:58 -0700)]
Fix the player

6 years agoAdd hasAudio and hasVideo
Girish Ramakrishnan [Mon, 29 Aug 2011 23:58:31 +0000 (16:58 -0700)]
Add hasAudio and hasVideo

6 years agoMake uri a property
Girish Ramakrishnan [Mon, 29 Aug 2011 22:37:25 +0000 (15:37 -0700)]
Make uri a property

6 years agoAdd status property to AbstractMediaPlayer
Girish Ramakrishnan [Mon, 29 Aug 2011 22:16:59 +0000 (15:16 -0700)]
Add status property to AbstractMediaPlayer

6 years agoExport AbstractMediaPlayer
Girish Ramakrishnan [Mon, 29 Aug 2011 21:53:33 +0000 (14:53 -0700)]
Export AbstractMediaPlayer

6 years agos/QMH_HELPER_DBUS_SERVICENAME/QMH_PLAYER_DBUS_SERVICENAME
Girish Ramakrishnan [Mon, 29 Aug 2011 21:47:19 +0000 (14:47 -0700)]
s/QMH_HELPER_DBUS_SERVICENAME/QMH_PLAYER_DBUS_SERVICENAME

6 years agoMove mediaplayer out of src since it's a standalone binary not built as part of core
Girish Ramakrishnan [Mon, 29 Aug 2011 21:43:44 +0000 (14:43 -0700)]
Move mediaplayer out of src since it's a standalone binary not built as part of core

6 years agoPrint a qDebug saying what player is actually running
Girish Ramakrishnan [Mon, 29 Aug 2011 20:50:11 +0000 (13:50 -0700)]
Print a qDebug saying what player is actually running

6 years agos/backend/player.
Girish Ramakrishnan [Mon, 29 Aug 2011 20:36:46 +0000 (13:36 -0700)]
s/backend/player.

6 years agoRename MediaBackendInterface to AbstractMediaPlayer.
Girish Ramakrishnan [Mon, 29 Aug 2011 19:42:04 +0000 (12:42 -0700)]
Rename  MediaBackendInterface to AbstractMediaPlayer.

We compile in the dbus player by default as long as dbus is present.

6 years agoDon't set raster when user has explicitly set a graphics system
Donald Carr [Mon, 29 Aug 2011 21:40:41 +0000 (21:40 +0000)]
Don't set raster when user has explicitly set a graphics system

6 years agogl-viewport should be explicitly configurable at runtime
Donald Carr [Mon, 29 Aug 2011 20:50:41 +0000 (20:50 +0000)]
gl-viewport should be explicitly configurable at runtime

Might be conflicting with Meego GS

6 years agoMove the dejavu font into the hub folder
Donald Carr [Mon, 29 Aug 2011 18:39:40 +0000 (18:39 +0000)]
Move the dejavu font into the hub folder

6 years agouse QtQuick 1.0 for visualization
Johannes Zellner [Sun, 28 Aug 2011 21:40:12 +0000 (23:40 +0200)]
use QtQuick 1.0 for visualization

6 years agoDon't create the DBus backend when overlay mode is false
Girish Ramakrishnan [Sun, 28 Aug 2011 00:15:45 +0000 (17:15 -0700)]
Don't create the DBus backend when overlay mode is false