]> granicus.if.org Git - jq/log
jq
9 years agoDelete negative indices in array (fix #954)
David Tolnay [Mon, 21 Sep 2015 18:15:25 +0000 (11:15 -0700)]
Delete negative indices in array (fix #954)

9 years agoFix assert fail if object literal key is not a string (fix #953)
David Tolnay [Mon, 21 Sep 2015 19:09:37 +0000 (12:09 -0700)]
Fix assert fail if object literal key is not a string (fix #953)

9 years agoAdd openSUSE repository
Roman Inflianskas [Sun, 20 Sep 2015 11:11:35 +0000 (14:11 +0300)]
Add openSUSE repository

9 years agoAddress comments on PR #950 950/head
David Tolnay [Wed, 16 Sep 2015 17:48:50 +0000 (10:48 -0700)]
Address comments on PR #950

9 years agoImprove invalid object key error message
David Tolnay [Wed, 16 Sep 2015 16:49:11 +0000 (09:49 -0700)]
Improve invalid object key error message

9 years agoRemove "Requires 1.5" from manuals
David Tolnay [Mon, 14 Sep 2015 01:54:14 +0000 (18:54 -0700)]
Remove "Requires 1.5" from manuals

No longer necessary now that manuals are versioned.

9 years agoutf8bytelength: count UTF8 string bytelength
Joel Nothman [Tue, 8 Sep 2015 02:51:42 +0000 (12:51 +1000)]
utf8bytelength: count UTF8 string bytelength

[Builtin name changed, and it only works on string inputs. -Nico]

9 years agoFix segmentation fault on Windows with long paths (fix #939)
Steven Penny [Mon, 7 Sep 2015 16:29:32 +0000 (11:29 -0500)]
Fix segmentation fault on Windows with long paths (fix #939)

9 years agoAvoid passing '/bin/bash' as default argument to docker run 938/head
David Tolnay [Sat, 5 Sep 2015 19:59:54 +0000 (12:59 -0700)]
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
...
```

9 years agoGet oniguruma from github instead of geocities 937/head
David Tolnay [Sat, 5 Sep 2015 18:53:35 +0000 (11:53 -0700)]
Get oniguruma from github instead of geocities

9 years agoFix indentation in Dockerfile
David Tolnay [Sat, 5 Sep 2015 18:54:56 +0000 (11:54 -0700)]
Fix indentation in Dockerfile

9 years agoAdd travis and coveralls badges to readme
David Tolnay [Tue, 25 Aug 2015 15:47:04 +0000 (08:47 -0700)]
Add travis and coveralls badges to readme

9 years agoNo-op commit to trigger first run of Travis.
Stephen Dolan [Tue, 25 Aug 2015 14:36:54 +0000 (15:36 +0100)]
No-op commit to trigger first run of Travis.

9 years agoRemove jq.1.default and related content 926/head
Nicolas Williams [Mon, 24 Aug 2015 04:08:11 +0000 (23:08 -0500)]
Remove jq.1.default and related content

9 years agoMove source files to src/
David Tolnay [Mon, 24 Aug 2015 03:36:11 +0000 (20:36 -0700)]
Move source files to src/

9 years agoCopy gitignore in website update script
David Tolnay [Sun, 23 Aug 2015 00:22:16 +0000 (17:22 -0700)]
Copy gitignore in website update script

9 years agoRemove obsolete comment in Makefile.am
David Tolnay [Sat, 22 Aug 2015 23:27:06 +0000 (16:27 -0700)]
Remove obsolete comment in Makefile.am

9 years agoSort source file lists in Makefile.am
David Tolnay [Sat, 22 Aug 2015 23:20:21 +0000 (16:20 -0700)]
Sort source file lists in Makefile.am

9 years agoStandardize indentation in Makefile.am
David Tolnay [Sat, 22 Aug 2015 22:31:47 +0000 (15:31 -0700)]
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.

9 years agoAdd gcov output to gitignore
David Tolnay [Sat, 22 Aug 2015 21:47:07 +0000 (14:47 -0700)]
Add gcov output to gitignore

9 years agoInclude "jv.h" instead of <jv.h>
David Tolnay [Sat, 22 Aug 2015 20:53:44 +0000 (13:53 -0700)]
Include "jv.h" instead of <jv.h>

9 years agoFix decoding of UTF-8 sequence length (fix #922) 923/head
David Tolnay [Sat, 22 Aug 2015 19:18:13 +0000 (12:18 -0700)]
Fix decoding of UTF-8 sequence length (fix #922)

9 years agoSort libm functions
David Tolnay [Sat, 22 Aug 2015 17:54:35 +0000 (10:54 -0700)]
Sort libm functions

9 years agoRemove unused libm functions
David Tolnay [Fri, 21 Aug 2015 16:45:16 +0000 (09:45 -0700)]
Remove unused libm functions

9 years agoUse 'snprintf' instead of 'sprintf'
Frederic Cambus [Thu, 20 Aug 2015 21:17:58 +0000 (23:17 +0200)]
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()

9 years agoHide manual jqplay button and navigation in print mode
David Tolnay [Thu, 20 Aug 2015 18:14:14 +0000 (11:14 -0700)]
Hide manual jqplay button and navigation in print mode

9 years agoHide tutorial "show result" button in print mode
David Tolnay [Thu, 20 Aug 2015 07:02:09 +0000 (00:02 -0700)]
Hide tutorial "show result" button in print mode

9 years agoExpand all manual examples in print mode
David Tolnay [Thu, 20 Aug 2015 06:27:10 +0000 (23:27 -0700)]
Expand all manual examples in print mode

9 years agoAdd FreeBSD install instructions (fix #917)
David Tolnay [Tue, 18 Aug 2015 15:21:55 +0000 (08:21 -0700)]
Add FreeBSD install instructions (fix #917)

9 years agoLink to correct 1.5 source tarball
David Tolnay [Tue, 18 Aug 2015 01:04:56 +0000 (18:04 -0700)]
Link to correct 1.5 source tarball

9 years agoFix assert fail when delpaths is given non-array (fix #901)
David Tolnay [Mon, 17 Aug 2015 02:44:16 +0000 (19:44 -0700)]
Fix assert fail when delpaths is given non-array (fix #901)

9 years agoStandardize on "color" to match what the flag has always been called
David Tolnay [Mon, 17 Aug 2015 02:19:01 +0000 (19:19 -0700)]
Standardize on "color" to match what the flag has always been called

9 years agoFix "the the" in manuals
David Tolnay [Mon, 17 Aug 2015 02:04:38 +0000 (19:04 -0700)]
Fix "the the" in manuals

9 years agoFix examples in 1.4 manual
David Tolnay [Mon, 17 Aug 2015 02:01:32 +0000 (19:01 -0700)]
Fix examples in 1.4 manual

9 years agoFix spelling of getpath and setpath in manual
David Tolnay [Mon, 17 Aug 2015 01:43:12 +0000 (18:43 -0700)]
Fix spelling of getpath and setpath in manual

9 years agoRemove duplicate author
David Tolnay [Mon, 17 Aug 2015 01:39:28 +0000 (18:39 -0700)]
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.

9 years agoSort authors
David Tolnay [Mon, 17 Aug 2015 01:30:39 +0000 (18:30 -0700)]
Sort authors

9 years agoDocument getpath/setpath
Nicolas Williams [Mon, 17 Aug 2015 01:32:01 +0000 (20:32 -0500)]
Document getpath/setpath

9 years agoFix -Wzero-length-array
David Tolnay [Sun, 16 Aug 2015 16:11:23 +0000 (09:11 -0700)]
Fix -Wzero-length-array

9 years agoFix unnecessary use of BLOCK macro
David Tolnay [Sun, 16 Aug 2015 16:01:35 +0000 (09:01 -0700)]
Fix unnecessary use of BLOCK macro

9 years agoFix -Wgnu-zero-variadic-macro-arguments
David Tolnay [Sun, 16 Aug 2015 16:00:31 +0000 (09:00 -0700)]
Fix -Wgnu-zero-variadic-macro-arguments

9 years agoAdd sha1sum for jq-osx-amd64 1.5
David Tolnay [Sun, 16 Aug 2015 15:46:22 +0000 (08:46 -0700)]
Add sha1sum for jq-osx-amd64 1.5

9 years agoLink to 1.5 binary for OS X (fix #912)
David Tolnay [Sun, 16 Aug 2015 06:44:41 +0000 (23:44 -0700)]
Link to 1.5 binary for OS X (fix #912)

9 years agoFix 1.5 manual title
David Tolnay [Sun, 16 Aug 2015 06:19:13 +0000 (23:19 -0700)]
Fix 1.5 manual title

9 years agoUpdate website for jq 1.5 (fix #910)
David Tolnay [Sun, 16 Aug 2015 06:12:31 +0000 (23:12 -0700)]
Update website for jq 1.5 (fix #910)

9 years agoRename header template to navbar
David Tolnay [Sat, 15 Aug 2015 21:10:28 +0000 (14:10 -0700)]
Rename header template to navbar

To avoid the confusing similarity between _head and _header.

9 years agoUpdate gems
David Tolnay [Sat, 15 Aug 2015 20:12:58 +0000 (13:12 -0700)]
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.

9 years agoMove footer content into template
David Tolnay [Sat, 15 Aug 2015 20:03:30 +0000 (13:03 -0700)]
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.

9 years agoUse https where possible
David Tolnay [Sat, 15 Aug 2015 19:07:00 +0000 (12:07 -0700)]
Use https where possible

9 years agoCanonical URL and redirect to https site (fix #908)
David Tolnay [Sat, 15 Aug 2015 18:09:03 +0000 (11:09 -0700)]
Canonical URL and redirect to https site (fix #908)

9 years agoUpdate website footer links
David Tolnay [Fri, 14 Aug 2015 18:29:47 +0000 (11:29 -0700)]
Update website footer links

9 years agoUse entry title without whitespace as section id
David Tolnay [Fri, 14 Aug 2015 07:22:55 +0000 (00:22 -0700)]
Use entry title without whitespace as section id

9 years agoFix some w3c validator complaints
David Tolnay [Fri, 14 Aug 2015 06:34:09 +0000 (23:34 -0700)]
Fix some w3c validator complaints

9 years agoConsistent indentation of shared templates
David Tolnay [Fri, 14 Aug 2015 06:08:52 +0000 (23:08 -0700)]
Consistent indentation of shared templates

9 years agoMove all javascript to end of body
David Tolnay [Fri, 14 Aug 2015 06:00:54 +0000 (23:00 -0700)]
Move all javascript to end of body

9 years agoGroup logically related parser rule names
David Tolnay [Fri, 14 Aug 2015 05:39:31 +0000 (22:39 -0700)]
Group logically related parser rule names

9 years agoRemove all trailing whitespace
David Tolnay [Fri, 14 Aug 2015 05:33:37 +0000 (22:33 -0700)]
Remove all trailing whitespace

9 years agoTiny margin on tutorial accordions
David Tolnay [Fri, 14 Aug 2015 05:18:01 +0000 (22:18 -0700)]
Tiny margin on tutorial accordions

9 years agoFix memory leak in non-constant module declaration
David Tolnay [Wed, 12 Aug 2015 07:59:30 +0000 (00:59 -0700)]
Fix memory leak in non-constant module declaration

9 years agoFix assert fail on invalid import path (fix #899)
David Tolnay [Wed, 12 Aug 2015 07:46:34 +0000 (00:46 -0700)]
Fix assert fail on invalid import path (fix #899)

9 years agoFix assert fail on non-object import metadata (fix #900)
David Tolnay [Wed, 12 Aug 2015 06:26:51 +0000 (23:26 -0700)]
Fix assert fail on non-object import metadata (fix #900)

9 years agoFix streaming docs errors (fix #904)
Nicolas Williams [Fri, 14 Aug 2015 04:38:14 +0000 (23:38 -0500)]
Fix streaming docs errors (fix #904)

9 years agoTest main.c fix for #817
Nicolas Williams [Tue, 11 Aug 2015 22:40:39 +0000 (17:40 -0500)]
Test main.c fix for #817

9 years agoMake search path expansion portable (fix #817)
Nicolas Williams [Tue, 11 Aug 2015 05:45:22 +0000 (00:45 -0500)]
Make search path expansion portable (fix #817)

This is part 2 of the fix to #817.  Part 1 is the previous commit.

9 years agoMake all global module paths absolute (fix #817)
Nicolas Williams [Tue, 11 Aug 2015 05:33:21 +0000 (00:33 -0500)]
Make all global module paths absolute (fix #817)

This is part 1 of the fix for #817.  The next commit is part 2.

9 years agoUpdate site from bootstrap 2.1.1 to 3.3.5
David Tolnay [Thu, 13 Aug 2015 03:28:17 +0000 (20:28 -0700)]
Update site from bootstrap 2.1.1 to 3.3.5

9 years agoUpdate wording and json bodies in tutorial
David Tolnay [Wed, 12 Aug 2015 05:02:53 +0000 (22:02 -0700)]
Update wording and json bodies in tutorial

9 years agospelling corrections; untabify
pkoppstein [Tue, 11 Aug 2015 17:37:07 +0000 (13:37 -0400)]
spelling corrections; untabify

9 years agowalk/1
pkoppstein [Tue, 11 Aug 2015 06:50:48 +0000 (02:50 -0400)]
walk/1

9 years agoImprove assignment docs (see #897)
Nicolas Williams [Tue, 11 Aug 2015 23:04:39 +0000 (18:04 -0500)]
Improve assignment docs (see #897)

9 years agoFix #896, double-free in `setpath` 898/head
Nicolas Williams [Tue, 11 Aug 2015 22:41:25 +0000 (17:41 -0500)]
Fix #896, double-free in `setpath`

9 years agoChange index page links to github releases
David Tolnay [Sat, 8 Aug 2015 17:35:18 +0000 (10:35 -0700)]
Change index page links to github releases

9 years agoAdd SHA-1 checksums of release binaries (fix #726)
David Tolnay [Sat, 8 Aug 2015 08:17:03 +0000 (01:17 -0700)]
Add SHA-1 checksums of release binaries (fix #726)

9 years agoScript to update gh-pages from master
David Tolnay [Sat, 8 Aug 2015 03:20:30 +0000 (20:20 -0700)]
Script to update gh-pages from master

9 years agoRemove obsolete gitignore entry
David Tolnay [Sat, 8 Aug 2015 07:26:32 +0000 (00:26 -0700)]
Remove obsolete gitignore entry

9 years agoReplace jq-1.4 source tarball link
David Tolnay [Sat, 8 Aug 2015 05:53:48 +0000 (22:53 -0700)]
Replace jq-1.4 source tarball link

9 years agoReplace website download links with github releases
David Tolnay [Sat, 8 Aug 2015 05:23:08 +0000 (22:23 -0700)]
Replace website download links with github releases

9 years agoAdd jq-1.5rc2 to index page news
David Tolnay [Sat, 8 Aug 2015 05:11:09 +0000 (22:11 -0700)]
Add jq-1.5rc2 to index page news

9 years agoBreak long line on index page
David Tolnay [Sat, 8 Aug 2015 05:09:06 +0000 (22:09 -0700)]
Break long line on index page

9 years agoClean up download page and fix links
David Tolnay [Sat, 8 Aug 2015 04:40:19 +0000 (21:40 -0700)]
Clean up download page and fix links

9 years agoCopy over links to 1.5rc2 from gh-pages
David Tolnay [Sat, 8 Aug 2015 03:33:23 +0000 (20:33 -0700)]
Copy over links to 1.5rc2 from gh-pages

9 years agoFix range(value;stream) (fix #886) 887/head
David Tolnay [Fri, 7 Aug 2015 06:04:47 +0000 (23:04 -0700)]
Fix range(value;stream) (fix #886)

9 years agoClarify documentation of STRING * INTEGER 883/head
pkoppstein [Wed, 5 Aug 2015 01:40:16 +0000 (21:40 -0400)]
Clarify documentation of STRING * INTEGER

9 years agoOS X's mktemp -d requires template (fix #876)
Nicolas Williams [Tue, 28 Jul 2015 05:28:54 +0000 (00:28 -0500)]
OS X's mktemp -d requires template (fix #876)

9 years agoAdd missing files (fix #875)
Nicolas Williams [Tue, 28 Jul 2015 05:09:46 +0000 (00:09 -0500)]
Add missing files (fix #875)

9 years agoFix make dist (fix #870) jq-1.5rc2
Nicolas Williams [Mon, 27 Jul 2015 04:26:30 +0000 (23:26 -0500)]
Fix make dist (fix #870)

9 years agoError on bytecodes longer than 0xFFFF (fix #269)
David Tolnay [Sat, 25 Jul 2015 15:53:28 +0000 (08:53 -0700)]
Error on bytecodes longer than 0xFFFF (fix #269)

This lets us use uint16_t for the program counter. JVM
languages have the same limit on method size so it is a
reasonable limit.

9 years agoDrop plus from "jq 1.5+" on download page
David Tolnay [Sun, 26 Jul 2015 16:37:32 +0000 (09:37 -0700)]
Drop plus from "jq 1.5+" on download page

See https://github.com/stedolan/jq/issues/488#issuecomment-124998113

9 years agoNews is not THIS important
David Tolnay [Sun, 26 Jul 2015 08:27:14 +0000 (01:27 -0700)]
News is not THIS important

9 years agoAdd 1.4 and 1.3 manuals to website (fix #866)
David Tolnay [Sun, 26 Jul 2015 08:26:13 +0000 (01:26 -0700)]
Add 1.4 and 1.3 manuals to website (fix #866)

9 years agoSuggest --disable-maintainer-mode on download page
David Tolnay [Sun, 26 Jul 2015 06:44:52 +0000 (23:44 -0700)]
Suggest --disable-maintainer-mode on download page

9 years agoUpdate setup.sh script
David Tolnay [Sat, 25 Jul 2015 06:25:55 +0000 (23:25 -0700)]
Update setup.sh script

Adjust what gets cleaned up now that ChangeLog and
config/.gitignore are checked into the repo, and skip
install and distcheck steps.

9 years agoChange homepage .com -> .io
David Tolnay [Sat, 25 Jul 2015 05:52:04 +0000 (22:52 -0700)]
Change homepage .com -> .io

The .com redirects to .io, but might as well have the
correct one to begin with.

9 years agoChange AC bug-report parameter to point to GitHub
David Tolnay [Sat, 25 Jul 2015 05:47:05 +0000 (22:47 -0700)]
Change AC bug-report parameter to point to GitHub

This affects where `make check` tells you to report failures.

9 years agoImplement flatten/0 in terms of flatten/1
Santiago Lapresta [Sun, 28 Jun 2015 21:11:09 +0000 (23:11 +0200)]
Implement flatten/0 in terms of flatten/1

9 years agodetect invalid path expression (fix #862)
David Tolnay [Thu, 23 Jul 2015 03:48:26 +0000 (20:48 -0700)]
detect invalid path expression (fix #862)

9 years agosimplify implementation of bsearch to use "until" and avoid "last"; tested
pkoppstein [Sat, 3 Jan 2015 06:05:04 +0000 (01:05 -0500)]
simplify implementation of bsearch to use "until" and avoid "last"; tested

9 years agoRebuild jq.1.prebuilt
David Tolnay [Fri, 24 Jul 2015 16:01:21 +0000 (09:01 -0700)]
Rebuild jq.1.prebuilt

9 years agofix references to --color-output 865/head
Evan Zacks [Fri, 24 Jul 2015 14:18:12 +0000 (10:18 -0400)]
fix references to --color-output

9 years agoUpdated v1.3 filenames
Thomas R. Hall [Fri, 17 Oct 2014 09:45:24 +0000 (16:45 +0700)]
Updated v1.3 filenames

The jq 1.3 filenames for Windows are jq-1.3.exe instead of jq.exe. Updated these so they no longer return a 404.