aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/common
Commit message (Collapse)AuthorAgeFilesLines
* Split compiler and runtime more clearlyUlf Hermann2019-07-116-1/+2243
| | | | | | | | Provide different export macros and different top level headers for each, don't include runtime headers from compiler sources. Change-Id: I7dc3f8c95839a00a871ba045ec65af87123154be Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Move the memory pool into the common codeUlf Hermann2019-07-083-1/+322
| | | | | | | We need it in both, the compiler and the runtime. Change-Id: Iffacb9d150bf9eef6ef477bfd427dbac9bf49359 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Increment private API version and move it into a separate fileUlf Hermann2019-06-243-0/+61
| | | | | | | | | The API version should be common to Qml and QmlCompiler and therefore cannot live in a header specific to Qml. Change-Id: I033d3925353e02e42886568ea91382a9f2ca2552 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* Simplify errors and diagnosticsUlf Hermann2019-06-142-0/+90
We only need two classes to describe all possible diagnostics: * A low-level private POD DiagnosticMessage. This is easily copied and passed around internally. It doesn't need to adhere to a stable API and it doesn't carry any extra baggage. * The high-level public QQmlError with its stable interface. This can internally also use a DiagnosticMessage as storage. Change-Id: I52be88d9b5d9855a661b8032b01eedb43a0fb0b3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>