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
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
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
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
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
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
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
Robert Tice
1933a29808
refactoring unneccesary functions. Increasing readability of lab output.
2019-04-02 11:49:52 -04:00
Robert Tice
227a1a74d1
Fixing print messages for clarity and fixing input arg expansion problem.
2019-04-02 10:58:26 -04:00
Robert Tice
0f0f24c497
More refactoring.
2019-04-01 16:46:15 -04:00
Robert Tice
6bd6bc889f
Adding more error checking and refactoring sanity checks.
2019-04-01 16:37:50 -04:00
Robert Tice
9d952cc61f
Refactoring duplicate code.
2019-04-01 16:28:03 -04:00
Robert Tice
3f03ca0ac9
Fixing off-by-one error in run.py arg parsing.
2019-03-28 16:11:28 -04:00
Robert Tice
e97fb719e0
Strengthening regexes and refactoring debug print logic into debug_print.
2019-03-26 10:27:22 -04:00