]>
granicus.if.org Git - jq/log
Nicolas Williams [Wed, 15 Feb 2017 05:37:35 +0000 (23:37 -0600)]
Improve manual
William Langford [Sun, 5 Feb 2017 06:28:15 +0000 (01:28 -0500)]
Add `builtins` builtin
William Langford [Sun, 5 Feb 2017 05:47:19 +0000 (00:47 -0500)]
Fix memory leak in libm cfunctions
William Langford [Sun, 12 Feb 2017 21:25:44 +0000 (16:25 -0500)]
Merge pull request #1089 from l8nite/base64_decode
Shaun Guth [Sun, 24 Jan 2016 23:30:28 +0000 (23:30 +0000)]
Add @base64d for decoding base64 #47
J Phani Mahesh [Tue, 7 Feb 2017 08:44:29 +0000 (14:14 +0530)]
fix truncate_stream to match docs
Nicolas Williams [Sat, 4 Feb 2017 06:11:19 +0000 (00:11 -0600)]
Add more missing math functions
Nicolas Williams [Sat, 4 Feb 2017 06:11:10 +0000 (00:11 -0600)]
Fix handling of unsupported math functions
Nicolas Williams [Tue, 31 Jan 2017 22:13:32 +0000 (16:13 -0600)]
Promote wiki more in README
Nicolas Williams [Sat, 28 Jan 2017 18:30:57 +0000 (12:30 -0600)]
Improve docs somewhat, inspired by #1326
Nicolas Williams [Fri, 27 Jan 2017 23:46:00 +0000 (17:46 -0600)]
Make |= delete LHS when RHS is empty (Fix #1314)
Now that #1313 is fixed, |= no longer outputs null when the RHS update
expression outputs empty.
When a user wants to keep the current value of the LHS they would have
the RHS update expression output `.`, so having `empty` achieve the same
thing would be redundant. The obvious thing to do is to delete the LHS
when the RHS update outputs `empty` (i.e., doesn't output any values).
It's reasonable to think that existing programs won't be broken by this
change, because reduce and |= not handling empty well is clearly a bug.
(Though it's possible that some programs were using empty to quickly
terminate reduce or |=, it's not likely. They should use label/break
instead.)
Prior to this change |= would use the _last_ value output by the RHS
update expression. With this change |= will use the _first_ value
instead. This change _is_ a minor backwards-incompatible change. It
may or may not be acceptable; we'll see. It is a useful change in that
it makes |= faster when the update expression produces multiple values.
Nicolas Williams [Fri, 27 Jan 2017 21:51:06 +0000 (15:51 -0600)]
recurse (i.e., ..) needs to find leaf nulls
Nicolas Williams [Fri, 27 Jan 2017 16:06:04 +0000 (10:06 -0600)]
Add SQL-style operators (#1322)
Nicolas Williams [Fri, 27 Jan 2017 15:48:13 +0000 (09:48 -0600)]
Make first(g) more efficient: extract only 1 value
first(g) was extracting two values, which, if g is slow, made first(g)
slow. And if the second extraction were to throw an error, then
first(g) would throw that error, which is clearly not the right thing to
do. Besides that, first(g) was allocating garbage, which it no longer
does.
Nicolas Williams [Mon, 23 Jan 2017 23:10:51 +0000 (17:10 -0600)]
reduce: handle empty updates (fix #1313)
Attila Fülöp [Wed, 10 Aug 2016 20:27:21 +0000 (22:27 +0200)]
Solaris needs XPG6 for c99
William Langford [Sat, 28 Jan 2017 02:45:15 +0000 (21:45 -0500)]
Merge pull request #1317 from wtlangford/dont-split-utf8-sequences
Handle cut-off UTF-8 sequences when reading files
William Langford [Wed, 25 Jan 2017 04:05:47 +0000 (23:05 -0500)]
Handle cut-off UTF-8 sequences when reading files
Read additional bytes from the file to complete the UTF-8 sequence so the bytes
in it don't get converted to U+FFFD replacement characters.
W-Mark Kubacki [Fri, 19 Aug 2016 18:10:21 +0000 (20:10 +0200)]
Parse no deeper than MAX_PARSING_DEPTH
while true; do printf '{"deeper": '; done | jq .
W-Mark Kubacki [Fri, 19 Aug 2016 17:50:39 +0000 (19:50 +0200)]
Skip printing what's below a MAX_PRINT_DEPTH
This addresses #1136, and mitigates a stack exhaustion when printing
a very deeply nested term.
Jakub Wilk [Thu, 26 Jan 2017 18:42:59 +0000 (19:42 +0100)]
gen_utf8_tables: remove unused variable
Jan Schulz [Thu, 14 Apr 2016 16:22:16 +0000 (18:22 +0200)]
Revert "Disable appveyor build for now"
This reverts commit
0b8218515eabf1a967eba0dbcc7a0e5ae031a509 .
There is a new oniguruma package which previously trashed the build.
Richard Groves [Thu, 7 Jul 2016 09:05:42 +0000 (10:05 +0100)]
Typo fixed
simply -> simple
Janne Cederberg [Sun, 10 Apr 2016 05:34:44 +0000 (08:34 +0300)]
Documentation clarification suggestions
James Pearson Hughes [Thu, 14 Apr 2016 23:56:21 +0000 (16:56 -0700)]
Update download instructions for Arch
jq has been in the community repo for [just over a year now][0].
[0]: https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/jq&id=
8d5e06065bc92bf56ea651970c9bda07fb545554
Tim McCormack [Fri, 4 Nov 2016 20:21:39 +0000 (16:21 -0400)]
Typo: s/more/mode/ in `--seq`
Clément MATHIEU [Tue, 3 Jan 2017 21:19:58 +0000 (22:19 +0100)]
Fix input_(line_number|filename) leak memory
Jay Satiro [Sat, 22 Oct 2016 20:00:44 +0000 (16:00 -0400)]
Fix cross-compile tmp dir removal
- cd out of the tmp dir before attempting to remove it.
Nicolas Williams [Mon, 21 Mar 2016 22:43:01 +0000 (17:43 -0500)]
Disable appveyor build for now
David Tolnay [Wed, 24 Feb 2016 08:39:56 +0000 (00:39 -0800)]
Remove David from maintainers
Nicolas Williams [Mon, 18 Jan 2016 20:58:58 +0000 (14:58 -0600)]
Travis-CI build for OSX (fix #1083)
Nicolas Williams [Mon, 18 Jan 2016 18:17:58 +0000 (12:17 -0600)]
Always test sort_by/group_by post-#1082
Stephen Dolan [Mon, 18 Jan 2016 10:56:54 +0000 (10:56 +0000)]
Make jv_sort stable regardless of qsort details.
Stephen Dolan [Mon, 18 Jan 2016 10:15:43 +0000 (10:15 +0000)]
Add AppVeyor badge to README.md
Thanks @JanSchulz, @nicowilliams!
Nicolas Williams [Sun, 17 Jan 2016 18:09:43 +0000 (12:09 -0600)]
Add --enable-ubsan (undefined behavior sanitizer)
Nicolas Williams [Sun, 17 Jan 2016 18:38:35 +0000 (12:38 -0600)]
Run failing tests on Windows; ignore failures
Nicolas Williams [Sun, 17 Jan 2016 18:23:05 +0000 (12:23 -0600)]
Make it possible to run tests with set -x
One can now run:
make TRACE_TESTS=1 check
to get detailed output
Nicolas Williams [Sun, 17 Jan 2016 17:23:17 +0000 (11:23 -0600)]
Enable more tests on Windows; move sort_by tests
Use %%FAIL IGNORE MSG for error messages that differ on Windows, and
move the sort_by/group_by tests that fail qhen qsort() is not stable.
Now only tests/sorttest and tests/shtest are disabled on Windows.
Nicolas Williams [Sun, 17 Jan 2016 07:49:50 +0000 (01:49 -0600)]
Tweak appveyor.yml; disable failing tests
Jan Schulz [Sat, 16 Jan 2016 21:39:55 +0000 (22:39 +0100)]
Upload build failure logs
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Jan Schulz [Sat, 16 Jan 2016 21:55:13 +0000 (22:55 +0100)]
Build a html help
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Jan Schulz [Sat, 16 Jan 2016 21:24:38 +0000 (22:24 +0100)]
Run tests on appveyor
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Jan Schulz [Sat, 16 Jan 2016 21:20:23 +0000 (22:20 +0100)]
Add 32bit windows builds on appveyor
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Jan Schulz [Sat, 16 Jan 2016 11:44:34 +0000 (12:44 +0100)]
Build on windows (mingw) on appveyor
For this to work, one of the core commiter should do:
* enable appveyor in the github project (grant access)
* Make an appveyor account and add the github jq repo as a new project
inspirations from:
appveyor, msys2, use bash environment to build...
* https://github.com/ariscop/elemental-ircd/blob/appveyor/appveyor.yml
* https://github.com/khaledhosny/ots/pull/67/files
* https://github.com/universal-ctags/ctags/blob/master/appveyor.yml
* https://github.com/universal-ctags/ctags/blob/master/win32/appveyor.bat
and with mvsc
* https://github.com/khaledhosny/ots/blob/master/.appveyor.yml
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Nicolas Williams [Fri, 15 Jan 2016 22:21:16 +0000 (16:21 -0600)]
Fix cross-compilation build
Nicolas Williams [Fri, 15 Jan 2016 22:06:30 +0000 (16:06 -0600)]
Fix Windows build (fix #911)
Nicolas Williams [Fri, 15 Jan 2016 22:06:18 +0000 (16:06 -0600)]
fixup non-maintainer build
Nicolas Williams [Fri, 15 Jan 2016 17:59:14 +0000 (11:59 -0600)]
Always build src/builtin.inc (fix #1069)
Nicolas Williams [Fri, 15 Jan 2016 17:58:41 +0000 (11:58 -0600)]
MultiByteToWideChar() usage bug (fix #1072)
Nicolas Williams [Tue, 15 Dec 2015 05:43:22 +0000 (23:43 -0600)]
Make it easier to use jq with shebangs (fix #1044)
Allow a continuation on a comment immediately after a shebang to make
this traditional hack possible:
#!/bin/sh
# this next line is ignored by jq \
exec jq -f "$0" "$@"
# jq code follows
But continue only on the first line following a shebang, and only if
it's a comment.
Nicolas Williams [Tue, 15 Dec 2015 06:00:03 +0000 (00:00 -0600)]
Add note about IEEE754 to help msg
Cameron Sparr [Fri, 11 Dec 2015 21:35:57 +0000 (14:35 -0700)]
Change usage formatting
Romero Malaquias [Wed, 9 Dec 2015 06:38:17 +0000 (03:38 -0300)]
Avoiding conditional directives that break statements
pkoppstein [Mon, 7 Dec 2015 23:51:26 +0000 (18:51 -0500)]
Two sub bugs fixed; two new gsub tests have been added.
./jq --run-tests < tests/onig.test
has been run successfully:
...
Testing 'gsub("a";"b")' at line number 70
Testing 'gsub( "(.*)"; ""; "x")' at line number 74
...
22 of 22 tests passed (0 malformed)
Nicolas Williams [Wed, 2 Dec 2015 05:25:23 +0000 (23:25 -0600)]
Fix JV_OBJECT() and go up to 18
Nicolas Williams [Wed, 2 Dec 2015 04:16:03 +0000 (22:16 -0600)]
Assume . if either stdin/on isatty() (fix #1028)
And move the #define of isatty on Windows up.
Mark McKinstry [Thu, 26 Nov 2015 15:48:06 +0000 (10:48 -0500)]
yum has been replaced with dnf as of f22
https://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
David Tolnay [Sat, 21 Nov 2015 18:05:37 +0000 (10:05 -0800)]
Support --without-oniguruma
David Tolnay [Wed, 18 Nov 2015 08:30:18 +0000 (00:30 -0800)]
Oniguruma hash in dockerfile
Loamhoof [Sun, 15 Nov 2015 20:43:38 +0000 (21:43 +0100)]
Fix manual signature for split (non-regex)
Nicolas Williams [Wed, 28 Oct 2015 00:01:06 +0000 (19:01 -0500)]
Add address sanitizer (ASAN) support (fix #1002)
David Tolnay [Sun, 18 Oct 2015 05:44:40 +0000 (22:44 -0700)]
Support numbers and boolean in join (fix #930)
Nicolas Williams [Sat, 24 Oct 2015 22:24:57 +0000 (17:24 -0500)]
Heap buffer overflow in tokenadd() (fix #105)
This was an off-by one: the NUL terminator byte was not allocated on
resize. This was triggered by JSON-encoded numbers longer than 256
bytes.
David Tolnay [Sat, 24 Oct 2015 18:23:37 +0000 (11:23 -0700)]
strptime() on OpenBSD requires _XOPEN_SOURCE_EXTENDED 1 (fix #999)
strptime() is an XPG4v2 function, on OpenBSD the prototype
is not included in time.h unless visibility is set, it needs
either "#define _XOPEN_SOURCE_EXTENDED 1" or _XOPEN_SOURCE
>= 500. Without this the prototype isn't included and
strptime's returned pointer is truncated to an int, causing
SEGV on 64-bit arches when using it.
Thanks @sthen
David Tolnay [Sat, 24 Oct 2015 18:21:16 +0000 (11:21 -0700)]
mktemp needs 6 or more X's (fix #1000)
mktemp(1) isn't posix specified, but it's reasonable to use
mktemp(3) to implement it which requires 6 trailing X's in
the format
Thanks @sthen
Nicolas Williams [Fri, 23 Oct 2015 03:33:47 +0000 (22:33 -0500)]
Fix builtin.o dependency (#992)
Nicolas Williams [Fri, 23 Oct 2015 03:07:34 +0000 (22:07 -0500)]
Fix linux32 jq-1.5 executable (fix #935)
Nicolas Williams [Fri, 23 Oct 2015 03:06:27 +0000 (22:06 -0500)]
Rename sig/v1.5/jq-linux32.asc (prep for #935)
Nicolas Williams [Fri, 23 Oct 2015 02:53:53 +0000 (21:53 -0500)]
Remove setup.sh (fix #993)
David Tolnay [Sun, 18 Oct 2015 06:24:13 +0000 (23:24 -0700)]
Move jq-coded builtins to non-C file (fix #424)
David Tolnay [Sun, 18 Oct 2015 06:54:07 +0000 (23:54 -0700)]
Move docs for map earlier (fix #288)
David Tolnay [Sun, 18 Oct 2015 04:15:24 +0000 (21:15 -0700)]
If-then-else documentation for forking conditional (fix #942)
David Tolnay [Sun, 18 Oct 2015 03:50:40 +0000 (20:50 -0700)]
Support lowercase name in from_entries (fix #990)
David Tolnay [Wed, 14 Oct 2015 06:27:01 +0000 (23:27 -0700)]
Revert "Adjust spacing of section headers to account for nav bar (fix #986)"
This reverts commit
73b8413d10751c7be3e54d83ea338b3e895bdda3 .
The fix for #986 caused #988.
David Tolnay [Tue, 13 Oct 2015 17:46:49 +0000 (10:46 -0700)]
Autocomplete manual search to first result on submit
David Tolnay [Tue, 13 Oct 2015 05:48:53 +0000 (22:48 -0700)]
Add background color to typeahead menu
David Tolnay [Tue, 13 Oct 2015 05:33:45 +0000 (22:33 -0700)]
Sort manual search results shortest to longest
David Tolnay [Tue, 13 Oct 2015 05:30:16 +0000 (22:30 -0700)]
Remove backticks from manual headers and search strings
David Tolnay [Tue, 13 Oct 2015 02:58:48 +0000 (19:58 -0700)]
Adjust spacing of section headers to account for nav bar (fix #986)
David Tolnay [Mon, 12 Oct 2015 20:10:03 +0000 (13:10 -0700)]
Merge typeaheadjs.css into base.scss
David Tolnay [Mon, 12 Oct 2015 05:11:52 +0000 (22:11 -0700)]
PGP signatures for release binaries (fix #889)
David Tolnay [Mon, 12 Oct 2015 06:08:43 +0000 (23:08 -0700)]
Accept only bitwise identical NaN values in jv_identical (fix #978)
David Tolnay [Tue, 13 Oct 2015 03:07:24 +0000 (20:07 -0700)]
Add signing key and dtolnay's key fingerprints to KEYS
Nicolas Williams [Tue, 13 Oct 2015 00:11:52 +0000 (19:11 -0500)]
Remove expired key from KEYS
Nicolas Williams [Mon, 12 Oct 2015 22:47:53 +0000 (17:47 -0500)]
Add KEYS file
David Tolnay [Mon, 12 Oct 2015 19:19:25 +0000 (12:19 -0700)]
Link to BootstrapCDN for Bootstrap and Bootswatch (fix #985)
David Tolnay [Mon, 12 Oct 2015 17:46:17 +0000 (10:46 -0700)]
Explicitly use current directory in Rakefile
David Tolnay [Mon, 12 Oct 2015 17:42:15 +0000 (10:42 -0700)]
Split up Rakefile to minimize dependencies (fix #435)
David Tolnay [Mon, 12 Oct 2015 17:21:16 +0000 (10:21 -0700)]
Add description for rake tasks
You can see the descriptions by running `rake --tasks`.
David Tolnay [Mon, 12 Oct 2015 17:10:56 +0000 (10:10 -0700)]
Remove duplicate yaml import in Rakefile
David Tolnay [Mon, 12 Oct 2015 17:03:15 +0000 (10:03 -0700)]
Remove old Rakefile dist targets
Because binaries no longer go into the repo.
Simon Elsbrock [Mon, 12 Oct 2015 08:02:07 +0000 (10:02 +0200)]
docs: jq 1.5 is now available in Debian unstable
It may take some time until it bubbles up into Ubuntu repositories.
David Tolnay [Sat, 3 Oct 2015 02:19:36 +0000 (19:19 -0700)]
Bump fedora and chocolatey available version numbers
David Tolnay [Thu, 24 Sep 2015 17:31:28 +0000 (10:31 -0700)]
Support NaN in path expressions (fix #962)
Nicolas Williams [Tue, 22 Sep 2015 04:24:08 +0000 (23:24 -0500)]
EOF after newline in string mishandled (fix #951)
David Tolnay [Mon, 21 Sep 2015 18:15:25 +0000 (11:15 -0700)]
Delete negative indices in array (fix #954)
David Tolnay [Mon, 21 Sep 2015 19:09:37 +0000 (12:09 -0700)]
Fix assert fail if object literal key is not a string (fix #953)
Roman Inflianskas [Sun, 20 Sep 2015 11:11:35 +0000 (14:11 +0300)]
Add openSUSE repository
David Tolnay [Wed, 16 Sep 2015 17:48:50 +0000 (10:48 -0700)]
Address comments on PR #950
David Tolnay [Wed, 16 Sep 2015 16:49:11 +0000 (09:49 -0700)]
Improve invalid object key error message