1705 Commits

Autor SHA1 Nachricht Datum
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
26694b1022 fix: add interface wizard, DR5000 network next pages were invalid
see #107
2024-04-07 23:20:14 +02:00
Reinder Feenstra
1ef30a736d fix: typo 2024-04-07 23:18:51 +02:00
Reinder Feenstra
5365a54eef Added wizard for easier interface setup.
see  #107
2024-04-07 22:41:06 +02:00
Reinder Feenstra
b6a5bb0e4a added: Object::getObjectProperty 2024-04-07 22:26:36 +02:00
Reinder Feenstra
af3ed66cc6 moved more widgets to createWidget 2024-04-07 22:26:02 +02:00
Reinder Feenstra
f62bc93cb7 fix: Locate::parse didn't handle multiple $...$ values 2024-04-07 22:24:05 +02:00
Reinder Feenstra
5b537a86a5 added support for setting enum properties by string 2024-04-07 22:22:35 +02:00
Reinder Feenstra
cb78be3f29 missing in 0eb20396 2024-03-26 23:22:58 +01:00
Reinder Feenstra
0eb20396a8 added introduction wizard, show once at first startup 2024-03-26 23:22:09 +01:00
Reinder Feenstra
c7c5b60597 load world dialog now has proper icon 2024-03-23 22:07:58 +01:00
Reinder Feenstra
0ab9805e5d restyled new/load/import buttons:
button now contains a large icon with text below it
2024-03-22 23:10:49 +01:00
Reinder Feenstra
740d8e31ba Added import button beside new and load when no world is loaded. 2024-03-22 23:09:03 +01:00
Reinder Feenstra
94a0e6b7e8 output map: set minimum width for comboboxes, so they visually line up in most cases. 2024-03-20 23:15:01 +01:00
Reinder Feenstra
de0bb19db5 fix: outputmap widget sction widgets could float due to column count mismatch 2024-03-20 23:13:59 +01:00
Reinder Feenstra
865044d8f9 OutputMap interface selection is now a ComboBox 2024-03-19 23:06:55 +01:00
Reinder Feenstra
489c9fff4c Added combobox widget for selecting an object 2024-03-19 23:05:18 +01: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
4da086446d updated lua example for output refactor, see #95 2024-03-14 23:27:48 +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
64d64e909f fix: Output map item objects weren't kept alive 2024-03-13 23:28:59 +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
66629d1079 removed unused variable 2024-02-19 18:38:43 +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
c275260e40 clang-tidy: set CamelCase for namespace/class/struct name 2024-02-15 00:20:39 +01:00