Nicolas Williams
20b32db5af
Document split function
2013-12-04 18:21:40 -06:00
Nicolas Williams
b634722c8a
Document string multiplication and division
2013-12-04 18:21:40 -06:00
Nicolas Williams
c9e8581f45
Document string functions and slicing
2013-12-04 18:21:39 -06:00
Nicolas Williams
da129f6664
Test string slicing
2013-12-04 18:21:39 -06:00
Nicolas Williams
884e6c7d8b
Add string slicing
2013-12-04 18:21:39 -06:00
Nicolas Williams
5aadaa79eb
Add tests for string division/splitting
2013-12-04 18:21:39 -06:00
Nicolas Williams
cf562961b7
Add string division by string (split on separator)
2013-12-04 18:21:39 -06:00
Nicolas Williams
63bed9bdf1
Test starts/endswith and string multiplication
2013-12-04 18:21:39 -06:00
Nicolas Williams
5989dbdfcf
Add string multiplication by number
2013-12-04 18:21:39 -06:00
Nicolas Williams
db19a11399
Add startswith/endswith
2013-12-04 18:21:38 -06:00
Nicolas Williams
6c734cb609
Add explode/implode jq functions to match jv API
2013-12-04 18:21:38 -06:00
Nicolas Williams
ef41d1cb57
Use uint32_t for codepoint in jv_string_append_codepoint()
2013-12-04 18:21:38 -06:00
Nicolas Williams
08b4a34a8e
Add jv string utility functions
...
jv_string_empty()
-> return an empty string with given allocated length (for fast
appends)
jv_string_append_codepoint
-> append a single codepoint (int) to the given string
jv_string_explode
-> return an array of codepoints making up a string
jv_string_implode
-> return the UTF-8 encoding of an array of codepoint numbers
2013-12-04 18:21:38 -06:00
Nicolas Williams
1fc5656762
Support more arguments for defs
2013-12-04 18:21:38 -06:00
Stephen Dolan
91cfc34ae4
Preserve insertion order in objects. Closes #169 .
2013-12-04 22:30:39 +00:00
Nicolas Pouillard
a0b942a7f5
Add a few more test cases (from the man page)
...
Signed-off-by: Nicolas Williams <nico@cryptonector.com >
2013-11-30 00:55:26 -06:00
Stephen Dolan
6a401c8262
Add a --unbuffered option. Closes #206
2013-11-08 12:21:45 +00:00
Stephen Dolan
d235f32bc9
Merge pull request #210 from Habbie/patch-1
...
count should be length
2013-11-08 03:43:57 -08:00
Peter van Dijk
bdbfa7e32c
count should be length
...
Example refers to a count function, which does not exist. Replacing it with length works.
2013-11-07 16:39:44 +01:00
Stephen Dolan
78976b3504
Merge pull request #193 from ryo1kato/fix-docs
...
Docs: add description of --from-file option
2013-11-07 04:41:01 -08:00
Stephen Dolan
8d4748c8df
Fix a crash on group_by of empty list. Fixes #208 .
2013-11-07 12:18:48 +00:00
Ryoichi KATO
da723d3e11
Docs: add description of --from-file option
2013-10-16 21:42:29 +09:00
Stephen Dolan
0feeb7d0d4
Merge pull request #188 from Juanxo/patch-1
...
Fix typo on error message
2013-10-07 06:59:50 -07:00
Juan Guerrero
9e53f36a74
Fix typo on error message
2013-10-06 17:52:04 +02:00
Stephen Dolan
7e7c08da47
Merge pull request #185 from qoelet/master
...
Add missing -i flag in build instructions
2013-09-20 06:05:42 -07:00
Kenny Shen
2f6b89ef70
Add missing -i flag in build instructions
2013-09-20 10:34:57 +08:00
Stephen Dolan
4e3024cb61
Merge pull request #182 from mdaines/sqrt-builtin
...
Add builtin for calculating square root
2013-09-14 16:34:52 -07:00
Michael Daines
c427bf6a94
Add test showing calculation of standard deviation
2013-09-14 17:48:19 -04:00
Stephen Dolan
dae2422fd1
Merge branch 'libjq'
...
Conflicts:
Makefile.am
configure.ac
2013-09-14 19:30:39 +01:00
Stephen Dolan
f98e3e6c26
Merge pull request #181 from mdaines/patch-1
...
Fix typo
2013-09-13 15:24:22 -07:00
Mike Daines
fe99532f8b
Fix typo
2013-09-13 12:15:52 -04:00
Stephen Dolan
41a4968c90
Merge pull request #171 from joelittlejohn/fix-makefile
...
Fix Makefile after refactoring of stacks in 05d90517b0
2013-09-13 09:02:42 -07:00
Stephen Dolan
1cdaabf2dd
Merge pull request #175 from lipidity/fix-build
...
Call AM_INIT_AUTOMAKE once only
2013-09-13 09:02:24 -07:00
Michael Daines
82d8253c19
Add sqrt operator
2013-09-11 20:24:41 -04:00
Ankur
f0d1c39b5b
Call AM_INIT_AUTOMAKE once only
...
Fixes build with automake-1.14
2013-09-01 18:58:26 +10:00
Joe Littlejohn
111aea3f0a
Fix Makefile after refactoring of stacks in 05d90517b0
2013-08-19 13:40:08 +01:00
Stephen Dolan
37cfc912c1
Remove #includes from jv.h
2013-06-23 14:23:07 +01:00
Stephen Dolan
8c2e228c74
Fix the jv_parser interface.
2013-06-23 12:26:49 +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
5052ab4e2b
Move gen_utf8_tables to scripts
2013-06-23 12:08:22 +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
Stephen Dolan
d253414783
Merge pull request #162 from stedolan/utf8-fixes
...
Utf8 fixes. Closes #161
2013-06-22 09:30:59 -07:00
Stephen Dolan
8b1b503609
Reject all overlong UTF8 sequences.
2013-06-22 13:43:46 +01:00
Stephen Dolan
ff48bd6ec5
Fix various UTF8 parsing bugs.
...
In particular, parse bad UTF8 by replacing the broken bits with U+FFFD
and resychronise correctly after broken sequences.
2013-06-22 13:34:24 +01:00
Stephen Dolan
54b9c9bdb2
Fix example in manual for floor. See #155 .
2013-06-22 12:17:28 +01:00
Nicolas Williams
3dcdc582ea
Document floor
2013-06-21 15:27:34 -05:00