summaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)Author
2018-02-23Fix "provides" typoRiley Avron
2018-01-04fix FreeBSD install instructionsPaul Chvostek
2017-12-11Added rawfileDavid Fetter
In passing, clean remnants of argfile from slurpfile docs.
2017-12-11Revert "reduce: handle empty updates (fix #1313)"Nicolas Williams
This reverts commit e24af3c78e78a3aab05a2800d825d56f1d842b1b. While the semantics are desirable, there is no way to implement them efficiently. The reason is that in order to handle backtracking (empty) from the state update expression, we have to retain a reference to the reduction state value in order to restore it upon backtracking. Retaining a reference to the reduction state kills performance by causing lots of additional memory allocations and garbage because the input to the update expression will always have at least two references, thus no changes to it can be done in-place, and all changes end up being CoW changes. Avoiding this is the very reason for the LOADVN instruction (leaving `null` in the variable loaded from).
2017-11-29Actually fix the strptime testsmacos-strptimeWilliam Langford
This has been a complicated issue to fix for a number of reasons. The core of it is that the behavior is different between different versions of macOS, some of which set possible-but-incorrect values. This commit addresses the issue by always using our computation for tm_wday and tm_yday on macOS. As a side-effect, strptime format strings that specify %u and %j will no longer work on macOS.
2017-11-22Typo correctiontrantor
Suppresion -> Suppression
2017-05-21Deal with strptime() on OS X and *BSD (fix #1415)Nicolas Williams
strptime() on OS X and *BSDs (reputedly) does not set tm_wday and tm_yday unless corresponding %U and %j format specifiers were used. That can be... surprising when one parsed year, month, and day anyways. Glibc's strptime() conveniently sets tm_wday and tm_yday in those cases, but OS X's does not, ignoring them completely. This commit makes jq compute those where possible, though the day of week computation may be wrong for dates before 1900-03-01 or after 2099-12-31.
2017-04-29Add JQ_COLORS env var for color config (fix #1252)Nico Williams
2017-04-15def isempty(g) # Testing 'isempty(empty)' at line number 1364pkoppstein
2017-03-31Don't require java to build gh-pagesWilliam Langford
2017-03-31Add collect example with pipelineWilliam Langford
2017-03-30Add missing close-backtick in docsWilliam Langford
2017-02-26Add `halt`, `halt_error` builtins (fix #386)Nicolas Williams
2017-02-26Document `stderr`Nicolas Williams
2017-02-26Add $ENV builtin variable to access environmentNicolas Williams
2017-02-25Document $ARGS and friendsNicolas Williams
2017-02-23Document `localtime` and `strflocaltime`Nicolas Williams
2017-02-23Improve manual section on assignment formsNicolas Williams
2017-02-15Improve manualNicolas Williams
2017-02-13Add `builtins` builtinWilliam Langford
2017-02-12Add @base64d for decoding base64 #47Shaun Guth
2017-02-04Add more missing math functionsNicolas Williams
2017-01-30Improve docs somewhat, inspired by #1326Nicolas Williams
2017-01-30Make |= delete LHS when RHS is empty (Fix #1314)Nicolas Williams
Now that #1313 is fixed, |= no longer outputs null when the RHS update expression outputs empty. When a user wants to keep the current value of the LHS they would have the RHS update expression output `.`, so having `empty` achieve the same thing would be redundant. The obvious thing to do is to delete the LHS when the RHS update outputs `empty` (i.e., doesn't output any values). It's reasonable to think that existing programs won't be broken by this change, because reduce and |= not handling empty well is clearly a bug. (Though it's possible that some programs were using empty to quickly terminate reduce or |=, it's not likely. They should use label/break instead.) Prior to this change |= would use the _last_ value output by the RHS update expression. With this change |= will use the _first_ value instead. This change _is_ a minor backwards-incompatible change. It may or may not be acceptable; we'll see. It is a useful change in that it makes |= faster when the update expression produces multiple values.
2017-01-30Add SQL-style operators (#1322)Nicolas Williams
2017-01-30reduce: handle empty updates (fix #1313)Nicolas Williams
2017-01-23Typo fixedRichard Groves
simply -> simple
2017-01-23Documentation clarification suggestionsJanne Cederberg
2017-01-23Update download instructions for ArchJames Pearson Hughes
jq has been in the community repo for [just over a year now][0]. [0]: https://projects.archlinux.org/svntogit/community.git/commit/trunk?h=packages/jq&id=8d5e06065bc92bf56ea651970c9bda07fb545554
2017-01-23Typo: s/more/mode/ in `--seq`Tim McCormack
2015-11-26yum has been replaced with dnf as of f22Mark McKinstry
https://fedoraproject.org/wiki/Changes/ReplaceYumWithDNF
2015-11-15Fix manual signature for split (non-regex)Loamhoof
2015-10-25Support numbers and boolean in join (fix #930)David Tolnay
2015-10-17Move docs for map earlier (fix #288)David Tolnay
2015-10-17If-then-else documentation for forking conditional (fix #942)David Tolnay
2015-10-17Support lowercase name in from_entries (fix #990)David Tolnay
2015-10-13Revert "Adjust spacing of section headers to account for nav bar (fix #986)"David Tolnay
This reverts commit 73b8413d10751c7be3e54d83ea338b3e895bdda3. The fix for #986 caused #988.
2015-10-13Autocomplete manual search to first result on submitDavid Tolnay
2015-10-12Add background color to typeahead menuDavid Tolnay
2015-10-12Sort manual search results shortest to longestDavid Tolnay
2015-10-12Remove backticks from manual headers and search stringsDavid Tolnay
2015-10-12Adjust spacing of section headers to account for nav bar (fix #986)David Tolnay
2015-10-12Merge typeaheadjs.css into base.scssDavid Tolnay
2015-10-12PGP signatures for release binaries (fix #889)David Tolnay
2015-10-12Link to BootstrapCDN for Bootstrap and Bootswatch (fix #985)David Tolnay
2015-10-12Explicitly use current directory in RakefileDavid Tolnay
2015-10-12Split up Rakefile to minimize dependencies (fix #435)David Tolnay
2015-10-12Add description for rake tasksDavid Tolnay
You can see the descriptions by running `rake --tasks`.
2015-10-12Remove duplicate yaml import in RakefileDavid Tolnay
2015-10-12Remove old Rakefile dist targetsDavid Tolnay
Because binaries no longer go into the repo.