Filippo Gentile
6b7566dae2
server: Z21 ClientKernel handle LanXTurnoutInfo
2024-04-16 16:33:21 +02:00
Filippo Gentile
aff850f049
server: Z21 added LanXTurnoutInfo and fixes
...
- Fix Z21 turnout address starting from zero
- Uniform address variable names for turnout messages
- Make more functions inline
2024-04-16 16:30:34 +02:00
Reinder Feenstra
1269724eb5
test: added delete inactive train
2024-04-14 10:42:38 +02:00
Reinder Feenstra
a076765243
fix: rail vehicle delete didn't remove it from train
2024-04-14 00:09:29 +02:00
Reinder Feenstra
6c07c6700b
test: added delete rail vehicle in inactive train
2024-04-13 23:14:01 +02:00
Reinder Feenstra
0838aab817
added preset stuff for Uhlenbroch Intellibox II
2024-04-13 08:49:41 +02:00
Reinder Feenstra
558dd7e445
loconet: added Uhlenbrock Intellibox IR and Basic
2024-04-12 23:42:10 +02:00
Reinder Feenstra
fcccab334f
Renamed DCC++ to DCC-EX, as only DCC-EX is and will be supported.
2024-04-09 00:26:04 +02:00
Reinder Feenstra
48446e0e07
fix: conversion from json to enum was broken
...
saved by the tests :)
2024-04-08 00:02:05 +02:00
Reinder Feenstra
5b537a86a5
added support for setting enum properties by string
2024-04-07 22:22:35 +02:00
Reinder Feenstra
b50c3bd176
added new world wizard, to help setting up the world basics
2024-03-17 23:58:06 +01:00
Reinder Feenstra
91ae54656c
Merge pull request #106 from traintastic/95-refactor-outputcontroller-output
...
Refactor outputcontroller/output
2024-03-15 08:57:57 +01:00
Reinder Feenstra
e6afade5dd
fix: ignore old output object on world load (output mappings are gone)
...
see #95
2024-03-14 23:19:27 +01:00
Reinder Feenstra
670d763160
test: added OutputMap: Change interface, preserve mapping test
2024-03-14 23:02:15 +01:00
Reinder Feenstra
a4c3d282aa
fix: missing include for Release
2024-03-14 06:39:28 +01:00
Reinder Feenstra
519cdedb6b
ecos: added switch addrext simulation support
2024-03-13 23:48:00 +01:00
Reinder Feenstra
b804d5f727
fix: span attrubute changed() wasn't always fired on change
...
if data() and size() are equal asume it has changed, we can't test it.
2024-03-13 23:47:12 +01:00
Reinder Feenstra
5f0d78ae14
OutputController: Added support for ECoS object, see #95
2024-03-13 23:45:23 +01:00
Reinder Feenstra
35e809a880
ecos: improved accessory feedback by reading addrext attribute
2024-03-10 23:47:16 +01:00
Reinder Feenstra
292278eff9
fix: destroy World::luaScripts before World::status
...
LuaScriptList's destructor accesses World::status
2024-03-06 22:54:12 +01:00
Reinder Feenstra
9b3b9ba7ef
fix: std::memcmp could be called with nullptr
2024-03-06 22:52:32 +01:00
Reinder Feenstra
7acd0bd79e
fix: NO_LOCALHOST_ONLY_SETTING was not working
2024-03-03 14:53:27 +01:00
Reinder Feenstra
561c2ae57d
ecos: fetch some more device info
2024-03-02 00:04:41 +01:00
Reinder Feenstra
805b7637cf
ecos: fix: reply/event parsing strip trailing \r
2024-02-28 23:51:58 +01:00
Reinder Feenstra
57224cf8cb
ecos: fix: event parsing
2024-02-28 23:51:58 +01:00
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