meego-garage:garage-client-services.git
7 years agoChange the newRepoDownloaded signal.
Jackie Wu [Fri, 30 Apr 2010 16:34:56 +0000 (00:34 +0800)]
Change the newRepoDownloaded signal.

7 years agoChange the default link of xml.
Jackie Wu [Fri, 30 Apr 2010 15:26:39 +0000 (23:26 +0800)]
Change the default link of xml.

7 years agoAdd QtMobility in dependency in the rpm spec file.
Jackie Wu [Fri, 30 Apr 2010 14:21:33 +0000 (22:21 +0800)]
Add QtMobility in dependency in the rpm spec file.

7 years agoAdd multiple xml and repos support. Define catalog.
Jackie Wu [Fri, 30 Apr 2010 14:16:36 +0000 (22:16 +0800)]
Add multiple xml and repos support. Define catalog.
Change the format of config.ini and add sample config.ini for reference.
Add garagesetting class to process config.ini.
Add fallback function to use local cache xml when download failed.
Remove the test folder and files.

7 years agoMerge branch 'master' of ssh://git@gitorious.org/meego-garage/garage-client-services
Jackie Wu [Fri, 30 Apr 2010 07:03:00 +0000 (15:03 +0800)]
Merge branch 'master' of ssh://git@gitorious.org/meego-garage/garage-client-services

Conflicts:
src/applicationmanager.cpp

7 years agoEnablded HAVE_NO_PACKAGEKIT.
Jackie Wu [Fri, 30 Apr 2010 02:34:28 +0000 (10:34 +0800)]
Enablded HAVE_NO_PACKAGEKIT.

7 years agoOn netbook was not needed to specify to link qith QtBearer library, it was done autom...
Mateu Batle [Thu, 29 Apr 2010 23:05:35 +0000 (18:05 -0500)]
On netbook was not needed to specify to link qith QtBearer library, it was done automatically with the configuration provided for qt mobility, but it fails in other systems ...

7 years agoAdded qtmobility bearer to check for network connectivity
Mateu Batle [Fri, 30 Apr 2010 03:56:59 +0000 (22:56 -0500)]
Added qtmobility bearer to check for network connectivity
ApplicationManager listens for signals and sends signal when online state is changed
ApplicationManager allows to remove and resolve, but not update and install when not online
Improved debug output

7 years agoPut the final url of garage xml file. 0.0.1-20100429-pre-integration
Jackie Wu [Thu, 29 Apr 2010 01:09:37 +0000 (09:09 +0800)]
Put the final url of garage xml file.

7 years agoFixed update. Updates are notified with 2 pacakge resolved, the one installed, and...
Mateu Batle [Wed, 28 Apr 2010 22:18:21 +0000 (17:18 -0500)]
Fixed update. Updates are notified with 2 pacakge resolved, the one installed, and one not installed
Added dump of package information
Started to add some interface in application for keeping installed and repo versions, not yet implemented

7 years agoDo auto resolve when error happens
Mateu Batle [Wed, 28 Apr 2010 18:16:27 +0000 (13:16 -0500)]
Do auto resolve when error happens
Removed unused function

7 years agoFixed a few mappings of package kit states to meego garage states
Mateu Batle [Wed, 28 Apr 2010 15:37:04 +0000 (10:37 -0500)]
Fixed a few mappings of package kit states to meego garage states
Resolve Error msg changed to just Error

7 years agoAdded more debug information to track better package kit
Mateu Batle [Wed, 28 Apr 2010 14:34:23 +0000 (09:34 -0500)]
Added more debug information to track better package kit

7 years agoFixed wrong merging
Mateu Batle [Wed, 28 Apr 2010 12:04:22 +0000 (07:04 -0500)]
Fixed wrong merging

7 years agoAdded support for private actions (internal actions like resolve) in ApplicationManager
Mateu Batle [Wed, 28 Apr 2010 11:41:28 +0000 (06:41 -0500)]
Added support for private actions (internal actions like resolve) in ApplicationManager
Cancel can cancel normal actions and private actions too depending on parameter
Fixed bug in percentage
Added more messages to help debugging
Fixed bug parsing the DOM elements (avoids duplicated items in XML status file)
Disabled old code in category to update the status info when category is requested

7 years agoSort application by name by default.
Jackie Wu [Wed, 28 Apr 2010 09:40:04 +0000 (17:40 +0800)]
Sort application by name by default.

