aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/api/project_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Apply 'modernize-pass-by-value' fix-itIvan Komissarov2020-01-281-2/+2
| | | | | | | | | Also, treat this warning as error This amends 936eee744db9b2fd1b9b66d168d80a113002aad2 Change-Id: I372c3b11baa08375d581052282f4546b2ba2e057 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Replace QList<Internal::ResolvedProductPtr> with QVectorIvan Komissarov2020-01-061-6/+6
| | | | | | | | QList is inefficient with shared_ptr and results in an extra allocation per each element Change-Id: I5d5492d855a233e8aec3f09a67dd4b83fb0d2c13 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* API: Do not try to do manual book-keepingChristian Kandeler2020-01-061-6/+1
| | | | | | | | | | | | | | | ... when adding/removing files to/from a project. We originally implemented this so that IDE users could edit their project files via the UI without having to re-resolve the project, thus saving time. However, great care has to be taken to ensure that we really do the same thing as would happen on a proper resolve step, and we do not seem to manage, as demonstrated by the crashes I have observed recently when removing files via Qt Creator. So let's play it safe and remove the shortcut. Change-Id: I38e7dcdba0aa129f43feec084ae140e1a57d2ee9 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Make lists of SourceArtifactPtr vectorsJoerg Bornemann2018-04-261-1/+1
| | | | | | | The value_type is not suitable for QList. Change-Id: I5a0f238838a90fa9ca942711ce9376ce6b832d8e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* API: Make transformer data availableChristian Kandeler2018-04-201-1/+7
| | | | | | | | | Expose transformer information such as the input and output lists and the associated commands to interested parties. In particular, generators might have a need for that. Change-Id: I18f60e3a6fcb7792638b5786dde50e8722d7f417 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Change style of #includes of Qt headersJake Petroules2017-01-041-2/+2
| | | | | | | | | | | | | | | | By using q<lowercase>.h headers, we become more bootstrap-friendly, as no full syncqt is required any more. In the same go, prefix all includes with the module name. This helps grep-based analysis of which parts of Qt are used and where. It's also consistent with Qt's public headers (where syncqt enforces the style). Testdata and examples are excluded from the change, as they are not relevant for bootstrapping. Change-Id: I9539b1d795e87fca6e5fc6c91acbb775b79208d9 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update license headersIikka Eklund2016-08-291-14/+23
| | | | | | | | | | Patch-set 1 includes *.h Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ib6cf3ac47dfba6dff262fded44bc952aef3bda8b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* API: Add installation info to ArtifactDataChristian Kandeler2016-08-031-1/+3
| | | | | | | | | In turn, remove the existing crutch that was introduced before qbs.installRoot existed. Task-number: QBS-906 Change-Id: I98581dde1eb6ba0b649525f9277804eca4610de0 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* API: Have only one data type for artifactsChristian Kandeler2016-08-021-1/+1
| | | | | | | | There's a lot of redundancy between SourceArtifact and TargetArtifact. Further API clean-up will build on this merged type. Change-Id: I6dc16a3232ddc181d576ee8e8b9ee51c610b0741 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Replace 'the Qt build suite' with 'Qbs' in copyright notices.Jake Petroules2016-06-061-1/+1
| | | | | | Change-Id: I885d94bb14b325dc36767a840ebdb0be1fb59dd2 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Introduce new class SourceArtifact.Christian Kandeler2015-03-201-0/+1
| | | | | | | | So the API can export information about the file tags of a source file. Change-Id: I60f6f72abbd98d79446bec260131289aa0e3cda8 Task-number: QBS-762 Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
* update license headersJoerg Bornemann2015-03-021-2/+2
| | | | | Change-Id: I36d825db3a5ef32c162c3063aab1e8a1f2696f4f Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* Merge branch '1.3' into 'master'Christian Kandeler2015-01-281-6/+6
|\ | | | | | | | | | | | | | | | | Conflicts: doc/reference/jsextensions/jsextensions-general.qdoc src/lib/corelib/language/evaluatorscriptclass.cpp src/lib/corelib/language/evaluatorscriptclass.h Change-Id: Ic9b77b56e8fc8bf93e0a553930757de8c93fed22
| * Update LicenseEike Ziller2015-01-261-6/+6
| | | | | | | | | | Change-Id: I092fca9f950de1ba38826c33b155f86feae2770b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
* | Merge remote-tracking branch 'origin/1.3'Joerg Bornemann2014-11-031-0/+4
|\| | | | | | | | | | | | | Conflicts: tests/auto/api/tst_api.h Change-Id: I1f9cb9105f4ed2c428729810b7a7079d11e90957
| * Make information about commands available via the API.Christian Kandeler2014-10-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Users can supply a file path and a tag, and they will get the list of commands that are run to create an output file with the given tag from the given input file. This information is needed by Qt Creator. Change-Id: I36f92c200e78831733fccc4f7b5f54b8218d6311 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Merge remote-tracking branch 'origin/1.3'Joerg Bornemann2014-10-161-7/+8
|\| | | | | | | | | | | | | | | Conflicts: qbs_version.pri version.js Change-Id: I645b2f37bae9d36d4bca54b267d57df8b0b7fd21
| * License update.Eike Ziller2014-10-161-7/+8
| | | | | | | | | | | | | | Add LGPLv3 option. Change-Id: I8a63ad5e46a2701032b2103f791df4dec5b707e8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | Allow products to opt-out of the normal build process.Christian Kandeler2014-10-021-1/+1
|/ | | | | | | | This feature can be used to implement "action targets". Task-number: QBS-262 Change-Id: I3669786aa722ba294ca75735f5afefc0c509e1cf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* API: Do not check for file existence when removing.Christian Kandeler2014-09-111-1/+1
| | | | | | | The caller might have removed the file from the disk already. Change-Id: I86d079c008b922e7594e7db22638a0d36b71eb6f Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* API: Be smarter about adding files already matched by wildcards.Christian Kandeler2014-07-231-0/+1
| | | | | | | | | | | The project file does not need an update in this case. Actually, that would even lead to an error on the next project resolving, as the file would then be listed twice (once explicitly and once matched by a pattern). Task-number: QBS-653 Change-Id: If56969c36d1bba3f9194621690c2e1f25229ee9e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Speed up project re-resolving by skipping the loading from file.Christian Kandeler2014-07-161-1/+1
| | | | | | | | When re-resolving an existing project, the build graph already exists in memory and does not have to be read from disk. Change-Id: Icf5cf7396a859d4ee1c495b8cc4fa7a1ee61ff1d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce a private header class for qbs::Project.Christian Kandeler2014-07-151-0/+119
This is needed for a follow-up patch. Change-Id: Ica5b5f42028020595e7362953879a51e9ca2e28e Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>