qtmediahub:rogerzhangs-qtmediahub-core.git
6 years agoSet TranslucentBackground only in overlayMode v0.6
Girish Ramakrishnan [Thu, 25 Aug 2011 00:01:09 +0000 (17:01 -0700)]
Set TranslucentBackground only in overlayMode

6 years agoImplement auto-forward, auto-backward in the media model
Girish Ramakrishnan [Wed, 24 Aug 2011 23:47:50 +0000 (16:47 -0700)]
Implement auto-forward, auto-backward in the media model

When navigating videos, the season field is "null" for movies. This
means that when having a structure such as "serial|season|title", the
user will be starting at a view that has a single empty item. To avoid
this, we auto enter the season item.

Yes, this is an ugly quick hack for 0.6 release.

071fea9ea7f9e0c3fa162b1375af53af82d2635c was pushed by mistake (instead
of this commit)

6 years agoClean up window attributes
Donald Carr [Wed, 24 Aug 2011 23:42:08 +0000 (23:42 +0000)]
Clean up window attributes

Fix Girish's dodgy parenting

6 years agoAdd auto-forward backward in MediaModel
Girish Ramakrishnan [Wed, 24 Aug 2011 18:36:38 +0000 (00:06 +0530)]
Add auto-forward backward in MediaModel

6 years agoAdd show and season to video table
Girish Ramakrishnan [Wed, 24 Aug 2011 17:00:42 +0000 (22:30 +0530)]
Add show and season to video table

6 years agoAdd searchPath argument to updateMediaInfos
Girish Ramakrishnan [Wed, 24 Aug 2011 15:50:37 +0000 (21:20 +0530)]
Add searchPath argument to updateMediaInfos

