| Age | Commit message (Collapse) | Author |
|
|
|
For each script execution, a file suffixed with ".log" will be created
in the same directory with the same name as script file.
For example, if the script is path is "a/b/c.aww" then the log file
would named "a/b/c.aww.log".
This is to provides history and audit in the future.
|
|
By using "mlog.MultiLogger" every output or error can be written to
stdout/stderr and additional log writer that can collect both of them,
buffered and returned to the caller.
This changes simplify the HttpResponse to use only single output that
combine both stdout and stderr.
|
|
|
|
This move the comment related to non-exported fields inside the struct
instead of top.
|
|
With configuration we can enable or disable specific linters and
customize it without touching the Makefile.
While at it, enable linter presets for bugs, comment, metalinter,
module, performance, unused and fix the reported issues.
|
|
Previously, the "local" and "play" command only accept two kind of
arguments: one argument for executing single line or two arguments for
executing line range.
There are no options to executing multiple single line, multiple line
range, or combination of them.
This changes make the both commands accept list of lines or line range
where each separated by comma.
For example, to execute multiple, different single lines
awwan local 4,8,12
To execute multiple line range,
awwan local 4-8,12-16
Or to execute multiple lines and line range,
awwan local 4,8,10-12
|
|
* Request: from 128 to 96 bytes (-32 bytes)
* Session: from 176 to 160 bytes (-16 bytes)
* Statement: from 56 to 48 bytes (-8 bytes)
* session_test.go:24:13: struct with 48 pointer bytes could be 40
* statement_test.go:13:13: struct with 32 pointer bytes could be 16
|
|
|
|
See https://kilabit.info/journal/2022/gpl for more information.
|
|
The serve comman will run a HTTP server that provide web-user interface
to edit and execute script.
Currently, the web-user interface provide the following features,
* Browsing the workspace
* Running the script on local or remote
|
|
Previously, all of the local and remote command execution will be
redirected to operating system standard output and error.
This commit refactoring the code to allow Local or Play command to use
custom standard output and error per request.
|