summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/installerbasecommons.cpp
Commit message (Collapse)AuthorAgeFilesLines
* mass change 2011 -> 2012 for copyrightNiels Weber2012-01-311-1/+1
| | | | | | Change-Id: I66340dbc1f2a5a38ed98d1ad406c22b594d92b6e Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* removed triggerControlScriptForCurrentPageTim Jenssen2011-12-071-1/+0
| | | | | | | | - it is not needed anymore Change-Id: If75bd18d390368feb4244da98457a75639a7b02f Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com> Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com>
* Force repaint of the wizard ui.kh12011-11-301-0/+4
| | | | | | | | | Fixes the "Next" button problem as reported by some of the tester. Still we should figure out where the event gets lost. Change-Id: I626b486ef220d33a89b9bd9cc8e3039dca171c9c Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Hide the automatic restart page.kh12011-11-301-3/+4
| | | | | | | Might also fix the double commit button seen by the tester. Change-Id: I67b0ac36eee97afcc6bba84e4f102ea056ea4bc0 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Update to the latest and greatest...kh12011-11-291-13/+12
| | | | | Change-Id: I7f0fb12735293e785229da22a8e794c2f7d7df96 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Remove fetch and implement "lazy" fetch.kh12011-11-281-3/+125
| | | | | | | | | 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>
* Rename function and call it earlier in the chain.kh12011-11-281-5/+5
| | | | | | Change-Id: Iebbbe1163939777c7a97f45f2926cd102fb2c845 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Revert parts of the former changes.kh12011-08-241-4/+4
| | | | | | | | | | Now reset the core checked list in show event, as this is not called that frequently as nextId(). Solves the problem of always recalculating the components to install. Change-Id: I282d25236441c6a91c833867ce65aa351dcfcc67 Reviewed-on: http://codereview.qt.nokia.com/3503 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Add a hack to be able to check components.kh12011-08-231-4/+4
| | | | | | | | | | | 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-20/+10
| | | | | | | | 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>
* use new orderedComponentsToInstall methodTim Jenssen2011-07-221-5/+2
|
* added a first version of calculate to install components with dependency graphTim Jenssen2011-07-221-0/+1
|
* show licensepage even componentsToInstall is not workingTim Jenssen2011-07-221-0/+2
|
* disable some not working dependency code and splitted components()Tim Jenssen2011-07-211-6/+0
|
* break if license is foundMaurice Kalinowski2011-07-201-1/+4
| | | | | | | no need to iterate through the remaining components if we know that we need to display the license page Reviewed-By: Tim Jenssen
* omit license page for no agreementMaurice Kalinowski2011-07-201-0/+23
| | | | | | if there is no license to agree, the license page can be skipped Reviewed-By: Tim Jenssen
* Fix error handling for all user defined errors.kh12011-07-191-3/+4
| | | | | | | | Review-by: tjenssen We missed most of our own defined error cases, thus we never noticed e.g. wrong schemes for local repositories. Also make sure we emit the info message signal on error.
* Hide KDJob from public API.kh12011-07-051-2/+1
|
* Add an error function and display it in the ui.kh12011-06-291-0/+18
| | | | | If there happens to be an error during fetch, set the appropriate installer status and display an error message.
* Add the timer back as we need it to update the ui.kh12011-06-221-0/+3
|
* Rename files to match class name. Adjust includes.kh12011-06-201-1/+1
|
* Rename failWithWarning to failWithError and use it.kh12011-06-201-19/+12
| | | | Remove strange QTimer::singleShot(...) stuff.
* Move some checks to an earlier point in the chain.kh12011-06-201-36/+25
| | | | | Avoids some really late message boxes as some of these can be checked directly during e.g. typing.
* Rename header/ source files to match class name.kh12011-06-151-1/+1
| | | | Fix includes as well.
* Rename from Installer to PackageManagerCore.kh12011-06-141-53/+54
| | | | | Note: Might break on any other platform than windows, needs some more tests. No break on windows so far...
* Rename the class to better fit it's real purpose.kh12011-06-141-10/+10
|
* Fix broken build after rename.kh12011-06-091-1/+1
|
* Merge branch 'master' into refactorkh12011-05-161-9/+30
|\ | | | | | | | | Conflicts: installerbuilder/installerbase/installerbasecommons.cpp
| * disallow invalid characters, homedir and relative paths as targetDirNiels Weber2011-05-131-3/+27
| | | | | | | | | | Done-with: tjenssen Reviewed-by: Maurice Kalinowski
* | Whitespaces. Fix some spelling errors.kh12011-04-211-0/+1
| |
* | Change the restart page handling.kh12011-04-141-13/+22
| | | | | | | | | | | | Depending on our status we need the have the restart page or not. If we start as uninstaller and switch to updater or package manager, we should restart or not.
* | Merge branch 'refactor' of ↵kh12011-04-141-3/+23
|\ \ | | | | | | | | | | | | | | | | | | scm.dev.nokia.troll.no:installer-framework/mainline into refactor Conflicts: installerbuilder/libinstaller/qinstaller.cpp
| * | Fix broken target directory handling.kh12011-04-131-3/+23
| | | | | | | | | | | | | | | | | | Files and syminks are not allowed as target dir either. Fixes a broken check if the selected target contains an installation already. Do not complain on empty targets.
* | | Remove superfluous member variable.kh12011-04-121-2/+1
|/ /
* | Always return a by install priority sorted component list.kh12011-04-121-2/+1
| |
* | Merge branch 'master' into refactorkh12011-03-301-0/+11
|\| | | | | | | | | | | | | | | Conflicts: examples/testapp/testapp.pro installerbuilder/installerbase/installerbasecommons.cpp installerbuilder/libinstaller/qinstaller.cpp installerbuilder/tests/tests.pro
| * teh "RemoveTargetDir" hackJ-P Nurmi2011-03-291-0/+3
| |
* | Even if we can't reach the server, update the ui.kh12011-03-181-4/+11
| |
* | Style changes.kh12011-03-161-2/+2
| |
* | Always pass the mode so we get the right components.kh12011-03-161-5/+6
| |
* | We need to pass the mode to check the right list.kh12011-03-111-1/+1
| | | | | | | | Makes updater mode work as well.
* | Use the same page for updater and package manager.kh12011-03-081-8/+3
| |
* | Fix runtime warnig about adding layout to an existing one.kh12011-03-041-1/+1
| |
* | Some further cleanup. Add missing isUpdater checks.kh12011-03-031-1/+1
| |
* | Do not hide the maintainance widgets during meta info update.kh12011-03-031-35/+40
| | | | | | | | | | | | | | This is only done if we are runing the updater or package manager. As of before, the widgets where hidden and shown again wich feels a bit strange as we never leave the page, but it seemed so.
* | Some more work to have the a proper wizard updater intergration.kh12011-03-031-4/+34
| | | | | | | | | | | | | | Introduce some magic marker to differentiate between update and package management modus. The base installer now needs explicite arguments passed to make the app an updater or package manager. Adjustment some more classes to take the new markers into account.
* | Make use of our new into page.kh12011-03-031-33/+2
| |
* | Implement our own intro page.kh12011-03-031-0/+88
| |
* | Merge branch 'master' into refactorTim Jenssen2011-03-031-0/+7
|\|
| * installation directory cannot be emptyMaurice Kalinowski2011-03-021-0/+7
| | | | | | | | | | | | | | | | The wizard page should not allow to specify an empty installation path. Hence reject the wizard to proceed Reviewed-by: Niels Weber Task-number: QTSDK-540