Commit Graph

720 Commits

Author SHA1 Message Date
Mike Farah
82f717226c Fixed traverse issue 2023-05-30 08:46:51 +10:00
Mike Farah
d933c00904 Merge branch 'master' into generic_ast 2023-05-28 14:22:48 +10:00
Mike Farah
fcc04823ca Added docs on base64 only working with utf8 content 2023-05-23 15:38:08 +10:00
Mike Farah
5950329e2c Added docs on yes/no being strings in yaml spec 1.2 2023-05-23 15:35:39 +10:00
Mike Farah
d9357859ed use addChild methods 2023-05-09 13:51:21 +10:00
Mike Farah
0ca8a13e36 calculate document,filename and fileindex by parent 2023-05-05 15:19:58 +10:00
Mike Farah
68df67f550 wip 2023-05-05 14:13:18 +10:00
Mike Farah
cde32c156b fixed entries op 2023-05-04 19:46:35 +10:00
Mike Farah
4921302c28 merged from master 2023-05-04 19:27:37 +10:00
Mike Farah
9ba85a0a46 fixed json encode/decode 2023-05-04 19:22:33 +10:00
Mike Farah
4d50b001d1 Added test for null array json example 2023-05-04 14:48:57 +10:00
Arthur Fritz Santiago
d14eaa9b49
fix: runtime error: invalid memory address or nil pointer dereference (#1649) 2023-05-04 14:43:48 +10:00
Giorgio Gallo
80b42b81fd
Implement shell output format (#1645)
* fix typo in a comment

* implement shell output format

* fix a typo

* add two test cases, have source uses ascii only

* add integration tests and documentation

* add fixes after code revieew
2023-05-04 11:06:56 +10:00
Mike Farah
e3ccd05a00 wip - rabbit hole :/ 2023-05-02 15:07:04 +10:00
Mike Farah
42843763ca wip - rabbit hole :/ 2023-05-02 14:07:59 +10:00
Mike Farah
cd50b35787 getting closer 2023-04-17 17:23:48 +10:00
Mike Farah
ee8cc90307 getting closer 2023-04-17 16:20:00 +10:00
Mike Farah
c525fa21c4 wip 2023-04-15 15:54:44 +10:00
Mike Farah
ade4819ea1 aliases 2023-04-15 15:24:40 +10:00
Mike Farah
648a08ef89 aliases 2023-04-15 15:07:23 +10:00
Mike Farah
49acb79ff1 aliases 2023-04-15 14:48:35 +10:00
Mike Farah
4ef84278a3 yaml aliases! 2023-04-15 14:36:24 +10:00
Mike Farah
4eca302efc yaml includes comments 2023-04-15 14:10:12 +10:00
Mike Farah
c38841ce20 wip 2023-04-13 15:40:41 +10:00
Mike Farah
2de69a19f5 wip 2023-04-13 14:53:14 +10:00
Mike Farah
27fa4e10b8 wip 2023-04-13 14:44:39 +10:00
Mike Farah
08c93f0f1f wip 2023-04-13 14:34:34 +10:00
Mike Farah
1421a5a879 wip 2023-04-12 19:04:21 +10:00
Mike Farah
eb7844dd1d wip 2023-04-11 15:33:32 +10:00
Mike Farah
b4cdcfb32e wip 2023-04-11 12:39:22 +10:00
Mike Farah
b74edd43da Merge branch 'master' into generic_ast 2023-04-11 12:10:29 +10:00
Mike Farah
385921a3e2 Fixed passing of readonly context in pipe 2023-04-11 12:04:04 +10:00
Mike Farah
fe8f46d475 wip 2023-04-10 14:13:28 +10:00
Mike Farah
4c6c653d25 wip 2023-04-09 11:14:51 +10:00
Mike Farah
4696d11bbc wip 2023-04-08 21:42:46 +10:00
Mike Farah
e4dd94248b wip 2023-04-08 21:27:47 +10:00
Mike Farah
6e3f1d959e wip 2023-04-08 20:17:13 +10:00
Mike Farah
66ab916c6b wip 2023-04-08 19:56:35 +10:00
Mike Farah
52b364ec52 wip 2023-04-03 22:25:37 +10:00
Mike Farah
54f5c9ee2f wip 2023-04-03 17:29:33 +10:00
Mike Farah
8fef31b417 wip 2023-04-03 17:27:41 +10:00
Mike Farah
6a891e5239 wip 2023-04-03 16:16:07 +10:00
Mike Farah
eba075294a Added scalar output for TOML (#1617) 2023-04-03 15:40:06 +10:00
Mike Farah
a389bb64b8 Fixed bug when splatting empty array #1613 2023-03-31 16:24:23 +11:00
Mike Farah
496035c75a toml docs 2023-03-31 10:24:12 +11:00
Valentin Lab
5fd2890d1b
Add `--nul-output|-0` flag to separate element with NUL character (#1550)
This is to ensure solid parsing of complex data (with any binary
content except NUL chars) by separating the `yq` root collection
member's output with NUL char. As a safe-guard, an error will be cast
if trying to use NUL character with content that contains itself NUL
characters inside.
2023-03-29 09:51:55 +11:00
Mike Farah
8d516ce535 Handle scalars in csv, xml files 2023-03-27 13:54:24 +11:00
Mike Farah
1b0a62d08d Handle scalars in property files 2023-03-27 13:51:08 +11:00
Mike Farah
7103b78d38
Draft: Toml (#1439)
* toml wip

* wip

* Fixed auto parsing toml

* Added build flag not to include toml

* Parse toml docs and tests

* minor updates
2023-03-26 10:59:15 +11:00
Mike Farah
95aafdd8d5 Fixed modulo docs 2023-03-18 14:53:36 +11:00