Nicolas Williams
8e4724e16c
fixup non-maintainer build
2016-01-15 16:06:18 -06:00
Nicolas Williams
3afdbb7b7d
Always build src/builtin.inc ( fix #1069 )
2016-01-15 11:59:14 -06:00
Nicolas Williams
f217fa26ae
MultiByteToWideChar() usage bug ( fix #1072 )
2016-01-15 11:58:41 -06:00
Nicolas Williams
8f6f28c8d3
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.
2015-12-14 22:08:17 -08:00
Nicolas Williams
856a4b2f3f
Add note about IEEE754 to help msg
2015-12-15 00:00:03 -06:00
Cameron Sparr
6d76cd0a99
Change usage formatting
2015-12-14 23:58:28 -06:00
Romero Malaquias
6151f20477
Avoiding conditional directives that break statements
2015-12-09 15:29:35 -06:00
pkoppstein
ad8d1a8cc8
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)
2015-12-09 15:28:01 -06:00
Nicolas Williams
ec583deefa
Fix JV_OBJECT() and go up to 18
2015-12-01 23:27:19 -06:00
Nicolas Williams
5fe053671a
Assume . if either stdin/on isatty() ( fix #1028 )
...
And move the #define of isatty on Windows up.
2015-12-01 23:27:19 -06:00
Mark McKinstry
0d177d240d
yum has been replaced with dnf as of f22
...
https://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
2015-11-26 10:48:06 -05:00
David Tolnay
18b4b18b41
Support --without-oniguruma
2015-11-21 10:05:37 -08:00
David Tolnay
befd192958
Oniguruma hash in dockerfile
2015-11-18 00:30:18 -08:00
Loamhoof
79f9ecd150
Fix manual signature for split (non-regex)
2015-11-15 21:43:38 +01:00
Nicolas Williams
8f115e9eed
Add address sanitizer (ASAN) support ( fix #1002 )
2015-10-27 20:06:21 -05:00
David Tolnay
e17ccf2297
Support numbers and boolean in join ( fix #930 )
2015-10-25 12:40:15 -07:00
Nicolas Williams
8eb1367ca4
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.
2015-10-24 17:27:56 -05:00
David Tolnay
2f79004f85
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
2015-10-24 11:23:56 -07:00
David Tolnay
b7a219a91d
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
2015-10-24 11:21:18 -07:00
Nicolas Williams
aa279ae7ac
Fix builtin.o dependency ( #992 )
2015-10-22 22:33:47 -05:00
Nicolas Williams
4060535f9f
Fix linux32 jq-1.5 executable ( fix #935 )
2015-10-22 22:07:34 -05:00
Nicolas Williams
1847333342
Rename sig/v1.5/jq-linux32.asc (prep for #935 )
2015-10-22 22:06:27 -05:00
Nicolas Williams
87c278c8a5
Remove setup.sh ( fix #993 )
2015-10-22 21:53:53 -05:00
David Tolnay
143e8dc5e4
Move jq-coded builtins to non-C file ( fix #424 )
2015-10-22 19:26:00 -07:00
David Tolnay
b80d58e167
Move docs for map earlier ( fix #288 )
2015-10-17 23:54:07 -07:00
David Tolnay
6c31850e86
If-then-else documentation for forking conditional ( fix #942 )
2015-10-17 21:15:24 -07:00
David Tolnay
c8dc164566
Support lowercase name in from_entries ( fix #990 )
2015-10-17 20:50:40 -07:00
David Tolnay
32e5e6af4b
Revert "Adjust spacing of section headers to account for nav bar ( fix #986 )"
...
This reverts commit 73b8413d10 .
The fix for #986 caused #988 .
2015-10-13 23:29:57 -07:00
David Tolnay
4a886f831c
Autocomplete manual search to first result on submit
2015-10-13 10:48:06 -07:00
David Tolnay
e3c36777ab
Add background color to typeahead menu
2015-10-12 22:50:03 -07:00
David Tolnay
c2395f0278
Sort manual search results shortest to longest
2015-10-12 22:35:37 -07:00
David Tolnay
0791261f07
Remove backticks from manual headers and search strings
2015-10-12 22:30:16 -07:00
David Tolnay
73b8413d10
Adjust spacing of section headers to account for nav bar ( fix #986 )
2015-10-12 22:12:37 -07:00
David Tolnay
664b8e26f0
Merge typeaheadjs.css into base.scss
2015-10-12 21:03:42 -07:00
David Tolnay
64ade137bc
PGP signatures for release binaries ( fix #889 )
2015-10-12 20:57:53 -07:00
David Tolnay
da15e10bd0
Accept only bitwise identical NaN values in jv_identical ( fix #978 )
2015-10-12 20:47:22 -07:00
David Tolnay
1f7c24fea7
Add signing key and dtolnay's key fingerprints to KEYS
2015-10-12 20:07:24 -07:00
Nicolas Williams
49b8382c5f
Remove expired key from KEYS
2015-10-12 19:11:52 -05:00
Nicolas Williams
583ab589dc
Add KEYS file
2015-10-12 19:01:02 -05:00
David Tolnay
c80c07ab68
Link to BootstrapCDN for Bootstrap and Bootswatch ( fix #985 )
2015-10-12 12:19:25 -07:00
David Tolnay
c5875504da
Explicitly use current directory in Rakefile
2015-10-12 10:46:17 -07:00
David Tolnay
05d1c09cc1
Split up Rakefile to minimize dependencies ( fix #435 )
2015-10-12 10:42:15 -07:00
David Tolnay
9d6e91ea7b
Add description for rake tasks
...
You can see the descriptions by running `rake --tasks`.
2015-10-12 10:21:18 -07:00
David Tolnay
4887cfd951
Remove duplicate yaml import in Rakefile
2015-10-12 10:10:56 -07:00
David Tolnay
9a51696bc0
Remove old Rakefile dist targets
...
Because binaries no longer go into the repo.
2015-10-12 10:03:18 -07:00
Simon Elsbrock
bf271b8062
docs: jq 1.5 is now available in Debian unstable
...
It may take some time until it bubbles up into Ubuntu repositories.
2015-10-12 10:02:07 +02:00
David Tolnay
2864fb467e
Bump fedora and chocolatey available version numbers
2015-10-02 19:19:36 -07:00
David Tolnay
4490d9d1f6
Support NaN in path expressions ( fix #962 )
2015-09-24 10:33:34 -07:00
Nicolas Williams
c4524da3e0
EOF after newline in string mishandled ( fix #951 )
2015-09-22 20:11:54 -07:00
David Tolnay
58f082d74f
Delete negative indices in array ( fix #954 )
2015-09-21 20:33:06 -07:00