Reinder Feenstra
bd7c727f00
fix: missing initialization
2024-02-27 09:31:29 +01:00
Reinder Feenstra
2925b26da4
fix: missing include
2024-02-26 22:26:16 +01:00
Reinder Feenstra
eb84e0fb86
fix: missing include
2024-02-26 08:16:41 +01:00
Reinder Feenstra
a3a3e702e1
lua: added interface.output_channels
2024-02-26 00:24:30 +01:00
Reinder Feenstra
29542b9889
ecos: fix: wait until started, then send go/stop
...
caused crash if connect failed
2024-02-26 00:20:53 +01:00
Reinder Feenstra
503a7ff4c4
ecos: added fetching all switch data incl. simulation support
2024-02-26 00:19:23 +01:00
Reinder Feenstra
f4cb22bd70
ecos: fixed switch manager response, see #95
2024-02-19 23:30:46 +01:00
Reinder Feenstra
f4b1ec7fe2
marklincan: fixed accessory response, see #95
2024-02-19 23:28:55 +01:00
Reinder Feenstra
55db4eb7bd
Merge remote-tracking branch 'origin/master' into 95-refactor-outputcontroller-output
2024-02-19 15:58:03 +01:00
Reinder Feenstra
4c432c2d08
z21: rewrote LanX::updateChecksum to get rid of -Wstringop-overflow warning
2024-02-19 08:44:43 +01:00
Reinder Feenstra
a1e8f03b04
server: added if(BUILD_TESTING) checks for all test stuff, so buildroot doesn't built it
2024-02-19 08:41:09 +01:00
Reinder Feenstra
ef57b4bc4b
server: added NO_LOCALHOST_ONLY_SETTING cmake option for buildroot
...
if enabled traintatic-server will always listen on all interfaces.
2024-02-19 08:39:49 +01:00
Reinder Feenstra
3c4122c13d
debian: traintastic-server now runs a service/daemon
2024-02-18 13:55:07 +01:00
Reinder Feenstra
0f259e77e1
fix: #pragma GCC diagnostic ignored "-Wstringop-overflow" for mingw32
2024-02-15 00:24:14 +01:00
Reinder Feenstra
4a320d30ce
fix: unused member variable
2024-02-15 00:00:06 +01:00
Reinder Feenstra
a1ebf99143
fix: unused return value
2024-02-14 23:59:51 +01:00
Reinder Feenstra
a450cadf77
fix: missing include (for Release build)
2024-02-14 23:59:35 +01:00
Reinder Feenstra
6559c4b2e1
moved clang-tidy config to file
2024-02-14 23:54:39 +01:00
Reinder Feenstra
c700380e73
fix: added __has_warning("-Wstringop-overflow") check
2024-02-14 23:03:53 +01:00
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
ad552a6cb5
fix: libsystemd is optional
2024-02-12 17:04:46 +01:00
Reinder Feenstra
e69e174868
fix: ignore stringop-overflow for GCC too
2024-02-12 17:01:59 +01:00
Reinder Feenstra
5f4a6c0880
fix: uninitialized memory
2024-02-12 17:01:20 +01:00
Reinder Feenstra
a90f8d34e7
fix: == -> =
2024-01-23 06:58:07 +01:00
Reinder Feenstra
f8ae16e3c7
Corrected "occupy detector" -> "occupancy detector"
2024-01-22 22:44:12 +01:00
Reinder Feenstra
4497d75e7a
added write support for VectorProperty
2024-01-22 22:33:00 +01:00
Reinder Feenstra
8ad77f4acc
fix: added include required for macOS 14
2024-01-17 16:54:06 +01:00
Reinder Feenstra
9594ad16f4
lua: made loconet imm_packet repeat optional
2024-01-04 00:35:16 +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
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
74deba6712
lua: added nx and push button classes
2023-12-29 22:23:07 +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
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