Reinder Feenstra
b0aa99a8de
objectlist: moved property changed to virtual method
...
so sub classes can do something with it if required
2023-03-06 00:20:50 +01:00
Reinder Feenstra
de34b0553c
trainlist: added lob and weigth columns
2023-03-06 00:17:42 +01:00
Reinder Feenstra
2eed611da9
fix: object is empty after move
2023-03-06 00:05:35 +01:00
Reinder Feenstra
5456fee119
fix: tablewidget: restore selection after model reset
2023-03-05 23:05:39 +01:00
Reinder Feenstra
27125314a1
fix: object list didn't always register property changed on load
2023-03-05 23:05:07 +01:00
Reinder Feenstra
0c4094b365
implemented add/remove vehicles to a train, see #25
2023-03-05 23:03:54 +01:00
Reinder Feenstra
471db84655
removed restriction to only create/delete trains in edit mode, see #25
2023-03-03 00:03:12 +01:00
Reinder Feenstra
59077b40e2
Merge branch 'master' of github.com:traintastic/traintastic
2023-03-02 23:51:19 +01:00
Reinder Feenstra
41da61808d
rename: m_requestIdAdd -> m_requestIdCreate
...
see 63a5b8c7af7136372899401c26a509d14ba4478c
2023-03-02 23:51:16 +01:00
Reinder Feenstra
f473285b85
fix: can't use m_object to cancel request, it isn't available yet
...
see #40
2023-03-02 23:47:12 +01:00
Filippo Gentile
6fe8f7af49
Add 2 new positions to Single Slip Switch
...
This matches recent addition to Double Slip Switch
2023-03-02 00:21:51 +01:00
Reinder Feenstra
16745672fc
CI: improve deploy step
...
It will now create the full path on the server for new branches and tags
2023-02-27 22:44:02 +01:00
Filippo Gentile
661b25c1e8
Add 4 new positions to Double Slip Switch turnout
...
- This adds Left/Right to double switch
- And adds new DoubleSlipStraightA / DoubleSlipStraightB to
TurnoutPosition enum
- Implemented new state drawing in TilePainter
- Updated logic in SignalPath::findBlocks()
2023-02-26 13:08:59 +01:00
Reinder Feenstra
a424213779
fix: updated tests for previous change
2023-02-25 23:40:19 +01:00
Reinder Feenstra
990101f12d
Merge branch 'master' of github.com:traintastic/traintastic
2023-02-25 23:16:36 +01:00
Reinder Feenstra
63a5b8c7af
rename list add/remove to create/delete
...
add = add existing item
remove = remove item, but don't destroy it
2023-02-25 23:15:38 +01:00
Reinder Feenstra
eacc2c68e7
Merge pull request #30 from gfgit/work/add_build_instr
...
Add MinGW section to BUILDING.md
2023-02-24 22:22:03 +01:00
Filippo Gentile
842a7f1881
BUILDING.md added debug information
...
Add info about Qt debug symbols
2023-02-24 10:14:05 +01:00
Filippo Gentile
d3bbfac40e
Add MinGW section to BUILDING.md
...
Added instructions specific to MinGW.
Linked GDB online documentation.
2023-02-24 10:14:04 +01:00
Reinder Feenstra
4f5e4f2992
fix: set socket options from network thread, see #33
2023-02-21 23:46:57 +01:00
Reinder Feenstra
6e3d2e68fc
added version property to Traintastic object
2023-02-19 12:23:34 +01:00
Reinder Feenstra
f7fd18ea1a
Merge branch 'master' of github.com:traintastic/traintastic
2023-02-18 23:14:40 +01:00
Reinder Feenstra
5a407e5ba1
fix: socket shutdown and close wasn't called by the io context thread
...
see #33
2023-02-18 23:14:37 +01:00
Reinder Feenstra
b00665d8af
Merge pull request #36 from gfgit/work/mingw_put_time
...
Logger workaround for MinGW broken std::put_time()
2023-02-16 06:46:01 +01:00
Filippo Gentile
2d035b6bac
logging: Fix MinGW broken std::put_time()
...
Workaround missing specifier support in MinGW 12.2.0 by using old pre-C+
+11 specifiers.
2023-02-15 21:32:10 +01:00
Reinder Feenstra
7397cb9e16
Merge branch 'master' of github.com:traintastic/traintastic
2023-02-10 20:36:50 +01:00
Reinder Feenstra
ac9505f1f7
fix: disconnect() not called by the eventloop thread, see #34
2023-02-10 20:36:47 +01:00
Reinder Feenstra
e147560e4c
fix: added missing parent on widget creation
...
on windows: without a parent given a tiny window will appear for a short time
2023-02-07 23:14:18 +01:00
Reinder Feenstra
312950c28c
Merge pull request #31 from gfgit/work/object_list_removed
...
model: HACK to let client refresh after object is removed
2023-02-06 23:23:44 +01:00
Filippo Gentile
54c2dc7c72
model: HACK to let client refresh after object is removed
...
When an object is removed from a list, Clients need to clear cached
values and reload the model.
This could be more efficient but it will be adressed in a separate pull
request.
2023-02-06 23:17:12 +01:00
Reinder Feenstra
ea3fbd8022
bugfix: blocksAhead may only be decremented on block tile
2023-02-06 19:59:14 +01:00
Reinder Feenstra
5dd9fed9b1
Moved build instructions to seperate file
2023-02-06 19:41:30 +01:00
Reinder Feenstra
b6379bf5f8
remove trailing spaces
2023-02-04 23:37:27 +01:00
Reinder Feenstra
7ace4d2b31
#22 fix: update m_subWindows on object id change
2023-02-04 23:37:03 +01:00
Reinder Feenstra
c3e6c6d07c
Remove unused file (unused since first commit)
2023-01-31 22:43:09 +01:00
Reinder Feenstra
536013c0ce
use getObject() instead of objectId() to request the object
...
see #22
2023-01-30 23:47:49 +01:00
Reinder Feenstra
86c4685b69
ObjectProperty: added getObject() to request object without knowing the id on the client
...
see #22
2023-01-30 23:33:25 +01:00
Reinder Feenstra
58eb7b57e0
ObjectProperty added hasObject (for future remove of objectId)
...
see #22
2023-01-30 23:30:49 +01:00
Reinder Feenstra
a82354aefd
Merge pull request #23 from gfgit/work/add_italian_translation
...
Add Italian translation
2023-01-28 18:47:35 +01:00
Filippo Gentile
4a72437a72
translation: add Italian language to installer and in settings
...
- Add Italian language option to other languages settings translations
- Add Italian translation for Innosetup installer
2023-01-28 11:58:56 +01:00
Filippo Gentile
e1ff3adcbe
translations: add Server messages to Italian translation
2023-01-28 11:58:55 +01:00
Filippo Gentile
2369937746
translations: Added Italian translation file
...
New translation file for Italian UI
Server messages will be added in separate commit
2023-01-28 11:58:54 +01:00
Filippo Gentile
168774d0ac
translations: Fix typo in all translations
2023-01-28 11:58:53 +01:00
Reinder Feenstra
139c1cc2bc
read_locale_file() didn't handle CRLF properly
...
see #20
2023-01-26 23:55:19 +01:00
Reinder Feenstra
ce009ffce9
tr: changed LOB abbr. to Length over buffers
...
see #20
2023-01-25 23:26:33 +01:00
Reinder Feenstra
1d250f28f8
added object id validation, see #22
...
an id may only contain a-z 0-9 _ and must start with a-z
all chars must be lowercase
2023-01-25 23:25:13 +01:00
Reinder Feenstra
f2f7f8b933
fixed unused warning
2023-01-23 13:37:15 +01:00
Reinder Feenstra
125894e6c4
client: enabled -Werror
2023-01-23 13:36:49 +01:00
Reinder Feenstra
8f0f1b4c30
CI: only update contributers in README on master
2023-01-23 13:03:21 +01:00
Reinder Feenstra
3d0bc14a3a
Merge branch 'master' of github.com:traintastic/traintastic
2023-01-23 11:56:34 +01:00