1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

1087 Commits

Author SHA1 Message Date
79f9ecd150 Fix manual signature for split (non-regex) 2015-11-15 21:43:38 +01:00
8f115e9eed Add address sanitizer (ASAN) support (fix #1002) 2015-10-27 20:06:21 -05:00
e17ccf2297 Support numbers and boolean in join (fix #930) 2015-10-25 12:40:15 -07:00
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
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
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
aa279ae7ac Fix builtin.o dependency (#992) 2015-10-22 22:33:47 -05:00
4060535f9f Fix linux32 jq-1.5 executable (fix #935) 2015-10-22 22:07:34 -05:00
1847333342 Rename sig/v1.5/jq-linux32.asc (prep for #935) 2015-10-22 22:06:27 -05:00
87c278c8a5 Remove setup.sh (fix #993) 2015-10-22 21:53:53 -05:00
143e8dc5e4 Move jq-coded builtins to non-C file (fix #424) 2015-10-22 19:26:00 -07:00
b80d58e167 Move docs for map earlier (fix #288) 2015-10-17 23:54:07 -07:00
6c31850e86 If-then-else documentation for forking conditional (fix #942) 2015-10-17 21:15:24 -07:00
c8dc164566 Support lowercase name in from_entries (fix #990) 2015-10-17 20:50:40 -07:00
32e5e6af4b Revert "Adjust spacing of section headers to account for nav bar (fix #986)"
This reverts commit 73b8413d10751c7be3e54d83ea338b3e895bdda3.

The fix for #986 caused #988.
2015-10-13 23:29:57 -07:00
4a886f831c Autocomplete manual search to first result on submit 2015-10-13 10:48:06 -07:00
e3c36777ab Add background color to typeahead menu 2015-10-12 22:50:03 -07:00
c2395f0278 Sort manual search results shortest to longest 2015-10-12 22:35:37 -07:00
0791261f07 Remove backticks from manual headers and search strings 2015-10-12 22:30:16 -07:00
73b8413d10 Adjust spacing of section headers to account for nav bar (fix #986) 2015-10-12 22:12:37 -07:00
664b8e26f0 Merge typeaheadjs.css into base.scss 2015-10-12 21:03:42 -07:00
64ade137bc PGP signatures for release binaries (fix #889) 2015-10-12 20:57:53 -07:00
da15e10bd0 Accept only bitwise identical NaN values in jv_identical (fix #978) 2015-10-12 20:47:22 -07:00
1f7c24fea7 Add signing key and dtolnay's key fingerprints to KEYS 2015-10-12 20:07:24 -07:00
49b8382c5f Remove expired key from KEYS 2015-10-12 19:11:52 -05:00
583ab589dc Add KEYS file 2015-10-12 19:01:02 -05:00
c80c07ab68 Link to BootstrapCDN for Bootstrap and Bootswatch (fix #985) 2015-10-12 12:19:25 -07:00
c5875504da Explicitly use current directory in Rakefile 2015-10-12 10:46:17 -07:00
05d1c09cc1 Split up Rakefile to minimize dependencies (fix #435) 2015-10-12 10:42:15 -07:00
9d6e91ea7b Add description for rake tasks
You can see the descriptions by running `rake --tasks`.
2015-10-12 10:21:18 -07:00
4887cfd951 Remove duplicate yaml import in Rakefile 2015-10-12 10:10:56 -07:00
9a51696bc0 Remove old Rakefile dist targets
Because binaries no longer go into the repo.
2015-10-12 10:03:18 -07:00
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
2864fb467e Bump fedora and chocolatey available version numbers 2015-10-02 19:19:36 -07:00
4490d9d1f6 Support NaN in path expressions (fix #962) 2015-09-24 10:33:34 -07:00
c4524da3e0 EOF after newline in string mishandled (fix #951) 2015-09-22 20:11:54 -07:00
58f082d74f Delete negative indices in array (fix #954) 2015-09-21 20:33:06 -07:00
154d0ee4a8 Fix assert fail if object literal key is not a string (fix #953) 2015-09-21 12:47:06 -07:00
83ab4e273b Add openSUSE repository 2015-09-20 08:15:15 -07:00
dccda74062 Address comments on PR #950 2015-09-16 10:48:50 -07:00
b52bebfbe8 Improve invalid object key error message 2015-09-16 09:53:42 -07:00
1758c1ba74 Remove "Requires 1.5" from manuals
No longer necessary now that manuals are versioned.
2015-09-13 18:57:11 -07:00
83e8ec587f utf8bytelength: count UTF8 string bytelength
[Builtin name changed, and it only works on string inputs. -Nico]
2015-09-13 01:01:24 -05:00
63dd033da7 Fix segmentation fault on Windows with long paths (fix #939) 2015-09-10 21:29:34 -07:00
91f0dcff5c Avoid passing '/bin/bash' as default argument to docker run
Previously:

```
$ docker run dbdc663dabc8
jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
/bin/bash
jq: 1 compile error
$ docker run --entrypoint /bin/echo dbdc663dabc8
/bin/bash
```

Now:

```
$ docker run e36393e8c15e
jq - commandline JSON processor [version 1.5rc2-77-g9a3fe9e]
Usage: /usr/local/bin/jq [options] <jq filter> [file...]

	jq is a tool for processing JSON inputs, applying the
...
```
2015-09-05 13:03:01 -07:00
688bb1993f Get oniguruma from github instead of geocities 2015-09-05 12:40:42 -07:00
94bda489ce Fix indentation in Dockerfile 2015-09-05 11:54:56 -07:00
c9003e521c Add travis and coveralls badges to readme 2015-08-25 08:48:40 -07:00
8105255be2 No-op commit to trigger first run of Travis. 2015-08-25 15:36:54 +01:00
f57743eb37 Remove jq.1.default and related content 2015-08-23 23:08:11 -05:00