Commit Graph

129 Commits

Author SHA1 Message Date
Sebastien Bourdeauducq 8be0696b39 protocols/pyon: set support 2016-02-08 14:08:14 +01:00
Sebastien Bourdeauducq 8a912105cb protocols/pyon: remove FlatFileDB 2016-02-08 14:05:00 +01:00
Robert Jördens c28b938471 Client: add note about timeout sideeffects 2016-02-02 15:42:47 -07:00
Robert Jördens c105949155 pc_rpc.Client: support socket timeouts
... and fix two flake8 errors.
2016-02-02 15:32:39 -07:00
Robert Jördens 68891493a3 analyzer: move common to artiq.protocols
migen was still pulled in through rtio.__init__.py
2016-01-29 20:26:48 -07:00
Sebastien Bourdeauducq 27c12a5bf4 protocols/logging,pc_rpc: do not print errors on Windows when clients disconnect 2016-01-27 21:23:27 +01:00
Sebastien Bourdeauducq a4fb8f3e53 protocol/sync_struct: Windows also raises ConnectionAbortedError on disconnection 2016-01-27 21:12:22 +01:00
Sebastien Bourdeauducq 170b438b98 protocols/logging/LogParser: handle Windows CRLF 2016-01-27 20:45:04 +01:00
Sebastien Bourdeauducq 590354dbc8 pyon: handle \r 2016-01-27 20:43:42 +01:00
Sebastien Bourdeauducq b753306f12 Merge branch 'worker_pipeipc' 2016-01-27 19:37:06 +01:00
Sebastien Bourdeauducq 79c0488ff1 protocols/asyncio_server: minor cleanup 2016-01-27 19:19:47 +01:00
Sebastien Bourdeauducq dce2aac475 protocols/pipe_ipc: Windows support 2016-01-27 19:18:03 +01:00
Sebastien Bourdeauducq 3cf67afeb1 generalize multiline logging to remote logs and controllers 2016-01-26 21:59:37 +01:00
Sebastien Bourdeauducq ded1e31567 protocols/logging: add MultilineFormatter 2016-01-26 21:30:09 +01:00
Sebastien Bourdeauducq 19c5e89b4d protocols/logging: support parsing multiline log messages 2016-01-26 21:06:44 +01:00
Sebastien Bourdeauducq 5aa4de8e89 refactor logging and implement in worker 2016-01-26 20:31:42 +01:00
Sebastien Bourdeauducq 6383253e03 protocols/pipe_ipc: autoclose pipe fds on process exit in AsyncioParentComm 2016-01-26 14:55:52 +01:00
Sebastien Bourdeauducq dcea6780c6 protocols/pipe_ipc: implement AsyncioChildComm for Unix (affected by python/asyncio#314) 2016-01-26 00:48:12 +01:00
Sebastien Bourdeauducq 8befc6a8fc protocols: add pipe_ipc (incomplete) 2016-01-25 22:49:32 +01:00
Sebastien Bourdeauducq 5bf257818d protocols/pc_rpc: use timeout only for connecting. Closes #161 2016-01-14 17:50:36 -07:00
Sebastien Bourdeauducq 183e855229 remove workaround_asyncio263 2015-12-20 23:26:48 +08:00
whitequark 1860364778 protocols.pyon: support artiq.int (fixes #188). 2015-12-14 16:26:02 +08:00
Sebastien Bourdeauducq 3edf52232c protocols/pc_rpc: support coroutine methods 2015-12-06 12:52:41 +08:00
Sebastien Bourdeauducq 2904b31e7e protocols/pyon: fix formatting, support OrderedDict 2015-11-30 11:40:34 +08:00
Sebastien Bourdeauducq 91a8acf304 protocols/pc_rpc: properly convert FullArgSpec to dict 2015-11-24 15:51:13 +08:00
Sebastien Bourdeauducq 11fbea4161 sync_struct/Subscriber: support lists of notify callbacks 2015-11-11 17:09:07 +08:00
Sebastien Bourdeauducq 69f5e378fe sync_struct/Subscriber: remove unused multi-target functionality 2015-11-11 12:44:20 +08:00
Sebastien Bourdeauducq f0eed1182a protocols/pyon: improve error reporting of non-serializable type 2015-10-29 09:42:45 +08:00
Sebastien Bourdeauducq fe809f81ab protocols/pyon: make received numpy arrays writable 2015-10-26 00:21:51 +08:00
Sebastien Bourdeauducq a58e41684b protocols/logging: revert debug hack that was incorrectly committed 2015-10-21 09:54:39 +08:00
Sebastien Bourdeauducq d13b368a65 build logging into worker 2015-10-20 18:11:50 +08:00
Sebastien Bourdeauducq 1bc4061620 protocols: better workaround for asyncio issue 263 2015-10-20 00:35:33 +08:00
Sebastien Bourdeauducq 71d2e3a69f protocols/sync_struct: disconnection can also cause BrokenPipeError 2015-10-20 00:35:02 +08:00
Sebastien Bourdeauducq 5947f54855 pc_rpc: autotarget support 2015-10-18 14:34:30 +08:00
Sebastien Bourdeauducq f6fd7ecef2 logging: handle newlines in messages 2015-10-17 10:21:03 +08:00
Sebastien Bourdeauducq 6c856025cc protocol/logging: workaround for asyncio's inability to detect connection closes on writes 2015-10-16 21:28:39 +08:00
Sebastien Bourdeauducq f332c1d3cc ctlmgr: forward controller logs 2015-10-16 20:08:11 +08:00
Sebastien Bourdeauducq 786dc14057 protocols/logging: fix split, warn on format errors 2015-10-16 20:07:31 +08:00
Sebastien Bourdeauducq cee8f288de protocols/logging: add LogForwarder 2015-10-16 18:35:02 +08:00
Sebastien Bourdeauducq c0796249b3 protocols/logging: document, take level numbers for consistency with master publish 2015-10-16 18:34:37 +08:00
Sebastien Bourdeauducq cbda753f44 master: TCP server for remote logging 2015-10-16 00:53:35 +08:00
Sebastien Bourdeauducq a83ffb3dce protocols: move FlatFileDB into pyon 2015-10-12 18:19:28 +08:00
Sebastien Bourdeauducq 3923dd83c2 protocols/file_db: remove unneeded hooks feature 2015-10-12 17:20:01 +08:00
Sebastien Bourdeauducq 512bc79484 master: consistent db function argument names 2015-10-04 18:27:44 +08:00
Sebastien Bourdeauducq f552d62b69 use Python 3.5 coroutines 2015-10-03 19:28:57 +08:00
Sebastien Bourdeauducq 42e87c060e protocols/pyon: use better object for empty builtins 2015-08-22 21:04:44 +08:00
Sebastien Bourdeauducq 21b170ed32 pc_rpc/Server: show builtin terminate in method list 2015-08-17 23:03:43 +08:00
Sebastien Bourdeauducq 998db5121b pc_rpc: id_parameters -> description 2015-08-11 23:29:52 +08:00
Sebastien Bourdeauducq b700f591f1 protocols/pc_rpc: add missing import 2015-08-10 20:07:39 +08:00
Sebastien Bourdeauducq 4b195663f6 pc_rpc/Server: add built-in terminate 2015-08-09 20:40:15 +08:00
Sebastien Bourdeauducq a64766a10d protocols/FlatFileDB: remove unneeded default_data 2015-08-01 16:49:05 +08:00
Sebastien Bourdeauducq 05dd11a60d protocols/pyon: support numpy scalars (closes #53) 2015-07-25 12:28:56 +08:00
Sebastien Bourdeauducq 7d81520827 protocols/pc_rpc: improve docstrings 2015-07-25 00:30:36 +08:00
Sebastien Bourdeauducq bd2bd68a54 gui,client: do now show arguments 2015-07-22 05:47:14 +08:00
Sebastien Bourdeauducq 4907991ea3 sync_struct: docstring cleanup 2015-07-17 18:53:43 +02:00
Sebastien Bourdeauducq a83473a19a sync_struct: clarify notify_cb doc 2015-07-16 20:52:27 +02:00
Sebastien Bourdeauducq 1edeb5a13f sync_struct: docstring cleanup 2015-07-14 17:30:21 +02:00
Sebastien Bourdeauducq 32d141f5ac refactor ddb/pdb/rdb 2015-07-13 22:21:32 +02:00
Sebastien Bourdeauducq 8b02b58a77 sync_struct/Notifier: do not pass root param to publish 2015-07-13 17:12:59 +02:00
Sebastien Bourdeauducq 9d4073ef36 master: remove simple parameter history 2015-07-09 13:54:38 +02:00
Yann Sionneau 2d343dd95d pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from 2015-07-07 19:26:47 +02:00
Sebastien Bourdeauducq c71fe29792 simplify unit system and use floats by default 2015-06-26 16:34:37 +02:00
Sebastien Bourdeauducq 4ba8951ae1 rpc: fix indentation of class docstring 2015-06-23 19:31:52 +00:00
Yann Sionneau 71721a152e artiq_rpctool: list-methods also prints class docstring 2015-06-23 18:35:32 +02:00
Sebastien Bourdeauducq 76e034c913 protocols: add fire-and-forget RPC 2015-06-14 22:03:34 -06:00
Sebastien Bourdeauducq ae4615281f pyon/store_file: replace previous file atomically 2015-05-24 21:26:15 +08:00
Sebastien Bourdeauducq 0abd41a04a pc_rpc: trace support in server 2015-02-27 00:17:11 -07:00
Yann Sionneau 3c50610f3d pyon: bytes support 2015-02-18 11:19:03 -07:00
Sebastien Bourdeauducq 1b3603d8bf pc_rpc/BestEffortClient: add docstrings 2015-02-12 00:50:48 +08:00
Yann Sionneau b396f5dd43 pc_rpc: support for method listing, frontend: artiq_rpctool, +fixes by SB 2015-02-12 00:38:30 +08:00
Sebastien Bourdeauducq 6d11da3887 pc_rpc/BestEffortClient: add logging 2015-02-12 00:21:39 +08:00
Sebastien Bourdeauducq a7405dea1c protocols/pc_rpc: add best effort client 2015-02-12 00:14:20 +08:00
Sebastien Bourdeauducq 0d0a05a487 sync_struct/Subscriber: add before_receive_cb, export reader/writer 2015-02-07 01:13:15 +08:00
Sebastien Bourdeauducq 1b122dd887 sync_struct,gui: refactor Subscriber data distribution to support access to parameter DB from GUI file 2015-02-04 15:06:25 +08:00
Sebastien Bourdeauducq f983fdc985 file_db: support default data if file not present 2015-01-23 18:59:56 +08:00
Yann Sionneau c8f2f4b245 Add missing __init__.py 2015-01-22 10:37:58 +08:00
Sebastien Bourdeauducq 0983862c03 pyon/store_file: add newline 2015-01-21 13:52:35 +08:00
Sebastien Bourdeauducq 56ea62b936 doc: fixes and add sync_struct docstrings 2015-01-19 19:20:14 +08:00
Sebastien Bourdeauducq 3e22fe86b5 reorganize files as per discussion with Robert 2015-01-17 19:38:20 +08:00