Owen Ou
6cce62dfa9
Select gcc binaries to release
2023-07-01 11:46:41 -07:00
Owen Ou
25a0608a64
Run brew update-reset when brew update fails
...
`brew update` can fail for "Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask failed!"
Ref: https://github.com/owenthereal/jq/actions/runs/5432314910/jobs/9879266028#step:3:19
2023-07-01 11:23:31 -07:00
Owen Ou
4c15a17bf6
Enable all tests for Windows
2023-07-01 11:23:31 -07:00
Owen Ou
d295348dcb
Add matrix to test all available GH Actions images
2023-07-01 11:23:31 -07:00
Owen Ou
b47d0162c0
Also install flex for Windows build
2023-07-01 11:23:31 -07:00
Owen Ou
fc505694a7
Locate bison for Windows build
2023-07-01 11:23:31 -07:00
Owen Ou
493ca3e252
Release pipeline
...
* Group CI builds for different OSes into `ci.yml`.
* Add release job to release `jq` when tag is in the format of v*.
* Use `clang` as the only compiler on CI.
* Provide extensible matrix for future cross-compile builds, e.g.
for https://github.com/jqlang/jq/pull/2618 .
2023-07-01 11:23:31 -07:00
itchyny
f88c4e5888
Move an example to the manual and regenerate man.test ( #2639 )
2023-06-30 07:45:29 +09:00
itchyny
03db5509cb
Remove unused function: jv_mem_invalidate, jv_mem_uninit_setup ( #2636 )
2023-06-28 22:59:41 +09:00
Allan Clark
d5dd41e2dc
fix: tarball fails distcheck: add files missing from manifest ( #2538 )
2023-06-28 22:37:49 +09:00
itchyny
d829524680
Remove deleted README file from jq.spec ( #2637 )
2023-06-28 22:37:31 +09:00
itchyny
6d694a4a58
Validate module metadata to be an object ( #2357 )
2023-06-28 17:59:46 +09:00
itchyny
5dacc6b3a1
Fix bison warnings on incompatibilities with POSIX Yacc ( #2634 )
2023-06-28 17:56:53 +09:00
itchyny
82d5602230
Fix "writing output failed" error of non ASCII output on Windows ( #2633 )
2023-06-28 17:54:40 +09:00
itchyny
7c1efd67ff
Update oniguruma submodule (June 2023) ( #2635 )
2023-06-28 17:04:42 +09:00
itchyny
98835eec24
Fix halt_error to print message without prefix in raw mode ( fix #1902 ) ( #2632 )
2023-06-27 07:33:21 +09:00
itchyny
e468eaa396
Fix glibc warning about _BSD_SOURCE and redefined _GNU_SOURCE ( fix #1978 ) ( #2631 )
2023-06-27 07:25:55 +09:00
itchyny
44c89ad3da
Ignore error of outdated manual test when docs disabled ( fix #2310 ) ( #2630 )
2023-06-27 07:25:24 +09:00
itchyny
73966c80ec
Fix number lexer to avoid conflict with object indexing ( #2254 )
2023-06-27 07:24:49 +09:00
itchyny
fac5553b22
Fix overflow exception of the modulo operator ( fix #1176 ) ( #2629 )
2023-06-27 07:23:41 +09:00
itchyny
6864aa8630
Fix manual section titles, minor typos, and improve inline codes ( #2626 )
2023-06-22 08:31:38 +09:00
Alex Jurkiewicz
dd5ce98caf
Document length for numbers and bools ( #2625 )
...
This was added in ae7a042876 but not explicitly documented.
2023-06-21 18:21:39 +09:00
itchyny
9a590427db
Improve Download page: drop versions for each package manager ( #2619 )
2023-06-20 08:23:42 +09:00
Nico Williams
f7102e9bed
Create SECURITY.md
2023-06-19 00:07:29 -05:00
Dan Church
38b42e537f
Fix double-installed doc ( #2482 )
...
The README symlink was causing the file to be installed twice in
<DOCDIR>.
2023-06-16 23:11:01 +09:00
Dan Church
076d0a2826
Use autotools standard ${docdir} ( #2468 )
...
Specified with `--docdir=<path>`, the `$(docdir)` variable is already
available, and has the same default as what it was being set to.
By specifying it here, it overrides what the `--docdir` option
specifies.
2023-06-16 23:06:34 +09:00
Dawid Ferenczy Rogožan
11d909170e
Added usage under Powershell to the manual ( #2306 )
2023-06-16 22:47:37 +09:00
calpeconsulting
c2026f5d9e
Fedora link returns 404 ( #2067 )
2023-06-16 22:03:32 +09:00
Marcin Kłopotek
0567d26923
Add Windows installation via scoop ( #2188 )
2023-06-16 21:55:29 +09:00
pkoppstein
d2f1ddbd5a
manual.yml - Perl NG ( #2614 )
2023-06-16 07:59:48 +09:00
Florian Weimer
52d5988afb
C99 compatibility enhancements for the configure script ( #2519 )
...
* configure.ac: Enable system extensions
Use AC_USE_SYSTEM_EXTENSIONS to build with _GNU_SOURCE (and similar
macros on non-GNU systems), to avoid an implicit declaration of the
strptime function. This improves compatibility with future compilers
which do not support implicit function declarations.
* configure.ac: gettimeofday lives in <sys/time.h>
The gettimeofday function is declared in <sys/time.h>, not <time.h>,
according to POSIX and actual systems. This avoids a configure
probe failure with compilers which do not support implicit function
declarations.
2023-06-14 21:41:04 +09:00
Rob Wills
9cb69ad5a5
Add a note about how to provide positional arguments without confusing the arg parser ( #1989 )
2023-06-14 08:45:02 +09:00
itchyny
2e5c3f490c
Fix regular expression section on PCRE ( fix #2439 ), also improve example format ( #2613 )
2023-06-14 07:36:06 +09:00
itchyny
433b79dddf
Fix version scripts for some shallow clone situations ( fix #1549 ) ( #2608 )
2023-06-14 07:33:25 +09:00
Josh Soref
5cebe86a7b
Fix misspellings ( #2609 )
2023-06-13 20:01:20 +09:00
Josh Soref
bd86ca3002
scanbuild: use ubuntu-latest ( #2610 )
2023-06-13 13:53:01 +09:00
AJ Jordan
840dc55263
Link to the Onigurama docs ( #2355 )
2023-06-13 13:49:46 +09:00
Josh Soref
1d69ca636a
Fix macOS build - drop python3 ( #2612 )
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com >
2023-06-12 21:29:47 -07:00
itchyny
e5414e6828
docs: Fix coding style of Python scripts using YAPF ( #2606 )
2023-06-08 19:04:19 +09:00
itchyny
fd9da6647c
docs: Fix example outputs added in #2391
2023-06-07 21:05:03 +09:00
Benjamin Wuethrich
e066172aa1
Add fixes for manual ( #2391 )
2023-06-07 20:59:07 +09:00
Timothy John Perisho Eccleston
a87dca3c87
fix typos in manual.yml ( #2102 )
2023-06-07 20:58:48 +09:00
Anthony Sottile
6c5c8f2115
fix handling of -0 ( #2235 )
2023-06-06 20:19:43 +09:00
itchyny
b8816caf0a
docs: Fix a try-catch example ( fix #1558 , #1777 ) ( #2605 )
2023-06-06 09:03:25 +09:00
Henré Botha
df8ee8dd79
docs: fix typo in halt_error example ( #2336 )
2023-06-06 08:36:46 +09:00
Lucas Trzesniewski
b7f9587bb9
docs: clarify split behavior ( #2462 )
2023-06-06 08:28:57 +09:00
Stefan
90bfa96249
Fixed typo in errors on missing some mathematical filters ( #2434 )
2023-06-06 06:59:29 +09:00
nmulcahey and itchyny
d178ebdc94
[docs] Use yaml.safe_load() in build_*.py scripts ( #2432 )
...
Co-authored-by: itchyny <itchyny@cybozu.co.jp >
2023-06-06 06:47:42 +09:00
Matti Åstrand
b7511b9b1f
Key should be "foo" without spaces ( #2212 )
2023-06-06 06:17:35 +09:00
itchyny
c815794e4b
Replace find with select function as the example of jq-coded functions ( #1962 )
2023-06-06 06:09:03 +09:00