fix a crash if the replaces is not existingChange-Id: I2b65c343f701d67577e2b127b47054368ce583c7
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Remove fetch and implement "lazy" fetch.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.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>
Update the test app to use a proxy factory as well.Change-Id: I35fe8570b12109254a31758141e4159518ed2ac5
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Make it possible to set proxy factorys for the downloaders.Change-Id: I1a728b60a196807fa8257b22e58165e2c55be787
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Fix a problem that isOfflineOnly returned true.This happend even in updater/ package manager mode when the
original install was done using an offline installer. This can
only be true if we are an installer.
Change-Id: I345453dfc870b9945295371f5d6f8cb4a0057a50
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Move the proxy factory base class into the downloader factory.Remove some now superfluous code to silently try the system proxy
in error case, as now we have a proxy factory set on every downloader.
Change-Id: I3399ea473d2958dbf97d2f0048b60922eb98c74f
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Add the possibility to have an settings button int the ui.Added some more code to be able to properly relayout the
buttons after show/ hide of the settings button. We always
need to call this now since QWizard won't take care of our
own passed buttons.
Change-Id: I8dc957ba43b79239164ab1e9032ffbd86b095501
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Rename function and call it earlier in the chain.Change-Id: Iebbbe1163939777c7a97f45f2926cd102fb2c845
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Cleanup.Save some QLatin1String - QString conversion, remove dead code.
Rename some functions, etc. Should not change much functionality.
Change-Id: I42bfbe19d773e9fa2cc18e11e74f71ef271f4130
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Make it possible to stream the Repository class.Possible use cases are streams into QVariant->QSettings.
Change-Id: Id92371886eda950749495558b50df04e5803ead8
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Extend Settings class to store proxy settings.Change-Id: I37589a25e294c63d5930ff9120f1af2063341df1
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Introduce some more set'ter to add repositories.Change-Id: Ic0c2a2362a5e9065410ffc548ab6120c605aef8d
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Let the app parse the arguments again in gui mode.Also do not stop on unknown arguments, this is rather stupid
to do, just print the error message. Might fix a problem on
OSX with session id...
Change-Id: I9ca6903b0073ea54b398534c5273f7f0f2e50db4
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Make sure to create components for local installed packages.Should fix a problem in case we point the repo to a complete
different url or a component get's removed from the original
server. The problem then was, there was no component created
for the local installed package, which in case of update or
package managment would remove the local package as no component
cold be found for the stored operations. -> see runPackageUpdater
Change-Id: I7394691c53...
Refactor the code with the use of buildComponentTree.Change-Id: Id50f324e04a5afbf17631efece7e10caa6d41244
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Fix QtSDK-1070.Make sure the package manger hides components to replace
even if they are not installed. Show only replacements instead.
Change-Id: I07644747b9973dfe77c4cf582631be6d6ec267a8
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Fix warning about initialization order. Use scoped pointer.Change-Id: I1ea34adb934d1aa1888741a3eda20026bac210dd
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Extend buffere size, move, add includes and defines.Change-Id: Ic990012ca57bd97e50823de91bc9576dac6b7a34
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
remove autodependon need to check the replacements aswellChange-Id: I4e5002c773c45bd660c5d4f40c74a985316113bb
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Let the the gui application open a console on Windows.If running in verbose mode, redirect all output to our window.
Change-Id: Id93fb0b81ceaa7f0ad5eda26d5d313529976f661
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>
Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
begininstallation has nothing todo with createOperations - copy and paste error
Change-Id: Iac33b200d4c2654679b036f03866fcf4cba03758
Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
Fix 3a8b2248814e468d86355b2992dca76464db70dd.We really need to initialize all other members, fixes
broken state variables used throughout the task code.
Change-Id: I72925607d00ffbec4566fddefd1f260f2f8a44d1
Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>