7 years agoForce to resolve when app has no really status.
Jackie Wu [Wed, 28 Apr 2010 07:35:39 +0000 (15:35 +0800)]
Force to resolve when app has no really status.

7 years agoAdd HAVE_NO_PACKAGEKIT for better UI dev.
Jackie Wu [Wed, 28 Apr 2010 05:51:18 +0000 (13:51 +0800)]
Add HAVE_NO_PACKAGEKIT for better UI dev.

7 years agoFixed bug when writing xml file
Mateu Batle [Tue, 27 Apr 2010 08:39:16 +0000 (03:39 -0500)]
Fixed bug when writing xml file

7 years agoAdded
Mateu Batle [Tue, 27 Apr 2010 08:23:17 +0000 (03:23 -0500)]
Added
Added management of application status storage handling to ApplicationManager
Added update time to status in Application

7 years agoRollback the previous checkin. 0.0.1-build1
Jackie Wu [Mon, 26 Apr 2010 06:23:06 +0000 (14:23 +0800)]
Rollback the previous checkin.

7 years agoUpdate to 0.0.2
Jackie Wu [Mon, 26 Apr 2010 06:20:40 +0000 (14:20 +0800)]
Update to 0.0.2

7 years agoComment some default settings in config.ini.
Jackie Wu [Mon, 26 Apr 2010 03:27:01 +0000 (11:27 +0800)]
Comment some default settings in config.ini.

7 years agoSupport offline browsering mode and fallback to offline when network lost.
Jackie Wu [Sat, 24 Apr 2010 03:43:01 +0000 (11:43 +0800)]
Support offline browsering mode and fallback to offline when network lost.
Use static xml file.

7 years agoMerge branch 'master' of ssh://git@gitorious.org/meego-garage/garage-client-services
Jackie Wu [Sat, 24 Apr 2010 02:17:35 +0000 (10:17 +0800)]
Merge branch 'master' of ssh://git@gitorious.org/meego-garage/garage-client-services

Conflicts:
src/catalog.cpp

7 years agoAdd applicationListReady in catalog for all apps.
wwu5 [Sat, 24 Apr 2010 02:14:14 +0000 (10:14 +0800)]
Add applicationListReady in catalog for all apps.

7 years agoChanged Qeued to X message to X ... (was too large)
Mateu Batle [Sat, 24 Apr 2010 00:43:34 +0000 (19:43 -0500)]
Changed Qeued to X message to X ... (was too large)
Percentage shown is for all operations
Fixed bug in remaining time
Added messages and more status
Added more debug info
Fixed bug in mapActionToQueuedStatus

7 years agoFilterAppsToResolve needs to be used from Category (friend class now)
Mateu Batle [Fri, 23 Apr 2010 20:27:15 +0000 (15:27 -0500)]
FilterAppsToResolve needs to be used from Category (friend class now)

7 years agoMerge branch 'master' of gitorious.org:meego-garage/garage-client-services
Mateu Batle [Fri, 23 Apr 2010 20:26:40 +0000 (15:26 -0500)]
Merge branch 'master' of gitorious.org:meego-garage/garage-client-services

Conflicts:
src/src.pro

7 years agoAdded auto resolving when a category is queried
Mateu Batle [Fri, 23 Apr 2010 20:20:18 +0000 (15:20 -0500)]
Added auto resolving when a category is queried
Added disabled support to setHints in the packagekit / backend

7 years agoWorkaround to some issues with packagekit
Mateu Batle [Fri, 23 Apr 2010 20:07:24 +0000 (15:07 -0500)]
Workaround to some issues with packagekit
 - successful transactions which don't resolve packages
 - force to resolve packages one by one (problems with more than pacakge resolved at the same time)
 - packages reported when no resolve was issued
Improve debug log

7 years agoChange the config.ini.
Jackie Wu [Fri, 23 Apr 2010 14:44:34 +0000 (22:44 +0800)]
Change the config.ini.

7 years agoFixed test code for search.
Jackie Wu [Fri, 23 Apr 2010 10:59:32 +0000 (18:59 +0800)]
Fixed test code for search.

7 years agoFixed the bug in config.ini.
Jackie Wu [Fri, 23 Apr 2010 08:16:31 +0000 (16:16 +0800)]
Fixed the bug in config.ini.

