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
Provenance
- Commit
860af44- Tree
bd3248b- Author
Nathan Baulch <nathan.baulch@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
37f4cd2
6 files changed+12 added−12 removed
modified:docs/content/manual/dev/manual.yml+1 added-1 removed
2024 unmodified lines2025 command-line arguments, and may be enriched in the2026 future to include the version strings for the build2027 tooling used.2028 2029- 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.2031 2032 - title: "`$ENV`, `env`"2033 body: |1779 unmodified linesmodified:docs/content/manual/v1.7/manual.yml+1 added-1 removed
1978 unmodified lines1979 command-line arguments, and may be enriched in the1980 future to include the version strings for the build1981 tooling used.1982 1983- 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.1985 1986 - title: "`$ENV`, `env`"1987 body: |1710 unmodified linesmodified:docs/content/tutorial/default.yml+3 added-3 removed
205 unmodified lines206 "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 lines248 "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 lines299 "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 linesmodified:src/jv.c+5 added-5 removed
211 unmodified lines212 #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))214 215 // 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)219 220 #include "jv_thread.h"221 #ifdef WIN32222 #ifndef __MINGW32__318 unmodified lines541 } jvp_literal_number;542 543 typedef struct {544 decNumber number;545- decNumberUnit units[DEC_NUBMER_DOUBLE_EXTRA_UNITS];545+ decNumberUnit units[DEC_NUMBER_DOUBLE_EXTRA_UNITS];546 } decNumberDoublePrecision;547 548 549 static inline int jvp_number_is_literal(jv n) {49 unmodified lines599 decContext dblCtx;600 601 // 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;604 605 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];608 609 // 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 linesmodified:jq.1.prebuilt+1 added-1 removed
2197 unmodified lines2198 .SS "$JQ_BUILD_CONFIGURATION"2199 This 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 .P2202-Note that this can be overriden in the command\-line with \fB\-\-arg\fR and related options\.2202+Note 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 linesmodified:NEWS.md+1 added-1 removed
260 unmodified lines261 - 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 #2677122 unmodified lines