6 years agoConnect the quitAction to the close slot so that WA_DeleteOnClose would work as expec...
Girish Ramakrishnan [Wed, 24 Aug 2011 15:01:34 +0000 (20:31 +0530)]
Connect the quitAction to the close slot so that WA_DeleteOnClose would work as expected (though we don't use it now)

6 years agoAdd support for specifying additional video formats on the command line
Donald Carr [Tue, 23 Aug 2011 21:35:32 +0000 (21:35 +0000)]
Add support for specifying additional video formats on the command line

6 years agoImprove default options
Donald Carr [Mon, 22 Aug 2011 20:29:23 +0000 (20:29 +0000)]
Improve default options

6 years agoShine through is an attribute of (main)window
Donald Carr [Mon, 22 Aug 2011 07:36:41 +0000 (07:36 +0000)]
Shine through is an attribute of (main)window

overlay mode more informative

transparent mode should be default in optimizeWidgetAttributes (when option
is passed)

6 years agoMake headless an explicit option not heuristic driven
Donald Carr [Sun, 21 Aug 2011 20:59:32 +0000 (20:59 +0000)]
Make headless an explicit option not heuristic driven

DISPLAY not export on embedded targets!

7 years agomake compile for NO_DBUS
qt [Fri, 19 Aug 2011 13:09:29 +0000 (15:09 +0200)]
make compile for NO_DBUS

7 years agoremoved old path from launcher script
Marcel Schuette [Thu, 18 Aug 2011 17:35:55 +0000 (19:35 +0200)]
removed old path from launcher script

7 years agoCreate initial QML backend abstraction item
Donald Carr [Tue, 16 Aug 2011 00:59:26 +0000 (00:59 +0000)]
Create initial QML backend abstraction item

7 years agoMove VideoItem to new Backend abstraction
Donald Carr [Mon, 15 Aug 2011 21:14:02 +0000 (21:14 +0000)]
Move VideoItem to new Backend abstraction

7 years agoMoving towards unified media api
Donald Carr [Thu, 11 Aug 2011 18:01:03 +0000 (18:01 +0000)]
Moving towards unified media api

7 years agoPrevent people from wasting their time
Donald Carr [Wed, 10 Aug 2011 21:53:57 +0000 (21:53 +0000)]
Prevent people from wasting their time

Spurious compiler warnings FTW

7 years agoCode changes prompted by Girish's review
Donald Carr [Wed, 10 Aug 2011 21:32:26 +0000 (21:32 +0000)]
Code changes prompted by Girish's review

7 years agoCorrections following Girish's code/API review
Donald Carr [Wed, 10 Aug 2011 21:17:42 +0000 (21:17 +0000)]
Corrections following Girish's code/API review

7 years agoSeparate metadata from media playback
Donald Carr [Tue, 9 Aug 2011 00:10:25 +0000 (00:10 +0000)]
Separate metadata from media playback

7 years agoRemove mediaType from playlist entirely
Girish Ramakrishnan [Mon, 8 Aug 2011 10:19:50 +0000 (15:49 +0530)]
Remove mediaType from playlist entirely

Playlist can now contains media of any time. Currently, ordering
information is not correctly preserved.

7 years agoCreate model role mapping on startup
Girish Ramakrishnan [Mon, 8 Aug 2011 09:58:59 +0000 (15:28 +0530)]
Create model role mapping on startup

We used to create name->role mapping on the fly. This was not a problem
because mediamodel was tied to a specific database table. However, for
things like a playlist that can possibly contain items of different
types, this dynamic name->role mapping does not work since it assumed
that only one 'table' was active at a time.

Fix is to create the name->role mapping as the media parsers get registered.

7 years agoClean up xine reference backend a bit
Donald Carr [Mon, 8 Aug 2011 05:15:55 +0000 (05:15 +0000)]
Clean up xine reference backend a bit

Add volume to backend API

7 years agoAdd xine reference backend
Donald Carr [Mon, 8 Aug 2011 03:13:58 +0000 (03:13 +0000)]
Add xine reference backend

7 years agoInterface should be abstract
Donald Carr [Mon, 8 Aug 2011 02:02:33 +0000 (02:02 +0000)]
Interface should be abstract

Helper not built by default

Interface is now an interface destr bttr be virtual

7 years agoIntroduce first draft of dbus helper
Donald Carr [Sun, 7 Aug 2011 22:10:56 +0000 (22:10 +0000)]
Introduce first draft of dbus helper

These backends will clearly need to be plugins in order to be useful? Wait
on Girish's input in order to avoid him murdering me

7 years agoCertainly not meant to be there
Donald Carr [Mon, 8 Aug 2011 01:01:59 +0000 (01:01 +0000)]
Certainly not meant to be there

7 years agoclang is not happy with bools getting returned as pointers
Donald Carr [Sun, 7 Aug 2011 21:34:44 +0000 (21:34 +0000)]
clang is not happy with bools getting returned as pointers

Sure it probably amounts to the same thing
v0.5 might be a good tag to avoid

7 years agoSeeing crash on Mac and Linux due to DeleteOnClose attribute clearly
Donald Carr [Sun, 7 Aug 2011 19:18:56 +0000 (19:18 +0000)]
Seeing crash on Mac and Linux due to DeleteOnClose attribute clearly
failing. 4.8 issue?

Functionally revert 5e31d89441705a4324c9b47a9a38d76760121d79

in favour of consistent simple old school memory management, as done with
mediaServer pointer

7 years agoAdd support for persistent playlists v0.5
Girish Ramakrishnan [Sun, 7 Aug 2011 16:33:35 +0000 (22:03 +0530)]
Add support for persistent playlists

7 years agoAdd MediaTypRole
Girish Ramakrishnan [Sun, 7 Aug 2011 16:12:40 +0000 (21:42 +0530)]
Add MediaTypRole

7 years agoReturn the query string and bindings separately
Girish Ramakrishnan [Sun, 7 Aug 2011 15:10:16 +0000 (20:40 +0530)]
Return the query string and bindings separately

QSqlQuery is bound to a database. DBReader was thus probably executing
the query in the wrong connection.

7 years agoRemove unused function
Girish Ramakrishnan [Sun, 7 Aug 2011 14:54:20 +0000 (20:24 +0530)]
Remove unused function

7 years agoAdd Qt::DisplayRole
Girish Ramakrishnan [Sun, 7 Aug 2011 14:53:21 +0000 (20:23 +0530)]
Add Qt::DisplayRole

7 years agoImplement recursive addition in Playlist
Girish Ramakrishnan [Sun, 7 Aug 2011 14:27:17 +0000 (19:57 +0530)]
Implement recursive addition in Playlist

7 years agoAdd MediaModel::leafNodesQuery to help Playlist recursively find child nodes of a row
Girish Ramakrishnan [Sun, 7 Aug 2011 14:08:37 +0000 (19:38 +0530)]
Add MediaModel::leafNodesQuery to help Playlist recursively find child nodes of a row

7 years agobuildQuery now takes cursor as argument
Girish Ramakrishnan [Sun, 7 Aug 2011 13:49:41 +0000 (19:19 +0530)]
buildQuery now takes cursor as argument

7 years agoQMHPlayer changes
Girish Ramakrishnan [Sat, 6 Aug 2011 20:57:41 +0000 (02:27 +0530)]
QMHPlayer changes

7 years agoRework playlist API
Girish Ramakrishnan [Sat, 6 Aug 2011 20:01:39 +0000 (01:31 +0530)]
Rework playlist API

7 years agoAdd MediaModel::getRoleNameMapping
Girish Ramakrishnan [Sat, 6 Aug 2011 20:56:26 +0000 (02:26 +0530)]
Add MediaModel::getRoleNameMapping

7 years agos/QHash/QMap
Girish Ramakrishnan [Sat, 6 Aug 2011 19:55:29 +0000 (01:25 +0530)]
s/QHash/QMap

All for the sake of itemData.

7 years agoRevert "Destroy MainWindow correctly"
Girish Ramakrishnan [Sat, 6 Aug 2011 18:52:05 +0000 (00:22 +0530)]
Revert "Destroy MainWindow correctly"

This reverts commit bd007d42566c5befb249d6f94711b55fc0ef8860.

MainWindow already has DeleteOnClose attribute set and the double
deletion cause QtMediaHub to crash on exit.

7 years agoDestroy MainWindow correctly
Donald Carr [Fri, 5 Aug 2011 19:36:06 +0000 (19:36 +0000)]
Destroy MainWindow correctly

7 years agoFinish what I started
Donald Carr [Fri, 5 Aug 2011 19:31:28 +0000 (19:31 +0000)]
Finish what I started

Extricate tailing networksession related ifdef

7 years agos/itemdata/modelIndex
Girish Ramakrishnan [Fri, 5 Aug 2011 16:39:45 +0000 (22:09 +0530)]
s/itemdata/modelIndex

7 years agoRemove PlaylistRoles and make them as functions instead
Girish Ramakrishnan [Fri, 5 Aug 2011 16:25:05 +0000 (21:55 +0530)]
Remove PlaylistRoles and make them as functions instead

7 years agos/PlayModeRoles/PlayMode
Girish Ramakrishnan [Fri, 5 Aug 2011 16:18:25 +0000 (21:48 +0530)]
s/PlayModeRoles/PlayMode

7 years agoImplement File::findFiles
Girish Ramakrishnan [Fri, 5 Aug 2011 12:24:01 +0000 (17:54 +0530)]
Implement File::findFiles

7 years agoMove particles right into the components folder.
Girish Ramakrishnan [Fri, 5 Aug 2011 12:22:48 +0000 (17:52 +0530)]
Move particles right into the components folder.

7 years agoRemove evil Skin::resourcePath
Girish Ramakrishnan [Fri, 5 Aug 2011 12:11:13 +0000 (17:41 +0530)]
Remove evil Skin::resourcePath

7 years agowe have a updated license header now
Johannes Zellner [Fri, 5 Aug 2011 10:11:43 +0000 (12:11 +0200)]
we have a updated license header now

7 years agoMove addImportPath to the view. Also remove the frontexd property
Girish Ramakrishnan [Fri, 5 Aug 2011 09:52:11 +0000 (15:22 +0530)]
Move addImportPath to the view. Also remove the frontexd property

7 years agoRename Frontend to SkinRuntime
Girish Ramakrishnan [Fri, 5 Aug 2011 08:34:49 +0000 (14:04 +0530)]
Rename Frontend to SkinRuntime

7 years agoRemove openUrlExternally. There's no real use case
Girish Ramakrishnan [Fri, 5 Aug 2011 08:17:11 +0000 (13:47 +0530)]
Remove openUrlExternally. There's no real use case

Only Confluence uses it for some corner case.

7 years agoRename targetsModel to remoteSessionsModel
Girish Ramakrishnan [Fri, 5 Aug 2011 07:58:39 +0000 (13:28 +0530)]
Rename targetsModel to remoteSessionsModel

7 years agoMove MainWindow to main app. finishing_touches
Girish Ramakrishnan [Fri, 5 Aug 2011 07:04:10 +0000 (12:34 +0530)]
Move MainWindow to main app.

7 years agoMake Frontend::skins return a hash
Girish Ramakrishnan [Fri, 5 Aug 2011 06:11:52 +0000 (11:41 +0530)]
Make Frontend::skins return a hash

7 years agoMove systray to the mainwindow
Girish Ramakrishnan [Fri, 5 Aug 2011 06:05:05 +0000 (11:35 +0530)]
Move systray to the mainwindow

7 years agoEnable anti-aliasing by default (revisit later)
Donald Carr [Fri, 5 Aug 2011 04:47:55 +0000 (04:47 +0000)]
Enable anti-aliasing by default (revisit later)

This should not be necessary (qmlviewer does not use it)

7 years agoFix Girish related path breakage
Donald Carr [Fri, 5 Aug 2011 04:31:11 +0000 (04:31 +0000)]
Fix Girish related path breakage

7 years agoidleness tracking is now in mainwindow
Girish Ramakrishnan [Fri, 5 Aug 2011 04:23:02 +0000 (09:53 +0530)]
idleness tracking is now in mainwindow

7 years agoRemove resetUI handling from Frontend.
Girish Ramakrishnan [Fri, 5 Aug 2011 04:17:50 +0000 (09:47 +0530)]
Remove resetUI handling from Frontend.

Since window is now exposed, the skin can connect to resetUI directly.

7 years agoMove all resizing logic to the MainWindow
Girish Ramakrishnan [Fri, 5 Aug 2011 04:11:24 +0000 (09:41 +0530)]
Move all resizing logic to the MainWindow

7 years agoThe objectName should be by the rpc connection holder
Girish Ramakrishnan [Fri, 5 Aug 2011 03:32:03 +0000 (09:02 +0530)]
The objectName should be by the rpc connection holder

7 years agoRename connection to rpcConnection
Girish Ramakrishnan [Fri, 5 Aug 2011 03:29:41 +0000 (08:59 +0530)]
Rename connection to rpcConnection

7 years agoMove resourcePath to Skin
Girish Ramakrishnan [Fri, 5 Aug 2011 03:15:07 +0000 (08:45 +0530)]
Move resourcePath to Skin

7 years agoFix build on mac
Donald Carr [Fri, 5 Aug 2011 04:07:45 +0000 (04:07 +0000)]
Fix build on mac

Remove sql from main

Use qtsingleapplication everywhere

7 years agoFix paths again for those of us using the static browser
Donald Carr [Thu, 4 Aug 2011 07:51:29 +0000 (07:51 +0000)]
Fix paths again for those of us using the static browser

7 years agoRemove unused Frontend::transforms
Girish Ramakrishnan [Fri, 5 Aug 2011 01:45:35 +0000 (07:15 +0530)]
Remove unused Frontend::transforms

7 years agoRegister file as a context property
Girish Ramakrishnan [Fri, 5 Aug 2011 01:43:46 +0000 (07:13 +0530)]
Register file as a context property

7 years agomove findApplication to File (more like move it out of Fronend)
Girish Ramakrishnan [Fri, 5 Aug 2011 01:35:42 +0000 (07:05 +0530)]
move findApplication to File (more like move it out of Fronend)

7 years agoGeneralize path to allow registration of multiple objects
Donald Carr [Fri, 5 Aug 2011 00:20:54 +0000 (00:20 +0000)]
Generalize path to allow registration of multiple objects

7 years agoExpose entirety of rpc media helper via dbus
Donald Carr [Thu, 4 Aug 2011 23:13:10 +0000 (23:13 +0000)]
Expose entirety of rpc media helper via dbus

7 years agoRemove network session management guards
Donald Carr [Thu, 4 Aug 2011 21:56:08 +0000 (21:56 +0000)]
Remove network session management guards

Supported on all platforms, required by most

Fix build

7 years agoFix mistaken doubling up of mocables for mediaserver
Donald Carr [Thu, 4 Aug 2011 21:03:59 +0000 (21:03 +0000)]
Fix mistaken doubling up of mocables for mediaserver

7 years agoRemove fps code from frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 19:09:01 +0000 (00:39 +0530)]
Remove fps code from frontend

