summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs: Document repeat(exp)HEADmasterMattias Wadman2022-05-261-0/+16
|
* Mention -n in IO-section and for input/inputsMattias Wadman2022-05-261-2/+10
|
* Fix iterration problem for non decimal stringTomas Halman2022-05-262-0/+6
| | | | | | | | | When the string transformation to number failed, all following transformation failed too. This happend because status in decNumberFromString function is updated just in error case. Reusing the DEC_CONTEXT that failed before results into error even if the string is valid number.
* docs: point to Libera.Chat instead of FreenodeNaïm Favier2022-05-263-5/+4
|
* Missing "va_end" call. This was found by running the cppcheck static ↵Lukas Lansky2022-05-261-0/+1
| | | | analysis where it shows as error.
* Add --recursive to git cloneSean Wei2022-05-261-1/+1
|
* docs(manual): fix the typo errors in the manualZhaohui Mei2022-05-262-2/+2
|
* docs: Fix some format inconsistencies in manualMattias Wadman2022-05-261-13/+13
|
* fixes incorrect example in man pageGijs Kunze2022-05-261-1/+1
|
* jq is now available through fink.dak1802022-05-261-0/+3
|
* Fix typo in compile.cIkko Ashimine2022-05-261-1/+1
| | | alrady -> already
* Fixed typosStefan2022-05-261-2/+2
|
* Update AUTHORSOwen Ou2022-04-041-1/+1
|
* Update my contributor infoOwen Ou2022-04-041-1/+1
| | | My GitHub profile is at https://github.com/owenthereal
* Fix accidentally quadratic behavior in _modifyNicolas Williams2021-10-244-1102/+1122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to be careful to not grab an extra reference when mutating data structures because that means we make extra copies. Doing that every time in `_modify` is really painful, as that function implements `|=` and all modify-assign operators. `jv_setpath()` also grabs additional references, so this is not the only fix needed for the modify-assign operators to not be accidentally quadratic. We have to use `LOADVN` in order to make this fix possible, so we should really byte-code `_modify` rather than jq-code it. However, as a stop-gap to make this fix easier, I'm adding syntax for referring to a `$binding` such that you get `LOADVN` instead of `LOADV`. This syntax is not meant to be used outside jq's internals! Therefore it is not documented. I promise to break it later, so don't use it! TBD, but later: - Optimize `_modify` for the case where `update` outputs more than one value. This is trivial: add a `setpath($p; null)` in the middle of `_modify` before calling `update`. But unfortunately the VM retains a reference to `value_at_path` for path expression checking, and fixing that will require more work.
* Fix accidentally quadratic behavior in setpathNicolas Williams2021-10-241-2/+30
| | | | | | | | | | We need to be careful to not grab an extra reference when mutating data structures because that means we make extra copies. Doing that every time in `jv_setpath()` is really painful, as that function is used in `_modify/2`, which is used in `|=` and all modify-assign operators. `_modify` also grabs additional references, so this is not the only fix needed for the modify-assign operators to not be accidentally quadratic.
* Fix LOADV/LOADVN refcount printingNicolas Williams2021-10-241-4/+4
|
* Fix crash in LOADVN when stack growsNicolas Williams2021-10-241-0/+4
| | | | | | | | | | | | | | | | | | This `stack_push()` call in LOADVN invalidates `var`: jv* var = frame_local_var(jq, v, level); jv_free(stack_popn(jq)); ------>stack_push(jq, *var); *var = jv_null(); ^^^^^^ We have to re-compute `var`: jv* var = frame_local_var(jq, v, level); jv_free(stack_popn(jq)); stack_push(jq, *var); ------>var = frame_local_var(jq, v, level); *var = jv_null();
* Appveyor: Get Appveyor building againNicolas Williams2021-10-241-3/+12
|
* Update docs/Pipenv.lockNicolas Williams2021-10-241-74/+183
|
* Fix Windows build for 1.7 release (moar)Nicolas Williams2021-09-063-20/+22
|
* Fix Windows build for 1.7 release (pthread stuff)Nicolas Williams2021-09-034-6/+420
|
* Fix msys2 installation on AppVeyoritchyny2021-05-011-0/+5
| | | | Ref: https://www.msys2.org/news/#2020-06-29-new-packagers
* Fix incorrect if empty string exampleMattias Wadman2021-05-011-1/+1
|
* update the version available through Chocolateymjarosie2021-05-011-1/+1
|
* Re-apply patch from ff8924ce16e58f to dev manualAleksey Tsalolikhin2021-05-011-0/+48
|
* Remove decimal number text from v1.6 manualAleksey Tsalolikhin2021-05-011-47/+0
|
* Add large file support for 32-bit systems to fix issue 2167Ciaran McNamara2021-05-011-0/+1
|
* Clean up compile warnings on macOSWilliam Langford2020-12-194-5/+48
|
* Use AX_PTHREAD to properly detect pthread and flagsWilliam Langford2020-12-192-7/+521
|
* Fix #2197 extended regex pattern exampleAlexandre Jasmin2020-12-183-3/+3
|
* Add some missing code quoting to the manualMaximilian Roos2020-06-081-13/+13
|
* Reduce allocation on string multiplicationitchyny2020-05-261-11/+9
|
* Fix multiple string multiplicationitchyny2020-05-261-2/+3
|
* Fix error handling in strftimeitchyny2020-05-261-0/+4
|
* Makefile: prepend srcdir to jq.1.prebuilt to fix out of source compilationChristopher Degawa2020-03-031-1/+1
|
* Rework pipenv requirement to be more relaxedWilliam Langford2020-03-024-30/+892
| | | | | | Keep a cached copy of the man tests that we can use when no manpage changes are made. This allows automated systems that might not have easy access to a pipenv to build and run tests.
* Minor fixes to website generationWilliam Langford2020-03-024-5/+13
|
* Change Homebrew version in docs to 1.6Gustav2020-03-021-1/+1
|
* compatibiltiy->compatibilityAlanscut2020-03-021-1/+1
|
* fix typosAlanscut2020-01-147-10/+10
|
* remove unused conditional branchYoichi Nakayama2020-01-101-2/+0
| | | | | | | | | | It has no effect after the change c4524da. Bug reported by the clang static analyzer. Description: Value stored to 'value' is never read File: jq/src/util.c Line: 439
* Add information on how to install on OS X with MacPortsBernard Niset2020-01-071-2/+3
|
* docs: --indent value has maximum of 7, not 8William Chargin2020-01-074-4/+4
| | | | | | | | | | | | | | | | | | | | | Test Plan: To verify that this is in fact the behavior: ``` $ jq --indent 7 -n '[1]' [ 1 ] $ jq --indent 8 -n '[1]' jq: --indent takes a number between -1 and 7 Use jq --help for help with command-line options, or see the jq manpage, or online docs at https://stedolan.github.io/jq ``` This patch was generated by running `git grep "no more than"` and fixing up appropriate results. wchargin-branch: docs-fix-indent-bounds
* outputing -> outputtingAlanscut2020-01-033-3/+3
|
* Update other manual and source to use ;37David Biesack2020-01-022-3/+3
|
* correct the default JQ_COLORS to use 37, not undefined color 39David Biesack2020-01-021-1/+1
|
* fix typosAlanscut2020-01-025-5/+5
|
* Improve formatting of flags and link to specific wiki article for ↵Bradley Skaggs2020-01-021-2/+4
| | | | cross-compilation.
* compile-ios.sh: realpath is not a default command.MCApollo2019-12-301-1/+1
|