Nicolas Williams
89809a2d0f
Fix make dist
2017-03-01 23:01:08 -06:00
Nicolas Williams
9801de6979
Windows: Also use -lshlwapi for jq(1)
2017-02-25 14:49:20 -06:00
Erik Brinkman
02bad4b298
Add local oniguruma submodule
...
Configure should still allow use of prebuilt onigurumas (whether
system-installed or in a special prefix). If these are not found, and
configure was not called with `--without-oniguruma`, then use the vendored
oniguruma module. If configure was called with `--without-oniguruma`, then we
do not build regex functionality into jq.
2017-02-18 21:34:26 -05:00
Shaun Guth
e0b784ac6d
Add @base64d for decoding base64 #47
2017-02-12 16:03:59 -05:00
William Langford
e84d17196c
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.
2017-01-27 21:04:26 -05:00
Nicolas Williams
d228490162
Add --enable-ubsan (undefined behavior sanitizer)
2016-01-17 13:06:27 -06:00
Nicolas Williams
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
Nicolas Williams
ec07936888
Fix Windows build ( fix #911 )
2016-01-16 16:51:01 -06:00
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
8f115e9eed
Add address sanitizer (ASAN) support ( fix #1002 )
2015-10-27 20:06:21 -05:00
Nicolas Williams
aa279ae7ac
Fix builtin.o dependency ( #992 )
2015-10-22 22:33:47 -05:00
David Tolnay
143e8dc5e4
Move jq-coded builtins to non-C file ( fix #424 )
2015-10-22 19:26:00 -07:00
Nicolas Williams
f57743eb37
Remove jq.1.default and related content
2015-08-23 23:08:11 -05:00
David Tolnay
0c93eb3379
Move source files to src/
2015-08-23 20:36:11 -07:00
David Tolnay
371e74a25f
Remove obsolete comment in Makefile.am
2015-08-22 16:27:06 -07:00
David Tolnay
9ec27fe362
Sort source file lists in Makefile.am
2015-08-22 16:20:21 -07:00
David Tolnay
75662a4b05
Standardize indentation in Makefile.am
...
This was being done 5 different way in 5 places:
- indent 3 spaces, then tabs to column 73
- indent 2 spaces, then tabs to column 73
- indent 2 spaces, then a single tab
- indent with spaces up to equal sign, then tabs to column 73
- indent 1 tab, then tabs to column 73
I standardized on 8 spaces, then spaces to column 73. The 8
spaces lines up with common browsers' indentation of the
rest of the makefile, which is indented by single tabs. The
spaces to column 73 make sure the trailing backslashes line
up regardless of the tabstop setting.
2015-08-22 15:31:50 -07:00
David Tolnay
0f419563ea
Remove all trailing whitespace
2015-08-13 22:39:23 -07:00
Nicolas Williams
6b55baa00f
Add missing files ( fix #875 )
2015-07-28 00:09:46 -05:00
Nicolas Williams
7f251344b7
Fix make dist ( fix #870 )
2015-07-26 23:26:30 -05:00
David Tolnay
e6371712ff
flag to enable gcov and coveralls
2015-06-27 11:25:01 -07:00
David Tolnay
d7e35101c5
add configure option to run tests without valgrind
2015-06-27 11:24:53 -07:00
David Tolnay
1146b8b84a
separate jq, oniguruma, sh, and man tests
2015-06-18 23:55:43 -05:00
Aaron Peschel
c95b4a8ab4
Add Missing Makefile Dependency
...
main.c requires version.h, but there is no logic marking this dependency
in the Makefile. This commit adds the dependency to the Makefile
template.
2015-06-09 19:01:20 -05:00
Nicolas Williams
8af52aaf52
Add ./configure --enable-all-static instead
2015-05-25 21:19:56 -05:00
Nicolas Williams
d66e434fb4
Always add -all-static when --enable-static
2015-05-25 14:14:53 -05:00
Nicolas Williams
cf1306f469
Add -all-static when --enable-static
2015-05-18 12:07:29 -05:00
Nicolas Williams
821d6404b6
Add error injection library
2015-05-11 21:36:46 -05:00
Nicolas Williams
0df387f6b5
Automake: jq depends on version.h ( fix #721 )
2015-03-08 16:52:08 -05:00
Nicolas Williams
8cef5a37ab
Add --disable-maintainer-mode; make bison optional
...
Also flex is now optional.
The outputs of flex and bison are now committed. By default they get
built, but users who want to build from git can now
./configure --disable-maintainer-mode
to turn off the dependency on bison and flex.
Maintainers must, of course, commit the bison and/or flex outputs when
they make changes to parser.y and/or lexer.l, respectively.
2015-02-15 18:34:44 -06:00
Nicolas Williams
22f55aa585
Include missing EXTRA_DIST items; fix #661
2015-01-01 15:14:49 -06:00
William Langford
38b939688a
Added library system with -l, -L, and JQ_LIBRARY_PATH
...
Created util.[ch] to hold common utilities.
2014-07-22 22:51:11 -05:00
Nicolas Williams
bb83813f51
Automatically update jq.1.prebuilt
2014-06-13 17:22:17 -05:00
Nicolas Williams
61cc0d4fb1
Make a better jq.1 when Ruby deps missing
2014-06-12 17:30:09 -05:00
Nicolas Williams
e73951f3d1
Add lib.h to dist file list
2014-06-09 18:58:46 -05:00
Filippo Giunchedi
dc8528af0f
fix rpm Makefile target and prerequisites
...
depend on dist and the specfile, plus use automake's variables
2013-12-27 12:49:15 -06:00
Stephen Dolan
dae2422fd1
Merge branch 'libjq'
...
Conflicts:
Makefile.am
configure.ac
2013-09-14 19:30:39 +01:00
Joe Littlejohn
111aea3f0a
Fix Makefile after refactoring of stacks in 05d90517b0
2013-08-19 13:40:08 +01:00
Stephen Dolan
8630fb02bb
Use libtool's built-in symbol exporting rather than a mapfile.
2013-06-23 12:10:58 +01:00
Stephen Dolan
a44f739356
Move libtool m4 junk to config/ and delete some autogenerated files.
2013-06-23 12:01:58 +01:00
Stephen Dolan
f44ecf3872
Remove Autoconf-generated config.h.
2013-06-23 12:01:58 +01:00
Stephen Dolan
1c9e03f800
Merge branch 'header-cleanup' into libjq
...
Conflicts:
Makefile.am
2013-06-22 23:27:16 +01:00
Stephen Dolan
5d9ec83805
Build libjq only once, and link it statically to ./jq
...
This means ./jq is a real binary rather than a libtool turd.
2013-06-22 20:53:28 +01:00
Stephen Dolan
3a295c659b
Fix distcheck.
...
Update list of files to be distributed.
2013-06-22 20:53:03 +01:00
Nicolas Williams
7c4171d414
Add floor operator
2013-06-21 15:27:34 -05:00
Nicolas Williams
298b2a6033
Add libjq autoconf goo
2013-06-21 11:57:12 -05:00
Stephen Dolan
b49d65a276
Fold opcode.{c,h} into bytecode.{c,h}
2013-06-18 01:36:18 +01:00
Nicolas Williams
fe03bea191
Remove last remnant of main.h
2013-06-16 08:06:52 -05:00
Nicolas Williams
bbf4e05fde
Move slurp_file() into library as jv_load_file()
...
Needed as part of creating a libjq.
2013-06-15 00:08:59 -05:00