1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-02 04:52:32 +02:00
Commit Graph

54 Commits

Author SHA1 Message Date
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
guijar_m 90907e0a9c refactor(bec_dispatcher): new BEC dispatcher - rebased 2024-04-11 10:54:46 +02:00
guijar_m 9def3734af fix: producer->connector 2024-04-11 10:50:46 +02:00
wakonig_k d846266332 refactor: renamed scanID to scan_id 2024-03-22 16:15:44 +01:00
wyzula_j e6b065767c fix(cli/server): thread heartbeat replaced with QTimer 2024-03-22 15:59:53 +01:00
wakonig_k a92aead769 fix(cli): don't call user script if gui is not alive 2024-03-20 22:11:09 +01:00
wakonig_k 882cf55fc5 fix(cli): added gui heartbeat 2024-03-20 22:02:02 +01:00
wakonig_k 203ae09606 fix(cli): removed hard-coded signal 2024-03-18 07:43:32 +01:00
wakonig_k 2d39c5e4d1 fix(cli): fixed cleanup procedure 2024-03-18 07:43:32 +01:00
wakonig_k 9049e0d27f feat(cli): added update script to BECFigure 2024-03-18 07:43:32 +01:00
wyzula-jan fcf918c488 fix(widgets/figure): added widgets can be accessed as a list (fig.axes) or as a dictionary (fig.widgets) 2024-03-15 16:44:32 +01:00
wyzula-jan 32747baa27 refactor(cli): commented debug CLI messages 2024-03-14 15:17:11 +01:00
wyzula-jan 4ef6ae90f2 fix(cli): find_widget_by_id for BECImageShow changed to be compatible with RPC logic 2024-03-14 14:42:41 +01:00
wyzula-jan 4076698530 fix(cli): fix cli connector.send to set_and_publish for gui_instruction_response 2024-03-14 14:42:41 +01:00
wyzula-jan a21bfec3d9 refactor(plots/image): image logic moved to BECImageItem, image updated from bec_dispatcher with register_stream fetching data from dispatcher 2024-03-14 14:42:41 +01:00
wyzula-jan ebb36f62dd fix(cli/client_utils): "__rpc__" pop from msg_results 2024-02-26 15:30:43 +01:00
wyzula-jan fd711b475f fix(cli/rpc): rpc client can return any type of object + config dict of the widgets 2024-02-26 14:06:36 +01:00