summaryrefslogtreecommitdiffstats
path: root/src/libs
Commit message (Collapse)AuthorAgeFilesLines
* Support stone age OS's as well, seems some users didn't yet upgrade.kh12012-11-081-2/+2
| | | | | | Change-Id: Ifdd5d62658c3258a8647f88bcab84555ee58419b Reviewed-by: Robert Loehning <robert.loehning@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Rewrote file type registering.kh12012-11-062-108/+128
| | | | | | | | | | | | | | Done now as described in MSDN. Make sure we honor the all users flag. Reset the file type only if there has nothing changed inbetween. Remove the ProgID entirely. Add the registered ProgId inside the common "Open with" menu as well. If passed a ProgId, use this one as key inside the classes hive. If not given, fallback to the more hacky *_auto_file naming scheme. Change-Id: I3f1c1a2301ad19b7fe215b65a8dd9c9419022f6c Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Force start menu cache update.kh12012-11-011-0/+10
| | | | | | | | | | Task-number: QTCREATORBUG-8145 Seems to be a known issue on at least Windows Vista. Change-Id: Ib3b6a405f704da991773cbe1ef3c16c1f763959c Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Robert Loehning <robert.loehning@digia.com>
* reduce warnings on old gcc versions (Mac used 4.2.1)Tim Jenssen2012-10-3114-18/+18
| | | | | | Change-Id: Icf60411ea67900b98fec91570b8799d65751f9ee Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add setting to be able to hide the repository settings tab.kh12012-10-303-1/+10
| | | | | | Change-Id: I5ab5ac7352e06f0b89ec8e59e6cdfcc5b7be81da Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Make sure we remove all directories we created, nothing more.kh12012-10-291-36/+69
| | | | | | | | | Special case on windows, if we created a folder inside the start menu, try as long as we fail to remove all empty directories. Change-Id: Idf67a43cbbcfc44746438c523a63def0e07e7de9 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Inline. Fixes the missing read from the server side (debug).kh12012-10-291-28/+26
| | | | | | Change-Id: Ifdefd483873fb77836c3566a0930432ad836f53b Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* MinGW: right fix for undefined _SH_DENYRWSergei Lopatin2012-10-291-3/+1
| | | | | Change-Id: I9e856826e34b1a764eb4dcd1c690d99e56559c41 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* MinGW: fix constness for CByteDynBuffer::operator Byte*Sergei Lopatin2012-10-261-1/+1
| | | | | Change-Id: I45ee3a3df3755537f063277b9070c1eab55edcc2 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* MinGW: fix undefined _SH_DENYRWSergei Lopatin2012-10-261-0/+3
| | | | | Change-Id: I5c9535699182bb54dc9f5355c0d41fd42984dca8 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* MinGW: fix include namesSergei Lopatin2012-10-262-4/+4
| | | | | Change-Id: I14fe622121fe8bd859afdb256175d5889c8b34bc Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix warning.kh12012-10-261-0/+3
| | | | | Change-Id: I9ff50bf366c34467eaac8774b114e4d4acb3dca5 Reviewed-by: Niels Weber <niels.weber@digia.com>
* MinGW: fix casting wchar_t* from QStringSergei Lopatin2012-10-263-4/+4
| | | | | Change-Id: I89e5ae0dd83862077c6a0fa3e20f159c40213af7 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix freeze after rejecting UAC account (check GetLastError()).kh12012-10-252-31/+33
| | | | | | | | | | Fixes too the case with runing a shared build. Since the environment is not shared, we would not be able to load missing libs, thus failing to start the server and endless loop the wait for the servers connection. Change-Id: If4c50783eb86488b3c2e0a92357750d9c17e7750 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Rewrite to use Qt functions to create the shortcut.kh12012-10-251-54/+42
| | | | | Change-Id: Ic6dbc9bf228689c183385fba5ae600555442ba11 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* If an operation fails try again with admin rights.kh12012-10-251-0/+5
| | | | | | | | | | Some operations, e.g. writing shortcuts, might fail cause per se they dont need admin rights. On windows we could install for all users requiring the operation than to write to an system folder with admin rights. Take that into account. Change-Id: I4b265dbc83e75378bc35a7ac5aa617d64af3e5c1 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Have a new class to control user set value access.kh12012-10-259-180/+338
| | | | | | | | 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>
* Show horizontal scrollbar when the text is too wide to fit.kh12012-10-191-1/+1
| | | | | | | | Task-number: QTIFW-142 Change-Id: Iaa57d64700d100b360d557b0a5bdf63c5e223198 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Wrong position of back button and missing window icon.kh12012-10-187-9/+11
| | | | | | | | | | Task-number: QTIFW-44 Task-number: QTIFW-158 Removed some leftover code that breaks the wizard layout. Change-Id: I9cdaa6a970c87236d5ee33ec93afe73e3201e869 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add data to the cryptographic hash while downloading.kh12012-10-175-201/+114
| | | | | | | | | | | Task-number: QTIFW-10 Add the data on the fly, fixes re-reading the whole file to compute the checksum. Change-Id: I764019ab051e1faef2868d13cb17da101fad2fa8 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* remove unused valueNiels Weber2012-10-151-1/+1
| | | | | Change-Id: I7494eb48117d458c8ac3ffedd22bcf578671553e Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Update uninstaller creation on Mac to work with separate installer dataPasi Matilainen2012-10-151-0/+43
| | | | | | | | | | | | Installer data is stored in a separate file on Mac, and writeUninstaller must be updated to understand that fact. To simplify code, the uninstaller magic marker is also stored in a separate data file. Also fixed writeUninstallerBinary to write the operations start and end values that are part of the data header. Change-Id: I3ee5d1eaa0542d6187a587fb72165c3a5b7306ec Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix error message CopyDirectoryOperation overwriteAndreas Holzammer2012-10-091-2/+4
| | | | | | | | | Error string did not match the actual expected parameters. Also respect column count. Change-Id: I3978d597697517ef4164d67f8d195f988e70f1d9 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Add optional overwrite parameter to CopyDirectory operationAndreas Holzammer2012-10-081-6/+26
| | | | | | Change-Id: I9228805e179403fe1ac1be9390947223880a67eb Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Add type to RegisterQtInCreatorQNXOperationAndreas Holzammer2012-10-081-3/+4
| | | | | | | | | | add the version type to the RegisterQtInCreatorQNXOperation parameter list. Change-Id: I8b606f3059f821811fa0aad3ec77cb97c305fcb5 Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Rename QNX NDK to SDKAndreas Holzammer2012-10-081-2/+2
| | | | | | | | Change-Id: Ib3ce025798de5f612159c6a1360587ec3f4b1d4c Reviewed-by: Frank Osterfeld <frank.osterfeld@kdab.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Only increment the counter if we where successful.kh12012-10-081-8/+8
| | | | | Change-Id: I54a01b2b444dd27ac783e8ab3729faa6dfacb8e1 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix naming.kh12012-10-012-5/+5
| | | | | Change-Id: Ice29a1bed7bc78fbee522fab942ff3858a70be9c Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Merge "buffered" calculateHash function and reuse.kh12012-10-017-46/+15
| | | | | Change-Id: I294038888bd47a139b8c3df68e298e66e5ec2202 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Sort the child components.kh12012-10-012-2/+11
| | | | | | | | | | | The higher the value, the higher up in the list the component is ordered. Currently we handled it the opposite, thus we had to assign every component a value to get sorting work. Change-Id: I6003cb95b69ba4160eb822565edf120dd0f0543f Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Iikka Eklund <iikka.eklund@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* no matter which verbose mode - warnings should be showntjenssen2012-10-012-1/+6
| | | | | | | | | - and creation of the exception shouldn't write the warning - this should be happen in the catch block Change-Id: I574c77fab42845079bda7c0d57c4a4a0bdbe1e7f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix filter list handling in qtpatchoperation.cppIikka Eklund2012-09-281-4/+6
| | | | | | | | | | | | Fix a bug in filter handling. If no filters were given it caused all files to be included which was not the original intention. Added a check if no filters given then do not even try to search files by type. Change-Id: I2ceb83611c1c9a4a9f8bf58da0673c963dd4ae0c Reviewed-by: Iikka Eklund <iikka.eklund@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* installer: fix replacing executable name in MacTeemu Katajisto2012-09-281-1/+1
| | | | | | | | | | | | Installer executable filename does not have suffix so use the whole file name as search string when updating the maintenance tool Info.plist file. Task-number: QTBUG-26900 Change-Id: I8fd7c981fa9490fc1882b78ec08da81c59dc7428 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* remove unneeded RegisterDocumentationOperationtjenssen2012-09-284-214/+0
| | | | | | | Change-Id: I2e305383b6fe9d1578059ba8887a520874e04f10 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* remove unused arch dependend filesize infotjenssen2012-09-283-50/+6
| | | | | | Change-Id: Ie1e187038378ddc6b4fa446b2f0b526cf65f40ad Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Incorporate following changes to support Qt5.kh12012-09-268-16/+153
| | | | | | | | d5e0dd38ead398d5be8126b4f21c0a50b7b61b17 72000567377d52d5d6e0db2b5d5b95407d85bbc1 Change-Id: I413f6f0ace095dc0d4b375cf392f8878e97ac27c Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Fix Mac Qt framework id changingTeemu Katajisto2012-09-251-1/+1
| | | | | | | | | | | Fix the case where Qt framework was not udpated with install_name_tool if the framework name contained other numbers than 3 (e.g. QtV8 and QtQuick1). Change-Id: I189c5d650982263ff27a3e18a2e0bd98983c5ce2 Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Added file mask feature into qtpatchoperationIikka Eklund2012-09-252-2/+36
| | | | | | | | | | | | | | | | | | | Added option to use file masks in files-to-patch-* to ease maintenance. E.g. to include all .prl files for patching you can add the following line into files-to-patch-* *.prl And the qtpatchoperation will then recursively search and patch all matching files under the base directory. Multiple file masks can be added on separate lines in files-to-patch-*, E.g. *.prl *.la *.pc Change-Id: I9c120b3ffb1f9f308f0c10f40b4a71ac46c84bc3 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Simo Fält <simo.falt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Update binary patcher functionality on MacIikka Eklund2012-09-253-7/+31
| | | | | | | | | | | | | | | | | | | Use regular expression to find match from "otool -l" output. Previously the patcher relied on: - Pre-determined indicator to find match from "otool -l" output. - That the Qt was configured without "-no-rpath" option which is not always the case. This change uses regular expression to find Qt library matches from "otool" output. Now the Qt can be compiled with or without "-no-rpath" option and does not rely on pre-determined indicator what to match from "otool" output. Change-Id: I0aa581e6f9faec621bed29cdcf9ef4290cd514cf Reviewed-by: Simo Fält <simo.falt@nokia.com> Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Revert "Fixes required for errorless MinGW-w64 compilation are done."kh12012-08-2245-117/+91
| | | | | | | | This reverts commit 9cad5d54cf0d78e92b4ee831299d83b657f42f2e as it breaks compressing the meta folder (Windows 7, VS 2010). Change-Id: I24d4ec37941487fc3cc998706d33cd5d8b9f011a Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Silence a warning.Niels Weber2012-08-171-1/+1
| | | | | Change-Id: I4ad459c74b555378f7069c35fbf3336930290a54 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Add new commandline argument.kh12012-08-174-21/+19
| | | | | | | | | | | | 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>
* Fixes required for errorless MinGW-w64 compilation are done.tjenssen2012-08-1045-91/+117
| | | | | | Change-Id: Iedc83b536df9f00e3737d7c92c4a57d6c0feb07a Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix broken build on MacIikka Eklund2012-06-271-0/+1
| | | | | | | | | | | | | On Mac the variable "scTargetDir" was not defined. This block of code was behind "#ifdef Q_OS_MAC" so other platforms were not affected. Added constants.h include for mac only to resolve the missing global constant. Change-Id: Ia8bef78d7c3015f283b202435d56d00187f3fb4f Reviewed-by: Simo Fält <simo.falt@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* remove unreadable throwIfNotOK methodkh12012-06-131-28/+35
| | | | | Change-Id: I5ae011a1151886fbf04eecb9ad202d5e0fd78ab0 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove unused methodTim Jenssen2012-06-132-18/+0
| | | | | Change-Id: I7022626546cdf7baba77134934ab6e4e240dedfe Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* no need to add the name of the class inside the classTim Jenssen2012-06-131-3/+3
| | | | | Change-Id: Iff878145c2dc5d4bec67d78a70bc8d2329db0c24 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* remove unneeded emit progresschangedTim Jenssen2012-06-131-1/+0
| | | | | Change-Id: I4399d19920e842d97a8543f8386c9f594bfb46e3 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add a comment why there is another percent pointTim Jenssen2012-06-131-0/+2
| | | | | Change-Id: I3e26de71cf8eebbdbf57cb2aa85c7e4b16782da1 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* add "Writing uninstaller." output to the uiTim Jenssen2012-06-131-0/+1
| | | | | Change-Id: Iabf4d9ea979689697da0fa01a0ddb5f9216ecd49 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>