7 years agoAdded methods to get number of actions in the queue and total
Mateu Batle [Fri, 23 Apr 2010 01:52:20 +0000 (20:52 -0500)]
Added methods to get number of actions in the queue and total
Added methods for elapsed and remaining time
Added method to return string version of action
Added method to return string with all aplications names in a list

7 years agoRemoved packagekit interface from Application
Mateu Batle [Thu, 22 Apr 2010 19:55:41 +0000 (14:55 -0500)]
Removed packagekit interface from Application
Create ApplicationManager to manage all package kit operations
Created some signals on Application for package kit notifications related with the application
Added maintainance of application status in Application checking package kit notifications
Added function in Catalog to dump application lists
At the moment status for all pacakges is refreshed at startup
Removed support for old packagekit

7 years agoModified the search interface to support multiple keywords.
Jackie Wu [Thu, 22 Apr 2010 12:59:59 +0000 (20:59 +0800)]
Modified the search interface to support multiple keywords.

7 years agoFixed the metadata proxy setting reading bug.
Jackie Wu [Thu, 22 Apr 2010 08:39:53 +0000 (16:39 +0800)]
Fixed the metadata proxy setting reading bug.

7 years agoUpdate xml file from website and remove the static xml file.
Jackie Wu [Wed, 21 Apr 2010 13:21:15 +0000 (21:21 +0800)]
Update xml file from website and remove the static xml file.
Add setting file to configure the gcs.

7 years agoAdd video interfaces so UI can get video links.
Jackie Wu [Wed, 21 Apr 2010 02:25:43 +0000 (10:25 +0800)]
Add video interfaces so UI can get video links.

7 years agoMerge branch 'appstatuscache'
Mateu Batle [Tue, 20 Apr 2010 11:33:53 +0000 (06:33 -0500)]
Merge branch 'appstatuscache'

7 years agoRemove USE_OLD_PACKAGEKIT in pro file
Xiaoyang Yu (Max) [Tue, 20 Apr 2010 01:50:10 +0000 (21:50 -0400)]
Remove USE_OLD_PACKAGEKIT in pro file

7 years agoRemove the packagekit code.
Jackie Wu [Mon, 19 Apr 2010 06:05:33 +0000 (14:05 +0800)]
Remove the packagekit code.
Remove the xml file from test folder.

7 years agoChanged license to GPL2
Xiaoyang Yu (Max) [Mon, 19 Apr 2010 03:38:51 +0000 (11:38 +0800)]
Changed license to GPL2

7 years agoAdd .gitignore.
Jackie Wu [Sun, 18 Apr 2010 02:20:55 +0000 (10:20 +0800)]
Add .gitignore.

7 years agoAdd the .pc file.
Jackie Wu [Sun, 18 Apr 2010 02:13:21 +0000 (10:13 +0800)]
Add the .pc file.

7 years agoUpdate xml with some apps enabled.
Jackie Wu [Fri, 16 Apr 2010 17:31:01 +0000 (01:31 +0800)]
Update xml with some apps enabled.

7 years agoAdd missed data folder.
Jackie Wu [Fri, 16 Apr 2010 17:05:34 +0000 (01:05 +0800)]
Add missed data folder.

7 years agoAdd rpm spec file for packaging.
Jackie Wu [Fri, 16 Apr 2010 17:03:31 +0000 (01:03 +0800)]
Add rpm spec file for packaging.
Add installation.

7 years agoFixing downloading of screenshots
Mateu Batle [Fri, 16 Apr 2010 15:49:42 +0000 (10:49 -0500)]
Fixing downloading of screenshots

7 years agoAdded interface and signals for application status appstatuscache
Mateu Batle [Fri, 16 Apr 2010 13:46:45 +0000 (08:46 -0500)]
Added interface and signals for application status
Very basic implementation

7 years agoAdded finished signal to know when operations are done
Mateu Batle [Thu, 15 Apr 2010 21:25:37 +0000 (16:25 -0500)]
Added finished signal to know when operations are done

7 years agoChange the image type definition.
Jackie Wu [Thu, 15 Apr 2010 08:13:40 +0000 (16:13 +0800)]
Change the image type definition.
Enabled screenshot lists in application. Need xml support.

7 years agoMore fixes regarding HAVE_OLD_PACKAGEKIT
Mateu Batle [Wed, 14 Apr 2010 13:58:29 +0000 (08:58 -0500)]
More fixes regarding HAVE_OLD_PACKAGEKIT

