Application:
authorMateu Batle <mateu.batle@collabora.co.uk>
Tue, 29 Jun 2010 17:10:41 +0000 (12:10 -0500)
committerMateu Batle <mateu.batle@collabora.co.uk>
Tue, 29 Jun 2010 17:10:41 +0000 (12:10 -0500)
commitd646dcab01d90e2bfe2649a69b0b294c52d9ae2b
treec69af92e777490fd22505be230fcfe265fc68c43
parent0697cc5fbe373f074f8b14065fd8c0cc5df4ab83
Application:
- publishDate is QDateTime now
- QPackageKit dependency removed
- Disabled implementation of searchApplications
- added sort by downloads
- removed sort by size
ApplicationManager
- moved online connectivity code to GarageClientServices
BaseJob
- added base class for async job
Catalog
- login methods moved here
- implemented login as async job
- caching of category list
- async request of categories list
- search of applications allowing page interface
- also allows to get top rated, downloaded, new
- caching of category list
Category
- caching of application list
- search of applications with page interface
- also allows to get top rated, downloaded, new
- number of applications
GarageClientServices
- Moved connman from application manager
- moved login to catalog
GArage Settings
- added configuration for OCS catalogs in ini file
Job, Jobtypes
- Job class is basicaly an async job that has results
- Added a bunch of async job types for: categories, applications, application searches, login, parallel job, sequential job, timer job, lightspeed job, wrapper job, attica wrapper job, external job.
Application
- Fixed publish date (bug in libattica)
OcsCatalog
- added jobs for Ocs categories, application search
- implemented interface for request application search
- implemented interface for requesting categories
Utils
- added some common functions used everywhere
- dump category list, application list
- setXmlProp and parseGUID
Removed xml catalog temporarily
Removed webclient, xmlbaseobject
Unit tests application
- Garage Client Services
- Catalog
- Category (not tested)
49 files changed:
garage-client-services.pro
src/application.cpp
src/application.h
src/applicationmanager.cpp
src/applicationmanager.h
src/basejob.cpp [new file with mode: 0644]
src/basejob.h [new file with mode: 0644]
src/catalog.cpp
src/catalog.h
src/category.cpp
src/category.h
src/errorhandler.cpp
src/garageclientservices.cpp
src/garageclientservices.h
src/garagesettings.cpp
src/garagesettings.h
src/image.cpp
src/job.h [new file with mode: 0644]
src/jobtypes.h [new file with mode: 0644]
src/ocsapplication.cpp
src/ocsapplication.h
src/ocscatalog.cpp
src/ocscatalog.h
src/ocscategory.cpp
src/ocscategory.h
src/src.pro
src/types.h
src/utils.cpp [new file with mode: 0644]
src/utils.h [new file with mode: 0644]
src/webclient.cpp [deleted file]
src/webclient.h [deleted file]
src/xmlapplication.cpp [deleted file]
src/xmlapplication.h [deleted file]
src/xmlbaseobject.cpp [deleted file]
src/xmlbaseobject.h [deleted file]
src/xmlcatalog.cpp [deleted file]
src/xmlcatalog.h [deleted file]
src/xmlcategory.cpp [deleted file]
src/xmlcategory.h [deleted file]
test/config1.ini [new file with mode: 0644]
test/config2.ini [new file with mode: 0644]
test/constants.h [new file with mode: 0644]
test/main.cpp [new file with mode: 0644]
test/testcatalog.cpp [new file with mode: 0644]
test/testcatalog.h [new file with mode: 0644]
test/testcategory.cpp [new file with mode: 0644]
test/testcategory.h [new file with mode: 0644]
test/testgarageclientservices.cpp [new file with mode: 0644]
test/testgarageclientservices.h [new file with mode: 0644]