6c635998f8
Always test sort_by/group_by post-#1082
2016-01-18 12:17:58 -06:00
7835a724d6
Make jv_sort stable regardless of qsort details.
2016-01-18 10:41:25 -06:00
239c357af0
Add AppVeyor badge to README.md
...
Thanks @JanSchulz, @nicowilliams!
2016-01-18 10:15:43 +00:00
d228490162
Add --enable-ubsan (undefined behavior sanitizer)
2016-01-17 13:06:27 -06:00
b92a12cf6c
Run failing tests on Windows; ignore failures
2016-01-17 12:46:57 -06:00
c514368f98
Make it possible to run tests with set -x
...
One can now run:
make TRACE_TESTS=1 check
to get detailed output
2016-01-17 12:45:01 -06:00
062f86a625
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.
2016-01-17 12:45:01 -06:00
c3d13260a7
Tweak appveyor.yml; disable failing tests
2016-01-17 01:49:50 -06:00
e6e07cd2c6
Upload build failure logs
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2016-01-16 17:02:43 -06:00
ec4dfd32cc
Build a html help
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2016-01-16 17:02:43 -06:00
c0e01452f2
Run tests on appveyor
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2016-01-16 17:02:43 -06:00
45260890f2
Add 32bit windows builds on appveyor
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
2016-01-16 17:02:43 -06:00
4337fc5fe0
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>
2016-01-16 17:02:43 -06:00
093d20c3b9
Fix cross-compilation build
2016-01-16 16:51:06 -06:00
ec07936888
Fix Windows build ( fix #911 )
2016-01-16 16:51:01 -06:00
8e4724e16c
fixup non-maintainer build
2016-01-15 16:06:18 -06:00
3afdbb7b7d
Always build src/builtin.inc ( fix #1069 )
2016-01-15 11:59:14 -06:00
f217fa26ae
MultiByteToWideChar() usage bug ( fix #1072 )
2016-01-15 11:58:41 -06:00
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
856a4b2f3f
Add note about IEEE754 to help msg
2015-12-15 00:00:03 -06:00
6d76cd0a99
Change usage formatting
2015-12-14 23:58:28 -06:00
6151f20477
Avoiding conditional directives that break statements
2015-12-09 15:29:35 -06:00
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
ec583deefa
Fix JV_OBJECT() and go up to 18
2015-12-01 23:27:19 -06:00
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
0d177d240d
yum has been replaced with dnf as of f22
...
https://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
2015-11-26 10:48:06 -05:00
18b4b18b41
Support --without-oniguruma
2015-11-21 10:05:37 -08:00
befd192958
Oniguruma hash in dockerfile
2015-11-18 00:30:18 -08:00
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