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
75fdf20c11
CI: pycmarkgfm -> cmarkgfm
2021-11-28 23:33:57 +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
d62146bf4a
Merge branch 'master' of github.com:traintastic/traintastic
2021-11-27 11:47:27 +01:00
Reinder Feenstra
47bb794a82
lua: added script access for board, train and rail vehicle
2021-11-27 11:41:14 +01:00
Reinder Feenstra
34f01a334d
manual: replaced pycmarkgfm by cmarkgfm which is available on windows
2021-11-27 11:26:46 +01:00
Reinder Feenstra
546c87e94d
lua: added support for object lists
2021-11-27 11:05:04 +01:00
Reinder Feenstra
393e6585d9
fix: added missing include
2021-11-24 09:51:04 +01:00
Reinder Feenstra
b00c0d372c
manual: add some Lua scripting documentation
2021-11-24 00:11:50 +01:00
Reinder Feenstra
0bbee528c1
manual: added support for deeper page nesting
2021-11-24 00:08:27 +01:00
Reinder Feenstra
63eec6d461
lua: added event support
2021-11-24 00:07:36 +01:00
Reinder Feenstra
c5dac66570
world: added on_event event
2021-11-24 00:02:56 +01:00
Reinder Feenstra
c031dfabcd
core: added event support
2021-11-24 00:02:21 +01:00
Reinder Feenstra
a072bdef76
test: lua is_instance -> get_class, fixed implementation issues
2021-11-23 23:50:54 +01:00
Reinder Feenstra
21f2d6528f
Merge branch 'master' of github.com:traintastic/traintastic
2021-11-20 09:22:51 +01:00
Reinder Feenstra
f1c2b5fa55
lua: added property script writable check
2021-11-20 00:28:11 +01:00
Reinder Feenstra
f7f289e1d6
lua: added extended type() function and replaced in_instance() by get_class()
2021-11-20 00:27:00 +01:00
Reinder Feenstra
4d6074aeb3
Added self build of lua53.dll with export of lua_ident
2021-11-16 00:10:33 +01:00
Reinder Feenstra
efc2c2a602
fix: license and include guard
2021-11-14 01:27:16 +01:00
Reinder Feenstra
56e3cdb68a
updated lua globals for highlight
2021-11-14 01:26:54 +01:00
Reinder Feenstra
f64ec12961
lua: added math, string and table library to sandbox
...
except string.dump()
2021-11-14 01:12:39 +01:00
Reinder Feenstra
5e18324f70
fix: lua_ident was missing in lua53.def
2021-11-13 23:25:45 +01:00
Reinder Feenstra
906ff82cd8
lua: made built-in globals read only
2021-11-13 00:39:45 +01:00
Reinder Feenstra
b6ec6cc8bd
lua: added LUA_VERSION global
2021-11-13 00:35:56 +01:00
Reinder Feenstra
c290837d33
lua: world: allow stop and power_off call from script
2021-11-10 23:49:22 +01:00
Reinder Feenstra
947e9bb1aa
lua: fixed VERSION constants
2021-11-10 23:48:30 +01:00
Reinder Feenstra
803ca40ec6
added method flags to control method access within the Lua scripting engine
2021-11-10 23:19:49 +01:00
Reinder Feenstra
b9897c996d
lua: enabled readonly access to world uuid/name/scale/scale_ratio and state properties
2021-11-10 22:43:50 +01:00
Reinder Feenstra
274537038a
lua: added support for reading set properties
...
changed lua set storage from T to lua_Integer
2021-11-10 22:42:18 +01:00
Reinder Feenstra
f0eac15247
added property flags to control property access within the Lua scripting engine
2021-11-10 22:03:03 +01:00
Reinder Feenstra
0546ef1c30
lua: added WorldScale enum to sandbox
2021-11-10 21:58:09 +01:00
Reinder Feenstra
2dc42015dc
lua: added support for reading enum properties
2021-11-10 21:55:26 +01:00
Reinder Feenstra
c52164dad0
board: added zoom percentage to status bar
2021-11-07 16:28:07 +01:00
Reinder Feenstra
1aa8f55969
board: added two zoom levels
2021-11-07 16:05:18 +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
3088e9b866
fixed warnings
2021-10-23 00:40:37 +02:00
Reinder Feenstra
a087953466
fix: resize wasn't properly drawn for negative x / y
2021-10-23 00:03:28 +02:00
Reinder Feenstra
e3e3551890
fix: added missing rotate positions to rail cross 45
2021-10-20 09:29:28 +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