summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/packagemanagercore.h
Commit message (Collapse)AuthorAgeFilesLines
* introduce installerscriptengineTim Jenssen2013-05-161-0/+4
| | | | | | | | | | | - it uses one scriptengine for everything and adds the components or/and the install-controller in javascript closure contexts - added the gui object to the component script context - removed tabController from controlscript context Change-Id: I3bd6c5dcf470666c30add1b7d04a8fdd094f5f11 Reviewed-by: Iikka Eklund <iikka.eklund@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Remove RunMode enum, it's useless and clutters the API.kh12013-02-191-2/+0
| | | | | | Change-Id: I4323a0d66bda362ccee71a19352c37c9ac1b51e1 Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add a hook to the calculateComponent methodkh12013-02-071-0/+1
| | | | | | | | | | - with we can add dynamic dependcies (cherry-picked from commit 845487b31c45db458759a49bda566c64aee5faaa) Change-Id: I4df7e976c548655635081efa1a08dc7e64e58a83 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Add 2013 to the copyright.Niels Weber2013-02-051-1/+1
| | | | | Change-Id: If64730ba7203d1a910a426c0d9c9a738ecfeff4b Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-211-18/+27
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add new commandline argument.kh12012-08-171-3/+3
| | | | | | | | | | | | 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-1/+0
| | | | | Change-Id: I7022626546cdf7baba77134934ab6e4e240dedfe Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add working dir parameterMaurice Kalinowski2012-06-041-1/+2
| | | | | | | | 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>
* add killProcess methodTim Jenssen2012-05-071-0/+1
| | | | | | | | | - 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>
* now we can setTempRepositories from script sideTim Jenssen2012-04-271-5/+2
| | | | | | | - 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-0/+3
| | | | | | | | | | | | - 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/+4
| | | | | | | | | 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/+3
| | | | | Change-Id: Ida419095138fcfb924210484c2bf2d1cb77fc55b Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Move the models inside core engine.kh12012-04-251-0/+7
| | | | | | | | 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>
* added file exists method to installer object in installerscriptsTim Jenssen2012-03-261-0/+1
| | | | | | Change-Id: Iba4d3fde8ed71d6361366604fd7773761da78b12 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-191-0/+308
Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>