7 years agoMore fixes around HAVE_OLD_PACKAGEKIT
Mateu Batle [Wed, 14 Apr 2010 13:51:07 +0000 (08:51 -0500)]
More fixes around HAVE_OLD_PACKAGEKIT

7 years agoRemoving warning unused var
Mateu Batle [Wed, 14 Apr 2010 12:34:17 +0000 (07:34 -0500)]
Removing warning unused var

7 years agoRemoved warning unused var
Mateu Batle [Wed, 14 Apr 2010 12:31:13 +0000 (07:31 -0500)]
Removed warning unused var

7 years agoAdding forgotten hunk wiht HAVE_OLD_PACKAGEKIT
Mateu Batle [Wed, 14 Apr 2010 12:30:51 +0000 (07:30 -0500)]
Adding forgotten hunk wiht HAVE_OLD_PACKAGEKIT

7 years agoAdded HAVE_OLD_PACKAGEKIT to new code for users without new version yet
Mateu Batle [Wed, 14 Apr 2010 12:29:39 +0000 (07:29 -0500)]
Added HAVE_OLD_PACKAGEKIT to new code for users without new version yet

7 years agoUse QSharedPointer as the package pointer
Xiaoyang Yu (Max) [Wed, 14 Apr 2010 10:23:30 +0000 (06:23 -0400)]
Use QSharedPointer as the package pointer

7 years agoFixed package signal
Xiaoyang Yu (Max) [Wed, 14 Apr 2010 09:29:56 +0000 (05:29 -0400)]
Fixed package signal

7 years agoAdd getTransaction method in class Application
Xiaoyang Yu (Max) [Wed, 14 Apr 2010 08:25:05 +0000 (04:25 -0400)]
Add getTransaction method in class Application

7 years agoUpdate to use API of PackageKit 0.6.3
Xiaoyang Yu (Max) [Wed, 14 Apr 2010 07:58:59 +0000 (03:58 -0400)]
Update to use API of PackageKit 0.6.3

7 years agoadded signal emited on package resolved
Mateu Batle [Tue, 13 Apr 2010 13:24:43 +0000 (08:24 -0500)]
added signal emited on package resolved

7 years agoAdd application search and sort functions.
Jackie Wu [Tue, 13 Apr 2010 10:28:35 +0000 (18:28 +0800)]
Add application search and sort functions.

7 years agoRenamed to resolvePackage (without Name)
Mateu Batle [Mon, 12 Apr 2010 18:08:01 +0000 (13:08 -0500)]
Renamed to resolvePackage (without Name)
Added accessor method to get Package *

7 years agochanged to more standard C++ idiom
Mateu Batle [Mon, 12 Apr 2010 15:00:09 +0000 (10:00 -0500)]
changed to more standard C++ idiom
fixed bug, applicationListIsReady not initialized

7 years agoRemove debug message of image download.
Jackie Wu [Mon, 12 Apr 2010 07:14:00 +0000 (15:14 +0800)]
Remove debug message of image download.
Update the test xml file.

7 years agoFixed conflicts
Mateu Batle [Fri, 9 Apr 2010 21:04:22 +0000 (16:04 -0500)]
Fixed conflicts

7 years agoAdded iconType to Image class
Mateu Batle [Fri, 9 Apr 2010 20:58:41 +0000 (15:58 -0500)]
Added iconType to Image class
Changed member vars to use m_ prefix
Disabled screenshot loading for now
Removed warning unused var in requestSearchApplications

7 years agoAdd dependency to libproxy and libxml.
Jackie Wu [Fri, 9 Apr 2010 18:17:52 +0000 (02:17 +0800)]
Add dependency to libproxy and libxml.

7 years agoCorrect the parent/child relationship between objects.
Jackie Wu [Fri, 9 Apr 2010 16:51:03 +0000 (00:51 +0800)]
Correct the parent/child relationship between objects.
Remove simulated network delay and useless code.
Fix the mistake of errorhandler signal in garageclientservices.

7 years agoRemove the applicationinstaller since it's in Application.
Jackie Wu [Fri, 9 Apr 2010 14:46:26 +0000 (22:46 +0800)]
Remove the applicationinstaller since it's in Application.
Change the IconType enum definition.

