2129 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
785184ec7e
Merge pull request #137 from traintastic/contributors-readme-action-Y_DVyvi0k2
docs(contributor): contributors readme action update
2024-06-16 12:28:21 +02:00
github-actions[bot]
1ee66fe4d6
docs(contributor): contrib-readme-action has updated readme 2024-06-16 10:27:03 +00:00
Reinder Feenstra
facc137d73
Merge pull request #134 from DrEVILish/patch-1
removed system requirement for lsb_release
2024-06-16 12:26:52 +02:00
Reinder Feenstra
cc65749094
CI: removed macos-11, added macos-13 2024-06-16 12:16:33 +02:00
Ryan Freeman
1f7e35be4f
updated removed distrib_id_like to distrib_id 2024-06-16 07:48:38 +01:00
Ryan Freeman
ffedda27ef
removed system requirement for lsb_release
removed system level requirement for lsb_release which isn't always installed on all Linux distros.

Cmake has an inbuilt function for getting host system-level environment variables.

https://cmake.org/cmake/help/latest/command/cmake_host_system_information.html#query-host-system-specific-information
2024-06-15 08:32:13 +01:00
Reinder Feenstra
86099cb4f8
readme: added shield for Spanish translation 2024-06-14 23:24:33 +02:00
Reinder Feenstra
ff6bd0b171 Added Spanish translation, thanks to Javier Martínez Porres. Thanks! 2024-06-14 00:04:11 +02:00
Filippo Gentile
dd5da3ed8c server: Z21 fix setting power state
- Power state must be set only once per change
- If change comes from Z21 it must not be mirrored back
- Z21 Emergency Stop state has implicit Power On
- Sending PowerOn to Z21 is equivalent to Traintastic Run state
- Sending EmergencyStop state to Z21 is equivalent to PowerOn + stopped
2024-06-12 18:33:36 +02:00
Filippo Gentile
80fdb71bd7 server: Z21 fix wrong parameter in message 2024-06-12 18:31:44 +02:00
Reinder Feenstra
71453f1743
Merge pull request #113 from gfgit/work/gfgit/recognize_output_state
Recognize output state
2024-06-10 22:36:21 +02:00
Filippo Gentile
77a74e0c45 server: method.hpp move includes to method.tpp 2024-06-10 00:13:08 +02:00
Filippo Gentile
01e31200e7 server: OutputMapItemBase split implementatio 2024-06-09 23:57:20 +02:00
Filippo Gentile
bc5c226d7f server: Output: remove onValueChangedGeneric scriptable attribute
- Lua scripts can use subclasses onValueChanged event
  since Lua has weak typing
2024-06-08 17:21:48 +02:00
Reinder Feenstra
7f7ea39105 train: added on_block_assigned and on_block_removed events. 2024-06-07 22:39:25 +02:00
Reinder Feenstra
854613405a fix: added missing luadoc 2024-06-07 22:14:28 +02:00
Reinder Feenstra
73151f8082 train: added on_block_reserved event. 2024-06-07 18:21:08 +02:00
Filippo Gentile
921cbb2d51 server: OutputMapItem prioritize actions full matches
- Action matches with "None" are now matched only if
  no full match is found
2024-06-06 00:21:15 +02:00
Reinder Feenstra
282a7651b7 train: fix: block enter events wasn't fired if train entered a reserved block 2024-06-05 23:58:50 +02:00
Filippo Gentile
d50c01df9f server: OutputMapOutputAction add const getters
- Remove some unused includes
2024-06-05 23:26:12 +02:00
Filippo Gentile
10b1993c2e server: TurnoutSingleSlipRailTile fix extra comma 2024-06-05 23:13:26 +02:00
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