summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-03-24Add missing require to RakefileShay Elkin
Use bundle exec to make manpage Don't set executable bit on manpage
2013-01-03Fix negative number syntax. Add a unary '-' operator.Stephen Dolan
Closes #63.
2013-01-03Change APPEND opcode to directly modify a variable.Stephen Dolan
Avoids a big O(n^2) loop in constructing arrays. Fixes #61.
2012-12-31Clean up jv_object_foreach and add jv_array_foreachStephen Dolan
2012-12-31Ignore some more stuff.Stephen Dolan
2012-12-29Add the `recurse` function. See #37.Stephen Dolan
2012-12-29Make null + foo return foo, rather than an error.Stephen Dolan
This also allows 'add' to be implemented in jq rather than C.
2012-12-29Refactor assignment.Stephen Dolan
New version is much more elegant and probably slower. Uses library functions implemented in jq rather than dedicated opcodes.
2012-12-29Improvements to del(foo).Stephen Dolan
del(foo,bar) is now very different from del(foo),del(bar). See #37.
2012-12-29Fix a bug in URI-encoding of certain non-ASCII characters.Stephen Dolan
Oh how I hate C casting rules.
2012-12-28Path manipulation (path/getpath/setpath/delpath) and docs.Stephen Dolan
del function should fix #37.
2012-12-28Support for two-argument functions.Stephen Dolan
Should probably support n args instead. This is a quick hack. Also, ';' is a slightly ugly argument separator.
2012-12-28Fold operation (code/docs/test)Stephen Dolan
2012-12-28Docs typos.Stephen Dolan
2012-12-28@foo syntax for encoding of strings into various formats.Stephen Dolan
Fixes part of #47 and #48.
2012-12-27Fix an embarassing I/O bug.Stephen Dolan
Pulling some I/O out to a function meant that buf changed from "char buf[4096]" to "char* buf", and "sizeof(buf)" got a lot less interesting. The upshot of this is that jq read input eight bytes at a time, which is not the fastest.
2012-12-27JSON parsing error messages now specify a location of the error.Stephen Dolan
Should help with #53.
2012-12-24Sneaky valgrind trick to detect stack memory issues.Stephen Dolan
After something is popped from a stack, we overwrite the memory with uninitialised data (if JQ_DEBUG is on). This means that valgrind reports use-after-pop as an uninitialised memory error.
2012-12-23Fix a bad memory leak when using --raw-outputStephen Dolan
2012-12-20Give Windows builds a proper .exe suffix.Stephen Dolan
2012-12-20Version 1.2!jq-1.2Stephen Dolan
2012-12-20Add a few lines to the bottom of the manpage.Stephen Dolan
2012-12-20Update download page and build system to handle more platforms.Stephen Dolan
2012-12-20Don't enable coloured output by default on Windows.Stephen Dolan
2012-12-20Merge pull request #50 from stesh/masterStephen Dolan
Add information about installing dev environment on OS X
2012-12-18Fix a bug in stack reallocation during deep recursion.Stephen Dolan
2012-12-18Print an error message and abort in out-of-memory situations.Stephen Dolan
Closes #43. Tested with: ulimit -v 5000 ./jq -n -c 'def f(x): x,f([x,x]); f(0)'
2012-12-18Add wrappers for malloc/realloc/free. See #43.Stephen Dolan
2012-12-16Add the ability to specify input files on the commandline.Stephen Dolan
See #21.
2012-12-16Improve manpage introduction, add examples to manpage.Stephen Dolan
Closes #19
2012-12-16Fix a bug uncovered by tests extracted from manual.Stephen Dolan
`null | length` should give 0, and now does.
2012-12-16Lots of build system and docs improvements, including a manpage.Stephen Dolan
- Build binaries for multiple platforms - Make a manpage out of the manual (see #19) - Extract more tests from the documentation - Fix a few documentation bugs uncovered by above.
2012-12-12Add a Gemfile to make building the documentation easier.Stephen Dolan
Use "bundle install" in the docs folder to install ruby dependencies.
2012-12-10Delete autogenerated source from the repository.Stephen Dolan
This was a horrible hack to fix build issues on OS X some time ago. There are better ways to fix build issues on OS X :) See #49.
2012-12-10some words explaining struct inst a littleStephen Dolan
2012-12-10error() functionStephen Dolan
2012-12-10Fix Rack setup so that viewing documentation locally is less painful.Stephen Dolan
2012-12-07Remove old OS X 'instructions'Stephen Shaw
2012-12-07Add information about installing dev environment on OS XStephen Shaw
2012-12-07Change order of evaluation for certain indexing operations.Stephen Dolan
'.foo[.bar]' used to parse like '.foo | .bar as $b | .[$b]', now it parses like '.bar as $b | .foo | .[$b]'.
2012-12-04Add min, max, min_by, max_by functions.Stephen Dolan
2012-12-04Refactor function argument passing into what it always should have been.Stephen Dolan
Most visible change is that error messages when a function is called with the wrong number of arguments are much better.
2012-12-03Extend `{foo}` syntax to allow `{"foo"}` as well.Stephen Dolan
Useful when "foo" contains unusual characters. Should help with the issues #7, #38, #40, #42.
2012-12-03General cleanup - rename a few things, delete dead code.Stephen Dolan
2012-12-03Add a `unique` function.Stephen Dolan
2012-12-03See, I told you colour was a bad idea! #11Stephen Dolan
Last commit broke the build, minor fix needed to testsuite.
2012-12-03Oh alright then, if you insist.Stephen Dolan
Colo(u)red output for jq. Enabled by default if isatty(stdout). Closes #11.
2012-12-02Ignore a UTF-8 BOM if one appears at the start of a JSON document.Stephen Dolan
Closes #45.
2012-12-02Make the -c output more compact. Closes #44.Stephen Dolan
2012-12-02sort_by and group_by functions, tests and docs.Stephen Dolan