Commit Graph
823 Commits
Author SHA1 Message Date
Mike Farah c284d4c6b1 Equals now only compares scalars 2021-02-05 09:49:40 +11:00
Mike Farah 63883d3000 Fixed delete bug 2021-02-04 13:47:59 +11:00
Mike Farah 3014192ce8 fixed instructions 2021-02-04 13:12:16 +11:00
Mike Farah ebeb1146ba v4.5.0 v4.5.0 2021-02-04 13:04:53 +11:00
Mike Farah 0bb53ec770 Fixed delete bug 2021-02-04 12:48:07 +11:00
Mike Farah a50e154652 Added variable doc 2021-02-04 12:44:03 +11:00
Mike Farah f91d30e46c Fixed variable precedence 2021-02-04 12:39:04 +11:00
Mike Farah 07b053f040 Fixing op precedences 2021-02-04 12:18:54 +11:00
Mike Farah 35c97e832e Fixing op precedences 2021-02-03 17:11:47 +11:00
Mike Farah 8a5c47906e Added variables 2021-02-03 15:51:26 +11:00
Mike Farah a366cacad3 Dont create entries when selecting 2021-02-03 11:56:35 +11:00
Mike Farah 7c8d3b9e70 Pass context through operators
Allows more sophisticated functionality
2021-02-03 11:56:35 +11:00
Mike Farah ca10642e23 Added funding button 2021-02-01 15:50:57 +11:00
zyandMike Farah 73518f3915 change version from master to latest(v4) 2021-01-27 10:09:32 +11:00
zyandMike Farah 348ddb7a59 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-01-27 10:09:32 +11:00
Mike Farah f46fe384bd Fixed length of null to be zero 2021-01-26 10:21:16 +11:00
Mike Farah 071ec3c08c fixing docker pipeline for nextime 2021-01-21 21:15:21 +11:00
Mike Farah c2ed3a3e6d attempt to fix dockre dockerfix 2021-01-21 21:11:04 +11:00
Mike Farah cc4c69bc89 Fixed bad docker version 2021-01-21 21:07:55 +11:00
Mike Farah 917fd0eb6a Bump version v4.4.1 2021-01-18 14:10:35 +11:00
Mike Farah b2056a2056 Can add and merge append to null 2021-01-18 13:58:46 +11:00
evnpandMike Farah ba59201217 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-01-18 13:33:02 +11:00
Mike Farah cfddee9101 Fixed cross-function combinatorial bug 2021-01-18 13:28:40 +11:00
Mike Farah 1941bb66a5 wip 2021-01-18 10:15:31 +11:00
Mike Farah 29af9e4c63 thoughts 2021-01-16 14:56:52 +11:00
Mike Farah af3a9ae846 cross function fix wip 2021-01-16 14:09:49 +11:00
Mike Farah 5fb88627ca Fixed doker instructions 2021-01-15 09:44:02 +11:00
Mike Farah 4fc3793fcb Fixing multiply doc 2021-01-14 20:28:57 +11:00
Mike Farah d612897e89 Incrementing version v4.4.0 2021-01-14 19:50:37 +11:00
Mike Farah 806f906041 Added keys operator 2021-01-14 15:45:07 +11:00
Mike Farah e8b2f6e383 Added split string operator 2021-01-14 15:05:50 +11:00
Mike Farah e419b5a39d Added join strings operator 2021-01-14 14:46:50 +11:00
Mike Farah a5b6e08282 Split doc operator 2021-01-14 14:25:31 +11:00
Mike Farah 2417c0ee8f Fixing add,multiply,alternative operator precendences 2021-01-14 11:16:04 +11:00
Mike Farah d3b2e37b66 Fixed remove comments example 2021-01-14 09:12:14 +11:00
Mike Farah 54723c1a36 Dont use pointer for env prefs (avoid nil) 2021-01-13 17:00:53 +11:00
Mike Farah 0318c80d33 Dont use pointer for recursive prefs (avoid nil) 2021-01-13 17:00:03 +11:00
Mike Farah 8980846632 Dont use pointer for multiply prefs (avoid nil) 2021-01-13 16:59:01 +11:00
Mike Farah 0fb62d3ae1 Dont use pointer for commment prefs (avoid nil) 2021-01-13 16:56:24 +11:00
Mike Farah 85398727ad Added merge if empty 2021-01-13 16:54:28 +11:00
Mike Farah 0bf3d781f6 Added operator level doc 2021-01-13 15:23:26 +11:00
Mike Farah 5c15936bf3 Incrementing version v4.3.2 2021-01-13 10:29:06 +11:00
Mike Farah b0735d8152 Renaming pathtree to expression 2021-01-13 10:25:26 +11:00
Mike Farah f17cbfd007 Removed global vars 2021-01-13 10:04:52 +11:00
Mike Farah 7b7ab70286 UnwrapDoc now private 2021-01-13 10:00:51 +11:00
Mike Farah 43165fa340 Moved eval function to eval interface 2021-01-13 09:35:57 +11:00
Mikhail KatychevandMike Farah feda9f044d added lib_test.go 2021-01-13 09:22:40 +11:00
Mikhail KatychevandMike Farah 85629af59c added EvaluateNodes and EvaluateCandidateNodes to yqlib 2021-01-13 09:22:40 +11:00
Mike Farah 5fc26e9453 Merge now copies anchor names 2021-01-13 09:21:16 +11:00
Mike Farah 07a6fa4df5 Fixed creation of candidateNode in operators to include file metadata 2021-01-12 19:36:28 +11:00