[chore] update dependencies (#4361)

- codeberg.org/gruf/go-kv/v2 v2.0.5 => v2.0.6
- github.com/coreos/go-oidc/v3 v3.14.1 => v3.15.0
- github.com/miekg/dns v1.1.67 => v1.1.68
- github.com/tdewolff/minify/v2 v2.23.9 => v2.23.11
- github.com/yuin/goldmark v1.7.12 => v1.7.13
- golang.org/x/crypto v0.40.0 => v0.41.0
- golang.org/x/image v0.29.0 => v0.30.0
- golang.org/x/net v0.42.0 => v0.43.0
- golang.org/x/sys v0.34.0 => v0.35.0
- golang.org/x/text v0.27.0 => v0.28.0
- modernc.org/sqlite v1.38.0 => v1.38.2

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4361
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
This commit is contained in:
kim 2025-08-10 15:05:54 +02:00 committed by kim
commit 67100809b3
111 changed files with 49874 additions and 40191 deletions

1
vendor/modernc.org/libc/AUTHORS generated vendored
View file

@ -13,6 +13,7 @@ Dan Peterson <danp@danp.net>
Fabrice Colliot <f.colliot@gmail.com>
Jan Mercl <0xjnml@gmail.com>
Jason DeBettencourt <jasond17@gmail.com>
Jasper Siepkes <jasper@siepkes.nl>
Koichi Shiraishi <zchee.io@gmail.com>
Marius Orcsik <marius@federated.id>
Patricio Whittingslow <graded.sp@gmail.com>

View file

@ -13,6 +13,7 @@ Fabrice Colliot <f.colliot@gmail.com>
Jaap Aarts <jaap.aarts1@gmail.com>
Jan Mercl <0xjnml@gmail.com>
Jason DeBettencourt <jasond17@gmail.com>
Jasper Siepkes <jasper@siepkes.nl>
Koichi Shiraishi <zchee.io@gmail.com>
Marius Orcsik <marius@federated.id>
Patricio Whittingslow <graded.sp@gmail.com>
@ -20,4 +21,4 @@ Roman Khafizianov <roman@any.org>
Scot C Bontrager <scot@indievisible.org>
Steffen Butzer <steffen(dot)butzer@outlook.com>
W. Michael Petullo <mike@flyn.org>
ZHU Zijia <piggynl@outlook.com>
ZHU Zijia <piggynl@outlook.com>

1
vendor/modernc.org/libc/Makefile generated vendored
View file

@ -39,6 +39,7 @@ editor:
go test -c -o /dev/null
go build -o /dev/null -v generator*.go
go build -o /dev/null -v genasm.go
go vet 2>&1 | grep -n 'asm_' || true
generate: download
mkdir -p $(DIR) || true

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -17,6 +17,9 @@ do
echo "GOOS=freebsd GOARCH=arm64"
GOOS=freebsd GOARCH=arm64 go build -tags=$tag -v ./...
GOOS=freebsd GOARCH=arm64 go test -tags=$tag -c -o /dev/null
echo "GOOS=illumos GOARCH=amd64"
GOOS=illumos GOARCH=amd64 go build -tags=$tag -v ./...
GOOS=illumos GOARCH=amd64 go test -tags=$tag -c -o /dev/null
#TODO echo "GOOS=freebsd GOARCH=arm"
#TODO GOOS=freebsd GOARCH=arm go build -tags=$tag -v ./...
#TODO GOOS=freebsd GOARCH=arm go test -tags=$tag -c -o /dev/null

View file

@ -162,6 +162,7 @@ const __DBL_DIG__ = 15
const __DBL_HAS_DENORM__ = 1
const __DBL_HAS_INFINITY__ = 1
const __DBL_HAS_QUIET_NAN__ = 1
const __DBL_IS_IEC_60559__ = 2
const __DBL_MANT_DIG__ = 53
const __DBL_MAX_10_EXP__ = 308
const __DBL_MAX_EXP__ = 1024
@ -200,6 +201,7 @@ const __FLT32X_EPSILON__ = 0
const __FLT32X_HAS_DENORM__ = 1
const __FLT32X_HAS_INFINITY__ = 1
const __FLT32X_HAS_QUIET_NAN__ = 1
const __FLT32X_IS_IEC_60559__ = 2
const __FLT32X_MANT_DIG__ = 53
const __FLT32X_MAX_10_EXP__ = 308
const __FLT32X_MAX_EXP__ = 1024
@ -215,6 +217,7 @@ const __FLT32_EPSILON__ = 0
const __FLT32_HAS_DENORM__ = 1
const __FLT32_HAS_INFINITY__ = 1
const __FLT32_HAS_QUIET_NAN__ = 1
const __FLT32_IS_IEC_60559__ = 2
const __FLT32_MANT_DIG__ = 24
const __FLT32_MAX_10_EXP__ = 38
const __FLT32_MAX_EXP__ = 128
@ -230,6 +233,7 @@ const __FLT64_EPSILON__ = 0
const __FLT64_HAS_DENORM__ = 1
const __FLT64_HAS_INFINITY__ = 1
const __FLT64_HAS_QUIET_NAN__ = 1
const __FLT64_IS_IEC_60559__ = 2
const __FLT64_MANT_DIG__ = 53
const __FLT64_MAX_10_EXP__ = 308
const __FLT64_MAX_EXP__ = 1024
@ -247,6 +251,7 @@ const __FLT_EVAL_METHOD__ = 1
const __FLT_HAS_DENORM__ = 1
const __FLT_HAS_INFINITY__ = 1
const __FLT_HAS_QUIET_NAN__ = 1
const __FLT_IS_IEC_60559__ = 2
const __FLT_MANT_DIG__ = 24
const __FLT_MAX_10_EXP__ = 38
const __FLT_MAX_EXP__ = 128
@ -282,11 +287,13 @@ const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 = 1
const __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 = 1
const __GCC_IEC_559 = 2
const __GCC_IEC_559_COMPLEX = 2
const __GNUC_EXECUTION_CHARSET_NAME = "UTF-8"
const __GNUC_MINOR__ = 2
const __GNUC_PATCHLEVEL__ = 1
const __GNUC_PATCHLEVEL__ = 0
const __GNUC_STDC_INLINE__ = 1
const __GNUC__ = 10
const __GXX_ABI_VERSION = 1014
const __GNUC_WIDE_EXECUTION_CHARSET_NAME = "UTF-32BE"
const __GNUC__ = 12
const __GXX_ABI_VERSION = 1017
const __HAVE_SPECULATION_SAFE_VALUE = 1
const __INT16_MAX__ = 32767
const __INT32_MAX__ = 2147483647
@ -323,6 +330,7 @@ const __LDBL_EPSILON__ = 0
const __LDBL_HAS_DENORM__ = 1
const __LDBL_HAS_INFINITY__ = 1
const __LDBL_HAS_QUIET_NAN__ = 1
const __LDBL_IS_IEC_60559__ = 2
const __LDBL_MANT_DIG__ = 53
const __LDBL_MAX_10_EXP__ = 308
const __LDBL_MAX_EXP__ = 1024
@ -391,7 +399,7 @@ const __UINT_LEAST32_MAX__ = 4294967295
const __UINT_LEAST64_MAX__ = 18446744073709551615
const __UINT_LEAST8_MAX__ = 255
const __USE_TIME_BITS64 = 1
const __VERSION__ = "10.2.1 20210110"
const __VERSION__ = "12.2.0"
const __WCHAR_MAX__ = 2147483647
const __WCHAR_MIN__ = -2147483648
const __WCHAR_TYPE__ = 0

2
vendor/modernc.org/libc/etc.go generated vendored
View file

@ -13,7 +13,6 @@ import (
"path/filepath"
"reflect"
"runtime"
"runtime/debug"
"sort"
"strconv"
"strings"
@ -99,7 +98,6 @@ func todo(s string, args ...interface{}) string { //TODO-
dmesg("%s", r)
}
fmt.Fprintf(os.Stdout, "%s\n", r)
fmt.Fprintf(os.Stdout, "%s\n", debug.Stack()) //TODO-
os.Stdout.Sync()
os.Exit(1)
panic("unrechable")

View file

@ -921,7 +921,23 @@ func Xfileno(t *TLS, stream uintptr) int32 {
if __ccgo_strace {
trc("t=%v stream=%v, (%v:)", t, stream, origin(2))
}
panic(todo(""))
if stream == 0 {
if dmesgs {
dmesg("%v: FAIL", origin(1))
}
t.setErrno(errno.EBADF)
return -1
}
if fd := int32((*stdio.FILE)(unsafe.Pointer(stream)).F_file); fd >= 0 {
return fd
}
if dmesgs {
dmesg("%v: FAIL", origin(1))
}
t.setErrno(errno.EBADF)
return -1
}
func newCFtsent(t *TLS, info int, path string, stat *unix.Stat_t, err syscallErrno) uintptr {

View file

@ -12,6 +12,7 @@ import (
"os/exec"
"path/filepath"
"runtime"
// "runtime/debug"
"time"
"unsafe"
@ -26,6 +27,7 @@ import (
"modernc.org/libc/limits"
"modernc.org/libc/netdb"
"modernc.org/libc/netinet/in"
// "modernc.org/libc/signal"
"modernc.org/libc/stdio"
"modernc.org/libc/sys/socket"
@ -55,6 +57,8 @@ type (
type file uintptr
type Tsize_t = types.Size_t
func (f file) fd() int32 {
panic(todo(""))
// return (*stdio.FILE)(unsafe.Pointer(f)).F_fileno
@ -2102,3 +2106,10 @@ func Xclock_gettime(t *TLS, clk_id int32, tp uintptr) int32 {
}
panic(todo(""))
}
func Xgmtime_r(tls *TLS, t uintptr, tm uintptr) (r uintptr) {
if __ccgo_strace {
trc("tls=%v t=%v tm=%v, (%v:)", tls, t, tm, origin(2))
}
panic(todo(""))
}

31
vendor/modernc.org/libc/libc_unix.go generated vendored
View file

@ -1298,21 +1298,6 @@ func Xstrftime(tls *TLS, s uintptr, n size_t, f uintptr, tm uintptr) (r size_t)
}
func Xgmtime_r(tls *TLS, t uintptr, tm uintptr) (r uintptr) {
if __ccgo_strace {
trc("tls=%v t=%v tm=%v, (%v:)", tls, t, tm, origin(2))
defer func() { trc("-> %v", r) }()
}
if x___secs_to_tm(tls, int64(*(*time_t)(unsafe.Pointer(t))), tm) < 0 {
*(*int32)(unsafe.Pointer(X__errno_location(tls))) = int32(errno.EOVERFLOW)
return uintptr(0)
}
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_isdst = 0
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_gmtoff = 0
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_zone = uintptr(unsafe.Pointer(&x___utc))
return tm
}
func x___secs_to_tm(tls *TLS, t int64, tm uintptr) (r int32) {
var c_cycles, leap, months, q_cycles, qc_cycles, remdays, remsecs, remyears, wday, yday int32
var days, secs, years int64
@ -1386,19 +1371,3 @@ func x___secs_to_tm(tls *TLS, t int64, tm uintptr) (r int32) {
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_sec = remsecs % int32(60)
return 0
}
// int clock_gettime(clockid_t clk_id, struct timespec *tp);
func Xclock_gettime(t *TLS, clk_id int32, tp uintptr) int32 {
if __ccgo_strace {
trc("t=%v clk_id=%v tp=%v, (%v:)", t, clk_id, tp, origin(2))
}
var ts unix.Timespec
if err := unix.ClockGettime(clk_id, &ts); err != nil {
t.setErrno(err)
trc("FAIL: %v", err)
return -1
}
*(*unix.Timespec)(unsafe.Pointer(tp)) = ts
return 0
}

46
vendor/modernc.org/libc/libc_unix3.go generated vendored Normal file
View file

@ -0,0 +1,46 @@
// Copyright 2024 The Libc Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build unix && !illumos && !(linux && (amd64 || arm64 || loong64 || ppc64le || s390x || riscv64 || 386 || arm))
package libc // import "modernc.org/libc"
import (
"unsafe"
"golang.org/x/sys/unix"
"modernc.org/libc/errno"
ctime "modernc.org/libc/time"
)
// int clock_gettime(clockid_t clk_id, struct timespec *tp);
func Xclock_gettime(t *TLS, clk_id int32, tp uintptr) int32 {
if __ccgo_strace {
trc("t=%v clk_id=%v tp=%v, (%v:)", t, clk_id, tp, origin(2))
}
var ts unix.Timespec
if err := unix.ClockGettime(clk_id, &ts); err != nil {
t.setErrno(err)
trc("FAIL: %v", err)
return -1
}
*(*unix.Timespec)(unsafe.Pointer(tp)) = ts
return 0
}
func Xgmtime_r(tls *TLS, t uintptr, tm uintptr) (r uintptr) {
if __ccgo_strace {
trc("tls=%v t=%v tm=%v, (%v:)", tls, t, tm, origin(2))
defer func() { trc("-> %v", r) }()
}
if x___secs_to_tm(tls, int64(*(*time_t)(unsafe.Pointer(t))), tm) < 0 {
*(*int32)(unsafe.Pointer(X__errno_location(tls))) = int32(errno.EOVERFLOW)
return uintptr(0)
}
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_isdst = 0
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_gmtoff = 0
(*ctime.Tm)(unsafe.Pointer(tm)).Ftm_zone = uintptr(unsafe.Pointer(&x___utc))
return tm
}

View file

@ -4,13 +4,16 @@
package libc // import "modernc.org/libc"
//go:noescape
func TLSAlloc(p0 *TLS, p1 int) uintptr
//go:noescape
func TLSFree(p0 *TLS, p1 int)
func tlsAlloc(tls *TLS, n int) uintptr {
return tls.Alloc(n)
}
func tlsFre(tls *TLS, n int) {
func tlsFree(tls *TLS, n int) {
tls.Free(n)
}

View file

@ -1,8 +1,9 @@
// Code generated for linux/amd64 by 'genasm []', DO NOT EDIT.
#include "funcdata.h"
#include "textflag.h"
TEXT ·TLSAlloc(SB),$24-24
GO_ARGS
NO_LOCAL_POINTERS
MOVQ p0+0(FP), AX
MOVQ AX, 0(SP)
MOVQ p1+8(FP), AX
@ -13,6 +14,8 @@ TEXT ·TLSAlloc(SB),$24-24
RET
TEXT ·TLSFree(SB),$16-16
GO_ARGS
NO_LOCAL_POINTERS
MOVQ p0+0(FP), AX
MOVQ AX, 0(SP)
MOVQ p1+8(FP), AX

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long