7 years agoFixed the noproxy bug.
Jackie Wu [Fri, 9 Apr 2010 14:06:50 +0000 (22:06 +0800)]
Fixed the noproxy bug.
Using QUrl to parse the proxy returned from libproxy.
Added errorhandler to handle QNetworkReply error and add error
signal in garageclientservice class.

7 years agoAdd http proxy support.
Jackie Wu [Thu, 8 Apr 2010 10:01:25 +0000 (18:01 +0800)]
Add http proxy support.

Using libproxy to get system proxy setting.
The autoproxy does not work well according to test. So it only support
manual http proxy.

7 years agoFixed gcs mockup lib to download images if cache size is zero
Mateu Batle [Wed, 7 Apr 2010 18:20:50 +0000 (13:20 -0500)]
Fixed gcs mockup lib to download images if cache size is zero

7 years agoFixed name
Xiaoyang Yu (Max) [Wed, 7 Apr 2010 02:11:52 +0000 (10:11 +0800)]
Fixed name

7 years agoFixed email address
Mateu Batle [Wed, 7 Apr 2010 00:20:02 +0000 (19:20 -0500)]
Fixed email address

7 years agoRetrieved some more application properties from the XML
Mateu Batle [Tue, 6 Apr 2010 23:30:47 +0000 (18:30 -0500)]
Retrieved some more application properties from the XML
Added HAVE_OLD_PACKAGEKIT temporal solution

7 years agoFixed compile error.
Xiaoyang Yu (Max) [Tue, 6 Apr 2010 06:40:45 +0000 (14:40 +0800)]
Fixed compile error.

7 years agoMerge branch 'master' of ssh://gitorious.org/meego-garage/garage-client-services
Xiaoyang Yu (Max) [Tue, 6 Apr 2010 06:34:50 +0000 (14:34 +0800)]
Merge branch 'master' of ssh://gitorious.org/meego-garage/garage-client-services

Conflicts:
src/application.cpp
src/application.h

7 years agoInstall/remove/update package using PackageKit-Qt
Xiaoyang Yu (Max) [Tue, 6 Apr 2010 06:29:10 +0000 (14:29 +0800)]
Install/remove/update package using PackageKit-Qt

7 years agoMinor fixes regarding const
Mateu Batle [Mon, 5 Apr 2010 23:35:02 +0000 (18:35 -0500)]
Minor fixes regarding const

7 years agofixed uninitialized pointer in constructor
Mateu Batle [Sat, 3 Apr 2010 18:25:49 +0000 (13:25 -0500)]
fixed uninitialized pointer in constructor

7 years agoPorted the xml parser from Bob's mock code.
Jackie Wu [Sat, 3 Apr 2010 14:14:00 +0000 (22:14 +0800)]
Ported the xml parser from Bob's mock code.

It's using libxml2 instead of QXml*.

7 years agoAdd PackageKit
Xiaoyang Yu (Max) [Fri, 2 Apr 2010 06:30:26 +0000 (14:30 +0800)]
Add PackageKit

7 years agotest
Xiaoyang Yu (Max) [Fri, 2 Apr 2010 02:57:40 +0000 (10:57 +0800)]
test

7 years agoAvoid QNetwork dependency for clients using the library
Mateu Batle [Thu, 1 Apr 2010 16:50:24 +0000 (11:50 -0500)]
Avoid QNetwork dependency for clients using the library
Added installation of headers and libaries in /usr/local

7 years agoFixed the ld problem of test. Still need to specify LD_LIBRARY_PATH to
Jackie Wu [Thu, 1 Apr 2010 08:40:15 +0000 (16:40 +0800)]
Fixed the ld problem of test. Still need to specify LD_LIBRARY_PATH to
run test.

7 years agoReorganized the build structure.
Jackie Wu [Thu, 1 Apr 2010 07:55:44 +0000 (15:55 +0800)]
Reorganized the build structure.

7 years agoInitial drop of the GCS code.
Jackie Wu [Thu, 1 Apr 2010 07:39:39 +0000 (15:39 +0800)]
Initial drop of the GCS code.

Provide a set of Qt classes to provide garage catalog.
Provide async call to UI to retrive data.
Provide async image download mechanism.
Add mock code to provide basic meta data.

7 years agoNew project for Garage Client Services
Bob Spencer [Wed, 24 Mar 2010 21:15:47 +0000 (15:15 -0600)]
New project for Garage Client Services