Reinder Feenstra
324435ed49
lua: added missing class id's for identification (list)
2023-09-25 22:48:45 +02:00
Reinder Feenstra
201a5c2275
fix: missing includes for release build
2023-09-25 08:27:15 +02:00
Reinder Feenstra
41c59d80e8
fix: missing includes for release build
2023-09-24 23:23:08 +02:00
Reinder Feenstra
5b5485869c
test: added empty train activation test
2023-09-24 23:01:42 +02:00
Reinder Feenstra
a03bcc835e
fix: a train without vehicles can't be activated
2023-09-24 23:01:17 +02:00
Reinder Feenstra
29887fc748
test: added create/destroy tests for train and rail vehicle
2023-09-24 22:45:22 +02:00
Reinder Feenstra
cfb1fba8a5
fix: don't allow delete of rail vehicle when in active train
2023-09-24 20:22:31 +02:00
Reinder Feenstra
838714f2fb
removed TrainProperty, ObjectProperty<Train> can be used.
2023-09-24 17:26:01 +02:00
Reinder Feenstra
eb63012511
Object events more consistent now
...
Last param is now always the object emitting the event (except for singleton's like World and Clock)
Lua handler no longer adds the emitting object param (is in the event now)
2023-09-24 11:05:35 +02:00
Reinder Feenstra
a9aef63e4e
fix: world failed to load if a script was present
2023-09-23 22:49:08 +02:00
Reinder Feenstra
ec2f42ba27
refactor: moved common kernel stuff to KernelBase #WIP
2023-09-22 23:07:57 +02:00
Reinder Feenstra
11ac7d6909
refactor: renamed Client to Connection
2023-09-22 20:20:21 +02:00
Reinder Feenstra
6670c774de
refactor: moved common kernel stuff to KernelBase #WIP
2023-09-22 00:39:21 +02:00
Reinder Feenstra
aff3bd5c11
Moved IOHandler TCP connect's to start() to prevent eventloop blocking.
...
closes #74
2023-09-20 22:30:28 +02:00
Reinder Feenstra
044c15ac98
locale: use std::unique_ptr (was raw pointer)
2023-09-17 22:50:59 +02:00
Reinder Feenstra
b2c88e2c01
lua: implemented excution time limit
2023-09-17 19:16:54 +02:00
Reinder Feenstra
f71ac69011
decoder list: added protocol column
2023-09-15 23:00:33 +02:00
Reinder Feenstra
5fb957660b
marklin_can: only store MFX UID, map to MFX SID using loklist.
...
see #11
2023-09-15 22:58:00 +02:00
Reinder Feenstra
f75cd88db9
marklin_can: fix: status data config endian conversion
...
see #11
2023-09-03 23:54:27 +02:00
Reinder Feenstra
ea4d629362
marklin_can: fix: status data config string decode was using wrong maxLen
...
see #11
2023-09-03 23:53:29 +02:00
Reinder Feenstra
caf65c3c7e
marklin_can: added debug option to save status data config as JSON
...
see #11
2023-09-03 23:36:54 +02:00
Reinder Feenstra
b2021b8ce6
marklin_can: improved node discovery speed.
...
reduced retries to 3 (was 11)
reduced retry timeout to 50ms (was 100ms)
see #11
2023-09-03 21:52:15 +02:00
Reinder Feenstra
c33ffac650
marklin_can: added decoding of reading/configuration channels descriptions
...
see #11
2023-09-03 21:50:17 +02:00
Reinder Feenstra
d85b00ca3e
marklin_can: added reading of measurement and configuration channels
2023-09-03 11:36:30 +02:00
Reinder Feenstra
f1f11b77c2
marklin_can: improved (CS2) simulation support
...
- ping support
- periodic bootstrapCAN messages
- "loks" list download
see #11
2023-08-29 23:36:20 +02:00
Reinder Feenstra
2cbdd56aaf
marklin_can: added serial io handler (binary identical to TPC/UDP)
...
see #11
2023-08-28 18:31:31 +02:00
Reinder Feenstra
6899166fe1
marklin_can: added uid to debug log of system stop/go/halt commands
...
see #11
2023-08-27 23:51:35 +02:00
Reinder Feenstra
ae8b0cb5ec
marklin_can: added debug log of system status commands
...
see #11
2023-08-27 23:50:36 +02:00
Reinder Feenstra
49623c7d73
marklin_can: improved startup procedure
...
fisrt discovers nodes, then set accessory switch time and then download the loklist.
see #11
2023-08-27 18:22:19 +02:00
Reinder Feenstra
8625b64248
maklin_can: added device id column to node list
...
see #11
2023-08-27 16:46:43 +02:00
Reinder Feenstra
1b77c2b349
marklin_can: clear node list on disconnect
...
see #11
2023-08-12 09:13:08 +02:00
Reinder Feenstra
22d2f16e60
marklin_can: added Traintastic to node list
...
see #11
2023-08-12 09:12:18 +02:00
Reinder Feenstra
8d2f977a7d
added missing include for macOS
2023-08-11 00:43:38 +02:00
Reinder Feenstra
86ab824764
marklin_can: added discovered node list
...
see #11
2023-08-10 23:36:58 +02:00
Reinder Feenstra
7b7e7872c1
fix: added missing includes for Release build
2023-08-06 22:23:36 +02:00
Reinder Feenstra
1ff0ab46b9
marklin_can: added import/sync to locomotive list
...
see #11
2023-08-06 17:21:47 +02:00
Reinder Feenstra
4e5484e031
marklin_can: loklist: added functionen_2
2023-08-06 10:12:52 +02:00
Reinder Feenstra
43b604d8bd
marklin_can: loklist: added mm_prg typ for CS3
2023-08-06 10:12:09 +02:00
Reinder Feenstra
793f233262
log zlib version at startup
2023-08-06 10:11:14 +02:00
Reinder Feenstra
acc9a8eb9f
Merge branch 'master' into 11-märklin-cs2cs3-hardware-support
2023-08-03 23:20:33 +02:00
Reinder Feenstra
cf3b0f7141
cmake: clang-tidy is off by default
...
easier/faster for non developers to build it :)
2023-08-03 23:19:50 +02:00
Reinder Feenstra
bbab9331e4
marklin_can: added MFXSeek command number
2023-08-03 23:12:55 +02:00
Reinder Feenstra
684500688c
marklin_can: Traintastic now annouces itself as node on the bus
...
see #11
2023-08-03 23:06:09 +02:00
Reinder Feenstra
88523ed13d
marklin_can: added decoding of some function 'typ' values in 'loklist'
...
see #11
2023-07-31 23:36:00 +02:00
Reinder Feenstra
584f4d9f73
marklin_can: added locomotive list to interface dialog
...
see #11
2023-07-30 23:27:11 +02:00
Reinder Feenstra
28fb4491cd
corrected comment
2023-07-30 09:51:18 +02:00
Reinder Feenstra
4c58967555
fix: used wrong variable for MinGW
2023-07-30 08:53:31 +02:00
Reinder Feenstra
6095969cd0
marklin_can: added reading of loks list (over CAN)
...
see #11
2023-07-30 00:48:37 +02:00
Reinder Feenstra
31e5be6405
windows: added zlib
2023-07-30 00:24:45 +02:00
Reinder Feenstra
e5b305f4fd
decoder: updated MFX address (SID) range
2023-07-29 00:50:51 +02:00