187 Commits

Author SHA1 Message Date
Robert Tice
e7a122ea01 Merge pull request #20 from AdaCore/realtime_stdout_fix
Fixing blocking readline on stderr which was making realtime output o…
2019-10-24 11:46:03 -04:00
Robert Tice
dd1a8ad3fb Fixing blocking readline on stderr which was making realtime output on stdout delayed until the program had completed. 2019-10-24 11:04:42 -04:00
Nicolas Setton
1a483ac55c S917-017 limit the size of the journal 2019-09-17 10:05:15 -04:00
Nicolas Setton
488b2cd1d7 Merge pull request #16 from AdaCore/labs_IO_fix
Adding string decoding to all outputs to avoid python errors when pro…
2019-07-10 13:32:36 -04:00
Robert Tice
709ad1db1e Adding string decoding to all outputs to avoid python errors when programs try to print unprintable characters. Instead, a suitable replacement is picked using the 'replace' operation in the python decode function. 2019-07-10 13:28:22 -04:00
Nicolas Setton
fb95ead376 Merge pull request #15 from AdaCore/labs_IO_fix
Modifying validation regex for lab block to account for the extra spa…
2019-07-01 16:20:38 -04:00
Robert Tice
470a2db555 Modifying validation regex for lab block to account for the extra space emitted by 'Image on positive integer. Also adding internal_error message category. 2019-07-01 14:59:41 -04:00
Nicolas Setton
5000e519a8 Merge pull request #14 from AdaCore/labs_framework
Modifying lab io regex to allow for no space between lab identifier a…
2019-07-01 13:38:45 -04:00
Robert Tice
3d4b160bd0 Modifying lab io regex to allow for no space between lab identifier and argument string. 2019-07-01 13:36:24 -04:00
Nicolas Setton
b2cd4b44e0 Fix logic in handling of messages
... which caused processing to stop at the first stderr line
read from input. Instead, keep processing until there is no
stderr *and* no stdout to be read.

Extract 'print' subprograms to the main level, and modify print_debug
so that it returns data formatted in json, so it can be displayed
on the page.
2019-06-24 16:17:26 -04:00
Nicolas Setton
988c33b3c9 Bump to Community 2019
Remove extraneous Makefile.safecontainer
2019-06-24 11:30:52 -04:00
Robert Tice
a8ef2580bf Merge pull request #13 from AdaCore/labs_framework
Removing debug ASCII printing.
2019-05-31 09:11:29 -07:00
Robert Tice
00ae65eb4f Adding lab tagging to stderr messages generated by lab output. 2019-05-31 12:02:11 -04:00
Robert Tice
8adf2ff1eb Removing debug ASCII printing. 2019-05-31 11:55:37 -04:00
Robert Tice
28072a2c36 Merge pull request #12 from AdaCore/labs_framework
Labs framework
2019-05-31 08:52:51 -07:00
Robert Tice
d9aed1e0b3 Removing extraneous import. 2019-05-31 11:51:14 -04:00
Robert Tice
e1c4f79fda Fixing regex in run.py that stripped initial space from expected output. 2019-05-31 11:33:11 -04:00
Robert Tice
3e687e5ead Refactoring some code. 2019-05-17 15:17:17 -04:00
Nicolas Setton
499ce2d72d Merge pull request #11 from AdaCore/labs_framework
Unifying json code sent from backend processes
2019-05-17 15:13:23 -04:00
Robert Tice
17acc8b52c Fixing error where issues sent on stdout that had a newline on the end were not rendered properly on the frontend with clickable references. 2019-04-08 12:17:48 -04:00
Nicolas Setton
bcca2487fb Merge pull request #10 from AdaCore/labs_framework
More labs framework changes
2019-04-04 10:30:43 -04:00
Robert Tice
7f25506a1d All messages from the server are json strings now. Also fixing docstrings. 2019-04-04 10:10:08 -04:00
Robert Tice
8ef4320920 Adding failure state to labs based on process retcode. 2019-04-03 15:38:25 -04:00
Robert Tice
e1cd55ba1a Removing all print statements in favor of specialized prints to ensure that all messages coming from backend are put in the correct place in the frontend. 2019-04-02 14:36:05 -04:00
Robert Tice
15088ef662 Restructuring print statements so that we can organize them on the frontend. 2019-04-02 14:22:59 -04:00