Skip to content
Myr

ChangeLog

This file

Path

ChangeLog

1,349 lines · 32.5 KiB

Last changed by

Not known.

History of this file

Take it

12015-07-10  Nicolas Williams  nico@cryptonector.com23	Use `include` for import into namespace45	Simplify import docs67	Fix typo in docs892015-07-06  James Andariese  james.andariese@locationlabs.com1011	Dockerfile reorganized12132015-07-04  David Tolnay  dtolnay@gmail.com1415	Make jq.h usable from C++16172015-07-03  Nicolas Williams  nico@cryptonector.com1819	Document math support20212015-06-30  David Tolnay  dtolnay@gmail.com2223	strftime wrong day-of-week (fix #838)24252015-06-28  Nicolas Williams  nico@cryptonector.com2627	Document --run-tests2829	Make --run-tests' jv_test() quiet30312015-06-27  Nicolas Williams  nico@cryptonector.com3233	Make --run-tests less verbose by default3435	Add more basic number tests3637	Add `pow`, better libm detection (fix #443)38392015-06-27  David Tolnay  dtolnay@gmail.com4041	gcov exclusions4243	flag to enable gcov and coveralls4445	add configure option to run tests without valgrind46472015-06-20  David Tolnay  dtolnay@gmail.com4849	get Travis CI working50512015-06-26  Nicolas Williams  nico@cryptonector.com5253	Add `{$var}` `. as {$var}` syntax (fix #831)5455	Add streaming utilities (fix #827)56572015-06-04  Santiago Lapresta  santiago@typeform.com5859	Add combinations/0 and combinations/160612015-06-22  Nicolas Williams  nico@cryptonector.com6263	WriteFile() on WIN32 when stdout isatty (fix #824)64652015-06-19  David Tolnay  dtolnay@gmail.com6667	fix errors flagged by clang static analyzer68692015-06-19  Nicolas Williams  nico@cryptonector.com7071	Fix #811: use CommandLineToArgvW() and _wfopen()72732015-06-18  David Tolnay  dtolnay@gmail.com7475	fix use after free in f_strptime7677	separate jq, oniguruma, sh, and man tests78792015-06-18  Nicolas Williams  nico@cryptonector.com8081	argv[] may not be UTF-8 (fix #811)82832015-06-18  Doug Luce  doug@github.con.com8485	Add alloca() discovery to configure.ac86872015-06-18  Nicolas Williams  nico@cryptonector.com8889	Fix `finites`90912015-06-17  David Tolnay  dtolnay@gmail.com9293	fix broken tests in manual.yml94952015-06-17  Nicolas Williams  nico@cryptonector.com9697	Add isnormal and related, rename *inf98992015-06-17  Nicolas Williams  nico@cryptonector.com100101	Fix #814: raise on div-0, add inf isinf nan isnan1021032015-06-17  Nicolas Williams  nico@cryptonector.com104105	Sequence parser: wait for RS on startup (fix #687)1061072015-06-07  David Tolnay  dtolnay@gmail.com108109	array and object destructuring (fix #533)1101112015-06-03  Nicolas Williams  nico@cryptonector.com112113	Add --tab and -indent n options1141152015-05-29  Nicolas Williams  nico@cryptonector.com116117	Fixup --slurpfile/argile docs118119	Add --slurpfile120121	Better handling of stdout errors1221232015-05-25  Nicolas Williams  nico@cryptonector.com124125	Add ./configure --enable-all-static1261272015-05-25  Nicolas Williams  nico@cryptonector.com128129	Keywords should be OK as object keys (fix #794)1301312015-03-04  Travis Gockel  travis@gockelhut.com132133	Add wrapping and clamping to jv_array_slice1341352015-04-17  Assaf Gordon  assafgordon@gmail.com136137	Print offending object in runtime error messages138139	Add filename/line functions to jq (fix #753)1401412015-04-17  Assaf Gordon  assafgordon@gmail.com142143	Report filename:line on runtime errors (fix #752)1441452015-05-19  Nicolas Williams  nico@cryptonector.com146147	Document gsub/31481492015-05-03  Nicolas Williams  nico@cryptonector.com150151	Add error injection library1521532015-04-28  Nicolas Williams  nico@cryptonector.com154155	Report read errors too (and fix #772)1561572015-05-02  Nicolas Williams  nico@cryptonector.com158159	README: send questions to SO and Freenode1601612015-04-28  Nicolas Williams  nico@cryptonector.com162163	usage() should check fprintf() result (fix #771)1641652015-04-28  Nicolas Williams  nico@cryptonector.com166167	Fix header guards (fix #770)1681692015-04-24  Nicolas Williams  nico@cryptonector.com170171	--raw-input wrongly adds NULs (fix #761)1721732015-04-23  Nicolas Williams  nico@cryptonector.com174175	With `inputs` builtin, -n and -R can now coexist176177	--raw-input ought to read NULs (partial fix #760)178179	--slurp --raw-input is broken (fix #761)180181	from_entries is broken (fix #767)1821832015-04-22  Assaf Gordon  assafgordon@gmail.com184185	regex functions: report informative error if not available.1861872015-04-21  Andrew O'Brien  obrien.andrew@gmail.com188189	Fixes manual generation with psych1901912015-04-20  Assaf Gordon  assafgordon@gmail.com192193	Handle NUL in escaped-string output1941952015-04-03  tal@whatexit.org  tal@whatexit.org196197	manual.yml: Clarify how to specify keys with ":" and special chars.1981992015-04-15  Assaf Gordon  assafgordon@gmail.com200201	docs: expand @tsv section - add escape sequences.202203	@tsv: escape \r, \n, \\2042052015-03-30  Nicolas Williams  nico@cryptonector.com206207	Add `$__loc__` (fix #740)2082092015-03-29  Nicolas Williams  nico@cryptonector.com210211	Include filename and lineno in error messages2122132015-03-06  Assaf Gordon  assafgordon@gmail.com214215	detect and report output writing errors2162172015-03-18  Santiago Lapresta  santiago.lapresta@gmail.com218219	Adds Dockerfile2202212015-03-10  Assaf Gordon  assafgordon@gmail.com222223	partial handling of input errors2242252015-03-09  Assaf Gordon  assafgordon@gmail.com226227	always propagate input errors to exit code2282292015-03-23  William Langford  wlangfor@gmail.com230231	Fix #735 (SIGFPE on modulo by 0)2322332015-03-08  Nicolas Williams  nico@cryptonector.com234235	Add more date builtins236237	Automake: jq depends on version.h (fix #721)2382392015-03-06  Assaf Gordon  assafgordon@gmail.com240241	exit with non-zero code on runtime exceptions2422432015-03-06  Nicolas Williams  nico@cryptonector.com244245	Add date builtins (fix #364)2462472015-02-18  Stefan Seemayer  stefan@seemayer.de248249	Correct automake and autoconf version requirements2502512015-02-17  Nicolas Williams  nico@cryptonector.com252253	Mention --disable-maintainer-mode in bison error2542552015-02-16  Sebastian Freundt  freundt@ga-group.nl256257	Fix oniguruma detection logic2582592015-02-15  Nicolas Williams  nico@cryptonector.com260261	Add --disable-maintainer-mode; make bison optional2622632015-02-14  Nicolas Williams  nico@cryptonector.com264265	Make Oniguruma/regexp optional2662672015-02-01  Nicolas Williams  nico@cryptonector.com268269	Refactor moar: move parts of main.c into libjq2702712014-12-27  Nicolas Williams  nico@cryptonector.com272273	Refactor handling of inputs in main() (fix #667)2742752015-02-10  Kim Toms  kim.toms@bplglobal.net276277	Enhance from_entries to better deal with Amazon AWS Tags2782792015-01-26  Nicolas Williams  nico@cryptonector.com280281	Usage message for -h should go to stdout2822832015-01-27  i  isomorphisms@sdf.org284285	readability2862872015-01-14  Joel Purra  code+github@joelpurra.com288289	Empty arrays join/1 to an empty string, fixes #668 bug introduced by 97602452902912014-12-27  Nicolas Williams  nico@cryptonector.com292293	Add `debug` and `stderr` builtins2942952015-01-13  Nicolas Williams  nico@cryptonector.com296297	join/1: respect empty strings (fix #668)2982992015-01-13  Nicolas Williams  nico@cryptonector.com300301	Split on empty sep: fix #552 moar3023032015-01-12  Nicolas Williams  nico@cryptonector.com304305	Fix docs for `split/0`3063072015-01-12  Nicolas Williams  nico@cryptonector.com308309	Fix #5523103112015-01-02  Nicolas Williams  nico@cryptonector.com312313	Look for jq/main.jq for imports3143152015-01-01  Nicolas Williams  nico@cryptonector.com316317	Add static build instructions (fix #294)3183192014-12-30  Nicolas Williams  nico@cryptonector.com320321	Further module system revamp (fix #659)3223232014-12-28  Nicolas Williams  nico@cryptonector.com324325	Add `label $name | EXP`; fix `break`3263272014-12-30  Nicolas Williams  nico@cryptonector.com328329	Remove string indexing by string (fix #454)3303312014-12-30  Nicolas Williams  nico@cryptonector.com332333	Add support for testing erroneous programs3343352014-12-30  Nicolas Williams  nico@cryptonector.com336337	Make --run-tests more informative3383392014-10-06  pkoppstein  pkoppstein@gmail.com340341	transpose/0 for possibly jagged matrices3423432014-10-07  pkoppstein  pkoppstein@gmail.com344345	bsearch(x) (binary search): builtin.c (tested), with documentation and test case. Always yields an integer (even if input is unsorted); returns (-1 - ix) if x is not in input array.3463472014-10-06  pkoppstein  pkoppstein@gmail.com348349	ascii_upcase/0 and ascii_downcase/03503512014-12-27  Nicolas Williams  nico@cryptonector.com352353	Add `debug` builtin354355	Don't force C API users to set input cb3563572014-12-26  Nicolas Williams  nico@cryptonector.com358359	Make jq --run-tests show test line numbers360361	Streaming parser torture tests362363	Fuzz JSON parser3643652014-12-22  Nicolas Williams  nico@cryptonector.com366367	Add Streaming parser (--stream)3683692014-12-26  Nicolas Williams  nico@cryptonector.com370371	Allow C-coded functions to `empty`372373	Add BLOCK_8() macro374375	Fix `foreach` non-propagation of errors376377	Allow zero-length buffers in jv_parser_set_buf()3783792014-12-24  Nicolas Williams  nico@cryptonector.com380381	Add @tsv; fix #645382383	Module search revamp for pkg managers384385	Fix #348: reject unescaped control chars3863872014-12-23  Nicolas Williams  nico@cryptonector.com388389	Use __attribute__ __printf__ with GCC390391	Make `values` faster (fix #652)3923932014-12-22  Marc Abramowitz  marc@marc-abramowitz.com394395	.travis.yml: Set sudo false; use containers3963972014-12-22  Santiago Lapresta  santiago.lapresta@gmail.com398399	Define `map_values`4004012014-05-21  Santiago Lapresta  santiago.lapresta@gmail.com402403	`in` is now `inside`, added `in` as inverse of `has`4044052014-05-20  Santiago Lapresta  santiago.lapresta@gmail.com406407	Added `in` command4084092014-12-21  Eiichi Sato  sato.eiichi@gmail.com410411	Fix examples in manual412413	Fix indents in manual.yml414415	HTML-escape jq programs in manual416417	Fix examples in manual4184192014-12-12  Nicolas Williams  nico@cryptonector.com420421	Add until(cond; next); fix #639422423	Add --argjson, fix #6484244252014-11-29  Nicolas Williams  nico@cryptonector.com426427	Fix refcount leak, fix #6184284292014-11-28  Nicolas Williams  nico@cryptonector.com430431	STOREV/LOADV* should also print refcnts432433	Enable printing of stack val refcnts434435	Print stack value refcounts when tracing (#636)4364372014-11-23  Colin von Heuring  colin@janrain.com438439	Doc correction4404412014-11-11  Ian Miell  ian.miell@gmail.com442443	Requirements made slightly more complete: cf https://github.com/ianmiell/shutit/blob/master/library/jq/jq.py4444452014-11-05  Steven Maude  StevenMaude@users.noreply.github.com446447	Fix typos in tutorial4484492014-10-21  Santiago Lapresta  santiago.lapresta@gmail.com450451	Define {any,all}/2 independently from {any,all}/04524532014-10-20  Santiago Lapresta  santiago.lapresta@gmail.com454455	Define {any,all}/{0,1} in terms of {any,all}/24564572014-10-10  Nicolas Williams  nico@cryptonector.com458459	Add support for JSON sequence MIME type4604612014-10-06  William Langford  wlangfor@gmail.com462463	Properly call onig_error_code_to_str4644652014-10-06  pkoppstein  pkoppstein@gmail.com466467	fix sub (#586); add gsub/3; add transpose/0.4684692014-10-03  Nicolas Williams  nico@cryptonector.com470471	Update docs about sort/group/min/max/unique472473	from-entries should work with EC2 (fix #592)474475	Remove sort/1 and group/14764772014-09-30  Nicolas Williams  nico@cryptonector.com478479	to_entries should not sort keys (fix #561)4804812014-09-22  William Langford  wlangfor@gmail.com482483	Properly handle when objects cannot be folded4844852014-08-30  Nicolas Williams  nico@cryptonector.com486487	Drop the jq version directory from search path488489	Never close stdin; allow multiple `-` arguments490491	Handle invalid inputs in argument files (fix #562)4924932014-08-28  William Langford  wlangfor@gmail.com494495	Properly handle incomplete json when input is file4964972014-08-10  Nicolas Williams  nico@cryptonector.com498499	Add `module` directive, `modulemeta` builtin5005012014-08-09  Nicolas Williams  nico@cryptonector.com502503	Constant fold objects504505	Fold constant arrays506507	More constant folding: null, true, and false508509	`.foo[-1] = ...` trips assertion (fix #490)510511	Allow any number of jq-coded function arguments5125132014-08-08  Nicolas Williams  nico@cryptonector.com514515	Make regexp builtins and range/3 use #524 too516517	Use `def f($a): ...;` syntax for builtins518519	Add `def f($arg):` syntax (fix #524)5205212014-07-31  pkoppstein  pkoppstein@gmail.com522523	regex filters (#432): scan, splits, split, sub, gsub5245252014-08-06  Nicolas Williams  nico@cryptonector.com526527	Better error msg for bad shell quoting (fix #538)5285292014-08-04  William Langford  wlangfor@gmail.com530531	Actually check version for bison.5325332014-08-03  pkoppstein  pkoppstein@gmail.com534535	Apply TCO to recurse/1, add recurse/2; tweak docs5365372014-08-01  Adam Lindberg  hello@alind.io538539	Add example of selecting object with keys5405412014-07-19  pkoppstein  pkoppstein@gmail.com542543	Add capture; document regular expression filters5445452014-07-28  Nicolas Williams  nico@cryptonector.com546547	Add `first`, `nth`, `last` (fix #510)5485492014-07-27  Nicolas Williams  nico@cryptonector.com550551	Fold constants (fix #504)5525532014-07-21  William Langford  wlangfor@gmail.com554555	Changing color codes to fix #4955565572014-07-09  William Langford  wlangfor@gmail.com558559	Added library system with -l, -L, and JQ_LIBRARY_PATH5605612014-07-14  Simon Elsbrock  simon@iodev.org562563	jq 1.4 is in Debian5645652014-07-13  Marc Bruggmann  marcbr@spotify.com566567	Fix manual example for `endswith`.5685692014-07-09  Hanfei Shen  qqshfox@gmail.com570571	Fix examples for `del` in manual5725732014-07-08  Zhiming Wang  zmwangx@gmail.com574575	Fix invalid YAML in manual.yml576577	Add tests/all.trs to .gitignore5785792014-07-09  Nicolas Williams  nico@cryptonector.com580581	Better document `path()`'s power; also `|=`582583	Add `foreach EXP as $var (INIT; UPDATE)` form584585	Make `while()` handle `break`5865872014-07-07  Nicolas Williams  nico@cryptonector.com588589	Make C-coded built-ins take `jq_state *` argument590591	`error(x)` should not `tostring` its arg; fix #466592593	`limit` should use `break`594595	Make `any/2` and `all/2` efficient using `foreach`5965972013-12-24  Nicolas Williams  nico@cryptonector.com598599	jv_invalid() shouldn't allocate6006012013-12-31  Nicolas Williams  nico@cryptonector.com602603	jv_show() should be able to display invalid values6046052014-07-07  Nicolas Williams  nico@cryptonector.com606607	Add `break` builtin for `foreach`608609	Explain `foreach`'s powers a bit more610611	Document `path(path_expression)` builtin612613	$var["foo"]=1 can't work as expected; doc fix #236614615	Better check for lib has only functions (fix #138)6166172014-07-06  Nicolas Williams  nico@cryptonector.com618619	Add `any/N` and `all/N` x N in (1, 2) (fix #455)620621	Add `foreach` and `limit`6226232014-07-04  William Langford  wlangfor@gmail.com624625	Add support for negative indices for .[]; fix #4626266272014-07-06  Nicolas Williams  nico@cryptonector.com628629	Add general `?` operator6306312014-07-05  Nicolas Williams  nico@cryptonector.com632633	Add `try EXP catch EXP`6346352014-07-06  Nicolas Williams  nico@cryptonector.com636637	Document `error/1`6386392014-07-02  Nicolas Williams  nico@cryptonector.com640641	Add `while(cond; update)` (fix #314)642643	Add `range(init;upto;by)` (fix #317)6446452014-07-01  Nicolas Williams  nico@cryptonector.com646647	Describe generators, range() with by to manual6486492014-07-01  William Langford  wlangfor@gmail.com650651	Fixed base64 issue with UTF-8 strings6526532014-06-30  Nicolas Williams  nico@cryptonector.com654655	TCO to the max!6566572014-06-25  William Langford  wlangfor@gmail.com658659	Added cross-compilation script to build libjq for iOS.6606612014-06-29  Zhiming Wang  zmwangx@gmail.com662663	Let @uri produce uppercase hexadecimal digits...6646652014-06-24  Nicolas Williams  nico@cryptonector.com666667	Get "Try Online" button working (fix #440)6686692014-06-22  Nicolas Williams  nico@cryptonector.com670671	Tail call optimization (close #437)6726732014-06-20  Nicolas Williams  nico@cryptonector.com674675	Allow stacking of short options (fix #346)6766772014-06-18  William Langford  wlangfor@gmail.com678679	Added regex support as per issue #164.6806812014-06-17  Nicolas Williams  nico@cryptonector.com682683	Add `-j` / `--join-output` option, similar to `-r`6846852014-06-18  Santiago Lapresta  santiago.lapresta@gmail.com686687	Simplified standard library6886892014-06-16  Nicolas Williams  nico@cryptonector.com690691	Fix #280: from_entries of [] is null, should be {}6926932014-06-16  Nicolas Williams  nico@cryptonector.com694695	No args default w/ tty stdout, not tty stdin #2206966972014-06-16  Santiago Lapresta  santiago.lapresta@gmail.com698699	Added `flatten` and `flatten(x)` functions7007012014-06-16  Nicolas Williams  nico@cryptonector.com702703	Add ChangeLog and NEWS files7047052014-06-14  Nicolas Williams  nico@cryptonector.com706707	Allow multiple functions with different arities7087092014-06-13  Nicolas Williams  nico@cryptonector.com710711	Add `env` builtin7127132014-06-13  Nicolas Williams  nico@cryptonector.com714715	Document the lambda nature of function args #3917167172014-06-13  Nicolas Williams  nico@cryptonector.com718719	Add jqplay link to the site7207212014-06-12  Jingwen Owen Ou  jingweno@gmail.com722723	jqplay has a domain now7247252014-06-12  Nicolas Williams  nico@cryptonector.com726727	Make a better jq.1 when Ruby deps missing7287292014-06-11  Kim De Mey  kim.demey@gmail.com730731	Detect endianness at configuration with Autoconf AC_C_BIGENDIAN feature7327332014-06-09  Nicolas Williams  <nico@cryptonector.com>734735	Add libm.h to dist file list736737	Add note about cmd.exe quoting738739	Building docs fails on powerpc (#349)7407412014-06-08  Nicolas Williams  <nico@cryptonector.com>742743	Update site news744745	Also fix configure.ac to use git describe --tags746747	Fix scripts/version: use git describe --tags ...748	After tagging as 1.4 scripts/version was still producing jq-1.3-....749750	Add `indices(s)`, improve `index(s)`, `rindex(s)`751	Now these deal with arrays as input and `s` being an array or a scalar.752753	Improve `index` and `rindex` examples754755	Remove reference to `getpath` from docs756757	Document `index` and `rindex` (#389)7587592014-06-07  Santiago Lapresta  <santiago.lapresta@gmail.com>760761	Added `join` function7627632014-06-07  Nicolas Williams  <nico@cryptonector.com>764765	String * number should be commutative7667672014-06-04  Nicolas Williams  <nico@cryptonector.com>768769	Add cross-compilation notes to README770	A detailed set of instruction as to how to setup a cross-compilation771	environment for OS X and Win32/64 would be nice.772773	Add -j option to scripts/crosscompile774775	Add flags argument to jv_parser_new()776	For extensibility.  We might add streaming parser options, even binary777	JSON encoding options.7787792014-06-02  Nicolas Williams  <nico@cryptonector.com>780781	Fix tests failures on Windows782	And Solaris 8 and 9 too, no doubt.  The problem was that non-standard783	vsnprintf()s that return -1 when the buffer is too small were not784	properly supported.7857862014-05-20  Santiago Lapresta  <santiago.lapresta@gmail.com>787788	Documented `del` command7897902014-05-11  Santiago Lapresta  <santiago.lapresta@gmail.com>791792	Added texts/examples to unique_by function793794	Added unique_by function7957962014-04-17  Nicolas Williams  <nico@cryptonector.com>797798	Make pthread tls configurable for Mingw build799	For the Mingw build we don't want to pull in the pthread DLL just800	because we can autodetect pthread support.  That would make the jq.exe801	binary not self-contained.8028032014-04-16  Nicolas Williams  <nico@cryptonector.com>804805	Add autoconf checks for pthreads; fix #3408068072014-03-20  Jingwen Owen Ou  <jingweno@gmail.com>808809	Add link to jqplay8108112014-03-13  Nicolas Williams  <nico@cryptonector.com>812813	Fix for #303 in the sources8148152014-03-13  Santiago Lapresta  <santiago.lapresta@gmail.com>816817	Added `arrays` and other filters818	Arrays, objects, numbers, strings, booleans, nulls, values (non-nulls)819	-- these builtins filter out those inputs that don't match the name of820	the builtin.821822	This fixes #322 and #324.8238242014-03-07  Filippo Valsorda  <filippo.valsorda@gmail.com>825826	Add a recursive object merge strategy and bind it to *827	This commit adds a jv_object_merge_recursive function, that performs828	recursive object merging, and binds it to multiply when applied to829	two objects.830831	Closes #3208328332014-03-06  Nicolas Williams  <nico@cryptonector.com>834835	Make libm tests more portable8368372014-02-26  Andrew Rodland  <andrew@cleverdomain.org>838839	Repair jv_show8408412014-02-26  Andrew Rodland  <andrew@cleverdomain.org>842843	Make jq --raw-output --unbuffered work844	--unbuffered was only affecting the normal output case, not the --raw-output case. Make the two of them play together.845846	This also makes sure that the output is flushed *after* printing the newline, so a consumer doesn't lag a line behind.8478482014-02-21  Nicolas Williams  <nico@cryptonector.com>849850	Add cbrt (cube root)851852	Add missing trig functions and barebones test853854	Remove non-standard exp10()8558562014-02-21  Mike McCabe  <mccabe@archive.org>857858	Initial add of math functions.8598602014-02-20  Nicolas Williams  <nico@cryptonector.com>861862	Add `?`, `.[]?`, and `..` operators863	Make XPath-like `//a/b` recursive structure traversal easier in jq,864	which then becomes:865866	    ..|.a?.b?867868	The `?` operator suppresses errors about . not being an array or object.869	The `..` operator is equivalent to calling the new `recurse_down`870	built-in, which in turn is equivalent to871872	    recurse(.[]?)873874	Note that `..a` is not supported; neither is `...a`.  That could be add875	added, but it doesn't seem worth the trouble of saving the need to type876	a '|'.8778782014-02-16  Santiago Lapresta  <santiago.lapresta@gmail.com>879880	Added `all` and `any` builtins8818822014-01-25  polyester  <paul@cleanclothes.org>883884	work with newer versions of automake885	when using a newer automake, the autoreconf step fails with warnings:886	"linking libtool libraries using a non-POSIX archiver requires 'AM_PROG_AR' in 'configure.ac' "887888	This happens for instance on ubuntu 13.10.889	Doing just that, adding 'AM_PROG_AR' to configure.ac fixes the problem.8908912014-01-01  Nicolas Williams  <nico@cryptonector.com>892893	Fix #201; check that bison accepts --warnings8948952013-12-27  Joe Littlejohn  <joe.littlejohn@nokia.com>896897	Fix rpm build (`make rpm`)898	* Re-add VERSION as it's required for `./setup superclean`899	  and `make rpm`.900	* Add *.rpm to git ignore, we never want them under version control.9019022013-12-27  Filippo Giunchedi  <fgiunchedi@gmail.com>903904	include additional files in jq.spec905	this will probably need changing upon SONAME bump906907	fix rpm Makefile target and prerequisites908	depend on dist and the specfile, plus use automake's variables9099102013-12-26  Nicolas Williams  <nico@cryptonector.com>911912	Document --version9139142013-12-26  Nicolas Williams  <nico@cryptonector.com>915916	Add jv_dumpf() and jv_show()917	jv_dumpf() takes a FILE *.918919	jv_show() is intended for use in debuggers, so it dumps the jv to stderr920	and it does not jv_free() the jv, so it's safe to921	"call jv_show(some_jv, -1)" in a debugger.  If flags == -1 then the jv922	will be shown pretty-printed and in color.9239242013-12-26  Nicolas Williams  <nico@cryptonector.com>925926	Document .foo.bar in manual927928	Document exit numbers929930	Normalize errors for -e9319322013-12-25  Nicolas Williams  <nico@cryptonector.com>933934	Fix doc typos (.[foo] wanted to be .["foo"])935936	Add note to jq.1 about shell quoting9379382013-12-20  Philipp Hagemeister  <phihag@phihag.de>939940	Ignore the config/test-driver file941	This file is automatically generated and does not need to be committed.942943	Fix @uri example944	Previously, the @uri example didn't match the actual behavior of the current jq, as exclamation marks do not need to be encoded in URIs.945	Replace the example with an input that needs encoding, and is encoded by jq.9469472013-12-17  Stephen Dolan  <mu@netsoc.tcd.ie>948949	Allow negated object values without parens. Fixes #2479509512013-12-17  Nicolas Williams  <nico@cryptonector.com>952953	Fix memmem() error9549552013-12-13  Rémy Léone  <remy.leone@gmail.com>956957	Adding a .travis.yml file to use the travis-ci.org958	From wikipedia:959960	Travis CI is a hosted, distributed continuous integration service used961	to build and test projects hosted at GitHub.962963	Travis CI is configured by adding a file named .travis.yml, which is a964	YAML format text file, to the root directory of the GitHub repository.965966	Travis CI automatically detects when a commit has been made and pushed967	to a GitHub repository that is using Travis CI, and each time this968	happens, it will try to build the project and run tests. This includes969	commits to all branches, not just to the master branch. When that970	process has completed, it will notify a developer in the way it has been971	configured to do so — for example, by sending an email containing the972	test results (showing success or failure), or by posting a message on an973	IRC channel. It can be configured to run the tests on a range of974	different machines, with different software installed (such as older975	versions of a programming language, to test for compatibility).9769772013-12-13  Stephen Dolan  <mu@netsoc.tcd.ie>978979	Make the testsuite run on machines without valgrind980981	Format more integers as integers, not scientific notation.982	jq is now willing to put up to 15 zeros after an integer before983	moving to scientific notation.9849852013-12-11  Nicolas Williams  <nico@cryptonector.com>986987	Complete more-arity feature not complete988	And test9899902013-12-10  David R. MacIver  <david@drmaciver.com>991992	convert range bounds to integers in a way that avoids undefined behaviour993994	add checking of numeric indices to an array to see if they can reasonably be considered integers. Avoid undefined behaviour if out of bounds9959962013-12-09  David R. MacIver  <david@drmaciver.com>997998	some functions were missing prototypes. Add them99910002013-12-08  David R. MacIver  <david@drmaciver.com>10011002	These vfprintfs are being used as if they were printfs. Fix that10031004	consistent use of goto out in main100510062013-12-08  Stephen Dolan  <mu@netsoc.tcd.ie>10071008	Refactor jv structure.1009	New structure layout is simpler and also faster.  In particular, it's1010	now small enough to be passed in registers on amd64.10111012	Make testsuite not leak when compiled with -DNDEBUG.101310142013-12-08  David R. MacIver  <david@drmaciver.com>10151016	test for losing memory on compile errors10171018	args to jq_compile_args were not getting freed when there were errors in the compile101910202013-12-06  Nicolas Williams  <nico@cryptonector.com>10211022	Fix double-free typo in print_error()10231024	Fix manual.yml102510262013-12-04  Nicolas Williams  <nico@cryptonector.com>10271028	Conditionally #define _GNU_SOURCE in compile.c10291030	Add tests for string index by string and builtins10311032	Add index and rindex builtins10331034	Add index strings by string; return string indexes1035	    % jq '.[","]'1036	    "a,bc,def,ghij,klmno"1037	    [1,4,8,13]1038	    %10391040	Make length return abs value of numeric inputs10411042	Add callback interface for errors1043	Printing to stderr is not the right answer for a library.10441045	Add jv_string_vfmt()10461047	Document ltrimstr and rtrimstr10481049	Test ltrimstr and rtrimstr functions10501051	Add ltrimstr and rtrimstr functions10521053	Document -e / --exit-status argument10541055	Add -e | --exit-status CLI option10561057	Document tojson and fromjson builtins10581059	Test tojson and fromjson10601061	Add tojson and fromjson builtins10621063	Document split function10641065	Document string multiplication and division10661067	Document string functions and slicing10681069	Test string slicing10701071	Add string slicing10721073	Add tests for string division/splitting10741075	Add string division by string (split on separator)10761077	Test starts/endswith and string multiplication10781079	Add string multiplication by number10801081	Add startswith/endswith10821083	Add explode/implode jq functions to match jv API10841085	Use uint32_t for codepoint in  jv_string_append_codepoint()10861087	Add jv string utility functions1088	    jv_string_empty()1089	        -> return an empty string with given allocated length (for fast1090	           appends)1091	    jv_string_append_codepoint1092	        -> append a single codepoint (int) to the given string1093	    jv_string_explode1094	        -> return an array of codepoints making up a string1095	    jv_string_implode1096	        -> return the UTF-8 encoding of an array of codepoint numbers10971098	Support more arguments for defs109911002013-12-04  Stephen Dolan  <mu@netsoc.tcd.ie>11011102	Preserve insertion order in objects. Closes #169.110311042013-11-30  Nicolas Pouillard  <nicolas.pouillard@gmail.com>11051106	Add a few more test cases (from the man page)110711082013-11-08  Stephen Dolan  <mu@netsoc.tcd.ie>11091110	Add a --unbuffered option. Closes #206111111122013-11-07  Peter van Dijk  <peter@7bits.nl>11131114	count should be length1115	Example refers to a count function, which does not exist. Replacing it with length works.111611172013-11-07  Stephen Dolan  <mu@netsoc.tcd.ie>11181119	Fix a crash on group_by of empty list. Fixes #208.112011212013-10-16  Ryoichi KATO  <ryo1kato@gmail.com>11221123	Docs: add description of --from-file option112411252013-10-06  Juan Guerrero  <juan.guerrero.lozano@gmail.com>11261127	Fix typo on error message112811292013-09-19  Kenny Shen  <kenny.shen@zalora.com>11301131	Add missing -i flag in build instructions113211332013-09-14  Michael Daines  <michael@mdaines.com>11341135	Add test showing calculation of standard deviation113611372013-09-13  Mike Daines  <michael@mdaines.com>11381139	Fix typo114011412013-09-11  Michael Daines  <michael@mdaines.com>11421143	Add sqrt operator114411452013-09-04  Jack Pearkes  <jackpearkes@gmail.com>11461147	docs: update the tutorial to use GitHub's API114811492013-09-01  Ankur  <ankz.kothari@gmail.com>11501151	Call AM_INIT_AUTOMAKE once only1152	Fixes build with automake-1.14115311542013-08-19  Joe Littlejohn  <joe.littlejohn@nokia.com>11551156	Fix Makefile after refactoring of stacks in 05d90517b02115711582013-06-23  Stephen Dolan  <mu@netsoc.tcd.ie>11591160	Remove #includes from jv.h11611162	Fix the jv_parser interface.11631164	Use libtool's built-in symbol exporting rather than a mapfile.11651166	Move gen_utf8_tables to scripts11671168	Move libtool m4 junk to config/ and delete some autogenerated files.11691170	Remove Autoconf-generated config.h.117111722013-06-22  Stephen Dolan  <mu@netsoc.tcd.ie>11731174	Build libjq only once, and link it statically to ./jq1175	This means ./jq is a real binary rather than a libtool turd.11761177	Fix distcheck.1178	Update list of files to be distributed.11791180	Utf8 fixes. Closes #16111811182	Reject all overlong UTF8 sequences.11831184	Fix various UTF8 parsing bugs.1185	In particular, parse bad UTF8 by replacing the broken bits with U+FFFD1186	and resynchronise correctly after broken sequences.11871188	Fix example in manual for `floor`. See #155.118911902013-06-21  Nicolas Williams  <nico@cryptonector.com>11911192	Document floor11931194	Add floor operator11951196	Document mod11971198	Add mod (and setmod) operators11991200	Update .gitignore12011202	Add libjq autoconf goo12031204	Quiet setup.sh re: tmp dir120512062013-06-21  Stephen Dolan  <mu@netsoc.tcd.ie>12071208	Move cfunction invocation code to the interpreter loop.120912102013-06-18  Nicolas Williams  <nico@cryptonector.com>12111212	Fix serious bug in handling of --argfile12131214	Fix leaks in jv_load_file()121512162013-06-17  Stephen Dolan  <mu@netsoc.tcd.ie>12171218	Fold opcode.{c,h} into bytecode.{c,h}12191220	Simplify block functions for variables12211222	Saner build instructions in README.md1223	Closes #14412241225	Remove some initialise-to-zero code.1226	This lets valgrind find more bugs - if a field isn't given a1227	well-defined value valgrind will now find it instead of seeing it1228	set to zero with memset.122912302013-06-17  Nicolas Williams  <nico@cryptonector.com>12311232	Remove accidentally introduced use of fopen "e"123312342013-06-16  Stephen Dolan  <mu@netsoc.tcd.ie>12351236	Merge pull request #114 from nicowilliams/nomem_handler1237	Add jv_nomem_handler()123812392013-06-16  Nicolas Williams  <nico@cryptonector.com>12401241	Remove last remnant of main.h124212432013-06-15  Nicolas Williams  <nico@cryptonector.com>12441245	Allow --run-tests to take a file argument12461247	Fixup API to get closer to a libjq124812492013-06-15  Nicolas Williams  <nico@cryptonector.com>12501251	Move slurp_file() into library as jv_load_file()1252	Needed as part of creating a libjq.125312542013-06-14  Stephen Dolan  <mu@netsoc.tcd.ie>12551256	Clean up lots of stack and frame logic.1257	Move frame defs to execute.c125812592013-06-13  Stephen Dolan  <mu@netsoc.tcd.ie>12601261	Simplify frame logic.12621263	Unify all stacks. Passes tests, but needs cleanup.126412652013-06-11  Stephen Dolan  <mu@netsoc.tcd.ie>12661267	Support ."foo" syntax for accessing fields. See #141.126812692013-06-09  Stephen Dolan  <mu@netsoc.tcd.ie>12701271	Unify frame and data stacks127212732013-06-05  Stephen Dolan  <mu@netsoc.tcd.ie>12741275	Speed up cached configure (./configure -C)12761277	Clean up flex lines in build12781279	Lex and parse .foo better.1280	'.as' is now valid, '. foo' is now invalid. See #141.128112822013-06-04  Markus Lanthaler  <mark_lanthaler@gmx.net>12831284	Update README.md1285	Update the link to the documentation. All GitHub pages are now using the github.io domain.128612872013-06-03  Stephen Dolan  <mu@netsoc.tcd.ie>12881289	Make jq --version print to stdout, not stderr12901291	Better error handling for .foo case in parser. See #141.12921293	Let the parser rather than the lexer handle invalid characters.12941295	Add command-line option to sort object keys.1296	Closes #79.12971298	Clean up Makefile.am (distcheck, rebuild version.h less often)129913002013-05-31  Brendan Macmillan  <melbourne.research@gmail.com>13011302	Stop warning on fgets, simple version13031304	Stop warning on fgets, complex version130513062013-05-31  Stephen Dolan  <mu@netsoc.tcd.ie>13071308	Squash a warning on some GCC versions130913102013-05-29  Stephen Dolan  <mu@netsoc.tcd.ie>13111312	Support for printing object keys in sorted order.1313	No command-line option to enable this yet. See #79.131413152013-05-29  Brendan Macmillan  <melbourne.research@gmail.com>13161317	Bugfix multiline off-by-one (locfile.c)13181319	locfile.h -> locfile.h + locfile.c1320	clean up includes of a few files13211322	Hack bugfix for multiline off-by-one (locfile.c)13231324	Load library from ~/.jq132513262013-05-24  Stephen Dolan  <mu@netsoc.tcd.ie>13271328	Make jq --version report an actual git revision.1329	Closes #129.133013312013-05-23  Nicolas Williams  <nico@cryptonector.com>13321333	Add --argfile variant of --arg (issue #117)1334	This is useful when one has a database (in JSON form) to query using jq1335	input data.13361337	    % echo '{"a":1, "c":5}' > db.json1338	    % echo '"c"'|./jq --argfile f /tmp/a '$f[.]'1339	    51340	    % echo '"a"'|./jq --argfile f /tmp/a '$f[.]'1341	    11342	    % echo '"b"'|./jq --argfile f /tmp/a '$f[.]'1343	    null1344	    %134513462013-05-23  Stephen Dolan  <mu@netsoc.tcd.ie>13471348	'make clean' won't delete jq.1 if it can't be rebuilt.1349	See #131