1603 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
f828066cf2 WIP output system refactor (very big commit...), see #95 and #21
Summary of the changes:
- Output channel is now an enum
- Support for different output types: single/pair/aspect
- Outputs are no longer created on the interface and then assigned to a turnout/signal, instead a interface+channel+address is selected for a turnout/signal. Up to eight address can be used.
- Removed some network commands, can now be handled using the generic property/method system.
- Added support for DCCext (RCN-213) for LocoNet, DCC-EX and Z21.
TODO:
- Test/fix MarklinCAN/ECoS.
- Test/fix load old world files.
2024-02-12 23:34:16 +01:00
Reinder Feenstra
faf1de8b5c fix: VectorProperty changed size on constucting 2024-01-31 23:29:53 +01:00
Reinder Feenstra
2e98e3931f InterfaceItemNameLabel now handles DisplayName attribute changes 2024-01-22 22:34:05 +01:00
Reinder Feenstra
4497d75e7a added write support for VectorProperty 2024-01-22 22:33:00 +01:00
Reinder Feenstra
f26513ca55 luadoc: added DCCext signal example 2024-01-04 00:36:51 +01:00
Reinder Feenstra
298e320233 luadoc: improved lua code highlight 2024-01-04 00:36:19 +01:00
Reinder Feenstra
9594ad16f4 lua: made loconet imm_packet repeat optional 2024-01-04 00:35:16 +01:00
Reinder Feenstra
48ef234f32 added help icon 2024-01-02 23:31:22 +01:00
Reinder Feenstra
52e7b571cd added highlight of singe line comment in script editor 2024-01-02 17:21:57 +01:00
Reinder Feenstra
76db39e675 added help toolbar item to script editor 2024-01-02 17:21:09 +01:00
Reinder Feenstra
f383ed1a5d manual/luadoc: added dark theme support
using media query: prefers-color-scheme = dark
2024-01-01 23:51:51 +01:00
Reinder Feenstra
7ded888173 train tracking: handle incoming trains on reserved blocks 2024-01-01 23:11:20 +01:00
Reinder Feenstra
7574b96af1 fix: script state restore didn't fully work 2024-01-01 22:08:21 +01:00
Reinder Feenstra
231cfb59cf left click on lua status now opens scripts list 2024-01-01 22:00:01 +01:00
Reinder Feenstra
516e49033e innosetup: fix: select components choice wasn't working 2023-12-31 00:52:21 +01:00
Reinder Feenstra
19e8ae44b5 added another overload of fireEvent for less verbose calling 2023-12-29 23:04:13 +01:00
Reinder Feenstra
2c2ab529ed signal: fix: only execute output map if aspect changes 2023-12-29 22:42:59 +01:00
Reinder Feenstra
61c65f3a48 signal: added onAspectChanged event 2023-12-29 22:39:42 +01:00
Reinder Feenstra
e36e1cb81c luadoc: fix: class constants with a number weren't detected 2023-12-29 22:35:16 +01:00
Reinder Feenstra
74deba6712 lua: added nx and push button classes 2023-12-29 22:23:07 +01:00
Reinder Feenstra
54da7e022e luadoc: index-az: gray out letters without items 2023-12-29 22:18:49 +01:00
Reinder Feenstra
baa3e3a88a luadoc: index-az: ignore missing terms 2023-12-29 22:14:30 +01:00
Reinder Feenstra
e5093e9931 luadoc: fix: support Event<> 2023-12-29 22:12:31 +01:00
Reinder Feenstra
efc89052a5 luadoc: added version/lua badges 2023-12-29 10:24:00 +01:00
Reinder Feenstra
68cffe287c fix: missing initialization 2023-12-29 00:32:03 +01:00
Reinder Feenstra
d120f3ed46 missing in bcf92585b56bd0d1717be1fc03f72e1dcc17a749 2023-12-28 23:34:13 +01:00
Reinder Feenstra
bcf92585b5 train tracking: basic detection for manual controlled trains 2023-12-28 23:31:01 +01:00
Reinder Feenstra
29eb8402ee block: added list of paths towards the block
(for detecting incoming trains without reservation)
2023-12-28 23:25:38 +01:00
Reinder Feenstra
81c7cde7dd block: added on_train_entered and on_train_left events 2023-12-28 23:23:07 +01:00
Reinder Feenstra
62c1321fc8 fix: train blocks didn't reverse on direction change 2023-12-28 23:04:23 +01:00
Reinder Feenstra
8b221eea16 keep existing BlockPath objects alive when updating
this enables adding state to the BlockPath objects
2023-12-27 00:04:56 +01:00
Reinder Feenstra
26255d368c blockpath: added release() 2023-12-26 23:03:17 +01:00
Reinder Feenstra
c80521104e set thread name for serial port systemd monitor 2023-12-20 18:32:59 +01:00
Reinder Feenstra
09e6798e73 world: added settings to go online/power on/run on world load 2023-12-18 17:17:58 +01:00
Reinder Feenstra
373af31565 z21: fixed kernel always firing onEmergenctStop on stop change 2023-12-10 22:18:07 +01:00
Reinder Feenstra
cafe69ddb9 Added about server option to client main menu 2023-12-09 22:17:44 +01:00
Reinder Feenstra
05a446c7fd
Merge pull request #93 from gfgit/work/fix_z21_input
Z21: fix input address validation
2023-12-08 07:08:17 +01:00
Reinder Feenstra
c92abc355a connect dialog: added auto connect option (enabled by default) 2023-12-08 00:28:42 +01:00
Filippo Gentile
948b10d422 Z21: fix input address validation 2023-12-07 19:16:49 +01:00
Reinder Feenstra
7e690d1fce loconet: fix: interfaced caused crash when network connection failed 2023-12-06 23:51:03 +01:00
Reinder Feenstra
cb23c99940 traintasticdiy: added startup delay, default = 500ms
some devices reset on connect, give them some time to boot
2023-12-06 00:12:16 +01:00
Reinder Feenstra
3a3bee66ba traintasticdiy: fix: hardware io handler dropped bytes of incomplete messages 2023-12-05 23:21:04 +01:00
Reinder Feenstra
a4a1e39c25 traintasticdiy: added loggin of dropped bytes
(untested)
2023-12-05 22:48:37 +01:00
Reinder Feenstra
03f56a2342 Updated zlib1.def, removed ordinals
Ordinals didn't match the DLL values causing the crash.
Closes #80
2023-11-28 22:49:03 +01:00
Reinder Feenstra
0e61dc96d1 Revert "windows: don't call zlibVersion(), it causes a crash #FIXME"
This reverts commit 13552ae7ae7461fff58c69637151aaeacfda963c.
2023-11-28 22:45:38 +01:00
Reinder Feenstra
37e486ae46
Merge pull request #90 from traintastic/33-client-connect-hangs-sometimes
fix: client connect hangs sometimes
2023-11-27 17:19:40 +01:00
Reinder Feenstra
5c69cb107d signaling: improved 3 aspect signal
signal is now aware of next signal aspect
2023-11-26 23:51:55 +01:00
Reinder Feenstra
12e23c90a9 fix: show proper error if language file loading fails
closes #89
2023-11-23 23:09:46 +01:00
Reinder Feenstra
46461cb46a
fix 2023-11-17 08:44:59 +01:00
Reinder Feenstra
61da24b5a2 fix 2023-11-17 00:05:04 +01:00