Commit Graph
117 Commits
Author SHA1 Message Date
sani7 deadf795f7 client
fix the annoying errors when you develop
2026-02-14 16:43:13 +01:00
sani7 6a0c9732cc b server
fix for using this as a sub-module
2026-02-14 14:32:51 +01:00
sani7 b493129184 b server / client
unloading the lib when it contains a ui/sim crashes on windows
2026-02-14 14:32:50 +01:00
sani7 16e6100465 server logger
move over to qt signals that are processed in simulators
2026-02-14 14:32:49 +01:00
sani7 043c19c537 server test sim
allow starting from 0
2026-02-14 14:32:49 +01:00
sani7 14a4e15962 server cmake
add cpp-templates to simulators path
2026-02-14 14:32:47 +01:00
sani7 9345620fec server sim base
make check_input_high inline and move it to header file
2026-02-14 14:32:46 +01:00
sani7 af6315c486 fix for simulators 2026-02-14 14:32:45 +01:00
sani7 41058957f2 fix can 2026-02-14 14:32:45 +01:00
sani7 135a2a03d7 move can debugger to can if 2026-02-14 14:32:44 +01:00
sani7 a69d2fa838 Lint 2026-02-14 14:32:44 +01:00
sani7 fbf0d02d9c clean up 2026-02-14 14:32:43 +01:00
sani7 2e1d461026 server extensions
move gpio and visa extensions to extensions folder
2026-02-14 14:32:43 +01:00
sani7 cf3aa22164 visa
remove duplicate variables
2026-02-14 14:32:43 +01:00
sani7 618172dec2 b server visa 2026-02-14 14:32:42 +01:00
sani7 42e5538c9b update for dagger ci 2026-02-14 14:32:41 +01:00
sani7 235a0423c0 server
compatibility with previous version
2026-02-14 14:32:39 +01:00
sani7 7618789717 server
move to internal can wrapper and external can_interface
2026-02-14 14:32:39 +01:00
sani7 e7c4f3956a server
update main command line arguments
2026-02-14 14:32:39 +01:00
sani7 fc654d1e39 Lint 2026-02-14 14:32:38 +01:00
sani7 7a4eb4f92d b server
add error message if unable to bind to port
2026-02-14 14:32:38 +01:00
sani7 600e7c27b3 server can if
add critical message
2026-02-14 14:32:38 +01:00
sani7 01dfb0e21d server doxygen
Add documentation to the server
2026-02-14 14:32:37 +01:00
sani7 a3a1657fb8 Lint 2026-02-14 14:32:34 +01:00
sani7 fbf8f53090 server
Ensures that the message parser returns a default "{}" response after handling an event, preventing unintended empty responses.
Also, this change avoids sending empty messages to the client unnecessarily.
2026-02-14 14:32:33 +01:00
sani7 c8ea8185b4 server websocket
Removes unnecessary debug and trace logging statements from the websocket server implementation to reduce verbosity. Also removes unused binary message processing.
2026-02-14 14:32:33 +01:00
sani7 4efe904fe7 Improves logging and adds TODO for COM device
Capitalize  first letter.
Adds a TODO comment to address future improvements regarding COM device handling.
2026-02-14 14:32:33 +01:00
sani7 e9128e4f36 sim loading
remove idea of running this thing on windows, not possible due to windows not having "export-dynamic" support
2026-02-14 14:32:32 +01:00
sani7 326a636122 server
Renames the `run` method to `start` in the simulator classes.
2026-02-14 14:32:32 +01:00
sani7 1a88e5fc40 b server sim switching
Rearranges the order of operations during simulator switching to ensure that the previous simulator is properly stopped and disconnected before the new simulator is started.
2026-02-14 14:32:32 +01:00
sani7 a2befb3ff9 b server simulators broadcast
- Fix for separate message for each ui change/sim change event by putting Qt::QueuedConnection
- Avoids broadcasting empty JSON objects produced by the change above mentioned
2026-02-14 14:32:31 +01:00
sani7 7cb93ec14d change Event can_clear to clear
make this a bit more general, that it can be used for more then only can
2026-02-14 14:32:18 +01:00
sani7 1bd7635085 Renames signals for consistency
Updates signal names across UI components (checkbox, textbox, and CAN) to use more consistent and descriptive names, improving code readability and maintainability. The 'on_change' and 'on_send' signals are renamed to 'changed' and 'send' respectively.
2026-02-14 14:32:16 +01:00
sani7 8bf7c6fd79 cmake
auto copy libsim_* and libui_* to bin folder
2026-02-14 14:32:11 +01:00
sani7 8668f72e6d Replaces header guards with pragma once 2026-02-14 14:32:10 +01:00
sani7 ee185b68e6 Adds check for active simulator before commands
Implements a check to ensure a simulator is active before processing commands.

This prevents errors and unexpected behavior when commands are sent without an active simulator. The check is performed at the beginning of the command parsing, and logs an error if no simulator is active, returning an empty JSON object.
2026-02-14 14:32:10 +01:00
sani7 fe0ee989e9 Improves build process for internal development
Adds an INTERNAL preprocessor definition to manage dependencies.

This change allows for a lighter build during internal development by
forward declaring some classes and excluding UI and CAN dependencies.
2026-02-14 14:32:10 +01:00
sani7 0cdd276194 UI
add statusbar
2026-02-14 14:32:09 +01:00
sani7 4da26083a7 stacked widget
tested and working
2026-02-14 14:32:07 +01:00
sani7 faac84821c tab widget
working prototype
2026-02-14 14:32:07 +01:00
sani7 c6c765d528 rename executables 2026-02-14 14:32:05 +01:00
sani7 2aa7f335db Add branch name to description 2026-02-14 14:32:04 +01:00
sani7 7c91a64d71 convert selected
move from string to index to reduce data size
2026-02-14 14:32:03 +01:00
sani7 99d537ac29 Lint 2026-02-14 14:32:03 +01:00
sani7 0da7be73b2 add git_tag 2026-02-14 14:32:02 +01:00
sani7 6e5d32bc16 Lint 2026-02-14 14:31:31 +01:00
sani7 b772b91e6e fixes for build on windows 2026-02-14 14:31:31 +01:00
sani7 34acefde6a server
remove includes from simulators header to source
2026-02-14 14:31:25 +01:00
sani7 e9dc6af1d2 b server cmake
add spdlog
2026-02-14 14:31:25 +01:00
sani7 15969538de b library
fix unload lib on error
2026-02-14 14:31:24 +01:00