1181 Commits

Autor SHA1 Nachricht Datum
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
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