Commit Graph

117 Commits

Author SHA1 Message Date
Chris Cromer e548acdb8a change the way string arrays are initialized 2021-07-16 13:35:29 -04:00
Chris Cromer 1b68196f16 add missing definitions to loop header 2021-07-07 00:21:55 -04:00
Chris Cromer 2d6303e311 check for failure on realloc 2021-07-07 00:00:31 -04:00
Chris Cromer b9b6d60aff change variable type to size_t 2021-07-06 23:54:18 -04:00
Chris Cromer cc153bd481 add memory cleanup at exit 2021-07-06 23:47:19 -04:00
Chris Cromer fd4fd05f2c fix leak in child process 2021-07-06 23:35:13 -04:00
Chris Cromer f45a93cfdd Merge pull request 'cd' (#14) from cd into master
Reviewed-on: #14
2021-07-06 22:51:14 -04:00
Chris Cromer 491aef5c49 add cd builtin 2021-07-06 15:11:59 -04:00
Chris Cromer 9d0615fbcd add checks before freeing memory 2021-07-06 15:00:57 -04:00
Chris Cromer 4a2a9eb3b8 Merge pull request 'launch' (#13) from launch into master
Reviewed-on: #13
2021-06-28 16:05:54 -04:00
Chris Cromer f87f138f42 fix zombie process 2021-06-28 14:03:32 -04:00
Chris Cromer 5506e06840 add basic launch functionality 2021-06-27 22:46:03 -04:00
Chris Cromer 5f1dad47a3 fix variable name 2021-06-27 21:19:06 -04:00
Chris Cromer b908dea533 Merge pull request 'add alternate command pdftex if pdflatex isn't found' (#12) from update_makefile into master
Reviewed-on: #12
2021-06-27 17:26:24 -04:00
Chris Cromer dd6a65e750 add alternate command pdftex if pdflatex isn't found 2021-06-27 16:06:07 -04:00
Chris Cromer f8e28bd1f0 Merge pull request 'update prompt colors' (#11) from change_color into master
Reviewed-on: #11
2021-06-27 15:45:21 -04:00
Chris Cromer 14330d1077 update prompt colors 2021-06-27 15:44:45 -04:00
Chris Cromer fef8a085ec Merge pull request 'report' (#10) from report into master
Reviewed-on: #10
2021-06-27 15:30:12 -04:00
Chris Cromer e951ccb7ee add missing param to main documentation 2021-06-27 15:28:36 -04:00
Chris Cromer 8ad820c9fc remove aux files in sections when cleaning 2021-06-27 15:25:11 -04:00
Chris Cromer eefb71ccd5 add loop and builtins 2021-06-27 15:20:53 -04:00
Chris Cromer 3eb6bae306 add introduction and first code example 2021-06-27 14:34:03 -04:00
Chris Cromer 61b363279f change report structure 2021-06-27 14:07:00 -04:00
Chris Cromer 16986a212e Merge pull request 'change builtin not existing to not be fatal' (#9) from nonfatalerror into master
Reviewed-on: #9
2021-06-27 13:34:59 -04:00
Chris Cromer abe1e7fa5e change builtin not existing to not be fatal 2021-06-27 13:32:33 -04:00
Chris Cromer cae1aa3e55 Merge pull request 'improve error handling' (#8) from errorhandling into master
Reviewed-on: #8
2021-06-27 00:18:40 -04:00
Chris Cromer 14b2c79c92 improve error handling 2021-06-27 00:17:03 -04:00
Chris Cromer 1710a05d85 Merge pull request 'console_line' (#7) from getchar into master
Reviewed-on: #7
2021-06-26 23:15:00 -04:00
Chris Cromer 344fbc4eb5 validate calls to malloc and realloc 2021-06-26 23:13:51 -04:00
Chris Cromer 90019c46ba free hostname 2021-06-26 23:06:11 -04:00
Chris Cromer 8776bbd6fa add hostname 2021-06-26 23:05:27 -04:00
Chris Cromer 60004f08dc rename string array variable to make it clear what it is 2021-06-26 22:51:39 -04:00
Chris Cromer 4ea527064a add missing documentation for functions 2021-06-26 22:48:19 -04:00
Chris Cromer 907af65b94 move input to separate file 2021-06-26 22:38:22 -04:00
Chris Cromer 53e3c1e276 standardize format 2021-06-26 21:20:36 -04:00
Chris Cromer f963198fdf Merge pull request 'builtins' (#6) from builtins into master
Reviewed-on: #6
2021-06-26 21:12:27 -04:00
Chris Cromer 41e3b34175 update readme 2021-06-26 21:03:23 -04:00
Chris Cromer d7fe743d5c drop down to c11 standard to work on older distros 2021-06-26 19:17:50 -04:00
Chris Cromer 5e5c9d8db3 move code to exit_shell function 2021-06-26 19:09:41 -04:00
Chris Cromer 5ce2096b2c add builtins 2021-06-26 19:06:30 -04:00
Chris Cromer 79e2b6697b add a string array helper 2021-06-26 18:47:02 -04:00
Chris Cromer d727732947 fix invalid free 2021-06-26 17:42:46 -04:00
Chris Cromer 36c5439fee Merge pull request 'update problem' (#5) from update_problem into master
Reviewed-on: #5
2021-06-25 00:10:20 -04:00
Chris Cromer 5f23325702 update problem 2021-06-24 23:51:20 -04:00
Chris Cromer de03ca1417 Merge pull request 'color' (#4) from color into master
Reviewed-on: #4
2021-06-20 12:06:34 -04:00
Chris Cromer d39e6997cf add color to the console line 2021-06-20 12:02:38 -04:00
Chris Cromer 63f79993e7 add color definitions 2021-06-20 12:02:23 -04:00
Chris Cromer 41a701e97d Merge pull request 'add comments' (#3) from comments into master
Reviewed-on: #3
2021-06-19 23:10:53 -04:00
Chris Cromer 838ee3d216 add comments 2021-06-19 23:10:20 -04:00
Chris Cromer 9dcc874357 Merge pull request 'loop' (#2) from loop into master
Reviewed-on: #2
2021-06-19 23:03:40 -04:00