1170 Commits

Autor SHA1 Nachricht Datum
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
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
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
c96a4c1aac replaced boost::random by std random 2025-01-21 23:33:12 +01:00
Reinder Feenstra
ca580a5e9e renamed Connection to ClientConnection 2025-01-01 14:10:47 +01:00
Reinder Feenstra
de65905387 added suport for embedding resources and added serving /favicon.ico 2024-12-30 23:30:01 +01:00
Reinder Feenstra
2da8b112b2 CI: windows get boost via vcpkg 2024-12-18 00:01:24 +01:00
Reinder Feenstra
d4049d8295 client-server: replaced binary socket connection by http websocket connection 2024-12-15 23:25:01 +01:00
Reinder Feenstra
5987b97d33 fix: interface can be nullptr 2024-12-11 00:27:32 +01:00
Reinder Feenstra
8570ef3cb9 output map: added swap outputs button when using one pair output (e.g. for standard turnouts) 2024-12-11 00:11:45 +01:00
Reinder Feenstra
7cc5a2ff0a fix: world saved with simulation active didn't load properly 2024-12-03 23:03:46 +01:00
Reinder Feenstra
c05b0206ab fix: signal path didn't handle HiddenRailCrossOver properly 2024-12-03 23:03:01 +01:00
Reinder Feenstra
8187b08881 tray icon: added translation and added language setting 2024-11-27 22:54:28 +01:00
Reinder Feenstra
27fecd8700 server: added language setting 2024-11-27 22:50:42 +01:00
Reinder Feenstra
0c257dbe13 fix: eventloop ioContext wasn't properly restarted 2024-11-27 22:46:51 +01:00
Reinder Feenstra
0a8f16c999 fix: don't list rail vehicle train property in UI 2024-11-25 23:18:45 +01:00
Reinder Feenstra
53bcb0bb52 locale: use single string 2024-11-25 23:16:35 +01:00
Reinder Feenstra
3456d4b2de clang-tidy: fixed readability-redundant-casting 2024-11-23 11:14:23 +01:00
Reinder Feenstra
4b5eb57a70 clang-tidy: added NOLINT due to platform differences 2024-11-23 09:49:17 +01:00
Reinder Feenstra
a107fb1312 clang-tidy: fixed readability issues 2024-11-23 09:08:39 +01:00
Reinder Feenstra
441dea0382 clang-tidy: fixed misc-static-assert 2024-11-23 00:49:19 +01:00
Reinder Feenstra
8ae51ca730 clang-tidy: fixed modernize-return-braced-init-list 2024-11-23 00:47:03 +01:00
Reinder Feenstra
99d6f6a863 clang-tidy: fixed modernize-use-auto 2024-11-23 00:42:54 +01:00
Reinder Feenstra
e2c6a8e91e clang-tidy: fixed readability issues 2024-11-23 00:32:45 +01:00
Reinder Feenstra
875898eaeb clang-tidy: fixed modernize-use-equals-default 2024-11-23 00:01:57 +01:00
Reinder Feenstra
4f9fdbe206 clang-tidy: fixed readability issues 2024-11-22 00:15:15 +01:00
Reinder Feenstra
c4ee37a6cd board: added crossover support
track can cross on tile corners, this actually is a crossover so a hidden crossover is inserted to prevent double reservation (and collisions)
2024-11-17 23:41:01 +01:00
Reinder Feenstra
151c234e1f Added SpeedLimitProperty class
a SpeedProperty with predefined values and a special "No limit" value.
2024-11-03 10:33:05 +01:00
Reinder Feenstra
6275ab5990 Added extra attribute functions for UnitProperty 2024-11-03 10:30:28 +01:00
Reinder Feenstra
a838e67335 Added support for saving NaN and Inf to JSON as string.
JSON doesn't have support for NaN/Inf
2024-11-03 09:09:51 +01:00
Reinder Feenstra
c400b9f7ac Added simulation status icon to status bar
Only shown if simulation is active.
2024-10-22 00:21:51 +02:00
Reinder Feenstra
16c43ae171 converted classList to function, now includes can be in cpp 2024-10-21 23:51:01 +02:00
Reinder Feenstra
f00fcae099 cleanup 2024-10-21 23:21:41 +02:00
Reinder Feenstra
29d6718ef8 lua: pv: added pairs() support 2024-10-12 23:21:57 +02:00
Reinder Feenstra
57aa6b123e lua: added clear persistent variables toolbar action to script list 2024-10-12 22:05:26 +02:00
Reinder Feenstra
890249b677 fix: make sure stack index is abs 2024-10-12 13:52:55 +02:00
Reinder Feenstra
86aa49ea45 lua: persistent variables now supports tables 2024-10-12 10:55:54 +02:00
Reinder Feenstra
a720b794bc train: blocks now script readable 2024-10-12 10:52:20 +02:00
Reinder Feenstra
ae1902c18d lua: added clear persistent variables toolbar action 2024-10-07 23:52:54 +02:00
Reinder Feenstra
b7bc0acb51 fix: missing includes 2024-10-07 23:50:28 +02:00
Reinder Feenstra
0703a5cd5b fix: constexpr -> inline const (constexpr doesn't work for older compilers) 2024-10-07 23:15:13 +02:00
Reinder Feenstra
de2823e65a lua: fix: use single lua value per vector property, else compares don't work 2024-10-06 23:24:18 +02:00
Reinder Feenstra
04b5f3475d lua: fix: use single lua value per event, else compares don't work 2024-10-06 23:21:00 +02:00
Reinder Feenstra
47485f7513 lua: fix: use single lua value per method, else compare don't work 2024-10-06 23:16:55 +02:00
Reinder Feenstra
515c96ddd2 lua: added persistent variable (pv) support
this enables saving state between script start/stop and world save/load
2024-10-06 23:08:14 +02:00
Reinder Feenstra
2d74852ca3 lua: added array's with enum/set names
to be used for testing if a metatable name is a valid enum/set
2024-10-06 23:01:07 +02:00