c71e442929
documentation improvements
...
Based on PR #1101 by @drewrisinger
2018-09-26 12:12:37 +08:00
David Nadlinger
829fca6112
pyon: Correctly deserialize bare NaNs
...
This also fixes (non-numpy) lists containing NaNs.
Previously, accidentally storing a NaN in a dataset would
bring down large parts of the system.
2018-07-30 11:08:56 +01:00
123e7bc054
pyon: sort string dicts by key when pretty-printing. Closes #1010
2018-07-15 17:38:09 +08:00
whitequark
223b984385
Fix non-exception-safe finally: handlers.
...
Fixes #1013 .
2018-05-25 04:23:32 +00:00
whitequark
c9e2a085ec
logging, aqctl_corelog: recognize log level TRACE.
2017-08-31 13:12:22 +00:00
05b57f5110
protocols: increase another asyncio line limit ( #671 )
2017-06-22 09:43:52 +08:00
7d6ebabc1b
reorganize core device communication code
2017-02-27 18:37:30 +08:00
bd55436668
protocols: increase asyncio line limit. Closes #671
2017-02-17 20:46:23 +08:00
dcea48a52d
protocols/broadcast,sync_struct: add disconnect callback
2017-01-30 10:47:56 +08:00
3743633b04
Revert "pc_rpc: use ProactorEventLoop on Windows ( #627 )"
...
This reverts commit 7d4297b9bb
.
2016-12-12 11:33:56 +08:00
bc36bda94a
perform RTIO init on comms CPU side
2016-12-09 14:16:55 +08:00
88ad054ab6
Merge branch 'drtio'
2016-12-03 23:25:17 +08:00
7d4297b9bb
pc_rpc: use ProactorEventLoop on Windows ( #627 )
2016-11-24 10:19:13 +08:00
9acc7d135e
gateware: common RTIO interface
2016-11-22 22:46:50 +08:00
c7c8ad126f
pc_rpc: raise AttributeError immediately for nonexistent RPC methods. Closes #534
2016-09-14 11:22:07 +08:00
whitequark
8a40871f30
protocols.pc_rpc: exclude kernel_invariants from proxying.
...
Fixes #531 .
2016-08-03 04:59:17 +00:00
c0d59140fe
pc_rpc: increase firstcon_timeout to 1 s
...
let's see whether this is enough on windows:
http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/258/steps/python_unittest/logs/stdio
test_attenuation (artiq.test.test_lda.TestLda) ... first connection attempt to ::1:3253[<class 'artiq.protocols.pc_rpc.AutoTarget'>] failed, retrying in the background
Traceback (most recent call last):
File "c:\slave64\artiq-win64-test\build\artiq\protocols\pc_rpc.py", line 301, in __init__
self.__coninit(firstcon_timeout)
File "c:\slave64\artiq-win64-test\build\artiq\protocols\pc_rpc.py", line 317, in __coninit
(self.__host, self.__port), timeout)
File "c:\slave64\miniconda\envs\buildbot-artiq-win64-test-258\lib\socket.py", line 711, in create_connection
raise err
File "c:\slave64\miniconda\envs\buildbot-artiq-win64-test-258\lib\socket.py", line 702, in create_connection
sock.connect(sa)
socket.timeout: timed out
2016-07-13 18:45:57 +02:00
1c32d4fb71
monkey-patch Python 3.5.2 to disable broken asyncio.base_events._ipaddr_info optimization ( #506 )
2016-07-13 11:35:16 +08:00
c065b5866f
require Python 3.5.2, remove monkey patches
2016-07-07 14:55:21 +08:00
whitequark
906db876a6
language: replace coredevice int with numpy.{int32,int64}.
...
Fixes #453 .
2016-07-06 04:44:21 +00:00
033aa33c9e
pyon: support slices
2016-06-15 19:18:46 +08:00
7fb6b3db21
protocols/broadcast: minor fixes
2016-05-25 10:32:36 -05:00
9dd7ea0bcd
protocols: add broadcast (untested)
2016-05-22 17:20:39 -07:00
114b305203
use recommended asyncio.ensure_future instead of asyncio.Task
2016-05-22 16:36:29 -07:00
fbd3db5753
pyon: move string escaping table, add more info in errors
2016-05-22 16:53:39 +02:00
9e681590cb
pyon: ship ndarray data as bytes
...
this is about 3 times faster and since the encapsulating nparray() already
breaks json-compatibility, using a unicode string for json compatibility
is not necessary
2016-05-22 16:53:37 +02:00
a9434d2e9f
pyon: use dtype.str
...
* contains endianess, makes this portable
* it's shorter
* it's what the numpy array interfaces uses
* this is otherwise backwards and forwards compatible
2016-05-22 16:52:59 +02:00
ec5eca0111
pyon: no float128 on windows
2016-04-24 15:44:48 +02:00
22946a0c2f
pyon: complex types
2016-04-24 14:24:41 +02:00
eb68ab9ad0
doc: remote execution
2016-04-06 19:13:41 +08:00
aa61c29efb
transfer Python builtin exceptions over pc_rpc and master/worker
2016-04-04 22:02:42 +08:00
f860548396
protocols/pyon: minor cleanup
2016-04-04 21:34:37 +08:00
4ce00e3b7a
protocols/remote_exec: add connect_global_rpc
2016-04-04 19:09:23 +08:00
059836c591
protocols/remote_exec: give access to controller_initial_namespace
2016-04-04 19:09:03 +08:00
69516136c4
protocols/pc_rpc: add get_local_host to clients
2016-04-04 19:07:08 +08:00
1a288e07cc
protocols/remote_exec: simplify, use global namespace
2016-04-02 22:44:27 +08:00
67ab8dbfa5
protocols/pc_rpc: short_exc_info
2016-03-25 19:43:34 +08:00
e9ca125976
protocols/remote_exec: fix call
2016-03-25 14:55:29 +08:00
e6809397a3
protocols: add remote_exec
2016-03-24 00:49:02 +08:00
168113ce55
protocols/pc_rpc: support dynamic target creation
2016-03-23 15:13:56 +08:00
120db8ba08
protocols/pipe_ipc: raise line length limit
2016-03-23 15:12:29 +08:00
2cbe47e26f
protocols/pc_rpc: document coroutine methods, support locking
2016-03-22 21:55:06 +08:00
8a6873cab2
analyzer: use EOP, flush pipeline on stop
2016-03-15 17:49:59 +08:00
579168f06f
monkey-patch asyncio.proactor_events to handle ConnectionAbortedError on Windows. Closes #247
2016-03-10 15:11:10 +08:00
71105fd0d7
rtio: collision_error -> collision
2016-03-08 15:38:35 +08:00
946bd84b58
protocols/pc_rpc: support retrieving selected target
2016-03-02 11:45:31 +08:00
b0526c3354
protocols/pipe_ipc: fix resource leak on Windows
2016-03-01 14:49:04 +08:00
9a6354b959
protocols/pc_rpc: raise asyncio line length limit for client
2016-02-22 13:04:21 +08:00
25f6afd08a
protocols/asyncio_server: raise asyncio line length limit. Closes #285
2016-02-22 12:06:23 +08:00
8da455d5db
protocols/sync_struct: raise asyncio line length limit
2016-02-22 02:11:36 +08:00