1340 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
41fc910ca2 fix: missing include 2025-06-05 23:16:46 +02:00
Reinder Feenstra
583ea3044f [lua] Added Script throttle, enabling train control from Lua! 2025-06-04 23:05:51 +02:00
Reinder Feenstra
10ebc099e5 [throttle,withrottle] WiThrottle now attaches to a Train instead of a Decoder. Refactored throttle class for more future throttle types. 2025-06-04 18:48:25 +02:00
Reinder Feenstra
bdeda12e23 [core] renamed TrainError to ErrorCode, a single type for all traintastic error code 2025-06-03 23:51:43 +02:00
Reinder Feenstra
4ffd7ed865 [test] added train save/load test 2025-06-03 23:43:56 +02:00
Reinder Feenstra
6cc18c1b63 [decoder] added vehicle property, a decoder can now only be linked to one vehicle 2025-06-03 23:42:25 +02:00
Reinder Feenstra
b81eafdc67 [railvehicle] fix: trains was not restored after load 2025-06-03 23:40:22 +02:00
Reinder Feenstra
8d3c537195 [throttle] Throttle now base of NonPersistentObject, no need for storing them. 2025-05-29 23:13:19 +02:00
Reinder Feenstra
6bed168e8e [core] Added new base class NonPersistentObject for non storable obects 2025-05-29 22:21:13 +02:00
Reinder Feenstra
5c57b37ab3 [throttle] moved throttle sources out of hardware, there will be more non hardware throttle types be added 2025-05-28 23:39:05 +02:00
Reinder Feenstra
5c97f9eeb6 [test] enabled all tests for arm64 2025-04-25 12:44:36 +02:00
Reinder Feenstra
43292e3a69 Merge remote-tracking branch 'origin/master' into 178-add-web-based-throttle-for-phone 2025-04-01 22:43:49 +02:00
Reinder Feenstra
95808edd4c [webthrottle] Added option for immediate speed control, bypassing acceleration/deceleration. 2025-03-22 10:53:01 +01:00
Reinder Feenstra
e3ae8f309d [webthrottle] Replace checkbox by toggle button, see #178 2025-03-21 22:54:39 +01:00
Filippo Gentile
90248c630b XpressNet: new messages and fixes
- Fix missing ATTRIBUTE_PACKED
- Add chapters to messages to quickly find them on Lenz docs
2025-03-18 11:49:22 +01:00
Filippo Gentile
b78cdd46b7 XpressNet: add more message to logger 2025-03-18 11:49:22 +01:00
Filippo Gentile
71ccb413b0 XpressNet: fix power state logic 2025-03-18 11:49:22 +01:00
Filippo Gentile
395a62281d Z21Interface: fix code indent 2025-03-18 11:49:21 +01:00
Filippo Gentile
2dc82e35bc XpressNet Kernel: fix assert condition 2025-03-18 11:49:21 +01:00
Filippo Gentile
778ddc0314 server: TrainVehicleList fix propertyChanged not updating model 2025-03-10 13:16:00 +01:00
Reinder Feenstra
346393d92f Replaced boost::signals connection by scoped_connection to get rid of disconnects in destructors.
closes #171
2025-02-14 23:45:15 +01:00
Reinder Feenstra
ee04b50c36 webthrottle: improved styling of steal message
see #178
2025-02-14 23:02:19 +01:00
Reinder Feenstra
c7bc711e9a webthrottle: estop train(s) if browser is left 2025-02-14 17:23:06 +01:00
Reinder Feenstra
a3c65f457d removed boost from source tree, replaced by vcpkg 2025-02-14 17:01:30 +01:00
Reinder Feenstra
8fd5ac3d1f Redesigned interface list widget, it now embeds the interface settings. 2025-02-13 22:41:19 +01:00
Reinder Feenstra
af6dac1305 replaced tcb::span by std::span 2025-01-29 19:55:05 +01:00
Reinder Feenstra
131acc6081
Merge pull request #180 from traintastic/c++20-server
Change server C++ version to C++20
2025-01-28 19:25:45 +01:00
Reinder Feenstra
3501620f33 fix: restrict is a GCC warning 2025-01-24 00:31:02 +01:00
Reinder Feenstra
a9b94d4e9f fix: workaround GCC bug
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
2025-01-24 00:21:55 +01:00
Reinder Feenstra
2144913340 fix: workaround GCC bug
see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105329
2025-01-23 22:58:31 +01:00
Reinder Feenstra
46a08e3c07 webthrottle: styled function button groups
see #178
2025-01-23 22:56:02 +01:00
Reinder Feenstra
377c73718b vcpkg: added lzma feature to libarchive to support xz on macos 2025-01-22 00:04:52 +01:00
Reinder Feenstra
989311e069 Merge remote-tracking branch 'origin/master' into c++20-server 2025-01-21 23:48:18 +01:00
Reinder Feenstra
c96a4c1aac replaced boost::random by std random 2025-01-21 23:33:12 +01:00
Reinder Feenstra
68f6e11963 windows/macos: get libarchive, lua and zlib via vcpkg 2025-01-21 23:22:56 +01:00
Reinder Feenstra
b1ec56fdba webthrottle: release / failed acquire fixes
see #178
2025-01-20 23:50:48 +01:00
Reinder Feenstra
9fa717d1ca webthrottle: add function button support (still requires some styling tweaks)
see #178
2025-01-19 21:39:56 +01:00
Reinder Feenstra
990f5cbac4 webthrottle: CSS fixes for iOS/iPadOS 2025-01-19 21:21:39 +01:00
Reinder Feenstra
ed7e0bc6da fix: missing include 2025-01-19 15:07:23 +01:00
Reinder Feenstra
71db228d40 throttle: removed functions wrapping, access function via train/decoder 2025-01-19 13:12:38 +01:00
Reinder Feenstra
4d317156f6 webthrottle: fix use height 100dvh for mobile, to prevent scrolling due to address bar
see #178
2025-01-17 23:53:54 +01:00
Reinder Feenstra
5acd8f1861 webthrottle: fixed css issue to get rid of the scrollbars
see #178
2025-01-17 23:42:29 +01:00
Reinder Feenstra
9278f70bf3 fix: added asserts to check thread 2025-01-16 23:37:37 +01:00
Reinder Feenstra
541a6f5fc9 webthrottle: improved handling of world load/close and added auto reconnect
see #178
2025-01-15 23:57:25 +01:00
Reinder Feenstra
994cc4d99c webthrottle: disable other direction button if train is moving 2025-01-13 23:38:03 +01:00
Reinder Feenstra
8ac68be121 webthrottle: added generic functions for sending errors 2025-01-13 23:36:29 +01:00
Reinder Feenstra
fcbec85ee8 webthrottle: moved common release code to function 2025-01-13 23:04:10 +01:00
Reinder Feenstra
bdcb5574f8 fix: release() caused loop by calling activate 2025-01-13 23:01:25 +01:00
Reinder Feenstra
712b317221 fix for macos build 2025-01-11 13:22:26 +01:00
Reinder Feenstra
36cf5f4f71 fixme: disabled stringop-overflow for now to get CI working again, still need to investigate 2025-01-11 11:18:22 +01:00