7 years agoMove focusItem into the view and register the view in runtime
Girish Ramakrishnan [Thu, 4 Aug 2011 19:03:02 +0000 (00:33 +0530)]
Move focusItem into the view and register the view in runtime

7 years agoRegister MainWindow as 'window' in runtime and move idle tracking there
Girish Ramakrishnan [Thu, 4 Aug 2011 18:55:46 +0000 (00:25 +0530)]
Register MainWindow as 'window' in runtime and move idle tracking there

7 years agoMove SkinSelector to a new file
Girish Ramakrishnan [Thu, 4 Aug 2011 18:39:20 +0000 (00:09 +0530)]
Move SkinSelector to a new file

7 years agoRemove QML dependancy in MediaServer.
Girish Ramakrishnan [Thu, 4 Aug 2011 18:27:03 +0000 (23:57 +0530)]
Remove QML dependancy in MediaServer.

7 years agoBackend is dead, long live the backend.
Girish Ramakrishnan [Thu, 4 Aug 2011 18:20:18 +0000 (23:50 +0530)]
Backend is dead, long live the backend.

It's MediaServer now.

7 years agoMove resourcePath to frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 18:11:50 +0000 (23:41 +0530)]
Move resourcePath to frontend

7 years agoMove openUrlExternally to backend
Girish Ramakrishnan [Thu, 4 Aug 2011 18:04:32 +0000 (23:34 +0530)]
Move openUrlExternally to backend

