wyzula_j
056731c9ad
fix(client_utils): autoupdate has correct propagation of BECDockArea to plugin repos
2025-02-18 15:06:53 +01:00
wakonig_k
5e3289f5bd
fix(macos): suppress IMKClient warning on macos
2025-02-05 13:01:40 +01:00
wakonig_k
1c8b06cbe6
refactor(rpc,client_utils): minor cleanup and type hint improvements
2024-12-23 15:59:10 +01:00
guijar_m
0ff0c06bd1
feat: add test for BECGuiClient features .new, .delete, .show, .hide, .close
2024-12-23 15:59:10 +01:00
guijar_m
5c83702382
refactor: move RPC-related classes and modules to 'rpc' directory
...
This allows to break circular import, too
2024-12-23 15:59:10 +01:00
guijar_m
1b0382524f
fix: simplify AutoUpdate code thanks to threadpool executor in BEC Connector
2024-12-23 15:59:10 +01:00
guijar_m
92b802021f
feat: add '.delete()' method to BECDockArea, make main window undeletable
2024-12-23 15:59:10 +01:00
guijar_m
48c140f937
fix: add .windows property to keep track of top level windows, ensure all windows are shown/hidden
2024-12-23 15:59:10 +01:00
guijar_m
42fd78df40
fix: remove useless class member
2024-12-23 15:59:10 +01:00
guijar_m
bde5618699
feat: add "new()" command to create new dock area windows from client
2024-12-23 15:59:10 +01:00
guijar_m
809e654087
refactor: BECGuiClientMixin -> BECGuiClient
...
- Mixin class was only used with BECDockArea, now it is a class by itself
which represents the client object connected to the GUI server ; ".main"
is the dock area of the main window
- Enhanced "wait_for_server"
- ".selected_device" is stored in Redis, to allow server-side to know
about the auto update configuration instead of keeping it on client
2024-12-23 15:59:10 +01:00
guijar_m
bdb25206d9
fix: use specified timeout in _run_rpc
2024-12-23 15:59:10 +01:00
guijar_m
31d87036c9
feat: '._auto_updates_enabled' attribute can be used to activate auto updates installation in BECDockArea
2024-11-27 11:44:03 +01:00
guijar_m
e68e2b5978
feat(client): add show()/hide() methods to "gui" object
2024-11-27 11:44:03 +01:00
guijar_m
2047e484d5
feat: asynchronous .start() for GUI
2024-11-27 11:44:03 +01:00
wakonig_k
3a5d7d0796
refactor(logger): changed prints to logger calls
2024-09-04 16:26:13 +02:00
guijar_m
939f834a26
fix: formatting of stdout, stderr captured text for logger
2024-08-14 18:01:51 +02:00
wakonig_k
bc2abe945f
fix(server): emit heartbeat with state
2024-08-14 16:55:04 +02:00
wakonig_k
ea9240d2f7
fix(rpc): use client singleton instead of dispatcher
2024-08-14 12:32:34 +02:00
wakonig_k
4d02b42f11
fix: removed qcoreapplication for polling events
2024-08-14 12:32:34 +02:00
wakonig_k
90178e2f61
fix(rpc_server): pass cli config to server
2024-07-07 23:25:45 +02:00
wakonig_k
acc13183e2
fix(rpc): trigger shutdown of server when gui is terminated
2024-06-25 16:45:39 +02:00
wyzula_j
f75fc19c5b
fix(rpc): remove of calling "close" and waiting for gui_is_alive
2024-06-25 15:22:29 +02:00
wakonig_k
860517a321
fix: don't print exception if the auto-update module cannot be found in plugins
2024-06-23 17:23:39 +02:00
guijar_m
ce374163ca
fix: ignore GUI server output (any output will go to log file)
...
If a logger is given to log `_start_log_process`, the server stdout and
stderr streams will be redirected as log entries with levels DEBUG or ERROR
in their parent process
2024-06-21 12:32:59 +02:00
guijar_m
3644f344da
feat: properly handle SIGINT (ctrl-c) in BEC GUI server -> calls qapplication.quit()
2024-06-21 12:32:59 +02:00
guijar_m
630616ec72
feat: add logger for BEC GUI server
2024-06-21 12:32:59 +02:00
wyzula_j
e5a7d47b21
fix(client_utils): added close rpc command to shutdown of gui from bec_ipython_client
2024-06-19 16:36:05 +02:00
guijar_m
6f96498de6
fix: do not import "server" in client, prevents from having trouble with QApplication creation order
...
Like with QtWebEngine
2024-06-13 15:14:30 +02:00
guijar_m
836b6e64f6
Reapply "feat: implement non-polling, interruptible waiting of gui instruction response with timeout"
...
This reverts commit fe04dd80e5 .
2024-06-13 15:14:30 +02:00
guijar_m
9263f8ef5c
fix: just terminate the remote process in close() instead of communicating
...
The proper finalization sequence will be executed by the remote process
on SIGTERM
2024-06-13 14:56:21 +02:00
wyzula_j
fe04dd80e5
Revert "feat: implement non-polling, interruptible waiting of gui instruction response with timeout"
...
This reverts commit abc6caa2d0
2024-06-12 17:19:08 +02:00
guijar_m
abc6caa2d0
feat: implement non-polling, interruptible waiting of gui instruction response with timeout
2024-06-12 11:43:08 +02:00
guijar_m
69f4371007
refactor: move _get_output and _start_plot_process at the module level
2024-06-06 12:09:24 +02:00
wakonig_k
131f49da8e
fix: fixed support for auto updates
2024-06-05 13:47:27 +02:00
wyzula_j
3455c60236
refactor(reconstruction): repository structure is changed to separate assets needed for each widget
2024-05-21 16:31:55 +02:00
wakonig_k
7d64cac661
fix: removed apparently unnecessary sleep while waiting for an rpc response
2024-05-15 14:14:25 +02:00
guijar_m
9f8fbdd5fc
fix: check device class without importing to speed up initial import time
2024-05-15 10:10:14 +02:00
guijar_m
d1e6cd388c
fix: speed up initial import times using lazy import (from bec_lib)
2024-05-15 10:10:14 +02:00
guijar_m
5d09a13d88
fix: adapt to bec_lib changes (no more submodules in __init__.py)
2024-05-15 10:10:14 +02:00
wyzula_j
7f2f7cd07a
fix(docstrings): docstrings formating fixed for sphinx to properly format readdocs
2024-05-08 15:31:22 +02:00
wyzula_j
ceae979f37
fix(widgets/dock): BECDockArea close overwrites the default pyqtgraph Container close + minor improvements
2024-05-07 16:31:12 +02:00
wyzula_j
57cb136a09
fix(cli): BECFigure takes the port to connect to redis from the current BECClient, supporting plugins
2024-04-29 16:53:26 +02:00
wyzula_j
6b6a6b2249
fix(rpc/client_utils): getoutput more transparent + error handling
2024-04-28 12:42:58 +02:00
wyzula_j
6500a00682
feat(rpc/client_utils): timeout for rpc response
2024-04-24 17:49:23 +02:00
wyzula_j
9602085f82
fix(rpc/client_utils): close clean up policy for BECFigure
2024-04-24 10:54:24 +02:00
wakonig_k
6238693ffb
feat(cli): added auto updates plugin support
2024-04-23 15:22:45 +02:00
wakonig_k
1111610f32
fix(cli): fixed support for devices as cli input
2024-04-19 18:18:25 +02:00
wyzula_j
2955b5ec02
refactor(rpc/client_utils): update script for grid_scan adds z axis device
2024-04-19 00:17:00 +02:00
guijar_m
285bf0164b
fix(cli/client_utils): print_log is buffered; add output processing thread
2024-04-11 11:53:28 +02:00