@port-labs/jq-node-bindings 1.0.4 → 1.1.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +12 -0
- package/configure +6 -5
- package/deps/jq/.claude/settings.local.json +7 -0
- package/deps/jq/.gitattributes +1 -3
- package/deps/jq/AUTHORS +55 -1
- package/deps/jq/COPYING +40 -0
- package/deps/jq/Makefile.am +40 -36
- package/deps/jq/NEWS.md +277 -2
- package/deps/jq/README.md +23 -5
- package/deps/jq/compile-ios.sh +1 -1
- package/deps/jq/config/m4/check-math-func.m4 +2 -2
- package/deps/jq/config/m4/find-func-no-libs2.m4 +3 -3
- package/deps/jq/configure.ac +10 -18
- package/deps/jq/docs/Pipfile.lock +368 -313
- package/deps/jq/docs/README.md +3 -4
- package/deps/jq/docs/build_manpage.py +1 -1
- package/deps/jq/docs/build_mantests.py +1 -1
- package/deps/jq/docs/build_website.py +1 -8
- package/deps/jq/docs/content/download/default.yml +49 -9
- package/deps/jq/docs/content/index.yml +9 -0
- package/deps/jq/docs/content/manual/{manual.yml → dev/manual.yml} +218 -61
- package/deps/jq/docs/content/manual/v1.3/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.4/manual.yml +0 -5
- package/deps/jq/docs/content/manual/v1.5/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.6/manual.yml +3 -8
- package/deps/jq/docs/content/manual/v1.7/manual.yml +499 -500
- package/deps/jq/docs/content/manual/v1.8/manual.yml +3858 -0
- package/deps/jq/docs/content/tutorial/default.yml +3 -3
- package/deps/jq/docs/manual_schema.yml +0 -3
- package/deps/jq/docs/public/CNAME +1 -0
- package/deps/jq/docs/templates/index.html.j2 +10 -10
- package/deps/jq/docs/templates/manual.html.j2 +14 -3
- package/deps/jq/docs/templates/shared/_head.html.j2 +8 -3
- package/deps/jq/docs/templates/shared/_navbar.html.j2 +4 -4
- package/deps/jq/jq.1.prebuilt +219 -44
- package/deps/jq/jq.spec +2 -2
- package/deps/jq/libjq.pc.in +1 -1
- package/deps/jq/scripts/version +1 -1
- package/deps/jq/sig/v1.7.1/jq-1.7.1.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-1.7.1.zip.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.7.1/sha256sum.txt +26 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.tar.gz.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-1.8.0.zip.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-armhf.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-i386.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mips64r6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsel.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-mipsr6el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-powerpc.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-ppc64el.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-riscv64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux-s390x.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-linux64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-macos-arm64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-osx-amd64.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-win64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-amd64.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/jq-windows-i386.exe.asc +16 -0
- package/deps/jq/sig/v1.8.0/sha256sum.txt +26 -0
- package/deps/jq/src/builtin.c +446 -271
- package/deps/jq/src/builtin.jq +25 -60
- package/deps/jq/src/bytecode.h +8 -3
- package/deps/jq/src/compile.c +22 -43
- package/deps/jq/src/compile.h +1 -1
- package/deps/jq/src/execute.c +20 -25
- package/deps/jq/src/jq_test.c +113 -44
- package/deps/jq/src/jv.c +134 -42
- package/deps/jq/src/jv.h +10 -3
- package/deps/jq/src/jv_alloc.c +8 -5
- package/deps/jq/src/jv_alloc.h +0 -1
- package/deps/jq/src/jv_aux.c +41 -8
- package/deps/jq/src/jv_dtoa.c +4 -12
- package/deps/jq/src/jv_dtoa_tsd.c +5 -4
- package/deps/jq/src/jv_dtoa_tsd.h +1 -1
- package/deps/jq/src/jv_parse.c +5 -3
- package/deps/jq/src/jv_print.c +87 -65
- package/deps/jq/src/jv_unicode.c +18 -0
- package/deps/jq/src/jv_unicode.h +2 -0
- package/deps/jq/src/lexer.c +303 -278
- package/deps/jq/src/lexer.h +5 -4
- package/deps/jq/src/lexer.l +8 -2
- package/deps/jq/src/libm.h +15 -5
- package/deps/jq/src/linker.c +6 -4
- package/deps/jq/src/locfile.c +12 -12
- package/deps/jq/src/main.c +204 -270
- package/deps/jq/src/parser.c +1105 -1273
- package/deps/jq/src/parser.y +149 -181
- package/deps/jq/src/util.c +46 -48
- package/deps/jq/src/util.h +1 -1
- package/deps/jq/tests/base64.test +12 -0
- package/deps/jq/tests/jq.test +429 -37
- package/deps/jq/tests/jq_fuzz_load_file.c +1 -0
- package/deps/jq/tests/man.test +46 -13
- package/deps/jq/tests/manonig.test +13 -0
- package/deps/jq/tests/onig.test +40 -2
- package/deps/jq/tests/optional.test +4 -12
- package/deps/jq/tests/setup +5 -1
- package/deps/jq/tests/shtest +358 -130
- package/deps/jq/tests/uri.test +38 -0
- package/deps/jq/tests/uritest +5 -0
- package/deps/jq/{src → vendor}/decNumber/decBasic.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decCommon.c +1 -1
- package/deps/jq/{src → vendor}/decNumber/decNumber.c +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/CMakeLists.txt +5 -3
- package/deps/jq/{modules → vendor}/oniguruma/HISTORY +45 -7
- package/deps/jq/{modules → vendor}/oniguruma/Makefile.am +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/README.md +10 -23
- package/deps/jq/{modules → vendor}/oniguruma/compile +29 -13
- package/deps/jq/{modules → vendor}/oniguruma/config.guess +91 -27
- package/deps/jq/{modules → vendor}/oniguruma/config.sub +716 -242
- package/deps/jq/{modules → vendor}/oniguruma/configure.ac +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/depcomp +10 -9
- package/deps/jq/{modules → vendor}/oniguruma/doc/API +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/API.ja +3 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN +10 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.BUILTIN.ja +9 -1
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/RE.ja +12 -13
- package/deps/jq/{modules → vendor}/oniguruma/doc/SYNTAX.md +202 -167
- package/deps/jq/{modules → vendor}/oniguruma/doc/UNICODE_PROPERTIES +33 -1
- package/deps/jq/vendor/oniguruma/doc/onig_syn_md.c +667 -0
- package/deps/jq/{modules → vendor}/oniguruma/harnesses/base.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/install-sh +9 -9
- package/deps/jq/{modules → vendor}/oniguruma/missing +50 -29
- package/deps/jq/{modules → vendor}/oniguruma/sample/callback_each_match.c +1 -3
- package/deps/jq/vendor/oniguruma/sbom.cdx.json +44 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/ascii.c +4 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_fold_key_conv.py +4 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/gperf_unfold_key_conv.py +4 -4
- package/deps/jq/vendor/oniguruma/src/make_unicode_egcb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_egcb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold.sh +5 -5
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_fold_data.py +37 -37
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property.sh +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_property_data.py +66 -65
- package/deps/jq/vendor/oniguruma/src/make_unicode_wb.sh +7 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/make_unicode_wb_data.py +20 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/oniguruma.h +6 -3
- package/deps/jq/{modules → vendor}/oniguruma/src/regcomp.c +14 -6
- package/deps/jq/{modules → vendor}/oniguruma/src/regerror.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/regexec.c +85 -14
- package/deps/jq/{modules → vendor}/oniguruma/src/regint.h +17 -4
- package/deps/jq/{modules → vendor}/oniguruma/src/regparse.c +115 -27
- package/deps/jq/{modules → vendor}/oniguruma/src/regsyntax.c +10 -7
- package/deps/jq/{modules → vendor}/oniguruma/src/st.c +49 -75
- package/deps/jq/{modules → vendor}/oniguruma/src/st.h +3 -10
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_egcb_data.c +54 -49
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold1_key.c +1567 -1507
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold2_key.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_fold3_key.c +1 -1
- package/deps/jq/vendor/oniguruma/src/unicode_fold_data.c +1619 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data.c +5520 -4178
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_property_data_posix.c +239 -83
- package/deps/jq/vendor/oniguruma/src/unicode_unfold_key.c +3497 -0
- package/deps/jq/{modules → vendor}/oniguruma/src/unicode_wb_data.c +51 -19
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_be.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/src/utf16_le.c +3 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_back.c +3 -3
- package/deps/jq/{modules → vendor}/oniguruma/test/test_options.c +2 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_syntax.c +54 -2
- package/deps/jq/{modules → vendor}/oniguruma/test/test_utf8.c +19 -5
- package/deps/jq/{modules → vendor}/oniguruma/test/testc.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test/testp.c +1 -1
- package/deps/jq/{modules → vendor}/oniguruma/test-driver +13 -6
- package/deps/jq/{modules → vendor}/oniguruma/windows/CMakeLists.txt +1 -1
- package/index.d.ts +2 -1
- package/lib/index.js +1 -0
- package/lib/jq.js +2 -1
- package/package.json +4 -3
- package/test/santiy-async.test.js +4 -4
- package/test/santiy.test.js +4 -4
- package/test/template.test.js +6 -6
- package/deps/jq/modules/oniguruma/src/make_unicode_egcb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/make_unicode_wb.sh +0 -7
- package/deps/jq/modules/oniguruma/src/unicode_fold_data.c +0 -1592
- package/deps/jq/modules/oniguruma/src/unicode_unfold_key.c +0 -3394
- package/deps/jq/scripts/update-website +0 -30
- /package/deps/jq/{src → vendor}/decNumber/ICU-license.html +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decContext.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDPD.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decDouble.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumber.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decNumberLocal.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decPacked.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decQuad.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decSingle.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal128.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal32.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decimal64.h +0 -0
- /package/deps/jq/{src → vendor}/decNumber/decnumber.pdf +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example1.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example2.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example3.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example4.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example5.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example6.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example7.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/example8.c +0 -0
- /package/deps/jq/{src → vendor}/decNumber/readme.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/.travis.yml +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/AUTHORS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/COPYING +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/ChangeLog +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/NEWS +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/README_japanese +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/autogen.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/cmake/Config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/CALLOUTS.API.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/doc/FAQ.ja +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/ascii_compatible.dict +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/deluxe.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/dict_conv.py +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/fuzzer.options +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/libfuzzer-onig.cpp +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/harnesses/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/index_ja.html +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/m4/.whatever +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win32.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/make_win64.bat +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/onig-config.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/oniguruma.pc.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/bug_fix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/callout.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/count.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/crnl.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/echo.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/encode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/listcap.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/names.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/posix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/scan.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/simple.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/sql.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/syntax.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/sample/user_property.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/Makefile.windows +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/big5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.cmake.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win32 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.win64 +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/config.h.windows.in +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/cp1251.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_jp_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_kr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/euc_tw.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/gb18030.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_1.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_10.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_11.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_13.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_14.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_15.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_16.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_2.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_3.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_4.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_5.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_6.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_7.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/iso8859_9.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/koi8_r.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/make_property.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/mktable.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onig_init.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/oniggnu.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/onigposix.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regenc.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regext.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/reggnu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regparse.h +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposerr.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regposix.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regtrav.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/regversion.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/sjis_prop.gperf +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/unicode.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_be.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf32_le.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/src/utf8.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/CMakeLists.txt +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/Makefile.am +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test.sh +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/test_regset.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/test/testu.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/stub.c +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_back.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_regset.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_syntax.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/test_utf8.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testc.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis-ci/testu.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/tis.config +0 -0
- /package/deps/jq/{modules → vendor}/oniguruma/windows/testc.c +0 -0
|
@@ -2168,7 +2168,7 @@ decNumber * decNumberPower(decNumber *res, const decNumber *lhs,
|
|
|
2168
2168
|
// if a negative power the constant 1 is needed, and if not subset
|
|
2169
2169
|
// invert the lhs now rather than inverting the result later
|
|
2170
2170
|
if (decNumberIsNegative(rhs)) { // was a **-n [hence digits>0]
|
|
2171
|
-
decNumber *inv=invbuff; //
|
|
2171
|
+
decNumber *inv=invbuff; // assume use fixed buffer
|
|
2172
2172
|
decNumberCopy(&dnOne, dac); // dnOne=1; [needed now or later]
|
|
2173
2173
|
#if DECSUBSET
|
|
2174
2174
|
if (set->extended) { // need to calculate 1/lhs
|
|
@@ -3798,7 +3798,7 @@ static void decToString(const decNumber *dn, char *string, Flag eng) {
|
|
|
3798
3798
|
/* */
|
|
3799
3799
|
/* Addition, especially x=x+1, is speed-critical. */
|
|
3800
3800
|
/* The static buffer is larger than might be expected to allow for */
|
|
3801
|
-
/* calls from higher-level
|
|
3801
|
+
/* calls from higher-level functions (notable exp). */
|
|
3802
3802
|
/* ------------------------------------------------------------------ */
|
|
3803
3803
|
static decNumber * decAddOp(decNumber *res, const decNumber *lhs,
|
|
3804
3804
|
const decNumber *rhs, decContext *set,
|
|
@@ -4212,7 +4212,7 @@ static decNumber * decAddOp(decNumber *res, const decNumber *lhs,
|
|
|
4212
4212
|
/* long subtractions. These are acc and var1 respectively. */
|
|
4213
4213
|
/* var1 is a copy of the lhs coefficient, var2 is the rhs coefficient.*/
|
|
4214
4214
|
/* The static buffers may be larger than might be expected to allow */
|
|
4215
|
-
/* for calls from higher-level
|
|
4215
|
+
/* for calls from higher-level functions (notable exp). */
|
|
4216
4216
|
/* ------------------------------------------------------------------ */
|
|
4217
4217
|
static decNumber * decDivideOp(decNumber *res,
|
|
4218
4218
|
const decNumber *lhs, const decNumber *rhs,
|
|
@@ -5203,7 +5203,7 @@ static decNumber * decMultiplyOp(decNumber *res, const decNumber *lhs,
|
|
|
5203
5203
|
/* exp(-x) where x can be the tiniest number (Ntiny). */
|
|
5204
5204
|
/* */
|
|
5205
5205
|
/* 2. Normalizing x to be <=0.1 (instead of <=1) reduces loop */
|
|
5206
|
-
/* iterations by
|
|
5206
|
+
/* iterations by approximately a third with additional (although */
|
|
5207
5207
|
/* diminishing) returns as the range is reduced to even smaller */
|
|
5208
5208
|
/* fractions. However, h (the power of 10 used to correct the */
|
|
5209
5209
|
/* result at the end, see below) must be kept <=8 as otherwise */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
cmake_minimum_required(VERSION 3.1)
|
|
1
|
+
cmake_minimum_required(VERSION 3.1...3.5)
|
|
2
2
|
project(oniguruma
|
|
3
|
-
VERSION 6.9.
|
|
3
|
+
VERSION 6.9.10
|
|
4
4
|
LANGUAGES C)
|
|
5
5
|
|
|
6
6
|
set(PACKAGE onig)
|
|
@@ -247,5 +247,7 @@ install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/onig-config
|
|
|
247
247
|
# Test
|
|
248
248
|
if(BUILD_TEST)
|
|
249
249
|
add_subdirectory(test)
|
|
250
|
-
|
|
250
|
+
if(CMAKE_COMPILER_IS_GNUCC)
|
|
251
|
+
add_subdirectory(windows)
|
|
252
|
+
endif()
|
|
251
253
|
endif(BUILD_TEST)
|
|
@@ -1,6 +1,37 @@
|
|
|
1
1
|
History
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
2024/XX/XX: Version 6.9.10
|
|
4
|
+
|
|
5
|
+
2024/11/18: fix #312: Build failure with GCC 15 (C23)
|
|
6
|
+
2024/09/11: Update to Unicode 16.0
|
|
7
|
+
2024/06/20: fix #290: retry limit in match == 0 means unlimited
|
|
8
|
+
2024/06/15: add new callout (*SKIP) #299
|
|
9
|
+
2024/06/05: add new behavior ONIG_SYN_ALLOW_CHAR_TYPE_FOLLOWED_BY_MINUS_IN_CC (#298)
|
|
10
|
+
2024/05/28: fix #296: ONIG_SYNTAX_EMACS doesn't support 'shy groups'
|
|
11
|
+
2024/05/24: fix #295: Invalid result for empty match with anchors
|
|
12
|
+
2024/04/03: fix #293: Literal escaped braces
|
|
13
|
+
2024/04/02: fix total call with whole options
|
|
14
|
+
2024/04/01: fix #292: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^* pattern
|
|
15
|
+
|
|
16
|
+
2023/10/14: Version 6.9.9
|
|
17
|
+
|
|
18
|
+
2023/09/17: Update to Unicode 15.1.0
|
|
19
|
+
2023/07/11: Make sure oniguruma.pc is removed on distclean
|
|
20
|
+
2023/05/20: fix #284: .{0,99} and .* behave differently on short input
|
|
21
|
+
2023/03/27: fix call by number (?n), (?+n), (?-n) of ONIG_SYNTAX_PERL_NG
|
|
22
|
+
2023/03/27: fix #282: Dynamic library generated failed to support '(?-i)'
|
|
23
|
+
2022/12/30: add a new behavior ONIG_SYN_BRE_ANCHOR_AT_EDGE_OF_SUBEXP
|
|
24
|
+
2022/11/16: Changed the behavior of the FIND_LONGEST option to follow all alternatives
|
|
25
|
+
2022/09/16: Update to Unicode 15.0.0
|
|
26
|
+
2022/08/30: add ONIG_OPTION_MATCH_WHOLE_STRING
|
|
27
|
+
2022/08/28: fix ctype punct in Unicode encodings
|
|
28
|
+
2022/08/28: fix #268: [[:punct:]] isn't matching all expected symbols. [[:punct:]] = \p{PosixPunct} = \p{P} + \p{S}
|
|
29
|
+
2022/06/25: Make the behavior of \p{Word} exactly the same as \w for ignorecase
|
|
30
|
+
2022/06/24: (?I) invalid results for charcter classes (Issue #264)
|
|
31
|
+
2022/06/15: fix negative POSIX bracket bug
|
|
32
|
+
2022/06/03: Build tests with cmake+msvc
|
|
33
|
+
|
|
34
|
+
2022/04/29: Version 6.9.8
|
|
4
35
|
|
|
5
36
|
2022/04/11: implement whole option: (?C)
|
|
6
37
|
2022/04/07: implement whole option: (?L)
|
|
@@ -717,7 +748,7 @@ History
|
|
|
717
748
|
Any, Assigned, C, Cc, L, Lm, Arabic, Greek etc...
|
|
718
749
|
2006/09/21: [impl] add USE_UNICODE_PROPERTIES into regenc.h.
|
|
719
750
|
2006/09/21: [impl] remove USE_UNICODE_FULL_RANGE_CTYPE.
|
|
720
|
-
2006/09/20: [impl] change ONIGENC_CTYPE_XXXX to
|
|
751
|
+
2006/09/20: [impl] change ONIGENC_CTYPE_XXXX to sequential values.
|
|
721
752
|
add BIT_CTYPE_XXXX bit flags to regenc.h.
|
|
722
753
|
update XXXX_CtypeTable[] for BIT_CTYPE_ALNUM.
|
|
723
754
|
2006/09/19: [memo] move from CVS to Subversion (1.3.2).
|
|
@@ -1179,7 +1210,7 @@ History
|
|
|
1179
1210
|
2004/12/16: [test] success in ruby 1.9.0 (2004-12-16) [i686-linux].
|
|
1180
1211
|
2004/12/16: [dist] update hash.c.patch.
|
|
1181
1212
|
2004/12/15: [bug] (thanks matz)
|
|
1182
|
-
char > 127 should be
|
|
1213
|
+
char > 127 should be cast to unsigned char. (utf8.c)
|
|
1183
1214
|
2004/12/13: [impl] add HAVE_PROTOTYPES and HAVE_STDARG_PROTOTYPES definition
|
|
1184
1215
|
to oniguruma.h in the case __cplusplus.
|
|
1185
1216
|
2004/12/06: [dist] update doc/RE and doc/RE.ja.
|
|
@@ -2086,7 +2117,7 @@ History
|
|
|
2086
2117
|
2003/03/08: [impl] remove check_backref_number().
|
|
2087
2118
|
2003/03/08: [bug] called group in 0-repeat should not be eliminated from
|
|
2088
2119
|
compile code. ex. /(?*n)(?<n>){0}/ (thanks akr)
|
|
2089
|
-
add
|
|
2120
|
+
add is_referred member to QualifierNode.
|
|
2090
2121
|
2003/03/07: [impl] use hash table(st.[ch]) for implementation of name table.
|
|
2091
2122
|
(enable on Ruby in default)
|
|
2092
2123
|
2003/03/07: [new] add regex_foreach_names().
|
|
@@ -2139,7 +2170,7 @@ History
|
|
|
2139
2170
|
if it is set, then error /(\1)/, /\1(..)/ etc...
|
|
2140
2171
|
2003/02/26: [spec] if backref number is greater than max group number,
|
|
2141
2172
|
then return compile error. (REGERR_INVALID_BACKREF_NUMBER)
|
|
2142
|
-
2003/02/26: [tune]
|
|
2173
|
+
2003/02/26: [tune] badly implemented N_ALT case in get_min_match_length().
|
|
2143
2174
|
2003/02/26: [dist] auto update testc.c and win32/testc.c in dist target.
|
|
2144
2175
|
2003/02/26: [impl] add -win option to testconv.rb.
|
|
2145
2176
|
2003/02/25: [spec] allow to assign same name to different group.
|
|
@@ -2259,7 +2290,7 @@ History
|
|
|
2259
2290
|
2003/01/18: [impl] change REGION_NOTPOS to REG_REGION_NOTPOS in regex.h.
|
|
2260
2291
|
2003/01/17: [dist] add sample/simple.c.
|
|
2261
2292
|
2003/01/17: [inst] add configure option --with-rubydir.
|
|
2262
|
-
2003/01/17: [bug]
|
|
2293
|
+
2003/01/17: [bug] badly implemented POSIX API options.
|
|
2263
2294
|
default: /./ not match "\n", anchor not match "\n"
|
|
2264
2295
|
REG_NEWLINE: /./ not match "\n", anchor match "\n"
|
|
2265
2296
|
2003/01/16: [impl] rewrite POSIX API regexec() for speed up.
|
|
@@ -2453,10 +2484,17 @@ cvs history -T
|
|
|
2453
2484
|
cvs rtag "VERSION_X_X_X" oniguruma
|
|
2454
2485
|
|
|
2455
2486
|
|
|
2487
|
+
<Homebrew install autotools>
|
|
2488
|
+
> brew install autoconf
|
|
2489
|
+
> brew install automake
|
|
2490
|
+
> brew install libtool
|
|
2491
|
+
|
|
2492
|
+
|
|
2456
2493
|
<GNU Autotools: bootstrap>
|
|
2457
2494
|
* write Makefile.am and configure.in.
|
|
2495
|
+
> libtoolize or glibtoolize
|
|
2458
2496
|
> aclocal
|
|
2459
|
-
>
|
|
2497
|
+
> autoheader
|
|
2460
2498
|
> automake --foreign --add-missing
|
|
2461
2499
|
> autoconf
|
|
2462
2500
|
> configure --with-rubydir=... CFLAGS="-O2 -Wall"
|
|
@@ -11,7 +11,7 @@ EXTRA_DIST = oniguruma.pc.in HISTORY README_japanese README.md \
|
|
|
11
11
|
doc/API doc/API.ja doc/RE doc/RE.ja doc/FAQ doc/FAQ.ja \
|
|
12
12
|
doc/CALLOUTS.BUILTIN doc/CALLOUTS.BUILTIN.ja \
|
|
13
13
|
doc/CALLOUTS.API doc/CALLOUTS.API.ja \
|
|
14
|
-
doc/SYNTAX.md doc/UNICODE_PROPERTIES \
|
|
14
|
+
doc/SYNTAX.md doc/onig_syn_md.c doc/UNICODE_PROPERTIES \
|
|
15
15
|
src/Makefile.windows src/config.h.windows.in \
|
|
16
16
|
src/config.h.win32 src/config.h.win64 \
|
|
17
17
|
test/test.sh test/CMakeLists.txt \
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
[](https://travis-ci.org/kkos/oniguruma)
|
|
2
1
|
[](https://oss-fuzz-build-logs.storage.googleapis.com/index.html#oniguruma)
|
|
3
|
-
[](https://ci.trust-in-soft.com/projects/kkos/oniguruma)
|
|
4
2
|
|
|
5
3
|
Oniguruma
|
|
6
4
|
=========
|
|
7
5
|
|
|
8
|
-
## **
|
|
6
|
+
## **The only open source software attacked on Google search in Japan.** [(Issue #234)](https://github.com/kkos/oniguruma/issues/234)
|
|
9
7
|
|
|
10
8
|
|
|
11
9
|
https://github.com/kkos/oniguruma
|
|
@@ -35,9 +33,16 @@ Notice (from 6.9.6)
|
|
|
35
33
|
When using configure script, if you have the POSIX API enabled in an earlier version (disabled by default in 6.9.5) and you need application binary compatibility with the POSIX API, specify "--enable-binary-compatible-posix-api=yes" instead of "--enable-posix-api=yes". Starting in 6.9.6, "--enable-posix-api=yes" only supports source-level compatibility for 6.9.5 and earlier about POSIX API. (Issue #210)
|
|
36
34
|
|
|
37
35
|
|
|
38
|
-
|
|
36
|
+
Version 6.9.10
|
|
37
|
+
--------------
|
|
38
|
+
* Update Unicode version 16.0
|
|
39
|
+
* Add new operator (*SKIP)
|
|
40
|
+
* Fixed: ONIG_SYN_CONTEXT_INDEP_REPEAT_OPS not working for ^* pattern (Issue #292)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Version 6.9.9
|
|
39
44
|
-------------
|
|
40
|
-
* Update Unicode version 15.
|
|
45
|
+
* Update Unicode version 15.1.0
|
|
41
46
|
* NEW API: ONIG_OPTION_MATCH_WHOLE_STRING
|
|
42
47
|
* Fixed: (?I) option was not enabled for character classes (Issue #264).
|
|
43
48
|
* Changed specification to check for incorrect POSIX bracket (Issue #253).
|
|
@@ -75,24 +80,6 @@ Version 6.9.6
|
|
|
75
80
|
* Under cygwin and mingw, generate and install the libonig.def file (Issue #220)
|
|
76
81
|
|
|
77
82
|
|
|
78
|
-
Version 6.9.5 revised 1
|
|
79
|
-
-----------------------
|
|
80
|
-
|
|
81
|
-
* Fixed Issue #192
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
Version 6.9.5
|
|
85
|
-
-------------
|
|
86
|
-
|
|
87
|
-
* POSIX API disabled by default for Unix (* Enabled by: configure --enable-posix-api=yes)
|
|
88
|
-
* Update Unicode version 13.0.0
|
|
89
|
-
* NEW: Code point sequence notation \x{HHHH HHHH ...}, \o{OOOO OOOO ...}
|
|
90
|
-
* NEW API: retry limit in search functions
|
|
91
|
-
* NEW API: maximum nesting level of subexp call
|
|
92
|
-
* Fixed behavior of isolated options in Perl and Java syntaxes. /...(?i).../
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
83
|
License
|
|
97
84
|
-------
|
|
98
85
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Wrapper for compilers which do not understand '-c -o'.
|
|
3
3
|
|
|
4
|
-
scriptversion=
|
|
4
|
+
scriptversion=2025-06-18.21; # UTC
|
|
5
5
|
|
|
6
|
-
# Copyright (C) 1999-
|
|
6
|
+
# Copyright (C) 1999-2025 Free Software Foundation, Inc.
|
|
7
7
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
|
8
8
|
#
|
|
9
9
|
# This program is free software; you can redistribute it and/or modify
|
|
@@ -37,11 +37,11 @@ IFS=" "" $nl"
|
|
|
37
37
|
|
|
38
38
|
file_conv=
|
|
39
39
|
|
|
40
|
-
# func_file_conv build_file
|
|
40
|
+
# func_file_conv build_file unneeded_conversions
|
|
41
41
|
# Convert a $build file to $host form and store it in $file
|
|
42
42
|
# Currently only supports Windows hosts. If the determined conversion
|
|
43
|
-
# type is listed in (the comma separated)
|
|
44
|
-
# take place.
|
|
43
|
+
# type is listed in (the comma separated) UNNEEDED_CONVERSIONS, no
|
|
44
|
+
# conversion will take place.
|
|
45
45
|
func_file_conv ()
|
|
46
46
|
{
|
|
47
47
|
file=$1
|
|
@@ -51,9 +51,20 @@ func_file_conv ()
|
|
|
51
51
|
# lazily determine how to convert abs files
|
|
52
52
|
case `uname -s` in
|
|
53
53
|
MINGW*)
|
|
54
|
-
|
|
54
|
+
if test -n "$MSYSTEM" && (cygpath --version) >/dev/null 2>&1; then
|
|
55
|
+
# MSYS2 environment.
|
|
56
|
+
file_conv=cygwin
|
|
57
|
+
else
|
|
58
|
+
# Original MinGW environment.
|
|
59
|
+
file_conv=mingw
|
|
60
|
+
fi
|
|
55
61
|
;;
|
|
56
|
-
|
|
62
|
+
MSYS*)
|
|
63
|
+
# Old MSYS environment, or MSYS2 with 32-bit MSYS2 shell.
|
|
64
|
+
file_conv=cygwin
|
|
65
|
+
;;
|
|
66
|
+
CYGWIN*)
|
|
67
|
+
# Cygwin environment.
|
|
57
68
|
file_conv=cygwin
|
|
58
69
|
;;
|
|
59
70
|
*)
|
|
@@ -63,12 +74,14 @@ func_file_conv ()
|
|
|
63
74
|
fi
|
|
64
75
|
case $file_conv/,$2, in
|
|
65
76
|
*,$file_conv,*)
|
|
77
|
+
# This is the optimization mentioned above:
|
|
78
|
+
# If UNNEEDED_CONVERSIONS contains $file_conv, don't convert.
|
|
66
79
|
;;
|
|
67
80
|
mingw/*)
|
|
68
81
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
|
69
82
|
;;
|
|
70
|
-
cygwin/*
|
|
71
|
-
file=`cygpath -
|
|
83
|
+
cygwin/*)
|
|
84
|
+
file=`cygpath -w "$file" || echo "$file"`
|
|
72
85
|
;;
|
|
73
86
|
wine/*)
|
|
74
87
|
file=`winepath -w "$file" || echo "$file"`
|
|
@@ -143,7 +156,7 @@ func_cl_wrapper ()
|
|
|
143
156
|
# configure might choose to run compile as 'compile cc -o foo foo.c'.
|
|
144
157
|
eat=1
|
|
145
158
|
case $2 in
|
|
146
|
-
*.o | *.[oO][bB][jJ])
|
|
159
|
+
*.o | *.lo | *.[oO][bB][jJ])
|
|
147
160
|
func_file_conv "$2"
|
|
148
161
|
set x "$@" -Fo"$file"
|
|
149
162
|
shift
|
|
@@ -248,14 +261,17 @@ If you are trying to build a whole package this is not the
|
|
|
248
261
|
right script to run: please start by reading the file 'INSTALL'.
|
|
249
262
|
|
|
250
263
|
Report bugs to <bug-automake@gnu.org>.
|
|
264
|
+
GNU Automake home page: <https://www.gnu.org/software/automake/>.
|
|
265
|
+
General help using GNU software: <https://www.gnu.org/gethelp/>.
|
|
251
266
|
EOF
|
|
252
267
|
exit $?
|
|
253
268
|
;;
|
|
254
269
|
-v | --v*)
|
|
255
|
-
echo "compile $scriptversion"
|
|
270
|
+
echo "compile (GNU Automake) $scriptversion"
|
|
256
271
|
exit $?
|
|
257
272
|
;;
|
|
258
273
|
cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
|
|
274
|
+
clang-cl | *[/\\]clang-cl | clang-cl.exe | *[/\\]clang-cl.exe | \
|
|
259
275
|
icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
|
|
260
276
|
func_cl_wrapper "$@" # Doesn't return...
|
|
261
277
|
;;
|
|
@@ -340,9 +356,9 @@ exit $ret
|
|
|
340
356
|
# Local Variables:
|
|
341
357
|
# mode: shell-script
|
|
342
358
|
# sh-indentation: 2
|
|
343
|
-
# eval: (add-hook 'before-save-hook 'time-stamp)
|
|
359
|
+
# eval: (add-hook 'before-save-hook 'time-stamp nil t)
|
|
344
360
|
# time-stamp-start: "scriptversion="
|
|
345
|
-
# time-stamp-format: "
|
|
361
|
+
# time-stamp-format: "%Y-%02m-%02d.%02H"
|
|
346
362
|
# time-stamp-time-zone: "UTC0"
|
|
347
363
|
# time-stamp-end: "; # UTC"
|
|
348
364
|
# End:
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#! /bin/sh
|
|
2
2
|
# Attempt to guess a canonical system name.
|
|
3
|
-
# Copyright 1992-
|
|
3
|
+
# Copyright 1992-2025 Free Software Foundation, Inc.
|
|
4
4
|
|
|
5
5
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
|
6
6
|
|
|
7
|
-
timestamp='
|
|
7
|
+
timestamp='2025-07-10'
|
|
8
8
|
|
|
9
9
|
# This file is free software; you can redistribute it and/or modify it
|
|
10
10
|
# under the terms of the GNU General Public License as published by
|
|
@@ -47,7 +47,7 @@ me=`echo "$0" | sed -e 's,.*/,,'`
|
|
|
47
47
|
usage="\
|
|
48
48
|
Usage: $0 [OPTION]
|
|
49
49
|
|
|
50
|
-
Output the configuration name of the system
|
|
50
|
+
Output the configuration name of the system '$me' is run on.
|
|
51
51
|
|
|
52
52
|
Options:
|
|
53
53
|
-h, --help print this help, then exit
|
|
@@ -60,13 +60,13 @@ version="\
|
|
|
60
60
|
GNU config.guess ($timestamp)
|
|
61
61
|
|
|
62
62
|
Originally written by Per Bothner.
|
|
63
|
-
Copyright 1992-
|
|
63
|
+
Copyright 1992-2025 Free Software Foundation, Inc.
|
|
64
64
|
|
|
65
65
|
This is free software; see the source for copying conditions. There is NO
|
|
66
66
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
|
67
67
|
|
|
68
68
|
help="
|
|
69
|
-
Try
|
|
69
|
+
Try '$me --help' for more information."
|
|
70
70
|
|
|
71
71
|
# Parse command line
|
|
72
72
|
while test $# -gt 0 ; do
|
|
@@ -102,8 +102,8 @@ GUESS=
|
|
|
102
102
|
# temporary files to be created and, as you can see below, it is a
|
|
103
103
|
# headache to deal with in a portable fashion.
|
|
104
104
|
|
|
105
|
-
# Historically,
|
|
106
|
-
# use
|
|
105
|
+
# Historically, 'CC_FOR_BUILD' used to be named 'HOST_CC'. We still
|
|
106
|
+
# use 'HOST_CC' if defined, but it is deprecated.
|
|
107
107
|
|
|
108
108
|
# Portable tmp directory creation inspired by the Autoconf team.
|
|
109
109
|
|
|
@@ -123,7 +123,7 @@ set_cc_for_build() {
|
|
|
123
123
|
dummy=$tmp/dummy
|
|
124
124
|
case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
|
|
125
125
|
,,) echo "int x;" > "$dummy.c"
|
|
126
|
-
for driver in cc gcc
|
|
126
|
+
for driver in cc gcc c17 c99 c89 ; do
|
|
127
127
|
if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
|
|
128
128
|
CC_FOR_BUILD=$driver
|
|
129
129
|
break
|
|
@@ -155,6 +155,9 @@ Linux|GNU|GNU/*)
|
|
|
155
155
|
|
|
156
156
|
set_cc_for_build
|
|
157
157
|
cat <<-EOF > "$dummy.c"
|
|
158
|
+
#if defined(__ANDROID__)
|
|
159
|
+
LIBC=android
|
|
160
|
+
#else
|
|
158
161
|
#include <features.h>
|
|
159
162
|
#if defined(__UCLIBC__)
|
|
160
163
|
LIBC=uclibc
|
|
@@ -162,6 +165,8 @@ Linux|GNU|GNU/*)
|
|
|
162
165
|
LIBC=dietlibc
|
|
163
166
|
#elif defined(__GLIBC__)
|
|
164
167
|
LIBC=gnu
|
|
168
|
+
#elif defined(__LLVM_LIBC__)
|
|
169
|
+
LIBC=llvm
|
|
165
170
|
#else
|
|
166
171
|
#include <stdarg.h>
|
|
167
172
|
/* First heuristic to detect musl libc. */
|
|
@@ -169,6 +174,7 @@ Linux|GNU|GNU/*)
|
|
|
169
174
|
LIBC=musl
|
|
170
175
|
#endif
|
|
171
176
|
#endif
|
|
177
|
+
#endif
|
|
172
178
|
EOF
|
|
173
179
|
cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
|
|
174
180
|
eval "$cc_set_libc"
|
|
@@ -459,7 +465,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
|
|
|
459
465
|
UNAME_RELEASE=`uname -v`
|
|
460
466
|
;;
|
|
461
467
|
esac
|
|
462
|
-
# Japanese Language versions have a version number like
|
|
468
|
+
# Japanese Language versions have a version number like '4.1.3-JL'.
|
|
463
469
|
SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
|
|
464
470
|
GUESS=sparc-sun-sunos$SUN_REL
|
|
465
471
|
;;
|
|
@@ -628,7 +634,8 @@ EOF
|
|
|
628
634
|
sed 's/^ //' << EOF > "$dummy.c"
|
|
629
635
|
#include <sys/systemcfg.h>
|
|
630
636
|
|
|
631
|
-
|
|
637
|
+
int
|
|
638
|
+
main ()
|
|
632
639
|
{
|
|
633
640
|
if (!__power_pc())
|
|
634
641
|
exit(1);
|
|
@@ -712,7 +719,8 @@ EOF
|
|
|
712
719
|
#include <stdlib.h>
|
|
713
720
|
#include <unistd.h>
|
|
714
721
|
|
|
715
|
-
int
|
|
722
|
+
int
|
|
723
|
+
main ()
|
|
716
724
|
{
|
|
717
725
|
#if defined(_SC_KERNEL_BITS)
|
|
718
726
|
long bits = sysconf(_SC_KERNEL_BITS);
|
|
@@ -904,7 +912,7 @@ EOF
|
|
|
904
912
|
fi
|
|
905
913
|
;;
|
|
906
914
|
*:FreeBSD:*:*)
|
|
907
|
-
UNAME_PROCESSOR
|
|
915
|
+
UNAME_PROCESSOR=`uname -p`
|
|
908
916
|
case $UNAME_PROCESSOR in
|
|
909
917
|
amd64)
|
|
910
918
|
UNAME_PROCESSOR=x86_64 ;;
|
|
@@ -966,11 +974,37 @@ EOF
|
|
|
966
974
|
GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
|
|
967
975
|
GUESS=$UNAME_MACHINE-unknown-$GNU_SYS$GNU_REL-$LIBC
|
|
968
976
|
;;
|
|
977
|
+
x86_64:[Mm]anagarm:*:*|i?86:[Mm]anagarm:*:*)
|
|
978
|
+
GUESS="$UNAME_MACHINE-pc-managarm-mlibc"
|
|
979
|
+
;;
|
|
980
|
+
*:[Mm]anagarm:*:*)
|
|
981
|
+
GUESS="$UNAME_MACHINE-unknown-managarm-mlibc"
|
|
982
|
+
;;
|
|
969
983
|
*:Minix:*:*)
|
|
970
984
|
GUESS=$UNAME_MACHINE-unknown-minix
|
|
971
985
|
;;
|
|
972
986
|
aarch64:Linux:*:*)
|
|
973
|
-
|
|
987
|
+
set_cc_for_build
|
|
988
|
+
CPU=$UNAME_MACHINE
|
|
989
|
+
LIBCABI=$LIBC
|
|
990
|
+
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
|
991
|
+
ABI=64
|
|
992
|
+
sed 's/^ //' << EOF > "$dummy.c"
|
|
993
|
+
#ifdef __ARM_EABI__
|
|
994
|
+
#ifdef __ARM_PCS_VFP
|
|
995
|
+
ABI=eabihf
|
|
996
|
+
#else
|
|
997
|
+
ABI=eabi
|
|
998
|
+
#endif
|
|
999
|
+
#endif
|
|
1000
|
+
EOF
|
|
1001
|
+
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
|
1002
|
+
eval "$cc_set_abi"
|
|
1003
|
+
case $ABI in
|
|
1004
|
+
eabi | eabihf) CPU=armv8l; LIBCABI=$LIBC$ABI ;;
|
|
1005
|
+
esac
|
|
1006
|
+
fi
|
|
1007
|
+
GUESS=$CPU-unknown-linux-$LIBCABI
|
|
974
1008
|
;;
|
|
975
1009
|
aarch64_be:Linux:*:*)
|
|
976
1010
|
UNAME_MACHINE=aarch64_be
|
|
@@ -1036,7 +1070,16 @@ EOF
|
|
|
1036
1070
|
k1om:Linux:*:*)
|
|
1037
1071
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
|
1038
1072
|
;;
|
|
1039
|
-
|
|
1073
|
+
kvx:Linux:*:*)
|
|
1074
|
+
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
|
1075
|
+
;;
|
|
1076
|
+
kvx:cos:*:*)
|
|
1077
|
+
GUESS=$UNAME_MACHINE-unknown-cos
|
|
1078
|
+
;;
|
|
1079
|
+
kvx:mbr:*:*)
|
|
1080
|
+
GUESS=$UNAME_MACHINE-unknown-mbr
|
|
1081
|
+
;;
|
|
1082
|
+
loongarch32:Linux:*:* | loongarch64:Linux:*:*)
|
|
1040
1083
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
|
1041
1084
|
;;
|
|
1042
1085
|
m32r*:Linux:*:*)
|
|
@@ -1151,16 +1194,27 @@ EOF
|
|
|
1151
1194
|
;;
|
|
1152
1195
|
x86_64:Linux:*:*)
|
|
1153
1196
|
set_cc_for_build
|
|
1197
|
+
CPU=$UNAME_MACHINE
|
|
1154
1198
|
LIBCABI=$LIBC
|
|
1155
1199
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1200
|
+
ABI=64
|
|
1201
|
+
sed 's/^ //' << EOF > "$dummy.c"
|
|
1202
|
+
#ifdef __i386__
|
|
1203
|
+
ABI=x86
|
|
1204
|
+
#else
|
|
1205
|
+
#ifdef __ILP32__
|
|
1206
|
+
ABI=x32
|
|
1207
|
+
#endif
|
|
1208
|
+
#endif
|
|
1209
|
+
EOF
|
|
1210
|
+
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
|
1211
|
+
eval "$cc_set_abi"
|
|
1212
|
+
case $ABI in
|
|
1213
|
+
x86) CPU=i686 ;;
|
|
1214
|
+
x32) LIBCABI=${LIBC}x32 ;;
|
|
1215
|
+
esac
|
|
1162
1216
|
fi
|
|
1163
|
-
GUESS=$
|
|
1217
|
+
GUESS=$CPU-pc-linux-$LIBCABI
|
|
1164
1218
|
;;
|
|
1165
1219
|
xtensa*:Linux:*:*)
|
|
1166
1220
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
|
@@ -1180,7 +1234,7 @@ EOF
|
|
|
1180
1234
|
GUESS=$UNAME_MACHINE-pc-sysv4.2uw$UNAME_VERSION
|
|
1181
1235
|
;;
|
|
1182
1236
|
i*86:OS/2:*:*)
|
|
1183
|
-
# If we were able to find
|
|
1237
|
+
# If we were able to find 'uname', then EMX Unix compatibility
|
|
1184
1238
|
# is probably installed.
|
|
1185
1239
|
GUESS=$UNAME_MACHINE-pc-os2-emx
|
|
1186
1240
|
;;
|
|
@@ -1321,7 +1375,7 @@ EOF
|
|
|
1321
1375
|
GUESS=ns32k-sni-sysv
|
|
1322
1376
|
fi
|
|
1323
1377
|
;;
|
|
1324
|
-
PENTIUM:*:4.0*:*) # Unisys
|
|
1378
|
+
PENTIUM:*:4.0*:*) # Unisys 'ClearPath HMP IX 4000' SVR4/MP effort
|
|
1325
1379
|
# says <Richard.M.Bartel@ccMail.Census.GOV>
|
|
1326
1380
|
GUESS=i586-unisys-sysv4
|
|
1327
1381
|
;;
|
|
@@ -1367,8 +1421,11 @@ EOF
|
|
|
1367
1421
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
|
1368
1422
|
GUESS=i586-pc-haiku
|
|
1369
1423
|
;;
|
|
1370
|
-
|
|
1371
|
-
GUESS=
|
|
1424
|
+
ppc:Haiku:*:*) # Haiku running on Apple PowerPC
|
|
1425
|
+
GUESS=powerpc-apple-haiku
|
|
1426
|
+
;;
|
|
1427
|
+
*:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
|
|
1428
|
+
GUESS=$UNAME_MACHINE-unknown-haiku
|
|
1372
1429
|
;;
|
|
1373
1430
|
SX-4:SUPER-UX:*:*)
|
|
1374
1431
|
GUESS=sx4-nec-superux$UNAME_RELEASE
|
|
@@ -1540,6 +1597,12 @@ EOF
|
|
|
1540
1597
|
*:Unleashed:*:*)
|
|
1541
1598
|
GUESS=$UNAME_MACHINE-unknown-unleashed$UNAME_RELEASE
|
|
1542
1599
|
;;
|
|
1600
|
+
x86_64:[Ii]ronclad:*:*|i?86:[Ii]ronclad:*:*)
|
|
1601
|
+
GUESS=$UNAME_MACHINE-pc-ironclad-mlibc
|
|
1602
|
+
;;
|
|
1603
|
+
*:[Ii]ronclad:*:*)
|
|
1604
|
+
GUESS=$UNAME_MACHINE-unknown-ironclad-mlibc
|
|
1605
|
+
;;
|
|
1543
1606
|
esac
|
|
1544
1607
|
|
|
1545
1608
|
# Do we have a guess based on uname results?
|
|
@@ -1563,6 +1626,7 @@ cat > "$dummy.c" <<EOF
|
|
|
1563
1626
|
#endif
|
|
1564
1627
|
#endif
|
|
1565
1628
|
#endif
|
|
1629
|
+
int
|
|
1566
1630
|
main ()
|
|
1567
1631
|
{
|
|
1568
1632
|
#if defined (sony)
|
|
@@ -1747,8 +1811,8 @@ fi
|
|
|
1747
1811
|
exit 1
|
|
1748
1812
|
|
|
1749
1813
|
# Local variables:
|
|
1750
|
-
# eval: (add-hook 'before-save-hook 'time-stamp)
|
|
1814
|
+
# eval: (add-hook 'before-save-hook 'time-stamp nil t)
|
|
1751
1815
|
# time-stamp-start: "timestamp='"
|
|
1752
|
-
# time-stamp-format: "
|
|
1816
|
+
# time-stamp-format: "%Y-%02m-%02d"
|
|
1753
1817
|
# time-stamp-end: "'"
|
|
1754
1818
|
# End:
|