qtmediahub:zhxts-qtmediahub-core.git
7 years agoSimplify they keyboard shortcuts since they are eaten by the WM on most desktops
Girish Ramakrishnan [Sat, 27 Aug 2011 21:05:01 +0000 (14:05 -0700)]
Simplify they keyboard shortcuts since they are eaten by the WM on most desktops

7 years agoFix compile
Girish Ramakrishnan [Sat, 27 Aug 2011 21:03:51 +0000 (14:03 -0700)]
Fix compile

7 years agoActionMapper::takeAction should just look up actionToQtKey event. It has nothing...
Girish Ramakrishnan [Sat, 27 Aug 2011 20:48:50 +0000 (13:48 -0700)]
ActionMapper::takeAction should just look up actionToQtKey event. It has nothing to do with the keyboard map

7 years agom_internalActionMap can be static
Girish Ramakrishnan [Sat, 27 Aug 2011 20:36:31 +0000 (13:36 -0700)]
m_internalActionMap can be static

7 years agoPrefix member variables with m_
Girish Ramakrishnan [Sat, 27 Aug 2011 20:31:43 +0000 (13:31 -0700)]
Prefix member variables with m_

7 years agoAdd LibraryInfo::keyboardMapPath
Girish Ramakrishnan [Sat, 27 Aug 2011 20:16:31 +0000 (13:16 -0700)]
Add LibraryInfo::keyboardMapPath

7 years agoRename m_parent member variable and make parent the last constructor argument
Girish Ramakrishnan [Sat, 27 Aug 2011 20:06:16 +0000 (13:06 -0700)]
Rename m_parent member variable and make parent the last constructor argument

7 years agoI am a const nazi
Girish Ramakrishnan [Sat, 27 Aug 2011 19:58:58 +0000 (12:58 -0700)]
I am a const nazi

7 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Fri, 26 Aug 2011 23:15:14 +0000 (01:15 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

7 years agofix rpath
Johannes Zellner [Fri, 26 Aug 2011 23:14:51 +0000 (01:14 +0200)]
fix rpath

7 years agoinsert project url to debian packaging
Johannes Zellner [Fri, 26 Aug 2011 23:14:35 +0000 (01:14 +0200)]
insert project url to debian packaging

7 years agoGuard GL usage in view
Donald Carr [Fri, 26 Aug 2011 22:48:22 +0000 (22:48 +0000)]
Guard GL usage in view

7 years agoemit layoutChanged when dotDotPosition changes v0.7
Girish Ramakrishnan [Fri, 26 Aug 2011 22:06:16 +0000 (15:06 -0700)]
emit layoutChanged when dotDotPosition changes

7 years agoAdd MediaModel::dotDotPosition property
Girish Ramakrishnan [Fri, 26 Aug 2011 21:13:29 +0000 (14:13 -0700)]
Add MediaModel::dotDotPosition property

7 years agoMake compile time options more toggleable
Donald Carr [Fri, 26 Aug 2011 21:46:01 +0000 (21:46 +0000)]
Make compile time options more toggleable

easiest thing it to toggle them by adding them to .qmake.cache

7 years agoThis is not a Nokia product
Donald Carr [Fri, 26 Aug 2011 18:23:01 +0000 (18:23 +0000)]
This is not a Nokia product

7 years agoDon't create painter on GLWidget
Donald Carr [Fri, 26 Aug 2011 00:54:32 +0000 (00:54 +0000)]
Don't create painter on GLWidget

7 years agoRestrict transparent fills to overlay mode
Donald Carr [Fri, 26 Aug 2011 00:22:58 +0000 (00:22 +0000)]
Restrict transparent fills to overlay mode

Girish made me do it

7 years agoFill with transparent on every frame
Donald Carr [Fri, 26 Aug 2011 00:15:42 +0000 (00:15 +0000)]
Fill with transparent on every frame

7 years agom_fieldToRole is an old variable that should not be used.
Girish Ramakrishnan [Thu, 25 Aug 2011 22:59:00 +0000 (15:59 -0700)]
m_fieldToRole is an old variable that should not be used.

7 years agoClear the cursor when the structure is changed
Girish Ramakrishnan [Thu, 25 Aug 2011 22:43:51 +0000 (15:43 -0700)]
Clear the cursor when the structure is changed

7 years agofixes for .pro files for harmattan
Johannes Zellner [Thu, 25 Aug 2011 17:58:56 +0000 (19:58 +0200)]
fixes for .pro files for harmattan

7 years agoadd harmattan packaging files
Johannes Zellner [Thu, 25 Aug 2011 17:57:44 +0000 (19:57 +0200)]
add harmattan packaging files

7 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Thu, 25 Aug 2011 01:08:38 +0000 (03:08 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

7 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

7 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)

7 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

7 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

7 years agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 24 Aug 2011 18:35:31 +0000 (20:35 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

7 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

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

7 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)

7 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

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

7 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)

7 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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Sun, 21 Aug 2011 15:13:21 +0000 (17:13 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Thu, 18 Aug 2011 18:36:22 +0000 (20:36 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Wed, 17 Aug 2011 09:13:33 +0000 (11:13 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Mon, 8 Aug 2011 11:26:42 +0000 (13:26 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Sun, 7 Aug 2011 13:23:41 +0000 (15:23 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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 agoMerge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core
Johannes Zellner [Fri, 5 Aug 2011 06:52:38 +0000 (08:52 +0200)]
Merge branch 'master' of gitorious.org:qtmediahub/qtmediahub-core

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