chore(deps): stop tracking vendored modules
- commit
- bdb7c71a2ff1ba7d0b058ac92dea14f87de2fe68
- author
- brice · · 2026-07-22 07:22 UTC
- parent
- 659be60
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3329 files · +2 -1396109
M .gitignore +2 -2
| @@ -16,8 +16,8 @@ dumber.exe | |||
| 16 | 16 | # Output of the go coverage tool | |
| 17 | 17 | *.out | |
| 18 | 18 | ||
| 19 | - | # Dependency directories (remove the comment below to include it) | |
| 20 | - | # vendor/ | |
| 19 | + | # Dependency directories | |
| 20 | + | vendor/ | |
| 21 | 21 | ||
| 22 | 22 | # Go workspace file | |
| 23 | 23 | go.work | |
| @@ -16,8 +16,8 @@ dumber.exe | |||||
| 16 | # Output of the go coverage tool | 16 | # Output of the go coverage tool | ||
| 17 | *.out | 17 | *.out | ||
| 18 | 18 | ||||
| 19 | - | # Dependency directories (remove the comment below to include it) | 19 | + | # Dependency directories |
| 20 | - | # vendor/ | 20 | + | vendor/ |
| 21 | 21 | ||||
| 22 | # Go workspace file | 22 | # Go workspace file | ||
| 23 | go.work | 23 | go.work | ||
D vendor/github.com/a-h/parse/.gitignore +0 -1 generated file: collapsed
D vendor/github.com/a-h/parse/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/README.md +0 -145 generated file: collapsed
D vendor/github.com/a-h/parse/all.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/any.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/parse/convert.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/parse/digits.go +0 -4 generated file: collapsed
D vendor/github.com/a-h/parse/eof.go +0 -15 generated file: collapsed
D vendor/github.com/a-h/parse/error.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/parse/input.go +0 -79 generated file: collapsed
D vendor/github.com/a-h/parse/optional.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/parse/or.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/parse/regexp.go +0 -46 generated file: collapsed
D vendor/github.com/a-h/parse/rune.go +0 -58 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof2.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof3.go +0 -35 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof4.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof5.go +0 -48 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof6.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof7.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof8.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/sequenceof9.go +0 -76 generated file: collapsed
D vendor/github.com/a-h/parse/string.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/parse/stringfrom.go +0 -30 generated file: collapsed
D vendor/github.com/a-h/parse/stringuntil.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/parse/then.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/parse/times.go +0 -83 generated file: collapsed
D vendor/github.com/a-h/parse/tuples.go +0 -69 generated file: collapsed
D vendor/github.com/a-h/parse/types.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/parse/until.go +0 -68 generated file: collapsed
D vendor/github.com/a-h/parse/whitespace.go +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/.dockerignore +0 -3 generated file: collapsed
D vendor/github.com/a-h/templ/.envrc +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/.gitignore +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/.goreleaser.yaml +0 -72 generated file: collapsed
D vendor/github.com/a-h/templ/.ignore +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/.version +0 -1 generated file: collapsed
D vendor/github.com/a-h/templ/CODE_OF_CONDUCT.md +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/CONTRIBUTING.md +0 -247 generated file: collapsed
D vendor/github.com/a-h/templ/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/README.md +0 -194 generated file: collapsed
D vendor/github.com/a-h/templ/SECURITY.md +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/main.go +0 -132 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/fmtcmd/testdata.txtar +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/cmd.go +0 -452 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/eventhandler.go +0 -349 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/fatalerror.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/main.go +0 -237 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/modcheck/modcheck.go +0 -82 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/proxy.go +0 -385 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/proxy/script.js +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_unix.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/run/run_windows.go +0 -75 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/sse/server.go +0 -84 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/generatecmd/watcher/watch.go +0 -166 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/infocmd/main.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/handler.go +0 -130 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list.templ +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/httpdebug/list_templ.go +0 -114 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/main.go +0 -145 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/pls/main.go +0 -128 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/client.go +0 -146 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/diagnosticcache.go +0 -61 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/documentcontents.go +0 -215 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/rewrite.go +0 -24 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/server.go +0 -1464 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/snippets.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/proxy/sourcemapcache.go +0 -60 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/lspcmd/stdrwc.go +0 -50 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/main.go +0 -280 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/processor/processor.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/sloghandler/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation.templ +0 -68 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/sourcemapvisualisation_templ.go +0 -295 generated file: collapsed
D vendor/github.com/a-h/templ/cmd/templ/visualize/types.go +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/cosign.pub +0 -4 generated file: collapsed
D vendor/github.com/a-h/templ/flake.lock +0 -87 generated file: collapsed
D vendor/github.com/a-h/templ/flake.nix +0 -99 generated file: collapsed
D vendor/github.com/a-h/templ/flush.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/fragment.go +0 -73 generated file: collapsed
D vendor/github.com/a-h/templ/generator/generator.go +0 -1829 generated file: collapsed
D vendor/github.com/a-h/templ/generator/rangewriter.go +0 -122 generated file: collapsed
D vendor/github.com/a-h/templ/handler.go +0 -163 generated file: collapsed
D vendor/github.com/a-h/templ/ide-demo.gif +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/a-h/templ/internal/format/scriptelement.go +0 -96 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/styleelement.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/internal/format/templ.go +0 -102 generated file: collapsed
D vendor/github.com/a-h/templ/internal/htmlfind/htmlfind.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/internal/imports/process.go +0 -218 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheader.go +0 -27 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/docheaderparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgloader.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/pkgtraverser.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/internal/lazyloader/templdoclazyloader.go +0 -161 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/prettier.go +0 -133 generated file: collapsed
D vendor/github.com/a-h/templ/internal/prettier/testdata.txtar +0 -12 generated file: collapsed
D vendor/github.com/a-h/templ/internal/skipdir/skipdir.go +0 -20 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncmap/map.go +0 -49 generated file: collapsed
D vendor/github.com/a-h/templ/internal/syncset/set.go +0 -42 generated file: collapsed
D vendor/github.com/a-h/templ/join.go +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/js.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/jsonscript.go +0 -85 generated file: collapsed
D vendor/github.com/a-h/templ/jsonstring.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/LICENSE +0 -29 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/codes.go +0 -86 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/conn.go +0 -244 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/errors.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/handler.go +0 -120 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/jsonrpc2.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/message.go +0 -354 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/serve.go +0 -131 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/stream.go +0 -225 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/jsonrpc2/wire.go +0 -140 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/base.go +0 -95 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/basic.go +0 -705 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/callhierarchy.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_client.go +0 -1068 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/capabilities_server.go +0 -523 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/client.go +0 -412 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/context.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/deprecated.go +0 -264 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/diagnostics.go +0 -149 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/doc.go +0 -23 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/errors.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/general.go +0 -461 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/handler.go +0 -88 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/language.go +0 -1401 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/progress.go +0 -119 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/protocol.go +0 -41 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/registration.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/selectionrange.go +0 -110 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/semantic_token.go +0 -179 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/server.go +0 -1893 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/text.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/util.go +0 -9 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/version.go +0 -7 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/window.go +0 -111 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/protocol/workspace.go +0 -213 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/uri/uri.go +0 -245 generated file: collapsed
D vendor/github.com/a-h/templ/lsp/xcontext/xcontext.go +0 -22 generated file: collapsed
D vendor/github.com/a-h/templ/once.go +0 -63 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/calltemplateparser.go +0 -37 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/childrenparser.go +0 -25 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/conditionalattributeparser.go +0 -103 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/cssparser.go +0 -200 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/diagnostics.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/doctypeparser.go +0 -33 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/elementparser.go +0 -605 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/expressionparser.go +0 -246 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fallthroughparser.go +0 -26 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/forexpressionparser.go +0 -57 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/fuzz.sh +0 -5 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocodeparser.go +0 -64 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/gocommentparser.go +0 -66 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/fuzz.sh +0 -19 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/parse.go +0 -343 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goexpression/scanner.go +0 -180 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/goparser.go +0 -70 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/htmlcommentparser.go +0 -40 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/ifexpressionparser.go +0 -144 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/packageparser.go +0 -32 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/parser.go +0 -55 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/raw.go +0 -67 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scriptparser.go +0 -336 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/scripttemplateparser.go +0 -91 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/sourcemap.go +0 -134 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/stringexpressionparser.go +0 -44 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/structure.go +0 -43 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/switchexpressionparser.go +0 -171 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templatefile.go +0 -195 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templateparser.go +0 -154 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/templelementparser.go +0 -59 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/textparser.go +0 -53 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/types.go +0 -1537 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor.go +0 -36 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/visitor/visitor.go +0 -357 generated file: collapsed
D vendor/github.com/a-h/templ/parser/v2/whitespaceparser.go +0 -14 generated file: collapsed
D vendor/github.com/a-h/templ/runtime.go +0 -736 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/buffer.go +0 -62 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/bufferpool.go +0 -38 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/builder.go +0 -8 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/runtime.go +0 -21 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/scriptelement.go +0 -107 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/styleattribute.go +0 -217 generated file: collapsed
D vendor/github.com/a-h/templ/runtime/watchmode.go +0 -181 generated file: collapsed
D vendor/github.com/a-h/templ/safehtml/style.go +0 -199 generated file: collapsed
D vendor/github.com/a-h/templ/scripttemplate.go +0 -150 generated file: collapsed
D vendor/github.com/a-h/templ/templ.png +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/a-h/templ/url.go +0 -31 generated file: collapsed
D vendor/github.com/a-h/templ/version.go +0 -10 generated file: collapsed
D vendor/github.com/a-h/templ/watchmode.go +0 -105 generated file: collapsed
D vendor/github.com/andybalholm/brotli/.gitignore +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/LICENSE +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/README.md +0 -19 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references.go +0 -185 generated file: collapsed
D vendor/github.com/andybalholm/brotli/backward_references_hq.go +0 -796 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_cost.go +0 -436 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bit_reader.go +0 -266 generated file: collapsed
D vendor/github.com/andybalholm/brotli/bitwriter.go +0 -56 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter.go +0 -144 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_command.go +0 -434 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_distance.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/block_splitter_literal.go +0 -433 generated file: collapsed
D vendor/github.com/andybalholm/brotli/brotli_bit_stream.go +0 -1435 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_command.go +0 -164 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_distance.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/cluster_literal.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/command.go +0 -254 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment.go +0 -834 generated file: collapsed
D vendor/github.com/andybalholm/brotli/compress_fragment_two_pass.go +0 -775 generated file: collapsed
D vendor/github.com/andybalholm/brotli/constants.go +0 -77 generated file: collapsed
D vendor/github.com/andybalholm/brotli/context.go +0 -2176 generated file: collapsed
D vendor/github.com/andybalholm/brotli/decode.go +0 -2570 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary.go +0 -122890 generated file: collapsed
D vendor/github.com/andybalholm/brotli/dictionary_hash.go +0 -32779 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encode.go +0 -1220 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder.go +0 -177 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_dict.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/encoder_fast.go +0 -197 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode.go +0 -592 generated file: collapsed
D vendor/github.com/andybalholm/brotli/entropy_encode_static.go +0 -4399 generated file: collapsed
D vendor/github.com/andybalholm/brotli/fast_log.go +0 -290 generated file: collapsed
D vendor/github.com/andybalholm/brotli/find_match_length.go +0 -45 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/README.md +0 -2 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/gzip.go +0 -65 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_bit_writer.go +0 -517 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/huffman_code.go +0 -346 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/token.go +0 -80 generated file: collapsed
D vendor/github.com/andybalholm/brotli/flate/writer.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h10.go +0 -287 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h5.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/h6.go +0 -216 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash.go +0 -342 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_composite.go +0 -93 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_forgetful_chain.go +0 -252 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_longest_match_quickly.go +0 -214 generated file: collapsed
D vendor/github.com/andybalholm/brotli/hash_rolling.go +0 -168 generated file: collapsed
D vendor/github.com/andybalholm/brotli/histogram.go +0 -226 generated file: collapsed
D vendor/github.com/andybalholm/brotli/http.go +0 -189 generated file: collapsed
D vendor/github.com/andybalholm/brotli/huffman.go +0 -653 generated file: collapsed
D vendor/github.com/andybalholm/brotli/literal_cost.go +0 -182 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain1.go +0 -212 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain2.go +0 -248 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/bargain3.go +0 -278 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/emitter.go +0 -34 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m0.go +0 -175 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/m4.go +0 -339 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/matchfinder.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/pathfinder.go +0 -328 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/textencoder.go +0 -53 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/trio.go +0 -326 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zdfast.go +0 -258 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zfast.go +0 -206 generated file: collapsed
D vendor/github.com/andybalholm/brotli/matchfinder/zm.go +0 -301 generated file: collapsed
D vendor/github.com/andybalholm/brotli/memory.go +0 -66 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock.go +0 -574 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_command.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_distance.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/metablock_literal.go +0 -165 generated file: collapsed
D vendor/github.com/andybalholm/brotli/params.go +0 -37 generated file: collapsed
D vendor/github.com/andybalholm/brotli/platform.go +0 -103 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix.go +0 -30 generated file: collapsed
D vendor/github.com/andybalholm/brotli/prefix_dec.go +0 -723 generated file: collapsed
D vendor/github.com/andybalholm/brotli/quality.go +0 -196 generated file: collapsed
D vendor/github.com/andybalholm/brotli/reader.go +0 -126 generated file: collapsed
D vendor/github.com/andybalholm/brotli/ringbuffer.go +0 -134 generated file: collapsed
D vendor/github.com/andybalholm/brotli/state.go +0 -313 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict.go +0 -662 generated file: collapsed
D vendor/github.com/andybalholm/brotli/static_dict_lut.go +0 -75094 generated file: collapsed
D vendor/github.com/andybalholm/brotli/symbol_list.go +0 -22 generated file: collapsed
D vendor/github.com/andybalholm/brotli/transform.go +0 -641 generated file: collapsed
D vendor/github.com/andybalholm/brotli/utf8_util.go +0 -70 generated file: collapsed
D vendor/github.com/andybalholm/brotli/util.go +0 -7 generated file: collapsed
D vendor/github.com/andybalholm/brotli/write_bits.go +0 -52 generated file: collapsed
D vendor/github.com/andybalholm/brotli/writer.go +0 -162 generated file: collapsed
D vendor/github.com/atotto/clipboard/.travis.yml +0 -22 generated file: collapsed
D vendor/github.com/atotto/clipboard/LICENSE +0 -27 generated file: collapsed
D vendor/github.com/atotto/clipboard/README.md +0 -48 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard.go +0 -20 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_darwin.go +0 -52 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_plan9.go +0 -42 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_unix.go +0 -149 generated file: collapsed
D vendor/github.com/atotto/clipboard/clipboard_windows.go +0 -157 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/README.md +0 -83 generated file: collapsed
D vendor/github.com/aymanbagabas/go-osc52/v2/osc52.go +0 -305 generated file: collapsed
D vendor/github.com/bnema/purego-cef/LICENSE +0 -21 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/bridge.go +0 -783 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_accessibility_handler_gen.go +0 -135 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_app_gen.go +0 -255 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_audio_handler_gen.go +0 -222 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_auth_callback_gen.go +0 -80 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_base_gen.go +0 -13 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_gen.go +0 -1340 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_browser_process_handler_gen.go +0 -280 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_callback_gen.go +0 -173 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_client_gen.go +0 -691 generated file: collapsed
D vendor/github.com/bnema/purego-cef/cef/cef_command_handler_gen.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_command_line_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_component_updater_gen.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_context_menu_handler_gen.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_cookie_gen.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_crash_util_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_devtools_message_observer_gen.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dialog_handler_gen.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_display_handler_gen.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_dom_gen.go +0 -578 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_handler_gen.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_download_item_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_data_gen.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_drag_handler_gen.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_file_util_gen.go +0 -74 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_find_handler_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_focus_handler_gen.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_gen.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_frame_handler_gen.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_image_gen.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_jsdialog_handler_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_keyboard_handler_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_life_span_handler_gen.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_load_handler_gen.go +0 -198 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_media_router_gen.go +0 -771 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_delegate_gen.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_menu_model_gen.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_navigation_entry_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_origin_whitelist_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_parser_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_path_util_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_permission_handler_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_preference_gen.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_handler_gen.go +0 -364 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_print_settings_gen.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_message_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_registration_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_handler_gen.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_render_process_handler_gen.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_context_handler_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_gen.go +0 -576 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_request_handler_gen.go +0 -490 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_bundle_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_handler_gen.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_resource_request_handler_gen.go +0 -469 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_filter_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_response_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_scheme_gen.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_server_gen.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_memory_region_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_shared_process_message_builder_gen.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_info_gen.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_ssl_status_gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_stream_gen.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_string_visitor_gen.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_gen.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_task_manager_gen.go +0 -150 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_thread_gen.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_trace_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_color_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_component_gen.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_content_settings_gen.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_gen.go +0 -1631 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_linux_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_osr_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_types_runtime_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_unresponsive_process_callback_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_urlrequest_gen.go +0 -363 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_v8_gen.go +0 -1825 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_values_gen.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_waitable_event_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_x509_certificate_gen.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_xml_reader_gen.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/cef_zip_reader_gen.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/doc.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/init.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_app.go +0 -261 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser.go +0 -929 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_browser_process_handler.go +0 -345 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_context_menu_handler.go +0 -487 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_dialog_handler.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_display_handler.go +0 -743 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_focus_handler.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_frame.go +0 -1093 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_keyboard_handler.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_life_span_handler.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_load_handler.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_process_message.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_client.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_raw_life_span_handler.go +0 -409 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_handler.go +0 -959 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_render_process_handler.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request.go +0 -1010 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_context.go +0 -1167 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_request_handler.go +0 -760 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/mocks/mock_response.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/opaque_types.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/string_list.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_api_version_test__gen.go +0 -1391 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_helpers_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_test_server_gen.go +0 -282 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/test_cef_translator_test__gen.go +0 -1534 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/v8_helpers.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_box_layout_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_delegate_gen.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_browser_view_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_delegate_gen.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_button_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_display_gen.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_fill_layout_gen.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_label_button_gen.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_layout_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_delegate_gen.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_menu_button_gen.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_overlay_controller_gen.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_delegate_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_panel_gen.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_scroll_view_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_delegate_gen.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_delegate_gen.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_view_gen.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_delegate_gen.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/views_cef_window_gen.go +0 -436 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/cef/window_info_helpers.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/bridge.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_accessibility_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_app_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_audio_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_auth_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_base_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_gen.go +0 -1091 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_browser_process_handler_gen.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_callback_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_client_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_handler_gen.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_command_line_gen.go +0 -255 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_component_updater_gen.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_context_menu_handler_gen.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_cookie_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_crash_util_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_devtools_message_observer_gen.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dialog_handler_gen.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_display_handler_gen.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_dom_gen.go +0 -478 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_handler_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_download_item_gen.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_data_gen.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_drag_handler_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_file_util_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_find_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_focus_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_gen.go +0 -303 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_frame_handler_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_i18n_util_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_image_gen.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_jsdialog_handler_gen.go +0 -77 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_keyboard_handler_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_life_span_handler_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_load_handler_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_media_router_gen.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_delegate_gen.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_menu_model_gen.go +0 -637 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_navigation_entry_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_origin_whitelist_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_parser_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_permission_handler_gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_preference_gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_print_settings_gen.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_message_gen.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_registration_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_handler_gen.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_render_process_handler_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_gen.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_context_handler_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_gen.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_request_handler_gen.go +0 -166 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_bundle_handler_gen.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_handler_gen.go +0 -126 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_resource_request_handler_gen.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_filter_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_response_gen.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_scheme_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_server_gen.go +0 -257 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_memory_region_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_shared_process_message_builder_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_info_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_ssl_status_gen.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_stream_gen.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_string_visitor_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_gen.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_task_manager_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_thread_gen.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_trace_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_color_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_component_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_content_settings_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_gen.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_geometry_gen.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_linux_gen.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_osr_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_types_runtime_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_unresponsive_process_callback_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_urlrequest_gen.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_v8_gen.go +0 -1137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_values_gen.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_waitable_event_gen.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_x509_certificate_gen.go +0 -217 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_xml_reader_gen.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/cef_zip_reader_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/doc.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_darwin_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_default_gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_linux_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/register_platform_windows_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_api_version_test__gen.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_helpers_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_test_server_gen.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/test_cef_translator_test__gen.go +0 -967 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_box_layout_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_delegate_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_browser_view_gen.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_button_gen.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_display_gen.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_fill_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_label_button_gen.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_layout_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_delegate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_menu_button_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_overlay_controller_gen.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_panel_gen.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_scroll_view_gen.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_delegate_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_textfield_gen.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_delegate_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_view_gen.go +0 -589 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_delegate_gen.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/capi/views_cef_window_gen.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/cefapi/contract.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/engine.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/helpers.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/init.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/marshal.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/core/refcount.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/loader/loader.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_accessibility_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_app_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_audio_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_auth_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_base_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_gen.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_browser_process_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_client_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_command_line_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_component_updater_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_context_menu_handler_gen.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_cookie_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_devtools_message_observer_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_display_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_handler_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_download_item_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_data_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_drag_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_find_handler_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_focus_handler_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_frame_handler_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_image_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_jsdialog_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_keyboard_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_life_span_handler_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_load_handler_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_media_router_gen.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_delegate_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_menu_model_gen.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_navigation_entry_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_permission_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_preference_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_print_settings_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_process_message_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_registration_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_handler_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_render_process_handler_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_gen.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_context_handler_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_request_handler_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_bundle_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_handler_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_resource_request_handler_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_filter_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_response_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_scheme_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_server_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_memory_region_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_shared_process_message_builder_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_info_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_ssl_status_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_stream_gen.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_string_visitor_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_task_manager_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_thread_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_trace_gen.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_color_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_component_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_content_settings_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_gen.go +0 -256 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_geometry_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_linux_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_osr_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_types_runtime_gen.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_unresponsive_process_callback_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_urlrequest_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_v8_gen.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_values_gen.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_waitable_event_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_x509_certificate_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_xml_reader_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/cef_zip_reader_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/opaque_types.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_api_version_test__gen.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_test_server_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/test_cef_translator_test__gen.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_box_layout_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_delegate_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_browser_view_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_button_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_display_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_fill_layout_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_label_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_layout_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_menu_button_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_overlay_controller_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_delegate_gen.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_panel_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_scroll_view_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_delegate_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_textfield_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_delegate_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_view_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_delegate_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/in/views_cef_window_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/capi.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_app_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_auth_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_browser_gen.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_command_line_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_component_updater_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_context_menu_handler_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_cookie_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_crash_util_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dialog_handler_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_dom_gen.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_handler_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_download_item_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_drag_data_gen.go +0 -44 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_file_util_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_frame_gen.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_i18n_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_image_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_jsdialog_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_media_router_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_menu_model_gen.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_navigation_entry_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_origin_whitelist_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_parser_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_path_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_permission_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_preference_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_handler_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_print_settings_gen.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_message_gen.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_process_util_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_registration_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_context_gen.go +0 -42 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_request_handler_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_bundle_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_resource_handler_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_response_gen.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_scheme_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_server_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_memory_region_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_shared_process_message_builder_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_info_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_ssl_status_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_stream_gen.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_gen.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_task_manager_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_thread_gen.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_trace_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_types_linux_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_unresponsive_process_callback_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_urlrequest_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_v8_gen.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_values_gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_waitable_event_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_x509_certificate_gen.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_xml_reader_gen.go +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/cef_zip_reader_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_api_version_test__gen.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_helpers_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_test_server_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/test_cef_translator_test__gen.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_box_layout_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_browser_view_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_button_gen.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_display_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_fill_layout_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_label_button_gen.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_layout_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_delegate_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_menu_button_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_overlay_controller_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_panel_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_scroll_view_gen.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_textfield_gen.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_view_gen.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef/internal/ports/out/views_cef_window_gen.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/.gitignore +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/Makefile +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/README.md +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/browser_settings.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/command_line.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/diagnostics.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/doc.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/handlers.go +0 -284 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/input.go +0 -277 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/command_line.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/window_info.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/cutil/cstring.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/format.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/modifier.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/attrs.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/display.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/extensions.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/importer.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/loader.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/egl/types.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/copy.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/loader.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gl/timer_query.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +0 -980 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/accelerated_renderer.go +0 -476 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/context.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/gl.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/glib.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/input_bridge.go +0 -1037 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/main_thread.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/gtkgl/render_signal.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/internal/profile/recorder.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/options.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/osr_backing_scale.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/profile.go +0 -50 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/refresh_rate.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/render_stack.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/size_observation.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/view.go +0 -1171 collapsed to keep the page light
D vendor/github.com/bnema/purego-cef2gtk/window_info.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-pipewire/internal/capi/adapters_gen.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/init_gen.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_gen.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/loop_lock.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register.go +0 -41 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/register_all.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_ops.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_params.go +0 -172 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/capi/stream_playback_gen.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/context.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/core.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/loop.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/player_state.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +0 -173 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/registry.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/runtime.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/core/stream.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/loader/loader.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/.gitkeep +0 -0
no textual change.
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi.go +0 -5 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/capi_gen.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/init_gen.go +0 -9 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/loop_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_ops.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/internal/ports/out/stream_playback_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/context.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/core.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/interfaces.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/player.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/registry.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/runtime.go +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego-pipewire/pipewire/stream.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/driver.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/driver/register.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/bridge.go +0 -1461 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/enums_gen.go +0 -863 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/functions_gen.go +0 -358 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/register_gen.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/capi/variadic_gen.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/db.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/errors.go +0 -51 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/core/stmt.go +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/auth_gen.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/backup_gen.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/bind_gen.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/blob_gen.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/capi_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/column_gen.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/config_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/context_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/exec_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/func_gen.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/hook_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/lifecycle_gen.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/memory_gen.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/metadata_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/misc_gen.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/prepare_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/result_gen.go +0 -31 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/serialize_gen.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/str_gen.go +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/trace_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/value_gen.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vfs_gen.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/vtab_gen.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/internal/ports/out/wal_gen.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego-sqlite/sqlite/sqlite_gen.go +0 -49 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/generated_symbols.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/loader.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/internal/libwebp/types.go +0 -164 collapsed to keep the page light
D vendor/github.com/bnema/purego-webp/libwebp/libwebp.go +0 -880 collapsed to keep the page light
D vendor/github.com/bnema/purego/.gitignore +0 -1 collapsed to keep the page light
D vendor/github.com/bnema/purego/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/purego/README.md +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/cgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlerror.go +0 -17 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn.go +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_android.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_freebsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_linux.go +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_freebsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_linux.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_nocgo_netbsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_playground.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/purego/dlfcn_stubs.s +0 -22 collapsed to keep the page light
D vendor/github.com/bnema/purego/func.go +0 -677 collapsed to keep the page light
D vendor/github.com/bnema/purego/gen.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/go_runtime.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_go123.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/hostlayout_nogo123.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/dlfcn_cgo_unix.go +0 -56 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/empty.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/cgo/syscall_cgo_unix.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_amd64.h +0 -99 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_arm64.h +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_loong64.h +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_ppc64x.h +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/abi_riscv64.h +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_386.s +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_amd64.s +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm.s +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_arm64.s +0 -36 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_loong64.s +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_ppc64le.s +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_riscv64.s +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/asm_s390x.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/callbacks.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/doc.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/fakecgo.go +0 -14 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/freebsd.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_darwin.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_freebsd.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_libinit.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_linux.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_netbsd.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_setenv.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/go_util.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/iscgo.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_darwin.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_linux.go +0 -20 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/libcgo_netbsd.go +0 -26 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/linux.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/netbsd.go +0 -23 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/setenv.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_386.s +0 -121 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_amd64.s +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm.s +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_arm64.s +0 -81 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_386.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_amd64.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_arm64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_loong64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_ppc64le.s +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_linux_riscv64.s +0 -60 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_loong64.s +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_ppc64le.s +0 -128 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/trampolines_riscv64.s +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_darwin.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_freebsd.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_linux.go +0 -158 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/zsymbols_netbsd.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_darwin.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_freebsd.s +0 -16 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_linux.s +0 -46 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_netbsd.s +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/fakecgo/ztrampolines_stubs.s +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/strings/strings.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go124.go +0 -15 collapsed to keep the page light
D vendor/github.com/bnema/purego/internal/xreflect/reflect_go125.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/purego/is_ios.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/purego/nocgo.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_386.go +0 -52 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_abi_helpers.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_amd64.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_arm64.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_loong64.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_ppc64le.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_riscv64.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/struct_s390x.go +0 -151 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_386.s +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_amd64.s +0 -170 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm.s +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_arm64.s +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_loong64.s +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_ppc64le.s +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_riscv64.s +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_s390x.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_386.s +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm.s +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_arm64.s +0 -75 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_loong64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_ppc64le.s +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_riscv64.s +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/purego/sys_unix_s390x.s +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_32bit.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_cgo_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_notstackargs.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_stackargs.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_unix.go +0 -693 collapsed to keep the page light
D vendor/github.com/bnema/purego/syscall_windows.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_386.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_amd64.s +0 -2014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_arm64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_loong64.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_ppc64le.s +0 -4014 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_riscv64.s +0 -4051 collapsed to keep the page light
D vendor/github.com/bnema/purego/zcallback_s390x.s +0 -4015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/internal/core/core.go +0 -515 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +0 -2056 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +0 -2083 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +0 -80 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +0 -812 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +0 -1214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +0 -313 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +0 -969 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +0 -493 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +0 -704 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +0 -1019 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +0 -523 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +0 -562 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +0 -568 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +0 -572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +0 -399 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +0 -398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +0 -871 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +0 -548 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +0 -816 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +0 -954 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +0 -1077 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +0 -300 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +0 -791 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +0 -1049 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +0 -566 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +0 -1296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +0 -39 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +0 -1218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +0 -859 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +0 -1906 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +0 -999 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +0 -690 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +0 -520 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +0 -586 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +0 -672 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +0 -441 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +0 -561 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +0 -386 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +0 -1118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +0 -889 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +0 -477 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +0 -971 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +0 -420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +0 -287 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +0 -802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +0 -529 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +0 -2327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +0 -387 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +0 -1196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +0 -938 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +0 -1890 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +0 -470 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +0 -547 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +0 -599 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +0 -480 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +0 -685 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +0 -687 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/cairo/main.go +0 -947 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +0 -329 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +0 -245 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +0 -279 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +0 -299 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +0 -625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder_extra.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +0 -73 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +0 -896 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +0 -1449 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +0 -424 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +0 -508 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +0 -113 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkkeysyms.go +0 -4904 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +0 -304 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +0 -382 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +0 -575 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +0 -57 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +0 -214 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +0 -710 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +0 -716 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +0 -853 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +0 -746 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-features.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +0 -1783 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gaction.go +0 -663 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +0 -852 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +0 -434 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +0 -2242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +0 -2213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +0 -715 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +0 -339 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +0 -325 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +0 -314 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +0 -327 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +0 -496 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +0 -674 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +0 -416 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +0 -152 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +0 -1909 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +0 -542 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +0 -753 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +0 -392 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +0 -390 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +0 -719 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +0 -169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +0 -1102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +0 -311 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +0 -1459 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +0 -1041 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +0 -175 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfile.go +0 -7039 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +0 -768 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +0 -190 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +0 -1682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +0 -513 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +0 -614 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gicon.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +0 -556 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +0 -262 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +0 -869 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +0 -2410 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giostream.go +0 -723 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +0 -1144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +0 -348 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +0 -236 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +0 -167 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +0 -610 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenuexporter.go +0 -10 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +0 -993 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmount.go +0 -1422 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +0 -1017 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +0 -336 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +0 -1272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +0 -443 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +0 -305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +0 -136 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +0 -315 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +0 -352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -301 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +0 -1053 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gresource.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +0 -1862 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +0 -676 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +0 -433 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +0 -618 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +0 -446 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +0 -2007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +0 -955 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +0 -298 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +0 -619 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +0 -27 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +0 -633 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +0 -412 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtask.go +0 -1352 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +0 -228 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +0 -291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -63 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +0 -309 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +0 -499 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +0 -319 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +0 -886 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +0 -119 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +0 -90 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +0 -211 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +0 -370 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +0 -698 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +0 -1140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +0 -1182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gio/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/garray.go +0 -817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +0 -448 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +0 -404 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +0 -104 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +0 -186 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +0 -958 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcache.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +0 -222 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +0 -457 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdate.go +0 -850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gdir.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/genviron.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gerror.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +0 -806 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghash.go +0 -742 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghook.go +0 -260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +0 -83 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +0 -1139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +0 -1174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glibconfig.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/glist.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmacros.go +0 -30 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmain.go +0 -2568
| @@ -1,2568 +0,0 @@ | |||
| 1 | - | // Package glib was automatically generated by github.com/bnema/puregotk DO NOT EDIT | |
| 2 | - | package glib | |
| 3 | - | ||
| 4 | - | import ( | |
| 5 | - | "structs" | |
| 6 | - | "unsafe" | |
| 7 | - | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | - | "github.com/bnema/puregotk/pkg/core" | |
| 10 | - | "github.com/bnema/puregotk/v4/gobject/types" | |
| 11 | - | ) | |
| 12 | - | ||
| 13 | - | // Prototype of a #GChildWatchSource callback, called when a child | |
| 14 | - | // process has exited. | |
| 15 | - | // | |
| 16 | - | // To interpret @wait_status, see the documentation for | |
| 17 | - | // [func@GLib.spawn_check_wait_status]. In particular, | |
| 18 | - | // on Unix platforms, note that it is usually not equal | |
| 19 | - | // to the integer passed to `exit()` or returned from `main()`. | |
| 20 | - | type ChildWatchFunc func(Pid, int, uintptr) | |
| 21 | - | ||
| 22 | - | // Specifies the type of function passed to [func@GLib.clear_handle_id] The | |
| 23 | - | // implementation is expected to free the resource identified by @handle_id; | |
| 24 | - | // for instance, if @handle_id is a [struct@GLib.Source] ID, | |
| 25 | - | // [func@GLib.Source.remove] can be used. | |
| 26 | - | type ClearHandleFunc func(uint) | |
| 27 | - | ||
| 28 | - | // Dispose function for @source. See [method@GLib.Source.set_dispose_function] | |
| 29 | - | // for details. | |
| 30 | - | type SourceDisposeFunc func(*Source) | |
| 31 | - | ||
| 32 | - | // This is just a placeholder for #GClosureMarshal, | |
| 33 | - | // which cannot be used here for dependency reasons. | |
| 34 | - | type SourceDummyMarshal func() | |
| 35 | - | ||
| 36 | - | // Specifies the type of function passed to [func@GLib.timeout_add], | |
| 37 | - | // [func@GLib.timeout_add_full], [func@GLib.idle_add], and | |
| 38 | - | // [func@GLib.idle_add_full]. | |
| 39 | - | // | |
| 40 | - | // When calling [method@GLib.Source.set_callback], you may need to cast a | |
| 41 | - | // function of a different type to this type. Use [func@GLib.SOURCE_FUNC] to | |
| 42 | - | // avoid warnings about incompatible function types. | |
| 43 | - | type SourceFunc func(uintptr) bool | |
| 44 | - | ||
| 45 | - | // Checks if the source is ready to be dispatched. | |
| 46 | - | // | |
| 47 | - | // Called after all the file descriptors are polled. The source | |
| 48 | - | // should return %TRUE if it is ready to be dispatched. Note that some | |
| 49 | - | // time may have passed since the previous prepare function was called, | |
| 50 | - | // so the source should be checked again here. | |
| 51 | - | // | |
| 52 | - | // Since 2.36 this may be `NULL`, in which case the effect is | |
| 53 | - | // as if the function always returns `FALSE`. | |
| 54 | - | type SourceFuncsCheckFunc func(*Source) bool | |
| 55 | - | ||
| 56 | - | // Dispatches the source callback. | |
| 57 | - | // | |
| 58 | - | // Called to dispatch the event source, after it has returned | |
| 59 | - | // `TRUE` in either its prepare or its check function, or if a ready time | |
| 60 | - | // has been reached. The dispatch function receives a callback function and | |
| 61 | - | // user data. The callback function may be `NULL` if the source was never | |
| 62 | - | // connected to a callback using [method@GLib.Source.set_callback]. The dispatch | |
| 63 | - | // function should call the callback function with @user_data and whatever | |
| 64 | - | // additional parameters are needed for this type of event source. The | |
| 65 | - | // return value of the dispatch function should be [const@GLib.SOURCE_REMOVE] | |
| 66 | - | // if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it. | |
| 67 | - | type SourceFuncsDispatchFunc func(*Source, uintptr, uintptr) bool | |
| 68 | - | ||
| 69 | - | // Finalizes the source. | |
| 70 | - | // | |
| 71 | - | // Called when the source is finalized. At this point, the source | |
| 72 | - | // will have been destroyed, had its callback cleared, and have been removed | |
| 73 | - | // from its [type@GLib.MainContext], but it will still have its final reference | |
| 74 | - | // count, so methods can be called on it from within this function. | |
| 75 | - | type SourceFuncsFinalizeFunc func(*Source) | |
| 76 | - | ||
| 77 | - | // Checks the source for readiness. | |
| 78 | - | // | |
| 79 | - | // Called before all the file descriptors are polled. If the | |
| 80 | - | // source can determine that it is ready here (without waiting for the | |
| 81 | - | // results of the poll call) it should return %TRUE. It can also return | |
| 82 | - | // a @timeout_ value which should be the maximum timeout (in milliseconds) | |
| 83 | - | // which should be passed to the poll call. The actual timeout used will | |
| 84 | - | // be `-1` if all sources returned `-1`, or it will be the minimum of all | |
| 85 | - | // the @timeout_ values returned which were greater than or equal to `0`. | |
| 86 | - | // If the prepare function returns a timeout and the source also has a | |
| 87 | - | // ready time set, then the lower of the two will be used. | |
| 88 | - | // | |
| 89 | - | // Since 2.36 this may be `NULL`, in which case the effect is as if the | |
| 90 | - | // function always returns `FALSE` with a timeout of `-1`. | |
| 91 | - | type SourceFuncsPrepareFunc func(*Source, *int) bool | |
| 92 | - | ||
| 93 | - | // A source function that is only called once before being removed from the main | |
| 94 | - | // context automatically. | |
| 95 | - | // | |
| 96 | - | // See: [func@GLib.idle_add_once], [func@GLib.timeout_add_once] | |
| 97 | - | type SourceOnceFunc func(uintptr) | |
| 98 | - | ||
| 99 | - | // The `GMainContext` struct is an opaque data | |
| 100 | - | // type representing a set of sources to be handled in a main loop. | |
| 101 | - | type MainContext struct { | |
| 102 | - | _ structs.HostLayout | |
| 103 | - | } | |
| 104 | - | ||
| 105 | - | var xMainContextGLibType func() types.GType | |
| 106 | - | ||
| 107 | - | func MainContextGLibType() types.GType { | |
| 108 | - | core.LazyRegister(&xMainContextGLibType, "GLIB", "g_main_context_get_type", false) | |
| 109 | - | return xMainContextGLibType() | |
| 110 | - | } | |
| 111 | - | ||
| 112 | - | func (x *MainContext) GoPointer() uintptr { | |
| 113 | - | return uintptr(unsafe.Pointer(x)) | |
| 114 | - | } | |
| 115 | - | ||
| 116 | - | func MainContextNewFromInternalPtr(ptr uintptr) *MainContext { | |
| 117 | - | if ptr == 0 { | |
| 118 | - | return nil | |
| 119 | - | } | |
| 120 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 121 | - | return (*MainContext)(rawPtr) | |
| 122 | - | } | |
| 123 | - | ||
| 124 | - | var xNewMainContext func() uintptr | |
| 125 | - | ||
| 126 | - | // Creates a new [struct@GLib.MainContext] structure. | |
| 127 | - | func NewMainContext() *MainContext { | |
| 128 | - | core.LazyRegister(&xNewMainContext, "GLIB", "g_main_context_new", false) | |
| 129 | - | ||
| 130 | - | cret := xNewMainContext() | |
| 131 | - | if cret == 0 { | |
| 132 | - | return nil | |
| 133 | - | } | |
| 134 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 135 | - | } | |
| 136 | - | ||
| 137 | - | var xNewMainContextWithFlags func(MainContextFlags) uintptr | |
| 138 | - | ||
| 139 | - | // Creates a new [struct@GLib.MainContext] structure. | |
| 140 | - | func NewMainContextWithFlags(FlagsVar MainContextFlags) *MainContext { | |
| 141 | - | core.LazyRegister(&xNewMainContextWithFlags, "GLIB", "g_main_context_new_with_flags", false) | |
| 142 | - | ||
| 143 | - | cret := xNewMainContextWithFlags(FlagsVar) | |
| 144 | - | if cret == 0 { | |
| 145 | - | return nil | |
| 146 | - | } | |
| 147 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 148 | - | } | |
| 149 | - | ||
| 150 | - | var xMainContextAcquire func(uintptr) bool | |
| 151 | - | ||
| 152 | - | // Tries to become the owner of the specified context. | |
| 153 | - | // | |
| 154 | - | // If some other thread is the owner of the context, | |
| 155 | - | // returns false immediately. Ownership is properly | |
| 156 | - | // recursive: the owner can require ownership again | |
| 157 | - | // and will release ownership when [method@GLib.MainContext.release] | |
| 158 | - | // is called as many times as [method@GLib.MainContext.acquire]. | |
| 159 | - | // | |
| 160 | - | // You must be the owner of a context before you | |
| 161 | - | // can call [method@GLib.MainContext.prepare], [method@GLib.MainContext.query], | |
| 162 | - | // [method@GLib.MainContext.check], [method@GLib.MainContext.dispatch], | |
| 163 | - | // [method@GLib.MainContext.release]. | |
| 164 | - | // | |
| 165 | - | // Since 2.76 @context can be `NULL` to use the global-default | |
| 166 | - | // main context. | |
| 167 | - | func (x *MainContext) Acquire() bool { | |
| 168 | - | core.LazyRegister(&xMainContextAcquire, "GLIB", "g_main_context_acquire", false) | |
| 169 | - | ||
| 170 | - | cret := xMainContextAcquire(x.GoPointer()) | |
| 171 | - | return cret | |
| 172 | - | } | |
| 173 | - | ||
| 174 | - | var xMainContextAddPoll func(uintptr, *PollFD, int) | |
| 175 | - | ||
| 176 | - | // Adds a file descriptor to the set of file descriptors polled for | |
| 177 | - | // this context. | |
| 178 | - | // | |
| 179 | - | // This will very seldom be used directly. Instead | |
| 180 | - | // a typical event source will use `g_source_add_unix_fd()` instead. | |
| 181 | - | func (x *MainContext) AddPoll(FdVar *PollFD, PriorityVar int) { | |
| 182 | - | core.LazyRegister(&xMainContextAddPoll, "GLIB", "g_main_context_add_poll", false) | |
| 183 | - | ||
| 184 | - | xMainContextAddPoll(x.GoPointer(), FdVar, PriorityVar) | |
| 185 | - | } | |
| 186 | - | ||
| 187 | - | var xMainContextCheck func(uintptr, int, []PollFD, int) bool | |
| 188 | - | ||
| 189 | - | // Passes the results of polling back to the main loop. | |
| 190 | - | // | |
| 191 | - | // You should be | |
| 192 | - | // careful to pass @fds and its length @n_fds as received from | |
| 193 | - | // [method@GLib.MainContext.query], as this functions relies on assumptions | |
| 194 | - | // on how @fds is filled. | |
| 195 | - | // | |
| 196 | - | // You must have successfully acquired the context with | |
| 197 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |
| 198 | - | // | |
| 199 | - | // Since 2.76 @context can be `NULL` to use the global-default | |
| 200 | - | // main context. | |
| 201 | - | func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool { | |
| 202 | - | core.LazyRegister(&xMainContextCheck, "GLIB", "g_main_context_check", false) | |
| 203 | - | ||
| 204 | - | cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar) | |
| 205 | - | return cret | |
| 206 | - | } | |
| 207 | - | ||
| 208 | - | var xMainContextDispatch func(uintptr) | |
| 209 | - | ||
| 210 | - | // Dispatches all pending sources. | |
| 211 | - | // | |
| 212 | - | // You must have successfully acquired the context with | |
| 213 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |
| 214 | - | // | |
| 215 | - | // Since 2.76 @context can be `NULL` to use the global-default | |
| 216 | - | // main context. | |
| 217 | - | func (x *MainContext) Dispatch() { | |
| 218 | - | core.LazyRegister(&xMainContextDispatch, "GLIB", "g_main_context_dispatch", false) | |
| 219 | - | ||
| 220 | - | xMainContextDispatch(x.GoPointer()) | |
| 221 | - | } | |
| 222 | - | ||
| 223 | - | var xMainContextFindSourceByFuncsUserData func(uintptr, *SourceFuncs, uintptr) uintptr | |
| 224 | - | ||
| 225 | - | // Finds a source with the given source functions and user data. | |
| 226 | - | // | |
| 227 | - | // If multiple sources exist with the same source function and user data, | |
| 228 | - | // the first one found will be returned. | |
| 229 | - | func (x *MainContext) FindSourceByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) *Source { | |
| 230 | - | core.LazyRegister(&xMainContextFindSourceByFuncsUserData, "GLIB", "g_main_context_find_source_by_funcs_user_data", false) | |
| 231 | - | ||
| 232 | - | cret := xMainContextFindSourceByFuncsUserData(x.GoPointer(), FuncsVar, UserDataVar) | |
| 233 | - | if cret == 0 { | |
| 234 | - | return nil | |
| 235 | - | } | |
| 236 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 237 | - | } | |
| 238 | - | ||
| 239 | - | var xMainContextFindSourceById func(uintptr, uint) uintptr | |
| 240 | - | ||
| 241 | - | // Finds a [struct@GLib.Source] given a pair of context and ID. | |
| 242 | - | // | |
| 243 | - | // It is a programmer error to attempt to look up a non-existent source. | |
| 244 | - | // | |
| 245 | - | // More specifically: source IDs can be reissued after a source has been | |
| 246 | - | // destroyed and therefore it is never valid to use this function with a | |
| 247 | - | // source ID which may have already been removed. An example is when | |
| 248 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |
| 249 | - | // idle may already have run and been removed by the time this function | |
| 250 | - | // is called on its (now invalid) source ID. This source ID may have | |
| 251 | - | // been reissued, leading to the operation being performed against the | |
| 252 | - | // wrong source. | |
| 253 | - | func (x *MainContext) FindSourceById(SourceIdVar uint) *Source { | |
| 254 | - | core.LazyRegister(&xMainContextFindSourceById, "GLIB", "g_main_context_find_source_by_id", false) | |
| 255 | - | ||
| 256 | - | cret := xMainContextFindSourceById(x.GoPointer(), SourceIdVar) | |
| 257 | - | if cret == 0 { | |
| 258 | - | return nil | |
| 259 | - | } | |
| 260 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 261 | - | } | |
| 262 | - | ||
| 263 | - | var xMainContextFindSourceByUserData func(uintptr, uintptr) uintptr | |
| 264 | - | ||
| 265 | - | // Finds a source with the given user data for the callback. | |
| 266 | - | // | |
| 267 | - | // If multiple sources exist with the same user data, the first | |
| 268 | - | // one found will be returned. | |
| 269 | - | func (x *MainContext) FindSourceByUserData(UserDataVar uintptr) *Source { | |
| 270 | - | core.LazyRegister(&xMainContextFindSourceByUserData, "GLIB", "g_main_context_find_source_by_user_data", false) | |
| 271 | - | ||
| 272 | - | cret := xMainContextFindSourceByUserData(x.GoPointer(), UserDataVar) | |
| 273 | - | if cret == 0 { | |
| 274 | - | return nil | |
| 275 | - | } | |
| 276 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 277 | - | } | |
| 278 | - | ||
| 279 | - | var xMainContextGetPollFunc func(uintptr) uintptr | |
| 280 | - | ||
| 281 | - | // Gets the poll function set by [method@GLib.MainContext.set_poll_func]. | |
| 282 | - | func (x *MainContext) GetPollFunc() uintptr { | |
| 283 | - | core.LazyRegister(&xMainContextGetPollFunc, "GLIB", "g_main_context_get_poll_func", false) | |
| 284 | - | ||
| 285 | - | cret := xMainContextGetPollFunc(x.GoPointer()) | |
| 286 | - | return cret | |
| 287 | - | } | |
| 288 | - | ||
| 289 | - | var xMainContextInvoke func(uintptr, uintptr, uintptr) | |
| 290 | - | ||
| 291 | - | // Invokes a function in such a way that @context is owned during the | |
| 292 | - | // invocation of @function. | |
| 293 | - | // | |
| 294 | - | // If @context is `NULL` then the global-default main context — as | |
| 295 | - | // returned by [func@GLib.MainContext.default] — is used. | |
| 296 | - | // | |
| 297 | - | // If @context is owned by the current thread, @function is called | |
| 298 | - | // directly. Otherwise, if @context is the thread-default main context | |
| 299 | - | // of the current thread and [method@GLib.MainContext.acquire] succeeds, | |
| 300 | - | // then @function is called and [method@GLib.MainContext.release] is called | |
| 301 | - | // afterwards. | |
| 302 | - | // | |
| 303 | - | // In any other case, an idle source is created to call @function and | |
| 304 | - | // that source is attached to @context (presumably to be run in another | |
| 305 | - | // thread). The idle source is attached with [const@GLib.PRIORITY_DEFAULT] | |
| 306 | - | // priority. If you want a different priority, use | |
| 307 | - | // [method@GLib.MainContext.invoke_full]. | |
| 308 | - | // | |
| 309 | - | // Note that, as with normal idle functions, @function should probably return | |
| 310 | - | // [const@GLib.SOURCE_REMOVE]. If it returns [const@GLib.SOURCE_CONTINUE], it | |
| 311 | - | // will be continuously run in a loop (and may prevent this call from returning). | |
| 312 | - | func (x *MainContext) Invoke(FunctionVar *SourceFunc, DataVar uintptr) { | |
| 313 | - | core.LazyRegister(&xMainContextInvoke, "GLIB", "g_main_context_invoke", false) | |
| 314 | - | ||
| 315 | - | xMainContextInvoke(x.GoPointer(), NewCallback(FunctionVar), DataVar) | |
| 316 | - | } | |
| 317 | - | ||
| 318 | - | var xMainContextInvokeFull func(uintptr, int, uintptr, uintptr, uintptr) | |
| 319 | - | ||
| 320 | - | // Invokes a function in such a way that @context is owned during the | |
| 321 | - | // invocation of @function. | |
| 322 | - | // | |
| 323 | - | // This function is the same as [method@GLib.MainContext.invoke] except that it | |
| 324 | - | // lets you specify the priority in case @function ends up being | |
| 325 | - | // scheduled as an idle and also lets you give a [callback@GLib.DestroyNotify] | |
| 326 | - | // for @data. | |
| 327 | - | // | |
| 328 | - | // The @notify function should not assume that it is called from any particular | |
| 329 | - | // thread or with any particular context acquired. | |
| 330 | - | func (x *MainContext) InvokeFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) { | |
| 331 | - | core.LazyRegister(&xMainContextInvokeFull, "GLIB", "g_main_context_invoke_full", false) | |
| 332 | - | ||
| 333 | - | xMainContextInvokeFull(x.GoPointer(), PriorityVar, NewCallback(FunctionVar), DataVar, NewCallbackNullable(NotifyVar)) | |
| 334 | - | } | |
| 335 | - | ||
| 336 | - | var xMainContextIsOwner func(uintptr) bool | |
| 337 | - | ||
| 338 | - | // Determines whether this thread holds the (recursive) | |
| 339 | - | // ownership of this [struct@GLib.MainContext]. | |
| 340 | - | // | |
| 341 | - | // This is useful to | |
| 342 | - | // know before waiting on another thread that may be | |
| 343 | - | // blocking to get ownership of @context. | |
| 344 | - | func (x *MainContext) IsOwner() bool { | |
| 345 | - | core.LazyRegister(&xMainContextIsOwner, "GLIB", "g_main_context_is_owner", false) | |
| 346 | - | ||
| 347 | - | cret := xMainContextIsOwner(x.GoPointer()) | |
| 348 | - | return cret | |
| 349 | - | } | |
| 350 | - | ||
| 351 | - | var xMainContextIteration func(uintptr, bool) bool | |
| 352 | - | ||
| 353 | - | // Runs a single iteration for the given main loop. | |
| 354 | - | // | |
| 355 | - | // This involves | |
| 356 | - | // checking to see if any event sources are ready to be processed, | |
| 357 | - | // then if no events sources are ready and @may_block is true, waiting | |
| 358 | - | // for a source to become ready, then dispatching the highest priority | |
| 359 | - | // events sources that are ready. Otherwise, if @may_block is false, | |
| 360 | - | // this function does not wait for sources to become ready, and only the highest | |
| 361 | - | // priority sources which are already ready (if any) will be dispatched. | |
| 362 | - | // | |
| 363 | - | // Note that even when @may_block is true, it is still possible for | |
| 364 | - | // [method@GLib.MainContext.iteration] to return false, since the wait may | |
| 365 | - | // be interrupted for other reasons than an event source becoming ready. | |
| 366 | - | func (x *MainContext) Iteration(MayBlockVar bool) bool { | |
| 367 | - | core.LazyRegister(&xMainContextIteration, "GLIB", "g_main_context_iteration", false) | |
| 368 | - | ||
| 369 | - | cret := xMainContextIteration(x.GoPointer(), MayBlockVar) | |
| 370 | - | return cret | |
| 371 | - | } | |
| 372 | - | ||
| 373 | - | var xMainContextPending func(uintptr) bool | |
| 374 | - | ||
| 375 | - | // Checks if any sources have pending events for the given context. | |
| 376 | - | func (x *MainContext) Pending() bool { | |
| 377 | - | core.LazyRegister(&xMainContextPending, "GLIB", "g_main_context_pending", false) | |
| 378 | - | ||
| 379 | - | cret := xMainContextPending(x.GoPointer()) | |
| 380 | - | return cret | |
| 381 | - | } | |
| 382 | - | ||
| 383 | - | var xMainContextPopThreadDefault func(uintptr) | |
| 384 | - | ||
| 385 | - | // Pops @context off the thread-default context stack (verifying that | |
| 386 | - | // it was on the top of the stack). | |
| 387 | - | func (x *MainContext) PopThreadDefault() { | |
| 388 | - | core.LazyRegister(&xMainContextPopThreadDefault, "GLIB", "g_main_context_pop_thread_default", false) | |
| 389 | - | ||
| 390 | - | xMainContextPopThreadDefault(x.GoPointer()) | |
| 391 | - | } | |
| 392 | - | ||
| 393 | - | var xMainContextPrepare func(uintptr, *int) bool | |
| 394 | - | ||
| 395 | - | // Prepares to poll sources within a main loop. | |
| 396 | - | // | |
| 397 | - | // The resulting information | |
| 398 | - | // for polling is determined by calling [method@GLib.MainContext.query]. | |
| 399 | - | // | |
| 400 | - | // You must have successfully acquired the context with | |
| 401 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |
| 402 | - | func (x *MainContext) Prepare(PriorityVar *int) bool { | |
| 403 | - | core.LazyRegister(&xMainContextPrepare, "GLIB", "g_main_context_prepare", false) | |
| 404 | - | ||
| 405 | - | cret := xMainContextPrepare(x.GoPointer(), PriorityVar) | |
| 406 | - | return cret | |
| 407 | - | } | |
| 408 | - | ||
| 409 | - | var xMainContextPushThreadDefault func(uintptr) | |
| 410 | - | ||
| 411 | - | // Acquires @context and sets it as the thread-default context for the | |
| 412 | - | // current thread. This will cause certain asynchronous operations | |
| 413 | - | // (such as most [Gio](../gio/index.html)-based I/O) which are | |
| 414 | - | // started in this thread to run under @context and deliver their | |
| 415 | - | // results to its main loop, rather than running under the global | |
| 416 | - | // default main context in the main thread. Note that calling this function | |
| 417 | - | // changes the context returned by [func@GLib.MainContext.get_thread_default], | |
| 418 | - | // not the one returned by [func@GLib.MainContext.default], so it does not | |
| 419 | - | // affect the context used by functions like [func@GLib.idle_add]. | |
| 420 | - | // | |
| 421 | - | // Normally you would call this function shortly after creating a new | |
| 422 | - | // thread, passing it a [struct@GLib.MainContext] which will be run by a | |
| 423 | - | // [struct@GLib.MainLoop] in that thread, to set a new default context for all | |
| 424 | - | // async operations in that thread. In this case you may not need to | |
| 425 | - | // ever call [method@GLib.MainContext.pop_thread_default], assuming you want | |
| 426 | - | // the new [struct@GLib.MainContext] to be the default for the whole lifecycle | |
| 427 | - | // of the thread. | |
| 428 | - | // | |
| 429 | - | // If you don’t have control over how the new thread was created (e.g. | |
| 430 | - | // in the new thread isn’t newly created, or if the thread life | |
| 431 | - | // cycle is managed by a #GThreadPool), it is always suggested to wrap | |
| 432 | - | // the logic that needs to use the new [struct@GLib.MainContext] inside a | |
| 433 | - | // [method@GLib.MainContext.push_thread_default] / | |
| 434 | - | // [method@GLib.MainContext.pop_thread_default] pair, otherwise threads that | |
| 435 | - | // are re-used will end up never explicitly releasing the | |
| 436 | - | // [struct@GLib.MainContext] reference they hold. | |
| 437 | - | // | |
| 438 | - | // In some cases you may want to schedule a single operation in a | |
| 439 | - | // non-default context, or temporarily use a non-default context in | |
| 440 | - | // the main thread. In that case, you can wrap the call to the | |
| 441 | - | // asynchronous operation inside a | |
| 442 | - | // [method@GLib.MainContext.push_thread_default] / | |
| 443 | - | // [method@GLib.MainContext.pop_thread_default] pair, but it is up to you to | |
| 444 | - | // ensure that no other asynchronous operations accidentally get | |
| 445 | - | // started while the non-default context is active. | |
| 446 | - | // | |
| 447 | - | // Beware that libraries that predate this function may not correctly | |
| 448 | - | // handle being used from a thread with a thread-default context. For example, | |
| 449 | - | // see `g_file_supports_thread_contexts()`. | |
| 450 | - | func (x *MainContext) PushThreadDefault() { | |
| 451 | - | core.LazyRegister(&xMainContextPushThreadDefault, "GLIB", "g_main_context_push_thread_default", false) | |
| 452 | - | ||
| 453 | - | xMainContextPushThreadDefault(x.GoPointer()) | |
| 454 | - | } | |
| 455 | - | ||
| 456 | - | var xMainContextPusherNew func(uintptr) *MainContextPusher | |
| 457 | - | ||
| 458 | - | // Push @main_context as the new thread-default main context for the current | |
| 459 | - | // thread, using [method@GLib.MainContext.push_thread_default], and return a | |
| 460 | - | // new [alias@GLib.MainContextPusher]. Pop with g_main_context_pusher_free(). | |
| 461 | - | // Using [method@GLib.MainContext.pop_thread_default] on @main_context while a | |
| 462 | - | // [alias@GLib.MainContextPusher] exists for it can lead to undefined behaviour. | |
| 463 | - | // | |
| 464 | - | // Using two [alias@GLib.MainContextPusher]s in the same scope is not allowed, | |
| 465 | - | // as it leads to an undefined pop order. | |
| 466 | - | // | |
| 467 | - | // This is intended to be used with g_autoptr(). Note that g_autoptr() | |
| 468 | - | // is only available when using GCC or clang, so the following example | |
| 469 | - | // will only work with those compilers: | |
| 470 | - | // |[ | |
| 471 | - | // typedef struct | |
| 472 | - | // | |
| 473 | - | // { | |
| 474 | - | // ... | |
| 475 | - | // GMainContext *context; | |
| 476 | - | // ... | |
| 477 | - | // } MyObject; | |
| 478 | - | // | |
| 479 | - | // static void | |
| 480 | - | // my_object_do_stuff (MyObject *self) | |
| 481 | - | // | |
| 482 | - | // { | |
| 483 | - | // g_autoptr(GMainContextPusher) pusher = g_main_context_pusher_new (self->context); | |
| 484 | - | // | |
| 485 | - | // // Code with main context as the thread default here | |
| 486 | - | // | |
| 487 | - | // if (cond) | |
| 488 | - | // // No need to pop | |
| 489 | - | // return; | |
| 490 | - | // | |
| 491 | - | // // Optionally early pop | |
| 492 | - | // g_clear_pointer (&pusher, g_main_context_pusher_free); | |
| 493 | - | // | |
| 494 | - | // // Code with main context no longer the thread default here | |
| 495 | - | // } | |
| 496 | - | // | |
| 497 | - | // ]| | |
| 498 | - | func (x *MainContext) PusherNew() *MainContextPusher { | |
| 499 | - | core.LazyRegister(&xMainContextPusherNew, "GLIB", "g_main_context_pusher_new", false) | |
| 500 | - | ||
| 501 | - | cret := xMainContextPusherNew(x.GoPointer()) | |
| 502 | - | return cret | |
| 503 | - | } | |
| 504 | - | ||
| 505 | - | var xMainContextQuery func(uintptr, int, *int, *[]PollFD, int) int | |
| 506 | - | ||
| 507 | - | // Determines information necessary to poll this main loop. | |
| 508 | - | // | |
| 509 | - | // You should | |
| 510 | - | // be careful to pass the resulting @fds array and its length @n_fds | |
| 511 | - | // as-is when calling [method@GLib.MainContext.check], as this function relies | |
| 512 | - | // on assumptions made when the array is filled. | |
| 513 | - | // | |
| 514 | - | // You must have successfully acquired the context with | |
| 515 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |
| 516 | - | func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar *int, FdsVar *[]PollFD, NFdsVar int) int { | |
| 517 | - | core.LazyRegister(&xMainContextQuery, "GLIB", "g_main_context_query", false) | |
| 518 | - | ||
| 519 | - | cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar) | |
| 520 | - | return cret | |
| 521 | - | } | |
| 522 | - | ||
| 523 | - | var xMainContextRef func(uintptr) uintptr | |
| 524 | - | ||
| 525 | - | // Increases the reference count on a [struct@GLib.MainContext] object by one. | |
| 526 | - | func (x *MainContext) Ref() *MainContext { | |
| 527 | - | core.LazyRegister(&xMainContextRef, "GLIB", "g_main_context_ref", false) | |
| 528 | - | ||
| 529 | - | cret := xMainContextRef(x.GoPointer()) | |
| 530 | - | if cret == 0 { | |
| 531 | - | return nil | |
| 532 | - | } | |
| 533 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 534 | - | } | |
| 535 | - | ||
| 536 | - | var xMainContextRelease func(uintptr) | |
| 537 | - | ||
| 538 | - | // Releases ownership of a context previously acquired by this thread | |
| 539 | - | // with [method@GLib.MainContext.acquire]. | |
| 540 | - | // | |
| 541 | - | // If the context was acquired multiple | |
| 542 | - | // times, the ownership will be released only when [method@GLib.MainContext.release] | |
| 543 | - | // is called as many times as it was acquired. | |
| 544 | - | // | |
| 545 | - | // You must have successfully acquired the context with | |
| 546 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |
| 547 | - | func (x *MainContext) Release() { | |
| 548 | - | core.LazyRegister(&xMainContextRelease, "GLIB", "g_main_context_release", false) | |
| 549 | - | ||
| 550 | - | xMainContextRelease(x.GoPointer()) | |
| 551 | - | } | |
| 552 | - | ||
| 553 | - | var xMainContextRemovePoll func(uintptr, *PollFD) | |
| 554 | - | ||
| 555 | - | // Removes file descriptor from the set of file descriptors to be | |
| 556 | - | // polled for a particular context. | |
| 557 | - | func (x *MainContext) RemovePoll(FdVar *PollFD) { | |
| 558 | - | core.LazyRegister(&xMainContextRemovePoll, "GLIB", "g_main_context_remove_poll", false) | |
| 559 | - | ||
| 560 | - | xMainContextRemovePoll(x.GoPointer(), FdVar) | |
| 561 | - | } | |
| 562 | - | ||
| 563 | - | var xMainContextSetPollFunc func(uintptr, uintptr) | |
| 564 | - | ||
| 565 | - | // Sets the function to use to handle polling of file descriptors. | |
| 566 | - | // | |
| 567 | - | // It will be used instead of the [`poll()`](man:poll(2)) system call | |
| 568 | - | // (or GLib’s replacement function, which is used where | |
| 569 | - | // `poll()` isn’t available). | |
| 570 | - | // | |
| 571 | - | // This function could possibly be used to integrate the GLib event | |
| 572 | - | // loop with an external event loop. | |
| 573 | - | func (x *MainContext) SetPollFunc(FuncVar *PollFunc) { | |
| 574 | - | core.LazyRegister(&xMainContextSetPollFunc, "GLIB", "g_main_context_set_poll_func", false) | |
| 575 | - | ||
| 576 | - | xMainContextSetPollFunc(x.GoPointer(), NewCallback(FuncVar)) | |
| 577 | - | } | |
| 578 | - | ||
| 579 | - | var xMainContextUnref func(uintptr) | |
| 580 | - | ||
| 581 | - | // Decreases the reference count on a [struct@GLib.MainContext] object by one. | |
| 582 | - | // If | |
| 583 | - | // the result is zero, free the context and free all associated memory. | |
| 584 | - | func (x *MainContext) Unref() { | |
| 585 | - | core.LazyRegister(&xMainContextUnref, "GLIB", "g_main_context_unref", false) | |
| 586 | - | ||
| 587 | - | xMainContextUnref(x.GoPointer()) | |
| 588 | - | } | |
| 589 | - | ||
| 590 | - | var xMainContextWait func(uintptr, *Cond, *Mutex) bool | |
| 591 | - | ||
| 592 | - | // Tries to become the owner of the specified context, and waits on @cond if | |
| 593 | - | // another thread is the owner. | |
| 594 | - | // | |
| 595 | - | // This is the same as [method@GLib.MainContext.acquire], but if another thread | |
| 596 | - | // is the owner, atomically drop @mutex and wait on @cond until | |
| 597 | - | // that owner releases ownership or until @cond is signaled, then | |
| 598 | - | // try again (once) to become the owner. | |
| 599 | - | func (x *MainContext) Wait(CondVar *Cond, MutexVar *Mutex) bool { | |
| 600 | - | core.LazyRegister(&xMainContextWait, "GLIB", "g_main_context_wait", false) | |
| 601 | - | ||
| 602 | - | cret := xMainContextWait(x.GoPointer(), CondVar, MutexVar) | |
| 603 | - | return cret | |
| 604 | - | } | |
| 605 | - | ||
| 606 | - | var xMainContextWakeup func(uintptr) | |
| 607 | - | ||
| 608 | - | // Wake up @context if it’s currently blocking in | |
| 609 | - | // [method@GLib.MainContext.iteration], causing it to stop blocking. | |
| 610 | - | // | |
| 611 | - | // The @context could be blocking waiting for a source to become ready. | |
| 612 | - | // Otherwise, if @context is not currently blocking, this function causes the | |
| 613 | - | // next invocation of [method@GLib.MainContext.iteration] to return without | |
| 614 | - | // blocking. | |
| 615 | - | // | |
| 616 | - | // This API is useful for low-level control over [struct@GLib.MainContext]; for | |
| 617 | - | // example, integrating it with main loop implementations such as | |
| 618 | - | // [struct@GLib.MainLoop]. | |
| 619 | - | // | |
| 620 | - | // Another related use for this function is when implementing a main | |
| 621 | - | // loop with a termination condition, computed from multiple threads: | |
| 622 | - | // | |
| 623 | - | // ```c | |
| 624 | - | // | |
| 625 | - | // #define NUM_TASKS 10 | |
| 626 | - | // static gint tasks_remaining = NUM_TASKS; // (atomic) | |
| 627 | - | // ... | |
| 628 | - | // | |
| 629 | - | // while (g_atomic_int_get (&tasks_remaining) != 0) | |
| 630 | - | // g_main_context_iteration (NULL, TRUE); | |
| 631 | - | // | |
| 632 | - | // ``` | |
| 633 | - | // | |
| 634 | - | // Then in a thread: | |
| 635 | - | // ```c | |
| 636 | - | // | |
| 637 | - | // perform_work (); | |
| 638 | - | // | |
| 639 | - | // if (g_atomic_int_dec_and_test (&tasks_remaining)) | |
| 640 | - | // g_main_context_wakeup (NULL); | |
| 641 | - | // | |
| 642 | - | // ``` | |
| 643 | - | func (x *MainContext) Wakeup() { | |
| 644 | - | core.LazyRegister(&xMainContextWakeup, "GLIB", "g_main_context_wakeup", false) | |
| 645 | - | ||
| 646 | - | xMainContextWakeup(x.GoPointer()) | |
| 647 | - | } | |
| 648 | - | ||
| 649 | - | // The `GMainLoop` struct is an opaque data type | |
| 650 | - | // representing the main event loop of a GLib or GTK application. | |
| 651 | - | type MainLoop struct { | |
| 652 | - | _ structs.HostLayout | |
| 653 | - | } | |
| 654 | - | ||
| 655 | - | var xMainLoopGLibType func() types.GType | |
| 656 | - | ||
| 657 | - | func MainLoopGLibType() types.GType { | |
| 658 | - | core.LazyRegister(&xMainLoopGLibType, "GLIB", "g_main_loop_get_type", false) | |
| 659 | - | return xMainLoopGLibType() | |
| 660 | - | } | |
| 661 | - | ||
| 662 | - | func (x *MainLoop) GoPointer() uintptr { | |
| 663 | - | return uintptr(unsafe.Pointer(x)) | |
| 664 | - | } | |
| 665 | - | ||
| 666 | - | func MainLoopNewFromInternalPtr(ptr uintptr) *MainLoop { | |
| 667 | - | if ptr == 0 { | |
| 668 | - | return nil | |
| 669 | - | } | |
| 670 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 671 | - | return (*MainLoop)(rawPtr) | |
| 672 | - | } | |
| 673 | - | ||
| 674 | - | var xNewMainLoop func(*MainContext, bool) uintptr | |
| 675 | - | ||
| 676 | - | // Creates a new [struct@GLib.MainLoop] structure. | |
| 677 | - | func NewMainLoop(ContextVar *MainContext, IsRunningVar bool) *MainLoop { | |
| 678 | - | core.LazyRegister(&xNewMainLoop, "GLIB", "g_main_loop_new", false) | |
| 679 | - | ||
| 680 | - | cret := xNewMainLoop(ContextVar, IsRunningVar) | |
| 681 | - | if cret == 0 { | |
| 682 | - | return nil | |
| 683 | - | } | |
| 684 | - | return (*MainLoop)(unsafe.Pointer(cret)) | |
| 685 | - | } | |
| 686 | - | ||
| 687 | - | var xMainLoopGetContext func(uintptr) uintptr | |
| 688 | - | ||
| 689 | - | // Returns the [struct@GLib.MainContext] of @loop. | |
| 690 | - | func (x *MainLoop) GetContext() *MainContext { | |
| 691 | - | core.LazyRegister(&xMainLoopGetContext, "GLIB", "g_main_loop_get_context", false) | |
| 692 | - | ||
| 693 | - | cret := xMainLoopGetContext(x.GoPointer()) | |
| 694 | - | if cret == 0 { | |
| 695 | - | return nil | |
| 696 | - | } | |
| 697 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 698 | - | } | |
| 699 | - | ||
| 700 | - | var xMainLoopIsRunning func(uintptr) bool | |
| 701 | - | ||
| 702 | - | // Checks to see if the main loop is currently being run via | |
| 703 | - | // [method@GLib.MainLoop.run]. | |
| 704 | - | func (x *MainLoop) IsRunning() bool { | |
| 705 | - | core.LazyRegister(&xMainLoopIsRunning, "GLIB", "g_main_loop_is_running", false) | |
| 706 | - | ||
| 707 | - | cret := xMainLoopIsRunning(x.GoPointer()) | |
| 708 | - | return cret | |
| 709 | - | } | |
| 710 | - | ||
| 711 | - | var xMainLoopQuit func(uintptr) | |
| 712 | - | ||
| 713 | - | // Stops a [struct@GLib.MainLoop] from running. Any calls to | |
| 714 | - | // [method@GLib.MainLoop.run] for the loop will return. | |
| 715 | - | // | |
| 716 | - | // Note that sources that have already been dispatched when | |
| 717 | - | // [method@GLib.MainLoop.quit] is called will still be executed. | |
| 718 | - | func (x *MainLoop) Quit() { | |
| 719 | - | core.LazyRegister(&xMainLoopQuit, "GLIB", "g_main_loop_quit", false) | |
| 720 | - | ||
| 721 | - | xMainLoopQuit(x.GoPointer()) | |
| 722 | - | } | |
| 723 | - | ||
| 724 | - | var xMainLoopRef func(uintptr) uintptr | |
| 725 | - | ||
| 726 | - | // Increases the reference count on a [struct@GLib.MainLoop] object by one. | |
| 727 | - | func (x *MainLoop) Ref() *MainLoop { | |
| 728 | - | core.LazyRegister(&xMainLoopRef, "GLIB", "g_main_loop_ref", false) | |
| 729 | - | ||
| 730 | - | cret := xMainLoopRef(x.GoPointer()) | |
| 731 | - | if cret == 0 { | |
| 732 | - | return nil | |
| 733 | - | } | |
| 734 | - | return (*MainLoop)(unsafe.Pointer(cret)) | |
| 735 | - | } | |
| 736 | - | ||
| 737 | - | var xMainLoopRun func(uintptr) | |
| 738 | - | ||
| 739 | - | // Runs a main loop until [method@GLib.MainLoop.quit] is called on the loop. | |
| 740 | - | // | |
| 741 | - | // If this is called from the thread of the loop’s [struct@GLib.MainContext], | |
| 742 | - | // it will process events from the loop, otherwise it will | |
| 743 | - | // simply wait. | |
| 744 | - | func (x *MainLoop) Run() { | |
| 745 | - | core.LazyRegister(&xMainLoopRun, "GLIB", "g_main_loop_run", false) | |
| 746 | - | ||
| 747 | - | xMainLoopRun(x.GoPointer()) | |
| 748 | - | } | |
| 749 | - | ||
| 750 | - | var xMainLoopUnref func(uintptr) | |
| 751 | - | ||
| 752 | - | // Decreases the reference count on a [struct@GLib.MainLoop] object by one. | |
| 753 | - | // | |
| 754 | - | // If the result is zero, the loop and all associated memory are freed. | |
| 755 | - | func (x *MainLoop) Unref() { | |
| 756 | - | core.LazyRegister(&xMainLoopUnref, "GLIB", "g_main_loop_unref", false) | |
| 757 | - | ||
| 758 | - | xMainLoopUnref(x.GoPointer()) | |
| 759 | - | } | |
| 760 | - | ||
| 761 | - | // The `GSource` struct is an opaque data type | |
| 762 | - | // representing an event source. | |
| 763 | - | type Source struct { | |
| 764 | - | _ structs.HostLayout | |
| 765 | - | ||
| 766 | - | CallbackData uintptr | |
| 767 | - | ||
| 768 | - | CallbackFuncs *SourceCallbackFuncs | |
| 769 | - | ||
| 770 | - | SourceFuncs *SourceFuncs | |
| 771 | - | ||
| 772 | - | RefCount uint | |
| 773 | - | ||
| 774 | - | Context *MainContext | |
| 775 | - | ||
| 776 | - | Priority int32 | |
| 777 | - | ||
| 778 | - | Flags uint | |
| 779 | - | ||
| 780 | - | SourceId uint | |
| 781 | - | ||
| 782 | - | PollFds *SList | |
| 783 | - | ||
| 784 | - | Prev *Source | |
| 785 | - | ||
| 786 | - | Next *Source | |
| 787 | - | ||
| 788 | - | Name uintptr | |
| 789 | - | ||
| 790 | - | Priv *SourcePrivate | |
| 791 | - | } | |
| 792 | - | ||
| 793 | - | var xSourceGLibType func() types.GType | |
| 794 | - | ||
| 795 | - | func SourceGLibType() types.GType { | |
| 796 | - | core.LazyRegister(&xSourceGLibType, "GLIB", "g_source_get_type", false) | |
| 797 | - | return xSourceGLibType() | |
| 798 | - | } | |
| 799 | - | ||
| 800 | - | func (x *Source) GoPointer() uintptr { | |
| 801 | - | return uintptr(unsafe.Pointer(x)) | |
| 802 | - | } | |
| 803 | - | ||
| 804 | - | func SourceNewFromInternalPtr(ptr uintptr) *Source { | |
| 805 | - | if ptr == 0 { | |
| 806 | - | return nil | |
| 807 | - | } | |
| 808 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 809 | - | return (*Source)(rawPtr) | |
| 810 | - | } | |
| 811 | - | ||
| 812 | - | var xNewSource func(*SourceFuncs, uint) uintptr | |
| 813 | - | ||
| 814 | - | // Creates a new [struct@GLib.Source] structure. | |
| 815 | - | // | |
| 816 | - | // The size is specified to | |
| 817 | - | // allow creating structures derived from [struct@GLib.Source] that contain | |
| 818 | - | // additional data. The size passed in must be at least | |
| 819 | - | // `sizeof (GSource)`. | |
| 820 | - | // | |
| 821 | - | // The source will not initially be associated with any [struct@GLib.MainContext] | |
| 822 | - | // and must be added to one with [method@GLib.Source.attach] before it will be | |
| 823 | - | // executed. | |
| 824 | - | func NewSource(SourceFuncsVar *SourceFuncs, StructSizeVar uint) *Source { | |
| 825 | - | core.LazyRegister(&xNewSource, "GLIB", "g_source_new", false) | |
| 826 | - | ||
| 827 | - | cret := xNewSource(SourceFuncsVar, StructSizeVar) | |
| 828 | - | if cret == 0 { | |
| 829 | - | return nil | |
| 830 | - | } | |
| 831 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 832 | - | } | |
| 833 | - | ||
| 834 | - | var xSourceAddChildSource func(uintptr, *Source) | |
| 835 | - | ||
| 836 | - | // Adds @child_source to @source as a ‘polled’ source. | |
| 837 | - | // | |
| 838 | - | // When @source is added to a [struct@GLib.MainContext], @child_source will be | |
| 839 | - | // automatically added with the same priority. When @child_source is triggered, | |
| 840 | - | // it will cause @source to dispatch (in addition to calling its own callback), | |
| 841 | - | // and when @source is destroyed, it will destroy @child_source as well. | |
| 842 | - | // | |
| 843 | - | // The @source will also still be dispatched if its own prepare/check functions | |
| 844 | - | // indicate that it is ready. | |
| 845 | - | // | |
| 846 | - | // If you don’t need @child_source to do anything on its own when it | |
| 847 | - | // triggers, you can call `g_source_set_dummy_callback()` on it to set a | |
| 848 | - | // callback that does nothing (except return true if appropriate). | |
| 849 | - | // | |
| 850 | - | // The @source will hold a reference on @child_source while @child_source | |
| 851 | - | // is attached to it. | |
| 852 | - | // | |
| 853 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 854 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 855 | - | func (x *Source) AddChildSource(ChildSourceVar *Source) { | |
| 856 | - | core.LazyRegister(&xSourceAddChildSource, "GLIB", "g_source_add_child_source", false) | |
| 857 | - | ||
| 858 | - | xSourceAddChildSource(x.GoPointer(), ChildSourceVar) | |
| 859 | - | } | |
| 860 | - | ||
| 861 | - | var xSourceAddPoll func(uintptr, *PollFD) | |
| 862 | - | ||
| 863 | - | // Adds a file descriptor to the set of file descriptors polled for | |
| 864 | - | // this source. | |
| 865 | - | // | |
| 866 | - | // This is usually combined with [ctor@GLib.Source.new] to add an | |
| 867 | - | // event source. The event source’s check function will typically test | |
| 868 | - | // the @revents field in the [struct@GLib.PollFD] struct and return true if | |
| 869 | - | // events need to be processed. | |
| 870 | - | // | |
| 871 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 872 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 873 | - | // | |
| 874 | - | // Using this API forces the linear scanning of event sources on each | |
| 875 | - | // main loop iteration. Newly-written event sources should try to use | |
| 876 | - | // `g_source_add_unix_fd()` instead of this API. | |
| 877 | - | func (x *Source) AddPoll(FdVar *PollFD) { | |
| 878 | - | core.LazyRegister(&xSourceAddPoll, "GLIB", "g_source_add_poll", false) | |
| 879 | - | ||
| 880 | - | xSourceAddPoll(x.GoPointer(), FdVar) | |
| 881 | - | } | |
| 882 | - | ||
| 883 | - | var xSourceAddUnixFd func(uintptr, int, IOCondition) uintptr | |
| 884 | - | ||
| 885 | - | // Monitors @fd for the IO events in @events. | |
| 886 | - | // | |
| 887 | - | // The tag returned by this function can be used to remove or modify the | |
| 888 | - | // monitoring of the @fd using [method@GLib.Source.remove_unix_fd] or | |
| 889 | - | // [method@GLib.Source.modify_unix_fd]. | |
| 890 | - | // | |
| 891 | - | // It is not necessary to remove the file descriptor before destroying the | |
| 892 | - | // source; it will be cleaned up automatically. | |
| 893 | - | // | |
| 894 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 895 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 896 | - | // | |
| 897 | - | // As the name suggests, this function is not available on Windows. | |
| 898 | - | func (x *Source) AddUnixFd(FdVar int, EventsVar IOCondition) uintptr { | |
| 899 | - | core.LazyRegister(&xSourceAddUnixFd, "GLIB", "g_source_add_unix_fd", false) | |
| 900 | - | ||
| 901 | - | cret := xSourceAddUnixFd(x.GoPointer(), FdVar, EventsVar) | |
| 902 | - | return cret | |
| 903 | - | } | |
| 904 | - | ||
| 905 | - | var xSourceAttach func(uintptr, *MainContext) uint | |
| 906 | - | ||
| 907 | - | // Adds a [struct@GLib.Source] to a @context so that it will be executed within | |
| 908 | - | // that context. | |
| 909 | - | // | |
| 910 | - | // Remove it by calling [method@GLib.Source.destroy]. | |
| 911 | - | // | |
| 912 | - | // This function is safe to call from any thread, regardless of which thread | |
| 913 | - | // the @context is running in. | |
| 914 | - | func (x *Source) Attach(ContextVar *MainContext) uint { | |
| 915 | - | core.LazyRegister(&xSourceAttach, "GLIB", "g_source_attach", false) | |
| 916 | - | ||
| 917 | - | cret := xSourceAttach(x.GoPointer(), ContextVar) | |
| 918 | - | return cret | |
| 919 | - | } | |
| 920 | - | ||
| 921 | - | var xSourceDestroy func(uintptr) | |
| 922 | - | ||
| 923 | - | // Removes a source from its [struct@GLib.MainContext], if any, and marks it as | |
| 924 | - | // destroyed. | |
| 925 | - | // | |
| 926 | - | // The source cannot be subsequently added to another | |
| 927 | - | // context. It is safe to call this on sources which have already been | |
| 928 | - | // removed from their context. | |
| 929 | - | // | |
| 930 | - | // This does not unref the [struct@GLib.Source]: if you still hold a reference, | |
| 931 | - | // use [method@GLib.Source.unref] to drop it. | |
| 932 | - | // | |
| 933 | - | // This function is safe to call from any thread, regardless of which thread | |
| 934 | - | // the [struct@GLib.MainContext] is running in. | |
| 935 | - | // | |
| 936 | - | // If the source is currently attached to a [struct@GLib.MainContext], | |
| 937 | - | // destroying it will effectively unset the callback similar to calling | |
| 938 | - | // [method@GLib.Source.set_callback]. This can mean, that the data’s | |
| 939 | - | // [callback@GLib.DestroyNotify] gets called right away. | |
| 940 | - | func (x *Source) Destroy() { | |
| 941 | - | core.LazyRegister(&xSourceDestroy, "GLIB", "g_source_destroy", false) | |
| 942 | - | ||
| 943 | - | xSourceDestroy(x.GoPointer()) | |
| 944 | - | } | |
| 945 | - | ||
| 946 | - | var xSourceDupContext func(uintptr) uintptr | |
| 947 | - | ||
| 948 | - | // Gets a reference to the [struct@GLib.MainContext] with which the source is | |
| 949 | - | // associated. | |
| 950 | - | // | |
| 951 | - | // You can call this on a source that has been destroyed. You can | |
| 952 | - | // always call this function on the source returned from | |
| 953 | - | // [func@GLib.main_current_source]. | |
| 954 | - | func (x *Source) DupContext() *MainContext { | |
| 955 | - | core.LazyRegister(&xSourceDupContext, "GLIB", "g_source_dup_context", false) | |
| 956 | - | ||
| 957 | - | cret := xSourceDupContext(x.GoPointer()) | |
| 958 | - | if cret == 0 { | |
| 959 | - | return nil | |
| 960 | - | } | |
| 961 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 962 | - | } | |
| 963 | - | ||
| 964 | - | var xSourceGetCanRecurse func(uintptr) bool | |
| 965 | - | ||
| 966 | - | // Checks whether a source is allowed to be called recursively. | |
| 967 | - | // | |
| 968 | - | // See [method@GLib.Source.set_can_recurse]. | |
| 969 | - | func (x *Source) GetCanRecurse() bool { | |
| 970 | - | core.LazyRegister(&xSourceGetCanRecurse, "GLIB", "g_source_get_can_recurse", false) | |
| 971 | - | ||
| 972 | - | cret := xSourceGetCanRecurse(x.GoPointer()) | |
| 973 | - | return cret | |
| 974 | - | } | |
| 975 | - | ||
| 976 | - | var xSourceGetContext func(uintptr) uintptr | |
| 977 | - | ||
| 978 | - | // Gets the [struct@GLib.MainContext] with which the source is associated. | |
| 979 | - | // | |
| 980 | - | // You can call this on a source that has been destroyed, provided | |
| 981 | - | // that the [struct@GLib.MainContext] it was attached to still exists (in which | |
| 982 | - | // case it will return that [struct@GLib.MainContext]). In particular, you can | |
| 983 | - | // always call this function on the source returned from | |
| 984 | - | // [func@GLib.main_current_source]. But calling this function on a source | |
| 985 | - | // whose [struct@GLib.MainContext] has been destroyed is an error. | |
| 986 | - | // | |
| 987 | - | // If the associated [struct@GLib.MainContext] could be destroy concurrently from | |
| 988 | - | // a different thread, then this function is not safe to call and | |
| 989 | - | // [method@GLib.Source.dup_context] should be used instead. | |
| 990 | - | func (x *Source) GetContext() *MainContext { | |
| 991 | - | core.LazyRegister(&xSourceGetContext, "GLIB", "g_source_get_context", false) | |
| 992 | - | ||
| 993 | - | cret := xSourceGetContext(x.GoPointer()) | |
| 994 | - | if cret == 0 { | |
| 995 | - | return nil | |
| 996 | - | } | |
| 997 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 998 | - | } | |
| 999 | - | ||
| 1000 | - | var xSourceGetCurrentTime func(uintptr, *TimeVal) | |
| 1001 | - | ||
| 1002 | - | // This function ignores @source and is otherwise the same as | |
| 1003 | - | // [func@GLib.get_current_time]. | |
| 1004 | - | func (x *Source) GetCurrentTime(TimevalVar *TimeVal) { | |
| 1005 | - | core.LazyRegister(&xSourceGetCurrentTime, "GLIB", "g_source_get_current_time", false) | |
| 1006 | - | ||
| 1007 | - | xSourceGetCurrentTime(x.GoPointer(), TimevalVar) | |
| 1008 | - | } | |
| 1009 | - | ||
| 1010 | - | var xSourceGetId func(uintptr) uint | |
| 1011 | - | ||
| 1012 | - | // Returns the numeric ID for a particular source. | |
| 1013 | - | // | |
| 1014 | - | // The ID of a source | |
| 1015 | - | // is a positive integer which is unique within a particular main loop | |
| 1016 | - | // context. The reverse mapping from ID to source is done by | |
| 1017 | - | // [method@GLib.MainContext.find_source_by_id]. | |
| 1018 | - | // | |
| 1019 | - | // You can only call this function while the source is associated to a | |
| 1020 | - | // [struct@GLib.MainContext] instance; calling this function before | |
| 1021 | - | // [method@GLib.Source.attach] or after [method@GLib.Source.destroy] yields | |
| 1022 | - | // undefined behavior. The ID returned is unique within the | |
| 1023 | - | // [struct@GLib.MainContext] instance passed to [method@GLib.Source.attach]. | |
| 1024 | - | func (x *Source) GetId() uint { | |
| 1025 | - | core.LazyRegister(&xSourceGetId, "GLIB", "g_source_get_id", false) | |
| 1026 | - | ||
| 1027 | - | cret := xSourceGetId(x.GoPointer()) | |
| 1028 | - | return cret | |
| 1029 | - | } | |
| 1030 | - | ||
| 1031 | - | var xSourceGetName func(uintptr) string | |
| 1032 | - | ||
| 1033 | - | // Gets a name for the source, used in debugging and profiling. | |
| 1034 | - | // | |
| 1035 | - | // The | |
| 1036 | - | // name may be `NULL` if it has never been set with [method@GLib.Source.set_name]. | |
| 1037 | - | func (x *Source) GetName() string { | |
| 1038 | - | core.LazyRegister(&xSourceGetName, "GLIB", "g_source_get_name", false) | |
| 1039 | - | ||
| 1040 | - | cret := xSourceGetName(x.GoPointer()) | |
| 1041 | - | return cret | |
| 1042 | - | } | |
| 1043 | - | ||
| 1044 | - | var xSourceGetPriority func(uintptr) int | |
| 1045 | - | ||
| 1046 | - | // Gets the priority of a source. | |
| 1047 | - | func (x *Source) GetPriority() int { | |
| 1048 | - | core.LazyRegister(&xSourceGetPriority, "GLIB", "g_source_get_priority", false) | |
| 1049 | - | ||
| 1050 | - | cret := xSourceGetPriority(x.GoPointer()) | |
| 1051 | - | return cret | |
| 1052 | - | } | |
| 1053 | - | ||
| 1054 | - | var xSourceGetReadyTime func(uintptr) int64 | |
| 1055 | - | ||
| 1056 | - | // Gets the ‘ready time’ of @source, as set by | |
| 1057 | - | // [method@GLib.Source.set_ready_time]. | |
| 1058 | - | // | |
| 1059 | - | // Any time before or equal to the current monotonic time (including zero) | |
| 1060 | - | // is an indication that the source will fire immediately. | |
| 1061 | - | func (x *Source) GetReadyTime() int64 { | |
| 1062 | - | core.LazyRegister(&xSourceGetReadyTime, "GLIB", "g_source_get_ready_time", false) | |
| 1063 | - | ||
| 1064 | - | cret := xSourceGetReadyTime(x.GoPointer()) | |
| 1065 | - | return cret | |
| 1066 | - | } | |
| 1067 | - | ||
| 1068 | - | var xSourceGetTime func(uintptr) int64 | |
| 1069 | - | ||
| 1070 | - | // Gets the time to be used when checking this source. | |
| 1071 | - | // | |
| 1072 | - | // The advantage of | |
| 1073 | - | // calling this function over calling [func@GLib.get_monotonic_time] directly is | |
| 1074 | - | // that when checking multiple sources, GLib can cache a single value | |
| 1075 | - | // instead of having to repeatedly get the system monotonic time. | |
| 1076 | - | // | |
| 1077 | - | // The time here is the system monotonic time, if available, or some | |
| 1078 | - | // other reasonable alternative otherwise. See [func@GLib.get_monotonic_time]. | |
| 1079 | - | func (x *Source) GetTime() int64 { | |
| 1080 | - | core.LazyRegister(&xSourceGetTime, "GLIB", "g_source_get_time", false) | |
| 1081 | - | ||
| 1082 | - | cret := xSourceGetTime(x.GoPointer()) | |
| 1083 | - | return cret | |
| 1084 | - | } | |
| 1085 | - | ||
| 1086 | - | var xSourceIsDestroyed func(uintptr) bool | |
| 1087 | - | ||
| 1088 | - | // Returns whether @source has been destroyed. | |
| 1089 | - | // | |
| 1090 | - | // This is important when you operate upon your objects | |
| 1091 | - | // from within idle handlers, but may have freed the object | |
| 1092 | - | // before the dispatch of your idle handler. | |
| 1093 | - | // | |
| 1094 | - | // ```c | |
| 1095 | - | // static gboolean | |
| 1096 | - | // idle_callback (gpointer data) | |
| 1097 | - | // | |
| 1098 | - | // { | |
| 1099 | - | // SomeWidget *self = data; | |
| 1100 | - | // | |
| 1101 | - | // g_mutex_lock (&self->idle_id_mutex); | |
| 1102 | - | // // do stuff with self | |
| 1103 | - | // self->idle_id = 0; | |
| 1104 | - | // g_mutex_unlock (&self->idle_id_mutex); | |
| 1105 | - | // | |
| 1106 | - | // return G_SOURCE_REMOVE; | |
| 1107 | - | // } | |
| 1108 | - | // | |
| 1109 | - | // static void | |
| 1110 | - | // some_widget_do_stuff_later (SomeWidget *self) | |
| 1111 | - | // | |
| 1112 | - | // { | |
| 1113 | - | // g_mutex_lock (&self->idle_id_mutex); | |
| 1114 | - | // self->idle_id = g_idle_add (idle_callback, self); | |
| 1115 | - | // g_mutex_unlock (&self->idle_id_mutex); | |
| 1116 | - | // } | |
| 1117 | - | // | |
| 1118 | - | // static void | |
| 1119 | - | // some_widget_init (SomeWidget *self) | |
| 1120 | - | // | |
| 1121 | - | // { | |
| 1122 | - | // g_mutex_init (&self->idle_id_mutex); | |
| 1123 | - | // | |
| 1124 | - | // // ... | |
| 1125 | - | // } | |
| 1126 | - | // | |
| 1127 | - | // static void | |
| 1128 | - | // some_widget_finalize (GObject *object) | |
| 1129 | - | // | |
| 1130 | - | // { | |
| 1131 | - | // SomeWidget *self = SOME_WIDGET (object); | |
| 1132 | - | // | |
| 1133 | - | // if (self->idle_id) | |
| 1134 | - | // g_source_remove (self->idle_id); | |
| 1135 | - | // | |
| 1136 | - | // g_mutex_clear (&self->idle_id_mutex); | |
| 1137 | - | // | |
| 1138 | - | // G_OBJECT_CLASS (parent_class)->finalize (object); | |
| 1139 | - | // } | |
| 1140 | - | // | |
| 1141 | - | // ``` | |
| 1142 | - | // | |
| 1143 | - | // This will fail in a multi-threaded application if the | |
| 1144 | - | // widget is destroyed before the idle handler fires due | |
| 1145 | - | // to the use after free in the callback. A solution, to | |
| 1146 | - | // this particular problem, is to check to if the source | |
| 1147 | - | // has already been destroy within the callback. | |
| 1148 | - | // | |
| 1149 | - | // ```c | |
| 1150 | - | // static gboolean | |
| 1151 | - | // idle_callback (gpointer data) | |
| 1152 | - | // | |
| 1153 | - | // { | |
| 1154 | - | // SomeWidget *self = data; | |
| 1155 | - | // | |
| 1156 | - | // g_mutex_lock (&self->idle_id_mutex); | |
| 1157 | - | // if (!g_source_is_destroyed (g_main_current_source ())) | |
| 1158 | - | // { | |
| 1159 | - | // // do stuff with self | |
| 1160 | - | // } | |
| 1161 | - | // g_mutex_unlock (&self->idle_id_mutex); | |
| 1162 | - | // | |
| 1163 | - | // return FALSE; | |
| 1164 | - | // } | |
| 1165 | - | // | |
| 1166 | - | // ``` | |
| 1167 | - | // | |
| 1168 | - | // Calls to this function from a thread other than the one acquired by the | |
| 1169 | - | // [struct@GLib.MainContext] the [struct@GLib.Source] is attached to are typically | |
| 1170 | - | // redundant, as the source could be destroyed immediately after this function | |
| 1171 | - | // returns. However, once a source is destroyed it cannot be un-destroyed, so | |
| 1172 | - | // this function can be used for opportunistic checks from any thread. | |
| 1173 | - | func (x *Source) IsDestroyed() bool { | |
| 1174 | - | core.LazyRegister(&xSourceIsDestroyed, "GLIB", "g_source_is_destroyed", false) | |
| 1175 | - | ||
| 1176 | - | cret := xSourceIsDestroyed(x.GoPointer()) | |
| 1177 | - | return cret | |
| 1178 | - | } | |
| 1179 | - | ||
| 1180 | - | var xSourceModifyUnixFd func(uintptr, uintptr, IOCondition) | |
| 1181 | - | ||
| 1182 | - | // Updates the event mask to watch for the file descriptor identified by @tag. | |
| 1183 | - | // | |
| 1184 | - | // The @tag is the tag returned from [method@GLib.Source.add_unix_fd]. | |
| 1185 | - | // | |
| 1186 | - | // If you want to remove a file descriptor, don’t set its event mask to zero. | |
| 1187 | - | // Instead, call [method@GLib.Source.remove_unix_fd]. | |
| 1188 | - | // | |
| 1189 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1190 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1191 | - | // | |
| 1192 | - | // As the name suggests, this function is not available on Windows. | |
| 1193 | - | func (x *Source) ModifyUnixFd(TagVar uintptr, NewEventsVar IOCondition) { | |
| 1194 | - | core.LazyRegister(&xSourceModifyUnixFd, "GLIB", "g_source_modify_unix_fd", false) | |
| 1195 | - | ||
| 1196 | - | xSourceModifyUnixFd(x.GoPointer(), TagVar, NewEventsVar) | |
| 1197 | - | } | |
| 1198 | - | ||
| 1199 | - | var xSourceQueryUnixFd func(uintptr, uintptr) IOCondition | |
| 1200 | - | ||
| 1201 | - | // Queries the events reported for the file descriptor corresponding to @tag | |
| 1202 | - | // on @source during the last poll. | |
| 1203 | - | // | |
| 1204 | - | // The return value of this function is only defined when the function | |
| 1205 | - | // is called from the check or dispatch functions for @source. | |
| 1206 | - | // | |
| 1207 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1208 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1209 | - | // | |
| 1210 | - | // As the name suggests, this function is not available on Windows. | |
| 1211 | - | func (x *Source) QueryUnixFd(TagVar uintptr) IOCondition { | |
| 1212 | - | core.LazyRegister(&xSourceQueryUnixFd, "GLIB", "g_source_query_unix_fd", false) | |
| 1213 | - | ||
| 1214 | - | cret := xSourceQueryUnixFd(x.GoPointer(), TagVar) | |
| 1215 | - | return cret | |
| 1216 | - | } | |
| 1217 | - | ||
| 1218 | - | var xSourceRef func(uintptr) uintptr | |
| 1219 | - | ||
| 1220 | - | // Increases the reference count on a source by one. | |
| 1221 | - | func (x *Source) Ref() *Source { | |
| 1222 | - | core.LazyRegister(&xSourceRef, "GLIB", "g_source_ref", false) | |
| 1223 | - | ||
| 1224 | - | cret := xSourceRef(x.GoPointer()) | |
| 1225 | - | if cret == 0 { | |
| 1226 | - | return nil | |
| 1227 | - | } | |
| 1228 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 1229 | - | } | |
| 1230 | - | ||
| 1231 | - | var xSourceRemoveChildSource func(uintptr, *Source) | |
| 1232 | - | ||
| 1233 | - | // Detaches @child_source from @source and destroys it. | |
| 1234 | - | // | |
| 1235 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1236 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1237 | - | func (x *Source) RemoveChildSource(ChildSourceVar *Source) { | |
| 1238 | - | core.LazyRegister(&xSourceRemoveChildSource, "GLIB", "g_source_remove_child_source", false) | |
| 1239 | - | ||
| 1240 | - | xSourceRemoveChildSource(x.GoPointer(), ChildSourceVar) | |
| 1241 | - | } | |
| 1242 | - | ||
| 1243 | - | var xSourceRemovePoll func(uintptr, *PollFD) | |
| 1244 | - | ||
| 1245 | - | // Removes a file descriptor from the set of file descriptors polled for | |
| 1246 | - | // this source. | |
| 1247 | - | // | |
| 1248 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1249 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1250 | - | func (x *Source) RemovePoll(FdVar *PollFD) { | |
| 1251 | - | core.LazyRegister(&xSourceRemovePoll, "GLIB", "g_source_remove_poll", false) | |
| 1252 | - | ||
| 1253 | - | xSourceRemovePoll(x.GoPointer(), FdVar) | |
| 1254 | - | } | |
| 1255 | - | ||
| 1256 | - | var xSourceRemoveUnixFd func(uintptr, uintptr) | |
| 1257 | - | ||
| 1258 | - | // Reverses the effect of a previous call to [method@GLib.Source.add_unix_fd]. | |
| 1259 | - | // | |
| 1260 | - | // You only need to call this if you want to remove a file descriptor from being | |
| 1261 | - | // watched while keeping the same source around. In the normal case you | |
| 1262 | - | // will just want to destroy the source. | |
| 1263 | - | // | |
| 1264 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1265 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1266 | - | // | |
| 1267 | - | // As the name suggests, this function is not available on Windows. | |
| 1268 | - | func (x *Source) RemoveUnixFd(TagVar uintptr) { | |
| 1269 | - | core.LazyRegister(&xSourceRemoveUnixFd, "GLIB", "g_source_remove_unix_fd", false) | |
| 1270 | - | ||
| 1271 | - | xSourceRemoveUnixFd(x.GoPointer(), TagVar) | |
| 1272 | - | } | |
| 1273 | - | ||
| 1274 | - | var xSourceSetCallback func(uintptr, uintptr, uintptr, uintptr) | |
| 1275 | - | ||
| 1276 | - | // Sets the callback function for a source. The callback for a source is | |
| 1277 | - | // called from the source’s dispatch function. | |
| 1278 | - | // | |
| 1279 | - | // The exact type of @func depends on the type of source; ie. you | |
| 1280 | - | // should not count on @func being called with @data as its first | |
| 1281 | - | // parameter. Cast @func with [func@GLib.SOURCE_FUNC] to avoid warnings about | |
| 1282 | - | // incompatible function types. | |
| 1283 | - | // | |
| 1284 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 1285 | - | // on how to handle memory management of @data. | |
| 1286 | - | // | |
| 1287 | - | // Typically, you won’t use this function. Instead use functions specific | |
| 1288 | - | // to the type of source you are using, such as [func@GLib.idle_add] or | |
| 1289 | - | // [func@GLib.timeout_add]. | |
| 1290 | - | // | |
| 1291 | - | // It is safe to call this function multiple times on a source which has already | |
| 1292 | - | // been attached to a context. The changes will take effect for the next time | |
| 1293 | - | // the source is dispatched after this call returns. | |
| 1294 | - | // | |
| 1295 | - | // Note that [method@GLib.Source.destroy] for a currently attached source has the effect | |
| 1296 | - | // of also unsetting the callback. | |
| 1297 | - | func (x *Source) SetCallback(FuncVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) { | |
| 1298 | - | core.LazyRegister(&xSourceSetCallback, "GLIB", "g_source_set_callback", false) | |
| 1299 | - | ||
| 1300 | - | xSourceSetCallback(x.GoPointer(), NewCallback(FuncVar), DataVar, NewCallbackNullable(NotifyVar)) | |
| 1301 | - | } | |
| 1302 | - | ||
| 1303 | - | var xSourceSetCallbackIndirect func(uintptr, uintptr, *SourceCallbackFuncs) | |
| 1304 | - | ||
| 1305 | - | // Sets the callback function storing the data as a reference counted callback | |
| 1306 | - | // ‘object’. | |
| 1307 | - | // | |
| 1308 | - | // This is used internally. Note that calling | |
| 1309 | - | // [method@GLib.Source.set_callback_indirect] assumes | |
| 1310 | - | // an initial reference count on @callback_data, and thus | |
| 1311 | - | // `callback_funcs->unref` will eventually be called once more than | |
| 1312 | - | // `callback_funcs->ref`. | |
| 1313 | - | // | |
| 1314 | - | // It is safe to call this function multiple times on a source which has already | |
| 1315 | - | // been attached to a context. The changes will take effect for the next time | |
| 1316 | - | // the source is dispatched after this call returns. | |
| 1317 | - | func (x *Source) SetCallbackIndirect(CallbackDataVar uintptr, CallbackFuncsVar *SourceCallbackFuncs) { | |
| 1318 | - | core.LazyRegister(&xSourceSetCallbackIndirect, "GLIB", "g_source_set_callback_indirect", false) | |
| 1319 | - | ||
| 1320 | - | xSourceSetCallbackIndirect(x.GoPointer(), CallbackDataVar, CallbackFuncsVar) | |
| 1321 | - | } | |
| 1322 | - | ||
| 1323 | - | var xSourceSetCanRecurse func(uintptr, bool) | |
| 1324 | - | ||
| 1325 | - | // Sets whether a source can be called recursively. | |
| 1326 | - | // | |
| 1327 | - | // If @can_recurse is true, then while the source is being dispatched then this | |
| 1328 | - | // source will be processed normally. Otherwise, all processing of this | |
| 1329 | - | // source is blocked until the dispatch function returns. | |
| 1330 | - | func (x *Source) SetCanRecurse(CanRecurseVar bool) { | |
| 1331 | - | core.LazyRegister(&xSourceSetCanRecurse, "GLIB", "g_source_set_can_recurse", false) | |
| 1332 | - | ||
| 1333 | - | xSourceSetCanRecurse(x.GoPointer(), CanRecurseVar) | |
| 1334 | - | } | |
| 1335 | - | ||
| 1336 | - | var xSourceSetDisposeFunction func(uintptr, uintptr) | |
| 1337 | - | ||
| 1338 | - | // Set @dispose as dispose function on @source. | |
| 1339 | - | // | |
| 1340 | - | // The @dispose function will be called once the reference count of @source | |
| 1341 | - | // reaches zero but before any of the state of the source is freed, especially | |
| 1342 | - | // before the finalize function (set as part of the [type@GLib.SourceFuncs]) is | |
| 1343 | - | // called. | |
| 1344 | - | // | |
| 1345 | - | // This means that at this point @source is still a valid [struct@GLib.Source] | |
| 1346 | - | // and it is allow for the reference count to increase again until @dispose | |
| 1347 | - | // returns. | |
| 1348 | - | // | |
| 1349 | - | // The dispose function can be used to clear any ‘weak’ references to | |
| 1350 | - | // the @source in other data structures in a thread-safe way where it is | |
| 1351 | - | // possible for another thread to increase the reference count of @source again | |
| 1352 | - | // while it is being freed. | |
| 1353 | - | // | |
| 1354 | - | // The finalize function can not be used for this purpose as at that | |
| 1355 | - | // point @source is already partially freed and not valid any more. | |
| 1356 | - | // | |
| 1357 | - | // This should only ever be called from [struct@GLib.Source] implementations. | |
| 1358 | - | func (x *Source) SetDisposeFunction(DisposeVar *SourceDisposeFunc) { | |
| 1359 | - | core.LazyRegister(&xSourceSetDisposeFunction, "GLIB", "g_source_set_dispose_function", false) | |
| 1360 | - | ||
| 1361 | - | xSourceSetDisposeFunction(x.GoPointer(), NewCallback(DisposeVar)) | |
| 1362 | - | } | |
| 1363 | - | ||
| 1364 | - | var xSourceSetFuncs func(uintptr, *SourceFuncs) | |
| 1365 | - | ||
| 1366 | - | // Sets the source functions of an unattached source. | |
| 1367 | - | // | |
| 1368 | - | // These can be used to override the default implementations for the type | |
| 1369 | - | // of @source. | |
| 1370 | - | func (x *Source) SetFuncs(FuncsVar *SourceFuncs) { | |
| 1371 | - | core.LazyRegister(&xSourceSetFuncs, "GLIB", "g_source_set_funcs", false) | |
| 1372 | - | ||
| 1373 | - | xSourceSetFuncs(x.GoPointer(), FuncsVar) | |
| 1374 | - | } | |
| 1375 | - | ||
| 1376 | - | var xSourceSetName func(uintptr, string) | |
| 1377 | - | ||
| 1378 | - | // Sets a name for the source, used in debugging and profiling. | |
| 1379 | - | // | |
| 1380 | - | // The name defaults to `NULL`. | |
| 1381 | - | // | |
| 1382 | - | // The source name should describe in a human-readable way | |
| 1383 | - | // what the source does. For example, ‘X11 event queue’ | |
| 1384 | - | // or ‘GTK repaint idle handler’. | |
| 1385 | - | // | |
| 1386 | - | // It is permitted to call this function multiple times, but is not | |
| 1387 | - | // recommended due to the potential performance impact. For example, | |
| 1388 | - | // one could change the name in the `check` function of a | |
| 1389 | - | // [struct@GLib.SourceFuncs] to include details like the event type in the | |
| 1390 | - | // source name. | |
| 1391 | - | // | |
| 1392 | - | // Use caution if changing the name while another thread may be | |
| 1393 | - | // accessing it with [method@GLib.Source.get_name]; that function does not copy | |
| 1394 | - | // the value, and changing the value will free it while the other thread | |
| 1395 | - | // may be attempting to use it. | |
| 1396 | - | // | |
| 1397 | - | // Also see [method@GLib.Source.set_static_name]. | |
| 1398 | - | func (x *Source) SetName(NameVar string) { | |
| 1399 | - | core.LazyRegister(&xSourceSetName, "GLIB", "g_source_set_name", false) | |
| 1400 | - | ||
| 1401 | - | xSourceSetName(x.GoPointer(), NameVar) | |
| 1402 | - | } | |
| 1403 | - | ||
| 1404 | - | var xSourceSetPriority func(uintptr, int) | |
| 1405 | - | ||
| 1406 | - | // Sets the priority of a source. | |
| 1407 | - | // | |
| 1408 | - | // While the main loop is being run, a | |
| 1409 | - | // source will be dispatched if it is ready to be dispatched and no | |
| 1410 | - | // sources at a higher (numerically smaller) priority are ready to be | |
| 1411 | - | // dispatched. | |
| 1412 | - | // | |
| 1413 | - | // A child source always has the same priority as its parent. It is not | |
| 1414 | - | // permitted to change the priority of a source once it has been added | |
| 1415 | - | // as a child of another source. | |
| 1416 | - | func (x *Source) SetPriority(PriorityVar int) { | |
| 1417 | - | core.LazyRegister(&xSourceSetPriority, "GLIB", "g_source_set_priority", false) | |
| 1418 | - | ||
| 1419 | - | xSourceSetPriority(x.GoPointer(), PriorityVar) | |
| 1420 | - | } | |
| 1421 | - | ||
| 1422 | - | var xSourceSetReadyTime func(uintptr, int64) | |
| 1423 | - | ||
| 1424 | - | // Sets a source to be dispatched when the given monotonic time is | |
| 1425 | - | // reached (or passed). | |
| 1426 | - | // | |
| 1427 | - | // If the monotonic time is in the past (as it | |
| 1428 | - | // always will be if @ready_time is `0`) then the source will be | |
| 1429 | - | // dispatched immediately. | |
| 1430 | - | // | |
| 1431 | - | // If @ready_time is `-1` then the source is never woken up on the basis | |
| 1432 | - | // of the passage of time. | |
| 1433 | - | // | |
| 1434 | - | // Dispatching the source does not reset the ready time. You should do | |
| 1435 | - | // so yourself, from the source dispatch function. | |
| 1436 | - | // | |
| 1437 | - | // Note that if you have a pair of sources where the ready time of one | |
| 1438 | - | // suggests that it will be delivered first but the priority for the | |
| 1439 | - | // other suggests that it would be delivered first, and the ready time | |
| 1440 | - | // for both sources is reached during the same main context iteration, | |
| 1441 | - | // then the order of dispatch is undefined. | |
| 1442 | - | // | |
| 1443 | - | // It is a no-op to call this function on a [struct@GLib.Source] which has | |
| 1444 | - | // already been destroyed with [method@GLib.Source.destroy]. | |
| 1445 | - | // | |
| 1446 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |
| 1447 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |
| 1448 | - | func (x *Source) SetReadyTime(ReadyTimeVar int64) { | |
| 1449 | - | core.LazyRegister(&xSourceSetReadyTime, "GLIB", "g_source_set_ready_time", false) | |
| 1450 | - | ||
| 1451 | - | xSourceSetReadyTime(x.GoPointer(), ReadyTimeVar) | |
| 1452 | - | } | |
| 1453 | - | ||
| 1454 | - | var xSourceSetStaticName func(uintptr, string) | |
| 1455 | - | ||
| 1456 | - | // A variant of [method@GLib.Source.set_name] that does not | |
| 1457 | - | // duplicate the @name, and can only be used with | |
| 1458 | - | // string literals. | |
| 1459 | - | func (x *Source) SetStaticName(NameVar string) { | |
| 1460 | - | core.LazyRegister(&xSourceSetStaticName, "GLIB", "g_source_set_static_name", false) | |
| 1461 | - | ||
| 1462 | - | xSourceSetStaticName(x.GoPointer(), NameVar) | |
| 1463 | - | } | |
| 1464 | - | ||
| 1465 | - | var xSourceUnref func(uintptr) | |
| 1466 | - | ||
| 1467 | - | // Decreases the reference count of a source by one. | |
| 1468 | - | // | |
| 1469 | - | // If the resulting reference count is zero the source and associated | |
| 1470 | - | // memory will be destroyed. | |
| 1471 | - | func (x *Source) Unref() { | |
| 1472 | - | core.LazyRegister(&xSourceUnref, "GLIB", "g_source_unref", false) | |
| 1473 | - | ||
| 1474 | - | xSourceUnref(x.GoPointer()) | |
| 1475 | - | } | |
| 1476 | - | ||
| 1477 | - | // The `GSourceCallbackFuncs` struct contains | |
| 1478 | - | // functions for managing callback objects. | |
| 1479 | - | type SourceCallbackFuncs struct { | |
| 1480 | - | _ structs.HostLayout | |
| 1481 | - | ||
| 1482 | - | xRef uintptr | |
| 1483 | - | ||
| 1484 | - | xUnref uintptr | |
| 1485 | - | ||
| 1486 | - | xGet uintptr | |
| 1487 | - | } | |
| 1488 | - | ||
| 1489 | - | func (x *SourceCallbackFuncs) GoPointer() uintptr { | |
| 1490 | - | return uintptr(unsafe.Pointer(x)) | |
| 1491 | - | } | |
| 1492 | - | ||
| 1493 | - | func SourceCallbackFuncsNewFromInternalPtr(ptr uintptr) *SourceCallbackFuncs { | |
| 1494 | - | if ptr == 0 { | |
| 1495 | - | return nil | |
| 1496 | - | } | |
| 1497 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 1498 | - | return (*SourceCallbackFuncs)(rawPtr) | |
| 1499 | - | } | |
| 1500 | - | ||
| 1501 | - | // OverrideRef sets the "ref" callback function. | |
| 1502 | - | // Called when a reference is added to the callback object | |
| 1503 | - | func (x *SourceCallbackFuncs) OverrideRef(cb func(uintptr)) { | |
| 1504 | - | if cb == nil { | |
| 1505 | - | x.xRef = 0 | |
| 1506 | - | } else { | |
| 1507 | - | x.xRef = purego.NewCallback(func(CbDataVarp uintptr) { | |
| 1508 | - | cb(CbDataVarp) | |
| 1509 | - | }) | |
| 1510 | - | } | |
| 1511 | - | } | |
| 1512 | - | ||
| 1513 | - | // GetRef gets the "ref" callback function. | |
| 1514 | - | // Called when a reference is added to the callback object | |
| 1515 | - | func (x *SourceCallbackFuncs) GetRef() func(uintptr) { | |
| 1516 | - | if x.xRef == 0 { | |
| 1517 | - | return nil | |
| 1518 | - | } | |
| 1519 | - | var rawCallback func(CbDataVarp uintptr) | |
| 1520 | - | purego.RegisterFunc(&rawCallback, x.xRef) | |
| 1521 | - | return func(CbDataVar uintptr) { | |
| 1522 | - | rawCallback(CbDataVar) | |
| 1523 | - | } | |
| 1524 | - | } | |
| 1525 | - | ||
| 1526 | - | // OverrideUnref sets the "unref" callback function. | |
| 1527 | - | // Called when a reference to the callback object is dropped | |
| 1528 | - | func (x *SourceCallbackFuncs) OverrideUnref(cb func(uintptr)) { | |
| 1529 | - | if cb == nil { | |
| 1530 | - | x.xUnref = 0 | |
| 1531 | - | } else { | |
| 1532 | - | x.xUnref = purego.NewCallback(func(CbDataVarp uintptr) { | |
| 1533 | - | cb(CbDataVarp) | |
| 1534 | - | }) | |
| 1535 | - | } | |
| 1536 | - | } | |
| 1537 | - | ||
| 1538 | - | // GetUnref gets the "unref" callback function. | |
| 1539 | - | // Called when a reference to the callback object is dropped | |
| 1540 | - | func (x *SourceCallbackFuncs) GetUnref() func(uintptr) { | |
| 1541 | - | if x.xUnref == 0 { | |
| 1542 | - | return nil | |
| 1543 | - | } | |
| 1544 | - | var rawCallback func(CbDataVarp uintptr) | |
| 1545 | - | purego.RegisterFunc(&rawCallback, x.xUnref) | |
| 1546 | - | return func(CbDataVar uintptr) { | |
| 1547 | - | rawCallback(CbDataVar) | |
| 1548 | - | } | |
| 1549 | - | } | |
| 1550 | - | ||
| 1551 | - | // OverrideGet sets the "get" callback function. | |
| 1552 | - | // Called to extract the callback function and data from the | |
| 1553 | - | // | |
| 1554 | - | // callback object. | |
| 1555 | - | func (x *SourceCallbackFuncs) OverrideGet(cb func(uintptr, *Source, *SourceFunc, uintptr)) { | |
| 1556 | - | if cb == nil { | |
| 1557 | - | x.xGet = 0 | |
| 1558 | - | } else { | |
| 1559 | - | x.xGet = purego.NewCallback(func(CbDataVarp uintptr, SourceVarp *Source, FuncVarp uintptr, DataVarp uintptr) { | |
| 1560 | - | cb(CbDataVarp, SourceVarp, (*SourceFunc)(unsafe.Pointer(FuncVarp)), DataVarp) | |
| 1561 | - | }) | |
| 1562 | - | } | |
| 1563 | - | } | |
| 1564 | - | ||
| 1565 | - | // GetGet gets the "get" callback function. | |
| 1566 | - | // Called to extract the callback function and data from the | |
| 1567 | - | // | |
| 1568 | - | // callback object. | |
| 1569 | - | func (x *SourceCallbackFuncs) GetGet() func(uintptr, *Source, *SourceFunc, uintptr) { | |
| 1570 | - | if x.xGet == 0 { | |
| 1571 | - | return nil | |
| 1572 | - | } | |
| 1573 | - | var rawCallback func(CbDataVarp uintptr, SourceVarp *Source, FuncVarp uintptr, DataVarp uintptr) | |
| 1574 | - | purego.RegisterFunc(&rawCallback, x.xGet) | |
| 1575 | - | return func(CbDataVar uintptr, SourceVar *Source, FuncVar *SourceFunc, DataVar uintptr) { | |
| 1576 | - | rawCallback(CbDataVar, SourceVar, NewCallback(FuncVar), DataVar) | |
| 1577 | - | } | |
| 1578 | - | } | |
| 1579 | - | ||
| 1580 | - | // The `GSourceFuncs` struct contains a table of | |
| 1581 | - | // functions used to handle event sources in a generic manner. | |
| 1582 | - | // | |
| 1583 | - | // For idle sources, the prepare and check functions always return %TRUE | |
| 1584 | - | // to indicate that the source is always ready to be processed. The prepare | |
| 1585 | - | // function also returns a timeout value of 0 to ensure that the poll() call | |
| 1586 | - | // doesn't block (since that would be time wasted which could have been spent | |
| 1587 | - | // running the idle function). | |
| 1588 | - | // | |
| 1589 | - | // For timeout sources, the prepare and check functions both return %TRUE | |
| 1590 | - | // if the timeout interval has expired. The prepare function also returns | |
| 1591 | - | // a timeout value to ensure that the poll() call doesn't block too long | |
| 1592 | - | // and miss the next timeout. | |
| 1593 | - | // | |
| 1594 | - | // For file descriptor sources, the prepare function typically returns %FALSE, | |
| 1595 | - | // since it must wait until poll() has been called before it knows whether | |
| 1596 | - | // any events need to be processed. It sets the returned timeout to -1 to | |
| 1597 | - | // indicate that it doesn't mind how long the poll() call blocks. In the | |
| 1598 | - | // check function, it tests the results of the poll() call to see if the | |
| 1599 | - | // required condition has been met, and returns %TRUE if so. | |
| 1600 | - | type SourceFuncs struct { | |
| 1601 | - | _ structs.HostLayout | |
| 1602 | - | ||
| 1603 | - | Prepare SourceFuncsPrepareFunc | |
| 1604 | - | ||
| 1605 | - | Check SourceFuncsCheckFunc | |
| 1606 | - | ||
| 1607 | - | Dispatch SourceFuncsDispatchFunc | |
| 1608 | - | ||
| 1609 | - | Finalize SourceFuncsFinalizeFunc | |
| 1610 | - | ||
| 1611 | - | ClosureCallback SourceFunc | |
| 1612 | - | ||
| 1613 | - | ClosureMarshal SourceDummyMarshal | |
| 1614 | - | } | |
| 1615 | - | ||
| 1616 | - | func (x *SourceFuncs) GoPointer() uintptr { | |
| 1617 | - | return uintptr(unsafe.Pointer(x)) | |
| 1618 | - | } | |
| 1619 | - | ||
| 1620 | - | func SourceFuncsNewFromInternalPtr(ptr uintptr) *SourceFuncs { | |
| 1621 | - | if ptr == 0 { | |
| 1622 | - | return nil | |
| 1623 | - | } | |
| 1624 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 1625 | - | return (*SourceFuncs)(rawPtr) | |
| 1626 | - | } | |
| 1627 | - | ||
| 1628 | - | type SourcePrivate struct { | |
| 1629 | - | _ structs.HostLayout | |
| 1630 | - | } | |
| 1631 | - | ||
| 1632 | - | func (x *SourcePrivate) GoPointer() uintptr { | |
| 1633 | - | return uintptr(unsafe.Pointer(x)) | |
| 1634 | - | } | |
| 1635 | - | ||
| 1636 | - | func SourcePrivateNewFromInternalPtr(ptr uintptr) *SourcePrivate { | |
| 1637 | - | if ptr == 0 { | |
| 1638 | - | return nil | |
| 1639 | - | } | |
| 1640 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 1641 | - | return (*SourcePrivate)(rawPtr) | |
| 1642 | - | } | |
| 1643 | - | ||
| 1644 | - | // Opaque type. See g_main_context_pusher_new() for details. | |
| 1645 | - | type MainContextPusher = uintptr | |
| 1646 | - | ||
| 1647 | - | const ( | |
| 1648 | - | // Use this for default priority event sources. | |
| 1649 | - | // | |
| 1650 | - | // In GLib this priority is used when adding timeout functions | |
| 1651 | - | // with [func@GLib.timeout_add]. In GDK this priority is used for events | |
| 1652 | - | // from the X server. | |
| 1653 | - | PRIORITY_DEFAULT int = 0 | |
| 1654 | - | // Use this for default priority idle functions. | |
| 1655 | - | // | |
| 1656 | - | // In GLib this priority is used when adding idle functions with | |
| 1657 | - | // [func@GLib.idle_add]. | |
| 1658 | - | PRIORITY_DEFAULT_IDLE int = 200 | |
| 1659 | - | // Use this for high priority event sources. | |
| 1660 | - | // | |
| 1661 | - | // It is not used within GLib or GTK. | |
| 1662 | - | PRIORITY_HIGH int = -100 | |
| 1663 | - | // Use this for high priority idle functions. | |
| 1664 | - | // | |
| 1665 | - | // GTK uses %G_PRIORITY_HIGH_IDLE + 10 for resizing operations, | |
| 1666 | - | // and %G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is | |
| 1667 | - | // done to ensure that any pending resizes are processed before any | |
| 1668 | - | // pending redraws, so that widgets are not redrawn twice unnecessarily.) | |
| 1669 | - | PRIORITY_HIGH_IDLE int = 100 | |
| 1670 | - | // Use this for very low priority background tasks. | |
| 1671 | - | // | |
| 1672 | - | // It is not used within GLib or GTK. | |
| 1673 | - | PRIORITY_LOW int = 300 | |
| 1674 | - | // Use this macro as the return value of a [callback@GLib.SourceFunc] to leave | |
| 1675 | - | // the [struct@GLib.Source] in the main loop. | |
| 1676 | - | SOURCE_CONTINUE bool = true | |
| 1677 | - | // Use this macro as the return value of a [callback@GLib.SourceFunc] to remove | |
| 1678 | - | // the [struct@GLib.Source] from the main loop. | |
| 1679 | - | SOURCE_REMOVE bool = false | |
| 1680 | - | ) | |
| 1681 | - | ||
| 1682 | - | // Flags to pass to [ctor@GLib.MainContext.new_with_flags] which affect the | |
| 1683 | - | // behaviour of a [struct@GLib.MainContext]. | |
| 1684 | - | type MainContextFlags int | |
| 1685 | - | ||
| 1686 | - | const ( | |
| 1687 | - | ||
| 1688 | - | // Default behaviour. | |
| 1689 | - | GMainContextFlagsNoneValue MainContextFlags = 0 | |
| 1690 | - | // Assume that polling for events will | |
| 1691 | - | // free the thread to process other jobs. That's useful if you're using | |
| 1692 | - | // `g_main_context_{prepare,query,check,dispatch}` to integrate GMainContext in | |
| 1693 | - | // other event loops. | |
| 1694 | - | GMainContextFlagsOwnerlessPollingValue MainContextFlags = 1 | |
| 1695 | - | ) | |
| 1696 | - | ||
| 1697 | - | var xChildWatchAdd func(Pid, uintptr, uintptr) uint | |
| 1698 | - | ||
| 1699 | - | // Sets a function to be called when the child indicated by @pid | |
| 1700 | - | // exits, at a default priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 1701 | - | // | |
| 1702 | - | // If you obtain @pid from [func@GLib.spawn_async] or | |
| 1703 | - | // [func@GLib.spawn_async_with_pipes] you will need to pass | |
| 1704 | - | // [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |
| 1705 | - | // the child watching to work. | |
| 1706 | - | // | |
| 1707 | - | // Note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 1708 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |
| 1709 | - | // source is still active. Typically, you will want to call | |
| 1710 | - | // [func@GLib.spawn_close_pid] in the callback function for the source. | |
| 1711 | - | // | |
| 1712 | - | // GLib supports only a single callback per process ID. | |
| 1713 | - | // On POSIX platforms, the same restrictions mentioned for | |
| 1714 | - | // [func@GLib.child_watch_source_new] apply to this function. | |
| 1715 | - | // | |
| 1716 | - | // This internally creates a main loop source using | |
| 1717 | - | // [func@GLib.child_watch_source_new] and attaches it to the main loop context | |
| 1718 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you | |
| 1719 | - | // need greater control. | |
| 1720 | - | func ChildWatchAdd(PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr) uint { | |
| 1721 | - | core.LazyRegister(&xChildWatchAdd, "GLIB", "g_child_watch_add", false) | |
| 1722 | - | var functionRef uintptr | |
| 1723 | - | if FunctionVar != nil { | |
| 1724 | - | functionRef = childWatchFuncTrampolineCb | |
| 1725 | - | } | |
| 1726 | - | cret := xChildWatchAdd(PidVar, functionRef, DataVar) | |
| 1727 | - | trackChildWatchFunc(cret, FunctionVar, DataVar) | |
| 1728 | - | return cret | |
| 1729 | - | } | |
| 1730 | - | ||
| 1731 | - | var xChildWatchAddFull func(int, Pid, uintptr, uintptr, uintptr) uint | |
| 1732 | - | ||
| 1733 | - | // Sets a function to be called when the child indicated by @pid | |
| 1734 | - | // exits, at the priority @priority. | |
| 1735 | - | // | |
| 1736 | - | // If you obtain @pid from [func@GLib.spawn_async] or | |
| 1737 | - | // [func@GLib.spawn_async_with_pipes] you will need to pass | |
| 1738 | - | // [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |
| 1739 | - | // the child watching to work. | |
| 1740 | - | // | |
| 1741 | - | // In many programs, you will want to call [func@GLib.spawn_check_wait_status] | |
| 1742 | - | // in the callback to determine whether or not the child exited | |
| 1743 | - | // successfully. | |
| 1744 | - | // | |
| 1745 | - | // Also, note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 1746 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the source | |
| 1747 | - | // is still active. Typically, you should invoke [func@GLib.spawn_close_pid] | |
| 1748 | - | // in the callback function for the source. | |
| 1749 | - | // | |
| 1750 | - | // GLib supports only a single callback per process ID. | |
| 1751 | - | // On POSIX platforms, the same restrictions mentioned for | |
| 1752 | - | // [func@GLib.child_watch_source_new] apply to this function. | |
| 1753 | - | // | |
| 1754 | - | // This internally creates a main loop source using | |
| 1755 | - | // [func@GLib.child_watch_source_new] and attaches it to the main loop context | |
| 1756 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you | |
| 1757 | - | // need greater control. | |
| 1758 | - | func ChildWatchAddFull(PriorityVar int, PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |
| 1759 | - | core.LazyRegister(&xChildWatchAddFull, "GLIB", "g_child_watch_add_full", false) | |
| 1760 | - | var functionRef uintptr | |
| 1761 | - | if FunctionVar != nil { | |
| 1762 | - | functionRef = childWatchFuncTrampolineCb | |
| 1763 | - | } | |
| 1764 | - | cret := xChildWatchAddFull(PriorityVar, PidVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |
| 1765 | - | trackChildWatchFunc(cret, FunctionVar, DataVar) | |
| 1766 | - | return cret | |
| 1767 | - | } | |
| 1768 | - | ||
| 1769 | - | var xChildWatchSourceNew func(Pid) uintptr | |
| 1770 | - | ||
| 1771 | - | // Creates a new child watch source. | |
| 1772 | - | // | |
| 1773 | - | // The source will not initially be associated with any | |
| 1774 | - | // [struct@GLib.MainContext] and must be added to one with | |
| 1775 | - | // [method@GLib.Source.attach] before it will be executed. | |
| 1776 | - | // | |
| 1777 | - | // Note that child watch sources can only be used in conjunction with | |
| 1778 | - | // `g_spawn...` when the [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] flag is used. | |
| 1779 | - | // | |
| 1780 | - | // Note that on platforms where [type@GLib.Pid] must be explicitly closed | |
| 1781 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |
| 1782 | - | // source is still active. Typically, you will want to call | |
| 1783 | - | // [func@GLib.spawn_close_pid] in the callback function for the source. | |
| 1784 | - | // | |
| 1785 | - | // On POSIX platforms, the following restrictions apply to this API | |
| 1786 | - | // due to limitations in POSIX process interfaces: | |
| 1787 | - | // | |
| 1788 | - | // - @pid must be a child of this process. | |
| 1789 | - | // - @pid must be positive. | |
| 1790 | - | // - The application must not call [`waitpid()`](man:waitpid(1)) with a | |
| 1791 | - | // non-positive first argument, for instance in another thread. | |
| 1792 | - | // - The application must not wait for @pid to exit by any other | |
| 1793 | - | // mechanism, including `waitpid(pid, ...)` or a second child-watch | |
| 1794 | - | // source for the same @pid. | |
| 1795 | - | // - The application must not ignore `SIGCHLD`. | |
| 1796 | - | // - Before 2.78, the application could not send a signal ([`kill()`](man:kill(2))) to the | |
| 1797 | - | // watched @pid in a race free manner. Since 2.78, you can do that while the | |
| 1798 | - | // associated [struct@GLib.MainContext] is acquired. | |
| 1799 | - | // - Before 2.78, even after destroying the [struct@GLib.Source], you could not | |
| 1800 | - | // be sure that @pid wasn’t already reaped. Hence, it was also not | |
| 1801 | - | // safe to `kill()` or `waitpid()` on the process ID after the child watch | |
| 1802 | - | // source was gone. Destroying the source before it fired made it | |
| 1803 | - | // impossible to reliably reap the process. | |
| 1804 | - | // | |
| 1805 | - | // If any of those conditions are not met, this and related APIs will | |
| 1806 | - | // not work correctly. This can often be diagnosed via a GLib warning | |
| 1807 | - | // stating that `ECHILD` was received by `waitpid()`. | |
| 1808 | - | // | |
| 1809 | - | // Calling [`waitpid()`](man:waitpid(2)) for specific processes other than @pid | |
| 1810 | - | // remains a valid thing to do. | |
| 1811 | - | func ChildWatchSourceNew(PidVar Pid) *Source { | |
| 1812 | - | core.LazyRegister(&xChildWatchSourceNew, "GLIB", "g_child_watch_source_new", false) | |
| 1813 | - | ||
| 1814 | - | cret := xChildWatchSourceNew(PidVar) | |
| 1815 | - | if cret == 0 { | |
| 1816 | - | return nil | |
| 1817 | - | } | |
| 1818 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 1819 | - | } | |
| 1820 | - | ||
| 1821 | - | var xClearHandleId func(uint, uintptr) | |
| 1822 | - | ||
| 1823 | - | // Clears a numeric handler, such as a [struct@GLib.Source] ID. | |
| 1824 | - | // | |
| 1825 | - | // The @tag_ptr must be a valid pointer to the variable holding the handler. | |
| 1826 | - | // | |
| 1827 | - | // If the ID is zero then this function does nothing. | |
| 1828 | - | // Otherwise, @clear_func is called with the ID as a parameter, and the tag is | |
| 1829 | - | // set to zero. | |
| 1830 | - | // | |
| 1831 | - | // A macro is also included that allows this function to be used without | |
| 1832 | - | // pointer casts. | |
| 1833 | - | func ClearHandleId(TagPtrVar uint, ClearFuncVar *ClearHandleFunc) { | |
| 1834 | - | core.LazyRegister(&xClearHandleId, "GLIB", "g_clear_handle_id", false) | |
| 1835 | - | ||
| 1836 | - | xClearHandleId(TagPtrVar, NewCallback(ClearFuncVar)) | |
| 1837 | - | } | |
| 1838 | - | ||
| 1839 | - | var xGetCurrentTime func(*TimeVal) | |
| 1840 | - | ||
| 1841 | - | // Queries the system wall-clock time. | |
| 1842 | - | // | |
| 1843 | - | // This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |
| 1844 | - | // function, but portable. | |
| 1845 | - | // | |
| 1846 | - | // You may find [func@GLib.get_real_time] to be more convenient. | |
| 1847 | - | func GetCurrentTime(ResultVar *TimeVal) { | |
| 1848 | - | core.LazyRegister(&xGetCurrentTime, "GLIB", "g_get_current_time", false) | |
| 1849 | - | ||
| 1850 | - | xGetCurrentTime(ResultVar) | |
| 1851 | - | } | |
| 1852 | - | ||
| 1853 | - | var xGetMonotonicTime func() int64 | |
| 1854 | - | ||
| 1855 | - | // Queries the system monotonic time in microseconds. | |
| 1856 | - | // | |
| 1857 | - | // The monotonic clock will always increase and doesn’t suffer | |
| 1858 | - | // discontinuities when the user (or NTP) changes the system time. It | |
| 1859 | - | // may or may not continue to tick during times where the machine is | |
| 1860 | - | // suspended. | |
| 1861 | - | // | |
| 1862 | - | // We try to use the clock that corresponds as closely as possible to | |
| 1863 | - | // the passage of time as measured by system calls such as | |
| 1864 | - | // [`poll()`](man:poll(2)) but it | |
| 1865 | - | // may not always be possible to do this. | |
| 1866 | - | // | |
| 1867 | - | // A more accurate version of this function exists. | |
| 1868 | - | // [func@GLib.get_monotonic_time_ns] returns the time in nanoseconds. | |
| 1869 | - | func GetMonotonicTime() int64 { | |
| 1870 | - | core.LazyRegister(&xGetMonotonicTime, "GLIB", "g_get_monotonic_time", false) | |
| 1871 | - | ||
| 1872 | - | cret := xGetMonotonicTime() | |
| 1873 | - | return cret | |
| 1874 | - | } | |
| 1875 | - | ||
| 1876 | - | var xGetMonotonicTimeNs func() uint64 | |
| 1877 | - | ||
| 1878 | - | // Queries the system monotonic time in nanoseconds. | |
| 1879 | - | // | |
| 1880 | - | // The monotonic clock will always increase and doesn’t suffer | |
| 1881 | - | // discontinuities when the user (or NTP) changes the system time. It | |
| 1882 | - | // may or may not continue to tick during times where the machine is | |
| 1883 | - | // suspended. | |
| 1884 | - | // | |
| 1885 | - | // We try to use the clock that corresponds as closely as possible to | |
| 1886 | - | // the passage of time as measured by system calls such as | |
| 1887 | - | // [`poll()`](man:poll(2)) but it | |
| 1888 | - | // may not always be possible to do this. | |
| 1889 | - | // | |
| 1890 | - | // Another version of this function exists. | |
| 1891 | - | // [func@GLib.get_monotonic_time] returns the time in microseconds. | |
| 1892 | - | // If you want to support older GLib versions, it is an alternative. | |
| 1893 | - | func GetMonotonicTimeNs() uint64 { | |
| 1894 | - | core.LazyRegister(&xGetMonotonicTimeNs, "GLIB", "g_get_monotonic_time_ns", false) | |
| 1895 | - | ||
| 1896 | - | cret := xGetMonotonicTimeNs() | |
| 1897 | - | return cret | |
| 1898 | - | } | |
| 1899 | - | ||
| 1900 | - | var xGetRealTime func() int64 | |
| 1901 | - | ||
| 1902 | - | // Queries the system wall-clock time. | |
| 1903 | - | // | |
| 1904 | - | // This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |
| 1905 | - | // function, but portable. | |
| 1906 | - | // | |
| 1907 | - | // You should only use this call if you are actually interested in the real | |
| 1908 | - | // wall-clock time. [func@GLib.get_monotonic_time] is probably more useful for | |
| 1909 | - | // measuring intervals. | |
| 1910 | - | func GetRealTime() int64 { | |
| 1911 | - | core.LazyRegister(&xGetRealTime, "GLIB", "g_get_real_time", false) | |
| 1912 | - | ||
| 1913 | - | cret := xGetRealTime() | |
| 1914 | - | return cret | |
| 1915 | - | } | |
| 1916 | - | ||
| 1917 | - | var xIdleAdd func(uintptr, uintptr) uint | |
| 1918 | - | ||
| 1919 | - | // Adds a function to be called whenever there are no higher priority | |
| 1920 | - | // events pending to the default main loop. | |
| 1921 | - | // | |
| 1922 | - | // The function is given the | |
| 1923 | - | // default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. If the function | |
| 1924 | - | // returns [const@GLib.SOURCE_REMOVE] it is automatically removed from the list | |
| 1925 | - | // of event sources and will not be called again. | |
| 1926 | - | // | |
| 1927 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 1928 | - | // on how to handle the return value and memory management of @data. | |
| 1929 | - | // | |
| 1930 | - | // This internally creates a main loop source using [func@GLib.idle_source_new] | |
| 1931 | - | // and attaches it to the global [struct@GLib.MainContext] using | |
| 1932 | - | // [method@GLib.Source.attach], so the callback will be invoked in whichever | |
| 1933 | - | // thread is running that main context. You can do these steps manually if you | |
| 1934 | - | // need greater control or to use a custom main context. | |
| 1935 | - | func IdleAdd(FunctionVar *SourceFunc, DataVar uintptr) uint { | |
| 1936 | - | core.LazyRegister(&xIdleAdd, "GLIB", "g_idle_add", false) | |
| 1937 | - | var functionRef uintptr | |
| 1938 | - | if FunctionVar != nil { | |
| 1939 | - | functionRef = sourceFuncTrampolineCb | |
| 1940 | - | } | |
| 1941 | - | cret := xIdleAdd(functionRef, DataVar) | |
| 1942 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 1943 | - | return cret | |
| 1944 | - | } | |
| 1945 | - | ||
| 1946 | - | var xIdleAddFull func(int, uintptr, uintptr, uintptr) uint | |
| 1947 | - | ||
| 1948 | - | // Adds a function to be called whenever there are no higher priority | |
| 1949 | - | // events pending. | |
| 1950 | - | // | |
| 1951 | - | // If the function returns [const@GLib.SOURCE_REMOVE] it is automatically | |
| 1952 | - | // removed from the list of event sources and will not be called again. | |
| 1953 | - | // | |
| 1954 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 1955 | - | // on how to handle the return value and memory management of @data. | |
| 1956 | - | // | |
| 1957 | - | // This internally creates a main loop source using [func@GLib.idle_source_new] | |
| 1958 | - | // and attaches it to the global [struct@GLib.MainContext] using | |
| 1959 | - | // [method@GLib.Source.attach], so the callback will be invoked in whichever | |
| 1960 | - | // thread is running that main context. You can do these steps manually if you | |
| 1961 | - | // need greater control or to use a custom main context. | |
| 1962 | - | func IdleAddFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |
| 1963 | - | core.LazyRegister(&xIdleAddFull, "GLIB", "g_idle_add_full", false) | |
| 1964 | - | var functionRef uintptr | |
| 1965 | - | if FunctionVar != nil { | |
| 1966 | - | functionRef = sourceFuncTrampolineCb | |
| 1967 | - | } | |
| 1968 | - | cret := xIdleAddFull(PriorityVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |
| 1969 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 1970 | - | return cret | |
| 1971 | - | } | |
| 1972 | - | ||
| 1973 | - | var xIdleAddOnce func(uintptr, uintptr) uint | |
| 1974 | - | ||
| 1975 | - | // Adds a function to be called whenever there are no higher priority | |
| 1976 | - | // events pending to the default main loop. | |
| 1977 | - | // | |
| 1978 | - | // The function is given the | |
| 1979 | - | // default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. | |
| 1980 | - | // | |
| 1981 | - | // The function will only be called once and then the source will be | |
| 1982 | - | // automatically removed from the main context. | |
| 1983 | - | // | |
| 1984 | - | // This function otherwise behaves like [func@GLib.idle_add]. | |
| 1985 | - | func IdleAddOnce(FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |
| 1986 | - | core.LazyRegister(&xIdleAddOnce, "GLIB", "g_idle_add_once", false) | |
| 1987 | - | var functionRef uintptr | |
| 1988 | - | if FunctionVar != nil { | |
| 1989 | - | functionRef = sourceOnceFuncTrampolineCb | |
| 1990 | - | } | |
| 1991 | - | cret := xIdleAddOnce(functionRef, DataVar) | |
| 1992 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |
| 1993 | - | return cret | |
| 1994 | - | } | |
| 1995 | - | ||
| 1996 | - | var xIdleRemoveByData func(uintptr) bool | |
| 1997 | - | ||
| 1998 | - | // Removes the idle function with the given data. | |
| 1999 | - | func IdleRemoveByData(DataVar uintptr) bool { | |
| 2000 | - | core.LazyRegister(&xIdleRemoveByData, "GLIB", "g_idle_remove_by_data", false) | |
| 2001 | - | trackedSourceID := trackedSourceIDByUserData(DataVar) | |
| 2002 | - | cret := xIdleRemoveByData(DataVar) | |
| 2003 | - | if cret { | |
| 2004 | - | removeTrackedSource(trackedSourceID) | |
| 2005 | - | } | |
| 2006 | - | return cret | |
| 2007 | - | } | |
| 2008 | - | ||
| 2009 | - | var xIdleSourceNew func() uintptr | |
| 2010 | - | ||
| 2011 | - | // Creates a new idle source. | |
| 2012 | - | // | |
| 2013 | - | // The source will not initially be associated with any | |
| 2014 | - | // [struct@GLib.MainContext] and must be added to one with | |
| 2015 | - | // [method@GLib.Source.attach] before it will be executed. Note that the | |
| 2016 | - | // default priority for idle sources is [const@GLib.PRIORITY_DEFAULT_IDLE], as | |
| 2017 | - | // compared to other sources which have a default priority of | |
| 2018 | - | // [const@GLib.PRIORITY_DEFAULT]. | |
| 2019 | - | func IdleSourceNew() *Source { | |
| 2020 | - | core.LazyRegister(&xIdleSourceNew, "GLIB", "g_idle_source_new", false) | |
| 2021 | - | ||
| 2022 | - | cret := xIdleSourceNew() | |
| 2023 | - | if cret == 0 { | |
| 2024 | - | return nil | |
| 2025 | - | } | |
| 2026 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 2027 | - | } | |
| 2028 | - | ||
| 2029 | - | var xMainContextDefault func() uintptr | |
| 2030 | - | ||
| 2031 | - | // Returns the global-default main context. | |
| 2032 | - | // | |
| 2033 | - | // This is the main context | |
| 2034 | - | // used for main loop functions when a main loop is not explicitly | |
| 2035 | - | // specified, and corresponds to the ‘main’ main loop. See also | |
| 2036 | - | // [func@GLib.MainContext.get_thread_default]. | |
| 2037 | - | func MainContextDefault() *MainContext { | |
| 2038 | - | core.LazyRegister(&xMainContextDefault, "GLIB", "g_main_context_default", false) | |
| 2039 | - | ||
| 2040 | - | cret := xMainContextDefault() | |
| 2041 | - | if cret == 0 { | |
| 2042 | - | return nil | |
| 2043 | - | } | |
| 2044 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 2045 | - | } | |
| 2046 | - | ||
| 2047 | - | var xMainContextGetThreadDefault func() uintptr | |
| 2048 | - | ||
| 2049 | - | // Gets the thread-default main context for this thread. | |
| 2050 | - | // | |
| 2051 | - | // Asynchronous operations that want to be able to be run in contexts other than | |
| 2052 | - | // the default one should call this method or | |
| 2053 | - | // [func@GLib.MainContext.ref_thread_default] to get a | |
| 2054 | - | // [struct@GLib.MainContext] to add their [struct@GLib.Source]s to. (Note that | |
| 2055 | - | // even in single-threaded programs applications may sometimes want to | |
| 2056 | - | // temporarily push a non-default context, so it is not safe to assume that | |
| 2057 | - | // this will always return `NULL` if you are running in the default thread.) | |
| 2058 | - | // | |
| 2059 | - | // If you need to hold a reference on the context, use | |
| 2060 | - | // [func@GLib.MainContext.ref_thread_default] instead. | |
| 2061 | - | func MainContextGetThreadDefault() *MainContext { | |
| 2062 | - | core.LazyRegister(&xMainContextGetThreadDefault, "GLIB", "g_main_context_get_thread_default", false) | |
| 2063 | - | ||
| 2064 | - | cret := xMainContextGetThreadDefault() | |
| 2065 | - | if cret == 0 { | |
| 2066 | - | return nil | |
| 2067 | - | } | |
| 2068 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 2069 | - | } | |
| 2070 | - | ||
| 2071 | - | var xMainContextRefThreadDefault func() uintptr | |
| 2072 | - | ||
| 2073 | - | // Gets a reference to the thread-default [struct@GLib.MainContext] for this | |
| 2074 | - | // thread | |
| 2075 | - | // | |
| 2076 | - | // This is the same as [func@GLib.MainContext.get_thread_default], but it also | |
| 2077 | - | // adds a reference to the returned main context with [method@GLib.MainContext.ref]. | |
| 2078 | - | // In addition, unlike | |
| 2079 | - | // [func@GLib.MainContext.get_thread_default], if the thread-default context | |
| 2080 | - | // is the global-default context, this will return that | |
| 2081 | - | // [struct@GLib.MainContext] (with a ref added to it) rather than returning | |
| 2082 | - | // `NULL`. | |
| 2083 | - | func MainContextRefThreadDefault() *MainContext { | |
| 2084 | - | core.LazyRegister(&xMainContextRefThreadDefault, "GLIB", "g_main_context_ref_thread_default", false) | |
| 2085 | - | ||
| 2086 | - | cret := xMainContextRefThreadDefault() | |
| 2087 | - | if cret == 0 { | |
| 2088 | - | return nil | |
| 2089 | - | } | |
| 2090 | - | return (*MainContext)(unsafe.Pointer(cret)) | |
| 2091 | - | } | |
| 2092 | - | ||
| 2093 | - | var xMainCurrentSource func() uintptr | |
| 2094 | - | ||
| 2095 | - | // Returns the currently firing source for this thread. | |
| 2096 | - | func MainCurrentSource() *Source { | |
| 2097 | - | core.LazyRegister(&xMainCurrentSource, "GLIB", "g_main_current_source", false) | |
| 2098 | - | ||
| 2099 | - | cret := xMainCurrentSource() | |
| 2100 | - | if cret == 0 { | |
| 2101 | - | return nil | |
| 2102 | - | } | |
| 2103 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 2104 | - | } | |
| 2105 | - | ||
| 2106 | - | var xMainDepth func() int | |
| 2107 | - | ||
| 2108 | - | // Returns the depth of the stack of calls to | |
| 2109 | - | // [method@GLib.MainContext.dispatch] on any #GMainContext in the current thread. | |
| 2110 | - | // | |
| 2111 | - | // That is, when called from the top level, it gives `0`. When | |
| 2112 | - | // called from within a callback from [method@GLib.MainContext.iteration] | |
| 2113 | - | // (or [method@GLib.MainLoop.run], etc.) it returns `1`. When called from within | |
| 2114 | - | // a callback to a recursive call to [method@GLib.MainContext.iteration], | |
| 2115 | - | // it returns `2`. And so forth. | |
| 2116 | - | // | |
| 2117 | - | // This function is useful in a situation like the following: | |
| 2118 | - | // Imagine an extremely simple ‘garbage collected’ system. | |
| 2119 | - | // | |
| 2120 | - | // ```c | |
| 2121 | - | // static GList *free_list; | |
| 2122 | - | // | |
| 2123 | - | // gpointer | |
| 2124 | - | // allocate_memory (gsize size) | |
| 2125 | - | // | |
| 2126 | - | // { | |
| 2127 | - | // gpointer result = g_malloc (size); | |
| 2128 | - | // free_list = g_list_prepend (free_list, result); | |
| 2129 | - | // return result; | |
| 2130 | - | // } | |
| 2131 | - | // | |
| 2132 | - | // void | |
| 2133 | - | // free_allocated_memory (void) | |
| 2134 | - | // | |
| 2135 | - | // { | |
| 2136 | - | // GList *l; | |
| 2137 | - | // for (l = free_list; l; l = l->next); | |
| 2138 | - | // g_free (l->data); | |
| 2139 | - | // g_list_free (free_list); | |
| 2140 | - | // free_list = NULL; | |
| 2141 | - | // } | |
| 2142 | - | // | |
| 2143 | - | // [...] | |
| 2144 | - | // | |
| 2145 | - | // while (TRUE); | |
| 2146 | - | // | |
| 2147 | - | // { | |
| 2148 | - | // g_main_context_iteration (NULL, TRUE); | |
| 2149 | - | // free_allocated_memory(); | |
| 2150 | - | // } | |
| 2151 | - | // | |
| 2152 | - | // ``` | |
| 2153 | - | // | |
| 2154 | - | // This works from an application, however, if you want to do the same | |
| 2155 | - | // thing from a library, it gets more difficult, since you no longer | |
| 2156 | - | // control the main loop. You might think you can simply use an idle | |
| 2157 | - | // function to make the call to `free_allocated_memory()`, but that | |
| 2158 | - | // doesn’t work, since the idle function could be called from a | |
| 2159 | - | // recursive callback. This can be fixed by using [func@GLib.main_depth] | |
| 2160 | - | // | |
| 2161 | - | // ```c | |
| 2162 | - | // gpointer | |
| 2163 | - | // allocate_memory (gsize size) | |
| 2164 | - | // | |
| 2165 | - | // { | |
| 2166 | - | // FreeListBlock *block = g_new (FreeListBlock, 1); | |
| 2167 | - | // block->mem = g_malloc (size); | |
| 2168 | - | // block->depth = g_main_depth (); | |
| 2169 | - | // free_list = g_list_prepend (free_list, block); | |
| 2170 | - | // return block->mem; | |
| 2171 | - | // } | |
| 2172 | - | // | |
| 2173 | - | // void | |
| 2174 | - | // free_allocated_memory (void) | |
| 2175 | - | // | |
| 2176 | - | // { | |
| 2177 | - | // GList *l; | |
| 2178 | - | // | |
| 2179 | - | // int depth = g_main_depth (); | |
| 2180 | - | // for (l = free_list; l; ); | |
| 2181 | - | // { | |
| 2182 | - | // GList *next = l->next; | |
| 2183 | - | // FreeListBlock *block = l->data; | |
| 2184 | - | // if (block->depth > depth) | |
| 2185 | - | // { | |
| 2186 | - | // g_free (block->mem); | |
| 2187 | - | // g_free (block); | |
| 2188 | - | // free_list = g_list_delete_link (free_list, l); | |
| 2189 | - | // } | |
| 2190 | - | // | |
| 2191 | - | // l = next; | |
| 2192 | - | // } | |
| 2193 | - | // } | |
| 2194 | - | // | |
| 2195 | - | // ``` | |
| 2196 | - | // | |
| 2197 | - | // There is a temptation to use [func@GLib.main_depth] to solve | |
| 2198 | - | // problems with reentrancy. For instance, while waiting for data | |
| 2199 | - | // to be received from the network in response to a menu item, | |
| 2200 | - | // the menu item might be selected again. It might seem that | |
| 2201 | - | // one could make the menu item’s callback return immediately | |
| 2202 | - | // and do nothing if [func@GLib.main_depth] returns a value greater than 1. | |
| 2203 | - | // However, this should be avoided since the user then sees selecting | |
| 2204 | - | // the menu item do nothing. Furthermore, you’ll find yourself adding | |
| 2205 | - | // these checks all over your code, since there are doubtless many, | |
| 2206 | - | // many things that the user could do. Instead, you can use the | |
| 2207 | - | // following techniques: | |
| 2208 | - | // | |
| 2209 | - | // 1. Use `gtk_widget_set_sensitive()` or modal dialogs to prevent | |
| 2210 | - | // the user from interacting with elements while the main | |
| 2211 | - | // loop is recursing. | |
| 2212 | - | // | |
| 2213 | - | // 2. Avoid main loop recursion in situations where you can’t handle | |
| 2214 | - | // arbitrary callbacks. Instead, structure your code so that you | |
| 2215 | - | // simply return to the main loop and then get called again when | |
| 2216 | - | // there is more work to do. | |
| 2217 | - | func MainDepth() int { | |
| 2218 | - | core.LazyRegister(&xMainDepth, "GLIB", "g_main_depth", false) | |
| 2219 | - | ||
| 2220 | - | cret := xMainDepth() | |
| 2221 | - | return cret | |
| 2222 | - | } | |
| 2223 | - | ||
| 2224 | - | var xSourceRemove func(uint) bool | |
| 2225 | - | ||
| 2226 | - | // Removes the source with the given ID from the default main context. | |
| 2227 | - | // | |
| 2228 | - | // You must | |
| 2229 | - | // use [method@GLib.Source.destroy] for sources added to a non-default main context. | |
| 2230 | - | // | |
| 2231 | - | // The ID of a [struct@GLib.Source] is given by [method@GLib.Source.get_id], or will be | |
| 2232 | - | // returned by the functions [method@GLib.Source.attach], [func@GLib.idle_add], | |
| 2233 | - | // [func@GLib.idle_add_full], [func@GLib.timeout_add], | |
| 2234 | - | // [func@GLib.timeout_add_full], [func@GLib.child_watch_add], | |
| 2235 | - | // [func@GLib.child_watch_add_full], [func@GLib.io_add_watch], and | |
| 2236 | - | // [func@GLib.io_add_watch_full]. | |
| 2237 | - | // | |
| 2238 | - | // It is a programmer error to attempt to remove a non-existent source. | |
| 2239 | - | // | |
| 2240 | - | // More specifically: source IDs can be reissued after a source has been | |
| 2241 | - | // destroyed and therefore it is never valid to use this function with a | |
| 2242 | - | // source ID which may have already been removed. An example is when | |
| 2243 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |
| 2244 | - | // idle may already have run and been removed by the time this function | |
| 2245 | - | // is called on its (now invalid) source ID. This source ID may have | |
| 2246 | - | // been reissued, leading to the operation being performed against the | |
| 2247 | - | // wrong source. | |
| 2248 | - | func SourceRemove(TagVar uint) bool { | |
| 2249 | - | core.LazyRegister(&xSourceRemove, "GLIB", "g_source_remove", false) | |
| 2250 | - | cret := xSourceRemove(TagVar) | |
| 2251 | - | if cret { | |
| 2252 | - | removeTrackedSource(TagVar) | |
| 2253 | - | } | |
| 2254 | - | return cret | |
| 2255 | - | } | |
| 2256 | - | ||
| 2257 | - | var xSourceRemoveByFuncsUserData func(*SourceFuncs, uintptr) bool | |
| 2258 | - | ||
| 2259 | - | // Removes a source from the default main loop context given the | |
| 2260 | - | // source functions and user data. | |
| 2261 | - | // | |
| 2262 | - | // If multiple sources exist with the same source functions and user data, only | |
| 2263 | - | // one will be destroyed. | |
| 2264 | - | func SourceRemoveByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) bool { | |
| 2265 | - | core.LazyRegister(&xSourceRemoveByFuncsUserData, "GLIB", "g_source_remove_by_funcs_user_data", false) | |
| 2266 | - | ||
| 2267 | - | cret := xSourceRemoveByFuncsUserData(FuncsVar, UserDataVar) | |
| 2268 | - | return cret | |
| 2269 | - | } | |
| 2270 | - | ||
| 2271 | - | var xSourceRemoveByUserData func(uintptr) bool | |
| 2272 | - | ||
| 2273 | - | // Removes a source from the default main loop context given the user | |
| 2274 | - | // data for the callback. | |
| 2275 | - | // | |
| 2276 | - | // If multiple sources exist with the same user data, only one will be destroyed. | |
| 2277 | - | func SourceRemoveByUserData(UserDataVar uintptr) bool { | |
| 2278 | - | core.LazyRegister(&xSourceRemoveByUserData, "GLIB", "g_source_remove_by_user_data", false) | |
| 2279 | - | trackedSourceID := trackedSourceIDByUserData(UserDataVar) | |
| 2280 | - | cret := xSourceRemoveByUserData(UserDataVar) | |
| 2281 | - | if cret { | |
| 2282 | - | removeTrackedSource(trackedSourceID) | |
| 2283 | - | } | |
| 2284 | - | return cret | |
| 2285 | - | } | |
| 2286 | - | ||
| 2287 | - | var xSourceSetNameById func(uint, string) | |
| 2288 | - | ||
| 2289 | - | // Sets the name of a source using its ID. | |
| 2290 | - | // | |
| 2291 | - | // This is a convenience utility to set source names from the return | |
| 2292 | - | // value of [func@GLib.idle_add], [func@GLib.timeout_add], etc. | |
| 2293 | - | // | |
| 2294 | - | // It is a programmer error to attempt to set the name of a non-existent | |
| 2295 | - | // source. | |
| 2296 | - | // | |
| 2297 | - | // More specifically: source IDs can be reissued after a source has been | |
| 2298 | - | // destroyed and therefore it is never valid to use this function with a | |
| 2299 | - | // source ID which may have already been removed. An example is when | |
| 2300 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |
| 2301 | - | // idle may already have run and been removed by the time this function | |
| 2302 | - | // is called on its (now invalid) source ID. This source ID may have | |
| 2303 | - | // been reissued, leading to the operation being performed against the | |
| 2304 | - | // wrong source. | |
| 2305 | - | func SourceSetNameById(TagVar uint, NameVar string) { | |
| 2306 | - | core.LazyRegister(&xSourceSetNameById, "GLIB", "g_source_set_name_by_id", false) | |
| 2307 | - | ||
| 2308 | - | xSourceSetNameById(TagVar, NameVar) | |
| 2309 | - | } | |
| 2310 | - | ||
| 2311 | - | var xTimeoutAdd func(uint, uintptr, uintptr) uint | |
| 2312 | - | ||
| 2313 | - | // Sets a function to be called at regular intervals, with the default | |
| 2314 | - | // priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 2315 | - | // | |
| 2316 | - | // The given @function is called repeatedly until it returns | |
| 2317 | - | // [const@GLib.SOURCE_REMOVE], at which point the timeout is | |
| 2318 | - | // automatically destroyed and the function will not be called again. The first | |
| 2319 | - | // call to the function will be at the end of the first @interval. | |
| 2320 | - | // | |
| 2321 | - | // Note that timeout functions may be delayed, due to the processing of other | |
| 2322 | - | // event sources. Thus they should not be relied on for precise timing. | |
| 2323 | - | // After each call to the timeout function, the time of the next | |
| 2324 | - | // timeout is recalculated based on the current time and the given interval | |
| 2325 | - | // (it does not try to ‘catch up’ time lost in delays). | |
| 2326 | - | // | |
| 2327 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 2328 | - | // on how to handle the return value and memory management of @data. | |
| 2329 | - | // | |
| 2330 | - | // If you want to have a timer in the ‘seconds’ range and do not care | |
| 2331 | - | // about the exact time of the first call of the timer, use the | |
| 2332 | - | // [func@GLib.timeout_add_seconds] function; this function allows for more | |
| 2333 | - | // optimizations and more efficient system power usage. | |
| 2334 | - | // | |
| 2335 | - | // This internally creates a main loop source using | |
| 2336 | - | // [func@GLib.timeout_source_new] and attaches it to the global | |
| 2337 | - | // [struct@GLib.MainContext] using [method@GLib.Source.attach], so the callback | |
| 2338 | - | // will be invoked in whichever thread is running that main context. You can do | |
| 2339 | - | // these steps manually if you need greater control or to use a custom main | |
| 2340 | - | // context. | |
| 2341 | - | // | |
| 2342 | - | // It is safe to call this function from any thread. | |
| 2343 | - | // | |
| 2344 | - | // The interval given is in terms of monotonic time, not wall clock | |
| 2345 | - | // time. See [func@GLib.get_monotonic_time]. | |
| 2346 | - | func TimeoutAdd(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint { | |
| 2347 | - | core.LazyRegister(&xTimeoutAdd, "GLIB", "g_timeout_add", false) | |
| 2348 | - | var functionRef uintptr | |
| 2349 | - | if FunctionVar != nil { | |
| 2350 | - | functionRef = sourceFuncTrampolineCb | |
| 2351 | - | } | |
| 2352 | - | cret := xTimeoutAdd(IntervalVar, functionRef, DataVar) | |
| 2353 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 2354 | - | return cret | |
| 2355 | - | } | |
| 2356 | - | ||
| 2357 | - | var xTimeoutAddFull func(int, uint, uintptr, uintptr, uintptr) uint | |
| 2358 | - | ||
| 2359 | - | // Sets a function to be called at regular intervals, with the given | |
| 2360 | - | // priority. | |
| 2361 | - | // | |
| 2362 | - | // The function is called repeatedly until it returns | |
| 2363 | - | // [const@GLib.SOURCE_REMOVE], at which point the timeout is automatically | |
| 2364 | - | // destroyed and | |
| 2365 | - | // the function will not be called again. The @notify function is | |
| 2366 | - | // called when the timeout is destroyed. The first call to the | |
| 2367 | - | // function will be at the end of the first @interval. | |
| 2368 | - | // | |
| 2369 | - | // Note that timeout functions may be delayed, due to the processing of other | |
| 2370 | - | // event sources. Thus they should not be relied on for precise timing. | |
| 2371 | - | // After each call to the timeout function, the time of the next | |
| 2372 | - | // timeout is recalculated based on the current time and the given interval | |
| 2373 | - | // (it does not try to ‘catch up’ time lost in delays). | |
| 2374 | - | // | |
| 2375 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 2376 | - | // on how to handle the return value and memory management of @data. | |
| 2377 | - | // | |
| 2378 | - | // This internally creates a main loop source using | |
| 2379 | - | // [func@GLib.timeout_source_new] and attaches it to the global | |
| 2380 | - | // [struct@GLib.MainContext] using [method@GLib.Source.attach], so the callback | |
| 2381 | - | // will be invoked in whichever thread is running that main context. You can do | |
| 2382 | - | // these steps manually if you need greater control or to use a custom main | |
| 2383 | - | // context. | |
| 2384 | - | // | |
| 2385 | - | // The interval given is in terms of monotonic time, not wall clock time. | |
| 2386 | - | // See [func@GLib.get_monotonic_time]. | |
| 2387 | - | func TimeoutAddFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |
| 2388 | - | core.LazyRegister(&xTimeoutAddFull, "GLIB", "g_timeout_add_full", false) | |
| 2389 | - | var functionRef uintptr | |
| 2390 | - | if FunctionVar != nil { | |
| 2391 | - | functionRef = sourceFuncTrampolineCb | |
| 2392 | - | } | |
| 2393 | - | cret := xTimeoutAddFull(PriorityVar, IntervalVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |
| 2394 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 2395 | - | return cret | |
| 2396 | - | } | |
| 2397 | - | ||
| 2398 | - | var xTimeoutAddOnce func(uint, uintptr, uintptr) uint | |
| 2399 | - | ||
| 2400 | - | // Sets a function to be called after @interval milliseconds have elapsed, | |
| 2401 | - | // with the default priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 2402 | - | // | |
| 2403 | - | // The given @function is called once and then the source will be automatically | |
| 2404 | - | // removed from the main context. | |
| 2405 | - | // | |
| 2406 | - | // This function otherwise behaves like [func@GLib.timeout_add]. | |
| 2407 | - | func TimeoutAddOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |
| 2408 | - | core.LazyRegister(&xTimeoutAddOnce, "GLIB", "g_timeout_add_once", false) | |
| 2409 | - | var functionRef uintptr | |
| 2410 | - | if FunctionVar != nil { | |
| 2411 | - | functionRef = sourceOnceFuncTrampolineCb | |
| 2412 | - | } | |
| 2413 | - | cret := xTimeoutAddOnce(IntervalVar, functionRef, DataVar) | |
| 2414 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |
| 2415 | - | return cret | |
| 2416 | - | } | |
| 2417 | - | ||
| 2418 | - | var xTimeoutAddSeconds func(uint, uintptr, uintptr) uint | |
| 2419 | - | ||
| 2420 | - | // Sets a function to be called at regular intervals with the default | |
| 2421 | - | // priority, [const@GLib.PRIORITY_DEFAULT]. | |
| 2422 | - | // | |
| 2423 | - | // The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |
| 2424 | - | // at which point the timeout is automatically destroyed | |
| 2425 | - | // and the function will not be called again. | |
| 2426 | - | // | |
| 2427 | - | // This internally creates a main loop source using | |
| 2428 | - | // [func@GLib.timeout_source_new_seconds] and attaches it to the main loop context | |
| 2429 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you need | |
| 2430 | - | // greater control. Also see [func@GLib.timeout_add_seconds_full]. | |
| 2431 | - | // | |
| 2432 | - | // It is safe to call this function from any thread. | |
| 2433 | - | // | |
| 2434 | - | // Note that the first call of the timer may not be precise for timeouts | |
| 2435 | - | // of one second. If you need finer precision and have such a timeout, | |
| 2436 | - | // you may want to use [func@GLib.timeout_add] instead. | |
| 2437 | - | // | |
| 2438 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 2439 | - | // on how to handle the return value and memory management of @data. | |
| 2440 | - | // | |
| 2441 | - | // The interval given is in terms of monotonic time, not wall clock | |
| 2442 | - | // time. See [func@GLib.get_monotonic_time]. | |
| 2443 | - | func TimeoutAddSeconds(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint { | |
| 2444 | - | core.LazyRegister(&xTimeoutAddSeconds, "GLIB", "g_timeout_add_seconds", false) | |
| 2445 | - | var functionRef uintptr | |
| 2446 | - | if FunctionVar != nil { | |
| 2447 | - | functionRef = sourceFuncTrampolineCb | |
| 2448 | - | } | |
| 2449 | - | cret := xTimeoutAddSeconds(IntervalVar, functionRef, DataVar) | |
| 2450 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 2451 | - | return cret | |
| 2452 | - | } | |
| 2453 | - | ||
| 2454 | - | var xTimeoutAddSecondsFull func(int, uint, uintptr, uintptr, uintptr) uint | |
| 2455 | - | ||
| 2456 | - | // Sets a function to be called at regular intervals, with @priority. | |
| 2457 | - | // | |
| 2458 | - | // The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |
| 2459 | - | // at which point the timeout is automatically destroyed and | |
| 2460 | - | // the function will not be called again. | |
| 2461 | - | // | |
| 2462 | - | // Unlike [func@GLib.timeout_add], this function operates at whole second | |
| 2463 | - | // granularity. The initial starting point of the timer is determined by the | |
| 2464 | - | // implementation and the implementation is expected to group multiple timers | |
| 2465 | - | // together so that they fire all at the same time. To allow this grouping, | |
| 2466 | - | // the @interval to the first timer is rounded and can deviate up to one second | |
| 2467 | - | // from the specified interval. Subsequent timer iterations will generally run | |
| 2468 | - | // at the specified interval. | |
| 2469 | - | // | |
| 2470 | - | // Note that timeout functions may be delayed, due to the processing of other | |
| 2471 | - | // event sources. Thus they should not be relied on for precise timing. | |
| 2472 | - | // After each call to the timeout function, the time of the next | |
| 2473 | - | // timeout is recalculated based on the current time and the given @interval | |
| 2474 | - | // | |
| 2475 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |
| 2476 | - | // on how to handle the return value and memory management of @data. | |
| 2477 | - | // | |
| 2478 | - | // If you want timing more precise than whole seconds, use | |
| 2479 | - | // [func@GLib.timeout_add] instead. | |
| 2480 | - | // | |
| 2481 | - | // The grouping of timers to fire at the same time results in a more power | |
| 2482 | - | // and CPU efficient behavior so if your timer is in multiples of seconds | |
| 2483 | - | // and you don’t require the first timer exactly one second from now, the | |
| 2484 | - | // use of [func@GLib.timeout_add_seconds] is preferred over | |
| 2485 | - | // [func@GLib.timeout_add]. | |
| 2486 | - | // | |
| 2487 | - | // This internally creates a main loop source using | |
| 2488 | - | // [func@GLib.timeout_source_new_seconds] and attaches it to the main loop | |
| 2489 | - | // context using [method@GLib.Source.attach]. You can do these steps manually | |
| 2490 | - | // if you need greater control. | |
| 2491 | - | // | |
| 2492 | - | // It is safe to call this function from any thread. | |
| 2493 | - | // | |
| 2494 | - | // The interval given is in terms of monotonic time, not wall clock | |
| 2495 | - | // time. See [func@GLib.get_monotonic_time]. | |
| 2496 | - | func TimeoutAddSecondsFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |
| 2497 | - | core.LazyRegister(&xTimeoutAddSecondsFull, "GLIB", "g_timeout_add_seconds_full", false) | |
| 2498 | - | var functionRef uintptr | |
| 2499 | - | if FunctionVar != nil { | |
| 2500 | - | functionRef = sourceFuncTrampolineCb | |
| 2501 | - | } | |
| 2502 | - | cret := xTimeoutAddSecondsFull(PriorityVar, IntervalVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |
| 2503 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |
| 2504 | - | return cret | |
| 2505 | - | } | |
| 2506 | - | ||
| 2507 | - | var xTimeoutAddSecondsOnce func(uint, uintptr, uintptr) uint | |
| 2508 | - | ||
| 2509 | - | // This function behaves like [func@GLib.timeout_add_once] but with a range in | |
| 2510 | - | // seconds. | |
| 2511 | - | func TimeoutAddSecondsOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |
| 2512 | - | core.LazyRegister(&xTimeoutAddSecondsOnce, "GLIB", "g_timeout_add_seconds_once", false) | |
| 2513 | - | var functionRef uintptr | |
| 2514 | - | if FunctionVar != nil { | |
| 2515 | - | functionRef = sourceOnceFuncTrampolineCb | |
| 2516 | - | } | |
| 2517 | - | cret := xTimeoutAddSecondsOnce(IntervalVar, functionRef, DataVar) | |
| 2518 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |
| 2519 | - | return cret | |
| 2520 | - | } | |
| 2521 | - | ||
| 2522 | - | var xTimeoutSourceNew func(uint) uintptr | |
| 2523 | - | ||
| 2524 | - | // Creates a new timeout source. | |
| 2525 | - | // | |
| 2526 | - | // The source will not initially be associated with any [struct@GLib.MainContext] | |
| 2527 | - | // and must be added to one with [method@GLib.Source.attach] before it will be | |
| 2528 | - | // executed. | |
| 2529 | - | // | |
| 2530 | - | // The interval given is in terms of monotonic time, not wall clock | |
| 2531 | - | // time. See [func@GLib.get_monotonic_time]. | |
| 2532 | - | func TimeoutSourceNew(IntervalVar uint) *Source { | |
| 2533 | - | core.LazyRegister(&xTimeoutSourceNew, "GLIB", "g_timeout_source_new", false) | |
| 2534 | - | ||
| 2535 | - | cret := xTimeoutSourceNew(IntervalVar) | |
| 2536 | - | if cret == 0 { | |
| 2537 | - | return nil | |
| 2538 | - | } | |
| 2539 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 2540 | - | } | |
| 2541 | - | ||
| 2542 | - | var xTimeoutSourceNewSeconds func(uint) uintptr | |
| 2543 | - | ||
| 2544 | - | // Creates a new timeout source. | |
| 2545 | - | // | |
| 2546 | - | // The source will not initially be associated with any | |
| 2547 | - | // [struct@GLib.MainContext] and must be added to one with | |
| 2548 | - | // [method@GLib.Source.attach] before it will be executed. | |
| 2549 | - | // | |
| 2550 | - | // The scheduling granularity/accuracy of this timeout source will be | |
| 2551 | - | // in seconds. | |
| 2552 | - | // | |
| 2553 | - | // The interval given is in terms of monotonic time, not wall clock time. | |
| 2554 | - | // See [func@GLib.get_monotonic_time]. | |
| 2555 | - | func TimeoutSourceNewSeconds(IntervalVar uint) *Source { | |
| 2556 | - | core.LazyRegister(&xTimeoutSourceNewSeconds, "GLIB", "g_timeout_source_new_seconds", false) | |
| 2557 | - | ||
| 2558 | - | cret := xTimeoutSourceNewSeconds(IntervalVar) | |
| 2559 | - | if cret == 0 { | |
| 2560 | - | return nil | |
| 2561 | - | } | |
| 2562 | - | return (*Source)(unsafe.Pointer(cret)) | |
| 2563 | - | } | |
| 2564 | - | ||
| 2565 | - | func init() { | |
| 2566 | - | core.SetPackageName("GLIB", "glib-2.0") | |
| 2567 | - | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |
| 2568 | - | } | |
| @@ -1,2568 +0,0 @@ | |||||
| 1 | - | // Package glib was automatically generated by github.com/bnema/puregotk DO NOT EDIT | |||
| 2 | - | package glib | |||
| 3 | - | ||||
| 4 | - | import ( | |||
| 5 | - | "structs" | |||
| 6 | - | "unsafe" | |||
| 7 | - | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | - | "github.com/bnema/puregotk/pkg/core" | |||
| 10 | - | "github.com/bnema/puregotk/v4/gobject/types" | |||
| 11 | - | ) | |||
| 12 | - | ||||
| 13 | - | // Prototype of a #GChildWatchSource callback, called when a child | |||
| 14 | - | // process has exited. | |||
| 15 | - | // | |||
| 16 | - | // To interpret @wait_status, see the documentation for | |||
| 17 | - | // [func@GLib.spawn_check_wait_status]. In particular, | |||
| 18 | - | // on Unix platforms, note that it is usually not equal | |||
| 19 | - | // to the integer passed to `exit()` or returned from `main()`. | |||
| 20 | - | type ChildWatchFunc func(Pid, int, uintptr) | |||
| 21 | - | ||||
| 22 | - | // Specifies the type of function passed to [func@GLib.clear_handle_id] The | |||
| 23 | - | // implementation is expected to free the resource identified by @handle_id; | |||
| 24 | - | // for instance, if @handle_id is a [struct@GLib.Source] ID, | |||
| 25 | - | // [func@GLib.Source.remove] can be used. | |||
| 26 | - | type ClearHandleFunc func(uint) | |||
| 27 | - | ||||
| 28 | - | // Dispose function for @source. See [method@GLib.Source.set_dispose_function] | |||
| 29 | - | // for details. | |||
| 30 | - | type SourceDisposeFunc func(*Source) | |||
| 31 | - | ||||
| 32 | - | // This is just a placeholder for #GClosureMarshal, | |||
| 33 | - | // which cannot be used here for dependency reasons. | |||
| 34 | - | type SourceDummyMarshal func() | |||
| 35 | - | ||||
| 36 | - | // Specifies the type of function passed to [func@GLib.timeout_add], | |||
| 37 | - | // [func@GLib.timeout_add_full], [func@GLib.idle_add], and | |||
| 38 | - | // [func@GLib.idle_add_full]. | |||
| 39 | - | // | |||
| 40 | - | // When calling [method@GLib.Source.set_callback], you may need to cast a | |||
| 41 | - | // function of a different type to this type. Use [func@GLib.SOURCE_FUNC] to | |||
| 42 | - | // avoid warnings about incompatible function types. | |||
| 43 | - | type SourceFunc func(uintptr) bool | |||
| 44 | - | ||||
| 45 | - | // Checks if the source is ready to be dispatched. | |||
| 46 | - | // | |||
| 47 | - | // Called after all the file descriptors are polled. The source | |||
| 48 | - | // should return %TRUE if it is ready to be dispatched. Note that some | |||
| 49 | - | // time may have passed since the previous prepare function was called, | |||
| 50 | - | // so the source should be checked again here. | |||
| 51 | - | // | |||
| 52 | - | // Since 2.36 this may be `NULL`, in which case the effect is | |||
| 53 | - | // as if the function always returns `FALSE`. | |||
| 54 | - | type SourceFuncsCheckFunc func(*Source) bool | |||
| 55 | - | ||||
| 56 | - | // Dispatches the source callback. | |||
| 57 | - | // | |||
| 58 | - | // Called to dispatch the event source, after it has returned | |||
| 59 | - | // `TRUE` in either its prepare or its check function, or if a ready time | |||
| 60 | - | // has been reached. The dispatch function receives a callback function and | |||
| 61 | - | // user data. The callback function may be `NULL` if the source was never | |||
| 62 | - | // connected to a callback using [method@GLib.Source.set_callback]. The dispatch | |||
| 63 | - | // function should call the callback function with @user_data and whatever | |||
| 64 | - | // additional parameters are needed for this type of event source. The | |||
| 65 | - | // return value of the dispatch function should be [const@GLib.SOURCE_REMOVE] | |||
| 66 | - | // if the source should be removed or [const@GLib.SOURCE_CONTINUE] to keep it. | |||
| 67 | - | type SourceFuncsDispatchFunc func(*Source, uintptr, uintptr) bool | |||
| 68 | - | ||||
| 69 | - | // Finalizes the source. | |||
| 70 | - | // | |||
| 71 | - | // Called when the source is finalized. At this point, the source | |||
| 72 | - | // will have been destroyed, had its callback cleared, and have been removed | |||
| 73 | - | // from its [type@GLib.MainContext], but it will still have its final reference | |||
| 74 | - | // count, so methods can be called on it from within this function. | |||
| 75 | - | type SourceFuncsFinalizeFunc func(*Source) | |||
| 76 | - | ||||
| 77 | - | // Checks the source for readiness. | |||
| 78 | - | // | |||
| 79 | - | // Called before all the file descriptors are polled. If the | |||
| 80 | - | // source can determine that it is ready here (without waiting for the | |||
| 81 | - | // results of the poll call) it should return %TRUE. It can also return | |||
| 82 | - | // a @timeout_ value which should be the maximum timeout (in milliseconds) | |||
| 83 | - | // which should be passed to the poll call. The actual timeout used will | |||
| 84 | - | // be `-1` if all sources returned `-1`, or it will be the minimum of all | |||
| 85 | - | // the @timeout_ values returned which were greater than or equal to `0`. | |||
| 86 | - | // If the prepare function returns a timeout and the source also has a | |||
| 87 | - | // ready time set, then the lower of the two will be used. | |||
| 88 | - | // | |||
| 89 | - | // Since 2.36 this may be `NULL`, in which case the effect is as if the | |||
| 90 | - | // function always returns `FALSE` with a timeout of `-1`. | |||
| 91 | - | type SourceFuncsPrepareFunc func(*Source, *int) bool | |||
| 92 | - | ||||
| 93 | - | // A source function that is only called once before being removed from the main | |||
| 94 | - | // context automatically. | |||
| 95 | - | // | |||
| 96 | - | // See: [func@GLib.idle_add_once], [func@GLib.timeout_add_once] | |||
| 97 | - | type SourceOnceFunc func(uintptr) | |||
| 98 | - | ||||
| 99 | - | // The `GMainContext` struct is an opaque data | |||
| 100 | - | // type representing a set of sources to be handled in a main loop. | |||
| 101 | - | type MainContext struct { | |||
| 102 | - | _ structs.HostLayout | |||
| 103 | - | } | |||
| 104 | - | ||||
| 105 | - | var xMainContextGLibType func() types.GType | |||
| 106 | - | ||||
| 107 | - | func MainContextGLibType() types.GType { | |||
| 108 | - | core.LazyRegister(&xMainContextGLibType, "GLIB", "g_main_context_get_type", false) | |||
| 109 | - | return xMainContextGLibType() | |||
| 110 | - | } | |||
| 111 | - | ||||
| 112 | - | func (x *MainContext) GoPointer() uintptr { | |||
| 113 | - | return uintptr(unsafe.Pointer(x)) | |||
| 114 | - | } | |||
| 115 | - | ||||
| 116 | - | func MainContextNewFromInternalPtr(ptr uintptr) *MainContext { | |||
| 117 | - | if ptr == 0 { | |||
| 118 | - | return nil | |||
| 119 | - | } | |||
| 120 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 121 | - | return (*MainContext)(rawPtr) | |||
| 122 | - | } | |||
| 123 | - | ||||
| 124 | - | var xNewMainContext func() uintptr | |||
| 125 | - | ||||
| 126 | - | // Creates a new [struct@GLib.MainContext] structure. | |||
| 127 | - | func NewMainContext() *MainContext { | |||
| 128 | - | core.LazyRegister(&xNewMainContext, "GLIB", "g_main_context_new", false) | |||
| 129 | - | ||||
| 130 | - | cret := xNewMainContext() | |||
| 131 | - | if cret == 0 { | |||
| 132 | - | return nil | |||
| 133 | - | } | |||
| 134 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 135 | - | } | |||
| 136 | - | ||||
| 137 | - | var xNewMainContextWithFlags func(MainContextFlags) uintptr | |||
| 138 | - | ||||
| 139 | - | // Creates a new [struct@GLib.MainContext] structure. | |||
| 140 | - | func NewMainContextWithFlags(FlagsVar MainContextFlags) *MainContext { | |||
| 141 | - | core.LazyRegister(&xNewMainContextWithFlags, "GLIB", "g_main_context_new_with_flags", false) | |||
| 142 | - | ||||
| 143 | - | cret := xNewMainContextWithFlags(FlagsVar) | |||
| 144 | - | if cret == 0 { | |||
| 145 | - | return nil | |||
| 146 | - | } | |||
| 147 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 148 | - | } | |||
| 149 | - | ||||
| 150 | - | var xMainContextAcquire func(uintptr) bool | |||
| 151 | - | ||||
| 152 | - | // Tries to become the owner of the specified context. | |||
| 153 | - | // | |||
| 154 | - | // If some other thread is the owner of the context, | |||
| 155 | - | // returns false immediately. Ownership is properly | |||
| 156 | - | // recursive: the owner can require ownership again | |||
| 157 | - | // and will release ownership when [method@GLib.MainContext.release] | |||
| 158 | - | // is called as many times as [method@GLib.MainContext.acquire]. | |||
| 159 | - | // | |||
| 160 | - | // You must be the owner of a context before you | |||
| 161 | - | // can call [method@GLib.MainContext.prepare], [method@GLib.MainContext.query], | |||
| 162 | - | // [method@GLib.MainContext.check], [method@GLib.MainContext.dispatch], | |||
| 163 | - | // [method@GLib.MainContext.release]. | |||
| 164 | - | // | |||
| 165 | - | // Since 2.76 @context can be `NULL` to use the global-default | |||
| 166 | - | // main context. | |||
| 167 | - | func (x *MainContext) Acquire() bool { | |||
| 168 | - | core.LazyRegister(&xMainContextAcquire, "GLIB", "g_main_context_acquire", false) | |||
| 169 | - | ||||
| 170 | - | cret := xMainContextAcquire(x.GoPointer()) | |||
| 171 | - | return cret | |||
| 172 | - | } | |||
| 173 | - | ||||
| 174 | - | var xMainContextAddPoll func(uintptr, *PollFD, int) | |||
| 175 | - | ||||
| 176 | - | // Adds a file descriptor to the set of file descriptors polled for | |||
| 177 | - | // this context. | |||
| 178 | - | // | |||
| 179 | - | // This will very seldom be used directly. Instead | |||
| 180 | - | // a typical event source will use `g_source_add_unix_fd()` instead. | |||
| 181 | - | func (x *MainContext) AddPoll(FdVar *PollFD, PriorityVar int) { | |||
| 182 | - | core.LazyRegister(&xMainContextAddPoll, "GLIB", "g_main_context_add_poll", false) | |||
| 183 | - | ||||
| 184 | - | xMainContextAddPoll(x.GoPointer(), FdVar, PriorityVar) | |||
| 185 | - | } | |||
| 186 | - | ||||
| 187 | - | var xMainContextCheck func(uintptr, int, []PollFD, int) bool | |||
| 188 | - | ||||
| 189 | - | // Passes the results of polling back to the main loop. | |||
| 190 | - | // | |||
| 191 | - | // You should be | |||
| 192 | - | // careful to pass @fds and its length @n_fds as received from | |||
| 193 | - | // [method@GLib.MainContext.query], as this functions relies on assumptions | |||
| 194 | - | // on how @fds is filled. | |||
| 195 | - | // | |||
| 196 | - | // You must have successfully acquired the context with | |||
| 197 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |||
| 198 | - | // | |||
| 199 | - | // Since 2.76 @context can be `NULL` to use the global-default | |||
| 200 | - | // main context. | |||
| 201 | - | func (x *MainContext) Check(MaxPriorityVar int, FdsVar []PollFD, NFdsVar int) bool { | |||
| 202 | - | core.LazyRegister(&xMainContextCheck, "GLIB", "g_main_context_check", false) | |||
| 203 | - | ||||
| 204 | - | cret := xMainContextCheck(x.GoPointer(), MaxPriorityVar, FdsVar, NFdsVar) | |||
| 205 | - | return cret | |||
| 206 | - | } | |||
| 207 | - | ||||
| 208 | - | var xMainContextDispatch func(uintptr) | |||
| 209 | - | ||||
| 210 | - | // Dispatches all pending sources. | |||
| 211 | - | // | |||
| 212 | - | // You must have successfully acquired the context with | |||
| 213 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |||
| 214 | - | // | |||
| 215 | - | // Since 2.76 @context can be `NULL` to use the global-default | |||
| 216 | - | // main context. | |||
| 217 | - | func (x *MainContext) Dispatch() { | |||
| 218 | - | core.LazyRegister(&xMainContextDispatch, "GLIB", "g_main_context_dispatch", false) | |||
| 219 | - | ||||
| 220 | - | xMainContextDispatch(x.GoPointer()) | |||
| 221 | - | } | |||
| 222 | - | ||||
| 223 | - | var xMainContextFindSourceByFuncsUserData func(uintptr, *SourceFuncs, uintptr) uintptr | |||
| 224 | - | ||||
| 225 | - | // Finds a source with the given source functions and user data. | |||
| 226 | - | // | |||
| 227 | - | // If multiple sources exist with the same source function and user data, | |||
| 228 | - | // the first one found will be returned. | |||
| 229 | - | func (x *MainContext) FindSourceByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) *Source { | |||
| 230 | - | core.LazyRegister(&xMainContextFindSourceByFuncsUserData, "GLIB", "g_main_context_find_source_by_funcs_user_data", false) | |||
| 231 | - | ||||
| 232 | - | cret := xMainContextFindSourceByFuncsUserData(x.GoPointer(), FuncsVar, UserDataVar) | |||
| 233 | - | if cret == 0 { | |||
| 234 | - | return nil | |||
| 235 | - | } | |||
| 236 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 237 | - | } | |||
| 238 | - | ||||
| 239 | - | var xMainContextFindSourceById func(uintptr, uint) uintptr | |||
| 240 | - | ||||
| 241 | - | // Finds a [struct@GLib.Source] given a pair of context and ID. | |||
| 242 | - | // | |||
| 243 | - | // It is a programmer error to attempt to look up a non-existent source. | |||
| 244 | - | // | |||
| 245 | - | // More specifically: source IDs can be reissued after a source has been | |||
| 246 | - | // destroyed and therefore it is never valid to use this function with a | |||
| 247 | - | // source ID which may have already been removed. An example is when | |||
| 248 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |||
| 249 | - | // idle may already have run and been removed by the time this function | |||
| 250 | - | // is called on its (now invalid) source ID. This source ID may have | |||
| 251 | - | // been reissued, leading to the operation being performed against the | |||
| 252 | - | // wrong source. | |||
| 253 | - | func (x *MainContext) FindSourceById(SourceIdVar uint) *Source { | |||
| 254 | - | core.LazyRegister(&xMainContextFindSourceById, "GLIB", "g_main_context_find_source_by_id", false) | |||
| 255 | - | ||||
| 256 | - | cret := xMainContextFindSourceById(x.GoPointer(), SourceIdVar) | |||
| 257 | - | if cret == 0 { | |||
| 258 | - | return nil | |||
| 259 | - | } | |||
| 260 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 261 | - | } | |||
| 262 | - | ||||
| 263 | - | var xMainContextFindSourceByUserData func(uintptr, uintptr) uintptr | |||
| 264 | - | ||||
| 265 | - | // Finds a source with the given user data for the callback. | |||
| 266 | - | // | |||
| 267 | - | // If multiple sources exist with the same user data, the first | |||
| 268 | - | // one found will be returned. | |||
| 269 | - | func (x *MainContext) FindSourceByUserData(UserDataVar uintptr) *Source { | |||
| 270 | - | core.LazyRegister(&xMainContextFindSourceByUserData, "GLIB", "g_main_context_find_source_by_user_data", false) | |||
| 271 | - | ||||
| 272 | - | cret := xMainContextFindSourceByUserData(x.GoPointer(), UserDataVar) | |||
| 273 | - | if cret == 0 { | |||
| 274 | - | return nil | |||
| 275 | - | } | |||
| 276 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 277 | - | } | |||
| 278 | - | ||||
| 279 | - | var xMainContextGetPollFunc func(uintptr) uintptr | |||
| 280 | - | ||||
| 281 | - | // Gets the poll function set by [method@GLib.MainContext.set_poll_func]. | |||
| 282 | - | func (x *MainContext) GetPollFunc() uintptr { | |||
| 283 | - | core.LazyRegister(&xMainContextGetPollFunc, "GLIB", "g_main_context_get_poll_func", false) | |||
| 284 | - | ||||
| 285 | - | cret := xMainContextGetPollFunc(x.GoPointer()) | |||
| 286 | - | return cret | |||
| 287 | - | } | |||
| 288 | - | ||||
| 289 | - | var xMainContextInvoke func(uintptr, uintptr, uintptr) | |||
| 290 | - | ||||
| 291 | - | // Invokes a function in such a way that @context is owned during the | |||
| 292 | - | // invocation of @function. | |||
| 293 | - | // | |||
| 294 | - | // If @context is `NULL` then the global-default main context — as | |||
| 295 | - | // returned by [func@GLib.MainContext.default] — is used. | |||
| 296 | - | // | |||
| 297 | - | // If @context is owned by the current thread, @function is called | |||
| 298 | - | // directly. Otherwise, if @context is the thread-default main context | |||
| 299 | - | // of the current thread and [method@GLib.MainContext.acquire] succeeds, | |||
| 300 | - | // then @function is called and [method@GLib.MainContext.release] is called | |||
| 301 | - | // afterwards. | |||
| 302 | - | // | |||
| 303 | - | // In any other case, an idle source is created to call @function and | |||
| 304 | - | // that source is attached to @context (presumably to be run in another | |||
| 305 | - | // thread). The idle source is attached with [const@GLib.PRIORITY_DEFAULT] | |||
| 306 | - | // priority. If you want a different priority, use | |||
| 307 | - | // [method@GLib.MainContext.invoke_full]. | |||
| 308 | - | // | |||
| 309 | - | // Note that, as with normal idle functions, @function should probably return | |||
| 310 | - | // [const@GLib.SOURCE_REMOVE]. If it returns [const@GLib.SOURCE_CONTINUE], it | |||
| 311 | - | // will be continuously run in a loop (and may prevent this call from returning). | |||
| 312 | - | func (x *MainContext) Invoke(FunctionVar *SourceFunc, DataVar uintptr) { | |||
| 313 | - | core.LazyRegister(&xMainContextInvoke, "GLIB", "g_main_context_invoke", false) | |||
| 314 | - | ||||
| 315 | - | xMainContextInvoke(x.GoPointer(), NewCallback(FunctionVar), DataVar) | |||
| 316 | - | } | |||
| 317 | - | ||||
| 318 | - | var xMainContextInvokeFull func(uintptr, int, uintptr, uintptr, uintptr) | |||
| 319 | - | ||||
| 320 | - | // Invokes a function in such a way that @context is owned during the | |||
| 321 | - | // invocation of @function. | |||
| 322 | - | // | |||
| 323 | - | // This function is the same as [method@GLib.MainContext.invoke] except that it | |||
| 324 | - | // lets you specify the priority in case @function ends up being | |||
| 325 | - | // scheduled as an idle and also lets you give a [callback@GLib.DestroyNotify] | |||
| 326 | - | // for @data. | |||
| 327 | - | // | |||
| 328 | - | // The @notify function should not assume that it is called from any particular | |||
| 329 | - | // thread or with any particular context acquired. | |||
| 330 | - | func (x *MainContext) InvokeFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) { | |||
| 331 | - | core.LazyRegister(&xMainContextInvokeFull, "GLIB", "g_main_context_invoke_full", false) | |||
| 332 | - | ||||
| 333 | - | xMainContextInvokeFull(x.GoPointer(), PriorityVar, NewCallback(FunctionVar), DataVar, NewCallbackNullable(NotifyVar)) | |||
| 334 | - | } | |||
| 335 | - | ||||
| 336 | - | var xMainContextIsOwner func(uintptr) bool | |||
| 337 | - | ||||
| 338 | - | // Determines whether this thread holds the (recursive) | |||
| 339 | - | // ownership of this [struct@GLib.MainContext]. | |||
| 340 | - | // | |||
| 341 | - | // This is useful to | |||
| 342 | - | // know before waiting on another thread that may be | |||
| 343 | - | // blocking to get ownership of @context. | |||
| 344 | - | func (x *MainContext) IsOwner() bool { | |||
| 345 | - | core.LazyRegister(&xMainContextIsOwner, "GLIB", "g_main_context_is_owner", false) | |||
| 346 | - | ||||
| 347 | - | cret := xMainContextIsOwner(x.GoPointer()) | |||
| 348 | - | return cret | |||
| 349 | - | } | |||
| 350 | - | ||||
| 351 | - | var xMainContextIteration func(uintptr, bool) bool | |||
| 352 | - | ||||
| 353 | - | // Runs a single iteration for the given main loop. | |||
| 354 | - | // | |||
| 355 | - | // This involves | |||
| 356 | - | // checking to see if any event sources are ready to be processed, | |||
| 357 | - | // then if no events sources are ready and @may_block is true, waiting | |||
| 358 | - | // for a source to become ready, then dispatching the highest priority | |||
| 359 | - | // events sources that are ready. Otherwise, if @may_block is false, | |||
| 360 | - | // this function does not wait for sources to become ready, and only the highest | |||
| 361 | - | // priority sources which are already ready (if any) will be dispatched. | |||
| 362 | - | // | |||
| 363 | - | // Note that even when @may_block is true, it is still possible for | |||
| 364 | - | // [method@GLib.MainContext.iteration] to return false, since the wait may | |||
| 365 | - | // be interrupted for other reasons than an event source becoming ready. | |||
| 366 | - | func (x *MainContext) Iteration(MayBlockVar bool) bool { | |||
| 367 | - | core.LazyRegister(&xMainContextIteration, "GLIB", "g_main_context_iteration", false) | |||
| 368 | - | ||||
| 369 | - | cret := xMainContextIteration(x.GoPointer(), MayBlockVar) | |||
| 370 | - | return cret | |||
| 371 | - | } | |||
| 372 | - | ||||
| 373 | - | var xMainContextPending func(uintptr) bool | |||
| 374 | - | ||||
| 375 | - | // Checks if any sources have pending events for the given context. | |||
| 376 | - | func (x *MainContext) Pending() bool { | |||
| 377 | - | core.LazyRegister(&xMainContextPending, "GLIB", "g_main_context_pending", false) | |||
| 378 | - | ||||
| 379 | - | cret := xMainContextPending(x.GoPointer()) | |||
| 380 | - | return cret | |||
| 381 | - | } | |||
| 382 | - | ||||
| 383 | - | var xMainContextPopThreadDefault func(uintptr) | |||
| 384 | - | ||||
| 385 | - | // Pops @context off the thread-default context stack (verifying that | |||
| 386 | - | // it was on the top of the stack). | |||
| 387 | - | func (x *MainContext) PopThreadDefault() { | |||
| 388 | - | core.LazyRegister(&xMainContextPopThreadDefault, "GLIB", "g_main_context_pop_thread_default", false) | |||
| 389 | - | ||||
| 390 | - | xMainContextPopThreadDefault(x.GoPointer()) | |||
| 391 | - | } | |||
| 392 | - | ||||
| 393 | - | var xMainContextPrepare func(uintptr, *int) bool | |||
| 394 | - | ||||
| 395 | - | // Prepares to poll sources within a main loop. | |||
| 396 | - | // | |||
| 397 | - | // The resulting information | |||
| 398 | - | // for polling is determined by calling [method@GLib.MainContext.query]. | |||
| 399 | - | // | |||
| 400 | - | // You must have successfully acquired the context with | |||
| 401 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |||
| 402 | - | func (x *MainContext) Prepare(PriorityVar *int) bool { | |||
| 403 | - | core.LazyRegister(&xMainContextPrepare, "GLIB", "g_main_context_prepare", false) | |||
| 404 | - | ||||
| 405 | - | cret := xMainContextPrepare(x.GoPointer(), PriorityVar) | |||
| 406 | - | return cret | |||
| 407 | - | } | |||
| 408 | - | ||||
| 409 | - | var xMainContextPushThreadDefault func(uintptr) | |||
| 410 | - | ||||
| 411 | - | // Acquires @context and sets it as the thread-default context for the | |||
| 412 | - | // current thread. This will cause certain asynchronous operations | |||
| 413 | - | // (such as most [Gio](../gio/index.html)-based I/O) which are | |||
| 414 | - | // started in this thread to run under @context and deliver their | |||
| 415 | - | // results to its main loop, rather than running under the global | |||
| 416 | - | // default main context in the main thread. Note that calling this function | |||
| 417 | - | // changes the context returned by [func@GLib.MainContext.get_thread_default], | |||
| 418 | - | // not the one returned by [func@GLib.MainContext.default], so it does not | |||
| 419 | - | // affect the context used by functions like [func@GLib.idle_add]. | |||
| 420 | - | // | |||
| 421 | - | // Normally you would call this function shortly after creating a new | |||
| 422 | - | // thread, passing it a [struct@GLib.MainContext] which will be run by a | |||
| 423 | - | // [struct@GLib.MainLoop] in that thread, to set a new default context for all | |||
| 424 | - | // async operations in that thread. In this case you may not need to | |||
| 425 | - | // ever call [method@GLib.MainContext.pop_thread_default], assuming you want | |||
| 426 | - | // the new [struct@GLib.MainContext] to be the default for the whole lifecycle | |||
| 427 | - | // of the thread. | |||
| 428 | - | // | |||
| 429 | - | // If you don’t have control over how the new thread was created (e.g. | |||
| 430 | - | // in the new thread isn’t newly created, or if the thread life | |||
| 431 | - | // cycle is managed by a #GThreadPool), it is always suggested to wrap | |||
| 432 | - | // the logic that needs to use the new [struct@GLib.MainContext] inside a | |||
| 433 | - | // [method@GLib.MainContext.push_thread_default] / | |||
| 434 | - | // [method@GLib.MainContext.pop_thread_default] pair, otherwise threads that | |||
| 435 | - | // are re-used will end up never explicitly releasing the | |||
| 436 | - | // [struct@GLib.MainContext] reference they hold. | |||
| 437 | - | // | |||
| 438 | - | // In some cases you may want to schedule a single operation in a | |||
| 439 | - | // non-default context, or temporarily use a non-default context in | |||
| 440 | - | // the main thread. In that case, you can wrap the call to the | |||
| 441 | - | // asynchronous operation inside a | |||
| 442 | - | // [method@GLib.MainContext.push_thread_default] / | |||
| 443 | - | // [method@GLib.MainContext.pop_thread_default] pair, but it is up to you to | |||
| 444 | - | // ensure that no other asynchronous operations accidentally get | |||
| 445 | - | // started while the non-default context is active. | |||
| 446 | - | // | |||
| 447 | - | // Beware that libraries that predate this function may not correctly | |||
| 448 | - | // handle being used from a thread with a thread-default context. For example, | |||
| 449 | - | // see `g_file_supports_thread_contexts()`. | |||
| 450 | - | func (x *MainContext) PushThreadDefault() { | |||
| 451 | - | core.LazyRegister(&xMainContextPushThreadDefault, "GLIB", "g_main_context_push_thread_default", false) | |||
| 452 | - | ||||
| 453 | - | xMainContextPushThreadDefault(x.GoPointer()) | |||
| 454 | - | } | |||
| 455 | - | ||||
| 456 | - | var xMainContextPusherNew func(uintptr) *MainContextPusher | |||
| 457 | - | ||||
| 458 | - | // Push @main_context as the new thread-default main context for the current | |||
| 459 | - | // thread, using [method@GLib.MainContext.push_thread_default], and return a | |||
| 460 | - | // new [alias@GLib.MainContextPusher]. Pop with g_main_context_pusher_free(). | |||
| 461 | - | // Using [method@GLib.MainContext.pop_thread_default] on @main_context while a | |||
| 462 | - | // [alias@GLib.MainContextPusher] exists for it can lead to undefined behaviour. | |||
| 463 | - | // | |||
| 464 | - | // Using two [alias@GLib.MainContextPusher]s in the same scope is not allowed, | |||
| 465 | - | // as it leads to an undefined pop order. | |||
| 466 | - | // | |||
| 467 | - | // This is intended to be used with g_autoptr(). Note that g_autoptr() | |||
| 468 | - | // is only available when using GCC or clang, so the following example | |||
| 469 | - | // will only work with those compilers: | |||
| 470 | - | // |[ | |||
| 471 | - | // typedef struct | |||
| 472 | - | // | |||
| 473 | - | // { | |||
| 474 | - | // ... | |||
| 475 | - | // GMainContext *context; | |||
| 476 | - | // ... | |||
| 477 | - | // } MyObject; | |||
| 478 | - | // | |||
| 479 | - | // static void | |||
| 480 | - | // my_object_do_stuff (MyObject *self) | |||
| 481 | - | // | |||
| 482 | - | // { | |||
| 483 | - | // g_autoptr(GMainContextPusher) pusher = g_main_context_pusher_new (self->context); | |||
| 484 | - | // | |||
| 485 | - | // // Code with main context as the thread default here | |||
| 486 | - | // | |||
| 487 | - | // if (cond) | |||
| 488 | - | // // No need to pop | |||
| 489 | - | // return; | |||
| 490 | - | // | |||
| 491 | - | // // Optionally early pop | |||
| 492 | - | // g_clear_pointer (&pusher, g_main_context_pusher_free); | |||
| 493 | - | // | |||
| 494 | - | // // Code with main context no longer the thread default here | |||
| 495 | - | // } | |||
| 496 | - | // | |||
| 497 | - | // ]| | |||
| 498 | - | func (x *MainContext) PusherNew() *MainContextPusher { | |||
| 499 | - | core.LazyRegister(&xMainContextPusherNew, "GLIB", "g_main_context_pusher_new", false) | |||
| 500 | - | ||||
| 501 | - | cret := xMainContextPusherNew(x.GoPointer()) | |||
| 502 | - | return cret | |||
| 503 | - | } | |||
| 504 | - | ||||
| 505 | - | var xMainContextQuery func(uintptr, int, *int, *[]PollFD, int) int | |||
| 506 | - | ||||
| 507 | - | // Determines information necessary to poll this main loop. | |||
| 508 | - | // | |||
| 509 | - | // You should | |||
| 510 | - | // be careful to pass the resulting @fds array and its length @n_fds | |||
| 511 | - | // as-is when calling [method@GLib.MainContext.check], as this function relies | |||
| 512 | - | // on assumptions made when the array is filled. | |||
| 513 | - | // | |||
| 514 | - | // You must have successfully acquired the context with | |||
| 515 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |||
| 516 | - | func (x *MainContext) Query(MaxPriorityVar int, TimeoutVar *int, FdsVar *[]PollFD, NFdsVar int) int { | |||
| 517 | - | core.LazyRegister(&xMainContextQuery, "GLIB", "g_main_context_query", false) | |||
| 518 | - | ||||
| 519 | - | cret := xMainContextQuery(x.GoPointer(), MaxPriorityVar, TimeoutVar, FdsVar, NFdsVar) | |||
| 520 | - | return cret | |||
| 521 | - | } | |||
| 522 | - | ||||
| 523 | - | var xMainContextRef func(uintptr) uintptr | |||
| 524 | - | ||||
| 525 | - | // Increases the reference count on a [struct@GLib.MainContext] object by one. | |||
| 526 | - | func (x *MainContext) Ref() *MainContext { | |||
| 527 | - | core.LazyRegister(&xMainContextRef, "GLIB", "g_main_context_ref", false) | |||
| 528 | - | ||||
| 529 | - | cret := xMainContextRef(x.GoPointer()) | |||
| 530 | - | if cret == 0 { | |||
| 531 | - | return nil | |||
| 532 | - | } | |||
| 533 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 534 | - | } | |||
| 535 | - | ||||
| 536 | - | var xMainContextRelease func(uintptr) | |||
| 537 | - | ||||
| 538 | - | // Releases ownership of a context previously acquired by this thread | |||
| 539 | - | // with [method@GLib.MainContext.acquire]. | |||
| 540 | - | // | |||
| 541 | - | // If the context was acquired multiple | |||
| 542 | - | // times, the ownership will be released only when [method@GLib.MainContext.release] | |||
| 543 | - | // is called as many times as it was acquired. | |||
| 544 | - | // | |||
| 545 | - | // You must have successfully acquired the context with | |||
| 546 | - | // [method@GLib.MainContext.acquire] before you may call this function. | |||
| 547 | - | func (x *MainContext) Release() { | |||
| 548 | - | core.LazyRegister(&xMainContextRelease, "GLIB", "g_main_context_release", false) | |||
| 549 | - | ||||
| 550 | - | xMainContextRelease(x.GoPointer()) | |||
| 551 | - | } | |||
| 552 | - | ||||
| 553 | - | var xMainContextRemovePoll func(uintptr, *PollFD) | |||
| 554 | - | ||||
| 555 | - | // Removes file descriptor from the set of file descriptors to be | |||
| 556 | - | // polled for a particular context. | |||
| 557 | - | func (x *MainContext) RemovePoll(FdVar *PollFD) { | |||
| 558 | - | core.LazyRegister(&xMainContextRemovePoll, "GLIB", "g_main_context_remove_poll", false) | |||
| 559 | - | ||||
| 560 | - | xMainContextRemovePoll(x.GoPointer(), FdVar) | |||
| 561 | - | } | |||
| 562 | - | ||||
| 563 | - | var xMainContextSetPollFunc func(uintptr, uintptr) | |||
| 564 | - | ||||
| 565 | - | // Sets the function to use to handle polling of file descriptors. | |||
| 566 | - | // | |||
| 567 | - | // It will be used instead of the [`poll()`](man:poll(2)) system call | |||
| 568 | - | // (or GLib’s replacement function, which is used where | |||
| 569 | - | // `poll()` isn’t available). | |||
| 570 | - | // | |||
| 571 | - | // This function could possibly be used to integrate the GLib event | |||
| 572 | - | // loop with an external event loop. | |||
| 573 | - | func (x *MainContext) SetPollFunc(FuncVar *PollFunc) { | |||
| 574 | - | core.LazyRegister(&xMainContextSetPollFunc, "GLIB", "g_main_context_set_poll_func", false) | |||
| 575 | - | ||||
| 576 | - | xMainContextSetPollFunc(x.GoPointer(), NewCallback(FuncVar)) | |||
| 577 | - | } | |||
| 578 | - | ||||
| 579 | - | var xMainContextUnref func(uintptr) | |||
| 580 | - | ||||
| 581 | - | // Decreases the reference count on a [struct@GLib.MainContext] object by one. | |||
| 582 | - | // If | |||
| 583 | - | // the result is zero, free the context and free all associated memory. | |||
| 584 | - | func (x *MainContext) Unref() { | |||
| 585 | - | core.LazyRegister(&xMainContextUnref, "GLIB", "g_main_context_unref", false) | |||
| 586 | - | ||||
| 587 | - | xMainContextUnref(x.GoPointer()) | |||
| 588 | - | } | |||
| 589 | - | ||||
| 590 | - | var xMainContextWait func(uintptr, *Cond, *Mutex) bool | |||
| 591 | - | ||||
| 592 | - | // Tries to become the owner of the specified context, and waits on @cond if | |||
| 593 | - | // another thread is the owner. | |||
| 594 | - | // | |||
| 595 | - | // This is the same as [method@GLib.MainContext.acquire], but if another thread | |||
| 596 | - | // is the owner, atomically drop @mutex and wait on @cond until | |||
| 597 | - | // that owner releases ownership or until @cond is signaled, then | |||
| 598 | - | // try again (once) to become the owner. | |||
| 599 | - | func (x *MainContext) Wait(CondVar *Cond, MutexVar *Mutex) bool { | |||
| 600 | - | core.LazyRegister(&xMainContextWait, "GLIB", "g_main_context_wait", false) | |||
| 601 | - | ||||
| 602 | - | cret := xMainContextWait(x.GoPointer(), CondVar, MutexVar) | |||
| 603 | - | return cret | |||
| 604 | - | } | |||
| 605 | - | ||||
| 606 | - | var xMainContextWakeup func(uintptr) | |||
| 607 | - | ||||
| 608 | - | // Wake up @context if it’s currently blocking in | |||
| 609 | - | // [method@GLib.MainContext.iteration], causing it to stop blocking. | |||
| 610 | - | // | |||
| 611 | - | // The @context could be blocking waiting for a source to become ready. | |||
| 612 | - | // Otherwise, if @context is not currently blocking, this function causes the | |||
| 613 | - | // next invocation of [method@GLib.MainContext.iteration] to return without | |||
| 614 | - | // blocking. | |||
| 615 | - | // | |||
| 616 | - | // This API is useful for low-level control over [struct@GLib.MainContext]; for | |||
| 617 | - | // example, integrating it with main loop implementations such as | |||
| 618 | - | // [struct@GLib.MainLoop]. | |||
| 619 | - | // | |||
| 620 | - | // Another related use for this function is when implementing a main | |||
| 621 | - | // loop with a termination condition, computed from multiple threads: | |||
| 622 | - | // | |||
| 623 | - | // ```c | |||
| 624 | - | // | |||
| 625 | - | // #define NUM_TASKS 10 | |||
| 626 | - | // static gint tasks_remaining = NUM_TASKS; // (atomic) | |||
| 627 | - | // ... | |||
| 628 | - | // | |||
| 629 | - | // while (g_atomic_int_get (&tasks_remaining) != 0) | |||
| 630 | - | // g_main_context_iteration (NULL, TRUE); | |||
| 631 | - | // | |||
| 632 | - | // ``` | |||
| 633 | - | // | |||
| 634 | - | // Then in a thread: | |||
| 635 | - | // ```c | |||
| 636 | - | // | |||
| 637 | - | // perform_work (); | |||
| 638 | - | // | |||
| 639 | - | // if (g_atomic_int_dec_and_test (&tasks_remaining)) | |||
| 640 | - | // g_main_context_wakeup (NULL); | |||
| 641 | - | // | |||
| 642 | - | // ``` | |||
| 643 | - | func (x *MainContext) Wakeup() { | |||
| 644 | - | core.LazyRegister(&xMainContextWakeup, "GLIB", "g_main_context_wakeup", false) | |||
| 645 | - | ||||
| 646 | - | xMainContextWakeup(x.GoPointer()) | |||
| 647 | - | } | |||
| 648 | - | ||||
| 649 | - | // The `GMainLoop` struct is an opaque data type | |||
| 650 | - | // representing the main event loop of a GLib or GTK application. | |||
| 651 | - | type MainLoop struct { | |||
| 652 | - | _ structs.HostLayout | |||
| 653 | - | } | |||
| 654 | - | ||||
| 655 | - | var xMainLoopGLibType func() types.GType | |||
| 656 | - | ||||
| 657 | - | func MainLoopGLibType() types.GType { | |||
| 658 | - | core.LazyRegister(&xMainLoopGLibType, "GLIB", "g_main_loop_get_type", false) | |||
| 659 | - | return xMainLoopGLibType() | |||
| 660 | - | } | |||
| 661 | - | ||||
| 662 | - | func (x *MainLoop) GoPointer() uintptr { | |||
| 663 | - | return uintptr(unsafe.Pointer(x)) | |||
| 664 | - | } | |||
| 665 | - | ||||
| 666 | - | func MainLoopNewFromInternalPtr(ptr uintptr) *MainLoop { | |||
| 667 | - | if ptr == 0 { | |||
| 668 | - | return nil | |||
| 669 | - | } | |||
| 670 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 671 | - | return (*MainLoop)(rawPtr) | |||
| 672 | - | } | |||
| 673 | - | ||||
| 674 | - | var xNewMainLoop func(*MainContext, bool) uintptr | |||
| 675 | - | ||||
| 676 | - | // Creates a new [struct@GLib.MainLoop] structure. | |||
| 677 | - | func NewMainLoop(ContextVar *MainContext, IsRunningVar bool) *MainLoop { | |||
| 678 | - | core.LazyRegister(&xNewMainLoop, "GLIB", "g_main_loop_new", false) | |||
| 679 | - | ||||
| 680 | - | cret := xNewMainLoop(ContextVar, IsRunningVar) | |||
| 681 | - | if cret == 0 { | |||
| 682 | - | return nil | |||
| 683 | - | } | |||
| 684 | - | return (*MainLoop)(unsafe.Pointer(cret)) | |||
| 685 | - | } | |||
| 686 | - | ||||
| 687 | - | var xMainLoopGetContext func(uintptr) uintptr | |||
| 688 | - | ||||
| 689 | - | // Returns the [struct@GLib.MainContext] of @loop. | |||
| 690 | - | func (x *MainLoop) GetContext() *MainContext { | |||
| 691 | - | core.LazyRegister(&xMainLoopGetContext, "GLIB", "g_main_loop_get_context", false) | |||
| 692 | - | ||||
| 693 | - | cret := xMainLoopGetContext(x.GoPointer()) | |||
| 694 | - | if cret == 0 { | |||
| 695 | - | return nil | |||
| 696 | - | } | |||
| 697 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 698 | - | } | |||
| 699 | - | ||||
| 700 | - | var xMainLoopIsRunning func(uintptr) bool | |||
| 701 | - | ||||
| 702 | - | // Checks to see if the main loop is currently being run via | |||
| 703 | - | // [method@GLib.MainLoop.run]. | |||
| 704 | - | func (x *MainLoop) IsRunning() bool { | |||
| 705 | - | core.LazyRegister(&xMainLoopIsRunning, "GLIB", "g_main_loop_is_running", false) | |||
| 706 | - | ||||
| 707 | - | cret := xMainLoopIsRunning(x.GoPointer()) | |||
| 708 | - | return cret | |||
| 709 | - | } | |||
| 710 | - | ||||
| 711 | - | var xMainLoopQuit func(uintptr) | |||
| 712 | - | ||||
| 713 | - | // Stops a [struct@GLib.MainLoop] from running. Any calls to | |||
| 714 | - | // [method@GLib.MainLoop.run] for the loop will return. | |||
| 715 | - | // | |||
| 716 | - | // Note that sources that have already been dispatched when | |||
| 717 | - | // [method@GLib.MainLoop.quit] is called will still be executed. | |||
| 718 | - | func (x *MainLoop) Quit() { | |||
| 719 | - | core.LazyRegister(&xMainLoopQuit, "GLIB", "g_main_loop_quit", false) | |||
| 720 | - | ||||
| 721 | - | xMainLoopQuit(x.GoPointer()) | |||
| 722 | - | } | |||
| 723 | - | ||||
| 724 | - | var xMainLoopRef func(uintptr) uintptr | |||
| 725 | - | ||||
| 726 | - | // Increases the reference count on a [struct@GLib.MainLoop] object by one. | |||
| 727 | - | func (x *MainLoop) Ref() *MainLoop { | |||
| 728 | - | core.LazyRegister(&xMainLoopRef, "GLIB", "g_main_loop_ref", false) | |||
| 729 | - | ||||
| 730 | - | cret := xMainLoopRef(x.GoPointer()) | |||
| 731 | - | if cret == 0 { | |||
| 732 | - | return nil | |||
| 733 | - | } | |||
| 734 | - | return (*MainLoop)(unsafe.Pointer(cret)) | |||
| 735 | - | } | |||
| 736 | - | ||||
| 737 | - | var xMainLoopRun func(uintptr) | |||
| 738 | - | ||||
| 739 | - | // Runs a main loop until [method@GLib.MainLoop.quit] is called on the loop. | |||
| 740 | - | // | |||
| 741 | - | // If this is called from the thread of the loop’s [struct@GLib.MainContext], | |||
| 742 | - | // it will process events from the loop, otherwise it will | |||
| 743 | - | // simply wait. | |||
| 744 | - | func (x *MainLoop) Run() { | |||
| 745 | - | core.LazyRegister(&xMainLoopRun, "GLIB", "g_main_loop_run", false) | |||
| 746 | - | ||||
| 747 | - | xMainLoopRun(x.GoPointer()) | |||
| 748 | - | } | |||
| 749 | - | ||||
| 750 | - | var xMainLoopUnref func(uintptr) | |||
| 751 | - | ||||
| 752 | - | // Decreases the reference count on a [struct@GLib.MainLoop] object by one. | |||
| 753 | - | // | |||
| 754 | - | // If the result is zero, the loop and all associated memory are freed. | |||
| 755 | - | func (x *MainLoop) Unref() { | |||
| 756 | - | core.LazyRegister(&xMainLoopUnref, "GLIB", "g_main_loop_unref", false) | |||
| 757 | - | ||||
| 758 | - | xMainLoopUnref(x.GoPointer()) | |||
| 759 | - | } | |||
| 760 | - | ||||
| 761 | - | // The `GSource` struct is an opaque data type | |||
| 762 | - | // representing an event source. | |||
| 763 | - | type Source struct { | |||
| 764 | - | _ structs.HostLayout | |||
| 765 | - | ||||
| 766 | - | CallbackData uintptr | |||
| 767 | - | ||||
| 768 | - | CallbackFuncs *SourceCallbackFuncs | |||
| 769 | - | ||||
| 770 | - | SourceFuncs *SourceFuncs | |||
| 771 | - | ||||
| 772 | - | RefCount uint | |||
| 773 | - | ||||
| 774 | - | Context *MainContext | |||
| 775 | - | ||||
| 776 | - | Priority int32 | |||
| 777 | - | ||||
| 778 | - | Flags uint | |||
| 779 | - | ||||
| 780 | - | SourceId uint | |||
| 781 | - | ||||
| 782 | - | PollFds *SList | |||
| 783 | - | ||||
| 784 | - | Prev *Source | |||
| 785 | - | ||||
| 786 | - | Next *Source | |||
| 787 | - | ||||
| 788 | - | Name uintptr | |||
| 789 | - | ||||
| 790 | - | Priv *SourcePrivate | |||
| 791 | - | } | |||
| 792 | - | ||||
| 793 | - | var xSourceGLibType func() types.GType | |||
| 794 | - | ||||
| 795 | - | func SourceGLibType() types.GType { | |||
| 796 | - | core.LazyRegister(&xSourceGLibType, "GLIB", "g_source_get_type", false) | |||
| 797 | - | return xSourceGLibType() | |||
| 798 | - | } | |||
| 799 | - | ||||
| 800 | - | func (x *Source) GoPointer() uintptr { | |||
| 801 | - | return uintptr(unsafe.Pointer(x)) | |||
| 802 | - | } | |||
| 803 | - | ||||
| 804 | - | func SourceNewFromInternalPtr(ptr uintptr) *Source { | |||
| 805 | - | if ptr == 0 { | |||
| 806 | - | return nil | |||
| 807 | - | } | |||
| 808 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 809 | - | return (*Source)(rawPtr) | |||
| 810 | - | } | |||
| 811 | - | ||||
| 812 | - | var xNewSource func(*SourceFuncs, uint) uintptr | |||
| 813 | - | ||||
| 814 | - | // Creates a new [struct@GLib.Source] structure. | |||
| 815 | - | // | |||
| 816 | - | // The size is specified to | |||
| 817 | - | // allow creating structures derived from [struct@GLib.Source] that contain | |||
| 818 | - | // additional data. The size passed in must be at least | |||
| 819 | - | // `sizeof (GSource)`. | |||
| 820 | - | // | |||
| 821 | - | // The source will not initially be associated with any [struct@GLib.MainContext] | |||
| 822 | - | // and must be added to one with [method@GLib.Source.attach] before it will be | |||
| 823 | - | // executed. | |||
| 824 | - | func NewSource(SourceFuncsVar *SourceFuncs, StructSizeVar uint) *Source { | |||
| 825 | - | core.LazyRegister(&xNewSource, "GLIB", "g_source_new", false) | |||
| 826 | - | ||||
| 827 | - | cret := xNewSource(SourceFuncsVar, StructSizeVar) | |||
| 828 | - | if cret == 0 { | |||
| 829 | - | return nil | |||
| 830 | - | } | |||
| 831 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 832 | - | } | |||
| 833 | - | ||||
| 834 | - | var xSourceAddChildSource func(uintptr, *Source) | |||
| 835 | - | ||||
| 836 | - | // Adds @child_source to @source as a ‘polled’ source. | |||
| 837 | - | // | |||
| 838 | - | // When @source is added to a [struct@GLib.MainContext], @child_source will be | |||
| 839 | - | // automatically added with the same priority. When @child_source is triggered, | |||
| 840 | - | // it will cause @source to dispatch (in addition to calling its own callback), | |||
| 841 | - | // and when @source is destroyed, it will destroy @child_source as well. | |||
| 842 | - | // | |||
| 843 | - | // The @source will also still be dispatched if its own prepare/check functions | |||
| 844 | - | // indicate that it is ready. | |||
| 845 | - | // | |||
| 846 | - | // If you don’t need @child_source to do anything on its own when it | |||
| 847 | - | // triggers, you can call `g_source_set_dummy_callback()` on it to set a | |||
| 848 | - | // callback that does nothing (except return true if appropriate). | |||
| 849 | - | // | |||
| 850 | - | // The @source will hold a reference on @child_source while @child_source | |||
| 851 | - | // is attached to it. | |||
| 852 | - | // | |||
| 853 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 854 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 855 | - | func (x *Source) AddChildSource(ChildSourceVar *Source) { | |||
| 856 | - | core.LazyRegister(&xSourceAddChildSource, "GLIB", "g_source_add_child_source", false) | |||
| 857 | - | ||||
| 858 | - | xSourceAddChildSource(x.GoPointer(), ChildSourceVar) | |||
| 859 | - | } | |||
| 860 | - | ||||
| 861 | - | var xSourceAddPoll func(uintptr, *PollFD) | |||
| 862 | - | ||||
| 863 | - | // Adds a file descriptor to the set of file descriptors polled for | |||
| 864 | - | // this source. | |||
| 865 | - | // | |||
| 866 | - | // This is usually combined with [ctor@GLib.Source.new] to add an | |||
| 867 | - | // event source. The event source’s check function will typically test | |||
| 868 | - | // the @revents field in the [struct@GLib.PollFD] struct and return true if | |||
| 869 | - | // events need to be processed. | |||
| 870 | - | // | |||
| 871 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 872 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 873 | - | // | |||
| 874 | - | // Using this API forces the linear scanning of event sources on each | |||
| 875 | - | // main loop iteration. Newly-written event sources should try to use | |||
| 876 | - | // `g_source_add_unix_fd()` instead of this API. | |||
| 877 | - | func (x *Source) AddPoll(FdVar *PollFD) { | |||
| 878 | - | core.LazyRegister(&xSourceAddPoll, "GLIB", "g_source_add_poll", false) | |||
| 879 | - | ||||
| 880 | - | xSourceAddPoll(x.GoPointer(), FdVar) | |||
| 881 | - | } | |||
| 882 | - | ||||
| 883 | - | var xSourceAddUnixFd func(uintptr, int, IOCondition) uintptr | |||
| 884 | - | ||||
| 885 | - | // Monitors @fd for the IO events in @events. | |||
| 886 | - | // | |||
| 887 | - | // The tag returned by this function can be used to remove or modify the | |||
| 888 | - | // monitoring of the @fd using [method@GLib.Source.remove_unix_fd] or | |||
| 889 | - | // [method@GLib.Source.modify_unix_fd]. | |||
| 890 | - | // | |||
| 891 | - | // It is not necessary to remove the file descriptor before destroying the | |||
| 892 | - | // source; it will be cleaned up automatically. | |||
| 893 | - | // | |||
| 894 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 895 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 896 | - | // | |||
| 897 | - | // As the name suggests, this function is not available on Windows. | |||
| 898 | - | func (x *Source) AddUnixFd(FdVar int, EventsVar IOCondition) uintptr { | |||
| 899 | - | core.LazyRegister(&xSourceAddUnixFd, "GLIB", "g_source_add_unix_fd", false) | |||
| 900 | - | ||||
| 901 | - | cret := xSourceAddUnixFd(x.GoPointer(), FdVar, EventsVar) | |||
| 902 | - | return cret | |||
| 903 | - | } | |||
| 904 | - | ||||
| 905 | - | var xSourceAttach func(uintptr, *MainContext) uint | |||
| 906 | - | ||||
| 907 | - | // Adds a [struct@GLib.Source] to a @context so that it will be executed within | |||
| 908 | - | // that context. | |||
| 909 | - | // | |||
| 910 | - | // Remove it by calling [method@GLib.Source.destroy]. | |||
| 911 | - | // | |||
| 912 | - | // This function is safe to call from any thread, regardless of which thread | |||
| 913 | - | // the @context is running in. | |||
| 914 | - | func (x *Source) Attach(ContextVar *MainContext) uint { | |||
| 915 | - | core.LazyRegister(&xSourceAttach, "GLIB", "g_source_attach", false) | |||
| 916 | - | ||||
| 917 | - | cret := xSourceAttach(x.GoPointer(), ContextVar) | |||
| 918 | - | return cret | |||
| 919 | - | } | |||
| 920 | - | ||||
| 921 | - | var xSourceDestroy func(uintptr) | |||
| 922 | - | ||||
| 923 | - | // Removes a source from its [struct@GLib.MainContext], if any, and marks it as | |||
| 924 | - | // destroyed. | |||
| 925 | - | // | |||
| 926 | - | // The source cannot be subsequently added to another | |||
| 927 | - | // context. It is safe to call this on sources which have already been | |||
| 928 | - | // removed from their context. | |||
| 929 | - | // | |||
| 930 | - | // This does not unref the [struct@GLib.Source]: if you still hold a reference, | |||
| 931 | - | // use [method@GLib.Source.unref] to drop it. | |||
| 932 | - | // | |||
| 933 | - | // This function is safe to call from any thread, regardless of which thread | |||
| 934 | - | // the [struct@GLib.MainContext] is running in. | |||
| 935 | - | // | |||
| 936 | - | // If the source is currently attached to a [struct@GLib.MainContext], | |||
| 937 | - | // destroying it will effectively unset the callback similar to calling | |||
| 938 | - | // [method@GLib.Source.set_callback]. This can mean, that the data’s | |||
| 939 | - | // [callback@GLib.DestroyNotify] gets called right away. | |||
| 940 | - | func (x *Source) Destroy() { | |||
| 941 | - | core.LazyRegister(&xSourceDestroy, "GLIB", "g_source_destroy", false) | |||
| 942 | - | ||||
| 943 | - | xSourceDestroy(x.GoPointer()) | |||
| 944 | - | } | |||
| 945 | - | ||||
| 946 | - | var xSourceDupContext func(uintptr) uintptr | |||
| 947 | - | ||||
| 948 | - | // Gets a reference to the [struct@GLib.MainContext] with which the source is | |||
| 949 | - | // associated. | |||
| 950 | - | // | |||
| 951 | - | // You can call this on a source that has been destroyed. You can | |||
| 952 | - | // always call this function on the source returned from | |||
| 953 | - | // [func@GLib.main_current_source]. | |||
| 954 | - | func (x *Source) DupContext() *MainContext { | |||
| 955 | - | core.LazyRegister(&xSourceDupContext, "GLIB", "g_source_dup_context", false) | |||
| 956 | - | ||||
| 957 | - | cret := xSourceDupContext(x.GoPointer()) | |||
| 958 | - | if cret == 0 { | |||
| 959 | - | return nil | |||
| 960 | - | } | |||
| 961 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 962 | - | } | |||
| 963 | - | ||||
| 964 | - | var xSourceGetCanRecurse func(uintptr) bool | |||
| 965 | - | ||||
| 966 | - | // Checks whether a source is allowed to be called recursively. | |||
| 967 | - | // | |||
| 968 | - | // See [method@GLib.Source.set_can_recurse]. | |||
| 969 | - | func (x *Source) GetCanRecurse() bool { | |||
| 970 | - | core.LazyRegister(&xSourceGetCanRecurse, "GLIB", "g_source_get_can_recurse", false) | |||
| 971 | - | ||||
| 972 | - | cret := xSourceGetCanRecurse(x.GoPointer()) | |||
| 973 | - | return cret | |||
| 974 | - | } | |||
| 975 | - | ||||
| 976 | - | var xSourceGetContext func(uintptr) uintptr | |||
| 977 | - | ||||
| 978 | - | // Gets the [struct@GLib.MainContext] with which the source is associated. | |||
| 979 | - | // | |||
| 980 | - | // You can call this on a source that has been destroyed, provided | |||
| 981 | - | // that the [struct@GLib.MainContext] it was attached to still exists (in which | |||
| 982 | - | // case it will return that [struct@GLib.MainContext]). In particular, you can | |||
| 983 | - | // always call this function on the source returned from | |||
| 984 | - | // [func@GLib.main_current_source]. But calling this function on a source | |||
| 985 | - | // whose [struct@GLib.MainContext] has been destroyed is an error. | |||
| 986 | - | // | |||
| 987 | - | // If the associated [struct@GLib.MainContext] could be destroy concurrently from | |||
| 988 | - | // a different thread, then this function is not safe to call and | |||
| 989 | - | // [method@GLib.Source.dup_context] should be used instead. | |||
| 990 | - | func (x *Source) GetContext() *MainContext { | |||
| 991 | - | core.LazyRegister(&xSourceGetContext, "GLIB", "g_source_get_context", false) | |||
| 992 | - | ||||
| 993 | - | cret := xSourceGetContext(x.GoPointer()) | |||
| 994 | - | if cret == 0 { | |||
| 995 | - | return nil | |||
| 996 | - | } | |||
| 997 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 998 | - | } | |||
| 999 | - | ||||
| 1000 | - | var xSourceGetCurrentTime func(uintptr, *TimeVal) | |||
| 1001 | - | ||||
| 1002 | - | // This function ignores @source and is otherwise the same as | |||
| 1003 | - | // [func@GLib.get_current_time]. | |||
| 1004 | - | func (x *Source) GetCurrentTime(TimevalVar *TimeVal) { | |||
| 1005 | - | core.LazyRegister(&xSourceGetCurrentTime, "GLIB", "g_source_get_current_time", false) | |||
| 1006 | - | ||||
| 1007 | - | xSourceGetCurrentTime(x.GoPointer(), TimevalVar) | |||
| 1008 | - | } | |||
| 1009 | - | ||||
| 1010 | - | var xSourceGetId func(uintptr) uint | |||
| 1011 | - | ||||
| 1012 | - | // Returns the numeric ID for a particular source. | |||
| 1013 | - | // | |||
| 1014 | - | // The ID of a source | |||
| 1015 | - | // is a positive integer which is unique within a particular main loop | |||
| 1016 | - | // context. The reverse mapping from ID to source is done by | |||
| 1017 | - | // [method@GLib.MainContext.find_source_by_id]. | |||
| 1018 | - | // | |||
| 1019 | - | // You can only call this function while the source is associated to a | |||
| 1020 | - | // [struct@GLib.MainContext] instance; calling this function before | |||
| 1021 | - | // [method@GLib.Source.attach] or after [method@GLib.Source.destroy] yields | |||
| 1022 | - | // undefined behavior. The ID returned is unique within the | |||
| 1023 | - | // [struct@GLib.MainContext] instance passed to [method@GLib.Source.attach]. | |||
| 1024 | - | func (x *Source) GetId() uint { | |||
| 1025 | - | core.LazyRegister(&xSourceGetId, "GLIB", "g_source_get_id", false) | |||
| 1026 | - | ||||
| 1027 | - | cret := xSourceGetId(x.GoPointer()) | |||
| 1028 | - | return cret | |||
| 1029 | - | } | |||
| 1030 | - | ||||
| 1031 | - | var xSourceGetName func(uintptr) string | |||
| 1032 | - | ||||
| 1033 | - | // Gets a name for the source, used in debugging and profiling. | |||
| 1034 | - | // | |||
| 1035 | - | // The | |||
| 1036 | - | // name may be `NULL` if it has never been set with [method@GLib.Source.set_name]. | |||
| 1037 | - | func (x *Source) GetName() string { | |||
| 1038 | - | core.LazyRegister(&xSourceGetName, "GLIB", "g_source_get_name", false) | |||
| 1039 | - | ||||
| 1040 | - | cret := xSourceGetName(x.GoPointer()) | |||
| 1041 | - | return cret | |||
| 1042 | - | } | |||
| 1043 | - | ||||
| 1044 | - | var xSourceGetPriority func(uintptr) int | |||
| 1045 | - | ||||
| 1046 | - | // Gets the priority of a source. | |||
| 1047 | - | func (x *Source) GetPriority() int { | |||
| 1048 | - | core.LazyRegister(&xSourceGetPriority, "GLIB", "g_source_get_priority", false) | |||
| 1049 | - | ||||
| 1050 | - | cret := xSourceGetPriority(x.GoPointer()) | |||
| 1051 | - | return cret | |||
| 1052 | - | } | |||
| 1053 | - | ||||
| 1054 | - | var xSourceGetReadyTime func(uintptr) int64 | |||
| 1055 | - | ||||
| 1056 | - | // Gets the ‘ready time’ of @source, as set by | |||
| 1057 | - | // [method@GLib.Source.set_ready_time]. | |||
| 1058 | - | // | |||
| 1059 | - | // Any time before or equal to the current monotonic time (including zero) | |||
| 1060 | - | // is an indication that the source will fire immediately. | |||
| 1061 | - | func (x *Source) GetReadyTime() int64 { | |||
| 1062 | - | core.LazyRegister(&xSourceGetReadyTime, "GLIB", "g_source_get_ready_time", false) | |||
| 1063 | - | ||||
| 1064 | - | cret := xSourceGetReadyTime(x.GoPointer()) | |||
| 1065 | - | return cret | |||
| 1066 | - | } | |||
| 1067 | - | ||||
| 1068 | - | var xSourceGetTime func(uintptr) int64 | |||
| 1069 | - | ||||
| 1070 | - | // Gets the time to be used when checking this source. | |||
| 1071 | - | // | |||
| 1072 | - | // The advantage of | |||
| 1073 | - | // calling this function over calling [func@GLib.get_monotonic_time] directly is | |||
| 1074 | - | // that when checking multiple sources, GLib can cache a single value | |||
| 1075 | - | // instead of having to repeatedly get the system monotonic time. | |||
| 1076 | - | // | |||
| 1077 | - | // The time here is the system monotonic time, if available, or some | |||
| 1078 | - | // other reasonable alternative otherwise. See [func@GLib.get_monotonic_time]. | |||
| 1079 | - | func (x *Source) GetTime() int64 { | |||
| 1080 | - | core.LazyRegister(&xSourceGetTime, "GLIB", "g_source_get_time", false) | |||
| 1081 | - | ||||
| 1082 | - | cret := xSourceGetTime(x.GoPointer()) | |||
| 1083 | - | return cret | |||
| 1084 | - | } | |||
| 1085 | - | ||||
| 1086 | - | var xSourceIsDestroyed func(uintptr) bool | |||
| 1087 | - | ||||
| 1088 | - | // Returns whether @source has been destroyed. | |||
| 1089 | - | // | |||
| 1090 | - | // This is important when you operate upon your objects | |||
| 1091 | - | // from within idle handlers, but may have freed the object | |||
| 1092 | - | // before the dispatch of your idle handler. | |||
| 1093 | - | // | |||
| 1094 | - | // ```c | |||
| 1095 | - | // static gboolean | |||
| 1096 | - | // idle_callback (gpointer data) | |||
| 1097 | - | // | |||
| 1098 | - | // { | |||
| 1099 | - | // SomeWidget *self = data; | |||
| 1100 | - | // | |||
| 1101 | - | // g_mutex_lock (&self->idle_id_mutex); | |||
| 1102 | - | // // do stuff with self | |||
| 1103 | - | // self->idle_id = 0; | |||
| 1104 | - | // g_mutex_unlock (&self->idle_id_mutex); | |||
| 1105 | - | // | |||
| 1106 | - | // return G_SOURCE_REMOVE; | |||
| 1107 | - | // } | |||
| 1108 | - | // | |||
| 1109 | - | // static void | |||
| 1110 | - | // some_widget_do_stuff_later (SomeWidget *self) | |||
| 1111 | - | // | |||
| 1112 | - | // { | |||
| 1113 | - | // g_mutex_lock (&self->idle_id_mutex); | |||
| 1114 | - | // self->idle_id = g_idle_add (idle_callback, self); | |||
| 1115 | - | // g_mutex_unlock (&self->idle_id_mutex); | |||
| 1116 | - | // } | |||
| 1117 | - | // | |||
| 1118 | - | // static void | |||
| 1119 | - | // some_widget_init (SomeWidget *self) | |||
| 1120 | - | // | |||
| 1121 | - | // { | |||
| 1122 | - | // g_mutex_init (&self->idle_id_mutex); | |||
| 1123 | - | // | |||
| 1124 | - | // // ... | |||
| 1125 | - | // } | |||
| 1126 | - | // | |||
| 1127 | - | // static void | |||
| 1128 | - | // some_widget_finalize (GObject *object) | |||
| 1129 | - | // | |||
| 1130 | - | // { | |||
| 1131 | - | // SomeWidget *self = SOME_WIDGET (object); | |||
| 1132 | - | // | |||
| 1133 | - | // if (self->idle_id) | |||
| 1134 | - | // g_source_remove (self->idle_id); | |||
| 1135 | - | // | |||
| 1136 | - | // g_mutex_clear (&self->idle_id_mutex); | |||
| 1137 | - | // | |||
| 1138 | - | // G_OBJECT_CLASS (parent_class)->finalize (object); | |||
| 1139 | - | // } | |||
| 1140 | - | // | |||
| 1141 | - | // ``` | |||
| 1142 | - | // | |||
| 1143 | - | // This will fail in a multi-threaded application if the | |||
| 1144 | - | // widget is destroyed before the idle handler fires due | |||
| 1145 | - | // to the use after free in the callback. A solution, to | |||
| 1146 | - | // this particular problem, is to check to if the source | |||
| 1147 | - | // has already been destroy within the callback. | |||
| 1148 | - | // | |||
| 1149 | - | // ```c | |||
| 1150 | - | // static gboolean | |||
| 1151 | - | // idle_callback (gpointer data) | |||
| 1152 | - | // | |||
| 1153 | - | // { | |||
| 1154 | - | // SomeWidget *self = data; | |||
| 1155 | - | // | |||
| 1156 | - | // g_mutex_lock (&self->idle_id_mutex); | |||
| 1157 | - | // if (!g_source_is_destroyed (g_main_current_source ())) | |||
| 1158 | - | // { | |||
| 1159 | - | // // do stuff with self | |||
| 1160 | - | // } | |||
| 1161 | - | // g_mutex_unlock (&self->idle_id_mutex); | |||
| 1162 | - | // | |||
| 1163 | - | // return FALSE; | |||
| 1164 | - | // } | |||
| 1165 | - | // | |||
| 1166 | - | // ``` | |||
| 1167 | - | // | |||
| 1168 | - | // Calls to this function from a thread other than the one acquired by the | |||
| 1169 | - | // [struct@GLib.MainContext] the [struct@GLib.Source] is attached to are typically | |||
| 1170 | - | // redundant, as the source could be destroyed immediately after this function | |||
| 1171 | - | // returns. However, once a source is destroyed it cannot be un-destroyed, so | |||
| 1172 | - | // this function can be used for opportunistic checks from any thread. | |||
| 1173 | - | func (x *Source) IsDestroyed() bool { | |||
| 1174 | - | core.LazyRegister(&xSourceIsDestroyed, "GLIB", "g_source_is_destroyed", false) | |||
| 1175 | - | ||||
| 1176 | - | cret := xSourceIsDestroyed(x.GoPointer()) | |||
| 1177 | - | return cret | |||
| 1178 | - | } | |||
| 1179 | - | ||||
| 1180 | - | var xSourceModifyUnixFd func(uintptr, uintptr, IOCondition) | |||
| 1181 | - | ||||
| 1182 | - | // Updates the event mask to watch for the file descriptor identified by @tag. | |||
| 1183 | - | // | |||
| 1184 | - | // The @tag is the tag returned from [method@GLib.Source.add_unix_fd]. | |||
| 1185 | - | // | |||
| 1186 | - | // If you want to remove a file descriptor, don’t set its event mask to zero. | |||
| 1187 | - | // Instead, call [method@GLib.Source.remove_unix_fd]. | |||
| 1188 | - | // | |||
| 1189 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1190 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1191 | - | // | |||
| 1192 | - | // As the name suggests, this function is not available on Windows. | |||
| 1193 | - | func (x *Source) ModifyUnixFd(TagVar uintptr, NewEventsVar IOCondition) { | |||
| 1194 | - | core.LazyRegister(&xSourceModifyUnixFd, "GLIB", "g_source_modify_unix_fd", false) | |||
| 1195 | - | ||||
| 1196 | - | xSourceModifyUnixFd(x.GoPointer(), TagVar, NewEventsVar) | |||
| 1197 | - | } | |||
| 1198 | - | ||||
| 1199 | - | var xSourceQueryUnixFd func(uintptr, uintptr) IOCondition | |||
| 1200 | - | ||||
| 1201 | - | // Queries the events reported for the file descriptor corresponding to @tag | |||
| 1202 | - | // on @source during the last poll. | |||
| 1203 | - | // | |||
| 1204 | - | // The return value of this function is only defined when the function | |||
| 1205 | - | // is called from the check or dispatch functions for @source. | |||
| 1206 | - | // | |||
| 1207 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1208 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1209 | - | // | |||
| 1210 | - | // As the name suggests, this function is not available on Windows. | |||
| 1211 | - | func (x *Source) QueryUnixFd(TagVar uintptr) IOCondition { | |||
| 1212 | - | core.LazyRegister(&xSourceQueryUnixFd, "GLIB", "g_source_query_unix_fd", false) | |||
| 1213 | - | ||||
| 1214 | - | cret := xSourceQueryUnixFd(x.GoPointer(), TagVar) | |||
| 1215 | - | return cret | |||
| 1216 | - | } | |||
| 1217 | - | ||||
| 1218 | - | var xSourceRef func(uintptr) uintptr | |||
| 1219 | - | ||||
| 1220 | - | // Increases the reference count on a source by one. | |||
| 1221 | - | func (x *Source) Ref() *Source { | |||
| 1222 | - | core.LazyRegister(&xSourceRef, "GLIB", "g_source_ref", false) | |||
| 1223 | - | ||||
| 1224 | - | cret := xSourceRef(x.GoPointer()) | |||
| 1225 | - | if cret == 0 { | |||
| 1226 | - | return nil | |||
| 1227 | - | } | |||
| 1228 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 1229 | - | } | |||
| 1230 | - | ||||
| 1231 | - | var xSourceRemoveChildSource func(uintptr, *Source) | |||
| 1232 | - | ||||
| 1233 | - | // Detaches @child_source from @source and destroys it. | |||
| 1234 | - | // | |||
| 1235 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1236 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1237 | - | func (x *Source) RemoveChildSource(ChildSourceVar *Source) { | |||
| 1238 | - | core.LazyRegister(&xSourceRemoveChildSource, "GLIB", "g_source_remove_child_source", false) | |||
| 1239 | - | ||||
| 1240 | - | xSourceRemoveChildSource(x.GoPointer(), ChildSourceVar) | |||
| 1241 | - | } | |||
| 1242 | - | ||||
| 1243 | - | var xSourceRemovePoll func(uintptr, *PollFD) | |||
| 1244 | - | ||||
| 1245 | - | // Removes a file descriptor from the set of file descriptors polled for | |||
| 1246 | - | // this source. | |||
| 1247 | - | // | |||
| 1248 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1249 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1250 | - | func (x *Source) RemovePoll(FdVar *PollFD) { | |||
| 1251 | - | core.LazyRegister(&xSourceRemovePoll, "GLIB", "g_source_remove_poll", false) | |||
| 1252 | - | ||||
| 1253 | - | xSourceRemovePoll(x.GoPointer(), FdVar) | |||
| 1254 | - | } | |||
| 1255 | - | ||||
| 1256 | - | var xSourceRemoveUnixFd func(uintptr, uintptr) | |||
| 1257 | - | ||||
| 1258 | - | // Reverses the effect of a previous call to [method@GLib.Source.add_unix_fd]. | |||
| 1259 | - | // | |||
| 1260 | - | // You only need to call this if you want to remove a file descriptor from being | |||
| 1261 | - | // watched while keeping the same source around. In the normal case you | |||
| 1262 | - | // will just want to destroy the source. | |||
| 1263 | - | // | |||
| 1264 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1265 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1266 | - | // | |||
| 1267 | - | // As the name suggests, this function is not available on Windows. | |||
| 1268 | - | func (x *Source) RemoveUnixFd(TagVar uintptr) { | |||
| 1269 | - | core.LazyRegister(&xSourceRemoveUnixFd, "GLIB", "g_source_remove_unix_fd", false) | |||
| 1270 | - | ||||
| 1271 | - | xSourceRemoveUnixFd(x.GoPointer(), TagVar) | |||
| 1272 | - | } | |||
| 1273 | - | ||||
| 1274 | - | var xSourceSetCallback func(uintptr, uintptr, uintptr, uintptr) | |||
| 1275 | - | ||||
| 1276 | - | // Sets the callback function for a source. The callback for a source is | |||
| 1277 | - | // called from the source’s dispatch function. | |||
| 1278 | - | // | |||
| 1279 | - | // The exact type of @func depends on the type of source; ie. you | |||
| 1280 | - | // should not count on @func being called with @data as its first | |||
| 1281 | - | // parameter. Cast @func with [func@GLib.SOURCE_FUNC] to avoid warnings about | |||
| 1282 | - | // incompatible function types. | |||
| 1283 | - | // | |||
| 1284 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 1285 | - | // on how to handle memory management of @data. | |||
| 1286 | - | // | |||
| 1287 | - | // Typically, you won’t use this function. Instead use functions specific | |||
| 1288 | - | // to the type of source you are using, such as [func@GLib.idle_add] or | |||
| 1289 | - | // [func@GLib.timeout_add]. | |||
| 1290 | - | // | |||
| 1291 | - | // It is safe to call this function multiple times on a source which has already | |||
| 1292 | - | // been attached to a context. The changes will take effect for the next time | |||
| 1293 | - | // the source is dispatched after this call returns. | |||
| 1294 | - | // | |||
| 1295 | - | // Note that [method@GLib.Source.destroy] for a currently attached source has the effect | |||
| 1296 | - | // of also unsetting the callback. | |||
| 1297 | - | func (x *Source) SetCallback(FuncVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) { | |||
| 1298 | - | core.LazyRegister(&xSourceSetCallback, "GLIB", "g_source_set_callback", false) | |||
| 1299 | - | ||||
| 1300 | - | xSourceSetCallback(x.GoPointer(), NewCallback(FuncVar), DataVar, NewCallbackNullable(NotifyVar)) | |||
| 1301 | - | } | |||
| 1302 | - | ||||
| 1303 | - | var xSourceSetCallbackIndirect func(uintptr, uintptr, *SourceCallbackFuncs) | |||
| 1304 | - | ||||
| 1305 | - | // Sets the callback function storing the data as a reference counted callback | |||
| 1306 | - | // ‘object’. | |||
| 1307 | - | // | |||
| 1308 | - | // This is used internally. Note that calling | |||
| 1309 | - | // [method@GLib.Source.set_callback_indirect] assumes | |||
| 1310 | - | // an initial reference count on @callback_data, and thus | |||
| 1311 | - | // `callback_funcs->unref` will eventually be called once more than | |||
| 1312 | - | // `callback_funcs->ref`. | |||
| 1313 | - | // | |||
| 1314 | - | // It is safe to call this function multiple times on a source which has already | |||
| 1315 | - | // been attached to a context. The changes will take effect for the next time | |||
| 1316 | - | // the source is dispatched after this call returns. | |||
| 1317 | - | func (x *Source) SetCallbackIndirect(CallbackDataVar uintptr, CallbackFuncsVar *SourceCallbackFuncs) { | |||
| 1318 | - | core.LazyRegister(&xSourceSetCallbackIndirect, "GLIB", "g_source_set_callback_indirect", false) | |||
| 1319 | - | ||||
| 1320 | - | xSourceSetCallbackIndirect(x.GoPointer(), CallbackDataVar, CallbackFuncsVar) | |||
| 1321 | - | } | |||
| 1322 | - | ||||
| 1323 | - | var xSourceSetCanRecurse func(uintptr, bool) | |||
| 1324 | - | ||||
| 1325 | - | // Sets whether a source can be called recursively. | |||
| 1326 | - | // | |||
| 1327 | - | // If @can_recurse is true, then while the source is being dispatched then this | |||
| 1328 | - | // source will be processed normally. Otherwise, all processing of this | |||
| 1329 | - | // source is blocked until the dispatch function returns. | |||
| 1330 | - | func (x *Source) SetCanRecurse(CanRecurseVar bool) { | |||
| 1331 | - | core.LazyRegister(&xSourceSetCanRecurse, "GLIB", "g_source_set_can_recurse", false) | |||
| 1332 | - | ||||
| 1333 | - | xSourceSetCanRecurse(x.GoPointer(), CanRecurseVar) | |||
| 1334 | - | } | |||
| 1335 | - | ||||
| 1336 | - | var xSourceSetDisposeFunction func(uintptr, uintptr) | |||
| 1337 | - | ||||
| 1338 | - | // Set @dispose as dispose function on @source. | |||
| 1339 | - | // | |||
| 1340 | - | // The @dispose function will be called once the reference count of @source | |||
| 1341 | - | // reaches zero but before any of the state of the source is freed, especially | |||
| 1342 | - | // before the finalize function (set as part of the [type@GLib.SourceFuncs]) is | |||
| 1343 | - | // called. | |||
| 1344 | - | // | |||
| 1345 | - | // This means that at this point @source is still a valid [struct@GLib.Source] | |||
| 1346 | - | // and it is allow for the reference count to increase again until @dispose | |||
| 1347 | - | // returns. | |||
| 1348 | - | // | |||
| 1349 | - | // The dispose function can be used to clear any ‘weak’ references to | |||
| 1350 | - | // the @source in other data structures in a thread-safe way where it is | |||
| 1351 | - | // possible for another thread to increase the reference count of @source again | |||
| 1352 | - | // while it is being freed. | |||
| 1353 | - | // | |||
| 1354 | - | // The finalize function can not be used for this purpose as at that | |||
| 1355 | - | // point @source is already partially freed and not valid any more. | |||
| 1356 | - | // | |||
| 1357 | - | // This should only ever be called from [struct@GLib.Source] implementations. | |||
| 1358 | - | func (x *Source) SetDisposeFunction(DisposeVar *SourceDisposeFunc) { | |||
| 1359 | - | core.LazyRegister(&xSourceSetDisposeFunction, "GLIB", "g_source_set_dispose_function", false) | |||
| 1360 | - | ||||
| 1361 | - | xSourceSetDisposeFunction(x.GoPointer(), NewCallback(DisposeVar)) | |||
| 1362 | - | } | |||
| 1363 | - | ||||
| 1364 | - | var xSourceSetFuncs func(uintptr, *SourceFuncs) | |||
| 1365 | - | ||||
| 1366 | - | // Sets the source functions of an unattached source. | |||
| 1367 | - | // | |||
| 1368 | - | // These can be used to override the default implementations for the type | |||
| 1369 | - | // of @source. | |||
| 1370 | - | func (x *Source) SetFuncs(FuncsVar *SourceFuncs) { | |||
| 1371 | - | core.LazyRegister(&xSourceSetFuncs, "GLIB", "g_source_set_funcs", false) | |||
| 1372 | - | ||||
| 1373 | - | xSourceSetFuncs(x.GoPointer(), FuncsVar) | |||
| 1374 | - | } | |||
| 1375 | - | ||||
| 1376 | - | var xSourceSetName func(uintptr, string) | |||
| 1377 | - | ||||
| 1378 | - | // Sets a name for the source, used in debugging and profiling. | |||
| 1379 | - | // | |||
| 1380 | - | // The name defaults to `NULL`. | |||
| 1381 | - | // | |||
| 1382 | - | // The source name should describe in a human-readable way | |||
| 1383 | - | // what the source does. For example, ‘X11 event queue’ | |||
| 1384 | - | // or ‘GTK repaint idle handler’. | |||
| 1385 | - | // | |||
| 1386 | - | // It is permitted to call this function multiple times, but is not | |||
| 1387 | - | // recommended due to the potential performance impact. For example, | |||
| 1388 | - | // one could change the name in the `check` function of a | |||
| 1389 | - | // [struct@GLib.SourceFuncs] to include details like the event type in the | |||
| 1390 | - | // source name. | |||
| 1391 | - | // | |||
| 1392 | - | // Use caution if changing the name while another thread may be | |||
| 1393 | - | // accessing it with [method@GLib.Source.get_name]; that function does not copy | |||
| 1394 | - | // the value, and changing the value will free it while the other thread | |||
| 1395 | - | // may be attempting to use it. | |||
| 1396 | - | // | |||
| 1397 | - | // Also see [method@GLib.Source.set_static_name]. | |||
| 1398 | - | func (x *Source) SetName(NameVar string) { | |||
| 1399 | - | core.LazyRegister(&xSourceSetName, "GLIB", "g_source_set_name", false) | |||
| 1400 | - | ||||
| 1401 | - | xSourceSetName(x.GoPointer(), NameVar) | |||
| 1402 | - | } | |||
| 1403 | - | ||||
| 1404 | - | var xSourceSetPriority func(uintptr, int) | |||
| 1405 | - | ||||
| 1406 | - | // Sets the priority of a source. | |||
| 1407 | - | // | |||
| 1408 | - | // While the main loop is being run, a | |||
| 1409 | - | // source will be dispatched if it is ready to be dispatched and no | |||
| 1410 | - | // sources at a higher (numerically smaller) priority are ready to be | |||
| 1411 | - | // dispatched. | |||
| 1412 | - | // | |||
| 1413 | - | // A child source always has the same priority as its parent. It is not | |||
| 1414 | - | // permitted to change the priority of a source once it has been added | |||
| 1415 | - | // as a child of another source. | |||
| 1416 | - | func (x *Source) SetPriority(PriorityVar int) { | |||
| 1417 | - | core.LazyRegister(&xSourceSetPriority, "GLIB", "g_source_set_priority", false) | |||
| 1418 | - | ||||
| 1419 | - | xSourceSetPriority(x.GoPointer(), PriorityVar) | |||
| 1420 | - | } | |||
| 1421 | - | ||||
| 1422 | - | var xSourceSetReadyTime func(uintptr, int64) | |||
| 1423 | - | ||||
| 1424 | - | // Sets a source to be dispatched when the given monotonic time is | |||
| 1425 | - | // reached (or passed). | |||
| 1426 | - | // | |||
| 1427 | - | // If the monotonic time is in the past (as it | |||
| 1428 | - | // always will be if @ready_time is `0`) then the source will be | |||
| 1429 | - | // dispatched immediately. | |||
| 1430 | - | // | |||
| 1431 | - | // If @ready_time is `-1` then the source is never woken up on the basis | |||
| 1432 | - | // of the passage of time. | |||
| 1433 | - | // | |||
| 1434 | - | // Dispatching the source does not reset the ready time. You should do | |||
| 1435 | - | // so yourself, from the source dispatch function. | |||
| 1436 | - | // | |||
| 1437 | - | // Note that if you have a pair of sources where the ready time of one | |||
| 1438 | - | // suggests that it will be delivered first but the priority for the | |||
| 1439 | - | // other suggests that it would be delivered first, and the ready time | |||
| 1440 | - | // for both sources is reached during the same main context iteration, | |||
| 1441 | - | // then the order of dispatch is undefined. | |||
| 1442 | - | // | |||
| 1443 | - | // It is a no-op to call this function on a [struct@GLib.Source] which has | |||
| 1444 | - | // already been destroyed with [method@GLib.Source.destroy]. | |||
| 1445 | - | // | |||
| 1446 | - | // This API is only intended to be used by implementations of [struct@GLib.Source]. | |||
| 1447 | - | // Do not call this API on a [struct@GLib.Source] that you did not create. | |||
| 1448 | - | func (x *Source) SetReadyTime(ReadyTimeVar int64) { | |||
| 1449 | - | core.LazyRegister(&xSourceSetReadyTime, "GLIB", "g_source_set_ready_time", false) | |||
| 1450 | - | ||||
| 1451 | - | xSourceSetReadyTime(x.GoPointer(), ReadyTimeVar) | |||
| 1452 | - | } | |||
| 1453 | - | ||||
| 1454 | - | var xSourceSetStaticName func(uintptr, string) | |||
| 1455 | - | ||||
| 1456 | - | // A variant of [method@GLib.Source.set_name] that does not | |||
| 1457 | - | // duplicate the @name, and can only be used with | |||
| 1458 | - | // string literals. | |||
| 1459 | - | func (x *Source) SetStaticName(NameVar string) { | |||
| 1460 | - | core.LazyRegister(&xSourceSetStaticName, "GLIB", "g_source_set_static_name", false) | |||
| 1461 | - | ||||
| 1462 | - | xSourceSetStaticName(x.GoPointer(), NameVar) | |||
| 1463 | - | } | |||
| 1464 | - | ||||
| 1465 | - | var xSourceUnref func(uintptr) | |||
| 1466 | - | ||||
| 1467 | - | // Decreases the reference count of a source by one. | |||
| 1468 | - | // | |||
| 1469 | - | // If the resulting reference count is zero the source and associated | |||
| 1470 | - | // memory will be destroyed. | |||
| 1471 | - | func (x *Source) Unref() { | |||
| 1472 | - | core.LazyRegister(&xSourceUnref, "GLIB", "g_source_unref", false) | |||
| 1473 | - | ||||
| 1474 | - | xSourceUnref(x.GoPointer()) | |||
| 1475 | - | } | |||
| 1476 | - | ||||
| 1477 | - | // The `GSourceCallbackFuncs` struct contains | |||
| 1478 | - | // functions for managing callback objects. | |||
| 1479 | - | type SourceCallbackFuncs struct { | |||
| 1480 | - | _ structs.HostLayout | |||
| 1481 | - | ||||
| 1482 | - | xRef uintptr | |||
| 1483 | - | ||||
| 1484 | - | xUnref uintptr | |||
| 1485 | - | ||||
| 1486 | - | xGet uintptr | |||
| 1487 | - | } | |||
| 1488 | - | ||||
| 1489 | - | func (x *SourceCallbackFuncs) GoPointer() uintptr { | |||
| 1490 | - | return uintptr(unsafe.Pointer(x)) | |||
| 1491 | - | } | |||
| 1492 | - | ||||
| 1493 | - | func SourceCallbackFuncsNewFromInternalPtr(ptr uintptr) *SourceCallbackFuncs { | |||
| 1494 | - | if ptr == 0 { | |||
| 1495 | - | return nil | |||
| 1496 | - | } | |||
| 1497 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 1498 | - | return (*SourceCallbackFuncs)(rawPtr) | |||
| 1499 | - | } | |||
| 1500 | - | ||||
| 1501 | - | // OverrideRef sets the "ref" callback function. | |||
| 1502 | - | // Called when a reference is added to the callback object | |||
| 1503 | - | func (x *SourceCallbackFuncs) OverrideRef(cb func(uintptr)) { | |||
| 1504 | - | if cb == nil { | |||
| 1505 | - | x.xRef = 0 | |||
| 1506 | - | } else { | |||
| 1507 | - | x.xRef = purego.NewCallback(func(CbDataVarp uintptr) { | |||
| 1508 | - | cb(CbDataVarp) | |||
| 1509 | - | }) | |||
| 1510 | - | } | |||
| 1511 | - | } | |||
| 1512 | - | ||||
| 1513 | - | // GetRef gets the "ref" callback function. | |||
| 1514 | - | // Called when a reference is added to the callback object | |||
| 1515 | - | func (x *SourceCallbackFuncs) GetRef() func(uintptr) { | |||
| 1516 | - | if x.xRef == 0 { | |||
| 1517 | - | return nil | |||
| 1518 | - | } | |||
| 1519 | - | var rawCallback func(CbDataVarp uintptr) | |||
| 1520 | - | purego.RegisterFunc(&rawCallback, x.xRef) | |||
| 1521 | - | return func(CbDataVar uintptr) { | |||
| 1522 | - | rawCallback(CbDataVar) | |||
| 1523 | - | } | |||
| 1524 | - | } | |||
| 1525 | - | ||||
| 1526 | - | // OverrideUnref sets the "unref" callback function. | |||
| 1527 | - | // Called when a reference to the callback object is dropped | |||
| 1528 | - | func (x *SourceCallbackFuncs) OverrideUnref(cb func(uintptr)) { | |||
| 1529 | - | if cb == nil { | |||
| 1530 | - | x.xUnref = 0 | |||
| 1531 | - | } else { | |||
| 1532 | - | x.xUnref = purego.NewCallback(func(CbDataVarp uintptr) { | |||
| 1533 | - | cb(CbDataVarp) | |||
| 1534 | - | }) | |||
| 1535 | - | } | |||
| 1536 | - | } | |||
| 1537 | - | ||||
| 1538 | - | // GetUnref gets the "unref" callback function. | |||
| 1539 | - | // Called when a reference to the callback object is dropped | |||
| 1540 | - | func (x *SourceCallbackFuncs) GetUnref() func(uintptr) { | |||
| 1541 | - | if x.xUnref == 0 { | |||
| 1542 | - | return nil | |||
| 1543 | - | } | |||
| 1544 | - | var rawCallback func(CbDataVarp uintptr) | |||
| 1545 | - | purego.RegisterFunc(&rawCallback, x.xUnref) | |||
| 1546 | - | return func(CbDataVar uintptr) { | |||
| 1547 | - | rawCallback(CbDataVar) | |||
| 1548 | - | } | |||
| 1549 | - | } | |||
| 1550 | - | ||||
| 1551 | - | // OverrideGet sets the "get" callback function. | |||
| 1552 | - | // Called to extract the callback function and data from the | |||
| 1553 | - | // | |||
| 1554 | - | // callback object. | |||
| 1555 | - | func (x *SourceCallbackFuncs) OverrideGet(cb func(uintptr, *Source, *SourceFunc, uintptr)) { | |||
| 1556 | - | if cb == nil { | |||
| 1557 | - | x.xGet = 0 | |||
| 1558 | - | } else { | |||
| 1559 | - | x.xGet = purego.NewCallback(func(CbDataVarp uintptr, SourceVarp *Source, FuncVarp uintptr, DataVarp uintptr) { | |||
| 1560 | - | cb(CbDataVarp, SourceVarp, (*SourceFunc)(unsafe.Pointer(FuncVarp)), DataVarp) | |||
| 1561 | - | }) | |||
| 1562 | - | } | |||
| 1563 | - | } | |||
| 1564 | - | ||||
| 1565 | - | // GetGet gets the "get" callback function. | |||
| 1566 | - | // Called to extract the callback function and data from the | |||
| 1567 | - | // | |||
| 1568 | - | // callback object. | |||
| 1569 | - | func (x *SourceCallbackFuncs) GetGet() func(uintptr, *Source, *SourceFunc, uintptr) { | |||
| 1570 | - | if x.xGet == 0 { | |||
| 1571 | - | return nil | |||
| 1572 | - | } | |||
| 1573 | - | var rawCallback func(CbDataVarp uintptr, SourceVarp *Source, FuncVarp uintptr, DataVarp uintptr) | |||
| 1574 | - | purego.RegisterFunc(&rawCallback, x.xGet) | |||
| 1575 | - | return func(CbDataVar uintptr, SourceVar *Source, FuncVar *SourceFunc, DataVar uintptr) { | |||
| 1576 | - | rawCallback(CbDataVar, SourceVar, NewCallback(FuncVar), DataVar) | |||
| 1577 | - | } | |||
| 1578 | - | } | |||
| 1579 | - | ||||
| 1580 | - | // The `GSourceFuncs` struct contains a table of | |||
| 1581 | - | // functions used to handle event sources in a generic manner. | |||
| 1582 | - | // | |||
| 1583 | - | // For idle sources, the prepare and check functions always return %TRUE | |||
| 1584 | - | // to indicate that the source is always ready to be processed. The prepare | |||
| 1585 | - | // function also returns a timeout value of 0 to ensure that the poll() call | |||
| 1586 | - | // doesn't block (since that would be time wasted which could have been spent | |||
| 1587 | - | // running the idle function). | |||
| 1588 | - | // | |||
| 1589 | - | // For timeout sources, the prepare and check functions both return %TRUE | |||
| 1590 | - | // if the timeout interval has expired. The prepare function also returns | |||
| 1591 | - | // a timeout value to ensure that the poll() call doesn't block too long | |||
| 1592 | - | // and miss the next timeout. | |||
| 1593 | - | // | |||
| 1594 | - | // For file descriptor sources, the prepare function typically returns %FALSE, | |||
| 1595 | - | // since it must wait until poll() has been called before it knows whether | |||
| 1596 | - | // any events need to be processed. It sets the returned timeout to -1 to | |||
| 1597 | - | // indicate that it doesn't mind how long the poll() call blocks. In the | |||
| 1598 | - | // check function, it tests the results of the poll() call to see if the | |||
| 1599 | - | // required condition has been met, and returns %TRUE if so. | |||
| 1600 | - | type SourceFuncs struct { | |||
| 1601 | - | _ structs.HostLayout | |||
| 1602 | - | ||||
| 1603 | - | Prepare SourceFuncsPrepareFunc | |||
| 1604 | - | ||||
| 1605 | - | Check SourceFuncsCheckFunc | |||
| 1606 | - | ||||
| 1607 | - | Dispatch SourceFuncsDispatchFunc | |||
| 1608 | - | ||||
| 1609 | - | Finalize SourceFuncsFinalizeFunc | |||
| 1610 | - | ||||
| 1611 | - | ClosureCallback SourceFunc | |||
| 1612 | - | ||||
| 1613 | - | ClosureMarshal SourceDummyMarshal | |||
| 1614 | - | } | |||
| 1615 | - | ||||
| 1616 | - | func (x *SourceFuncs) GoPointer() uintptr { | |||
| 1617 | - | return uintptr(unsafe.Pointer(x)) | |||
| 1618 | - | } | |||
| 1619 | - | ||||
| 1620 | - | func SourceFuncsNewFromInternalPtr(ptr uintptr) *SourceFuncs { | |||
| 1621 | - | if ptr == 0 { | |||
| 1622 | - | return nil | |||
| 1623 | - | } | |||
| 1624 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 1625 | - | return (*SourceFuncs)(rawPtr) | |||
| 1626 | - | } | |||
| 1627 | - | ||||
| 1628 | - | type SourcePrivate struct { | |||
| 1629 | - | _ structs.HostLayout | |||
| 1630 | - | } | |||
| 1631 | - | ||||
| 1632 | - | func (x *SourcePrivate) GoPointer() uintptr { | |||
| 1633 | - | return uintptr(unsafe.Pointer(x)) | |||
| 1634 | - | } | |||
| 1635 | - | ||||
| 1636 | - | func SourcePrivateNewFromInternalPtr(ptr uintptr) *SourcePrivate { | |||
| 1637 | - | if ptr == 0 { | |||
| 1638 | - | return nil | |||
| 1639 | - | } | |||
| 1640 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 1641 | - | return (*SourcePrivate)(rawPtr) | |||
| 1642 | - | } | |||
| 1643 | - | ||||
| 1644 | - | // Opaque type. See g_main_context_pusher_new() for details. | |||
| 1645 | - | type MainContextPusher = uintptr | |||
| 1646 | - | ||||
| 1647 | - | const ( | |||
| 1648 | - | // Use this for default priority event sources. | |||
| 1649 | - | // | |||
| 1650 | - | // In GLib this priority is used when adding timeout functions | |||
| 1651 | - | // with [func@GLib.timeout_add]. In GDK this priority is used for events | |||
| 1652 | - | // from the X server. | |||
| 1653 | - | PRIORITY_DEFAULT int = 0 | |||
| 1654 | - | // Use this for default priority idle functions. | |||
| 1655 | - | // | |||
| 1656 | - | // In GLib this priority is used when adding idle functions with | |||
| 1657 | - | // [func@GLib.idle_add]. | |||
| 1658 | - | PRIORITY_DEFAULT_IDLE int = 200 | |||
| 1659 | - | // Use this for high priority event sources. | |||
| 1660 | - | // | |||
| 1661 | - | // It is not used within GLib or GTK. | |||
| 1662 | - | PRIORITY_HIGH int = -100 | |||
| 1663 | - | // Use this for high priority idle functions. | |||
| 1664 | - | // | |||
| 1665 | - | // GTK uses %G_PRIORITY_HIGH_IDLE + 10 for resizing operations, | |||
| 1666 | - | // and %G_PRIORITY_HIGH_IDLE + 20 for redrawing operations. (This is | |||
| 1667 | - | // done to ensure that any pending resizes are processed before any | |||
| 1668 | - | // pending redraws, so that widgets are not redrawn twice unnecessarily.) | |||
| 1669 | - | PRIORITY_HIGH_IDLE int = 100 | |||
| 1670 | - | // Use this for very low priority background tasks. | |||
| 1671 | - | // | |||
| 1672 | - | // It is not used within GLib or GTK. | |||
| 1673 | - | PRIORITY_LOW int = 300 | |||
| 1674 | - | // Use this macro as the return value of a [callback@GLib.SourceFunc] to leave | |||
| 1675 | - | // the [struct@GLib.Source] in the main loop. | |||
| 1676 | - | SOURCE_CONTINUE bool = true | |||
| 1677 | - | // Use this macro as the return value of a [callback@GLib.SourceFunc] to remove | |||
| 1678 | - | // the [struct@GLib.Source] from the main loop. | |||
| 1679 | - | SOURCE_REMOVE bool = false | |||
| 1680 | - | ) | |||
| 1681 | - | ||||
| 1682 | - | // Flags to pass to [ctor@GLib.MainContext.new_with_flags] which affect the | |||
| 1683 | - | // behaviour of a [struct@GLib.MainContext]. | |||
| 1684 | - | type MainContextFlags int | |||
| 1685 | - | ||||
| 1686 | - | const ( | |||
| 1687 | - | ||||
| 1688 | - | // Default behaviour. | |||
| 1689 | - | GMainContextFlagsNoneValue MainContextFlags = 0 | |||
| 1690 | - | // Assume that polling for events will | |||
| 1691 | - | // free the thread to process other jobs. That's useful if you're using | |||
| 1692 | - | // `g_main_context_{prepare,query,check,dispatch}` to integrate GMainContext in | |||
| 1693 | - | // other event loops. | |||
| 1694 | - | GMainContextFlagsOwnerlessPollingValue MainContextFlags = 1 | |||
| 1695 | - | ) | |||
| 1696 | - | ||||
| 1697 | - | var xChildWatchAdd func(Pid, uintptr, uintptr) uint | |||
| 1698 | - | ||||
| 1699 | - | // Sets a function to be called when the child indicated by @pid | |||
| 1700 | - | // exits, at a default priority, [const@GLib.PRIORITY_DEFAULT]. | |||
| 1701 | - | // | |||
| 1702 | - | // If you obtain @pid from [func@GLib.spawn_async] or | |||
| 1703 | - | // [func@GLib.spawn_async_with_pipes] you will need to pass | |||
| 1704 | - | // [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |||
| 1705 | - | // the child watching to work. | |||
| 1706 | - | // | |||
| 1707 | - | // Note that on platforms where [type@GLib.Pid] must be explicitly closed | |||
| 1708 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |||
| 1709 | - | // source is still active. Typically, you will want to call | |||
| 1710 | - | // [func@GLib.spawn_close_pid] in the callback function for the source. | |||
| 1711 | - | // | |||
| 1712 | - | // GLib supports only a single callback per process ID. | |||
| 1713 | - | // On POSIX platforms, the same restrictions mentioned for | |||
| 1714 | - | // [func@GLib.child_watch_source_new] apply to this function. | |||
| 1715 | - | // | |||
| 1716 | - | // This internally creates a main loop source using | |||
| 1717 | - | // [func@GLib.child_watch_source_new] and attaches it to the main loop context | |||
| 1718 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you | |||
| 1719 | - | // need greater control. | |||
| 1720 | - | func ChildWatchAdd(PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr) uint { | |||
| 1721 | - | core.LazyRegister(&xChildWatchAdd, "GLIB", "g_child_watch_add", false) | |||
| 1722 | - | var functionRef uintptr | |||
| 1723 | - | if FunctionVar != nil { | |||
| 1724 | - | functionRef = childWatchFuncTrampolineCb | |||
| 1725 | - | } | |||
| 1726 | - | cret := xChildWatchAdd(PidVar, functionRef, DataVar) | |||
| 1727 | - | trackChildWatchFunc(cret, FunctionVar, DataVar) | |||
| 1728 | - | return cret | |||
| 1729 | - | } | |||
| 1730 | - | ||||
| 1731 | - | var xChildWatchAddFull func(int, Pid, uintptr, uintptr, uintptr) uint | |||
| 1732 | - | ||||
| 1733 | - | // Sets a function to be called when the child indicated by @pid | |||
| 1734 | - | // exits, at the priority @priority. | |||
| 1735 | - | // | |||
| 1736 | - | // If you obtain @pid from [func@GLib.spawn_async] or | |||
| 1737 | - | // [func@GLib.spawn_async_with_pipes] you will need to pass | |||
| 1738 | - | // [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] as a flag to the spawn function for | |||
| 1739 | - | // the child watching to work. | |||
| 1740 | - | // | |||
| 1741 | - | // In many programs, you will want to call [func@GLib.spawn_check_wait_status] | |||
| 1742 | - | // in the callback to determine whether or not the child exited | |||
| 1743 | - | // successfully. | |||
| 1744 | - | // | |||
| 1745 | - | // Also, note that on platforms where [type@GLib.Pid] must be explicitly closed | |||
| 1746 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the source | |||
| 1747 | - | // is still active. Typically, you should invoke [func@GLib.spawn_close_pid] | |||
| 1748 | - | // in the callback function for the source. | |||
| 1749 | - | // | |||
| 1750 | - | // GLib supports only a single callback per process ID. | |||
| 1751 | - | // On POSIX platforms, the same restrictions mentioned for | |||
| 1752 | - | // [func@GLib.child_watch_source_new] apply to this function. | |||
| 1753 | - | // | |||
| 1754 | - | // This internally creates a main loop source using | |||
| 1755 | - | // [func@GLib.child_watch_source_new] and attaches it to the main loop context | |||
| 1756 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you | |||
| 1757 | - | // need greater control. | |||
| 1758 | - | func ChildWatchAddFull(PriorityVar int, PidVar Pid, FunctionVar *ChildWatchFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |||
| 1759 | - | core.LazyRegister(&xChildWatchAddFull, "GLIB", "g_child_watch_add_full", false) | |||
| 1760 | - | var functionRef uintptr | |||
| 1761 | - | if FunctionVar != nil { | |||
| 1762 | - | functionRef = childWatchFuncTrampolineCb | |||
| 1763 | - | } | |||
| 1764 | - | cret := xChildWatchAddFull(PriorityVar, PidVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |||
| 1765 | - | trackChildWatchFunc(cret, FunctionVar, DataVar) | |||
| 1766 | - | return cret | |||
| 1767 | - | } | |||
| 1768 | - | ||||
| 1769 | - | var xChildWatchSourceNew func(Pid) uintptr | |||
| 1770 | - | ||||
| 1771 | - | // Creates a new child watch source. | |||
| 1772 | - | // | |||
| 1773 | - | // The source will not initially be associated with any | |||
| 1774 | - | // [struct@GLib.MainContext] and must be added to one with | |||
| 1775 | - | // [method@GLib.Source.attach] before it will be executed. | |||
| 1776 | - | // | |||
| 1777 | - | // Note that child watch sources can only be used in conjunction with | |||
| 1778 | - | // `g_spawn...` when the [flags@GLib.SpawnFlags.DO_NOT_REAP_CHILD] flag is used. | |||
| 1779 | - | // | |||
| 1780 | - | // Note that on platforms where [type@GLib.Pid] must be explicitly closed | |||
| 1781 | - | // (see [func@GLib.spawn_close_pid]) @pid must not be closed while the | |||
| 1782 | - | // source is still active. Typically, you will want to call | |||
| 1783 | - | // [func@GLib.spawn_close_pid] in the callback function for the source. | |||
| 1784 | - | // | |||
| 1785 | - | // On POSIX platforms, the following restrictions apply to this API | |||
| 1786 | - | // due to limitations in POSIX process interfaces: | |||
| 1787 | - | // | |||
| 1788 | - | // - @pid must be a child of this process. | |||
| 1789 | - | // - @pid must be positive. | |||
| 1790 | - | // - The application must not call [`waitpid()`](man:waitpid(1)) with a | |||
| 1791 | - | // non-positive first argument, for instance in another thread. | |||
| 1792 | - | // - The application must not wait for @pid to exit by any other | |||
| 1793 | - | // mechanism, including `waitpid(pid, ...)` or a second child-watch | |||
| 1794 | - | // source for the same @pid. | |||
| 1795 | - | // - The application must not ignore `SIGCHLD`. | |||
| 1796 | - | // - Before 2.78, the application could not send a signal ([`kill()`](man:kill(2))) to the | |||
| 1797 | - | // watched @pid in a race free manner. Since 2.78, you can do that while the | |||
| 1798 | - | // associated [struct@GLib.MainContext] is acquired. | |||
| 1799 | - | // - Before 2.78, even after destroying the [struct@GLib.Source], you could not | |||
| 1800 | - | // be sure that @pid wasn’t already reaped. Hence, it was also not | |||
| 1801 | - | // safe to `kill()` or `waitpid()` on the process ID after the child watch | |||
| 1802 | - | // source was gone. Destroying the source before it fired made it | |||
| 1803 | - | // impossible to reliably reap the process. | |||
| 1804 | - | // | |||
| 1805 | - | // If any of those conditions are not met, this and related APIs will | |||
| 1806 | - | // not work correctly. This can often be diagnosed via a GLib warning | |||
| 1807 | - | // stating that `ECHILD` was received by `waitpid()`. | |||
| 1808 | - | // | |||
| 1809 | - | // Calling [`waitpid()`](man:waitpid(2)) for specific processes other than @pid | |||
| 1810 | - | // remains a valid thing to do. | |||
| 1811 | - | func ChildWatchSourceNew(PidVar Pid) *Source { | |||
| 1812 | - | core.LazyRegister(&xChildWatchSourceNew, "GLIB", "g_child_watch_source_new", false) | |||
| 1813 | - | ||||
| 1814 | - | cret := xChildWatchSourceNew(PidVar) | |||
| 1815 | - | if cret == 0 { | |||
| 1816 | - | return nil | |||
| 1817 | - | } | |||
| 1818 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 1819 | - | } | |||
| 1820 | - | ||||
| 1821 | - | var xClearHandleId func(uint, uintptr) | |||
| 1822 | - | ||||
| 1823 | - | // Clears a numeric handler, such as a [struct@GLib.Source] ID. | |||
| 1824 | - | // | |||
| 1825 | - | // The @tag_ptr must be a valid pointer to the variable holding the handler. | |||
| 1826 | - | // | |||
| 1827 | - | // If the ID is zero then this function does nothing. | |||
| 1828 | - | // Otherwise, @clear_func is called with the ID as a parameter, and the tag is | |||
| 1829 | - | // set to zero. | |||
| 1830 | - | // | |||
| 1831 | - | // A macro is also included that allows this function to be used without | |||
| 1832 | - | // pointer casts. | |||
| 1833 | - | func ClearHandleId(TagPtrVar uint, ClearFuncVar *ClearHandleFunc) { | |||
| 1834 | - | core.LazyRegister(&xClearHandleId, "GLIB", "g_clear_handle_id", false) | |||
| 1835 | - | ||||
| 1836 | - | xClearHandleId(TagPtrVar, NewCallback(ClearFuncVar)) | |||
| 1837 | - | } | |||
| 1838 | - | ||||
| 1839 | - | var xGetCurrentTime func(*TimeVal) | |||
| 1840 | - | ||||
| 1841 | - | // Queries the system wall-clock time. | |||
| 1842 | - | // | |||
| 1843 | - | // This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |||
| 1844 | - | // function, but portable. | |||
| 1845 | - | // | |||
| 1846 | - | // You may find [func@GLib.get_real_time] to be more convenient. | |||
| 1847 | - | func GetCurrentTime(ResultVar *TimeVal) { | |||
| 1848 | - | core.LazyRegister(&xGetCurrentTime, "GLIB", "g_get_current_time", false) | |||
| 1849 | - | ||||
| 1850 | - | xGetCurrentTime(ResultVar) | |||
| 1851 | - | } | |||
| 1852 | - | ||||
| 1853 | - | var xGetMonotonicTime func() int64 | |||
| 1854 | - | ||||
| 1855 | - | // Queries the system monotonic time in microseconds. | |||
| 1856 | - | // | |||
| 1857 | - | // The monotonic clock will always increase and doesn’t suffer | |||
| 1858 | - | // discontinuities when the user (or NTP) changes the system time. It | |||
| 1859 | - | // may or may not continue to tick during times where the machine is | |||
| 1860 | - | // suspended. | |||
| 1861 | - | // | |||
| 1862 | - | // We try to use the clock that corresponds as closely as possible to | |||
| 1863 | - | // the passage of time as measured by system calls such as | |||
| 1864 | - | // [`poll()`](man:poll(2)) but it | |||
| 1865 | - | // may not always be possible to do this. | |||
| 1866 | - | // | |||
| 1867 | - | // A more accurate version of this function exists. | |||
| 1868 | - | // [func@GLib.get_monotonic_time_ns] returns the time in nanoseconds. | |||
| 1869 | - | func GetMonotonicTime() int64 { | |||
| 1870 | - | core.LazyRegister(&xGetMonotonicTime, "GLIB", "g_get_monotonic_time", false) | |||
| 1871 | - | ||||
| 1872 | - | cret := xGetMonotonicTime() | |||
| 1873 | - | return cret | |||
| 1874 | - | } | |||
| 1875 | - | ||||
| 1876 | - | var xGetMonotonicTimeNs func() uint64 | |||
| 1877 | - | ||||
| 1878 | - | // Queries the system monotonic time in nanoseconds. | |||
| 1879 | - | // | |||
| 1880 | - | // The monotonic clock will always increase and doesn’t suffer | |||
| 1881 | - | // discontinuities when the user (or NTP) changes the system time. It | |||
| 1882 | - | // may or may not continue to tick during times where the machine is | |||
| 1883 | - | // suspended. | |||
| 1884 | - | // | |||
| 1885 | - | // We try to use the clock that corresponds as closely as possible to | |||
| 1886 | - | // the passage of time as measured by system calls such as | |||
| 1887 | - | // [`poll()`](man:poll(2)) but it | |||
| 1888 | - | // may not always be possible to do this. | |||
| 1889 | - | // | |||
| 1890 | - | // Another version of this function exists. | |||
| 1891 | - | // [func@GLib.get_monotonic_time] returns the time in microseconds. | |||
| 1892 | - | // If you want to support older GLib versions, it is an alternative. | |||
| 1893 | - | func GetMonotonicTimeNs() uint64 { | |||
| 1894 | - | core.LazyRegister(&xGetMonotonicTimeNs, "GLIB", "g_get_monotonic_time_ns", false) | |||
| 1895 | - | ||||
| 1896 | - | cret := xGetMonotonicTimeNs() | |||
| 1897 | - | return cret | |||
| 1898 | - | } | |||
| 1899 | - | ||||
| 1900 | - | var xGetRealTime func() int64 | |||
| 1901 | - | ||||
| 1902 | - | // Queries the system wall-clock time. | |||
| 1903 | - | // | |||
| 1904 | - | // This is equivalent to the UNIX [`gettimeofday()`](man:gettimeofday(2)) | |||
| 1905 | - | // function, but portable. | |||
| 1906 | - | // | |||
| 1907 | - | // You should only use this call if you are actually interested in the real | |||
| 1908 | - | // wall-clock time. [func@GLib.get_monotonic_time] is probably more useful for | |||
| 1909 | - | // measuring intervals. | |||
| 1910 | - | func GetRealTime() int64 { | |||
| 1911 | - | core.LazyRegister(&xGetRealTime, "GLIB", "g_get_real_time", false) | |||
| 1912 | - | ||||
| 1913 | - | cret := xGetRealTime() | |||
| 1914 | - | return cret | |||
| 1915 | - | } | |||
| 1916 | - | ||||
| 1917 | - | var xIdleAdd func(uintptr, uintptr) uint | |||
| 1918 | - | ||||
| 1919 | - | // Adds a function to be called whenever there are no higher priority | |||
| 1920 | - | // events pending to the default main loop. | |||
| 1921 | - | // | |||
| 1922 | - | // The function is given the | |||
| 1923 | - | // default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. If the function | |||
| 1924 | - | // returns [const@GLib.SOURCE_REMOVE] it is automatically removed from the list | |||
| 1925 | - | // of event sources and will not be called again. | |||
| 1926 | - | // | |||
| 1927 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 1928 | - | // on how to handle the return value and memory management of @data. | |||
| 1929 | - | // | |||
| 1930 | - | // This internally creates a main loop source using [func@GLib.idle_source_new] | |||
| 1931 | - | // and attaches it to the global [struct@GLib.MainContext] using | |||
| 1932 | - | // [method@GLib.Source.attach], so the callback will be invoked in whichever | |||
| 1933 | - | // thread is running that main context. You can do these steps manually if you | |||
| 1934 | - | // need greater control or to use a custom main context. | |||
| 1935 | - | func IdleAdd(FunctionVar *SourceFunc, DataVar uintptr) uint { | |||
| 1936 | - | core.LazyRegister(&xIdleAdd, "GLIB", "g_idle_add", false) | |||
| 1937 | - | var functionRef uintptr | |||
| 1938 | - | if FunctionVar != nil { | |||
| 1939 | - | functionRef = sourceFuncTrampolineCb | |||
| 1940 | - | } | |||
| 1941 | - | cret := xIdleAdd(functionRef, DataVar) | |||
| 1942 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 1943 | - | return cret | |||
| 1944 | - | } | |||
| 1945 | - | ||||
| 1946 | - | var xIdleAddFull func(int, uintptr, uintptr, uintptr) uint | |||
| 1947 | - | ||||
| 1948 | - | // Adds a function to be called whenever there are no higher priority | |||
| 1949 | - | // events pending. | |||
| 1950 | - | // | |||
| 1951 | - | // If the function returns [const@GLib.SOURCE_REMOVE] it is automatically | |||
| 1952 | - | // removed from the list of event sources and will not be called again. | |||
| 1953 | - | // | |||
| 1954 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 1955 | - | // on how to handle the return value and memory management of @data. | |||
| 1956 | - | // | |||
| 1957 | - | // This internally creates a main loop source using [func@GLib.idle_source_new] | |||
| 1958 | - | // and attaches it to the global [struct@GLib.MainContext] using | |||
| 1959 | - | // [method@GLib.Source.attach], so the callback will be invoked in whichever | |||
| 1960 | - | // thread is running that main context. You can do these steps manually if you | |||
| 1961 | - | // need greater control or to use a custom main context. | |||
| 1962 | - | func IdleAddFull(PriorityVar int, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |||
| 1963 | - | core.LazyRegister(&xIdleAddFull, "GLIB", "g_idle_add_full", false) | |||
| 1964 | - | var functionRef uintptr | |||
| 1965 | - | if FunctionVar != nil { | |||
| 1966 | - | functionRef = sourceFuncTrampolineCb | |||
| 1967 | - | } | |||
| 1968 | - | cret := xIdleAddFull(PriorityVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |||
| 1969 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 1970 | - | return cret | |||
| 1971 | - | } | |||
| 1972 | - | ||||
| 1973 | - | var xIdleAddOnce func(uintptr, uintptr) uint | |||
| 1974 | - | ||||
| 1975 | - | // Adds a function to be called whenever there are no higher priority | |||
| 1976 | - | // events pending to the default main loop. | |||
| 1977 | - | // | |||
| 1978 | - | // The function is given the | |||
| 1979 | - | // default idle priority, [const@GLib.PRIORITY_DEFAULT_IDLE]. | |||
| 1980 | - | // | |||
| 1981 | - | // The function will only be called once and then the source will be | |||
| 1982 | - | // automatically removed from the main context. | |||
| 1983 | - | // | |||
| 1984 | - | // This function otherwise behaves like [func@GLib.idle_add]. | |||
| 1985 | - | func IdleAddOnce(FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |||
| 1986 | - | core.LazyRegister(&xIdleAddOnce, "GLIB", "g_idle_add_once", false) | |||
| 1987 | - | var functionRef uintptr | |||
| 1988 | - | if FunctionVar != nil { | |||
| 1989 | - | functionRef = sourceOnceFuncTrampolineCb | |||
| 1990 | - | } | |||
| 1991 | - | cret := xIdleAddOnce(functionRef, DataVar) | |||
| 1992 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |||
| 1993 | - | return cret | |||
| 1994 | - | } | |||
| 1995 | - | ||||
| 1996 | - | var xIdleRemoveByData func(uintptr) bool | |||
| 1997 | - | ||||
| 1998 | - | // Removes the idle function with the given data. | |||
| 1999 | - | func IdleRemoveByData(DataVar uintptr) bool { | |||
| 2000 | - | core.LazyRegister(&xIdleRemoveByData, "GLIB", "g_idle_remove_by_data", false) | |||
| 2001 | - | trackedSourceID := trackedSourceIDByUserData(DataVar) | |||
| 2002 | - | cret := xIdleRemoveByData(DataVar) | |||
| 2003 | - | if cret { | |||
| 2004 | - | removeTrackedSource(trackedSourceID) | |||
| 2005 | - | } | |||
| 2006 | - | return cret | |||
| 2007 | - | } | |||
| 2008 | - | ||||
| 2009 | - | var xIdleSourceNew func() uintptr | |||
| 2010 | - | ||||
| 2011 | - | // Creates a new idle source. | |||
| 2012 | - | // | |||
| 2013 | - | // The source will not initially be associated with any | |||
| 2014 | - | // [struct@GLib.MainContext] and must be added to one with | |||
| 2015 | - | // [method@GLib.Source.attach] before it will be executed. Note that the | |||
| 2016 | - | // default priority for idle sources is [const@GLib.PRIORITY_DEFAULT_IDLE], as | |||
| 2017 | - | // compared to other sources which have a default priority of | |||
| 2018 | - | // [const@GLib.PRIORITY_DEFAULT]. | |||
| 2019 | - | func IdleSourceNew() *Source { | |||
| 2020 | - | core.LazyRegister(&xIdleSourceNew, "GLIB", "g_idle_source_new", false) | |||
| 2021 | - | ||||
| 2022 | - | cret := xIdleSourceNew() | |||
| 2023 | - | if cret == 0 { | |||
| 2024 | - | return nil | |||
| 2025 | - | } | |||
| 2026 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 2027 | - | } | |||
| 2028 | - | ||||
| 2029 | - | var xMainContextDefault func() uintptr | |||
| 2030 | - | ||||
| 2031 | - | // Returns the global-default main context. | |||
| 2032 | - | // | |||
| 2033 | - | // This is the main context | |||
| 2034 | - | // used for main loop functions when a main loop is not explicitly | |||
| 2035 | - | // specified, and corresponds to the ‘main’ main loop. See also | |||
| 2036 | - | // [func@GLib.MainContext.get_thread_default]. | |||
| 2037 | - | func MainContextDefault() *MainContext { | |||
| 2038 | - | core.LazyRegister(&xMainContextDefault, "GLIB", "g_main_context_default", false) | |||
| 2039 | - | ||||
| 2040 | - | cret := xMainContextDefault() | |||
| 2041 | - | if cret == 0 { | |||
| 2042 | - | return nil | |||
| 2043 | - | } | |||
| 2044 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 2045 | - | } | |||
| 2046 | - | ||||
| 2047 | - | var xMainContextGetThreadDefault func() uintptr | |||
| 2048 | - | ||||
| 2049 | - | // Gets the thread-default main context for this thread. | |||
| 2050 | - | // | |||
| 2051 | - | // Asynchronous operations that want to be able to be run in contexts other than | |||
| 2052 | - | // the default one should call this method or | |||
| 2053 | - | // [func@GLib.MainContext.ref_thread_default] to get a | |||
| 2054 | - | // [struct@GLib.MainContext] to add their [struct@GLib.Source]s to. (Note that | |||
| 2055 | - | // even in single-threaded programs applications may sometimes want to | |||
| 2056 | - | // temporarily push a non-default context, so it is not safe to assume that | |||
| 2057 | - | // this will always return `NULL` if you are running in the default thread.) | |||
| 2058 | - | // | |||
| 2059 | - | // If you need to hold a reference on the context, use | |||
| 2060 | - | // [func@GLib.MainContext.ref_thread_default] instead. | |||
| 2061 | - | func MainContextGetThreadDefault() *MainContext { | |||
| 2062 | - | core.LazyRegister(&xMainContextGetThreadDefault, "GLIB", "g_main_context_get_thread_default", false) | |||
| 2063 | - | ||||
| 2064 | - | cret := xMainContextGetThreadDefault() | |||
| 2065 | - | if cret == 0 { | |||
| 2066 | - | return nil | |||
| 2067 | - | } | |||
| 2068 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 2069 | - | } | |||
| 2070 | - | ||||
| 2071 | - | var xMainContextRefThreadDefault func() uintptr | |||
| 2072 | - | ||||
| 2073 | - | // Gets a reference to the thread-default [struct@GLib.MainContext] for this | |||
| 2074 | - | // thread | |||
| 2075 | - | // | |||
| 2076 | - | // This is the same as [func@GLib.MainContext.get_thread_default], but it also | |||
| 2077 | - | // adds a reference to the returned main context with [method@GLib.MainContext.ref]. | |||
| 2078 | - | // In addition, unlike | |||
| 2079 | - | // [func@GLib.MainContext.get_thread_default], if the thread-default context | |||
| 2080 | - | // is the global-default context, this will return that | |||
| 2081 | - | // [struct@GLib.MainContext] (with a ref added to it) rather than returning | |||
| 2082 | - | // `NULL`. | |||
| 2083 | - | func MainContextRefThreadDefault() *MainContext { | |||
| 2084 | - | core.LazyRegister(&xMainContextRefThreadDefault, "GLIB", "g_main_context_ref_thread_default", false) | |||
| 2085 | - | ||||
| 2086 | - | cret := xMainContextRefThreadDefault() | |||
| 2087 | - | if cret == 0 { | |||
| 2088 | - | return nil | |||
| 2089 | - | } | |||
| 2090 | - | return (*MainContext)(unsafe.Pointer(cret)) | |||
| 2091 | - | } | |||
| 2092 | - | ||||
| 2093 | - | var xMainCurrentSource func() uintptr | |||
| 2094 | - | ||||
| 2095 | - | // Returns the currently firing source for this thread. | |||
| 2096 | - | func MainCurrentSource() *Source { | |||
| 2097 | - | core.LazyRegister(&xMainCurrentSource, "GLIB", "g_main_current_source", false) | |||
| 2098 | - | ||||
| 2099 | - | cret := xMainCurrentSource() | |||
| 2100 | - | if cret == 0 { | |||
| 2101 | - | return nil | |||
| 2102 | - | } | |||
| 2103 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 2104 | - | } | |||
| 2105 | - | ||||
| 2106 | - | var xMainDepth func() int | |||
| 2107 | - | ||||
| 2108 | - | // Returns the depth of the stack of calls to | |||
| 2109 | - | // [method@GLib.MainContext.dispatch] on any #GMainContext in the current thread. | |||
| 2110 | - | // | |||
| 2111 | - | // That is, when called from the top level, it gives `0`. When | |||
| 2112 | - | // called from within a callback from [method@GLib.MainContext.iteration] | |||
| 2113 | - | // (or [method@GLib.MainLoop.run], etc.) it returns `1`. When called from within | |||
| 2114 | - | // a callback to a recursive call to [method@GLib.MainContext.iteration], | |||
| 2115 | - | // it returns `2`. And so forth. | |||
| 2116 | - | // | |||
| 2117 | - | // This function is useful in a situation like the following: | |||
| 2118 | - | // Imagine an extremely simple ‘garbage collected’ system. | |||
| 2119 | - | // | |||
| 2120 | - | // ```c | |||
| 2121 | - | // static GList *free_list; | |||
| 2122 | - | // | |||
| 2123 | - | // gpointer | |||
| 2124 | - | // allocate_memory (gsize size) | |||
| 2125 | - | // | |||
| 2126 | - | // { | |||
| 2127 | - | // gpointer result = g_malloc (size); | |||
| 2128 | - | // free_list = g_list_prepend (free_list, result); | |||
| 2129 | - | // return result; | |||
| 2130 | - | // } | |||
| 2131 | - | // | |||
| 2132 | - | // void | |||
| 2133 | - | // free_allocated_memory (void) | |||
| 2134 | - | // | |||
| 2135 | - | // { | |||
| 2136 | - | // GList *l; | |||
| 2137 | - | // for (l = free_list; l; l = l->next); | |||
| 2138 | - | // g_free (l->data); | |||
| 2139 | - | // g_list_free (free_list); | |||
| 2140 | - | // free_list = NULL; | |||
| 2141 | - | // } | |||
| 2142 | - | // | |||
| 2143 | - | // [...] | |||
| 2144 | - | // | |||
| 2145 | - | // while (TRUE); | |||
| 2146 | - | // | |||
| 2147 | - | // { | |||
| 2148 | - | // g_main_context_iteration (NULL, TRUE); | |||
| 2149 | - | // free_allocated_memory(); | |||
| 2150 | - | // } | |||
| 2151 | - | // | |||
| 2152 | - | // ``` | |||
| 2153 | - | // | |||
| 2154 | - | // This works from an application, however, if you want to do the same | |||
| 2155 | - | // thing from a library, it gets more difficult, since you no longer | |||
| 2156 | - | // control the main loop. You might think you can simply use an idle | |||
| 2157 | - | // function to make the call to `free_allocated_memory()`, but that | |||
| 2158 | - | // doesn’t work, since the idle function could be called from a | |||
| 2159 | - | // recursive callback. This can be fixed by using [func@GLib.main_depth] | |||
| 2160 | - | // | |||
| 2161 | - | // ```c | |||
| 2162 | - | // gpointer | |||
| 2163 | - | // allocate_memory (gsize size) | |||
| 2164 | - | // | |||
| 2165 | - | // { | |||
| 2166 | - | // FreeListBlock *block = g_new (FreeListBlock, 1); | |||
| 2167 | - | // block->mem = g_malloc (size); | |||
| 2168 | - | // block->depth = g_main_depth (); | |||
| 2169 | - | // free_list = g_list_prepend (free_list, block); | |||
| 2170 | - | // return block->mem; | |||
| 2171 | - | // } | |||
| 2172 | - | // | |||
| 2173 | - | // void | |||
| 2174 | - | // free_allocated_memory (void) | |||
| 2175 | - | // | |||
| 2176 | - | // { | |||
| 2177 | - | // GList *l; | |||
| 2178 | - | // | |||
| 2179 | - | // int depth = g_main_depth (); | |||
| 2180 | - | // for (l = free_list; l; ); | |||
| 2181 | - | // { | |||
| 2182 | - | // GList *next = l->next; | |||
| 2183 | - | // FreeListBlock *block = l->data; | |||
| 2184 | - | // if (block->depth > depth) | |||
| 2185 | - | // { | |||
| 2186 | - | // g_free (block->mem); | |||
| 2187 | - | // g_free (block); | |||
| 2188 | - | // free_list = g_list_delete_link (free_list, l); | |||
| 2189 | - | // } | |||
| 2190 | - | // | |||
| 2191 | - | // l = next; | |||
| 2192 | - | // } | |||
| 2193 | - | // } | |||
| 2194 | - | // | |||
| 2195 | - | // ``` | |||
| 2196 | - | // | |||
| 2197 | - | // There is a temptation to use [func@GLib.main_depth] to solve | |||
| 2198 | - | // problems with reentrancy. For instance, while waiting for data | |||
| 2199 | - | // to be received from the network in response to a menu item, | |||
| 2200 | - | // the menu item might be selected again. It might seem that | |||
| 2201 | - | // one could make the menu item’s callback return immediately | |||
| 2202 | - | // and do nothing if [func@GLib.main_depth] returns a value greater than 1. | |||
| 2203 | - | // However, this should be avoided since the user then sees selecting | |||
| 2204 | - | // the menu item do nothing. Furthermore, you’ll find yourself adding | |||
| 2205 | - | // these checks all over your code, since there are doubtless many, | |||
| 2206 | - | // many things that the user could do. Instead, you can use the | |||
| 2207 | - | // following techniques: | |||
| 2208 | - | // | |||
| 2209 | - | // 1. Use `gtk_widget_set_sensitive()` or modal dialogs to prevent | |||
| 2210 | - | // the user from interacting with elements while the main | |||
| 2211 | - | // loop is recursing. | |||
| 2212 | - | // | |||
| 2213 | - | // 2. Avoid main loop recursion in situations where you can’t handle | |||
| 2214 | - | // arbitrary callbacks. Instead, structure your code so that you | |||
| 2215 | - | // simply return to the main loop and then get called again when | |||
| 2216 | - | // there is more work to do. | |||
| 2217 | - | func MainDepth() int { | |||
| 2218 | - | core.LazyRegister(&xMainDepth, "GLIB", "g_main_depth", false) | |||
| 2219 | - | ||||
| 2220 | - | cret := xMainDepth() | |||
| 2221 | - | return cret | |||
| 2222 | - | } | |||
| 2223 | - | ||||
| 2224 | - | var xSourceRemove func(uint) bool | |||
| 2225 | - | ||||
| 2226 | - | // Removes the source with the given ID from the default main context. | |||
| 2227 | - | // | |||
| 2228 | - | // You must | |||
| 2229 | - | // use [method@GLib.Source.destroy] for sources added to a non-default main context. | |||
| 2230 | - | // | |||
| 2231 | - | // The ID of a [struct@GLib.Source] is given by [method@GLib.Source.get_id], or will be | |||
| 2232 | - | // returned by the functions [method@GLib.Source.attach], [func@GLib.idle_add], | |||
| 2233 | - | // [func@GLib.idle_add_full], [func@GLib.timeout_add], | |||
| 2234 | - | // [func@GLib.timeout_add_full], [func@GLib.child_watch_add], | |||
| 2235 | - | // [func@GLib.child_watch_add_full], [func@GLib.io_add_watch], and | |||
| 2236 | - | // [func@GLib.io_add_watch_full]. | |||
| 2237 | - | // | |||
| 2238 | - | // It is a programmer error to attempt to remove a non-existent source. | |||
| 2239 | - | // | |||
| 2240 | - | // More specifically: source IDs can be reissued after a source has been | |||
| 2241 | - | // destroyed and therefore it is never valid to use this function with a | |||
| 2242 | - | // source ID which may have already been removed. An example is when | |||
| 2243 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |||
| 2244 | - | // idle may already have run and been removed by the time this function | |||
| 2245 | - | // is called on its (now invalid) source ID. This source ID may have | |||
| 2246 | - | // been reissued, leading to the operation being performed against the | |||
| 2247 | - | // wrong source. | |||
| 2248 | - | func SourceRemove(TagVar uint) bool { | |||
| 2249 | - | core.LazyRegister(&xSourceRemove, "GLIB", "g_source_remove", false) | |||
| 2250 | - | cret := xSourceRemove(TagVar) | |||
| 2251 | - | if cret { | |||
| 2252 | - | removeTrackedSource(TagVar) | |||
| 2253 | - | } | |||
| 2254 | - | return cret | |||
| 2255 | - | } | |||
| 2256 | - | ||||
| 2257 | - | var xSourceRemoveByFuncsUserData func(*SourceFuncs, uintptr) bool | |||
| 2258 | - | ||||
| 2259 | - | // Removes a source from the default main loop context given the | |||
| 2260 | - | // source functions and user data. | |||
| 2261 | - | // | |||
| 2262 | - | // If multiple sources exist with the same source functions and user data, only | |||
| 2263 | - | // one will be destroyed. | |||
| 2264 | - | func SourceRemoveByFuncsUserData(FuncsVar *SourceFuncs, UserDataVar uintptr) bool { | |||
| 2265 | - | core.LazyRegister(&xSourceRemoveByFuncsUserData, "GLIB", "g_source_remove_by_funcs_user_data", false) | |||
| 2266 | - | ||||
| 2267 | - | cret := xSourceRemoveByFuncsUserData(FuncsVar, UserDataVar) | |||
| 2268 | - | return cret | |||
| 2269 | - | } | |||
| 2270 | - | ||||
| 2271 | - | var xSourceRemoveByUserData func(uintptr) bool | |||
| 2272 | - | ||||
| 2273 | - | // Removes a source from the default main loop context given the user | |||
| 2274 | - | // data for the callback. | |||
| 2275 | - | // | |||
| 2276 | - | // If multiple sources exist with the same user data, only one will be destroyed. | |||
| 2277 | - | func SourceRemoveByUserData(UserDataVar uintptr) bool { | |||
| 2278 | - | core.LazyRegister(&xSourceRemoveByUserData, "GLIB", "g_source_remove_by_user_data", false) | |||
| 2279 | - | trackedSourceID := trackedSourceIDByUserData(UserDataVar) | |||
| 2280 | - | cret := xSourceRemoveByUserData(UserDataVar) | |||
| 2281 | - | if cret { | |||
| 2282 | - | removeTrackedSource(trackedSourceID) | |||
| 2283 | - | } | |||
| 2284 | - | return cret | |||
| 2285 | - | } | |||
| 2286 | - | ||||
| 2287 | - | var xSourceSetNameById func(uint, string) | |||
| 2288 | - | ||||
| 2289 | - | // Sets the name of a source using its ID. | |||
| 2290 | - | // | |||
| 2291 | - | // This is a convenience utility to set source names from the return | |||
| 2292 | - | // value of [func@GLib.idle_add], [func@GLib.timeout_add], etc. | |||
| 2293 | - | // | |||
| 2294 | - | // It is a programmer error to attempt to set the name of a non-existent | |||
| 2295 | - | // source. | |||
| 2296 | - | // | |||
| 2297 | - | // More specifically: source IDs can be reissued after a source has been | |||
| 2298 | - | // destroyed and therefore it is never valid to use this function with a | |||
| 2299 | - | // source ID which may have already been removed. An example is when | |||
| 2300 | - | // scheduling an idle to run in another thread with [func@GLib.idle_add]: the | |||
| 2301 | - | // idle may already have run and been removed by the time this function | |||
| 2302 | - | // is called on its (now invalid) source ID. This source ID may have | |||
| 2303 | - | // been reissued, leading to the operation being performed against the | |||
| 2304 | - | // wrong source. | |||
| 2305 | - | func SourceSetNameById(TagVar uint, NameVar string) { | |||
| 2306 | - | core.LazyRegister(&xSourceSetNameById, "GLIB", "g_source_set_name_by_id", false) | |||
| 2307 | - | ||||
| 2308 | - | xSourceSetNameById(TagVar, NameVar) | |||
| 2309 | - | } | |||
| 2310 | - | ||||
| 2311 | - | var xTimeoutAdd func(uint, uintptr, uintptr) uint | |||
| 2312 | - | ||||
| 2313 | - | // Sets a function to be called at regular intervals, with the default | |||
| 2314 | - | // priority, [const@GLib.PRIORITY_DEFAULT]. | |||
| 2315 | - | // | |||
| 2316 | - | // The given @function is called repeatedly until it returns | |||
| 2317 | - | // [const@GLib.SOURCE_REMOVE], at which point the timeout is | |||
| 2318 | - | // automatically destroyed and the function will not be called again. The first | |||
| 2319 | - | // call to the function will be at the end of the first @interval. | |||
| 2320 | - | // | |||
| 2321 | - | // Note that timeout functions may be delayed, due to the processing of other | |||
| 2322 | - | // event sources. Thus they should not be relied on for precise timing. | |||
| 2323 | - | // After each call to the timeout function, the time of the next | |||
| 2324 | - | // timeout is recalculated based on the current time and the given interval | |||
| 2325 | - | // (it does not try to ‘catch up’ time lost in delays). | |||
| 2326 | - | // | |||
| 2327 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 2328 | - | // on how to handle the return value and memory management of @data. | |||
| 2329 | - | // | |||
| 2330 | - | // If you want to have a timer in the ‘seconds’ range and do not care | |||
| 2331 | - | // about the exact time of the first call of the timer, use the | |||
| 2332 | - | // [func@GLib.timeout_add_seconds] function; this function allows for more | |||
| 2333 | - | // optimizations and more efficient system power usage. | |||
| 2334 | - | // | |||
| 2335 | - | // This internally creates a main loop source using | |||
| 2336 | - | // [func@GLib.timeout_source_new] and attaches it to the global | |||
| 2337 | - | // [struct@GLib.MainContext] using [method@GLib.Source.attach], so the callback | |||
| 2338 | - | // will be invoked in whichever thread is running that main context. You can do | |||
| 2339 | - | // these steps manually if you need greater control or to use a custom main | |||
| 2340 | - | // context. | |||
| 2341 | - | // | |||
| 2342 | - | // It is safe to call this function from any thread. | |||
| 2343 | - | // | |||
| 2344 | - | // The interval given is in terms of monotonic time, not wall clock | |||
| 2345 | - | // time. See [func@GLib.get_monotonic_time]. | |||
| 2346 | - | func TimeoutAdd(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint { | |||
| 2347 | - | core.LazyRegister(&xTimeoutAdd, "GLIB", "g_timeout_add", false) | |||
| 2348 | - | var functionRef uintptr | |||
| 2349 | - | if FunctionVar != nil { | |||
| 2350 | - | functionRef = sourceFuncTrampolineCb | |||
| 2351 | - | } | |||
| 2352 | - | cret := xTimeoutAdd(IntervalVar, functionRef, DataVar) | |||
| 2353 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 2354 | - | return cret | |||
| 2355 | - | } | |||
| 2356 | - | ||||
| 2357 | - | var xTimeoutAddFull func(int, uint, uintptr, uintptr, uintptr) uint | |||
| 2358 | - | ||||
| 2359 | - | // Sets a function to be called at regular intervals, with the given | |||
| 2360 | - | // priority. | |||
| 2361 | - | // | |||
| 2362 | - | // The function is called repeatedly until it returns | |||
| 2363 | - | // [const@GLib.SOURCE_REMOVE], at which point the timeout is automatically | |||
| 2364 | - | // destroyed and | |||
| 2365 | - | // the function will not be called again. The @notify function is | |||
| 2366 | - | // called when the timeout is destroyed. The first call to the | |||
| 2367 | - | // function will be at the end of the first @interval. | |||
| 2368 | - | // | |||
| 2369 | - | // Note that timeout functions may be delayed, due to the processing of other | |||
| 2370 | - | // event sources. Thus they should not be relied on for precise timing. | |||
| 2371 | - | // After each call to the timeout function, the time of the next | |||
| 2372 | - | // timeout is recalculated based on the current time and the given interval | |||
| 2373 | - | // (it does not try to ‘catch up’ time lost in delays). | |||
| 2374 | - | // | |||
| 2375 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 2376 | - | // on how to handle the return value and memory management of @data. | |||
| 2377 | - | // | |||
| 2378 | - | // This internally creates a main loop source using | |||
| 2379 | - | // [func@GLib.timeout_source_new] and attaches it to the global | |||
| 2380 | - | // [struct@GLib.MainContext] using [method@GLib.Source.attach], so the callback | |||
| 2381 | - | // will be invoked in whichever thread is running that main context. You can do | |||
| 2382 | - | // these steps manually if you need greater control or to use a custom main | |||
| 2383 | - | // context. | |||
| 2384 | - | // | |||
| 2385 | - | // The interval given is in terms of monotonic time, not wall clock time. | |||
| 2386 | - | // See [func@GLib.get_monotonic_time]. | |||
| 2387 | - | func TimeoutAddFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |||
| 2388 | - | core.LazyRegister(&xTimeoutAddFull, "GLIB", "g_timeout_add_full", false) | |||
| 2389 | - | var functionRef uintptr | |||
| 2390 | - | if FunctionVar != nil { | |||
| 2391 | - | functionRef = sourceFuncTrampolineCb | |||
| 2392 | - | } | |||
| 2393 | - | cret := xTimeoutAddFull(PriorityVar, IntervalVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |||
| 2394 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 2395 | - | return cret | |||
| 2396 | - | } | |||
| 2397 | - | ||||
| 2398 | - | var xTimeoutAddOnce func(uint, uintptr, uintptr) uint | |||
| 2399 | - | ||||
| 2400 | - | // Sets a function to be called after @interval milliseconds have elapsed, | |||
| 2401 | - | // with the default priority, [const@GLib.PRIORITY_DEFAULT]. | |||
| 2402 | - | // | |||
| 2403 | - | // The given @function is called once and then the source will be automatically | |||
| 2404 | - | // removed from the main context. | |||
| 2405 | - | // | |||
| 2406 | - | // This function otherwise behaves like [func@GLib.timeout_add]. | |||
| 2407 | - | func TimeoutAddOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |||
| 2408 | - | core.LazyRegister(&xTimeoutAddOnce, "GLIB", "g_timeout_add_once", false) | |||
| 2409 | - | var functionRef uintptr | |||
| 2410 | - | if FunctionVar != nil { | |||
| 2411 | - | functionRef = sourceOnceFuncTrampolineCb | |||
| 2412 | - | } | |||
| 2413 | - | cret := xTimeoutAddOnce(IntervalVar, functionRef, DataVar) | |||
| 2414 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |||
| 2415 | - | return cret | |||
| 2416 | - | } | |||
| 2417 | - | ||||
| 2418 | - | var xTimeoutAddSeconds func(uint, uintptr, uintptr) uint | |||
| 2419 | - | ||||
| 2420 | - | // Sets a function to be called at regular intervals with the default | |||
| 2421 | - | // priority, [const@GLib.PRIORITY_DEFAULT]. | |||
| 2422 | - | // | |||
| 2423 | - | // The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |||
| 2424 | - | // at which point the timeout is automatically destroyed | |||
| 2425 | - | // and the function will not be called again. | |||
| 2426 | - | // | |||
| 2427 | - | // This internally creates a main loop source using | |||
| 2428 | - | // [func@GLib.timeout_source_new_seconds] and attaches it to the main loop context | |||
| 2429 | - | // using [method@GLib.Source.attach]. You can do these steps manually if you need | |||
| 2430 | - | // greater control. Also see [func@GLib.timeout_add_seconds_full]. | |||
| 2431 | - | // | |||
| 2432 | - | // It is safe to call this function from any thread. | |||
| 2433 | - | // | |||
| 2434 | - | // Note that the first call of the timer may not be precise for timeouts | |||
| 2435 | - | // of one second. If you need finer precision and have such a timeout, | |||
| 2436 | - | // you may want to use [func@GLib.timeout_add] instead. | |||
| 2437 | - | // | |||
| 2438 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 2439 | - | // on how to handle the return value and memory management of @data. | |||
| 2440 | - | // | |||
| 2441 | - | // The interval given is in terms of monotonic time, not wall clock | |||
| 2442 | - | // time. See [func@GLib.get_monotonic_time]. | |||
| 2443 | - | func TimeoutAddSeconds(IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr) uint { | |||
| 2444 | - | core.LazyRegister(&xTimeoutAddSeconds, "GLIB", "g_timeout_add_seconds", false) | |||
| 2445 | - | var functionRef uintptr | |||
| 2446 | - | if FunctionVar != nil { | |||
| 2447 | - | functionRef = sourceFuncTrampolineCb | |||
| 2448 | - | } | |||
| 2449 | - | cret := xTimeoutAddSeconds(IntervalVar, functionRef, DataVar) | |||
| 2450 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 2451 | - | return cret | |||
| 2452 | - | } | |||
| 2453 | - | ||||
| 2454 | - | var xTimeoutAddSecondsFull func(int, uint, uintptr, uintptr, uintptr) uint | |||
| 2455 | - | ||||
| 2456 | - | // Sets a function to be called at regular intervals, with @priority. | |||
| 2457 | - | // | |||
| 2458 | - | // The function is called repeatedly until it returns [const@GLib.SOURCE_REMOVE], | |||
| 2459 | - | // at which point the timeout is automatically destroyed and | |||
| 2460 | - | // the function will not be called again. | |||
| 2461 | - | // | |||
| 2462 | - | // Unlike [func@GLib.timeout_add], this function operates at whole second | |||
| 2463 | - | // granularity. The initial starting point of the timer is determined by the | |||
| 2464 | - | // implementation and the implementation is expected to group multiple timers | |||
| 2465 | - | // together so that they fire all at the same time. To allow this grouping, | |||
| 2466 | - | // the @interval to the first timer is rounded and can deviate up to one second | |||
| 2467 | - | // from the specified interval. Subsequent timer iterations will generally run | |||
| 2468 | - | // at the specified interval. | |||
| 2469 | - | // | |||
| 2470 | - | // Note that timeout functions may be delayed, due to the processing of other | |||
| 2471 | - | // event sources. Thus they should not be relied on for precise timing. | |||
| 2472 | - | // After each call to the timeout function, the time of the next | |||
| 2473 | - | // timeout is recalculated based on the current time and the given @interval | |||
| 2474 | - | // | |||
| 2475 | - | // See [main loop memory management](main-loop.html#memory-management-of-sources) for details | |||
| 2476 | - | // on how to handle the return value and memory management of @data. | |||
| 2477 | - | // | |||
| 2478 | - | // If you want timing more precise than whole seconds, use | |||
| 2479 | - | // [func@GLib.timeout_add] instead. | |||
| 2480 | - | // | |||
| 2481 | - | // The grouping of timers to fire at the same time results in a more power | |||
| 2482 | - | // and CPU efficient behavior so if your timer is in multiples of seconds | |||
| 2483 | - | // and you don’t require the first timer exactly one second from now, the | |||
| 2484 | - | // use of [func@GLib.timeout_add_seconds] is preferred over | |||
| 2485 | - | // [func@GLib.timeout_add]. | |||
| 2486 | - | // | |||
| 2487 | - | // This internally creates a main loop source using | |||
| 2488 | - | // [func@GLib.timeout_source_new_seconds] and attaches it to the main loop | |||
| 2489 | - | // context using [method@GLib.Source.attach]. You can do these steps manually | |||
| 2490 | - | // if you need greater control. | |||
| 2491 | - | // | |||
| 2492 | - | // It is safe to call this function from any thread. | |||
| 2493 | - | // | |||
| 2494 | - | // The interval given is in terms of monotonic time, not wall clock | |||
| 2495 | - | // time. See [func@GLib.get_monotonic_time]. | |||
| 2496 | - | func TimeoutAddSecondsFull(PriorityVar int, IntervalVar uint, FunctionVar *SourceFunc, DataVar uintptr, NotifyVar *DestroyNotify) uint { | |||
| 2497 | - | core.LazyRegister(&xTimeoutAddSecondsFull, "GLIB", "g_timeout_add_seconds_full", false) | |||
| 2498 | - | var functionRef uintptr | |||
| 2499 | - | if FunctionVar != nil { | |||
| 2500 | - | functionRef = sourceFuncTrampolineCb | |||
| 2501 | - | } | |||
| 2502 | - | cret := xTimeoutAddSecondsFull(PriorityVar, IntervalVar, functionRef, DataVar, NewCallbackNullable(NotifyVar)) | |||
| 2503 | - | trackSourceFunc(cret, FunctionVar, DataVar) | |||
| 2504 | - | return cret | |||
| 2505 | - | } | |||
| 2506 | - | ||||
| 2507 | - | var xTimeoutAddSecondsOnce func(uint, uintptr, uintptr) uint | |||
| 2508 | - | ||||
| 2509 | - | // This function behaves like [func@GLib.timeout_add_once] but with a range in | |||
| 2510 | - | // seconds. | |||
| 2511 | - | func TimeoutAddSecondsOnce(IntervalVar uint, FunctionVar *SourceOnceFunc, DataVar uintptr) uint { | |||
| 2512 | - | core.LazyRegister(&xTimeoutAddSecondsOnce, "GLIB", "g_timeout_add_seconds_once", false) | |||
| 2513 | - | var functionRef uintptr | |||
| 2514 | - | if FunctionVar != nil { | |||
| 2515 | - | functionRef = sourceOnceFuncTrampolineCb | |||
| 2516 | - | } | |||
| 2517 | - | cret := xTimeoutAddSecondsOnce(IntervalVar, functionRef, DataVar) | |||
| 2518 | - | trackSourceOnceFunc(cret, FunctionVar, DataVar) | |||
| 2519 | - | return cret | |||
| 2520 | - | } | |||
| 2521 | - | ||||
| 2522 | - | var xTimeoutSourceNew func(uint) uintptr | |||
| 2523 | - | ||||
| 2524 | - | // Creates a new timeout source. | |||
| 2525 | - | // | |||
| 2526 | - | // The source will not initially be associated with any [struct@GLib.MainContext] | |||
| 2527 | - | // and must be added to one with [method@GLib.Source.attach] before it will be | |||
| 2528 | - | // executed. | |||
| 2529 | - | // | |||
| 2530 | - | // The interval given is in terms of monotonic time, not wall clock | |||
| 2531 | - | // time. See [func@GLib.get_monotonic_time]. | |||
| 2532 | - | func TimeoutSourceNew(IntervalVar uint) *Source { | |||
| 2533 | - | core.LazyRegister(&xTimeoutSourceNew, "GLIB", "g_timeout_source_new", false) | |||
| 2534 | - | ||||
| 2535 | - | cret := xTimeoutSourceNew(IntervalVar) | |||
| 2536 | - | if cret == 0 { | |||
| 2537 | - | return nil | |||
| 2538 | - | } | |||
| 2539 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 2540 | - | } | |||
| 2541 | - | ||||
| 2542 | - | var xTimeoutSourceNewSeconds func(uint) uintptr | |||
| 2543 | - | ||||
| 2544 | - | // Creates a new timeout source. | |||
| 2545 | - | // | |||
| 2546 | - | // The source will not initially be associated with any | |||
| 2547 | - | // [struct@GLib.MainContext] and must be added to one with | |||
| 2548 | - | // [method@GLib.Source.attach] before it will be executed. | |||
| 2549 | - | // | |||
| 2550 | - | // The scheduling granularity/accuracy of this timeout source will be | |||
| 2551 | - | // in seconds. | |||
| 2552 | - | // | |||
| 2553 | - | // The interval given is in terms of monotonic time, not wall clock time. | |||
| 2554 | - | // See [func@GLib.get_monotonic_time]. | |||
| 2555 | - | func TimeoutSourceNewSeconds(IntervalVar uint) *Source { | |||
| 2556 | - | core.LazyRegister(&xTimeoutSourceNewSeconds, "GLIB", "g_timeout_source_new_seconds", false) | |||
| 2557 | - | ||||
| 2558 | - | cret := xTimeoutSourceNewSeconds(IntervalVar) | |||
| 2559 | - | if cret == 0 { | |||
| 2560 | - | return nil | |||
| 2561 | - | } | |||
| 2562 | - | return (*Source)(unsafe.Pointer(cret)) | |||
| 2563 | - | } | |||
| 2564 | - | ||||
| 2565 | - | func init() { | |||
| 2566 | - | core.SetPackageName("GLIB", "glib-2.0") | |||
| 2567 | - | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |||
| 2568 | - | } | |||
D vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +0 -178 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +0 -788 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmem.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +0 -1030 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gnode.go +0 -439 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/goption.go +0 -666 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +0 -205 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +0 -24 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +0 -116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +0 -35 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gquark.go +0 -153 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +0 -503 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grand.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +0 -200 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gregex.go +0 -1625 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/grel.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +0 -483 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +0 -603 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gshell.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslice.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gslist.go +0 -47 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +0 -607 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +0 -381 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +0 -1164 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstring.go +0 -622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +0 -176 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +0 -1491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthread.go +0 -2487 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +0 -278 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +0 -378 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtree.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +0 -1703 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guri.go +0 -1112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gutils.go +0 -766 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/guuid.go +0 -38 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +0 -3134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversion.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/gversionmacros.go +0 -18 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/main.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_sysv.go +0 -29 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/glib/more_windows.go +0 -6 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/gmoduleconf.go +0 -12 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gmodule/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +0 -142 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +0 -58 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +0 -549 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/genums.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +0 -2267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +0 -1291 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +0 -839 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +0 -43 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +0 -1702 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +0 -380 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +0 -951 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluecollector.go +0 -11 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/main.go +0 -37 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/more.go +0 -160 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gobject/types/types.go +0 -3 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-config.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +0 -408 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-macros.go +0 -8 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +0 -885 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +0 -220 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +0 -235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +0 -274 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +0 -137 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +0 -244 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-types.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +0 -331 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +0 -417 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +0 -87 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +0 -112 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +0 -89 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +0 -79 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +0 -105 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +0 -91 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +0 -127 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +0 -682 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +0 -95 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +0 -109 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +0 -88 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +0 -69 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +0 -118 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +0 -189 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrenderreplay.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +0 -94 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +0 -191 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +0 -19 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +0 -115 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +0 -25 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +0 -93 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +0 -2171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +0 -1303 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +0 -857 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +0 -484 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +0 -111 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +0 -579 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +0 -361 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +0 -460 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +0 -604 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +0 -656 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +0 -681 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +0 -1023 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +0 -944 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +0 -517 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +0 -1046 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +0 -140 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +0 -318 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +0 -592 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +0 -717 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +0 -206 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +0 -910 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +0 -836 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +0 -1892 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +0 -431 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +0 -226 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +0 -1060 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +0 -168 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +0 -114 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +0 -764 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +0 -224 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +0 -691 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +0 -268 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +0 -872 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +0 -565 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +0 -317 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +0 -33 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +0 -935 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +0 -213 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +0 -472 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +0 -337 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +0 -1338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +0 -649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +0 -362 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +0 -316 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +0 -552 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssenums.go +0 -40 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +0 -32 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsslocation.go +0 -34 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +0 -201 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +0 -108 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +0 -1015 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +0 -48 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +0 -415 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +0 -384 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +0 -227 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +0 -757 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +0 -536 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +0 -340 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +0 -1116 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +0 -686 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +0 -463 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +0 -2296 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +0 -665 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +0 -772 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +0 -2235 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +0 -263 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +0 -204 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +0 -730 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +0 -975 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +0 -711 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +0 -934 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +0 -662 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +0 -1084 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +0 -324 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +0 -249 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +0 -485 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +0 -447 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +0 -196 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +0 -251 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +0 -1649 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +0 -773 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +0 -643 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +0 -532 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +0 -411 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +0 -712 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +0 -559 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +0 -188 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +0 -180 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +0 -134 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +0 -120 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +0 -292 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +0 -122 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +0 -1007 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +0 -491 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +0 -494 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +0 -759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +0 -635 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +0 -349 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +0 -535 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +0 -1817 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +0 -879 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +0 -1256 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmodule.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +0 -229 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +0 -705 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +0 -881 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +0 -1759 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +0 -714 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +0 -583 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +0 -1802 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +0 -181 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +0 -945 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +0 -815 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +0 -571 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +0 -312 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +0 -377 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +0 -560 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +0 -1173 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +0 -917 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +0 -751 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +0 -286 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +0 -518 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +0 -216 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +0 -185 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +0 -474 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +0 -356 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +0 -1572 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +0 -489 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +0 -207 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +0 -223 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +0 -454 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +0 -497 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +0 -930 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +0 -375 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +0 -82 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +0 -835 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +0 -931 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +0 -627 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +0 -407 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +0 -272 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +0 -488 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +0 -564 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +0 -486 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +0 -1921 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +0 -1024 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +0 -756 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +0 -659 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +0 -968 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +0 -913 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +0 -171 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +0 -539 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +0 -144 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +0 -736 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +0 -726 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +0 -266 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +0 -406 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +0 -1169 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +0 -970 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +0 -156 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +0 -208 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +0 -606 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +0 -1332 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +0 -640 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +0 -330 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +0 -135 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +0 -510 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +0 -597 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +0 -605 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +0 -53 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +0 -505 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +0 -320 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +0 -864 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +0 -482 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +0 -401 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +0 -1420 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +0 -397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +0 -1398 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +0 -371 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +0 -394 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +0 -464 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +0 -396 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +0 -199 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +0 -521 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +0 -76 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +0 -877 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +0 -598 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +0 -65 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +0 -1750 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +0 -2305 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +0 -237 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +0 -1468 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +0 -1574 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +0 -238 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +0 -2855 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +0 -667 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +0 -165 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +0 -611 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +0 -593 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +0 -125 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +0 -1898 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +0 -741 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +0 -688 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +0 -334 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +0 -379 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +0 -899 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +0 -2734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +0 -1028 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +0 -534 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +0 -174 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +0 -630 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +0 -504 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +0 -5777 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +0 -258 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +0 -2182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +0 -551 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +0 -231 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +0 -383 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/gtk/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +0 -519 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +0 -414 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +0 -252 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +0 -234 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +0 -1092 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +0 -72 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +0 -123 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/main.go +0 -21 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +0 -1850 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +0 -139 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +0 -430 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +0 -202 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +0 -59 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-features.go +0 -13 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +0 -2354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +0 -573 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +0 -102 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +0 -366 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +0 -307 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +0 -440 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +0 -143 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +0 -253 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +0 -1847 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +0 -248 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +0 -789 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +0 -419 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +0 -283 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +0 -246 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +0 -302 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +0 -155 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +0 -402 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +0 -64 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +0 -45 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +0 -540 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +0 -242 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +0 -86 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +0 -101 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +0 -110 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +0 -467 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +0 -162 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +0 -67 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +0 -146 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +0 -250 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +0 -107 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +0 -308 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-policy.go +0 -7 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +0 -265 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +0 -285 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +0 -642 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +0 -1445 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +0 -254 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +0 -161 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +0 -700 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +0 -1002 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +0 -68 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +0 -1397 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +0 -854 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +0 -96 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +0 -636 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +0 -66 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +0 -70 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +0 -133 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +0 -343 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +0 -212 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +0 -243 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +0 -106 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +0 -182 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +0 -344 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +0 -276 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +0 -347 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +0 -187 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +0 -85 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +0 -429 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditingCommands.go +0 -61 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +0 -193 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +0 -328 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +0 -195 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +0 -326 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +0 -219 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +0 -351 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +0 -281 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +0 -100 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +0 -354 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +0 -267 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +0 -1260 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +0 -97 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +0 -215 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +0 -183 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +0 -92 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +0 -147 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +0 -423 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +0 -210 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +0 -184 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +0 -129 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +0 -149 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +0 -131 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +0 -84 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +0 -341 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +0 -273 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +0 -177 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +0 -218 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +0 -163 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +0 -2622 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +0 -148 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +0 -194 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +0 -197 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +0 -141 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +0 -28 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +0 -323 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +0 -289 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +0 -432 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +0 -130 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +0 -230 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +0 -78 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +0 -650 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +0 -617 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +0 -264 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +0 -388 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +0 -280 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +0 -4734 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewBase.go +0 -444 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewGtk4.go +0 -55 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebViewSessionState.go +0 -98 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteData.go +0 -124 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataAccessPermissionRequest.go +0 -103 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsiteDataManager.go +0 -545 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebsitePolicies.go +0 -138 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitWindowProperties.go +0 -338 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/WebKitXRPermissionRequest.go +0 -241 collapsed to keep the page light
D vendor/github.com/bnema/puregotk/v4/webkit/more.go +0 -234 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/LICENSE +0 -20 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/README.md +0 -30 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/backoff.go +0 -66 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/context.go +0 -62 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/exponential.go +0 -216 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/retry.go +0 -146 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/ticker.go +0 -97 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/timer.go +0 -35 collapsed to keep the page light
D vendor/github.com/cenkalti/backoff/v4/tries.go +0 -38 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/cursor/cursor.go +0 -221 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/help/help.go +0 -240 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/key/key.go +0 -140 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/README.md +0 -71 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/defaultitem.go +0 -229 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/keys.go +0 -97 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/list.go +0 -1330 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/list/style.go +0 -99 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/paginator/paginator.go +0 -214 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/runeutil/runeutil.go +0 -102 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/spinner/spinner.go +0 -224 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/table/table.go +0 -450 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/textinput/textinput.go +0 -890 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/keymap.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbles/viewport/viewport.go +0 -544 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitattributes +0 -1 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.gitignore +0 -23 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.golangci.yml +0 -44 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/README.md +0 -400 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/Taskfile.yaml +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/commands.go +0 -222 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/exec.go +0 -133 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_other.go +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/inputreader_windows.go +0 -129 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key.go +0 -715 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_other.go +0 -13 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_sequences.go +0 -130 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/key_windows.go +0 -441 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/logging.go +0 -53 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/mouse.go +0 -308 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/nil_renderer.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/options.go +0 -252 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/renderer.go +0 -88 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/screen.go +0 -248 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_unix.go +0 -33 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/signals_windows.go +0 -10 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/standard_renderer.go +0 -790 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea.go +0 -941 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tea_init.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty.go +0 -141 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_unix.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/bubbletea/tty_windows.go +0 -68 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.golangci.yml +0 -47 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/.goreleaser.yml +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/README.md +0 -109 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/doc.go +0 -4 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env.go +0 -294 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_other.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/env_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/profile.go +0 -108 collapsed to keep the page light
D vendor/github.com/charmbracelet/colorprofile/writer.go +0 -171 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.golangci.yml +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/.goreleaser.yml +0 -5 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/README.md +0 -815 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/Taskfile.yaml +0 -19 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/align.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_unix.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ansi_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/borders.go +0 -490 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/color.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/get.go +0 -556 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/join.go +0 -175 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/position.go +0 -154 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/ranges.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/renderer.go +0 -181 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/runes.go +0 -43 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/set.go +0 -799 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/size.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/style.go +0 -588 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/unset.go +0 -331 collapsed to keep the page light
D vendor/github.com/charmbracelet/lipgloss/whitespace.go +0 -83 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ansi.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ascii.go +0 -8 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/background.go +0 -178 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c0.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/c1.go +0 -72 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/charset.go +0 -55 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/clipboard.go +0 -75 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/color.go +0 -784 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/ctrl.go +0 -156 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cursor.go +0 -637 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/cwd.go +0 -26 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/doc.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/finalterm.go +0 -67 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/focus.go +0 -9 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/graphics.go +0 -62 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/hyperlink.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/inband.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/iterm2.go +0 -18 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/keypad.go +0 -28 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/kitty.go +0 -90 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/method.go +0 -196 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode.go +0 -690 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mode_deprecated.go +0 -495 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/modes.go +0 -65 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/mouse.go +0 -172 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/notification.go +0 -32 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/palette.go +0 -34 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser.go +0 -417 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/const.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/seq.go +0 -136 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser/transition_table.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_decode.go +0 -525 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_handler.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/parser_sync.go +0 -29 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/passthrough.go +0 -60 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/paste.go +0 -7 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/progress.go +0 -49 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/reset.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/screen.go +0 -410 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/sgr.go +0 -79 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/status.go +0 -168 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/style.go +0 -819 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/termcap.go +0 -41 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/title.go +0 -48 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/truncate.go +0 -290 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/urxvt.go +0 -17 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/util.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/width.go +0 -107 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/winop.go +0 -59 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/wrap.go +0 -472 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/ansi/xterm.go +0 -138 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/buffer.go +0 -474 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/cell.go +0 -487 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/errors.go +0 -6 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/geom.go +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hardscroll.go +0 -273 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/hashmap.go +0 -301 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/link.go +0 -14 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/pen.go +0 -92 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/screen.go +0 -1514 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/sequence.go +0 -131 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/style.go +0 -31 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/tabstop.go +0 -137 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/utils.go +0 -24 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/wrap.go +0 -191 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/cellbuf/writer.go +0 -340 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term.go +0 -51 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_other.go +0 -39 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_plan9.go +0 -118 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix.go +0 -96 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_bsd.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_unix_other.go +0 -11 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/term_windows.go +0 -87 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/terminal.go +0 -12 collapsed to keep the page light
D vendor/github.com/charmbracelet/x/term/util.go +0 -47 collapsed to keep the page light
D vendor/github.com/cli/browser/LICENSE +0 -23 collapsed to keep the page light
D vendor/github.com/cli/browser/README.md +0 -20 collapsed to keep the page light
D vendor/github.com/cli/browser/browser.go +0 -57 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_darwin.go +0 -5 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_freebsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_linux.go +0 -21 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_openbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_unsupported.go +0 -12 collapsed to keep the page light
D vendor/github.com/cli/browser/browser_windows.go +0 -7 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/.gitignore +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/AGENTS.md +0 -51 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/CHANGELOG.md +0 -129 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/README.md +0 -190 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/gen.go +0 -3 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/graphemes.go +0 -73 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/options.go +0 -30 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/trie.go +0 -1699 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/truncate.go +0 -149 collapsed to keep the page light
D vendor/github.com/clipperhouse/displaywidth/width.go +0 -239 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/README.md +0 -120 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi.go +0 -138 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/ansi8.go +0 -79 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/iterator.go +0 -144 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/reader.go +0 -25 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/splitfunc.go +0 -205 collapsed to keep the page light
D vendor/github.com/clipperhouse/uax29/v2/graphemes/trie.go +0 -1717 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +0 -21 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/debug.go +0 -62 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/md2man.go +0 -24 collapsed to keep the page light
D vendor/github.com/cpuguy83/go-md2man/v2/md2man/roff.go +0 -416 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/LICENSE +0 -15 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypass.go +0 -145 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/bypasssafe.go +0 -38 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/common.go +0 -341 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/config.go +0 -306 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/doc.go +0 -211 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/dump.go +0 -509 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/format.go +0 -419 collapsed to keep the page light
D vendor/github.com/davecgh/go-spew/spew/spew.go +0 -148 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/.golangci.yml +0 -24 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/README.md +0 -2 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/keycodes.go +0 -205 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/mode.go +0 -82 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/read.go +0 -154 collapsed to keep the page light
D vendor/github.com/erikgeiser/coninput/records.go +0 -486 collapsed to keep the page light
D vendor/github.com/fatih/color/LICENSE.md +0 -20 collapsed to keep the page light
D vendor/github.com/fatih/color/README.md +0 -189 collapsed to keep the page light
D vendor/github.com/fatih/color/color.go +0 -733 collapsed to keep the page light
D vendor/github.com/fatih/color/color_windows.go +0 -22 collapsed to keep the page light
D vendor/github.com/fatih/color/doc.go +0 -134 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/.mailmap +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +0 -651 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/CONTRIBUTING.md +0 -147 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/README.md +0 -214 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_fen.go +0 -469 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_inotify.go +0 -597 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +0 -735 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_other.go +0 -22 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/backend_windows.go +0 -702 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/fsnotify.go +0 -526 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/darwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_darwin.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_dragonfly.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_kqueue.go +0 -32 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_linux.go +0 -56 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_netbsd.go +0 -15 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_openbsd.go +0 -16 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_solaris.go +0 -45 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/debug_windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/freebsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/internal.go +0 -2 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix.go +0 -20 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/unix2.go +0 -25 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/internal/windows.go +0 -40 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/shared.go +0 -64 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/staticcheck.conf +0 -3 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_bsd.go +0 -7 collapsed to keep the page light
D vendor/github.com/fsnotify/fsnotify/system_darwin.go +0 -8 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.editorconfig +0 -24 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.envrc +0 -7 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.gitignore +0 -10 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/CHANGELOG.md +0 -104 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/README.md +0 -81 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/decode_hooks.go +0 -714 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.nix +0 -14 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/errors.go +0 -244 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/errors.go +0 -11 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join.go +0 -9 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/internal/errors/join_go1_19.go +0 -61 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/mapstructure.go +0 -1948 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_19.go +0 -44 collapsed to keep the page light
D vendor/github.com/go-viper/mapstructure/v2/reflect_go1_20.go +0 -10 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.cirrus.yml +0 -11 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/.golangci.yml +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/LICENSE +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/MAINTAINERS +0 -3 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/README.md +0 -47 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/SECURITY.md +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth.go +0 -257 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_anonymous.go +0 -16 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_other.go +0 -7 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_default_windows.go +0 -5 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_external.go +0 -26 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/auth_sha1_windows.go +0 -109 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/call.go +0 -66 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn.go +0 -1009 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_darwin.go +0 -36 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_other.go +0 -83 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_unix.go +0 -40 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/conn_windows.go +0 -13 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/dbus.go +0 -427 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/decoder.go +0 -376 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/default_handler.go +0 -338 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/doc.go +0 -70 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/encoder.go +0 -235 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/escape.go +0 -84 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/export.go +0 -484 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/match.go +0 -89 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/message.go +0 -393 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/object.go +0 -181 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequence.go +0 -24 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sequential_handler.go +0 -125 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/server_interfaces.go +0 -107 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/sig.go +0 -298 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_darwin.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_generic.go +0 -52 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_nonce_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_tcp.go +0 -41 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unix.go +0 -291 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_dragonfly.go +0 -95 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_freebsd.go +0 -94 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_linux.go +0 -25 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_netbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_unixcred_openbsd.go +0 -14 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/transport_zos.go +0 -6 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant.go +0 -169 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_lexer.go +0 -284 collapsed to keep the page light
D vendor/github.com/godbus/dbus/v5/variant_parser.go +0 -815 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/LICENSE +0 -201 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_others.go +0 -16 collapsed to keep the page light
D vendor/github.com/inconshreveable/mousetrap/trap_windows.go +0 -42 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/.gitignore +0 -101 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/CHANGELOG.md +0 -72 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/LICENSE +0 -7 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/README.md +0 -490 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colorgens.go +0 -67 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/colors.go +0 -1156 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/happy_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hexcolor.go +0 -91 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv-snapshot-rev4.json +0 -1 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/hsluv.go +0 -208 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/rand.go +0 -22 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/soft_palettegen.go +0 -192 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/sort.go +0 -191 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/warm_palettegen.go +0 -29 collapsed to keep the page light
D vendor/github.com/lucasb-eyer/go-colorful/widegamut.go +0 -290 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/README.md +0 -48 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_others.go +0 -38 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/colorable_windows.go +0 -1047 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-colorable/noncolorable.go +0 -57 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/LICENSE +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/README.md +0 -50 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/go.test.sh +0 -12 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_bsd.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_others.go +0 -17 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_plan9.go +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_solaris.go +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_tcgets.go +0 -20 collapsed to keep the page light
D vendor/github.com/mattn/go-isatty/isatty_windows.go +0 -136 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/README.md +0 -23 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader.go +0 -19 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_unix.go +0 -11 collapsed to keep the page light
D vendor/github.com/mattn/go-localereader/localereader_windows.go +0 -85 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/README.md +0 -27 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/benchstat.txt +0 -43 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/new.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/old.txt +0 -54 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth.go +0 -420 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_appengine.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_js.go +0 -9 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_posix.go +0 -81 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_table.go +0 -488 collapsed to keep the page light
D vendor/github.com/mattn/go-runewidth/runewidth_windows.go +0 -34 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/LICENSE.txt +0 -24 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/README.md +0 -85 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/env.go +0 -53 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/interpolate.go +0 -213 collapsed to keep the page light
D vendor/github.com/mfridman/interpolate/parser.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/ansi/.golangci.yml +0 -27 collapsed to keep the page light
D vendor/github.com/muesli/ansi/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/ansi/README.md +0 -31 collapsed to keep the page light
D vendor/github.com/muesli/ansi/ansi.go +0 -7 collapsed to keep the page light
D vendor/github.com/muesli/ansi/buffer.go +0 -40 collapsed to keep the page light
D vendor/github.com/muesli/ansi/compressor/writer.go +0 -132 collapsed to keep the page light
D vendor/github.com/muesli/ansi/writer.go +0 -76 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci-soft.yml +0 -47 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/.golangci.yml +0 -29 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/README.md +0 -64 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader.go +0 -93 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_bsd.go +0 -146 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_default.go +0 -12 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_linux.go +0 -154 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_select.go +0 -136 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_unix.go +0 -18 collapsed to keep the page light
D vendor/github.com/muesli/cancelreader/cancelreader_windows.go +0 -244 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.gitignore +0 -15 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci-soft.yml +0 -43 collapsed to keep the page light
D vendor/github.com/muesli/termenv/.golangci.yml +0 -28 collapsed to keep the page light
D vendor/github.com/muesli/termenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/muesli/termenv/README.md +0 -431 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansi_compat.md +0 -65 collapsed to keep the page light
D vendor/github.com/muesli/termenv/ansicolors.go +0 -281 collapsed to keep the page light
D vendor/github.com/muesli/termenv/color.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_linux.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_solaris.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_unix.go +0 -13 collapsed to keep the page light
D vendor/github.com/muesli/termenv/constants_zos.go +0 -8 collapsed to keep the page light
D vendor/github.com/muesli/termenv/copy.go +0 -37 collapsed to keep the page light
D vendor/github.com/muesli/termenv/hyperlink.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/notification.go +0 -11 collapsed to keep the page light
D vendor/github.com/muesli/termenv/output.go +0 -205 collapsed to keep the page light
D vendor/github.com/muesli/termenv/profile.go +0 -112 collapsed to keep the page light
D vendor/github.com/muesli/termenv/screen.go +0 -590 collapsed to keep the page light
D vendor/github.com/muesli/termenv/style.go +0 -126 collapsed to keep the page light
D vendor/github.com/muesli/termenv/templatehelper.go +0 -88 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv.go +0 -115 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_other.go +0 -30 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_posix.go +0 -17 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_solaris.go +0 -22 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_unix.go +0 -301 collapsed to keep the page light
D vendor/github.com/muesli/termenv/termenv_windows.go +0 -140 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/.gitignore +0 -24 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/README.md +0 -35 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/atomic.go +0 -73 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_unix.go +0 -14 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/file_windows.go +0 -33 collapsed to keep the page light
D vendor/github.com/natefinch/atomic/zfile_windows.go +0 -27 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.dockerignore +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitattributes +0 -4 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.golangci.toml +0 -76 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/.goreleaser.yaml +0 -128 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/AGENTS.md +0 -73 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/CONTRIBUTING.md +0 -254 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/Dockerfile +0 -6 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/README.md +0 -327 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/SECURITY.md +0 -16 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/capability_baseline.txt +0 -1 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/caps.sh +0 -101 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/ci.sh +0 -293 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode.go +0 -538 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/decode_fused.go +0 -362 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/doc.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/errors.go +0 -233 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/parserbridge/parserbridge.go +0 -37 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/key.go +0 -49 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/seen.go +0 -450 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/internal/tracker/tracker.go +0 -2 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/localtime.go +0 -121 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/marshaler.go +0 -1697 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/strict.go +0 -108 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/test-go-versions.sh +0 -597 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/toml.abnf +0 -246 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/types.go +0 -24 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unmarshaler.go +0 -2396 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/ast.go +0 -124 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/bridge.go +0 -21 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/doc.go +0 -3 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/kind.go +0 -83 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/marshaler.go +0 -29 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/parser.go +0 -1686 collapsed to keep the page light
D vendor/github.com/pelletier/go-toml/v2/unstable/unmarshaler.go +0 -43 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/LICENSE +0 -27 collapsed to keep the page light
D vendor/github.com/pmezard/go-difflib/difflib/difflib.go +0 -772 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.gitignore +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.golangci.yaml +0 -31 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/.goreleaser.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/CHANGELOG.md +0 -350 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/Makefile +0 -150 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/README.md +0 -500 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/create.go +0 -116 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier.go +0 -25 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialect/querier_extended.go +0 -22 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/dialects.go +0 -214 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/doc.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/sql_extended.go +0 -23 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/database/store_extended.go +0 -33 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/db.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/dialect.go +0 -74 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/down.go +0 -107 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/fix.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/globals.go +0 -104 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/goose.go +0 -141 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/helpers.go +0 -84 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/install.sh +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/controller/store.go +0 -37 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/clickhouse.go +0 -53 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/dsql.go +0 -66 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/mysql.go +0 -62 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/postgres.go +0 -70 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/redshift.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/spanner.go +0 -50 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlite3.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/sqlserver.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/starrocks.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/tidb.go +0 -52 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/turso.go +0 -14 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/vertica.go +0 -54 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/dialects/ydb.go +0 -72 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/gooseutil/resolve.go +0 -118 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/legacystore/legacystore.go +0 -173 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parse.go +0 -59 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/internal/sqlparser/parser.go +0 -394 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/postgres.go +0 -282 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/store/store.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/config.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/internal/table/locker.go +0 -237 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/locker.go +0 -32 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/postgres.go +0 -165 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/session_locker_options.go +0 -98 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/lock/table_locker_options.go +0 -136 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/log.go +0 -36 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migrate.go +0 -379 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration.go +0 -398 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/migration_sql.go +0 -115 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/osfs.go +0 -28 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider.go +0 -669 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_collect.go +0 -196 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_errors.go +0 -48 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_options.go +0 -280 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_run.go +0 -535 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/provider_types.go +0 -91 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/redo.go +0 -51 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/register.go +0 -133 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/reset.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/status.go +0 -64 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/up.go +0 -221 collapsed to keep the page light
D vendor/github.com/pressly/goose/v3/version.go +0 -52 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/LICENSE.txt +0 -21 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/README.md +0 -137 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/doc.go +0 -108 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/eastasianwidth.go +0 -2588 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/emojipresentation.go +0 -295 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_breaktest.go +0 -215 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/gen_properties.go +0 -261 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/grapheme.go +0 -331 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemeproperties.go +0 -1915 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/graphemerules.go +0 -176 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/line.go +0 -134 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/lineproperties.go +0 -3554 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/linerules.go +0 -626 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/properties.go +0 -208 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentence.go +0 -90 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentenceproperties.go +0 -2845 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/sentencerules.go +0 -276 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/step.go +0 -242 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/width.go +0 -61 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/word.go +0 -89 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordproperties.go +0 -1883 collapsed to keep the page light
D vendor/github.com/rivo/uniseg/wordrules.go +0 -282 collapsed to keep the page light
D vendor/github.com/rs/zerolog/.gitignore +0 -27 collapsed to keep the page light
D vendor/github.com/rs/zerolog/CONTRIBUTING.md +0 -43 collapsed to keep the page light
D vendor/github.com/rs/zerolog/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/rs/zerolog/README.md +0 -858 collapsed to keep the page light
D vendor/github.com/rs/zerolog/array.go +0 -276 collapsed to keep the page light
D vendor/github.com/rs/zerolog/console.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/context.go +0 -535 collapsed to keep the page light
D vendor/github.com/rs/zerolog/ctx.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder.go +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_cbor.go +0 -45 collapsed to keep the page light
D vendor/github.com/rs/zerolog/encoder_json.go +0 -51 collapsed to keep the page light
D vendor/github.com/rs/zerolog/event.go +0 -919 collapsed to keep the page light
D vendor/github.com/rs/zerolog/example.jsonl +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/fields.go +0 -312 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals.go +0 -208 collapsed to keep the page light
D vendor/github.com/rs/zerolog/globals_118.go +0 -30 collapsed to keep the page light
D vendor/github.com/rs/zerolog/go112.go +0 -7 collapsed to keep the page light
D vendor/github.com/rs/zerolog/hook.go +0 -64 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/README.md +0 -56 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/cbor.go +0 -102 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/decode_stream.go +0 -654 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/string.go +0 -117 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/time.go +0 -111 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/cbor/types.go +0 -524 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/base.go +0 -19 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/bytes.go +0 -85 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/string.go +0 -149 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/rs/zerolog/internal/json/types.go +0 -466 collapsed to keep the page light
D vendor/github.com/rs/zerolog/log.go +0 -528 collapsed to keep the page light
D vendor/github.com/rs/zerolog/not_go112.go +0 -5 collapsed to keep the page light
D vendor/github.com/rs/zerolog/pretty.png +0 -0 binary file: no text diff
binary file: no text diff
D vendor/github.com/rs/zerolog/sampler.go +0 -137 collapsed to keep the page light
D vendor/github.com/rs/zerolog/slog.go +0 -247 collapsed to keep the page light
D vendor/github.com/rs/zerolog/syslog.go +0 -89 collapsed to keep the page light
D vendor/github.com/rs/zerolog/writer.go +0 -355 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/.travis.yml +0 -17 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/LICENSE.txt +0 -29 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/README.md +0 -335 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/block.go +0 -1612 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/doc.go +0 -46 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/entities.go +0 -2236 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/esc.go +0 -70 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/html.go +0 -952 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/inline.go +0 -1228 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/markdown.go +0 -950 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/node.go +0 -360 collapsed to keep the page light
D vendor/github.com/russross/blackfriday/v2/smartypants.go +0 -457 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.gitignore +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/.golangci.yaml +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/LICENSE +0 -19 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/README.md +0 -37 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.lock +0 -103 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.nix +0 -17 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/devenv.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/file_type.go +0 -32 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/finder.go +0 -171 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob.go +0 -5 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/glob_windows.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/helpers.go +0 -41 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/eager.go +0 -53 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/internal/queue/queue.go +0 -8 collapsed to keep the page light
D vendor/github.com/sagikazarmark/locafero/justfile +0 -14 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.editorconfig +0 -18 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/CONTRIBUTING.md +0 -1 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/Makefile +0 -59 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/README.md +0 -186 collapsed to keep the page light
D vendor/github.com/sahilm/fuzzy/fuzzy.go +0 -263 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/LICENSE +0 -202 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/README.md +0 -185 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff.go +0 -134 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_constant.go +0 -25 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_exponential.go +0 -47 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/backoff_fibonacci.go +0 -56 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/rand.go +0 -54 collapsed to keep the page light
D vendor/github.com/sethvargo/go-retry/retry.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/afero/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/afero/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/afero/.golangci.yaml +0 -48 collapsed to keep the page light
D vendor/github.com/spf13/afero/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/afero/README.md +0 -474 collapsed to keep the page light
D vendor/github.com/spf13/afero/afero.go +0 -111 collapsed to keep the page light
D vendor/github.com/spf13/afero/appveyor.yml +0 -10 collapsed to keep the page light
D vendor/github.com/spf13/afero/basepath.go +0 -222 collapsed to keep the page light
D vendor/github.com/spf13/afero/cacheOnReadFs.go +0 -315 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_bsds.go +0 -23 collapsed to keep the page light
D vendor/github.com/spf13/afero/const_win_unix.go +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/afero/copyOnWriteFs.go +0 -332 collapsed to keep the page light
D vendor/github.com/spf13/afero/httpFs.go +0 -114 collapsed to keep the page light
D vendor/github.com/spf13/afero/internal/common/adapters.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/iofs.go +0 -302 collapsed to keep the page light
D vendor/github.com/spf13/afero/ioutil.go +0 -243 collapsed to keep the page light
D vendor/github.com/spf13/afero/lstater.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/afero/match.go +0 -110 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dir.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/dirmap.go +0 -43 collapsed to keep the page light
D vendor/github.com/spf13/afero/mem/file.go +0 -373 collapsed to keep the page light
D vendor/github.com/spf13/afero/memmap.go +0 -463 collapsed to keep the page light
D vendor/github.com/spf13/afero/os.go +0 -113 collapsed to keep the page light
D vendor/github.com/spf13/afero/path.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/afero/readonlyfs.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/afero/regexpfs.go +0 -223 collapsed to keep the page light
D vendor/github.com/spf13/afero/symlink.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/afero/unionFile.go +0 -331 collapsed to keep the page light
D vendor/github.com/spf13/afero/util.go +0 -329 collapsed to keep the page light
D vendor/github.com/spf13/cast/.editorconfig +0 -15 collapsed to keep the page light
D vendor/github.com/spf13/cast/.gitignore +0 -25 collapsed to keep the page light
D vendor/github.com/spf13/cast/.golangci.yaml +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cast/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/cast/Makefile +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/cast/README.md +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/alias.go +0 -69 collapsed to keep the page light
D vendor/github.com/spf13/cast/basic.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cast/cast.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/cast/indirect.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/time.go +0 -79 collapsed to keep the page light
D vendor/github.com/spf13/cast/internal/timeformattype_string.go +0 -27 collapsed to keep the page light
D vendor/github.com/spf13/cast/map.go +0 -212 collapsed to keep the page light
D vendor/github.com/spf13/cast/number.go +0 -549 collapsed to keep the page light
D vendor/github.com/spf13/cast/slice.go +0 -106 collapsed to keep the page light
D vendor/github.com/spf13/cast/time.go +0 -116 collapsed to keep the page light
D vendor/github.com/spf13/cast/zz_generated.go +0 -261 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.gitignore +0 -39 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.golangci.yml +0 -66 collapsed to keep the page light
D vendor/github.com/spf13/cobra/.mailmap +0 -3 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONDUCT.md +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/cobra/CONTRIBUTING.md +0 -50 collapsed to keep the page light
D vendor/github.com/spf13/cobra/LICENSE.txt +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/cobra/MAINTAINERS +0 -13 collapsed to keep the page light
D vendor/github.com/spf13/cobra/Makefile +0 -35 collapsed to keep the page light
D vendor/github.com/spf13/cobra/README.md +0 -133 collapsed to keep the page light
D vendor/github.com/spf13/cobra/SECURITY.md +0 -105 collapsed to keep the page light
D vendor/github.com/spf13/cobra/active_help.go +0 -60 collapsed to keep the page light
D vendor/github.com/spf13/cobra/args.go +0 -131 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completions.go +0 -709 collapsed to keep the page light
D vendor/github.com/spf13/cobra/bash_completionsV2.go +0 -484 collapsed to keep the page light
D vendor/github.com/spf13/cobra/cobra.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command.go +0 -2072 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_notwin.go +0 -20 collapsed to keep the page light
D vendor/github.com/spf13/cobra/command_win.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/cobra/completions.go +0 -1020 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/man_docs.go +0 -246 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/md_docs.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/rest_docs.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/util.go +0 -52 collapsed to keep the page light
D vendor/github.com/spf13/cobra/doc/yaml_docs.go +0 -175 collapsed to keep the page light
D vendor/github.com/spf13/cobra/fish_completions.go +0 -292 collapsed to keep the page light
D vendor/github.com/spf13/cobra/flag_groups.go +0 -290 collapsed to keep the page light
D vendor/github.com/spf13/cobra/powershell_completions.go +0 -350 collapsed to keep the page light
D vendor/github.com/spf13/cobra/shell_completions.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/cobra/zsh_completions.go +0 -308 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.editorconfig +0 -12 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.gitignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.golangci.yaml +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/pflag/.travis.yml +0 -22 collapsed to keep the page light
D vendor/github.com/spf13/pflag/LICENSE +0 -28 collapsed to keep the page light
D vendor/github.com/spf13/pflag/README.md +0 -323 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool.go +0 -94 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_func.go +0 -40 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bool_slice.go +0 -185 collapsed to keep the page light
D vendor/github.com/spf13/pflag/bytes.go +0 -209 collapsed to keep the page light
D vendor/github.com/spf13/pflag/count.go +0 -96 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration.go +0 -86 collapsed to keep the page light
D vendor/github.com/spf13/pflag/duration_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/errors.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/flag.go +0 -1289 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/float64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/func.go +0 -37 collapsed to keep the page light
D vendor/github.com/spf13/pflag/golangflag.go +0 -161 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int32_slice.go +0 -174 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64.go +0 -84 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int64_slice.go +0 -166 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/int_slice.go +0 -158 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip.go +0 -97 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ip_slice.go +0 -186 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipmask.go +0 -122 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet.go +0 -98 collapsed to keep the page light
D vendor/github.com/spf13/pflag/ipnet_slice.go +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string.go +0 -80 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_array.go +0 -125 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_slice.go +0 -163 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_int64.go +0 -149 collapsed to keep the page light
D vendor/github.com/spf13/pflag/string_to_string.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/pflag/text.go +0 -81 collapsed to keep the page light
D vendor/github.com/spf13/pflag/time.go +0 -124 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint16.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint32.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint64.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint8.go +0 -88 collapsed to keep the page light
D vendor/github.com/spf13/pflag/uint_slice.go +0 -168 collapsed to keep the page light
D vendor/github.com/spf13/viper/.editorconfig +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/.envrc +0 -4 collapsed to keep the page light
D vendor/github.com/spf13/viper/.gitignore +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/.golangci.yaml +0 -118 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamlignore +0 -2 collapsed to keep the page light
D vendor/github.com/spf13/viper/.yamllint.yaml +0 -6 collapsed to keep the page light
D vendor/github.com/spf13/viper/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/spf13/viper/Makefile +0 -87 collapsed to keep the page light
D vendor/github.com/spf13/viper/README.md +0 -931 collapsed to keep the page light
D vendor/github.com/spf13/viper/TROUBLESHOOTING.md +0 -32 collapsed to keep the page light
D vendor/github.com/spf13/viper/UPGRADE.md +0 -147 collapsed to keep the page light
D vendor/github.com/spf13/viper/encoding.go +0 -181 collapsed to keep the page light
D vendor/github.com/spf13/viper/experimental.go +0 -8 collapsed to keep the page light
D vendor/github.com/spf13/viper/file.go +0 -104 collapsed to keep the page light
D vendor/github.com/spf13/viper/finder.go +0 -55 collapsed to keep the page light
D vendor/github.com/spf13/viper/flags.go +0 -57 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.lock +0 -255 collapsed to keep the page light
D vendor/github.com/spf13/viper/flake.nix +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/codec.go +0 -61 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/dotenv/map_utils.go +0 -41 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/json/codec.go +0 -17 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/toml/codec.go +0 -16 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/encoding/yaml/codec.go +0 -14 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/bind_struct_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/internal/features/finder_default.go +0 -5 collapsed to keep the page light
D vendor/github.com/spf13/viper/logger.go +0 -31 collapsed to keep the page light
D vendor/github.com/spf13/viper/remote.go +0 -259 collapsed to keep the page light
D vendor/github.com/spf13/viper/util.go +0 -211 collapsed to keep the page light
D vendor/github.com/spf13/viper/viper.go +0 -2077 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.codeclimate.yml +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/objx/.gitignore +0 -11 collapsed to keep the page light
D vendor/github.com/stretchr/objx/LICENSE +0 -22 collapsed to keep the page light
D vendor/github.com/stretchr/objx/README.md +0 -91 collapsed to keep the page light
D vendor/github.com/stretchr/objx/Taskfile.yml +0 -27 collapsed to keep the page light
D vendor/github.com/stretchr/objx/accessors.go +0 -197 collapsed to keep the page light
D vendor/github.com/stretchr/objx/conversions.go +0 -280 collapsed to keep the page light
D vendor/github.com/stretchr/objx/doc.go +0 -66 collapsed to keep the page light
D vendor/github.com/stretchr/objx/map.go +0 -214 collapsed to keep the page light
D vendor/github.com/stretchr/objx/mutations.go +0 -77 collapsed to keep the page light
D vendor/github.com/stretchr/objx/security.go +0 -12 collapsed to keep the page light
D vendor/github.com/stretchr/objx/tests.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific.go +0 -346 collapsed to keep the page light
D vendor/github.com/stretchr/objx/type_specific_codegen.go +0 -2261 collapsed to keep the page light
D vendor/github.com/stretchr/objx/value.go +0 -159 collapsed to keep the page light
D vendor/github.com/stretchr/testify/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_compare.go +0 -495 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go +0 -866 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go +0 -1723 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertion_order.go +0 -81 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/assertions.go +0 -2295 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/doc.go +0 -50 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/errors.go +0 -10 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/forward_assertions.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/http_assertions.go +0 -165 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_custom.go +0 -24 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_default.go +0 -36 collapsed to keep the page light
D vendor/github.com/stretchr/testify/assert/yaml/yaml_fail.go +0 -17 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/doc.go +0 -44 collapsed to keep the page light
D vendor/github.com/stretchr/testify/mock/mock.go +0 -1298 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/doc.go +0 -31 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/forward_requirements.go +0 -16 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go +0 -2180 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require.go.tmpl +0 -6 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go +0 -1724 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/require_forward.go.tmpl +0 -5 collapsed to keep the page light
D vendor/github.com/stretchr/testify/require/requirements.go +0 -29 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.env.invalid +0 -1 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.gitignore +0 -4 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/.golangci.yaml +0 -7 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/CHANGELOG.md +0 -105 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/README.md +0 -129 collapsed to keep the page light
D vendor/github.com/subosito/gotenv/gotenv.go +0 -409 collapsed to keep the page light
D vendor/github.com/xo/terminfo/.gitignore +0 -9 collapsed to keep the page light
D vendor/github.com/xo/terminfo/LICENSE +0 -21 collapsed to keep the page light
D vendor/github.com/xo/terminfo/README.md +0 -139 collapsed to keep the page light
D vendor/github.com/xo/terminfo/caps.go +0 -31 collapsed to keep the page light
D vendor/github.com/xo/terminfo/capvals.go +0 -1525 collapsed to keep the page light
D vendor/github.com/xo/terminfo/color.go +0 -88 collapsed to keep the page light
D vendor/github.com/xo/terminfo/dec.go +0 -245 collapsed to keep the page light
D vendor/github.com/xo/terminfo/load.go +0 -64 collapsed to keep the page light
D vendor/github.com/xo/terminfo/param.go +0 -405 collapsed to keep the page light
D vendor/github.com/xo/terminfo/stack.go +0 -48 collapsed to keep the page light
D vendor/github.com/xo/terminfo/terminfo.go +0 -479 collapsed to keep the page light
D vendor/go.uber.org/multierr/.codecov.yml +0 -15 collapsed to keep the page light
D vendor/go.uber.org/multierr/.gitignore +0 -4 collapsed to keep the page light
D vendor/go.uber.org/multierr/CHANGELOG.md +0 -95 collapsed to keep the page light
D vendor/go.uber.org/multierr/LICENSE.txt +0 -19 collapsed to keep the page light
D vendor/go.uber.org/multierr/Makefile +0 -38 collapsed to keep the page light
D vendor/go.uber.org/multierr/README.md +0 -43 collapsed to keep the page light
D vendor/go.uber.org/multierr/error.go +0 -646 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_post_go120.go +0 -48 collapsed to keep the page light
D vendor/go.uber.org/multierr/error_pre_go120.go +0 -79 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/LICENSE +0 -50 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/NOTICE +0 -13 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/README.md +0 -171 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/apic.go +0 -747 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/decode.go +0 -1018 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/emitterc.go +0 -2054 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/encode.go +0 -577 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/parserc.go +0 -1274 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/readerc.go +0 -434 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/resolve.go +0 -326 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/scannerc.go +0 -3040 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/sorter.go +0 -134 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/writerc.go +0 -48 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yaml.go +0 -703 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlh.go +0 -811 collapsed to keep the page light
D vendor/go.yaml.in/yaml/v3/yamlprivateh.go +0 -198 collapsed to keep the page light
D vendor/golang.org/x/image/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/image/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/image/draw/draw.go +0 -67 collapsed to keep the page light
D vendor/golang.org/x/image/draw/impl.go +0 -8426 collapsed to keep the page light
D vendor/golang.org/x/image/draw/scale.go +0 -525 collapsed to keep the page light
D vendor/golang.org/x/image/math/f64/f64.go +0 -37 collapsed to keep the page light
D vendor/golang.org/x/mod/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/mod/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/print.go +0 -184 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/read.go +0 -962 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/rule.go +0 -1951 collapsed to keep the page light
D vendor/golang.org/x/mod/modfile/work.go +0 -333 collapsed to keep the page light
D vendor/golang.org/x/mod/module/module.go +0 -840 collapsed to keep the page light
D vendor/golang.org/x/mod/module/pseudo.go +0 -250 collapsed to keep the page light
D vendor/golang.org/x/mod/semver/semver.go +0 -407 collapsed to keep the page light
D vendor/golang.org/x/net/LICENSE +0 -27 collapsed to keep the page light
D vendor/golang.org/x/net/PATENTS +0 -22 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/atom.go +0 -78 collapsed to keep the page light
D vendor/golang.org/x/net/html/atom/table.go +0 -785 collapsed to keep the page light
D vendor/golang.org/x/net/html/const.go +0 -111 collapsed to keep the page light
D vendor/golang.org/x/net/html/doc.go +0 -122 collapsed to keep the page light
D vendor/golang.org/x/net/html/doctype.go +0 -156 collapsed to keep the page light
D vendor/golang.org/x/net/html/entity.go +0 -2252 collapsed to keep the page light
D vendor/golang.org/x/net/html/escape.go +0 -379 collapsed to keep the page light
D vendor/golang.org/x/net/html/foreign.go +0 -221 collapsed to keep the page light
D vendor/golang.org/x/net/html/iter.go +0 -54 collapsed to keep the page light
D vendor/golang.org/x/net/html/node.go +0 -230 collapsed to keep the page light
D vendor/golang.org/x/net/html/nodetype_string.go +0 -31 collapsed to keep the page light
D vendor/golang.org/x/net/html/parse.go +0 -2378 collapsed to keep the page light
D vendor/golang.org/x/net/html/render.go +0 -316 collapsed to keep the page light
D vendor/golang.org/x/net/html/token.go +0 -1322 collapsed to keep the page light
D vendor/golang.org/x/net/idna/idna.go +0 -880 collapsed to keep the page light
D vendor/golang.org/x/net/idna/punycode.go +0 -220 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables15.0.0.go +0 -5144 collapsed to keep the page light
D vendor/golang.org/x/net/idna/tables17.0.0.go +0 -5302 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trie.go +0 -51 collapsed to keep the page light
D vendor/golang.org/x/net/idna/trieval.go +0 -119 collapsed to keep the page light
D vendor/golang.org/x/net/publicsuffix/data/children +0 -0 binary file: no text diff
binary file: no text diff
D vendor/golang.org/x/net/publicsuffix/data/nodes +0 -0 binary file: no text diff
binary file: no text diff