William Langford
e1c5a2f575
Added cross-compilation script to build libjq for iOS.
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-30 20:02:19 -05:00
Zhiming Wang
a5e9086676
Let @uri produce uppercase hexadecimal digits...
...
instead of lowercase ones.
According to RFC 3986,
The uppercase hexadecimal digits 'A' through 'F' are equivalent to
the lowercase digits 'a' through 'f', respectively. If two URIs
differ only in the case of hexadecimal digits used in percent-encoded
octets, they are equivalent. For consistency, URI producers and
normalizers should use uppercase hexadecimal digits for all percent-
encodings.
See https://github.com/stedolan/jq/issues/451 for details.
Test suite and manual are also updated to reflect this change.
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-30 19:52:42 -05:00
Nicolas Williams
1204e328df
Add much commentary about CALL_JQ and call frames
2014-06-30 19:40:56 -05:00
Nicolas Williams
3e1baf5916
Get "Try Online" button working ( fix #440 )
2014-06-24 00:39:00 -05:00
Nicolas Williams
beb0d081bb
Improve TCO
...
Instead of checking for self-recursion check that the thing we're
calling is a function and not a closure, therefore the new frame will
have the same env as the current frame.
2014-06-23 19:59:00 -05:00
Nicolas Williams
4b7c701fdd
Tail call optimization ( close #437 )
2014-06-22 00:24:02 -05:00
Nicolas Williams
233e32208c
Fix option stacking bug
2014-06-21 18:01:00 -05:00
Nicolas Williams
63e31c2a35
Remove stray fprintf() from last commit
2014-06-20 23:29:53 -05:00
Nicolas Williams
f9349becab
Allow stacking of short options ( fix #346 )
2014-06-20 23:26:54 -05:00
Nicolas Williams
ff5cf0abc7
Remove extra free of testmode
...
I added a jv_free() too many while rebasing @wtlangford's contribution.
It could only be triggered by calling `_match_impl` directly.
2014-06-18 21:11:06 -05:00
William Langford
8ff935c01a
Added regex support as per issue #164 .
...
jq now depends on oniguruma for regex support.
Modified configure.ac accordingly.
Added valgrind suppression file for oniguruma to prevent one-time and bounded
leaks from causing tests to fail.
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-18 21:02:47 -05:00
Nicolas Williams
5d9d1b1020
Partial revamp of scripts/crosscompile
...
Fix #430 .
2014-06-18 16:29:37 -05:00
Nicolas Williams
8725d9fa3e
Minor style cleanup in main.c
2014-06-17 19:04:55 -05:00
Nicolas Williams
9ae2d66d21
Remove remnants of --online-input option
2014-06-17 19:02:23 -05:00
Nicolas Williams
0c762925b2
Add -j / --join-output option, similar to -r
...
Fix #215 .
2014-06-17 18:59:35 -05:00
David Haguenauer
ad52026550
Fixed typo.
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-17 18:47:27 -05:00
Nicolas Williams
cf7895876b
Rebuild jq.1.prebuilt
2014-06-17 18:17:50 -05:00
Nicolas Williams
f902d5fae6
Remove trailing whitespace from manual.yml
2014-06-17 18:17:50 -05:00
Nicolas Williams
98e3ebc378
Use new style in manual for defs with args
2014-06-17 18:17:50 -05:00
Santiago Lapresta
dde43f796e
Simplified standard library
...
Close #426 .
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2014-06-17 18:17:50 -05:00
Nicolas Williams
7ee3b724d1
Fix #419 , improve Cannot index message (sortof)
...
jv_get() doesn't know if it's being called in the context of a jq
program or not, so it can't produce a very useful error message when the
types of the to-be-indexed value and the key don't agree. For now,
including the key (when it is a short string) in the error message is as
significant an improvement as is easy to make.
2014-06-17 17:00:23 -05:00
Nicolas Williams
e151a300d0
Fix #266 ; make help message more useful
2014-06-17 16:47:12 -05:00
Nicolas Williams
f58f771660
Fix #280 : from_entries of [] is null, should be {}
2014-06-16 22:40:44 -05:00
Nicolas Williams
ea63d5d3c2
No args default w/ tty stdout, not tty stdin #220
2014-06-16 22:34:50 -05:00
Nicolas Williams
ea0ffe24f8
Don't declare environ on WIN32
2014-06-16 22:34:37 -05:00
Santiago Lapresta
061a604a2a
Added flatten and flatten(x) functions
...
Fix #415 .
2014-06-16 17:03:05 -05:00
Nicolas Williams
f741074267
Remove download 1.3 button; reposition try online
2014-06-16 17:01:09 -05:00
Nicolas Williams
de5952d67e
Add ChangeLog and NEWS files
2014-06-16 15:29:48 -05:00
Nicolas Williams
a03f4802ef
Add missing contributors to AUTHORS
2014-06-16 15:29:31 -05:00
Nicolas Williams
778ba9f7ab
Update AUTHORS
2014-06-16 13:25:50 -05:00
Nicolas Williams
676e0ce38e
Fix Win64 jq.exe link on main page
2014-06-16 11:13:55 -05:00
Nicolas Williams
088a42fc53
Allow multiple functions with different arities
2014-06-16 00:05:30 -05:00
Nicolas Williams
63dbac28ad
Fix typo; rename jq.1-prebuit to jq.1.prebuilt
2014-06-13 19:04:06 -05:00
Nicolas Williams
e9a1de47b4
Add env builtin
2014-06-13 17:51:41 -05:00
Nicolas Williams
d14fca0cc6
Document the lambda nature of function args #391
2014-06-13 17:22:43 -05:00
Nicolas Williams
bb83813f51
Automatically update jq.1.prebuilt
2014-06-13 17:22:17 -05:00
Nicolas Williams
8225d4e0c5
Add jqplay link to the site
2014-06-13 17:21:56 -05:00
Jingwen Owen Ou
d45195ab5c
jqplay has a domain now
2014-06-12 18:17:39 -07:00
Nicolas Williams
73bd347fcf
Add links to Solaris 11+ executables
2014-06-12 19:26:05 -05:00
Nicolas Williams
c9dbe090c5
Include links to 1.3 executables in gh-pages
2014-06-12 17:30:30 -05:00
Nicolas Williams
61cc0d4fb1
Make a better jq.1 when Ruby deps missing
2014-06-12 17:30:09 -05:00
Nico Williams
15c4a7f95f
Merge pull request #400 from kdeme/master
...
Heuristic IEEE754 endianness autoconf detection
Use AC_C_BIGENDIAN, though it's not really the correct approach. Autoconf ought to have provided a test specifically for IEEE754 endianness, since it can differ from integer/pointer endianness!
2014-06-12 15:55:41 -05:00
Kim De Mey
20e629284f
Detect endianness at configuration with Autoconf AC_C_BIGENDIAN feature
2014-06-11 10:37:32 +02:00
Nicolas Williams
e73951f3d1
Add lib.h to dist file list
jq-1.4
2014-06-09 18:58:46 -05:00
Nicolas Williams
fdf843c08b
Make the note about shell quoting appear on site
2014-06-09 17:43:17 -05:00
Nicolas Williams
cf145ec65e
Add note about cmd.exe quoting
2014-06-09 10:22:55 -05:00
Nicolas Williams
4889844d0c
Building docs fails on powerpc ( #349 )
...
Thanks @shym!!
2014-06-09 09:39:02 -05:00
Nicolas Williams
dc7857c585
Update site news
2014-06-08 20:45:06 -05:00
Nicolas Williams
d65dbf89c9
Also fix configure.ac to use git describe --tags
2014-06-08 19:36:06 -05:00
Nicolas Williams
ed2b3e26fb
Fix scripts/version: use git describe --tags ...
...
After tagging as 1.4 scripts/version was still producing jq-1.3-....
2014-06-08 19:31:21 -05:00