fxos/shell
Lephenixnoir 0f5c1c2eba
shell: improve error behavior of parser and autocompletion
* Example on _e, but other commands are probably affected
* When completing, throw CompletionRequest("_error", <message>) to have
  a reasonable output and not mess up readline
* Avoid early returns (or if a command really cannot be completed,
  adjust the ShellCommand declaration to not run the command)
* Less CommandError in the parser, these would throw during
  autocompletion and annoy everyone
* Allow options with empty value so that we don't throw when
  autocompleting after typing eg. 'vspace='
2022-04-18 11:55:25 +01:00
..
a.cpp Improve command classification 2022-04-15 06:09:18 +09:30
commands.h Improve command classification 2022-04-15 06:09:18 +09:30
d.cpp Improve command classification 2022-04-15 06:09:18 +09:30
dot.cpp Improve command classification 2022-04-15 06:09:18 +09:30
e.cpp shell: improve error behavior of parser and autocompletion 2022-04-18 11:55:25 +01:00
errors.h get rid of exceptions in the library, use explicit errors 2022-03-27 13:59:49 +01:00
g.cpp Improve command classification 2022-04-15 06:09:18 +09:30
h.cpp Improve command classification 2022-04-15 06:09:18 +09:30
i.cpp Improve command classification 2022-04-15 06:09:18 +09:30
lexer.l shell: improve error behavior of parser and autocompletion 2022-04-18 11:55:25 +01:00
m.cpp shell: exhaust parser after parsing error 2022-04-18 11:30:49 +01:00
main.cpp shell: improve error behavior of parser and autocompletion 2022-04-18 11:55:25 +01:00
parser.cpp shell: improve error behavior of parser and autocompletion 2022-04-18 11:55:25 +01:00
parser.h shell: improve error behavior of parser and autocompletion 2022-04-18 11:55:25 +01:00
s.cpp Improve command classification 2022-04-15 06:09:18 +09:30
session.cpp Improve command classification 2022-04-15 06:09:18 +09:30
session.h add main disassembly, ad and ads commands 2022-03-28 22:42:53 +01:00
shell.h add command help messages 2022-03-06 16:15:19 +00:00
theme.cpp Improve command classification 2022-04-15 06:09:18 +09:30
theme.h replace CLI with WIP shell (huge commit) 2022-03-04 11:29:33 +00:00
util.h ads: actually analyze *all* syscalls 2022-04-03 21:36:59 +01:00
v.cpp Improve command classification 2022-04-15 06:09:18 +09:30