7 years agoRemove primarySession from Backend
Girish Ramakrishnan [Thu, 4 Aug 2011 18:02:31 +0000 (23:32 +0530)]
Remove primarySession from Backend

7 years agoMake Frontend::mainWindow create the mainwindow on demand
Girish Ramakrishnan [Thu, 4 Aug 2011 17:59:47 +0000 (23:29 +0530)]
Make Frontend::mainWindow create the mainwindow on demand

7 years agoAdd Skin::type()
Girish Ramakrishnan [Thu, 4 Aug 2011 17:51:30 +0000 (23:21 +0530)]
Add Skin::type()

7 years agoAdd remoteControlMode support to Frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 17:43:44 +0000 (23:13 +0530)]
Add remoteControlMode support to Frontend

7 years agoAdd Frontend::setSkin(Skin *)
Girish Ramakrishnan [Thu, 4 Aug 2011 17:18:01 +0000 (22:48 +0530)]
Add Frontend::setSkin(Skin *)

7 years agoRename variable to g_networkSession. Not compile tested
Girish Ramakrishnan [Thu, 4 Aug 2011 16:06:30 +0000 (21:36 +0530)]
Rename variable to g_networkSession. Not compile tested

7 years agoOfficially drop Windows support
Girish Ramakrishnan [Thu, 4 Aug 2011 16:05:15 +0000 (21:35 +0530)]
Officially drop Windows support

