forked from M-Labs/artiq
1
0
Fork 0
Commit Graph

511 Commits

Author SHA1 Message Date
whitequark 06ea76336d artiq_devtool: don't crash on invalid utf-8. 2016-11-21 05:37:27 +00:00
whitequark b562b0fbc4 artiq_devtool: detect a race condition during connect. 2016-11-21 03:10:41 +00:00
whitequark dca3fb5c96 artiq_devtool: abort if build failed. 2016-11-12 20:26:32 +00:00
whitequark 8b6418c604 artiq_devtool: more robust port forwarding. 2016-11-11 15:22:07 +00:00
whitequark 3b6cbb1f06 artiq_devtool: implement. 2016-11-10 20:25:15 +00:00
whitequark 0e76cbc414 artiq_compile: actually disable attribute writeback.
I wrote both halves of this condition but forgot to hook
them together.

Fixes #586.
2016-11-10 01:04:36 +00:00
whitequark e0297039c9 artiq_run: fix bitrot in .ll/.bc runners. 2016-11-08 12:08:20 +00:00
Sebastien Bourdeauducq 1908339d4e scheduler: default submission arguments, closes #577 2016-10-18 17:11:06 +08:00
Sebastien Bourdeauducq deb51eaaa1 gui: update version number in logo 2016-09-05 23:04:44 +08:00
Sebastien Bourdeauducq 524ba803e1 artiq_client: add show ccb 2016-09-05 19:07:35 +08:00
Sebastien Bourdeauducq 71eb65c527 artiq_client: fix 'show log', closes #552 2016-09-05 15:37:35 +08:00
Sebastien Bourdeauducq e45c089428 master, dashboard: support applet requests from experiments 2016-09-05 00:53:44 +08:00
whitequark f26f446724 artiq_run: unbreak 2016-08-17 10:20:04 +00:00
Sebastien Bourdeauducq 84f4725015 cache source on import of modules that may contain kernels. Closes #416 2016-08-06 12:01:49 +08:00
Robert Jördens e7d6ad2595 browser: cleanup dir/file restore, closes #527 2016-07-31 22:56:45 +02:00
Sebastien Bourdeauducq 5fc3a52189 artiq_flash: expose scripts_path 2016-07-25 10:05:10 +08:00
Sebastien Bourdeauducq 0590021790 artiq_flash: support using alternative OpenOCD config files 2016-07-19 15:35:50 +08:00
Robert Jördens 1877329fd1 dashboard: style 2016-07-18 16:51:17 +02:00
Robert Jördens bb706c1fe2 browser/dashboard: use appdirs, closes #438 2016-07-18 16:50:27 +02:00
Robert Jördens a7e101af8d artiq_flash: fix openocd scripts path (#513) 2016-07-15 15:31:33 +02:00
Robert Jördens 7ce9fc714a browser: permanently show results' metadata, closes #471 2016-07-09 18:29:01 +02:00
Robert Jördens b7cca38f72 browser: let the state manager handle the subcomponents 2016-07-07 16:16:32 +02:00
Sebastien Bourdeauducq 77f60a3e63 browser: support uploading datasets to master. Closes #480 2016-07-03 12:21:36 +08:00
Sebastien Bourdeauducq cc9edc1555 frontend/client: support keeping persist flag 2016-07-03 12:19:46 +08:00
Sebastien Bourdeauducq 6ee0f65b12 browser: ditto 11930228fd 2016-07-01 18:47:04 +08:00
Sebastien Bourdeauducq 11930228fd dashboard: kill the Qt built-in main window closing mechanism
When the main window is closed, Qt makes QApplication.exec() return, which conflicts with Quamash's implementation of loop.run_until_complete(). The conflict causes Quamash's run_forever() to return earlier than it should, and cause "RuntimeError('Event loop stopped before Future completed.')".

Closes #475
2016-07-01 18:39:26 +08:00
Sebastien Bourdeauducq 03a69ec5b7 scheduler: add check_pause function 2016-06-27 14:37:29 +08:00
Robert Jördens 88d6d0db06 browser: also support loading arguments by button and activation, closes #479 2016-06-21 13:14:33 +02:00
Sebastien Bourdeauducq 490bb6ef2d gui: save/restore last folder outside repository. Closes #476 2016-06-12 13:18:22 +08:00
whitequark 57be065c15 artiq_flash: explicitly pass path within conda env to openocd datarootdir.
By default, openocd searches for scripts in DATAROOTDIR/openocd/scripts.
This of course makes it not relocatable. Conda has a flag to try to
detect and fix such hardcoded paths, but it does not work on openocd
(likely because the .rodata contains an already concatenated path,
which cannot be padded with zeroes from the right).

So, we pass the path explicitly instead.
2016-06-06 19:01:39 +00:00
Sebastien Bourdeauducq 7851391666 artiq_compile: adapt to code changes 2016-05-28 12:57:04 -05:00
Sebastien Bourdeauducq ab749560c2 dashboard: forward local log messages to docks, replace status bar (#411) 2016-05-28 11:10:25 -05:00
Sebastien Bourdeauducq 10267f39c9 log: use broadcast instead of sync_struct, filter on new messages only (#411) 2016-05-27 23:43:29 -05:00
Sebastien Bourdeauducq 8c1f1d8f2a rpctool: make readline optional, add to conda dependencies. Closes #442 2016-05-25 11:11:59 -05:00
Robert Jördens ec34a552b0 browser: add cascade and tile 2016-05-25 17:34:01 +02:00
Robert Jördens 78de2a7d5c browser: MainWindow -> Browser and refactor 2016-05-25 17:34:01 +02:00
Robert Jördens 26e98a13d0 browser: refactor log 2016-05-25 15:14:04 +02:00
Robert Jördens b8e7ea8443 browser: cleanup 2016-05-23 11:19:30 +02:00
Sebastien Bourdeauducq a46d3ff366 browser: remove unnecessary loop.call_soon 2016-05-22 10:22:29 -07:00
Sebastien Bourdeauducq 852ddb7796 bit2bin: close input file explicitly 2016-05-21 21:50:08 +08:00
Sebastien Bourdeauducq 65c835e991 Revert "flash: close tempfile before deleting (#256)"
This reverts commit 5f11dbf319.
2016-05-21 00:19:54 +08:00
Sebastien Bourdeauducq 5f11dbf319 flash: close tempfile before deleting (#256) 2016-05-21 00:09:31 +08:00
Robert Jördens 5f7f4ed398 browser: wire up log dock 2016-05-20 16:12:11 +02:00
Robert Jördens 3db1a7cf01 browser: log stub 2016-05-20 16:12:11 +02:00
Robert Jördens 7a71939201 dashboard.log -> gui.log 2016-05-20 16:12:11 +02:00
Robert Jördens 8ab6011ddb browser: move 'open experiment' to menu 2016-05-20 16:12:11 +02:00
Robert Jördens 109ddf919e flash: tcl-quote paths (c.f. #256) 2016-05-16 23:15:12 +02:00
Robert Jördens 18878ba050 flash: use the handle 2016-05-16 22:02:11 +02:00
Robert Jördens 3ae44e762f flash: close files (c.f. #256) 2016-05-16 21:30:53 +02:00
whitequark 640022122b embedding: refactor some more. 2016-05-16 14:38:09 +00:00
Robert Jördens 633c36336c browser: rm status bar 2016-05-13 15:28:36 +02:00
Robert Jördens 260390b75f browser: set objectName for toolbar 2016-05-12 19:20:52 +02:00
Robert Jördens 5e094528c1 browser: toolbar, rm mdiarea tooltip (closes #433) 2016-05-12 19:06:33 +02:00
Robert Jördens 1480bb5630 browser: style 2016-05-12 18:43:05 +02:00
Robert Jördens 4016e5adaa browser: support opening experiments 2016-05-07 23:22:39 +02:00
Robert Jördens ee8160863a browser: experiment dock stubs 2016-05-07 12:53:37 +02:00
Robert Jördens 77b84a7979 browser: move exp mgmt to mdi area 2016-05-07 12:53:37 +02:00
Robert Jördens 9ef282636a browser: don't open experiments from data list view 2016-05-07 12:53:37 +02:00
Robert Jördens 9f1bef1c81 browser: open experiments from mdiarea 2016-05-07 12:53:37 +02:00
Robert Jördens d99d19dd3a browser: stubs for experiment editors 2016-05-07 12:53:37 +02:00
Sebastien Bourdeauducq bcfb01bc7e gui: set application name in Gnome task switcher
Non-hacky suggestions welcome.
2016-05-06 17:23:44 +08:00
Sebastien Bourdeauducq fc4effb91d update logo 2016-04-30 00:30:24 +08:00
Robert Jördens aee4859982 influxdb: fix numpy scalar bool, uints, str
* use types from the numpy hierarchy because e.g. np.issubtype(np.uint64, int) == False
* streamline influxdb formatting
* tested with influxdb 0.12
2016-04-24 15:15:16 +02:00
Robert Jördens 86681dccff influxdb: use queue insertion time 2016-04-24 13:11:46 +02:00
Robert Jördens aadcf0fe98 influxdb: consistency is gone 2016-04-24 12:38:47 +02:00
Robert Jördens 6c5382d43f influxdb: ms precision
* better compression
* we don't timestamp the change any better (network, queue, http)
2016-04-24 12:36:00 +02:00
Robert Jördens 06b8666a53 influxdb: just strip() response 2016-04-24 12:35:30 +02:00
Sebastien Bourdeauducq 3cfef4264b frontend: upper-case positional arguments in help messages 2016-04-22 16:33:44 +08:00
Robert Jördens 9a01d38439 browser: cleanup late select, align options with variables 2016-04-20 19:16:19 +02:00
Robert Jördens c9daa50591 browser: PATH metavar 2016-04-20 16:23:47 +02:00
Robert Jördens 3d393e4654 browser: add root dir option, load only one file on restore 2016-04-20 13:46:03 +02:00
Robert Jördens 686f670a3c browser: redo tree/list models 2016-04-20 13:20:57 +02:00
Robert Jördens 1f92e034da Revert "browser: various fixes, handle startup path, connect activated"
This reverts commit c80510287b.
2016-04-20 13:20:33 +02:00
Sebastien Bourdeauducq c80510287b browser: various fixes, handle startup path, connect activated 2016-04-20 18:25:43 +08:00
Sebastien Bourdeauducq caf774579a environment: refactor 2016-04-16 19:31:07 +08:00
Sebastien Bourdeauducq d4ba525c9d gui,browser: save state in home folder 2016-04-15 19:05:12 +08:00
Robert Jördens 4a297f0c42 browser: s/results/files/ 2016-04-14 17:55:44 +08:00
Sebastien Bourdeauducq 0cca2bbef6 artiq_run: style 2016-04-12 15:16:48 +08:00
Sebastien Bourdeauducq d9e918be49 dashboard/moninj: use thread instead of asyncio UDP (#39) 2016-04-11 18:09:41 +08:00
Robert Jördens 5e5f94a0f8 browser: WIP for experiment replay 2016-04-10 20:07:46 +08:00
Robert Jördens 6c200b1418 browser: make results a dock again 2016-04-10 16:29:29 +08:00
Robert Jördens 3472e1abd3 browser: rm mdi area 2016-04-07 20:22:06 +08:00
Sebastien Bourdeauducq 7e2e182315 put dashboard-specific files in separate directory 2016-04-06 15:45:02 +08:00
Robert Jördens 1f152bceb2 browser: own package, own datasets dock 2016-04-05 18:50:29 +08:00
Robert Jördens aaa81a63d1 browser: use LocalModelManager, make the 'explorer' the central widget 2016-04-05 17:22:16 +08:00
Robert Jördens 670e8907a5 artiq_browser: load from hdf5 2016-04-05 17:22:16 +08:00
Robert Jördens fa63637a2e gui/browser: local model manager 2016-04-05 17:22:16 +08:00
Robert Jördens 91a362c898 add artiq_browser 2016-04-05 17:22:16 +08:00
Sebastien Bourdeauducq 1ff01a43ff artiq_flash: clear error message when bin directory is absent 2016-04-05 16:09:41 +08:00
Sebastien Bourdeauducq ed1c368e73 gateware: name targets consistently. Closes #290 2016-04-05 16:07:29 +08:00
Sebastien Bourdeauducq 3efb841557 client: add --async option to scan-repository, recommend usage in git post-receive 2016-04-04 22:17:39 +08:00
Sebastien Bourdeauducq 7453d85d5e GUI -> dashboard 2016-04-04 22:12:45 +08:00
Sebastien Bourdeauducq aa61c29efb transfer Python builtin exceptions over pc_rpc and master/worker 2016-04-04 22:02:42 +08:00
Sebastien Bourdeauducq a53d32c24e master: always expose full set of worker handlers (#368) 2016-04-02 23:05:16 +08:00
Sebastien Bourdeauducq 29a76bb02d influxdb: simplify and document pattern matching. Closes #166 2016-03-31 00:28:28 +08:00
Sebastien Bourdeauducq b6232aea86 gui: better default layout 2016-03-29 16:59:43 +08:00
Sebastien Bourdeauducq bebd89c959 gui: redesign table/trees to avoid slow and buggy qt/pyqt autosize. Closes #182. Closes #187. 2016-03-25 18:33:22 +08:00
Sebastien Bourdeauducq b5441fd107 devices/novatech409b: convert to asyncserial 2016-03-22 21:55:58 +08:00
Sebastien Bourdeauducq 2cbe47e26f protocols/pc_rpc: document coroutine methods, support locking 2016-03-22 21:55:06 +08:00
Sebastien Bourdeauducq 2859382e11 gui: display repository scanning status and revision. Closes #274 2016-03-18 00:40:54 +08:00
Sebastien Bourdeauducq 4bf0db32be master: publish repository status 2016-03-18 00:40:17 +08:00
Sebastien Bourdeauducq a142d403ea gui: handle better changing MDI area background colors 2016-03-15 18:36:34 +08:00
Sebastien Bourdeauducq ea523c765b frontend/coreanalyzer: do not attempt to print obsolete decoded_dump attribute. Closes #324 2016-03-10 11:33:21 +08:00
Sebastien Bourdeauducq 763a4d3011 rpctool: use pprint in interactive mode 2016-03-02 11:47:34 +08:00
Sebastien Bourdeauducq d0d50d74eb rpctool: interactive mode 2016-03-02 11:45:51 +08:00
Robert Jördens 6dd1eb2e92 artiq_flash: use term 'gateware' 2016-02-29 20:45:41 +01:00
Sebastien Bourdeauducq 572c49f475 use m-labs setup for defaults 2016-02-29 21:35:23 +08:00
whitequark 914bc9f360 artiq_run: allow running LLVM IR/bitcode files, even with trivial RPCs. 2016-02-24 22:50:45 +00:00
Sebastien Bourdeauducq c3cdce9d02 style 2016-02-25 01:22:43 +08:00
Robert Jördens 1b410abc2c pdq2: move initialization and park/unpark to driver 2016-02-22 15:29:27 +01:00
Sebastien Bourdeauducq e177bbd480 frontend/client: fix screen clear on Windows 2016-02-22 01:25:48 +08:00
Sebastien Bourdeauducq ac6e31d655 frontend/rpctool: fix -t/--target. Closes #283 2016-02-22 00:55:45 +08:00
Robert Jördens d713c62b50 pdq2 frontends: adapt to new program, cleanup 2016-02-21 17:35:10 +01:00
Sebastien Bourdeauducq 95dbafd662 gui: add logo to MDI area 2016-02-21 08:06:52 +08:00
Sebastien Bourdeauducq 3b81dd5adc gui: workaround for Qt failing to embed applets in hidden and detached QDockWidgets 2016-02-19 18:13:25 +01:00
Robert Jördens 6830703ec6 artiq_master: directly log, explicit imports 2016-02-18 15:35:02 +01:00
Robert Jördens 0edde9f4d3 master: inform when running 2016-02-18 14:13:40 +01:00
Sebastien Bourdeauducq 87574193d4 gui: autoscroll MDI area 2016-02-16 00:19:50 +01:00
Sebastien Bourdeauducq aa5f6a5aba gui: basic MDI area 2016-02-15 23:58:44 +01:00
Sebastien Bourdeauducq b9bce92bbb Revert "gui: Qt wants a central widget in the main window, use explorer"
This reverts commit d81ce15869.
2016-02-15 23:20:06 +01:00
Sebastien Bourdeauducq 72a993afe0 master: cache last RID. Closes #234 2016-02-15 18:20:50 +01:00
Sebastien Bourdeauducq d30fe60edd gui: remove pyqtgraph 2016-02-15 00:23:47 +01:00
Sebastien Bourdeauducq 3ab35f7f8d gui: get rid of pyqtgraph.LayoutWidget 2016-02-15 00:05:30 +01:00
Sebastien Bourdeauducq df16a1da73 gui: remove PyQt5 assertion (break mock modules) 2016-02-14 23:30:39 +01:00
Sebastien Bourdeauducq 15515f33ef gui: better default placement of docks 2016-02-14 23:15:18 +01:00
Sebastien Bourdeauducq cd732718ad gui: save/restore main window geometry 2016-02-14 23:08:14 +01:00
Sebastien Bourdeauducq d81ce15869 gui: Qt wants a central widget in the main window, use explorer 2016-02-14 23:04:14 +01:00
Sebastien Bourdeauducq 3c12c13a67 gui: dock state save/restore 2016-02-14 13:46:15 +01:00
Sebastien Bourdeauducq daf49efa04 gui: rough conversion to the Qt docking system 2016-02-14 12:15:57 +01:00
Sebastien Bourdeauducq 6b6393ff56 gui: remove console 2016-02-13 22:48:38 +01:00
Sebastien Bourdeauducq fb2f53ea9b gui/datasets: support deleting datasets without console 2016-02-13 22:46:29 +01:00
Sebastien Bourdeauducq 338e5fe3fc Merge branch 'applets_pipeipc' 2016-02-08 22:25:36 +01:00
Sebastien Bourdeauducq d873c25b8b Use Qt5 2016-02-08 19:32:40 +01:00
Sebastien Bourdeauducq de99e7f830 applets: handle dataset mutations 2016-02-08 19:20:07 +01:00
Sebastien Bourdeauducq dc955d46c9 Merge branch 'applets' 2016-02-08 14:55:53 +01:00
Sebastien Bourdeauducq 741b11c26d applets: basic embedding OK 2016-02-08 09:59:15 +01:00
Sebastien Bourdeauducq 70a67a0e38 Merge branch 'applets' into applets_pipeipc 2016-02-05 13:29:20 +01:00
Sebastien Bourdeauducq b7de92e96c remove pxi6733 support (now lives at https://github.com/m-labs/aq_ni6733 2016-02-02 18:41:57 +01:00
Robert Jördens 10d78a5d0b flash: grow runtime limit to 512 kB 2016-01-30 14:50:15 -07:00
Robert Jördens e92d52314b flash storage: move to flash + 0x70000
This requires recompiling and flashing the runtime and the entire
storage area file system (ip address and idle kernel).

* with ppp the runtime is larger than 0x40000 now
* 0x60000 for the runtime should give enough space for a while,
  even including a fatter scheduler or runtime components
  in other languages
* for both pipistrello and kc705 this leaves the unused space
  starting at a nice round number
* the relevant flashes nowadays are 0x1000000 large
2016-01-28 18:08:30 -07:00
Robert Jördens cda4a0765d artiq_ctlmgr: refactor into artiq.devices.ctlmgr 2016-01-26 15:24:29 -07:00
Sebastien Bourdeauducq 5aa4de8e89 refactor logging and implement in worker 2016-01-26 20:31:42 +01:00
Robert Jördens d1119d7747 artiq_dir: move out of tools to unlink dependencies 2016-01-25 18:15:50 -07:00
Robert Jördens f4c7f02127 CoreException: store at 'py_exn.artiq_core_exception'
... and fix a few imports
2016-01-25 17:24:00 -07:00
Robert Jördens 2beaf23e6c language...ARTIQException -> coredevice...CoreException
gets rid of a cross import
is only used there
2016-01-25 17:24:00 -07:00
Robert Jördens cf17be92e3 doc: add artiq_flash 2016-01-18 21:41:42 -07:00
whitequark e0d5b77e27 Commit missing parts of 127b117. 2016-01-15 17:11:26 +00:00
whitequark 127b117113 Add @host_only function decorator (#172). 2016-01-15 16:42:08 +00:00
Sebastien Bourdeauducq e6e6b27ba9 gui: remove displays (use applets instead) 2016-01-10 18:32:46 +08:00
Sebastien Bourdeauducq 597c2e4b17 gui/applets: startup and embedding working 2016-01-08 13:04:36 +08:00