Skip to content
Myr

Fix typos (#3173)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nathan Baulch · committed by GitHub · parent 37f4cd2 · Browse files · 6 files+12 added−12 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+12 added−12 removed

  • other:+12 added−12 removed

6 files+12 added−12 removed

modified:docs/content/manual/dev/manual.yml+1 added-1 removed
2024 unmodified lines
2025 command-line arguments, and may be enriched in the2026 future to include the version strings for the build2027 tooling used.20282029 Note that this can be overriden in the command-line2029 Note that this can be overridden in the command-line2030 with `--arg` and related options.20312032 - title: "`$ENV`, `env`"2033 body: |
1779 unmodified lines
modified:docs/content/manual/v1.7/manual.yml+1 added-1 removed
1978 unmodified lines
1979 command-line arguments, and may be enriched in the1980 future to include the version strings for the build1981 tooling used.19821983 Note that this can be overriden in the command-line1983 Note that this can be overridden in the command-line1984 with `--arg` and related options.19851986 - title: "`$ENV`, `env`"1987 body: |
1710 unmodified lines
modified:docs/content/tutorial/default.yml+3 added-3 removed
205 unmodified lines
206 "message": "Mention -n in IO-section and for input/inputs",207 "name": "Nico Williams"208 }209 {210 "message": "Fix iterration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",210 "message": "Fix iteration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",211 "name": "Nico Williams"212 }213 {214 "message": "docs: point to Libera.Chat instead of Freenode",
33 unmodified lines
248 "message": "Mention -n in IO-section and for input/inputs",249 "name": "Nico Williams"250 },251 {252 "message": "Fix iterration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",252 "message": "Fix iteration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",253 "name": "Nico Williams"254 },255 {256 "message": "docs: point to Libera.Chat instead of Freenode",
42 unmodified lines
299 "https://github.com/jqlang/jq/commit/c4d39c4d22f2b12225ca1b311708f7e084ad9ff8"300 ]301 },302 {303 "message": "Fix iterration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",303 "message": "Fix iteration problem for non decimal string\n\nWhen the string transformation to number failed, all following\ntransformation failed too.\n\nThis happend because status in decNumberFromString function is\nupdated just in error case. Reusing the DEC_CONTEXT that failed\nbefore results into error even if the string is valid number.",304 "name": "Nico Williams",305 "parents": [306 "https://github.com/jqlang/jq/commit/174db0f93552bdb551ae1f3c5c64744df0ad8e2f"307 ]
30 unmodified lines
modified:src/jv.c+5 added-5 removed
211 unmodified lines
212#define JVP_FLAGS_NUMBER_NATIVE JVP_MAKE_FLAGS(JV_KIND_NUMBER, JVP_MAKE_PFLAGS(JVP_NUMBER_NATIVE, 0))213#define JVP_FLAGS_NUMBER_LITERAL JVP_MAKE_FLAGS(JV_KIND_NUMBER, JVP_MAKE_PFLAGS(JVP_NUMBER_DECIMAL, 1))214215// the decimal precision of binary double216#define DEC_NUBMER_DOUBLE_PRECISION (17)216#define DEC_NUMBER_DOUBLE_PRECISION (17)217#define DEC_NUMBER_STRING_GUARD (14)218#define DEC_NUBMER_DOUBLE_EXTRA_UNITS ((DEC_NUBMER_DOUBLE_PRECISION - DECNUMDIGITS + DECDPUN - 1)/DECDPUN)218#define DEC_NUMBER_DOUBLE_EXTRA_UNITS ((DEC_NUMBER_DOUBLE_PRECISION - DECNUMDIGITS + DECDPUN - 1)/DECDPUN)219220#include "jv_thread.h"221#ifdef WIN32222#ifndef __MINGW32__
318 unmodified lines
541} jvp_literal_number;542543typedef struct {544 decNumber number;545 decNumberUnit units[DEC_NUBMER_DOUBLE_EXTRA_UNITS];545 decNumberUnit units[DEC_NUMBER_DOUBLE_EXTRA_UNITS];546} decNumberDoublePrecision;547548549static inline int jvp_number_is_literal(jv n) {
49 unmodified lines
599 decContext dblCtx;600601 // init as decimal64 but change digits to allow conversion to binary64 (double)602 decContextDefault(&dblCtx, DEC_INIT_DECIMAL64);603 dblCtx.digits = DEC_NUBMER_DOUBLE_PRECISION;603 dblCtx.digits = DEC_NUMBER_DOUBLE_PRECISION;604605 decNumber *p_dec_number = jvp_dec_number_ptr(j);606 decNumberDoublePrecision dec_double;607 char literal[DEC_NUBMER_DOUBLE_PRECISION + DEC_NUMBER_STRING_GUARD + 1];607 char literal[DEC_NUMBER_DOUBLE_PRECISION + DEC_NUMBER_STRING_GUARD + 1];608609 // reduce the number to the shortest possible form610 // that fits into the 64 bit floating point representation611 decNumberReduce(&dec_double.number, p_dec_number, &dblCtx);
1366 unmodified lines
modified:jq.1.prebuilt+1 added-1 removed
2197 unmodified lines
2198.SS "$JQ_BUILD_CONFIGURATION"2199This builtin binding shows the jq executable\'s build configuration\. Its value has no particular format, but it can be expected to be at least the \fB\./configure\fR command\-line arguments, and may be enriched in the future to include the version strings for the build tooling used\.2200.2201.P2202Note that this can be overriden in the command\-line with \fB\-\-arg\fR and related options\.2202Note that this can be overridden in the command\-line with \fB\-\-arg\fR and related options\.2203.2204.SS "$ENV, env"2205\fB$ENV\fR is an object representing the environment variables as set when the jq program started\.2206.
2042 unmodified lines
modified:NEWS.md+1 added-1 removed
260 unmodified lines
261- Expose a module's function names in `modulemeta`. @mrwilson #2837262- Fix `contains/1` to handle strings with NUL. @nicowilliams 61cd6db263- Fix `stderr/0` to output raw text without any decoration. @itchyny #2751264- Fix `nth/2` to emit empty on index out of range. @itchyny #2674265- Fix `implode` to not assert and instead replace invalid unicode codepoints. @wader #2646265- Fix `implode` to not assert and instead replace invalid Unicode codepoints. @wader #2646266- Fix `indices/1` and `rindex/1` in case of overlapping matches in strings. @emanuele6 #2718267- Fix `sub/3` to resolve issues involving global search-and-replace (gsub) operations. @pkoppstein #2641268- Fix `significand/0`, `gamma/0` and `drem/2` to be available on macOS. @itchyny #2756 #2775269- Fix empty regular expression matches. @itchyny #2677
122 unmodified lines