summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/packagemanagercore.h
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-191-308/+0
| | | | | Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Keep common just for the tools.kh12012-03-131-2/+1
| | | | | | | All other files should be in the lib anyway. Fix includes. Change-Id: I654fadf0a77b8d19953a6b47820e6398af11e2df Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement operation to create local repository.kh12012-03-131-0/+3
| | | | | | Change-Id: I4216984ff22d0adf0f5bd9bf3f447bced5f6dc09 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* update contact email to the current oneNiels Weber2012-02-061-2/+2
| | | | | Change-Id: Icc6560f9c65e294e01439f17ff02614d6dcf7dc8 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* fix more license headersNiels Weber2012-02-061-7/+14
| | | | | Change-Id: I2a519b6b65ce0623ce7ed4ac9cbcc091a7c02a49 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Qt SDK -> Installer FrameworkNiels Weber2012-01-311-1/+1
| | | | | Change-Id: I143694ac2a62e3c0e2be003ffa0f7e37f00351a2 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* added Q_INVOKABLE to a method for counting the number of available updatesAlexander Lenhardt2012-01-051-1/+1
| | | | | Change-Id: Ib5d7f36626654da697ded0a9a2916b591d5a3380 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added PackageManagerCore::executeDetachedTim Jenssen2011-12-071-0/+2
| | | | | | | Change-Id: I005dc93b06f258ac46f9d79d916815cfacb966c6 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Remove fetch and implement "lazy" fetch.kh12011-11-281-0/+1
| | | | | | | | | Now it feels better then to bring up the dialog and start the fetch instantly, the user now has the opportunity to edit the network settings first and on "Next" we fetch the tree. Change-Id: I1ebce333bf5157421f2b62afbe5630b0ec1e0134 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement network settings dialog.kh12011-11-281-1/+2
| | | | | | | | | User settings are stored inside a network.xml file, e.g. proxy type, proxy authentification, repositories etc... Default repos are saved kind of encrypted inside the already existing ini file. Change-Id: Ie97f2e82af7faf4d15719c669a0fa4158b503ce3 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Make it possible to set proxy factorys for the downloaders.kh12011-11-281-0/+9
| | | | | Change-Id: I1a728b60a196807fa8257b22e58165e2c55be787 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Use QSet throughout the whole code, saves us QList conversions.kh12011-11-151-2/+2
| | | | | | | | | | | Remove default parameter from Repo ctor, lead already to confusion. Also add some more specific {get/set} repo functions, to be able to distinguish between the different kind of repositories (needed for setting dialog). Change-Id: I2c1e4d5377799f54e408a89785bdc5f01619f846 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* fixed bugs with version display in packagemanager and update managerAlexander Lenhardt2011-11-151-3/+3
| | | | | | Change-Id: I5252b973d96b203ace5e9022f09f55e39c7c779c Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix some typos.kh12011-11-101-2/+2
| | | | | Change-Id: I0761bde1dd6197a59b4df24a10b4a8ba2a424c62 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Adjust to take the 110 char count into account.kh12011-11-071-2/+2
| | | | | Change-Id: I94e5ae6d7c15b0e68b1c3c9643a9eacf82f6de56 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fixed QTSDK-961Alexander Lenhardt2011-10-131-0/+3
| | | | | | | | | | | | - added support for version inheritance attributes to repogen - added version inheritance for components - 'inheritVersionFrom' attribute can be set for Version tags added support for version inheritance attributes to repogen Change-Id: I7e9a3a71620de2d8ffed0e0296b68f307304d9f6 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@nokia.com>
* show dependency calculation errors in the installerTim Jenssen2011-10-051-1/+1
| | | | | | | | | | - renamed missingDependenciesReasons -> calculateComponentsToInstallError - abort adding components if a recursion is detected Change-Id: Ie9c3bda0b8482eb0e54a9eff6bb8a5868d3d9ee8 Reviewed-on: http://codereview.qt-project.org/6082 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Remove stupid check. Return the proper core status.kh12011-08-241-1/+0
| | | | | | | | | | | Also take into account the current status, break if it is already Canceled or Failure. Fix fetch remote packages, as it would set always Success, even if we already canceled. Change-Id: I3562d485c762c6df6ff230029bc678475afd5b2c Reviewed-on: http://codereview.qt.nokia.com/3502 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Keep the problem reason to show it in the UI.kh12011-08-231-0/+1
| | | | | | | Change-Id: Ie173d08daa2c45ca29c862244b746688613fbaed Reviewed-on: http://codereview.qt.nokia.com/3418 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add a hack to be able to check components.kh12011-08-231-0/+5
| | | | | | | | | | | This is needed to make the resolve code working properly for scripts as well for the uninstall code to resolve auto dependencies. Should be removed as soon as possible. Change-Id: Ia33efdc63d4e3845927b3bbfa5af7a375ceed9ac Reviewed-on: http://codereview.qt.nokia.com/3415 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Make sure we only calculate the components on actual change.kh12011-08-231-0/+2
| | | | | | | | Change-Id: I5967f2fa2cba3e54519a4b8b5155b570d34d7a22 Reviewed-on: http://codereview.qt.nokia.com/3333 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement dependee resolving for uninstallation.kh12011-08-181-1/+5
| | | | | | | | Change-Id: I4a31ba04dc3672961984040ea6b741f96689d41c Reviewed-on: http://codereview.qt.nokia.com/3198 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Expose some private functions and make use of it.kh12011-08-181-0/+3
| | | | | | | | | | | | It should be way faster to iterate over the known installed packages list instead of all components to figure out if they are installed. Change-Id: I2fdb54c4063a3a886828129ad344c59216eb6509 Reviewed-on: http://codereview.qt.nokia.com/3173 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement basic dependees function. Update commment.kh12011-08-171-0/+1
| | | | | | | Change-Id: I81aa563be02a68fa4f7eca8b39bae35e2c9c7377 Reviewed-on: http://codereview.qt.nokia.com/3100 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Added some documentation and moved some stuff around.kh12011-08-101-4/+7
|
* Some style fixes. Rename some members etc.kh12011-08-101-1/+1
|
* Rename function and add TODO.kh12011-08-101-1/+1
| | | | I can't see the reason, needs to be discussed with Tim.
* calculate dependencies only if it is neededTim Jenssen2011-07-291-1/+1
|
* added const to method where possible and clean up the code(removed unused ↵Tim Jenssen2011-07-271-9/+4
| | | | | | methods) Reviewed-By: Niels Weber
* kill StartAppendToInstallState the logic is now outside and use ↵Tim Jenssen2011-07-271-1/+1
| | | | | | setUpdateAvailable Reviewed-By: Niels Weber
* calculateToInstallComponents got a return valueTim Jenssen2011-07-271-1/+1
| | | | | | - to check that an installation is possible Reviewed-By: Niels Weber
* Revert "remove unused constructors" <- they were usedTim Jenssen2011-07-251-0/+1
| | | | This reverts commit cd68da35965e07f96dff244cf85a0e3908ee5621.
* renamed some new install order methods and added access to two on coreTim Jenssen2011-07-221-0/+2
|
* remove unused constructorsTim Jenssen2011-07-221-1/+0
|
* added a first version of calculate to install components with dependency graphTim Jenssen2011-07-221-0/+3
|
* disable some not working dependency code and splitted components()Tim Jenssen2011-07-211-1/+3
|
* introduce appendUpdaterComponent methodTim Jenssen2011-07-211-1/+2
|
* use hash instead of map for the created componentsTim Jenssen2011-07-211-2/+2
|
* argument value UpdaterMode was never used in rootComponent()Tim Jenssen2011-07-211-1/+1
|
* argument value UpdaterMode was never used in rootComponentCount()Tim Jenssen2011-07-211-1/+1
|
* Hide the KDUpdater stuff behind typedefs.kh12011-07-051-13/+4
|
* Hide KDJob from public API.kh12011-07-051-2/+1
|
* Operations -> OperationListkh12011-07-051-1/+1
|
* Define some typedefs and hide the "Update"...kh12011-07-041-2/+0
|
* Have only two function to fetch local and remote packages.kh12011-07-041-5/+11
| | | | | | Move everything else into private and guess what to do on the run mode. This helps a lot on restart, as no packages need to be fetched again and no updates need to be rebuild.
* Remove superfluous includes and forward declarations.kh12011-07-041-19/+2
|
* Make copy constructor private.kh12011-07-041-0/+1
|
* There's no need to have a virtual here.kh12011-07-041-2/+2
|
* Use typedef to hide the "Update" prefix, doesn't fit really.kh12011-07-041-3/+3
|
* Move the define to where it's used.kh12011-07-041-2/+0
|