Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | docs: Document repeat(exp)HEADmaster | Mattias Wadman | 2022-05-26 | 1 | -0/+16 |
| | |||||
* | Mention -n in IO-section and for input/inputs | Mattias Wadman | 2022-05-26 | 1 | -2/+10 |
| | |||||
* | Fix iterration problem for non decimal string | Tomas Halman | 2022-05-26 | 2 | -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 Freenode | Naïm Favier | 2022-05-26 | 3 | -5/+4 |
| | |||||
* | Missing "va_end" call. This was found by running the cppcheck static ↵ | Lukas Lansky | 2022-05-26 | 1 | -0/+1 |
| | | | | analysis where it shows as error. | ||||
* | Add --recursive to git clone | Sean Wei | 2022-05-26 | 1 | -1/+1 |
| | |||||
* | docs(manual): fix the typo errors in the manual | Zhaohui Mei | 2022-05-26 | 2 | -2/+2 |
| | |||||
* | docs: Fix some format inconsistencies in manual | Mattias Wadman | 2022-05-26 | 1 | -13/+13 |
| | |||||
* | fixes incorrect example in man page | Gijs Kunze | 2022-05-26 | 1 | -1/+1 |
| | |||||
* | jq is now available through fink. | dak180 | 2022-05-26 | 1 | -0/+3 |
| | |||||
* | Fix typo in compile.c | Ikko Ashimine | 2022-05-26 | 1 | -1/+1 |
| | | | alrady -> already | ||||
* | Fixed typos | Stefan | 2022-05-26 | 1 | -2/+2 |
| | |||||
* | Update AUTHORS | Owen Ou | 2022-04-04 | 1 | -1/+1 |
| | |||||
* | Update my contributor info | Owen Ou | 2022-04-04 | 1 | -1/+1 |
| | | | My GitHub profile is at https://github.com/owenthereal | ||||
* | Fix accidentally quadratic behavior in _modify | Nicolas Williams | 2021-10-24 | 4 | -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 setpath | Nicolas Williams | 2021-10-24 | 1 | -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 printing | Nicolas Williams | 2021-10-24 | 1 | -4/+4 |
| | |||||
* | Fix crash in LOADVN when stack grows | Nicolas Williams | 2021-10-24 | 1 | -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 again | Nicolas Williams | 2021-10-24 | 1 | -3/+12 |
| | |||||
* | Update docs/Pipenv.lock | Nicolas Williams | 2021-10-24 | 1 | -74/+183 |
| | |||||
* | Fix Windows build for 1.7 release (moar) | Nicolas Williams | 2021-09-06 | 3 | -20/+22 |
| | |||||
* | Fix Windows build for 1.7 release (pthread stuff) | Nicolas Williams | 2021-09-03 | 4 | -6/+420 |
| | |||||
* | Fix msys2 installation on AppVeyor | itchyny | 2021-05-01 | 1 | -0/+5 |
| | | | | Ref: https://www.msys2.org/news/#2020-06-29-new-packagers | ||||
* | Fix incorrect if empty string example | Mattias Wadman | 2021-05-01 | 1 | -1/+1 |
| | |||||
* | update the version available through Chocolatey | mjarosie | 2021-05-01 | 1 | -1/+1 |
| | |||||
* | Re-apply patch from ff8924ce16e58f to dev manual | Aleksey Tsalolikhin | 2021-05-01 | 1 | -0/+48 |
| | |||||
* | Remove decimal number text from v1.6 manual | Aleksey Tsalolikhin | 2021-05-01 | 1 | -47/+0 |
| | |||||
* | Add large file support for 32-bit systems to fix issue 2167 | Ciaran McNamara | 2021-05-01 | 1 | -0/+1 |
| | |||||
* | Clean up compile warnings on macOS | William Langford | 2020-12-19 | 4 | -5/+48 |
| | |||||
* | Use AX_PTHREAD to properly detect pthread and flags | William Langford | 2020-12-19 | 2 | -7/+521 |
| | |||||
* | Fix #2197 extended regex pattern example | Alexandre Jasmin | 2020-12-18 | 3 | -3/+3 |
| | |||||
* | Add some missing code quoting to the manual | Maximilian Roos | 2020-06-08 | 1 | -13/+13 |
| | |||||
* | Reduce allocation on string multiplication | itchyny | 2020-05-26 | 1 | -11/+9 |
| | |||||
* | Fix multiple string multiplication | itchyny | 2020-05-26 | 1 | -2/+3 |
| | |||||
* | Fix error handling in strftime | itchyny | 2020-05-26 | 1 | -0/+4 |
| | |||||
* | Makefile: prepend srcdir to jq.1.prebuilt to fix out of source compilation | Christopher Degawa | 2020-03-03 | 1 | -1/+1 |
| | |||||
* | Rework pipenv requirement to be more relaxed | William Langford | 2020-03-02 | 4 | -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 generation | William Langford | 2020-03-02 | 4 | -5/+13 |
| | |||||
* | Change Homebrew version in docs to 1.6 | Gustav | 2020-03-02 | 1 | -1/+1 |
| | |||||
* | compatibiltiy->compatibility | Alanscut | 2020-03-02 | 1 | -1/+1 |
| | |||||
* | fix typos | Alanscut | 2020-01-14 | 7 | -10/+10 |
| | |||||
* | remove unused conditional branch | Yoichi Nakayama | 2020-01-10 | 1 | -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 MacPorts | Bernard Niset | 2020-01-07 | 1 | -2/+3 |
| | |||||
* | docs: --indent value has maximum of 7, not 8 | William Chargin | 2020-01-07 | 4 | -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 -> outputting | Alanscut | 2020-01-03 | 3 | -3/+3 |
| | |||||
* | Update other manual and source to use ;37 | David Biesack | 2020-01-02 | 2 | -3/+3 |
| | |||||
* | correct the default JQ_COLORS to use 37, not undefined color 39 | David Biesack | 2020-01-02 | 1 | -1/+1 |
| | |||||
* | fix typos | Alanscut | 2020-01-02 | 5 | -5/+5 |
| | |||||
* | Improve formatting of flags and link to specific wiki article for ↵ | Bradley Skaggs | 2020-01-02 | 1 | -2/+4 |
| | | | | cross-compilation. | ||||
* | compile-ios.sh: realpath is not a default command. | MCApollo | 2019-12-30 | 1 | -1/+1 |
| |