Sayan Nandan
9372e3aeeb
Upgrade deps
2 years ago
Sayan Nandan
0df1acd2be
Simplify imports
2 years ago
Sayan Nandan
cacad3ecd6
Add temporary hack to make BQL queries work in skysh
2 years ago
Sayan Nandan
d4c10bee80
Upgrade deps and bump version
2 years ago
Sayan Nandan
a018b76f40
Ensure empty payload is allowed
...
Bump Skytable driver git revision to ensure builds don't fail
(possibly a force push).
2 years ago
Sayan Nandan
c4eaf3d182
Bump version [skip ci]
3 years ago
Sayan Nandan
af9a3aef5e
Add printing for floats
3 years ago
Sayan Nandan
14d9eb4bac
Clean up code
...
Fixed Windows tests and also applied recent clippy suggestions
3 years ago
Sayan Nandan
81c3479ffb
Fix handling of EOF keystroke
3 years ago
Sayan Nandan
b099dd1825
Add missing respcode output impls
3 years ago
Sayan Nandan
b057de94e6
Bump version to 0.7.4
3 years ago
Sayan Nandan
426948f8d5
Upgrade deps
3 years ago
Sayan Nandan
f67057dfb5
Add authn tests
3 years ago
Sayan Nandan
f48e565065
Fix runner impl to use non-null typed array
3 years ago
Sayan
76f493753b
Add the `whereami` action ( #232 )
...
* Move macros into module
* Add the `whereami` action to identify the current entity
* Show entity group in the skysh prompt
* Add tests and actiondoc for `whereami`
* Add changelog entry
* Upgrade deps
3 years ago
Sayan Nandan
b7f34d849f
Add the `!pipe` command to the shell
3 years ago
Sayan Nandan
6ea2f33840
Use a shorter startup message on skysh
...
The "huge" welcome is maybe not what we exactly want right on startup.
Hence, we will switch to using a shorter message.
3 years ago
Sayan Nandan
fe5319bdea
Add shell specific commands
...
A shell-specific help command was added along with support for
explanations of shell-specific commands.
3 years ago
Sayan Nandan
57555e40c0
Use drain to avoid unnecessary clones
3 years ago
Sayan Nandan
58a755bf58
Simplify readline impl in skysh
3 years ago
Sayan Nandan
bc318dd78d
Simplify `Runner` impl in skysh
3 years ago
Sayan Nandan
f33b8dc00c
Support backticks in skysh
3 years ago
Sayan Nandan
87b8d91f2c
Support inline comments in `skysh`
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
01ab66f64c
Support comments in `skysh`
...
Also support multiline pasting in the interactive shell
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
eb22456b18
Fix input of multiline commands in skysh
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
55fca51815
Disallow text directly before quotes
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
e18205c4d3
Disallow text directly after quote(s)
...
If we do permit this to happen, it can lead to several errors. For
example, if we ran this:
get rust'ferris'
the tokenizer would have inferred this as ["get", "rust", "ferris"]
which will lead to an action error. This commit prevents that from
happening.
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
7973730de5
Issue errors with single quotes
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
af53eda1f7
Simplify line append op and add changelog entry
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
58d32c0a96
Add tests for skysh tokenizer
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
fcc99268fb
Support multiline strings in skysh
...
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
4d4ce95f13
Use manual tokenization for queries in skysh
...
This avoids all the regex fuss
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan
eb037fcd62
Add basic `env` config module
3 years ago
Sayan Nandan
44c6e61c10
Add `UnknownDataType` error handling in `skysh`
3 years ago
Sayan Nandan
6cd3d4d2eb
Improve printing of binary strings in shell
3 years ago
Sayan Nandan
e1ee9314f5
Add `is_empty` to `AnyArrayIter` for specificity
3 years ago
Sayan
111d50b75e
Release v0.7.0 ( #210 )
...
* Simplify query gen in sky-bench and bump versions
* Upgrade to the latest driver version
3 years ago
Sayan Nandan
76e0cf607c
Switch `MPOP` to returning a `Typed Array`
...
This makes its behavior similar to that of the other mutating actions.
3 years ago
Sayan Nandan
e55bf528be
Fix `testkey` impl in sky-bench
3 years ago
Sayan Nandan
e91b070216
Add printing for flat arrays in skysh
3 years ago
Sayan Nandan
313a7c1279
Improve runner output
3 years ago
Sayan Nandan
2ed3335a1e
Upgrade all interfaces to use the latest driver
...
Fix lskeys impl
3 years ago
Aaron Hill
28133ddc5f
Remove trailing semicolons from macros ( #201 )
...
This fixes warnings on the latest nightly.
See https://github.com/rust-lang/rust/issues/79813
3 years ago
Sayan Nandan
bca37ede43
Fix bug that allowed empty queries to crash skysh
3 years ago
Sayan
ea1871747d
Re-add TLS ( #181 )
...
* Re-add TLS
When we moved to use the Skytable client driver, we missed out TLS
support. This was re-added.
* Fix attempt to rm PID file if it doesn't exist
* Fix sequence of `inner_repl` and `inner_eval`
3 years ago
Sayan Nandan
0f06f7b26f
Add some LLVM specific optims for O1 builds
3 years ago
Sayan
d53a0cb505
Fix handling of SIGTERM on *nix ( #178 )
...
* Fix handling of SIGTERM on *nix
This is just for future extensibility
* Fix error codes
I have been silly enough to break error codes
3 years ago
Sayan Nandan
0f1264d312
Decompose linearity tests and utils into modules
...
Also fixed license headers
3 years ago
Sayan Nandan
a87478dcba
Optimize dependencies
3 years ago
Sayan
e553c5172b
Release v0.6.1 ( #164 )
...
* Explicitly fsync and relax CPU on snap busy-loop
This commit also switches to using global `VERSION` and `URL` statics
than defining it per-crate.
* Add changelog entry and bump up version
* Optimize `dbtest` macro and rm redundant allocs
* Upgrade deps
3 years ago