David Tolnay
154d0ee4a8
Fix assert fail if object literal key is not a string ( fix #953 )
2015-09-21 12:47:06 -07:00
Roman Inflianskas
83ab4e273b
Add openSUSE repository
2015-09-20 08:15:15 -07:00
David Tolnay
dccda74062
Address comments on PR #950
2015-09-16 10:48:50 -07:00
David Tolnay
b52bebfbe8
Improve invalid object key error message
2015-09-16 09:53:42 -07:00
David Tolnay
1758c1ba74
Remove "Requires 1.5" from manuals
...
No longer necessary now that manuals are versioned.
2015-09-13 18:57:11 -07:00
Joel Nothman
83e8ec587f
utf8bytelength: count UTF8 string bytelength
...
[Builtin name changed, and it only works on string inputs. -Nico]
2015-09-13 01:01:24 -05:00
Steven Penny
63dd033da7
Fix segmentation fault on Windows with long paths ( fix #939 )
2015-09-10 21:29:34 -07:00
David Tolnay
91f0dcff5c
Avoid passing '/bin/bash' as default argument to docker run
...
Previously:
```
$ docker run dbdc663dabc8
jq: error: syntax error, unexpected '/', expecting $end (Unix shell quoting issues?) at <top-level>, line 1:
/bin/bash
jq: 1 compile error
$ docker run --entrypoint /bin/echo dbdc663dabc8
/bin/bash
```
Now:
```
$ docker run e36393e8c15e
jq - commandline JSON processor [version 1.5rc2-77-g9a3fe9e]
Usage: /usr/local/bin/jq [options] <jq filter> [file...]
jq is a tool for processing JSON inputs, applying the
...
```
2015-09-05 13:03:01 -07:00
David Tolnay
688bb1993f
Get oniguruma from github instead of geocities
2015-09-05 12:40:42 -07:00
David Tolnay
94bda489ce
Fix indentation in Dockerfile
2015-09-05 11:54:56 -07:00
David Tolnay
c9003e521c
Add travis and coveralls badges to readme
2015-08-25 08:48:40 -07:00
Stephen Dolan
8105255be2
No-op commit to trigger first run of Travis.
2015-08-25 15:36:54 +01:00
Nicolas Williams
f57743eb37
Remove jq.1.default and related content
2015-08-23 23:08:11 -05:00
David Tolnay
0c93eb3379
Move source files to src/
2015-08-23 20:36:11 -07:00
David Tolnay
891f28ef5e
Copy gitignore in website update script
2015-08-22 17:26:58 -07:00
David Tolnay
371e74a25f
Remove obsolete comment in Makefile.am
2015-08-22 16:27:06 -07:00
David Tolnay
9ec27fe362
Sort source file lists in Makefile.am
2015-08-22 16:20:21 -07:00
David Tolnay
75662a4b05
Standardize indentation in Makefile.am
...
This was being done 5 different way in 5 places:
- indent 3 spaces, then tabs to column 73
- indent 2 spaces, then tabs to column 73
- indent 2 spaces, then a single tab
- indent with spaces up to equal sign, then tabs to column 73
- indent 1 tab, then tabs to column 73
I standardized on 8 spaces, then spaces to column 73. The 8
spaces lines up with common browsers' indentation of the
rest of the makefile, which is indented by single tabs. The
spaces to column 73 make sure the trailing backslashes line
up regardless of the tabstop setting.
2015-08-22 15:31:50 -07:00
David Tolnay
4a993dff29
Add gcov output to gitignore
2015-08-22 14:47:07 -07:00
David Tolnay
516e79151f
Include "jv.h" instead of <jv.h>
2015-08-22 13:53:44 -07:00
David Tolnay
6c3934de15
Fix decoding of UTF-8 sequence length ( fix #922 )
2015-08-22 12:31:36 -07:00
David Tolnay
370833d555
Sort libm functions
2015-08-22 10:54:35 -07:00
David Tolnay
302ae77712
Remove unused libm functions
2015-08-21 09:45:16 -07:00
Frederic Cambus
5d23c240b6
Use 'snprintf' instead of 'sprintf'
...
This gets rid of a linker warning when compiling on OpenBSD:
./.libs/libjq.a(jv_print.o)(.text+0x2fc): In function `jvp_dump_string':
/root/jq-1.5/jv_print.c:118: warning: sprintf() is often misused, please use snprintf()
2015-08-20 14:48:58 -07:00
David Tolnay
7032228879
Hide manual jqplay button and navigation in print mode
2015-08-20 11:14:14 -07:00
David Tolnay
8932cf719f
Hide tutorial "show result" button in print mode
2015-08-20 00:02:09 -07:00
David Tolnay
7668a4f255
Expand all manual examples in print mode
2015-08-19 23:27:10 -07:00
David Tolnay
2c6c521799
Add FreeBSD install instructions ( fix #917 )
2015-08-18 08:21:57 -07:00
David Tolnay
19577fcefa
Link to correct 1.5 source tarball
2015-08-17 18:04:56 -07:00
David Tolnay
b8f71d3659
Fix assert fail when delpaths is given non-array ( fix #901 )
2015-08-16 19:44:16 -07:00
David Tolnay
2d05b5475c
Standardize on "color" to match what the flag has always been called
2015-08-16 19:19:29 -07:00
David Tolnay
44a5c4b0b1
Fix "the the" in manuals
2015-08-16 19:04:38 -07:00
David Tolnay
a12b9102c7
Fix examples in 1.4 manual
2015-08-16 19:01:32 -07:00
David Tolnay
b5f8cb2126
Fix spelling of getpath and setpath in manual
2015-08-16 18:43:12 -07:00
David Tolnay
31be4a0495
Remove duplicate author
...
They seem to be the same person based on this pull request:
https://github.com/stedolan/jq/pull/80
I am keeping the email tied to his GitHub account.
2015-08-16 18:41:00 -07:00
David Tolnay
e785a17a5f
Sort authors
2015-08-16 18:41:00 -07:00
Nicolas Williams
b6e3657eda
Document getpath/setpath
2015-08-16 20:32:01 -05:00
David Tolnay
ec7c3cf9a7
Fix -Wzero-length-array
2015-08-16 09:11:23 -07:00
David Tolnay
eb2fc1d27e
Fix unnecessary use of BLOCK macro
2015-08-16 09:01:35 -07:00
David Tolnay
73b9e8dc99
Fix -Wgnu-zero-variadic-macro-arguments
2015-08-16 09:00:31 -07:00
David Tolnay
490a843947
Add sha1sum for jq-osx-amd64 1.5
2015-08-16 08:46:22 -07:00
David Tolnay
6fa1300d39
Link to 1.5 binary for OS X ( fix #912 )
2015-08-15 23:44:41 -07:00
David Tolnay
ef0fb50c1c
Fix 1.5 manual title
2015-08-15 23:19:13 -07:00
David Tolnay
3608341c53
Update website for jq 1.5 ( fix #910 )
2015-08-15 23:12:31 -07:00
David Tolnay
461f04bd4d
Rename header template to navbar
...
To avoid the confusing similarity between _head and _header.
2015-08-15 14:15:19 -07:00
David Tolnay
161a6fa635
Update gems
...
I updated some of these gems for a different project, and
suddenly `rake build` was giving very different output
compared to the current gh-pages. This commit makes sure
everyone updating gh-pages is using reasonably similar
versions, so we avoid spurious diffs.
2015-08-15 13:23:19 -07:00
David Tolnay
6d2f917a3a
Move footer content into template
...
This caused problems because liquid >=3.0.0 does not allow a
variable and a template with the same name. Here we had a
variable and a template both called footer.
2015-08-15 13:03:33 -07:00
David Tolnay
8f55d6d4ab
Use https where possible
2015-08-15 12:23:16 -07:00
David Tolnay
2306795864
Canonical URL and redirect to https site ( fix #908 )
2015-08-15 12:23:13 -07:00
David Tolnay
e0eb03b96d
Update website footer links
2015-08-14 11:29:47 -07:00