gfgit
130b4312c4
Fix CMake src/graph/CMakeLists.txt
...
Was broken in recent clang-format commit
2023-08-30 11:32:10 +00:00
Filippo Gentile
1aa23f281a
Add .gitignore-blame
...
This file will contain all big style refactor commits
2023-06-25 13:36:10 +02:00
Filippo Gentile
9f14ee1c64
Add .clang-format file
...
Run clang-format 16
2023-06-25 13:28:38 +02:00
Filippo Gentile
42c486f5cf
Merge pull request #61 from luca-pellegrini/add_license_to_source_files
...
Add license and copyright information to source files
2023-05-16 21:28:02 +02:00
Luca Pellegrini
21a54888f2
Remove unwanted non-printable characters
...
Remove non-printable characters that were causing the compilation to fail
2023-05-07 18:45:36 +02:00
Luca Pellegrini
05c45381d4
Add license and copyright to source files
2023-05-06 22:28:06 +02:00
Filippo Gentile
87ec3e53ce
CPack: add better short/extended descriptions
...
This fixes bad DEB paackage descriptions
2023-03-25 17:01:54 +01:00
Filippo Gentile
7ac337a181
Clear some unused stuff and old comments
2023-03-25 15:51:32 +01:00
Filippo Gentile
4e6f49dd44
JobPathEditor: clear Next/Prev tables when clearing job
2023-02-24 17:00:21 +01:00
Filippo Gentile
efd60f9ce6
CMake: bump version to 6.2.1
2023-02-24 16:59:11 +01:00
Filippo Gentile
48faf57a93
ViewManager: fix crash on view close
...
View widgets connect 'destroyed()' signal to a lambda which removes them
from the list.
This causes iterator removal while on close we loop all the lists and
delete views.
To fix that, empty the list and loop on copies
2023-02-19 11:16:20 +01:00
Filippo Gentile
90ca41cb55
CMake: Bump project version to 6.2.0
2023-02-18 20:17:21 +01:00
Filippo Gentile
9abb3b014c
Fix some compiler warnings about unused parameters
2023-02-18 20:08:11 +01:00
Filippo Gentile
6323a87ff0
translations: update Italian and German translations
2023-02-18 19:46:39 +01:00
Filippo Gentile
9bf0027fe3
Fix translation typos and missing Q_OBJECT macro
2023-02-18 19:46:21 +01:00
Filippo Gentile
6923642a53
Merge pull request #59 from gfgit/feature/next_prev_jobs_rs
...
Feature: Next/Prev jobs
2023-02-18 19:15:27 +01:00
Filippo Gentile
5d643196e0
JobPathEditor: add next/prev jobs views
...
- Use a splitter to lay 3 views vertically
- New context menu for Jobs views
2023-02-18 19:13:10 +01:00
Filippo Gentile
62ee86b8b5
NextPrevRSJobsModel: new model to list next/prev jobs
2023-02-18 19:13:10 +01:00
Filippo Gentile
585476240f
EditStopDialog: allow RS import from other Jobs
...
- Removed unused included header
- Added new button to UI
- New importJobRS() slot connected to button
Import all uncoupled RS from another Job
2023-02-18 19:13:09 +01:00
Filippo Gentile
a4393aec43
RSCouplingInterface: add importJobRS()
...
Imports uncoupled RS from another Job stop and couples them to current
stop.
2023-02-18 19:13:09 +01:00
Filippo Gentile
02f4938396
JobMatchModel: new match model for jobs
...
Allows filtering by station
2023-02-18 19:13:09 +01:00
Filippo Gentile
49c7f60c94
RSCouplingInterface: minor optimization
...
Do not check for rollingstock traction type if we already know next
railway segment is electrified (so it accepts all types of engine).
2023-02-18 19:13:09 +01:00
Filippo Gentile
7fb7271745
Merge pull request #58 from gfgit/feature/jobs_checker2
...
Feature: Job Checker
2023-02-18 19:04:21 +01:00
Filippo Gentile
1cbc5e38a2
JobCrossingModel: add description to errors
2023-02-18 18:58:27 +01:00
Filippo Gentile
f60f9ed11d
JobCrossingChecker: react to session loaded and job changed
...
- Add context menu
2023-02-18 18:58:27 +01:00
Filippo Gentile
1b65e413de
RsCheckerManager: react to session loaded
2023-02-18 18:58:27 +01:00
Filippo Gentile
3847853913
SettingsDialog: add job crossing checker options
2023-02-18 18:58:26 +01:00
Filippo Gentile
8c61554a5d
JobCrossingTask: prepare for single job task
2023-02-18 18:58:26 +01:00
Filippo Gentile
4e622d0841
JobCrossingErrorData: fix initialization
...
JobCrossingErrorMap: allow to renameJob()
2023-02-18 18:58:26 +01:00
Filippo Gentile
0149217499
IBackgroundChecker: allow to react on session loaded
...
MeetingSession: fix call to BackgroundManager
2023-02-18 18:58:26 +01:00
Filippo Gentile
e5fc856c10
BackgroundManager: allow to start all tasks
...
CMake: remove ENABLE_RS_CHECKER dependant option
2023-02-18 18:58:26 +01:00
Filippo Gentile
ecf934bf86
MainWindow: use new BackgroundResultPanel
2023-02-18 18:58:26 +01:00
Filippo Gentile
5f165502f8
RsCheckerManager: port to IBackgroundChecker
...
Remove old RsErrorsWidget, replaced by BackgroundResultWidget
2023-02-18 18:58:26 +01:00
Filippo Gentile
232f4e1dcc
RsErrWorker: port to TaskProgressEvent
...
Use ENABLE_BACKGROUND_MANAGER guard macro
2023-02-18 18:58:26 +01:00
Filippo Gentile
576a79e065
RsErrorTreeModel: port to SingleDepthTreeModelHelper
...
Use ENABLE_BACKGROUND_MANAGER guard macro
2023-02-18 18:58:26 +01:00
Filippo Gentile
c61fac42b7
Rename error_data.h to rs_error_data.h
...
Filename was too generic
2023-02-18 18:58:26 +01:00
Filippo Gentile
1618cc47ad
RsCheckerManager: fix error_data.h header
...
Add new helper functions to use in SingleDepthTreeModelHelper
2023-02-18 18:58:26 +01:00
Filippo Gentile
6dacc44880
JobCrossingChecker: new checker for crossings and passings
...
Initial implementation
2023-02-18 18:58:26 +01:00
Filippo Gentile
3b969aafce
BackgroundManager: use new checker interface
...
BackgroundResultPanel: tab widget for BackgroundResultWidget
MeetingSession: do not use RSCheckerManager directly
2023-02-18 18:58:26 +01:00
Filippo Gentile
77dcb5d0de
IBackgroundChecker: new helper class for checkers
...
BackgroundResultWidget: result widget implementation
2023-02-18 18:58:26 +01:00
Filippo Gentile
9383f4a922
SingleDepthTreeModelHelper: new tree model helper class
2023-02-18 18:58:26 +01:00
Filippo Gentile
a352eafdbb
TaskProgressEvent: new generic progress event
2023-02-18 18:58:26 +01:00
Filippo Gentile
b2a8e04faf
translations: fix Italian translation typo
2023-02-18 18:56:11 +01:00
Filippo Gentile
66442b13cb
StopModel: fix warnings printing and segment errors
...
Fix not updating out gate if only segment changed but not the gate
itself. This scenario happens when database is corrupted (maybe because
segment changed track number while jobs where already set on it)
2023-02-18 18:55:34 +01:00
Filippo Gentile
706d9dadb4
Fix unused headers in editstopdialog.cpp and stopdelegate.cpp
2023-02-18 18:48:09 +01:00
Filippo Gentile
de54030785
StopModel: allow skipping travel time recalculation
...
- Now EditStopDialog and StopDelegate check for SHIFT pressed on save.
- Added tooltips to StopEditor and EditStopDialog Ok button
2023-02-18 18:46:37 +01:00
Filippo Gentile
0c04121867
StationEditDialog: refresh row count on connection import
...
When importing track connections from SVG, recalculate model row count,
so the view gets update automatically.
2023-01-10 16:51:58 +01:00
Filippo Gentile
017005e1a9
RSProxyModel: fix Italian translation
2023-01-06 15:24:17 +01:00
Filippo Gentile
8667ea96fe
StationSVGHelper: raise track connection limit
...
Big stations easily exceed 100 track connections.
This meant that some of them were not displayed.
1000 seems more reasonable limit.
2023-01-06 14:47:18 +01:00
Filippo Gentile
3672395be5
LineSegmentsModel: fix comment typo
2023-01-06 14:46:11 +01:00