Qi Xiao
|
6189fd372f
|
Fix crash when running external command with port table nil values.
This fixes #788 (for real; a regression test has been added).
|
2020-01-12 12:32:25 +00:00 |
|
Qi Xiao
|
5550819ac0
|
pkg/eval: Check FD when using it as redir source.
This fixes #788.
|
2020-01-12 00:42:18 +00:00 |
|
Qi Xiao
|
64b104f533
|
Support dynamic command names for unambiguous external commands.
This fixes #764.
|
2020-01-11 18:57:39 +00:00 |
|
Qi Xiao
|
b3a48ed510
|
pkg/eval: Revamp Source.
|
2020-01-11 03:01:30 +00:00 |
|
Qi Xiao
|
433b5f2d96
|
pkg/eval: Lift the restriction of relative "use" from scripts.
|
2020-01-11 02:27:43 +00:00 |
|
Qi Xiao
|
8cf6cc0747
|
pkg/eval: Add test for background job.
|
2020-01-08 23:29:00 +00:00 |
|
Qi Xiao
|
b1deb03234
|
pkg/eval: More tests.
|
2020-01-08 23:21:36 +00:00 |
|
Qi Xiao
|
12b396d8c4
|
pkg/eval: Support testing that a piece of code does not compile.
|
2020-01-08 23:09:41 +00:00 |
|
Qi Xiao
|
ca945dcb7f
|
pkg/eval: TestCase.Errors{With,} -> Throws{,Any}.
This is in preparation for supporting compilation errors. Also did some
cleanups.
|
2020-01-08 23:09:19 +00:00 |
|
Qi Xiao
|
8c0c6d182b
|
pkg/eval/vals: More tests.
|
2020-01-08 10:32:51 +00:00 |
|
Qi Xiao
|
2d609bd5b4
|
pkg/eval/vals: Add methods to ValueTester; use it to test StructMap.
|
2020-01-08 10:20:43 +00:00 |
|
Qi Xiao
|
d19b9c5ab7
|
pkg/eval/vals: Change TestValue to a method-style API.
|
2020-01-07 09:58:49 +00:00 |
|
Qi Xiao
|
3cbbe120aa
|
pkg/eval/vals: Add TestValue, and use it to test Pipe.
|
2020-01-06 23:51:55 +00:00 |
|
Qi Xiao
|
0bb6088790
|
pkg/eval/vals: eq -> Eq.
|
2020-01-06 23:28:23 +00:00 |
|
Qi Xiao
|
b8513f75b3
|
pkg/eval/vals: Move the "any" matcher to pkg/tt.
|
2020-01-06 23:19:00 +00:00 |
|
Qi Xiao
|
843e7f3d99
|
pkg/eval/vals: Do dot-imports from pkg/tt.
|
2020-01-06 23:14:51 +00:00 |
|
Qi Xiao
|
a8950535eb
|
pkg/eval/vals: Always return structured errors.
Also match errors accurately in tests.
|
2020-01-06 23:02:26 +00:00 |
|
Qi Xiao
|
b496591e7c
|
pkg/eval: Slightly simplify implementation of fopen.
|
2020-01-06 22:17:48 +00:00 |
|
Qi Xiao
|
10b4baf89c
|
pkg/eval: NewInternalSource -> NewInternalGoSource.
|
2020-01-05 14:07:03 +00:00 |
|
Qi Xiao
|
44f266f92c
|
pkg/eval: De-export SrcType.
|
2020-01-05 13:54:08 +00:00 |
|
Qi Xiao
|
2d8a045cf1
|
pkg/{eval,runtime}: Introduce a basic math module.
|
2020-01-04 17:24:00 +00:00 |
|
Qi Xiao
|
3de813c21c
|
pkg/eval/vals: Check float64 indicies.
This fixes #852.
|
2020-01-02 23:03:26 +00:00 |
|
Qi Xiao
|
e9a8d1be91
|
pkg/edit: Support a &full flag in edit:redraw.
Also use it in readline-binding. This fixes #883.
|
2019-12-30 23:45:30 +00:00 |
|
Qi Xiao
|
770904b2c0
|
pkg/eval: Introduce new builtin read-upto for reading up to a byte.
This fixes #831.
|
2019-12-30 23:11:41 +00:00 |
|
Qi Xiao
|
83d1e95aa1
|
pkg/eval: Simplify Test with subtests.
|
2019-12-30 23:08:48 +00:00 |
|
Qi Xiao
|
6b876e559d
|
pkg/store: Interface -> Store.
|
2019-12-26 18:09:26 +00:00 |
|
Qi Xiao
|
cbe0e3e7e7
|
Merge pkg/store/storedefs into pkg/store.
|
2019-12-26 18:05:13 +00:00 |
|
Qi Xiao
|
012b779ca7
|
pkg/daemon: Make Client an interface.
|
2019-12-26 17:23:18 +00:00 |
|
Qi Xiao
|
e45fdf7228
|
Move all libraries to new pkg/.
|
2019-12-23 20:00:59 +00:00 |
|