Commit Graph

1021 Commits

Author SHA1 Message Date
Mike Farah 3c466dc66e Fixed delete bug 2021-02-11 10:58:40 +11:00
Mike Farah 0816e16d30 fixed instructions 2021-02-11 10:58:40 +11:00
Mike Farah 802d54e14e v4.5.0 2021-02-11 10:58:40 +11:00
Mike Farah 10600dd29a Fixed delete bug 2021-02-11 10:58:40 +11:00
Mike Farah 3a464272d4 Added variable doc 2021-02-11 10:58:40 +11:00
Mike Farah 691efadfac Fixed variable precedence 2021-02-11 10:58:40 +11:00
Mike Farah 6efe4c4797 Fixing op precedences 2021-02-11 10:58:40 +11:00
Mike Farah 9e56b364c2 Fixing op precedences 2021-02-11 10:58:40 +11:00
Mike Farah 85ec32e3db Added variables 2021-02-11 10:58:40 +11:00
Mike Farah 5c73132c8e Dont create entries when selecting 2021-02-11 10:58:40 +11:00
Mike Farah c6efd5519b Pass context through operators
Allows more sophisticated functionality
2021-02-11 10:58:40 +11:00
Mike Farah 3bae44be68 Added funding button 2021-02-11 10:58:40 +11:00
zy 48a7c59c4b change version from master to latest(v4) 2021-02-11 10:58:40 +11:00
zy 851fbd8cf5 fix: go install fails
Installation by go will result in an error:
module declares its path as: xxx,
but was required as: xxx.

Go install with master branch will fix it.

fix: #676
2021-02-11 10:58:40 +11:00
Mike Farah 820a3320be Fixed length of null to be zero 2021-02-11 10:58:40 +11:00
Mike Farah 61f569aebb fixing docker pipeline for nextime 2021-02-11 10:58:40 +11:00
Mike Farah 9ff51cd066 attempt to fix dockre 2021-02-11 10:58:40 +11:00
Mike Farah 9dd6d11362 Fixed bad docker version 2021-02-11 10:58:40 +11:00
Mike Farah 83139e21d9 Bump version 2021-02-11 10:58:40 +11:00
Mike Farah c77001f969 Can add and merge append to null 2021-02-11 10:58:40 +11:00
evnp 1be3b31bbc Don't escape HTML chars when converting to json
json.Encoder and json.Marshal implicitly use HTMLEscape to convert
>, <, &, with \u003c, \u003e, \u0026. This behavior carries over
to yq, where chars will be escaped when outputting json but not when
outputting yaml.

This changeset disables this behavior via encoder.SetEscapeHTML(false).
Unfortunately there is no equivalent option for json.Marshal, so its
single usage has been replaced with an encoder (with escaping disabled).
2021-02-11 10:58:40 +11:00
Mike Farah 6c14a80991 Fixed cross-function combinatorial bug 2021-02-11 10:58:40 +11:00
Mike Farah 76bd1896e9 wip 2021-02-11 10:58:40 +11:00
Mike Farah c63801a8a5 thoughts 2021-02-11 10:58:40 +11:00
Mike Farah f7cfdc29e1 cross function fix wip 2021-02-11 10:58:40 +11:00
Mike Farah 07c6549a58 Fixed doker instructions 2021-02-11 10:58:40 +11:00
Mike Farah 29f40dad59 Fixing multiply doc 2021-02-11 10:58:40 +11:00
Mike Farah fe33e7fcfe Incrementing version 2021-02-11 10:58:40 +11:00
Mike Farah 0707525b29 Added keys operator 2021-02-11 10:58:40 +11:00
Mike Farah 62acee54c3 Added split string operator 2021-02-11 10:58:40 +11:00
Mike Farah d21c94cf4f Added join strings operator 2021-02-11 10:58:40 +11:00
Mike Farah 626e9cacaf Split doc operator 2021-02-11 10:58:40 +11:00
Mike Farah 02ef99560d Fixing add,multiply,alternative operator precendences 2021-02-11 10:58:40 +11:00
Mike Farah c59209f041 Fixed remove comments example 2021-02-11 10:58:40 +11:00
Mike Farah 947ffb6986 Dont use pointer for env prefs (avoid nil) 2021-02-11 10:58:40 +11:00
Mike Farah 1a03031297 Dont use pointer for recursive prefs (avoid nil) 2021-02-11 10:58:40 +11:00
Mike Farah 2c7db0071a Dont use pointer for multiply prefs (avoid nil) 2021-02-11 10:58:40 +11:00
Mike Farah 0484d0232b Dont use pointer for commment prefs (avoid nil) 2021-02-11 10:58:40 +11:00
Mike Farah 91c72d2d9e Added merge if empty 2021-02-11 10:58:40 +11:00
Mike Farah 09ec740d45 Added operator level doc 2021-02-11 10:58:40 +11:00
Mike Farah 532dbd81a5 Incrementing version 2021-02-11 10:58:40 +11:00
Mike Farah e86f83fb69 Renaming pathtree to expression 2021-02-11 10:58:40 +11:00
Mike Farah 7d5b6b5442 Removed global vars 2021-02-11 10:58:40 +11:00
Mike Farah b749973fe0 UnwrapDoc now private 2021-02-11 10:58:40 +11:00
Mike Farah ba223df4ac Moved eval function to eval interface 2021-02-11 10:58:40 +11:00
Mikhail Katychev e6336bcb85 added lib_test.go 2021-02-11 10:58:40 +11:00
Mikhail Katychev 9ae03e0a1c added EvaluateNodes and EvaluateCandidateNodes to yqlib 2021-02-11 10:58:40 +11:00
Mike Farah 55712afea6 Merge now copies anchor names 2021-02-11 10:58:40 +11:00
Mike Farah 7518dac99c Fixed creation of candidateNode in operators to include file metadata 2021-02-11 10:58:40 +11:00
Mike Farah 49ac2bac13 Cleaning up exposed public api 2021-02-11 10:58:40 +11:00