1966 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
2887f96595 added catch2 v3.7.1 as submodule 2024-10-22 23:40:49 +02:00
Reinder Feenstra
ef01dad79d removed catch2 v2 2024-10-22 22:39:20 +02:00
Reinder Feenstra
c400b9f7ac Added simulation status icon to status bar
Only shown if simulation is active.
2024-10-22 00:21:51 +02:00
Reinder Feenstra
16c43ae171 converted classList to function, now includes can be in cpp 2024-10-21 23:51:01 +02:00
Reinder Feenstra
f00fcae099 cleanup 2024-10-21 23:21:41 +02:00
Reinder Feenstra
f8604cef93 lua: highlight pv global 2024-10-21 23:03:52 +02:00
Reinder Feenstra
a7edcc62a0 fixed MSVC C4267 warnings 2024-10-21 22:16:12 +02:00
Reinder Feenstra
abc37635c4 fix: QLatin1String not constexpr on windows 2024-10-21 21:49:15 +02:00
Reinder Feenstra
cd3ca21194 fix for Qt6 compatibility 2024-10-21 21:35:32 +02:00
Reinder Feenstra
281eee947e block: train can now be assigned by dragging it from the train list to a block 2024-10-20 23:00:03 +02:00
Reinder Feenstra
80027e689f luadoc: added persistent variable documentation 2024-10-13 11:36:21 +02:00
Reinder Feenstra
347b72b923 lua:pv: added len+ipairs() test 2024-10-12 23:25:52 +02:00
Reinder Feenstra
29d6718ef8 lua: pv: added pairs() support 2024-10-12 23:21:57 +02:00
Reinder Feenstra
57aa6b123e lua: added clear persistent variables toolbar action to script list 2024-10-12 22:05:26 +02:00
Reinder Feenstra
890249b677 fix: make sure stack index is abs 2024-10-12 13:52:55 +02:00
Reinder Feenstra
86aa49ea45 lua: persistent variables now supports tables 2024-10-12 10:55:54 +02:00
Reinder Feenstra
a720b794bc train: blocks now script readable 2024-10-12 10:52:20 +02:00
Reinder Feenstra
ae1902c18d lua: added clear persistent variables toolbar action 2024-10-07 23:52:54 +02:00
Reinder Feenstra
b7bc0acb51 fix: missing includes 2024-10-07 23:50:28 +02:00
Reinder Feenstra
0703a5cd5b fix: constexpr -> inline const (constexpr doesn't work for older compilers) 2024-10-07 23:15:13 +02:00
Reinder Feenstra
357a13ef98 fix: missing includes 2024-10-07 22:29:22 +02:00
Reinder Feenstra
46bf7183be test: lua persistent variables 2024-10-06 23:42:27 +02:00
Reinder Feenstra
de2823e65a lua: fix: use single lua value per vector property, else compares don't work 2024-10-06 23:24:18 +02:00
Reinder Feenstra
04b5f3475d lua: fix: use single lua value per event, else compares don't work 2024-10-06 23:21:00 +02:00
Reinder Feenstra
47485f7513 lua: fix: use single lua value per method, else compare don't work 2024-10-06 23:16:55 +02:00
Reinder Feenstra
515c96ddd2 lua: added persistent variable (pv) support
this enables saving state between script start/stop and world save/load
2024-10-06 23:08:14 +02:00
Reinder Feenstra
2d74852ca3 lua: added array's with enum/set names
to be used for testing if a metatable name is a valid enum/set
2024-10-06 23:01:07 +02:00
Reinder Feenstra
43ee9bfc0e added std::array overload for contains() 2024-10-06 22:51:14 +02:00
Reinder Feenstra
5a9efa3184 added: Object::getEvent() 2024-10-06 22:50:36 +02:00
Reinder Feenstra
18617eb8d3
Removed close world shortcut (ctrl+w/CMD+w)
see #174
2024-10-03 18:52:17 +02:00
Reinder Feenstra
03a10d367a linux: added inotify version of serial port list for systems without systemd 2024-09-25 22:20:47 +02:00
Reinder Feenstra
6aeeeafca4 luadoc: removed debug print() 2024-09-24 22:11:51 +02:00
Reinder Feenstra
0ebc1e7090 luadoc: fix property/method regex, didn't work for initializers used in (Object)VectorProperty constructors. 2024-09-24 22:11:42 +02:00
Reinder Feenstra
6640cec82f
Merge pull request #73 from gfgit/work/z21_pending_queue
Z21 pending request queue
2024-09-24 18:44:29 +02:00
Reinder Feenstra
11ca1b9efb
CI: update upload-artifact to v4 2024-09-18 21:46:27 +02:00
Reinder Feenstra
e8d2f55427
CI: switch back to upload-artifact@v3
v4 needs some more changes
2024-09-12 23:19:07 +02:00
Reinder Feenstra
a774eed13c
CI: updated upload-artifact and download-artifact to v4 2024-09-12 00:40:14 +02:00
Reinder Feenstra
e622f1d61e fix: load world dialog wasn't closed if connection was lost 2024-09-05 23:22:34 +02:00
Reinder Feenstra
5301752ed6 Implemented DCCext defaults for 3-way and slip turnouts
based on YaMoRC YD8116 (there is no standard yet)
2024-09-04 18:29:13 +02:00
Reinder Feenstra
e51b3c03a9 Added unit attribute 2024-08-29 23:34:42 +02:00
Reinder Feenstra
72501c37e4 Implemented min/max attribute for property spinbox 2024-08-28 23:58:32 +02:00
Reinder Feenstra
63e5cb1b27
Merge pull request #166 from gfgit/work/gfgit/revert_z21_unneded_fix
Revert "server: Z21 ClientKernel fix crash on disconnect"
2024-08-17 20:35:01 +02:00
Filippo Gentile
943c52fc45 server: Z21 SimulationIOHandler updateChecksum() 2024-08-17 13:35:20 +02:00
Filippo Gentile
2c7f27370e seerver: Z21 SimulationIOHandler cache Decoder state
- Decoder state is cached to allow replying correctly
- Cache uses LanXLocoInfo so it does not need conversion upon sending
2024-08-17 13:00:09 +02:00
Filippo Gentile
e4c3aab43e Revert "server: Z21 ClientKernel fix crash on disconnect"
This reverts commit 5a291f0c914c904c98dcd3d1f0434f05bf31f39e.

This workaround is not needed anymore after commit
161a0e9521bc3ef30c799234d3f82d84b971afdd
2024-08-17 12:27:11 +02:00
Reinder Feenstra
dc4a6eaee6
Merge pull request #164 from gfgit/work/gfgit/fix_remove_from_active_train
server: TrainVehicleList strich checks on add/remove
2024-08-16 23:53:05 +02:00
Filippo Gentile
2f1bfe49cc server: TrainVehicleList strich checks on add/remove 2024-08-16 16:37:38 +02:00
Reinder Feenstra
e6da53c55e manual: added start server/client instructions for Linux, see #158 2024-08-06 09:28:57 +02:00
Reinder Feenstra
2e429d2e65 fix: addToWorld was called instead of destroyed
thanks @gfgit for spotting it!
2024-08-01 23:14:04 +02:00
Reinder Feenstra
99a3fb56d9
Merge pull request #115 from gfgit/work/gfgit/path_release
Path reservation fixes
2024-08-01 23:09:18 +02:00