| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This way we can treat all signal indices as local, without running into
problems with derived classes and their signal offsets.
Change-Id: I7a9d3b56edf46ff0736cdae5ebaa950adda4ee32
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
|
|
|
|
|
|
|
|
| |
MSVC 2015 doesn't like switch statements with nothing but a default
clause.
Change-Id: Iddce723fef54b61ae52d9256160c2fc44844bd0b
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
|
|
|
|
|
| |
Change-Id: I25e991215774f879ad3f948143d337eaf38aa4a7
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is still almost for free, and vastly easier to do than a solution
with plugins.qmltypes. The plugins.qmltypes format is tailored for
actual plugins, identifyable by a fixed URL. However, in the workflow we
suggest right now, the URL is controlled by the user. Resolving it from
the code would require the same guesswork as we have to do to resolve
Q_PROPERTY macros from the headers.
Change-Id: Iec916e7e91de096a38b61e6b76794b3dca3139d5
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I572342eb4952a6a0777a7503d374da6536ba052d
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
| |
Change-Id: I384cafc47b43cdc96d02cd98179503150af35758
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
|
|
|
|
|
|
|
|
| |
The standard doesn't seem to prohibit this and QStateMachine can
handle it.
Change-Id: Ia22f564c9657582199c3c67318fafd21ec4a8770
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
|
|
|
|
|
|
|
| |
We want to look the services up by their original name later.
Change-Id: I8a8061bccb064a779e50aefdc6cf348806b417cd
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
|
|
|
|
|
|
|
| |
ScxmlVerifier also doesn't allow for it.
Change-Id: I303bd6b81b4690acc2e7a2379e07b703e32a7a06
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I6df9f73965442b7866c8912ac8a0a0858640bb62
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
|
| |
Change-Id: I2e4e15496e7b2adc2f452745b1341f8fa0140b12
Task-number: QTBUG-51818
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Having UTF-8 literals in source code is notoriously brittle, as
compilers interpret them differently. Let's just write every byte or
qunicodechar as a number. That should remove any ambguity.
Change-Id: I3d79c7f15dc58a3b74b3a79e9186a612d38cb5a5
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
That way we ensure we really compile it in the same way.
This e.g. defines BUILD_QSCXMLC while building the test.
Change-Id: Iffe0e9f1d3cbd543bb69049bb889226212ea49a8
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I920128e27605487e68c72e2f59e1e53144621816
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Making the text codec explicit saves us from surprises on systems where
the system text codec is something else. MSVC only considers source
files as UTF-8 if they contain a byte order mark (BOM). As we write
UTF-8, we should also generate BOMs then.
Change-Id: Id2cc35ed4fb9e37bc567db09e18fb71ac4ce54b0
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ib6294916c57f79b1f28bec5c15f2a3c13291ef8b
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
Hex-encoding characters above 0xff is hard to do in a cross-platform
way. However, using C++11, we should be able to get portable wide
character literals.
Change-Id: I9b4faa7f443c00b43c8f15e5d1411b2d82609623
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
All the strings are converted to byte arrays already before.
Change-Id: Ibdd565e0560fe97ff9347f8153a03cd60c21a508
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
They might still hold some data that's not yet written to the device.
Change-Id: I7826437007640a011154b470951b96d58e716f76
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I68b78d2a186ea88d9aa5ff243d441b9890693a79
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Id86be4650d8c8fea6f96c8f1412564a7fc7084be
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
| |
Instead, make the data model a Q_PROPERTY of state machines. This makes
it much easier to independently instantiate state machines and data
models from QML and connect them via properties.
Change-Id: I62d712dd0ad7817c39432204ced431b8041e442d
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
We cannot generate Q_PROPERTY macros in those cases and we need to
escape them to generate C++ identifiers.
Change-Id: Ie4a35996786817819b7b2520ef060187ef8592bb
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
The macros are almost for free and improve tooling support.
Change-Id: Iddf4bcd69373633b667a56237e1b7c8433e08bfd
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I6014b117424779f51f28710b6df5635e41d22fae
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
This will be useful to generate scion tests
in qt mode to check if the generated files still compile.
Change-Id: I295a24e39752acc100dc983104e70eb4e4938940
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ia897e1e1b60ef243fc65cc2db312083aba5f66e6
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I9aa5d010c9e0245f3f5c9a604089e4556c76e9ea
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The version check is to make sure that the generated .cpp/.h files are
compiled against the same version of the module as the generator.
The disclaimer is to tell users that the .cpp/.h files are generated and
not intented to be edited.
Change-Id: I394311b7995ea6e502f1c65e0e11d130487bce0e
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|
|
|
|
|
|
|
|
| |
The full meta-object generation is replaced with the moc generator. This
gives a fully functional meta-object without any overhead during object
instantiation.
Change-Id: Ibf62a6f1bfc0873cd00dd2e4bbad38c8d165005a
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
|
|
|
|
|
|
|
|
| |
Also only generate the C++ declarations and definitions when in
"qt mode".
Change-Id: I799ce3efe23e046d26180d1a6e690755523dbed1
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: If100cc6cfeccc9ec4f13e03d69edfb7fad6bc2f6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|
|
|
|
|
|
| |
The data-model constructor will now do the work.
Change-Id: I32dfaf95b39a4e9dcd0b6f3598fe89fdf150c909
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I1da62c00865b955864df0326a247bafba6c763ff
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I9681d58857de9602b13f3a30fe3575a3495a9caf
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I56d706921c9e8048a17d0199c3dbcf406c3ef79c
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ie048b867b34a05f23b491c4149fc5e1cd0dbe67b
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I7a520a55c92114dbb4d0a553bb9e0ebf610b095e
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
state-machine --> state machine
Change-Id: Ia32d1acb6cbc5584c468a2b0d7b732bc871b8272
Reviewed-by: Martin Smith <martin.smith@digia.com>
|
|
|
|
|
| |
Change-Id: I6a45d1983eac090ce0371a7f3176947eb424857f
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a dedicated page for the qscxmlc tool, and link to it from the
landing page.
Descriptions for the command-line options and possibly other
information still needs to be added.
Change-Id: Idff444a652d3c50205be9f73af0f112f88d0969d
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
auto + QStringBuilder == std::bad_alloc.
Change-Id: Ie2e88864238daae5c06d8e2deb3b93c76c65e009
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
No initializer lists....
Change-Id: I3a86992cd7412cde9967d57d9ad68d7f6424c404
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
|
|
| |
Add missing #include <functional> for usages of std::function.
Change-Id: I92f13406eb629a98a950d48618c54ae19f682092
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I80893af6755ca9b731c0701a38b55b8596f84f94
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: Ie3137be6a02007510f2d7627dd378d7e8d0477c4
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I458da16ba900864d785eae97c0bc8ada890fd4ab
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|
|
|
|
|
| |
Change-Id: I12e9055e2c76db300a3343f34387a28a59874253
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
|