summaryrefslogtreecommitdiffstats
path: root/tools/common
Commit message (Collapse)AuthorAgeFilesLines
* adding archives automatically to updates.xmlTim Jenssen2013-08-011-0/+23
| | | | | | | | | Task-number: QTIFW-210 Task-number: QTIFW-248 Change-Id: I6deeade922dfe796df4223dae9e4a4744b7d6724 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* fix online only installer creationTim Jenssen2013-08-011-1/+2
| | | | | | | | Task-number: QTIFW-319 Change-Id: I1f66f80b952742e7ff21ee6960120271e1579fb9 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* rename copiedArchives to copiedFilesTim Jenssen2013-07-302-3/+3
| | | | | | | | - they are including the sha1 files so the old name was misleading Change-Id: I6156b5590bc98ed319a093c82be32d9f79699d28 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* add a location hint to a warningTim Jenssen2013-07-261-1/+2
| | | | | | Change-Id: Ieaa10ff2e7f20dbdccbddf707923619756fea35e Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Lists packages not found that were given explicitly.Niels Weber2013-06-202-4/+13
| | | | | | | | | | When the user calls repogen or binarycreator using the include or exclude parameter, those packages that were given but could not be found in the packages directory are now listed in a warning. Task-number: QTIFW-233 Change-Id: Iaadd0a14d2c6d834daa6dbe956118d674e048fac Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Remove broken repogen -u functionality.Niels Weber2013-06-062-8/+2
| | | | | Change-Id: I5199dac61e05278e85ef44e72bd30dd281881d28 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Properly calculate the file size for symlinks.kh12013-05-301-2/+3
| | | | | | | | Task-number: QTIFW-137 Change-Id: I8a39094228bbb82ff99adfa814cda79634f71274 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* introduce installerscriptengineTim Jenssen2013-05-161-2/+1
| | | | | | | | | | | - 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>
* Merge remote-tracking branch 'origin/1.3'Tim Jenssen2013-04-111-0/+2
|\ | | | | | | Change-Id: Iabd77388834a27ace28587ded37c66b4c9a9cbd3
| * adding the OS attribute to be compatible with old sdksTim Jenssen2013-04-091-0/+2
| | | | | | | | | | Change-Id: Ia9d9e3371008c77cfcdac04c6da40cd4b9a34fb6 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Cleanup.kh12013-03-252-172/+123
| | | | | | | | | | | | | | | | | | Iterate just once and remove all tags from existing xml. Throw and print error if we can't open an supported archive. Refactor duplicated copy code - license,translation,ui files. Change-Id: I60e215fdc5591ff9dcb5509db74448298ec6b752 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Change function names (to what they actually do) and signature.kh12013-03-252-21/+19
| | | | | | | | | | | | | | | | | | The signature change is kind of a cosmetic one, but I think it is more obvious that passing a reference into a function might modify the parameter. Change-Id: I424c06ed7a449204bd0b243ff07c2d36669b7381 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Reuse existing make absolute.kh12013-03-252-4/+9
| | | | | | | | | | Change-Id: I9ad7287db0539e3fb6819220a3648244c10f1869 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Adjust to match coding guidelines.kh12013-03-251-9/+10
| | | | | | | | | | Change-Id: I1904dc6bd8706b7cf93d67cad497becbe480f1f2 Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Remove unused/ duplicated function.kh12013-03-252-21/+0
| | | | | | | | | | Change-Id: Ic4412244ee9c5e7ff1d96a1d5d86924c7e1fcd1a Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Small cleanup, no functional change.kh12013-03-251-12/+7
| | | | | | | | | | Change-Id: I339d99d86ab71af785a9fa7b221d255d0e1f1f9b Reviewed-by: Niels Weber <niels.weber@digia.com>
* | Use Q_GLOBAL_STATIC{_WITH_ARGS} following Qt coding conventions.kh12013-03-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | Move the regexp into its own compilation unit, so we get it only once and use a accessor to fetch the value. I guess we should do the same with the constants file, as all strings get compiled in the file including it. At least Ossi wasn't satisfied currently. Change-Id: Ic495a82f4b3cfe7810523b12cd3ef255eb15f149 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Introduce QInstallerTools::copyWithException functionTim Jenssen2013-03-142-53/+55
| | | | | | | | | | | | | | | | | | Also use this new function and clean up some output lines related to this. Change-Id: I74e9385b449bbca79b70fbd214c5fa75b419ea29 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* | Merge remote-tracking branch 'origin/1.3'Tim Jenssen2013-03-121-0/+10
|\ \ | |/ | | | | Change-Id: I4059551829cd42ebde7706057d8f4cca57901037
| * Fallback to Name if no DisplayName is providedNiels Weber2013-03-081-0/+10
| | | | | | | | | | | | | | Task-number: QTIFW-186 Change-Id: I0ad1bb5c28a40cba98850aba2d45b622891bcae6 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* | Fix various minor issues reported by krazy.Niels Weber2013-03-111-1/+1
|/ | | | | Change-Id: Icf975d0cc546ddc69e35b42a0d4d546e05bfe795 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* remove configfile use for repogenNiels Weber2013-02-251-2/+0
| | | | | Change-Id: I54b9e59ad5d9d4092996fe5fd58157631c552f3f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Some String fixes.Niels Weber2013-02-221-30/+30
| | | | | Change-Id: I58e00fe25f4b423b0c3517eff4f160706792ed6d Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Make Virtual and Default tag mutually exclusive.Tim Jenssen2013-02-201-2/+14
| | | | | | | | | | | Call m_vars value function directly. 1; To prevent recursive calls in case of key "Default". 2; To avoid the extra function call to fetch values from m_vars in case of other values set in the object. Change-Id: I8f40b53704d1f314071d7060d0c92829310c262d Reviewed-by: Tim Jenssen <tim.jenssen@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* Check for all needed tags in package.xml (missing release date).kh12013-02-011-7/+13
| | | | | | | Task-number: QTIFW-184 Change-Id: I5b5fdda255cffe3dcd5b46b8eb4334fa3410f869 Reviewed-by: Niels Weber <niels.weber@digia.com>
* Change copyright headers from Nokia to DigiaSergio Ahumada2012-12-212-36/+54
| | | | | Change-Id: Id55a71a6ee24b234739b6066e11e9c1f2e389f73 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Fix typoNiels Weber2012-12-141-1/+1
| | | | | Change-Id: I4b463cab41f6ed8ac04b06240e87fb255a5748b5 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Compress symlinks instead of resolving them.kh12012-11-081-10/+13
| | | | | | | | | | Task-number: QTIFW-136 Task-number: QTIFW-137 Do not advance the dir iterator while recursing thru directories. Change-Id: I14a69c7a154c9ff0268ad63c3a926cfefe4f4a11 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* Merge "buffered" calculateHash function and reuse.kh12012-10-011-6/+4
| | | | | Change-Id: I294038888bd47a139b8c3df68e298e66e5ec2202 Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* emphasize the dynamic values in outputstjenssen2012-10-011-23/+23
| | | | | | | | - this makes the debug output much clearer Change-Id: I580b3af1479e2e38c5a44b50628e4c71d6b5d45f Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* remove unused arch dependend filesize infotjenssen2012-09-281-11/+4
| | | | | | Change-Id: Ie1e187038378ddc6b4fa446b2f0b526cf65f40ad Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com>
* ignore <Name> tag and use the subdirectory nametjenssen2012-09-281-18/+19
| | | | | | | | - this makes moving of components much easier Change-Id: Ie26daedd5f293b361761e14e370d6b01b55c12b6 Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
* Compress all content, except already compressed files.kh12012-09-251-16/+33
| | | | | | | | | | | | | | | | Task-number: QTIFW-136 This is now needed as we put the version number in front of all content inside the data folder. This however results in unexpected file name changes once the files are put inside the repository and later are installed on the target system. If we keep all files in zips, we can version them and install it with the original name. Change-Id: Ia700386c3f77de33818395a07d418c5ec40a0a14 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com> Reviewed-by: Niels Weber <niels.weber@digia.com> Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
* remove the limitation that archivegen could handle directories onlyTim Jenssen2012-05-142-10/+5
| | | | | Change-Id: I5e7b6740d6df1b858cee091a1174e8fd64e477a7 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* use QHash where it is possibleTim Jenssen2012-05-032-5/+5
| | | | | Change-Id: I01edf5ee396ea61526dce52d7b7f4fd02721c220 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* use scCommaRegExp where ever we canTim Jenssen2012-04-271-1/+1
| | | | | Change-Id: I484e20fd53c2710595c5d4eb28878932eebafe35 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Change usage message to reflect changed config handling.Niels Weber2012-04-031-1/+1
| | | | | Change-Id: Ia3287e48faa5b0efa575602933a1d965081b6f28 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* let repogen validate install scriptskh12012-03-271-3/+12
| | | | | | Change-Id: I4d08e4c33c3d967d4cf45ef5cdb5f3c3e066cf67 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* small cleanup in debug outputNiels Weber2012-03-201-6/+3
| | | | | Change-Id: Ia74a334d5c08f9bf83ca20d003cf3b8a83e2776b Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Improve usage output formatNiels Weber2012-03-201-2/+3
| | | | | Change-Id: Ide21fa802060593c657491861f043ac53c0bb701 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Reorganize the tree, have better ifw.pri. Shadow build support.kh12012-03-192-0/+699
Change-Id: I01fb12537f863ed0744979973c7e4153889cc5cb Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>