summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-211-18/+27
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Finally IFW compiles with Qt5 (use private headers)kh12012-12-071-3/+28
| | | | | Change-Id: I2604c77418e4a930bd0f76092db581fef1e45817 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Some changes to start compile with Qt5.kh12012-11-201-2/+2
| | | | | Change-Id: Ie6a3ba7b3c0b24fc292d0d7444ae920dfa866a54 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Have a new class to control user set value access.kh12012-10-251-36/+12
| | | | | | | | Since both the settings object and the core engine hold user set'able values, we need to channel access thru a common object. Change-Id: I4583a8ee4639cd204a778ee125b19f69a1def710 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add new commandline argument.kh12012-08-171-12/+13
| | | | | | | | | | | | In case we run an offline installer, --create-offline-repository will dump the whole installer content into the install directory and add an extra url to the repositories pointing to the mentioned local repository. This allows an offline user to add packages without the need of a new installation. Change-Id: I3e7eb0c56f632b74f5ea41b96bf3d9be83173f41 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* remove unused methodTim Jenssen2012-06-131-17/+0
| | | | | Change-Id: I7022626546cdf7baba77134934ab6e4e240dedfe Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* clean up exception usageTim Jenssen2012-06-111-30/+10
| | | | | Change-Id: I6e1fd425e9b528049f1d461eb2d66c49f70e7288 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add working dir parameterMaurice Kalinowski2012-06-041-3/+9
| | | | | | | | sometimes it is useful to launch a process with a specified working directory. Only use this as an optional argument. Change-Id: I4eedd9b27713b9bc284f1945e67e115b5615640b Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* now setValue methods are replacing @variables@Tim Jenssen2012-05-251-3/+4
| | | | | | | Change-Id: I9ded8cc4c226b4f3694e1f7fe7ad012269c18dde Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* let value() also query the Settings objectAlexander Lenhardt2012-05-161-2/+5
| | | | | | | | | | if a value can not be found in the m_vars hash, value() will query the Settings object first before returning the default value. This allows to specify arbitrary tags to be defined in e.g. config.xml which can later be accessed by installationscripts. Change-Id: I881ff961e3647fa32a0219bbfc8bbb89935ff3d4 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add killProcess methodTim Jenssen2012-05-071-0/+40
| | | | | | | | | - only implemented under windows where it could be needed for update - even the delete file method moves files to temp which can not be removed, it is much safer to kill the process Change-Id: Ide043657d5f74186da02cb18a87072b18910c964 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fix connection type, makes the models actually work.kh12012-04-271-1/+1
| | | | | Change-Id: Ibbbc944c603a10c3de43ad96f89a7ca00f3993b9 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* use scCommaRegExp where ever we canTim Jenssen2012-04-271-4/+3
| | | | | Change-Id: I484e20fd53c2710595c5d4eb28878932eebafe35 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now we can setTempRepositories from script sideTim Jenssen2012-04-271-14/+11
| | | | | | | - this makes testing with autoscript more convenient Change-Id: I93e25570cd9f2b1431412a601476947fc9a046d9 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* now installer can disallow to install from a remote locationTim Jenssen2012-04-271-1/+13
| | | | | | | | | | | | - at the moment the implementation is windows only - in some cases it is problematically to install big installers from a remote location: if the connection is lost -> crash - the installer itself can have the flag DependsOnLocalInstallerBinary in the config.xml file - or a component can request that installer.setDependsOnLocalInstallerBinary() Change-Id: I0c8d70ca89dd55d2d0c52bf3418f11c95b5290a1 Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Add possibility to verify custom pages.Andreas Holzammer2012-04-251-0/+6
| | | | | | | | | Introduce setValidatorForCustomPage, to set a validator for a custom page. Change-Id: I24739d9544c20e0b2b1beab1ae90f8b98cc3d542 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* add the possibility to add a repository from script sideTim Jenssen2012-04-251-0/+11
| | | | | Change-Id: Ida419095138fcfb924210484c2bf2d1cb77fc55b Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Move the models inside core engine.kh12012-04-251-0/+46
| | | | | | | | Improves the situation for qml based installer. Change-Id: Ia7198f0720a1268c7918517228c13255cccce4ea Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add QFileDialog::getExistingDirectory to ScriptingAndreas Holzammer2012-04-251-0/+16
| | | | | | | | | Make it possible to access QFileDialog::getExistingDirectory from installer script. Change-Id: I2cfa8cd9bba77580b4ed1ade46b56796839f7126 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* use Q_OS instead of Q_WS definesTim Jenssen2012-04-241-4/+4
| | | | | Change-Id: I2bbc5b97b8aa9d3dbe77a3334c0182158c2db9c5 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Fallback to read the environment from registry as well.kh12012-03-271-3/+13
| | | | | Change-Id: Id3666ca179b7033a958fc7e0681d6ee7b2024788 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* added file exists method to installer object in installerscriptsTim Jenssen2012-03-261-0/+4
| | | | | | Change-Id: Iba4d3fde8ed71d6361366604fd7773761da78b12 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* add a qDebug in executeDetachedTim Jenssen2012-03-201-0/+1
| | | | | Change-Id: I704c8a1380f4f2661506ece37f0daf603d316b90 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-191-0/+1845
Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>