Tim Jenssen | bd447953cd9 | use error instead of messagebox | | |
Tim Jenssen | e4ebc292305 | Revert "run all operations in mainthread for better debugging"
This reverts commit c2d1173356bb93b7c311af126294bb7d0... | | |
Tim Jenssen | c2d1173356b | run all operations in mainthread for better debugging | | |
Tim Jenssen | 887781402ed | added debug info messagebox | | |
kh1 | ae7d9fcf191 | Cleanup. Implement file system type. | | |
Tim Jenssen | b36d3ca470c | empty check was to early | | |
Tim Jenssen | f74f19db22c | added some verbose output to the orginalBuilDir find code | | |
Tim Jenssen | 8b4375dcf47 | orginalBuildDir can be empty, but in which case is this empty? | | |
Tim Jenssen | 56ac9b2c3e0 | we only can create the instance here | | |
Tim Jenssen | 986955efcc1 | add missing header change | | |
Tim Jenssen | 9f9d790fb84 | removed some unused warnings | | |
Tim Jenssen | ff0ffc608b5 | join doesn't take a char | | |
Tim Jenssen | 991ed156e0b | added verbose output file to operation runner | | |
Tim Jenssen | 67ffc0dee53 | fix argument check and added some more verbose outputs | | |
Tim Jenssen | a88fd0ed079 | yes it is a qlatin1char | | |
Tim Jenssen | 93947f4a653 | chop doesn't return a string | | |
Tim Jenssen | 20c6c4bcfd6 | setArguments takes a stringlist | | |
kh1 | ca994da526b | Implement support for multiple resource files. | | |
Tim Jenssen | 8a4f4a19399 | now we have one relocate code for mac | | |
kh1 | c1f1682c1cf | Correct help output. | | |
kh1 | dc2f405385d | Cleanup. Style changes. | | |
kh1 | 4c53e75efa6 | Cleanup. Remove superfluous header. Style changes. | | |
kh1 | 2716f627b25 | Rename files to match class name. Adjust includes. | | |
kh1 | b07a58147ee | Cleanup. Add static function to make settings private. | | |
kh1 | 9eaf4c76e77 | Remove Q_UNUSED as the temp dir deleter is used. | | |
kh1 | 4fdc07ed022 | Rename InstallerSettings to Settings. | | |
kh1 | 53dc1745da3 | Rename failWithWarning to failWithError and use it.
Remove strange QTimer::singleShot(...) stuff. | | |
kh1 | 271fa46450a | Move some checks to an earlier point in the chain.
Avoids some really late message boxes as some of these
can be che... | | |
kh1 | c4cc228c836 | Edit role now translates to display role as well. | | |
kh1 | 306363710d3 | No need to keep the initital text arround.
Once we finish the installation and notice that there
is no auto switch w... | | |
kh1 | d3c9a33c403 | Add some documentation. | | |
kh1 | 975eefb869b | Fix bug where we had to specify a column more then needed. | | |
kh1 | 46be5a4eac4 | Style changes. Cleanup. | | |
kh1 | 5dfa4801208 | Remove superfluous output. Throw as early as possible. | | |
kh1 | d2b4975bf06 | Fix initialization order. | | |
kh1 | 22b8f8d743f | Add support for file system type retrieval.
Might come in handy if a component needs to check that
the target partio... | | |
kh1 | 59643b5ebc5 | Fix wrong messages in details widget. | | |
kh1 | a034f16be4d | Fix wrong check if target dir already exists.
This would lead to alway acquire admin rights. | | |
kh1 | a6348ca6573 | Show the list widget only in case we have more then one license. | | |
kh1 | 69a91ceb9d9 | Remove whitespaces. No functional change intended. | | |
kh1 | d0b3c4a281a | Rename base class from Page to PackageManagerPage. | | |
kh1 | 5da600955a9 | Make click forwarder private and move it to the source file. | | |
kh1 | eba082911fe | Rename header guard to match class name. | | |
kh1 | c126a4c411f | Create the handler on the stack instead of the heap.
This makes it possible to use more then one instance
of the cor... | | |
kh1 | 89b735e6d26 | Fix typos and small style issues. | | |
kh1 | 4d78ddd97cf | Rename header/ source files to match class name.
Fix includes as well. | | |
kh1 | 412c3e226e1 | Rename to follow public class name scheme. | | |
kh1 | 787eb763bd9 | Rename from Installer to PackageManagerCore.
Note: Might break on any other platform than windows,
needs some more t... | | |
kh1 | 5ed81415ac1 | Rename the class to better fit it's real purpose. | | |
kh1 | a1945e2ddd8 | Merge branch 'master' into refactor | | |
kh1 | 5eed8857824 | Remove superfluous class declaration. Add fatal.
The function seems to be broken, add fatal so we can
fix it once we... | | |
Niels Weber | 924185cdaaa | Make Debugging work again on Linux
Reviewed-by: Maurice | | |
kh1 | ad6e57cd6b6 | Make use of the copy directory operation. | | |
kh1 | 5ba3fcc9edf | Remove unused classes. | | |
kh1 | f087f99f897 | Style changes. Remove some superfluous variables. | | |
kh1 | f7590603a2b | Add one more constant. | | |
Tim Jenssen | 8cff7231bb5 | Merge remote-tracking branch 'origin/master' into refactor | | |
Tim Jenssen | b63143c580f | don't create the file it self as a path only the path to the file | | |
kh1 | 65de51a9c22 | Move constants into global file and use where possible. | | |
kh1 | 6fa1d8870bc | Merge branch 'master' into refactor | | |
kh1 | c88e0eca04b | Keep a flag if we have do a no forced installion. | | |
Tim Jenssen | 90cfad939aa | mkpath is not a static method | | |
Tim Jenssen | e1082246ca1 | fixed renaming of constants | | |
kh1 | 2f76befcbbd | Merge branch 'master' into refactor
Conflicts:
installerbuilder/installerbase/installerbase.cpp | | |
kh1 | 2a5675823c6 | Fix accidental partly/ full uninstall in package manager.
In package manager mode a component (one to replace) might... | | |
Tim Jenssen | 75a8626124d | make sure that we can create the file | | |
Tim Jenssen | d11134bcc6a | now the operation has the right name | | |
Tim Jenssen | 8a66f6f7914 | extracted and renamed qinstallercomponent_constants | | |
Niels Weber | 4f1d1b92558 | don't fail with unknown arguments
done-with: kh1 | | |
kh1 | b43eea3bbb9 | Fix broken build after rename. | | |
kh1 | 77f94dedc21 | Rename op to operation and comp to component. | | |
kh1 | 0dfc6184afd | Rename to match actual class name. Fix includes. | | |
kh1 | 395d7b8cb60 | Style changes. Remove superfluous includes. Punctuation. | | |
kh1 | 3821f09ddd1 | Do not write on every uninstall, just write once. | | |
kh1 | 7269271c476 | Rollback a installation needs to update the components.xml.
Review-by: tjennsen | | |
kh1 | 89a36373045 | Uninstall not yet installed replacement removes the original.
Review-by: tjennsen | | |
kh1 | 919c7a85ff9 | Merge branch 'master' into refactor
Conflicts:
installerbuilder/libinstaller/copydirectoryoperation.cpp | | |
Maurice Kalinowski | 8ea28002ec2 | rewrite CopyDirectory operation
- was not copying subdirectories correctly
- no need to create a separate task, as o... | | |
kh1 | e66b36f0094 | Remove superfluos template. | | |
kh1 | 68d3d042d18 | Use QList instead of QVector to be consistant. | | |
kh1 | 24d09adc1b3 | Fix broken initial check state for updater mode. | | |
kh1 | 8f61d171376 | Basic implementation of replace, might need some updates.
Review-by: tjennsen | | |
kh1 | 23cb0b82ab1 | Only in case we run the installer use metadata as source. | | |
kh1 | 826e263f06d | We need to resolve updater components in a different way.
Since we store possible dependencies in the private class,... | | |
kh1 | e451c7ffe74 | Style changes. | | |
kh1 | 7fefa88a7d3 | Fetch the list of components earlier. No need to do it twice. | | |
kh1 | 91949fd6f15 | Add comment. | | |
kh1 | 6855c777020 | Reorder. | | |
kh1 | d755e98921c | Write the packages to disk as soon as possible. | | |
kh1 | 83761a265c0 | Make use of convenient function. | | |
kh1 | 2e56c8fb843 | Style changes. | | |
kh1 | 355a4592de6 | Add convenient function. | | |
kh1 | e465307394d | Use the now stored component name. | | |
kh1 | 42daaf56e3f | Updates are all checked by default. | | |
kh1 | 653b31a19bf | Always add the create target dir operation.
The installer warns explicitly about the existing folder,
installation e... | | |
kh1 | ddc467a72dd | Handle virtual components differently.
Review-by: tjenssen
Checking/ unchecking a virtual component does not modify... | | |
kh1 | 320b11e3178 | Add convenient function. | | |
kh1 | b7ed7d5ced9 | Force clear of installed packages.
We need to ignore a possible existing components.xml
and it's content, otherwise ... | | |
kh1 | a8ceaf8a17f | Add convenient function to clear the installed packages list. | | |
kh1 | 14db28b76d3 | Hide the cancel button once we leave.
This just happens on OSX, as there by default the
cancel button is hidden. We ... | | |
Tim Jenssen | 92d07bf5a37 | m_name is now m_componentName on the component private class | | |
kh1 | 7c34d49935f | Throw if we are the installer and find a binary data file.
Otherwise we might write out compressed resources in case... | | |
kh1 | 5f74b98ebeb | We need to fetch as long as we got packages.
In case we could not reach the server, we never would
fetch again when ... | | |
kh1 | 0d6367645db | Add convenient function. | | |
kh1 | 0fa4deea98e | Remove unused function. | | |
Tim Jenssen | 3382254edb1 | now we have a default tag which can contain true or script | | |
Tim Jenssen | 5dbc80df0a1 | removed unused autoselecton value
Review-by: kh1 | | |
kh1 | 0711e42ccda | Style changes. | | |
kh1 | e2e31f26bce | Keep the installer on the stack. | | |
kh1 | aad139ba7a0 | Init known operations as early as possible. | | |
kh1 | 351907678da | Adjust to fit the new component model. | | |
kh1 | a48a6eec657 | Fix copy and paste error.
Obviously we need to operate on the current model, not
on a specific one. | | |
kh1 | 6978a2469e4 | Keep the dialog on the heap to see actual setting changes. | | |
kh1 | e7e57db90a2 | Cleanup. Style changes. | | |
kh1 | 3023e6c7bb5 | Cleanup. Style changes. Adjust to new fetch updates code. | | |
kh1 | feba978e1a5 | Remove some superfluous includes. Style changes. | | |
kh1 | 5b7ae078e77 | Style changes. | | |
kh1 | 2d22daa969a | Write out the binary layout on request.
Saves a file resize operation in case we failed to
write the binary data file. | | |
kh1 | 76437b5a5ab | Print the error message as well. | | |
kh1 | 7ef286ebe91 | Make sure we update the button text map after language change.
Review-by: tjenssen | | |
kh1 | 4183e0c14d3 | Fix shortcut.
The "Next" button would have exact the same accelerator
as the license text, so now it should work for... | | |
kh1 | 13709b2a96b | Cleanup. Compile the missing parts as well.
Review-by: tjenssen | | |
kh1 | 75e611acc5b | Add missing files to make the testapp compile fully.
Review-by: tjenssen | | |
kh1 | f8fd66a05de | Cleanup. Style changes. | | |
kh1 | 3c5279eed15 | Cleanup. | | |
kh1 | c0dfe3819da | Merge branch 'master' into refactor
Conflicts:
examples/testapp/componentselectiondialog.ui | | |
kh1 | cb77c1aefbe | Reworked how the uninstaller gets written.
Make sure we do not append compressed resources to
the full uninstaller b... | | |
kh1 | ae0bf217186 | Add convenient function. | | |
Niels Weber | 81d2f50acb2 | fix typo
Fixes QTSDK-741 | | |
kh1 | c48df16782a | Get rid of mmap-ing at all.
It does not save that much memory as the resource is not
in the gigabyte range. This wil... | | |
kh1 | 8315621eb23 | Add convenient function. | | |
kh1 | 154540ee9f3 | Fix wrong logic which would result in multiple compress.
We need to compress the resource section only once, in
case... | | |
kh1 | b208a0fb4ce | Merge branch 'master' into refactor | | |
Tim Jenssen | e49bd8838db | now we are using the installerbase near to the binarycreator | | |
Tim Jenssen | 4e06c947904 | added a check that the component name can't contain a "-" | | |
kh1 | 5c6ab233652 | Make it compile again. Still does not work. | | |
kh1 | 37702a9650d | Cleanup, no functional change. | | |
kh1 | 93520f5d5c9 | Extend comment. | | |
kh1 | 79660376d12 | Remove now unsed files. | | |
kh1 | 6611265e1c2 | Compress the resources as well. | | |
kh1 | 1050881be24 | Reuse pointer. | | |
kh1 | b313324bbf4 | Write the operations in compressed form.
Save at least have the size of the binary data file. | | |
kh1 | 7fa58e3d7cc | Merge branch 'master' into refactor | | |
kh1 | b5613deaeb0 | Fix memory leak and resulting possible crashes.
Some of the owned opertions got added to the performed
list ad therf... | | |
kh1 | d2a29536182 | Replace expensive calls while using a constant. | | |
Tim Jenssen | 159e9778c54 | || was used and && was meant | | |
kh1 | 406263bbc7d | Fix a crash seen while accessing a deleted object. | | |
kh1 | dc8e2a6953c | Move this into a common shared place. | | |
kh1 | e3c9544ea28 | Merge branch 'master' into refactor | | |
kh1 | b44f3ba517f | Append some more data to prevent crash on Unix. | | |
kh1 | 7c82ebac67f | Add some debug output. | | |
kh1 | ebe439befe8 | Changed the way the parameters are passed.
Since we now do the rename on all platforms, pass the
full name always an... | | |
Tim Jenssen | a9c63f5aad6 | now operation runner can work with relative pathes | | |
Tim Jenssen | 665f9004859 | now qtcreatorpersistentsettings use absolutepathes everywhere | | |
kh1 | 7f81845dbd7 | Implemt writing out the complete binary data.
Note: Needs some testing on Unix systems. | | |
Tim Jenssen | 9af12cb2a4b | use QSettings instead of QSettingswrapper inside registerdocumentationoperation | | |
Tim Jenssen | d466de6c910 | now we are getting the error from the helpengine | | |
kh1 | 4f947be928c | We need to keep the binary file in memory.
At some later point we map the resources into memory,
but to access it th... | | |
kh1 | 7ccecfcb5ce | Preparation to support a decoupled data file. | | |
kh1 | 412fbc9875f | Keep the settings on the stack. | | |
kh1 | 1bcaecfa876 | The application object needs to be instantiated earlier.
Move this further up, since run checker accessed the qApp
o... | | |
kh1 | f70957cfdc0 | Merge branch 'master' into refactor | | |
kh1 | eb193817e87 | Tha application object needs to be instantiated earlier.
Move this further up, since run checker accessed the qApp
o... | | |
kh1 | ff292889dfc | Merge branch 'master' into refactor
Conflicts:
installerbuilder/installerbase/installerbase.cpp | | |
kh1 | 5f52ee825d6 | Use our own parser for arguments.
This fixes a; an crash seen on Linux and Mac caused
by two instances of Q{Core}App... | | |
kh1 | 7c6c7a9e223 | Cleanup. Remove superfluous member variable. | | |
kh1 | f8fc82dde2b | Remove superfluous includes. | | |
kh1 | 1e8e4c0d318 | Cleanup. Style changes. | | |
kh1 | 76628244d37 | Merge branch 'master' into refactor | | |
kh1 | c51f533bd65 | Cleanup.
Follow coding style better. Remove the preprocessor
magic and add some template functions to private class. | | |
kh1 | 45ba3560f5d | Always use TCP socket for communication. | | |
kh1 | 5a45cd44d7e | Make use of QSettingsWrapper. Remove from original source. | | |
Tim Jenssen | 08628a66d34 | added a break after toolchain map insertion | | |
kh1 | fc0613de6a0 | MAke use of QSettingsWrapper. Remove from original source. | | |
kh1 | 610f2476016 | Move QSettingsWrapper into it's own source files. | | |
kh1 | 425c086b6c8 | Trailing whitespaces... | | |
kh1 | 24acd764556 | Replace preprocessor magic with real implementations. | | |
kh1 | 8de5a35fa2b | Compile on windows. | | |
kh1 | ae08a80fdb8 | Merge branch 'master' into refactor | | |
Tim Jenssen | 26210ceceb5 | wrong commit | | |
Tim Jenssen | 966d9b1cbc8 | don't touch usersettings | | |
kh1 | 6c5f44a0d43 | Move the templates into there own source file. | | |
Tim Jenssen | 8b465cfc0f9 | qmake should have native seperators as well | | |
Tim Jenssen | 3d543079a9e | now qt creator 2.2 settings are ok in the installer case | | |
kh1 | a7d5b972bdc | Move to the only place where it's still used. | | |
kh1 | 5e31e24f240 | Move into there own folder. Cleanup. | | |
kh1 | e1aa4e8743d | Move into there own folder. | | |
kh1 | ad2b057c64e | Remove superfluous files. | | |
Next → |