Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-07 | `error(x)` should not `tostring` its arg; fix #466 | Nicolas Williams | |
2014-07-07 | `limit` should use `break` | Nicolas Williams | |
2014-07-07 | Make `any/2` and `all/2` efficient using `foreach` | Nicolas Williams | |
2014-07-07 | Add `break` builtin for `foreach` | Nicolas Williams | |
2014-07-06 | Add `any/N` and `all/N` x N in (1, 2) (fix #455) | Nicolas Williams | |
Contributed by @pkoppstein. | |||
2014-07-06 | Add `foreach` and `limit` | Nicolas Williams | |
2014-07-02 | Add `while(cond; update)` (fix #314) | Nicolas Williams | |
2014-07-02 | Add `range(init;upto;by)` (fix #317) | Nicolas Williams | |
2014-07-01 | Fixed base64 issue with UTF-8 strings | William Langford | |
Signed-off-by: Nicolas Williams <nico@cryptonector.com> | |||
2014-06-30 | Let @uri produce uppercase hexadecimal digits... | Zhiming Wang | |
instead of lowercase ones. According to RFC 3986, The uppercase hexadecimal digits 'A' through 'F' are equivalent to the lowercase digits 'a' through 'f', respectively. If two URIs differ only in the case of hexadecimal digits used in percent-encoded octets, they are equivalent. For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent- encodings. See https://github.com/stedolan/jq/issues/451 for details. Test suite and manual are also updated to reflect this change. Signed-off-by: Nicolas Williams <nico@cryptonector.com> | |||
2014-06-18 | Remove extra free of testmode | Nicolas Williams | |
I added a jv_free() too many while rebasing @wtlangford's contribution. It could only be triggered by calling `_match_impl` directly. | |||
2014-06-18 | Added regex support as per issue #164. | William Langford | |
jq now depends on oniguruma for regex support. Modified configure.ac accordingly. Added valgrind suppression file for oniguruma to prevent one-time and bounded leaks from causing tests to fail. Signed-off-by: Nicolas Williams <nico@cryptonector.com> | |||
2014-06-17 | Simplified standard library | Santiago Lapresta | |
Close #426. Signed-off-by: Nicolas Williams <nico@cryptonector.com> | |||
2014-06-16 | Fix #280: from_entries of [] is null, should be {} | Nicolas Williams | |
2014-06-16 | Don't declare environ on WIN32 | Nicolas Williams | |
2014-06-16 | Added `flatten` and `flatten(x)` functions | Santiago Lapresta | |
Fix #415. | |||
2014-06-13 | Add `env` builtin | Nicolas Williams | |
2014-06-08 | Add `indices(s)`, improve `index(s)`, `rindex(s)` | Nicolas Williams | |
Now these deal with arrays as input and `s` being an array or a scalar. | |||
2014-06-07 | Added `join` function | Santiago Lapresta | |
Signed-off-by: Nicolas Williams <nico@cryptonector.com> | |||
2014-06-07 | String * number should be commutative | Nicolas Williams | |
2014-05-12 | Added unique_by function | Santiago Lapresta | |
2014-03-13 | Also add `scalars` | Nicolas Williams | |
2014-03-13 | Added `arrays` and other filters | Santiago Lapresta | |
Arrays, objects, numbers, strings, booleans, nulls, values (non-nulls) -- these builtins filter out those inputs that don't match the name of the builtin. This fixes #322 and #324. | |||
2014-03-08 | Add a recursive object merge strategy and bind it to * | Filippo Valsorda | |
This commit adds a jv_object_merge_recursive function, that performs recursive object merging, and binds it to multiply when applied to two objects. Added docs and tests. Closes #320 | |||
2014-02-21 | Initial add of math functions. | Mike McCabe | |
2014-02-20 | Add `?`, `.[]?`, and `..` operators | Nicolas Williams | |
Make XPath-like `//a/b` recursive structure traversal easier in jq, which then becomes: ..|.a?.b? The `?` operator suppresses errors about . not being an array or object. The `..` operator is equivalent to calling the new `recurse_down` built-in, which in turn is equivalent to recurse(.[]?) Note that `..a` is not supported; neither is `...a`. That could be add added, but it doesn't seem worth the trouble of saving the need to type a '|'. | |||
2014-02-17 | Added `all` and `any` builtins | Santiago Lapresta | |
2014-02-05 | Fix cut-n-paste in `leaf_paths`; doc and test 'em | Nicolas Williams | |
2014-02-05 | #285 add and builtins | Nicolas Williams | |
2013-12-04 | Add index and rindex builtins | Nicolas Williams | |
2013-12-04 | Make length return abs value of numeric inputs | Nicolas Williams | |
2013-12-04 | Add callback interface for errors | Nicolas Williams | |
Printing to stderr is not the right answer for a library. | |||
2013-12-04 | Add ltrimstr and rtrimstr functions | Nicolas Williams | |
2013-12-04 | Add tojson and fromjson builtins | Nicolas Williams | |
2013-12-04 | Add string division by string (split on separator) | Nicolas Williams | |
2013-12-04 | Add string multiplication by number | Nicolas Williams | |
2013-12-04 | Add startswith/endswith | Nicolas Williams | |
2013-12-04 | Add explode/implode jq functions to match jv API | Nicolas Williams | |
2013-09-14 | Merge pull request #182 from mdaines/sqrt-builtin | Stephen Dolan | |
Add builtin for calculating square root | |||
2013-09-14 | Merge branch 'libjq' | Stephen Dolan | |
Conflicts: Makefile.am configure.ac | |||
2013-09-11 | Add sqrt operator | Michael Daines | |
2013-06-23 | Remove #includes from jv.hlibjq | Stephen Dolan | |
2013-06-22 | Merge branch 'header-cleanup' into libjq | Stephen Dolan | |
Conflicts: Makefile.am | |||
2013-06-21 | Add floor operator | Nicolas Williams | |
2013-06-21 | Add mod (and setmod) operators | Nicolas Williams | |
2013-06-21 | Add libjq autoconf goo | Nicolas Williams | |
2013-06-21 | Move cfunction invocation code to the interpreter loop.header-cleanup | Stephen Dolan | |
2013-06-18 | Simplify block functions for variables | Stephen Dolan | |
2013-06-15 | Move slurp_file() into library as jv_load_file() | Nicolas Williams | |
Needed as part of creating a libjq. | |||
2013-05-29 | Load library from ~/.jq | Brendan Macmillan | |