Filippo Gentile
29068af90f
server: OutputMapOutputAction add const
2024-06-05 23:05:14 +02:00
Filippo Gentile
81c068699f
server: OutputMap use new onValueChangedGeneric Event
2024-06-05 23:05:14 +02:00
Filippo Gentile
407c00d96b
server: Output add onValueChangedGeneric Event
...
- This event makes it easier to support subclasses
2024-06-05 23:05:14 +02:00
Filippo Gentile
05ac9db504
server: SignalRailTile reevaluate aspect on external change
...
Re-evaluate signal aspect to protect from accidental changes
made by the user from the command station or handset device.
2024-06-05 23:05:14 +02:00
Filippo Gentile
e5c88f6aa0
server: OutputMapSingleOutputAction, OutputMapPairOutputAction match
...
None
None means "any state is ok" so it should always match whatever
current output state is.
2024-06-05 23:05:14 +02:00
Filippo Gentile
c580f224bf
server: SignalRailTile fix infinite recursion on output state change
2024-06-05 23:05:14 +02:00
Filippo Gentile
bdd4816d7a
server: sync DecouplerRailTile and SignalRailTile with external state
2024-06-05 23:05:14 +02:00
Filippo Gentile
eb18c16b86
server: TurnoutRailTile update from Output state
...
Also adapt all subclasses
2024-06-05 23:05:14 +02:00
Filippo Gentile
37b485c7c4
server: OutputMap refresh matching action on Output state change
2024-06-05 23:05:07 +02:00
Filippo Gentile
b8a653e7af
server: OutputMapItem support parsing current output state
...
Parse current output state as received from command station
and use it to match an output action
2024-06-05 22:39:48 +02:00
Reinder Feenstra
e0203b626f
Added "setup using wizard" to add interface menu.
2024-06-05 18:44:51 +02:00
Reinder Feenstra
6448ce1251
luadoc: added see also section to enum/set with links where they are used
2024-06-04 23:34:07 +02:00
Reinder Feenstra
f97b0f70e7
luadoc: added documention for train on block entered/left events
2024-06-04 23:34:06 +02:00
Reinder Feenstra
2634056baf
fix: added missing include (for Release builds)
2024-06-04 06:42:06 +02:00
Reinder Feenstra
c18dcb570e
fix: block wasn't released if the train left the block before entering the next block
2024-06-03 23:12:01 +02:00
Reinder Feenstra
11303d2f88
moved block+train entered/left handing to seperate class
2024-06-03 23:03:42 +02:00
Reinder Feenstra
7963b0bf4f
board: added on hover tooltip for tiles
2024-06-02 23:47:06 +02:00
Reinder Feenstra
1296484ab2
train: added on_block_entered and on_block_left events.
2024-06-02 16:13:25 +02:00
Reinder Feenstra
07f449f024
lua: made block name readable
2024-06-02 12:23:15 +02:00
Reinder Feenstra
2e5784412e
luadoc: added menu to left sidebar
2024-06-02 12:22:11 +02:00
Reinder Feenstra
801ff9f540
removed duplicate include
2024-06-01 23:22:33 +02:00
Reinder Feenstra
65807f3ee7
fix: exception could be thrown in serial iohandlers
2024-06-01 23:21:43 +02:00
Reinder Feenstra
ff7e2971fc
board: rail sensor can now be triggered by clicking (in simulation mode)
2024-06-01 00:45:25 +02:00
Reinder Feenstra
fb8ef340de
added missing board toolbar icons
2024-05-29 22:30:30 +02:00
Reinder Feenstra
a8a9ef489d
dcc-ex: added port to wizard, can be customized
2024-05-29 21:23:36 +02:00
Reinder Feenstra
67d6bbe662
Merge pull request #128 from traintastic/120-add-dcc-ex-over-tcp-support
...
Added DCC-EX over TCP support, closes #120
2024-05-29 17:59:19 +02:00
Reinder Feenstra
b35fa303ad
merged train and rail vehicles dialogs into one
...
just a quick implementation to test if gives a better UX
(position/size save/restore doesn't work yet, should extend SubWindow, but that needs a refactor then)
2024-05-27 23:12:57 +02:00
Reinder Feenstra
90b8e8fc9a
Merge remote-tracking branch 'origin/master' into 120-add-dcc-ex-over-tcp-support
2024-05-27 22:49:22 +02:00
Reinder Feenstra
b3f52245e3
French translation improvements (received by email)
2024-05-24 22:18:55 +02:00
Reinder Feenstra
0d409dfa23
fix: output map addesses min/max wasn't set on interface assignment
...
Caused address to become one due to Qt's spinbox, see #112
2024-05-22 20:28:10 +02:00
Reinder Feenstra
f1287a679b
output keyboard: re-implemented output used indication
...
Closes #130
Got lost in #95
2024-05-22 00:01:45 +02:00
Reinder Feenstra
5550398095
Merge pull request #129 from gfgit/work/gfgit/z21_dccext_info
...
server: Z21 add LanXExtAccessoryInfo message
2024-05-20 21:38:11 +02:00
Filippo Gentile
62a66db1c1
server: Z21 LAN_X_EXT_ACCESSORY_INFO use db2 for logging
...
Same as already in use in other message
2024-05-20 17:04:45 +02:00
Filippo Gentile
d11c40a30f
server: Z21 add LanXExtAccessoryInfo message
...
- Support querying and obtaining DCCExt accessory status
2024-05-20 14:48:42 +02:00
Reinder Feenstra
09c86cb1cc
Merge pull request #126 from gfgit/fix_z21_turnout_info
...
server: Z21 fix LanXTurnoutInfo member order
2024-05-20 08:35:13 +02:00
Filippo Gentile
8c5b82db83
server: Z21 fix LanXTurnoutInfo member order
...
Most significant address byte is first (DB0)
2024-05-20 01:29:45 +02:00
Reinder Feenstra
a252fd2695
docs: made a start with the developer documention to explain the inner working of Traintastic
2024-05-18 00:35:22 +02:00
Reinder Feenstra
445120fcbf
Merge pull request #122 from gfgit/work/gfgit/more_span_usage
...
More tcb::span usage for Attributes::addValues()
2024-05-10 19:16:26 +02:00
Reinder Feenstra
b7fcfd0897
Revert "CI: removed ubuntu 20.04, added ubuntu 24.04"
...
This reverts commit d15eec70566b86f0c3ab1a940ca6b562701fdb9c.
Ubuntu 24.04 image is not yet public...
2024-05-10 19:10:28 +02:00
Reinder Feenstra
d15eec7056
CI: removed ubuntu 20.04, added ubuntu 24.04
2024-05-10 17:33:36 +02:00
Filippo Gentile
67d388fb4f
More tcb::span usage for Attributes::addValues()
...
- More could be done for OutputMap
2024-05-10 12:20:29 +02:00
Reinder Feenstra
29c289108c
CI: use ccache for all raspberry pi builds
2024-05-09 23:45:46 +02:00
Reinder Feenstra
af3b491c32
switch output map now lists off/on instead of false/true
2024-05-09 23:33:41 +02:00
Reinder Feenstra
d335fa89a9
CI: enable ccache for rpi arm64 server build
...
A test to check if there is a speed gain
2024-05-09 19:25:32 +02:00
Reinder Feenstra
cdbd8a637c
OutputMapBase: removed unused m_keys
2024-05-09 16:16:31 +02:00
Reinder Feenstra
1325f78d42
Merge pull request #124 from gfgit/work/gfgit/missing_z21_packed
...
server: Z21 Messages add missing ATTRIBUTE_PACKED
2024-05-08 21:00:22 +02:00
Filippo Gentile
ee823a4227
server: Z21 Messages add missing ATTRIBUTE_PACKED
2024-05-07 17:19:00 +02:00
Reinder Feenstra
ec829127a4
fix: client edit/trottle dialogs weren't closed when object is deleted on server
...
fixes #121
2024-05-06 08:51:01 +02:00
Reinder Feenstra
49ff1cb553
board: added switch tile
2024-05-05 18:28:43 +02:00
Reinder Feenstra
423cb9bb65
Updated contributors-readme-action to v2.3.9
...
see https://github.com/akhilmhdh/contributors-readme-action/pull/77
2024-05-03 18:15:42 +02:00