Sayan Nandan
dff703e843
Don't bench on push [skip ci]
3 years ago
Sayan Nandan
44c6e61c10
Add `UnknownDataType` error handling in `skysh`
3 years ago
Sayan Nandan
4dbcce6e04
Upgrade deps
3 years ago
Sayan Nandan
9f08122759
Fix silent removal of all quotes from input string
...
The CLI simply replaced all the quotes in the origin string which can
result in unexpected behavior. For example, consider the input string:
SET "all the cars' tyres" 'have holes'
In our last impl, we'd end up replacing all single and double quotes
resulting in the origin string being entirely changed! This commit
fixes this.
3 years ago
Sayan Nandan
6cd3d4d2eb
Improve printing of binary strings in shell
3 years ago
Sayan Nandan
9991a97949
Merge branch 'model/lists-lastfirst' into next
3 years ago
Sayan Nandan
05bae45cb0
Add changelog entry [skip ci]
3 years ago
Sayan Nandan
f85effc1c0
Fix empty list tests
3 years ago
Sayan Nandan
2ee227a5dc
Add `lget last` and `lget first` tests
3 years ago
Sayan Nandan
b368db2407
Add methods `FIRST` and `LAST`
3 years ago
Sayan Nandan
b9c60b4cc7
Use ptr offsets for accesses to reduce bloat
3 years ago
Sayan Nandan
ee78f9b1ce
Avoid excessive const inlining
...
Also removed unnecessary assembly bloat resulting from the generic index
accesses through (unck get)
3 years ago
Sayan Nandan
c3d977c703
Simplify `lmod clear` return
3 years ago
Sayan Nandan
a41fd7fa7f
Fix `lmod` bug resulting in return of wrong rcode
3 years ago
Sayan Nandan
c34f241f2e
Fix encoding check in list actions
3 years ago
Sayan Nandan
c5a58dec3d
Fix `is_empty` impl for `AnyArrayIter`
...
The impl was erroneously checking the base boxed slice for its length
when what we actually needed was the iter len (remainder).
3 years ago
Sayan Nandan
e1ee9314f5
Add `is_empty` to `AnyArrayIter` for specificity
3 years ago
Sayan Nandan
b34d059cd5
Add `Sync` trait bounds for ease with manual afns
3 years ago
Sayan Nandan
f6b3f8dc5c
Simplify encoding checks across actions
...
This commit also removes the forceful `__private` module naming for the
`dbtest` proc macro. Supplied modules can now have any name.
3 years ago
Sayan Nandan
c298f55b23
Use primitive casts to reduce jumps
3 years ago
Sayan Nandan
f4fbdcae16
Fix encoding check correctness in actions
3 years ago
Sayan Nandan
6fe3f53aa9
Use ptr offsets instead of index
3 years ago
Sayan
947327f379
Simplify response writing/handling ( #222 )
...
* Use `BoolTable` to simplify resps
* Fix inversion of table
* Use BLUT and NLUT wherever possible
3 years ago
Sayan Nandan
b6470c3585
Auto bench on release and push
3 years ago
Sayan Nandan
48ff6003af
Remove `keylen` and add `exists` and `del` tests
...
`keylen` checks the length of value for a given key. This cannot work
with listmaps
3 years ago
Sayan Nandan
b930c5d31b
Add listmap compatibility to `keylen` and `lskeys`
3 years ago
Sayan Nandan
68b9c9b81f
Add listmap compatibility with `exists`
3 years ago
Sayan Nandan
8ba3cb8028
Add `del` compatibility with listmaps
3 years ago
Sayan Nandan
ca77ca9f80
Add sanity tests for wrong-model error string
3 years ago
Sayan Nandan
7246b14115
Add `lmod insert` tests
3 years ago
Sayan Nandan
ed01c2fa82
Add `lmod remove` tests and fix `lget` tests
...
The error string length was incorrectly set causing the `lget` test to
fail
3 years ago
Sayan Nandan
d0ee66ac4c
Add remaining `lget` tests and add `lmod` tests
3 years ago
Sayan Nandan
ce99e974b9
Fix array extend impl ptr eq check
...
The end of allocation is reached when curptr > endptr
3 years ago
Sayan Nandan
acef265b04
Fix list tests
3 years ago
Sayan Nandan
8d43a70bd2
Add `lget` and `lset` tests
3 years ago
Sayan Nandan
677c4a844a
Merge branch 'model/impl-lists' into next
3 years ago
Sayan Nandan
9b4b140af7
Add listmap on-disk storage tests
3 years ago
Sayan Nandan
41a49aaf11
Add `POP` subaction to `lmod`
3 years ago
Sayan Nandan
9a2622c2ad
Add `insert` subaction to `lmod`
3 years ago
Sayan Nandan
02628d6ff3
Add `REMOVE` subaction to `lmod`
3 years ago
Sayan Nandan
c66206b9eb
Add `PUSH` subaction to `lmod`
3 years ago
Sayan Nandan
0278f6063d
Add `lmod` and `CLEAR` subaction
3 years ago
Sayan Nandan
5238298ac4
Add `VALUEAT` and `LIMIT` subactions to `lget`
3 years ago
Sayan Nandan
0e8d60df0a
Add `lget` for getting all list elements and len
3 years ago
Sayan Nandan
a04f676aa5
Add `lset` for list creation
3 years ago
Sayan Nandan
26ed51a077
Simplify modelcode computation
3 years ago
Sayan Nandan
3fc9967bf2
Add modelcode tests
3 years ago
Sayan Nandan
7a8a22c04a
Prevent usage of lists as a key type
3 years ago
Sayan Nandan
55457cf097
Add DDL support for listmaps
3 years ago
Sayan Nandan
0e0dd5fcce
Update actiondoc and contributing docs [skip ci]
...
See skytable/docs#20 and skytable/docs#19 for more info.
3 years ago