summaryrefslogtreecommitdiffstats
path: root/src/scxml/qscxmltabledata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Replace Q_NULLPTR with nullptrKevin Funk2017-09-271-2/+2
| | | | | Change-Id: I6bee476e2f467b57ee8e4bba1e780cf79c7a460e Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Replace Q_DECL_FINAL with finalKevin Funk2017-09-221-12/+12
| | | | | Change-Id: I074b69d728dfb597f4eb68cf516a2591658303ba Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Replace Q_DECL_OVERRIDE with overrideKevin Funk2017-09-211-12/+12
| | | | | Change-Id: I68e08fd214ad3dbf4de9c9e23b1725950925c1fb Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Merge remote-tracking branch 'origin/5.8.0' into 5.8Liang Qi2017-01-041-0/+73
|\ | | | | | | | | | | | | | | Conflicts: src/scxml/qscxmlinvokableservice.cpp tools/qscxmlc/scxmlcppdumper.cpp Change-Id: Iadbe84d8eae7ccdf8dd9a0109af236a3747976c8
| * Doc: Edit the docs for grammar and styleLeena Miettinen2016-12-021-2/+2
| | | | | | | | | | | | | | Fix an external link and add \brief commands for properties. Change-Id: I84477f0cfddb27bbb4d807f8f1b000601af245c9 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
| * Add missing documentationUlf Hermann2016-11-301-0/+73
| | | | | | | | | | | | | | | | | | Most of the methods marked as \internal or excluded via "#ifndef Q_QDOC" so far are not actually internal as they are called from compiled state machines. We have to document them. Change-Id: Ib80268ae00f536e9ac2d337b565dcafbbdc31dea Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* | Resolve the mixup of various ID typesUlf Hermann2016-12-191-3/+3
|/ | | | | | | We should not compare instances of different IDs with one another. Change-Id: I830d747ffde4c162c73475a600cef23e10c898e5 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Further clean up qscxmlinvokableservice.hv5.8.0-beta1Ulf Hermann2016-10-271-5/+10
| | | | | | | | We can group the various parameters passed around between the factories into a struct and we can move some methods into the private interface. Change-Id: I579ced7d501bdb617d4aefd47ced49746c9a5b94 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Rename QScxmlParser to QScxmlCompilerUlf Hermann2016-10-141-1/+1
| | | | | | | | | It creates an executable representation from an XML description, so it is a compiler and not merely a parser. The name should reflect this. Change-Id: I459445706207b3afae64b3f803c9beae83114bb6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Simplify qscxmlexecutablecontent.hUlf Hermann2016-10-141-6/+8
| | | | | | | | | The only things we actually have to export are a few structs and typedefs. As we have to keep this binary compatible we should strive to make it as simple as possible. Change-Id: I54d365530800c86ecc3d859d6daea94e05b893a0 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Rename QScxmlExecutableContent::Instructions and make byte code constUlf Hermann2016-10-141-2/+2
| | | | | | | | | | "Instructions" was quite ambiguous as there are instruction IDs and instruction structs. It actually meant an array of IDs. The execution engine should never modify its byte code, so while we're at it, we can also make all relevant occurrences of InstructionID* const. Change-Id: I9370b07a5a9cdb8c7b41b23648fc1b8b2dea7dcd Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Replace Q_FOREACH/foreach with ranged-forErik Verbruggen2016-09-251-13/+13
| | | | | Change-Id: I7b4d13a49577a7d984727722ff2ae4458eab2d6e Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Change the type of generated states to "Synthetic"Erik Verbruggen2016-09-161-0/+3
| | | | | | | | This makes it possible to distinguish between "normal" external states and things like implicit initial states. Change-Id: Ifdecc2a18fee72d2b52c46348bb1c9b67e245716 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Remove remaining dynamic castsv5.8.0-alpha1Ulf Hermann2016-08-311-2/+2
| | | | | | | | We want to be able to compile without rtti, and we don't really need the dynamic casts anyway. Change-Id: I9b1cc4fd1974452198dac293ece56f10236a4ffa Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Don't return values by referenceJarek Kobus2016-08-231-17/+16
| | | | | | | Make some variables const Change-Id: I614dd2d0509a47b6a6da92f07f0d64027582157f Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Get rid of qt modeJarek Kobus2016-08-231-21/+2
| | | | | Change-Id: Id8cc29a9a27f571f063b1cec51e534a3c762f2c6 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Support <content expr="...">Ulf Hermann2016-08-191-0/+3
| | | | | | | | Previously, the expressions were never evaluated, but just taken as strings. Change-Id: Id506670cd0e954919941b5cf7c496b7c57f04711 Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Don't generate properties and getters for sub state machinesJarek Kobus2016-07-291-7/+0
| | | | | | | Now we have a generic API for it. Change-Id: I5e48f52b9d27ba3913db92ba238d64a732bb1bd8 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Replace the QStateMachine-based implementation.Erik Verbruggen2016-06-091-3/+1011
| | | | | | | | | | | | Under the 'hood a table-based state machine is now used instead of the QStateMachine. The advantage is that states and transitions are no longer QObjects but integers (so no (private) object allocations), and we're no longer hijacking the QStateMachinePrivate to work around some implementation details. Change-Id: I47ab47ab01cbb2204b9ca0e4cdd6a72faf724ce3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
* Unify Qt namespace declarationsUlf Hermann2016-03-301-1/+3
| | | | | | | | | Use QT_{BEGIN|END}_NAMESPACE instead of QT_USE_NAMESPACE as that puts any additional symbols into the Qt namespace rather than polluting the outer namespace. Also, add declarations where they were missing. Change-Id: I29a308ca62497ee613feca7355aa819be4fb6f51 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* Update license headersJarek Kobus2016-01-261-9/+27
| | | | | Change-Id: If100cc6cfeccc9ec4f13e03d69edfb7fad6bc2f6 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix licenses.Erik Verbruggen2015-11-171-17/+20
| | | | | Change-Id: I7a520a55c92114dbb4d0a553bb9e0ebf610b095e Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
* Split qscxmlstatemachine.h into separate files.Erik Verbruggen2015-10-061-0/+24
Change-Id: Ie3137be6a02007510f2d7627dd378d7e8d0477c4 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>