summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-05-08Merge remote-tracking branch 'stagrlee/master' into autotoolsStephen Dolan
Conflicts: Makefile jq_test.c
2013-05-06Fix #111: exit(1) when inputs are not valid JSONNicolas Williams
2013-05-06Add trailing slashes to various internal doc links.Stephen Dolan
Fixes #110
2013-05-06Add a --arg option to allow variables to be passed from the cmdline.Stephen Dolan
Closes #107
2013-05-06Add the "has" function. Closes #74.Stephen Dolan
2013-05-05Merge pull request #77 from jkleint/patch-1Stephen Dolan
Clarify description of `as`
2013-05-06Document behaviour of .[] on objects.Stephen Dolan
Closes #57.
2013-05-06Add documentation for "type".Stephen Dolan
Closes #75.
2013-05-06Update gems and use HTTPS to get them.Stephen Dolan
2013-05-06Fix some bad escapingStephen Dolan
2013-05-05Merge commit 'e45f93f85f22c73025830a6bd0b2807263068996'Stephen Dolan
See #87
2013-05-05Remove JQ_DEBUG #define and jq_test binary, simplifying build.Stephen Dolan
The debugging features previously available via JQ_DEBUG are now command-line options.
2013-05-05WIPStephen Dolan
2013-05-05Combine the functionality of jq and jq_testStephen Dolan
One binary is much simpler. ./jq --run-tests now runs the tests.
2013-05-05Make a few constant globals actually const.Stephen Dolan
This means the .data and .bss sections are empty, a good thing in a shared library (see #98).
2013-05-05Merge pull request #109 from nicowilliams/no_mutable_globals-rebasedStephen Dolan
Remove globals/make jq_init/next/teardown() an API
2013-05-05Merge pull request #93 from shayel/masterStephen Dolan
Allow manpage to build
2013-04-28Build and install libjqNicolas Williams
2013-04-28Remove unnecessary #includesNicolas Williams
2013-04-28Remove globals/make jq_init/next/teardown() an APINicolas Williams
2013-03-24Add missing require to RakefileShay Elkin
Use bundle exec to make manpage Don't set executable bit on manpage
2013-02-20fix typo in manualSimon Elsbrock
2013-02-04get man pages workingLee Thompson
2013-02-04add man page to releaseLee Thompson
2013-02-03rework build to not distribute tests unless --enable-devel is specificied to ↵Lee Thompson
autoconf
2013-02-03fix email addressesLee Thompson
2013-02-03use AM_SILENT_RULESLee Thompson
2013-02-02fix RPM build processLee Thompson
2013-02-02fix jq_test so that it runs in the distcheck phase of autoconfLee Thompson
2013-02-02merging upstream stedolan changesLee Thompson
2013-01-29use built in macro to RPMLee Thompson
2013-01-25Clarify description of `as`jkleint
It's more of a foreach loop than an identity operation. Addresses issue #72.
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