b349e7d9a8
Print stack value refcounts when tracing ( #636 )
2014-11-28 19:26:41 -06:00
0f89270d08
Changing color codes to fix #495
2014-07-22 23:05:43 -05:00
eb45372414
jv_show() should be able to display invalid values
2014-07-07 19:33:18 -05:00
6c3683dfe9
Repair jv_show
2014-02-26 01:43:00 -06:00
36e495da1e
Make jq --raw-output --unbuffered work
...
--unbuffered was only affecting the normal output case, not the --raw-output case. Make the two of them play together.
This also makes sure that the output is flushed *after* printing the newline, so a consumer doesn't lag a line behind.
2014-02-26 01:42:29 -06:00
a71138a43a
Add jv_dumpf() and jv_show()
...
jv_dumpf() takes a FILE *.
jv_show() is intended for use in debuggers, so it dumps the jv to stderr
and it does not jv_free() the jv, so it's safe to
"call jv_show(some_jv, -1)" in a debugger. If flags == -1 then the jv
will be shown pretty-printed and in color.
2013-12-26 18:40:34 -06:00
6a401c8262
Add a --unbuffered option. Closes #206
2013-11-08 12:21:45 +00:00
37cfc912c1
Remove #includes from jv.h
2013-06-23 14:23:07 +01:00
298b2a6033
Add libjq autoconf goo
2013-06-21 11:57:12 -05:00
4fed6763fc
Squash a warning on some GCC versions
2013-05-31 12:15:58 +01:00
73446a9cce
Support for printing object keys in sorted order.
...
No command-line option to enable this yet. See #79 .
2013-05-29 11:47:12 +01:00
e83e51eb56
'length' function now measures string length in codepoints, not bytes.
2013-05-15 00:37:38 +01:00
8c708f3c7a
Refactor path logic.
2013-05-13 15:00:05 +01:00
47e015e946
Make a few constant globals actually const.
...
This means the .data and .bss sections are empty, a good thing
in a shared library (see #98 ).
2013-05-05 22:59:53 +01:00
fb84541e11
Clean up jv_object_foreach and add jv_array_foreach
2012-12-31 23:27:00 +00:00
e9c7548b82
Oh alright then, if you insist.
...
Colo(u)red output for jq. Enabled by default if isatty(stdout).
Closes #11 .
2012-12-03 01:21:07 +00:00
5b45184a1a
Make the -c output more compact. Closes #44 .
2012-12-02 23:24:07 +00:00
04e85e11de
Print Unicode characters unescaped by default.
2012-09-18 22:47:19 +01:00
a4eea165bb
Move everything around - delete old Haskell code, clean up build.
2012-09-18 17:44:43 +01:00