Stephen Dolan
f19ba32fdd
Minor refactor of function call setup to allow for multiple arguments.
2012-11-25 23:07:43 +00:00
Anthony Shortland
a33c6f3df9
Fixed to work under CentOS 5.4
2012-10-30 14:30:36 -07:00
Anthony Shortland
04640aeaeb
Added initial support for packaging jq as an RPM
2012-10-30 10:26:08 -07:00
Stephen Dolan
0923c79fee
Merge pull request #36 from stroan/contains-operator
...
Implemented contains operator
2012-10-25 11:51:55 -07:00
Stephen Roantree
50bcbc2271
Merge branch 'master' of https://github.com/stedolan/jq into contains-operator
...
Conflicts:
lexer.gen.c
parser.gen.c
parser.gen.h
parser.gen.info
parser.y
2012-10-25 10:02:02 -07:00
Stephen Roantree
1b556315af
Remove redundant code from jv_object_contains
2012-10-25 06:29:23 -07:00
Stephen Roantree
ecc8998d38
Restructure contains methods to use public jv methods
2012-10-24 18:29:33 -07:00
Stephen Dolan
72691b4909
Fix a bug in string parsing. Closes #35
2012-10-25 00:13:39 +01:00
Stephen Roantree
5e25c2a259
Implemented contains operator
2012-10-24 13:50:26 -07:00
Stephen Dolan
033d9b2fd5
Merge pull request #34 from dgryski/master
...
Add != (not equal) to list of supported binops
2012-10-24 02:43:54 -07:00
Damian Gryski
0adf4638d1
Update generated lexer.gen.* and parser.gen.* files
2012-10-24 09:31:21 +02:00
Damian Gryski
e40778727b
Replace yyscan_t with another pointer type that we control.
...
This prevents the circuluar dependency between parser.gen.h and
lexer.gen.h. Newer versions of bison add a prototype for yyparse() to
parser.gen.h that include the as-yet-undeclared yyscan_t type.
2012-10-24 09:28:27 +02:00
Stephen Dolan
5a64a29774
Remove .gitignore from tarballs.
2012-10-23 21:58:50 +01:00
Damian Gryski
45b6fc8148
Add some in/equality test cases
2012-10-23 21:12:47 +02:00
Stephen Dolan
8ad3b6f9b9
Merge pull request #22 from alexchamberlain/patch-1
...
Arch Packaging docs
2012-10-23 11:24:12 -07:00
Damian Gryski
409456f581
Regenerate lex/yacc files
2012-10-23 17:02:19 +02:00
Damian Gryski
553de39b2a
Implement 'not equal' (!=) as a binop
2012-10-23 17:01:39 +02:00
Damian Gryski
b193bca563
yyscan_t isn't exposed by some versions of flex.
2012-10-23 17:00:42 +02:00
Alex Chamberlain
56aa4cf1df
Add docs for installing on Arch Linux.
2012-10-23 14:46:44 +01:00
Stephen Dolan
2a610da2d1
Allow the 'keys' function to take arrays.
2012-10-22 23:31:07 +01:00
Stephen Dolan
93f80b2726
I should probably document select and empty :) ( #29 , #5 )
2012-10-22 23:14:34 +01:00
Stephen Dolan
794d29a430
Docs fixes.
...
- Mention homebrew on download page (#25 )
- Document 'keys' and string interpolation
2012-10-22 22:56:56 +01:00
Stephen Dolan
3c8f5ea251
Merge pull request #14 from merriam/patch-2
...
Update docs/content/1.tutorial/default.yml
2012-10-22 14:31:04 -07:00
Stephen Dolan
c0f1c7dc1a
Delete a badly-thought-out bit of a Makefile.
2012-10-22 19:23:57 +01:00
Stephen Dolan
a737a67eda
updated autogenerated files
2012-10-22 19:18:35 +01:00
Stephen Dolan
48fb7c61b3
Support a -f option to load from a file, and # comments
...
This means '#!/usr/local/bin/jq -f' is now a sensible way
to start a file.
Closes #13
2012-10-22 19:18:30 +01:00
Stephen Dolan
f2601ab4f0
Fix logic for "slurp" option. Fixes #18
2012-10-22 18:55:56 +01:00
Stephen Dolan
2620e21dcc
Make the gen_utf8_tables script Python3 compatible ( #20 )
2012-10-22 18:47:52 +01:00
Charles Merriam
ce3328f11e
Update docs/content/1.tutorial/default.yml
2012-10-22 02:43:53 -07:00
Stephen Dolan
c53e001973
Version number tracking.
jq-1.0
jq-1.1
2012-10-21 23:26:31 +01:00
Stephen Dolan
976e4ff711
Fix a mistake in the docs. Fixes #10
2012-10-21 22:16:23 +01:00
Stephen Dolan
6e64cdcbfc
Merge pull request #8 from maxme/master
...
add install and uninstall rules in Makefile
2012-10-21 12:23:22 -07:00
Stephen Dolan
73e479e171
Update website: binaries + version bump.
2012-10-21 20:16:26 +01:00
Maxime Biais
758da604cd
add install and uninstall rules in Makefile
2012-10-21 20:55:50 +02:00
Stephen Dolan
95a0074edf
Check in a bunch of autogenerated files.
...
These seem not to build with the version of bison, etc. on OS X.
This is a hack for now, I'll fix the OS X build when I get access
to a mac.
2012-10-21 19:52:16 +01:00
Stephen Dolan
32e1b114df
Add a 'keys' function. Fixes #4 .
2012-10-20 00:26:37 +01:00
Stephen Dolan
afec2544f1
A string interpolation syntax that I don't hate. Also tests.
...
You can interpolate values into strings using \(this syntax), e.g.
"best \("str" + "ing") ever"
2012-10-20 00:09:20 +01:00
Stephen Dolan
6828ec9852
Merge pull request #6 from stroan/numeric-comparison-binops
...
Add <,>,<=,>= binops
2012-10-11 07:47:42 -07:00
Stephen Roantree
b3557429eb
Make comp binops nonassoc
2012-10-10 23:00:24 +01:00
Stephen Roantree
0618e61e0b
Add <,>,<=,>= binops
2012-10-07 22:34:12 +01:00
Stephen Dolan
a2643cc0d5
Allow underscores in IDENT tokens. Fixes #3 .
...
IDENT syntax now includes ASCII letters and underscores, so
'.foo_bar' now works. Non-ASCII letters won't work in IDENT
tokens (it's impossible to tell which non-ascii characters are
"letters" without full unicode tables), so '.données' is still
a syntax error (the workaround is '.["données"]', since you can
put anything you like in a string).
2012-09-22 14:03:46 +01:00
Stephen Dolan
359d5f33bd
Add a bunch of commandline options for controlling I/O format.
...
Also docs for the above. Closes #1 .
2012-09-20 19:31:14 +01:00
Stephen Dolan
fcd7cf4ddd
More broken links :(
2012-09-19 10:54:58 +01:00
Stephen Dolan
1f4a5d8d9f
Make URLs relative to not break on github-pages
2012-09-19 10:48:23 +01:00
Stephen Dolan
92ab193369
Make the <title>s of the doc pages less messy.
2012-09-19 01:15:49 +01:00
Stephen Dolan
fc57cf702c
No HTTPS for me, sadly.
2012-09-19 01:12:33 +01:00
Stephen Dolan
f51eca20f5
Fix some issues with relative URLs on Github Pages.
2012-09-19 01:10:47 +01:00
Stephen Dolan
9887cb57b2
Add a rake task to compile docs into static html.
2012-09-19 01:03:05 +01:00
Stephen Dolan
040604b7db
Use a theme from Bootswatch for docs.
2012-09-19 01:00:25 +01:00
Stephen Dolan
26c7132237
Ensure 'make tarball' creates the required directories.
2012-09-19 00:36:37 +01:00