1943 Commits

Autor SHA1 Nachricht Datum
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
Reinder Feenstra
6ed7ecf1e4 clang-tidy: disabled readability-identifier-length 2024-02-15 00:19:35 +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
09a30400e0
Merge pull request #104 from princeofnaxos/master
Updates in the Swedish translations
2024-02-14 18:36:26 +01:00
Edwin Boersma
c2a5c24a6d Merge branch 'translations-sv-se'
# Conflicts:
#	shared/translations/sv-se.json
2024-02-14 09:02:49 +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