7 years agoremoteControl is a feature of the frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 15:33:38 +0000 (21:03 +0530)]
remoteControl is a feature of the frontend

7 years agoRemove superfluous headers
Girish Ramakrishnan [Thu, 4 Aug 2011 15:22:26 +0000 (20:52 +0530)]
Remove superfluous headers

7 years agoMove findApplications to frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 15:11:36 +0000 (20:41 +0530)]
Move findApplications to frontend

7 years agoRemove this whole language code, it's just broken completely
Girish Ramakrishnan [Thu, 4 Aug 2011 15:08:08 +0000 (20:38 +0530)]
Remove this whole language code, it's just broken completely

7 years agoMerge branch 'refactor_backend'
Girish Ramakrishnan [Thu, 4 Aug 2011 15:03:03 +0000 (20:33 +0530)]
Merge branch 'refactor_backend'

7 years agoFix skin loading
Girish Ramakrishnan [Thu, 4 Aug 2011 15:01:30 +0000 (20:31 +0530)]
Fix skin loading

7 years agoDelete the old central widget
Girish Ramakrishnan [Thu, 4 Aug 2011 14:52:26 +0000 (20:22 +0530)]
Delete the old central widget

7 years agoMove Network setup to main
Girish Ramakrishnan [Thu, 4 Aug 2011 14:25:44 +0000 (19:55 +0530)]
Move Network setup to main

Not compile tested on S60 or Maemo :-)

7 years agopluginTranslators is never used
Girish Ramakrishnan [Thu, 4 Aug 2011 14:21:53 +0000 (19:51 +0530)]
pluginTranslators is never used

7 years agoMove the GL code to the Frontend
Girish Ramakrishnan [Thu, 4 Aug 2011 14:19:45 +0000 (19:49 +0530)]
Move the GL code to the Frontend