Reinder Feenstra
be63db9378
ecos: added mode and duration to switch
2021-12-26 10:13:45 +01:00
Reinder Feenstra
b6e0fe3959
ecos: improved reply parsing
2021-12-25 23:16:13 +01:00
Reinder Feenstra
9b41121645
fix: std::any_of is not constexpr in C++17 (requires C++20)
2021-12-20 13:04:47 +01:00
Reinder Feenstra
3d815a77c3
fix: unused warnings
2021-12-20 13:03:54 +01:00
Reinder Feenstra
a5706776f0
Merge branch 'interface-controller' of github.com:traintastic/traintastic into interface-controller
2021-12-20 00:23:52 +01:00
Reinder Feenstra
6139fa366c
ecos: added mirror objects for ECoS internal objects
2021-12-20 00:23:31 +01:00
Reinder Feenstra
892eca914f
CI: install g++-8 for ubuntu 18.04
2021-12-12 23:35:02 +01:00
Reinder Feenstra
4df09ae5e0
CI: use g++ 8 on ubuntu 18.04 (g++7 doens't have charconv header)
2021-12-12 15:47:15 +01:00
Reinder Feenstra
74e945c43a
ecos: implemented reply parsing and handing of stop/go reply
2021-12-12 15:29:17 +01:00
Reinder Feenstra
f527303360
ecos: added extra commands for testing ECoS response
2021-12-11 23:12:54 +01:00
Reinder Feenstra
6dd85456e3
fix: string_view::const_iterator and const char* aren't interchangeable (at least in clang)
2021-12-04 09:56:36 +01:00
Reinder Feenstra
a230e96506
moved rtrim() to rtrim.hpp, removed duplicate startsWith()
2021-12-03 23:36:22 +01:00
Reinder Feenstra
163d2c95e2
WIP: basic ECoS protocol support
2021-12-03 23:35:17 +01:00
Reinder Feenstra
d1ea49b8e5
Z21: added header opcodes and broadcast flags
2021-11-29 23:30:17 +01:00
Reinder Feenstra
04c5e366a1
fixed unused error in release build
2021-11-29 23:19:36 +01:00
Reinder Feenstra
f4ef6f3f02
loconet: added Z21 IO handler
2021-11-29 23:18:57 +01:00
Reinder Feenstra
3ceea50b53
loconet: implemented waiting for response before sending next message
2021-11-29 23:11:01 +01:00
Reinder Feenstra
6b59525b42
rewrote DCC++(EX)
2021-11-28 22:43:41 +01:00
Reinder Feenstra
8128f7aa50
utils: added rtrim function
2021-11-28 21:50:05 +01:00
Reinder Feenstra
a4806f36f9
moved serial port open code to function for reuse
2021-10-25 23:05:42 +02:00
Reinder Feenstra
c4e6986c9f
Merge branch 'interface-controller' of github.com:traintastic/traintastic into interface-controller
2021-10-24 17:23:11 +02:00
Reinder Feenstra
9db313ad79
loconet: added attributes and cleanup
2021-10-24 17:23:07 +02:00
Reinder Feenstra
f52502bcbf
WIP: XpressNet rewrite
2021-10-24 17:22:17 +02:00
Reinder Feenstra
c5267c69b8
fix: -Wc++11-narrowing
2021-10-18 23:29:43 +02:00
Reinder Feenstra
ba474f4427
fix: added undef interface, interface is defined in combaseapi.h
2021-10-18 23:08:52 +02:00
Reinder Feenstra
21471a2797
loconet: enabled reading all slot after connect
2021-10-17 21:29:09 +02:00
Reinder Feenstra
2a222ca5fe
fix: -Wshadow
2021-10-17 21:28:47 +02:00
Reinder Feenstra
6245513048
WIP: loconet: major rewrite:
...
one interface with three io handler backends: serial/tcp binary/LBServer
the kernel runs it's own thread for handling all loconet traffic (and future filtering), it only notifies the event loop if something changes
2021-10-17 16:38:51 +02:00
Reinder Feenstra
956c8ad168
Replaced command station and controller by interface with supporting controllers
2021-10-17 16:10:56 +02:00
Reinder Feenstra
48d53f60f2
added setMinMax attribute helper
2021-10-17 11:00:41 +02:00
Reinder Feenstra
db1808ec86
added argument support to LogMessageException
2021-10-17 10:55:05 +02:00
Reinder Feenstra
b7de6c91b9
fix: corrected power on/off log messages
2021-10-17 10:53:06 +02:00
Reinder Feenstra
608a94d036
object: add const overloads
2021-10-03 17:09:15 +02:00
Reinder Feenstra
9750879e9c
CI: updated easingthemes/ssh-deploy to v2.2.11
2021-09-30 23:45:49 +02:00
Reinder Feenstra
0276e92eb7
patch: serial op failed on windows (in boost::asio)
...
see: https://github.com/chriskohlhoff/asio/issues/717
2021-09-29 17:28:24 +02:00
Reinder Feenstra
b15cc45286
lua: added support for testing object type
2021-09-21 23:49:03 +02:00
Reinder Feenstra
d78b217b7f
fix: setPropertyValue network error handing wasn't correct
2021-09-20 22:40:04 +02:00
Reinder Feenstra
e5b34b7897
added .vs to .gitignore
2021-09-20 22:39:11 +02:00
Reinder Feenstra
45db18e6c9
fix: ObjectSetProperty request wasn't properly handled
2021-09-20 22:31:42 +02:00
Reinder Feenstra
f2fa7fd391
CI: set CODENAME to branch-run-commit
2021-09-20 21:24:02 +02:00
Reinder Feenstra
1a34517ee6
CI: enabled continue-on-error for upload to coveralls.io
...
build failed due to coveralls.io being down for maintenance
2021-09-19 14:41:21 +02:00
Reinder Feenstra
da2fdd240c
added: FUNDING.yml
2021-09-19 00:25:09 +02:00
Reinder Feenstra
57a1e14501
en-us: sorted strings
2021-09-18 23:58:25 +02:00
Reinder Feenstra
b9cf6f5342
fix: added shared_ptr in table model to keep list alive until all models are gone
2021-09-18 23:57:58 +02:00
Reinder Feenstra
e17632d983
log: added overloads for string_view objectId
2021-09-18 23:55:32 +02:00
Reinder Feenstra
8dfd87a738
scriptlist: added remove method
2021-09-16 23:23:00 +02:00
Reinder Feenstra
f9565ed519
freight car: added cargo loaded and cargo capacity properties
2021-09-16 23:22:36 +02:00
Reinder Feenstra
f58679dba6
rail vehicle: don't show total weight in object editor (for now)
2021-09-16 23:09:25 +02:00
Reinder Feenstra
3b277397ca
added ratio unit property
2021-09-16 23:08:44 +02:00
Reinder Feenstra
de306f9393
added support for min/max attributes to unit properties
2021-09-16 22:59:01 +02:00