497 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
906cb3f5cf missing in 0e1cbf1dfce21443b3065360c7f26fbcd80435c6 2021-05-26 23:31:09 +02:00
Reinder Feenstra
0e1cbf1dfc Fixed network protocol bug
The client could release an object handle while at the same the
handle was on the wire from the server to the client.
The client then expected a serialized object which the server didn't
send because the handle not yet release by the client at the time it
was sent.
Solution:
The client and server both count how many times an handle is send from
the server to  the client. The client object release only succeeds if the
counters match, to be sure no handles are "on the wire".
2021-05-26 23:02:05 +02:00
Reinder Feenstra
7044f4d00b first added decoder function type is now Light others are On/Off 2021-05-26 21:07:51 +02:00
Reinder Feenstra
1711108ee0 Added decoder function types: AlwaysOff, AlwaysOn 2021-05-26 21:05:26 +02:00
Reinder Feenstra
5352179495 added language files to traintastic-client DEB 2021-05-26 20:43:50 +02:00
Reinder Feenstra
72514bf554 implemented mute/no smoke support in decoder 2021-05-25 23:58:24 +02:00
Reinder Feenstra
3225e7c6da added type property to decoder function 2021-05-25 23:56:26 +02:00
Reinder Feenstra
4663b4cf1c
Rewrote README, added build instruction, remove info that is on website 2021-05-25 23:03:43 +02:00
Reinder Feenstra
f7b087a562 xpressnet inputs are now automatically assigned to the first unused address if there is only one xpressnet bus 2021-05-24 00:44:55 +02:00
Reinder Feenstra
02a58d0f7d loconet inputs are now automatically assigned to the first unused address if there is only one loconet bus 2021-05-24 00:44:06 +02:00
Reinder Feenstra
025153156c input: don't show value property in edit dialog 2021-05-24 00:30:23 +02:00
Reinder Feenstra
aaf8831bcd input: set name to id when created 2021-05-24 00:26:20 +02:00
Reinder Feenstra
29f03eb46e moved some files related to input/output 2021-05-23 23:24:58 +02:00
Reinder Feenstra
2f1ec0ab16 loconet outputs are now automatically assigned to the first unused address if there is only one loconet bus 2021-05-23 11:16:44 +02:00
Reinder Feenstra
0797828064 output: don't show value property in edit dialog 2021-05-23 10:49:23 +02:00
Reinder Feenstra
0d6aec544d Output: set name to id when created 2021-05-23 10:47:10 +02:00
Reinder Feenstra
8dd85584cf readme: added license badge 2021-05-23 02:04:34 +02:00
Reinder Feenstra
2a7ec7f35a changed InternalUpdateHolder to counter, to make nesting possible 2021-05-23 01:58:46 +02:00
Reinder Feenstra
cfed6ed9f1 bugfix: Client::connectionLost/connectionError must be called in eventloop 2021-05-23 01:58:46 +02:00
Reinder Feenstra
ccaebb6190 fix: implemented Traintastic::clientGone() 2021-05-23 01:58:46 +02:00
Reinder Feenstra
c1c6b03a80
readme: added build status badge 2021-05-22 09:25:02 +02:00
Reinder Feenstra
6a525eb94b world: added scaleRatio property 2021-05-22 00:10:12 +02:00
Reinder Feenstra
3c8b8fd701 Added PropertyDoubleSpinBox widget 2021-05-22 00:09:09 +02:00
Reinder Feenstra
4157fec500 Added view toolbar menu item 2021-05-21 23:34:13 +02:00
Reinder Feenstra
fb1eed69f6 Added world properties menu item/dialog 2021-05-21 23:11:26 +02:00
Reinder Feenstra
8bac326a2e sorted WorldScaleValues big to small 2021-05-21 23:09:22 +02:00
Reinder Feenstra
55dfc63bac removed no longer used enum TraintasticMode 2021-05-21 08:03:55 +02:00
Reinder Feenstra
8b961ac706 fixed server version log message 2021-05-21 00:27:40 +02:00
Reinder Feenstra
06342baaa0 Added *no smoke* option to world.
(will force disable all smoke generation in future)
2021-05-21 00:20:54 +02:00
Reinder Feenstra
17cdcdf682 fix: make sure checked state of stop/run matches world state
due to the toggle feature, its checked state changes, but we need to wait for a world state change
2021-05-18 23:56:52 +02:00
Reinder Feenstra
69321a3154 Added world main menu to client 2021-05-18 23:47:24 +02:00
Reinder Feenstra
fde5b0aa59 manual: added traintastic server start image for windows 2021-05-15 23:23:10 +02:00
Reinder Feenstra
08e89ad04c manual: use GFM img title as figure caption 2021-05-15 23:22:26 +02:00
Reinder Feenstra
34a13c785f manual: added some info about starting traintastic server/client 2021-05-15 00:10:00 +02:00
Reinder Feenstra
bda08e2362 removed zero margin in connect dialog
looks bad on Windows
2021-05-15 00:07:06 +02:00
Reinder Feenstra
a6219b7fb7 added *.pyc to gitignore 2021-05-14 23:23:32 +02:00
Reinder Feenstra
aebc153c1a implemented client language setting 2021-05-14 23:22:34 +02:00
Reinder Feenstra
b39b6ad162 Lua script code now save to seperate file 2021-05-14 11:07:34 +02:00
Reinder Feenstra
754acd528a loader/saver: added support for load/save additional files 2021-05-14 11:03:40 +02:00
Reinder Feenstra
1e69644dba Added support for sha1 digest calculation of strings and files 2021-05-14 10:56:44 +02:00
Reinder Feenstra
a218a2b3e4 World object now loaded/saved using generic object load/save 2021-05-13 23:47:58 +02:00
Reinder Feenstra
dd738257b3 Added store attributes to world properties 2021-05-13 23:40:28 +02:00
Reinder Feenstra
eef3fc41e0 Added display name attributes for id/name/notes properties 2021-05-13 22:18:00 +02:00
Reinder Feenstra
23d00df4f1 Added DisplayName attribute, to override the default class_id:property_name 2021-05-13 21:31:14 +02:00
Reinder Feenstra
bd1b62a37c CI: corrected deploy source path 2021-05-13 20:38:14 +02:00
Reinder Feenstra
9f4dae68fb CI: changed build to in source build (for self hosted runners) 2021-05-13 19:03:07 +02:00
Reinder Feenstra
f311e38e4c set cmake client property WIN32_EXECUTABLE to get rid of console window 2021-05-12 23:19:56 +02:00
Reinder Feenstra
9fcdcbffa6 locale: skip \r chars 2021-05-12 21:42:19 +02:00
Reinder Feenstra
7e6fe45af9 server now displays a message when running in windows system tray 2021-05-12 21:39:59 +02:00
Reinder Feenstra
5bf2875b6c Added --tray option to run server in windows system tray
The https://github.com/zserge/tray code was very helpful for getting it done.
2021-05-11 23:23:05 +02:00