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 collapsed to keep the page light
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
| @@ -1,3134 +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/puregotk/pkg/core" | |
| 9 | - | "github.com/bnema/puregotk/v4/gobject/types" | |
| 10 | - | ) | |
| 11 | - | ||
| 12 | - | // `GVariant` is a variant datatype; it can contain one or more values | |
| 13 | - | // along with information about the type of the values. | |
| 14 | - | // | |
| 15 | - | // A `GVariant` may contain simple types, like an integer, or a boolean value; | |
| 16 | - | // or complex types, like an array of two strings, or a dictionary of key | |
| 17 | - | // value pairs. A `GVariant` is also immutable: once it’s been created neither | |
| 18 | - | // its type nor its content can be modified further. | |
| 19 | - | // | |
| 20 | - | // `GVariant` is useful whenever data needs to be serialized, for example when | |
| 21 | - | // sending method parameters in D-Bus, or when saving settings using | |
| 22 | - | // [`GSettings`](../gio/class.Settings.html). | |
| 23 | - | // | |
| 24 | - | // When creating a new `GVariant`, you pass the data you want to store in it | |
| 25 | - | // along with a string representing the type of data you wish to pass to it. | |
| 26 | - | // | |
| 27 | - | // For instance, if you want to create a `GVariant` holding an integer value you | |
| 28 | - | // can use: | |
| 29 | - | // | |
| 30 | - | // ```c | |
| 31 | - | // GVariant *v = g_variant_new ("u", 40); | |
| 32 | - | // ``` | |
| 33 | - | // | |
| 34 | - | // The string `u` in the first argument tells `GVariant` that the data passed to | |
| 35 | - | // the constructor (`40`) is going to be an unsigned integer. | |
| 36 | - | // | |
| 37 | - | // More advanced examples of `GVariant` in use can be found in documentation for | |
| 38 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 39 | - | // | |
| 40 | - | // The range of possible values is determined by the type. | |
| 41 | - | // | |
| 42 | - | // The type system used by `GVariant` is [type@GLib.VariantType]. | |
| 43 | - | // | |
| 44 | - | // `GVariant` instances always have a type and a value (which are given | |
| 45 | - | // at construction time). The type and value of a `GVariant` instance | |
| 46 | - | // can never change other than by the `GVariant` itself being | |
| 47 | - | // destroyed. A `GVariant` cannot contain a pointer. | |
| 48 | - | // | |
| 49 | - | // `GVariant` is reference counted using [method@GLib.Variant.ref] and | |
| 50 | - | // [method@GLib.Variant.unref]. `GVariant` also has floating reference counts — | |
| 51 | - | // see [method@GLib.Variant.ref_sink]. | |
| 52 | - | // | |
| 53 | - | // `GVariant` is completely threadsafe. A `GVariant` instance can be | |
| 54 | - | // concurrently accessed in any way from any number of threads without | |
| 55 | - | // problems. | |
| 56 | - | // | |
| 57 | - | // `GVariant` is heavily optimised for dealing with data in serialized | |
| 58 | - | // form. It works particularly well with data located in memory-mapped | |
| 59 | - | // files. It can perform nearly all deserialization operations in a | |
| 60 | - | // small constant time, usually touching only a single memory page. | |
| 61 | - | // Serialized `GVariant` data can also be sent over the network. | |
| 62 | - | // | |
| 63 | - | // `GVariant` is largely compatible with D-Bus. Almost all types of | |
| 64 | - | // `GVariant` instances can be sent over D-Bus. See [type@GLib.VariantType] for | |
| 65 | - | // exceptions. (However, `GVariant`’s serialization format is not the same | |
| 66 | - | // as the serialization format of a D-Bus message body: use | |
| 67 | - | // [GDBusMessage](../gio/class.DBusMessage.html), in the GIO library, for those.) | |
| 68 | - | // | |
| 69 | - | // For space-efficiency, the `GVariant` serialization format does not | |
| 70 | - | // automatically include the variant’s length, type or endianness, | |
| 71 | - | // which must either be implied from context (such as knowledge that a | |
| 72 | - | // particular file format always contains a little-endian | |
| 73 | - | // `G_VARIANT_TYPE_VARIANT` which occupies the whole length of the file) | |
| 74 | - | // or supplied out-of-band (for instance, a length, type and/or endianness | |
| 75 | - | // indicator could be placed at the beginning of a file, network message | |
| 76 | - | // or network stream). | |
| 77 | - | // | |
| 78 | - | // A `GVariant`’s size is limited mainly by any lower level operating | |
| 79 | - | // system constraints, such as the number of bits in `gsize`. For | |
| 80 | - | // example, it is reasonable to have a 2GB file mapped into memory | |
| 81 | - | // with [struct@GLib.MappedFile], and call [ctor@GLib.Variant.new_from_data] on | |
| 82 | - | // it. | |
| 83 | - | // | |
| 84 | - | // For convenience to C programmers, `GVariant` features powerful | |
| 85 | - | // varargs-based value construction and destruction. This feature is | |
| 86 | - | // designed to be embedded in other libraries. | |
| 87 | - | // | |
| 88 | - | // There is a Python-inspired text language for describing `GVariant` | |
| 89 | - | // values. `GVariant` includes a printer for this language and a parser | |
| 90 | - | // with type inferencing. | |
| 91 | - | // | |
| 92 | - | // ## Memory Use | |
| 93 | - | // | |
| 94 | - | // `GVariant` tries to be quite efficient with respect to memory use. | |
| 95 | - | // This section gives a rough idea of how much memory is used by the | |
| 96 | - | // current implementation. The information here is subject to change | |
| 97 | - | // in the future. | |
| 98 | - | // | |
| 99 | - | // The memory allocated by `GVariant` can be grouped into 4 broad | |
| 100 | - | // purposes: memory for serialized data, memory for the type | |
| 101 | - | // information cache, buffer management memory and memory for the | |
| 102 | - | // `GVariant` structure itself. | |
| 103 | - | // | |
| 104 | - | // ## Serialized Data Memory | |
| 105 | - | // | |
| 106 | - | // This is the memory that is used for storing `GVariant` data in | |
| 107 | - | // serialized form. This is what would be sent over the network or | |
| 108 | - | // what would end up on disk, not counting any indicator of the | |
| 109 | - | // endianness, or of the length or type of the top-level variant. | |
| 110 | - | // | |
| 111 | - | // The amount of memory required to store a boolean is 1 byte. 16, | |
| 112 | - | // 32 and 64 bit integers and double precision floating point numbers | |
| 113 | - | // use their ‘natural’ size. Strings (including object path and | |
| 114 | - | // signature strings) are stored with a nul terminator, and as such | |
| 115 | - | // use the length of the string plus 1 byte. | |
| 116 | - | // | |
| 117 | - | // ‘Maybe’ types use no space at all to represent the null value and | |
| 118 | - | // use the same amount of space (sometimes plus one byte) as the | |
| 119 | - | // equivalent non-maybe-typed value to represent the non-null case. | |
| 120 | - | // | |
| 121 | - | // Arrays use the amount of space required to store each of their | |
| 122 | - | // members, concatenated. Additionally, if the items stored in an | |
| 123 | - | // array are not of a fixed-size (ie: strings, other arrays, etc) | |
| 124 | - | // then an additional framing offset is stored for each item. The | |
| 125 | - | // size of this offset is either 1, 2 or 4 bytes depending on the | |
| 126 | - | // overall size of the container. Additionally, extra padding bytes | |
| 127 | - | // are added as required for alignment of child values. | |
| 128 | - | // | |
| 129 | - | // Tuples (including dictionary entries) use the amount of space | |
| 130 | - | // required to store each of their members, concatenated, plus one | |
| 131 | - | // framing offset (as per arrays) for each non-fixed-sized item in | |
| 132 | - | // the tuple, except for the last one. Additionally, extra padding | |
| 133 | - | // bytes are added as required for alignment of child values. | |
| 134 | - | // | |
| 135 | - | // Variants use the same amount of space as the item inside of the | |
| 136 | - | // variant, plus 1 byte, plus the length of the type string for the | |
| 137 | - | // item inside the variant. | |
| 138 | - | // | |
| 139 | - | // As an example, consider a dictionary mapping strings to variants. | |
| 140 | - | // In the case that the dictionary is empty, 0 bytes are required for | |
| 141 | - | // the serialization. | |
| 142 | - | // | |
| 143 | - | // If we add an item ‘width’ that maps to the int32 value of 500 then | |
| 144 | - | // we will use 4 bytes to store the int32 (so 6 for the variant | |
| 145 | - | // containing it) and 6 bytes for the string. The variant must be | |
| 146 | - | // aligned to 8 after the 6 bytes of the string, so that’s 2 extra | |
| 147 | - | // bytes. 6 (string) + 2 (padding) + 6 (variant) is 14 bytes used | |
| 148 | - | // for the dictionary entry. An additional 1 byte is added to the | |
| 149 | - | // array as a framing offset making a total of 15 bytes. | |
| 150 | - | // | |
| 151 | - | // If we add another entry, ‘title’ that maps to a nullable string | |
| 152 | - | // that happens to have a value of null, then we use 0 bytes for the | |
| 153 | - | // null value (and 3 bytes for the variant to contain it along with | |
| 154 | - | // its type string) plus 6 bytes for the string. Again, we need 2 | |
| 155 | - | // padding bytes. That makes a total of 6 + 2 + 3 = 11 bytes. | |
| 156 | - | // | |
| 157 | - | // We now require extra padding between the two items in the array. | |
| 158 | - | // After the 14 bytes of the first item, that’s 2 bytes required. | |
| 159 | - | // We now require 2 framing offsets for an extra two | |
| 160 | - | // bytes. 14 + 2 + 11 + 2 = 29 bytes to encode the entire two-item | |
| 161 | - | // dictionary. | |
| 162 | - | // | |
| 163 | - | // ## Type Information Cache | |
| 164 | - | // | |
| 165 | - | // For each `GVariant` type that currently exists in the program a type | |
| 166 | - | // information structure is kept in the type information cache. The | |
| 167 | - | // type information structure is required for rapid deserialization. | |
| 168 | - | // | |
| 169 | - | // Continuing with the above example, if a `GVariant` exists with the | |
| 170 | - | // type `a{sv}` then a type information struct will exist for | |
| 171 | - | // `a{sv}`, `{sv}`, `s`, and `v`. Multiple uses of the same type | |
| 172 | - | // will share the same type information. Additionally, all | |
| 173 | - | // single-digit types are stored in read-only static memory and do | |
| 174 | - | // not contribute to the writable memory footprint of a program using | |
| 175 | - | // `GVariant`. | |
| 176 | - | // | |
| 177 | - | // Aside from the type information structures stored in read-only | |
| 178 | - | // memory, there are two forms of type information. One is used for | |
| 179 | - | // container types where there is a single element type: arrays and | |
| 180 | - | // maybe types. The other is used for container types where there | |
| 181 | - | // are multiple element types: tuples and dictionary entries. | |
| 182 | - | // | |
| 183 | - | // Array type info structures are `6 * sizeof (void *)`, plus the | |
| 184 | - | // memory required to store the type string itself. This means that | |
| 185 | - | // on 32-bit systems, the cache entry for `a{sv}` would require 30 | |
| 186 | - | // bytes of memory (plus allocation overhead). | |
| 187 | - | // | |
| 188 | - | // Tuple type info structures are `6 * sizeof (void *)`, plus `4 * | |
| 189 | - | // sizeof (void *)` for each item in the tuple, plus the memory | |
| 190 | - | // required to store the type string itself. A 2-item tuple, for | |
| 191 | - | // example, would have a type information structure that consumed | |
| 192 | - | // writable memory in the size of `14 * sizeof (void *)` (plus type | |
| 193 | - | // string) This means that on 32-bit systems, the cache entry for | |
| 194 | - | // `{sv}` would require 61 bytes of memory (plus allocation overhead). | |
| 195 | - | // | |
| 196 | - | // This means that in total, for our `a{sv}` example, 91 bytes of | |
| 197 | - | // type information would be allocated. | |
| 198 | - | // | |
| 199 | - | // The type information cache, additionally, uses a [struct@GLib.HashTable] to | |
| 200 | - | // store and look up the cached items and stores a pointer to this | |
| 201 | - | // hash table in static storage. The hash table is freed when there | |
| 202 | - | // are zero items in the type cache. | |
| 203 | - | // | |
| 204 | - | // Although these sizes may seem large it is important to remember | |
| 205 | - | // that a program will probably only have a very small number of | |
| 206 | - | // different types of values in it and that only one type information | |
| 207 | - | // structure is required for many different values of the same type. | |
| 208 | - | // | |
| 209 | - | // ## Buffer Management Memory | |
| 210 | - | // | |
| 211 | - | // `GVariant` uses an internal buffer management structure to deal | |
| 212 | - | // with the various different possible sources of serialized data | |
| 213 | - | // that it uses. The buffer is responsible for ensuring that the | |
| 214 | - | // correct call is made when the data is no longer in use by | |
| 215 | - | // `GVariant`. This may involve a [func@GLib.free] or | |
| 216 | - | // even [method@GLib.MappedFile.unref]. | |
| 217 | - | // | |
| 218 | - | // One buffer management structure is used for each chunk of | |
| 219 | - | // serialized data. The size of the buffer management structure | |
| 220 | - | // is `4 * (void *)`. On 32-bit systems, that’s 16 bytes. | |
| 221 | - | // | |
| 222 | - | // ## GVariant structure | |
| 223 | - | // | |
| 224 | - | // The size of a `GVariant` structure is `6 * (void *)`. On 32-bit | |
| 225 | - | // systems, that’s 24 bytes. | |
| 226 | - | // | |
| 227 | - | // `GVariant` structures only exist if they are explicitly created | |
| 228 | - | // with API calls. For example, if a `GVariant` is constructed out of | |
| 229 | - | // serialized data for the example given above (with the dictionary) | |
| 230 | - | // then although there are 9 individual values that comprise the | |
| 231 | - | // entire dictionary (two keys, two values, two variants containing | |
| 232 | - | // the values, two dictionary entries, plus the dictionary itself), | |
| 233 | - | // only 1 `GVariant` instance exists — the one referring to the | |
| 234 | - | // dictionary. | |
| 235 | - | // | |
| 236 | - | // If calls are made to start accessing the other values then | |
| 237 | - | // `GVariant` instances will exist for those values only for as long | |
| 238 | - | // as they are in use (ie: until you call [method@GLib.Variant.unref]). The | |
| 239 | - | // type information is shared. The serialized data and the buffer | |
| 240 | - | // management structure for that serialized data is shared by the | |
| 241 | - | // child. | |
| 242 | - | // | |
| 243 | - | // ## Summary | |
| 244 | - | // | |
| 245 | - | // To put the entire example together, for our dictionary mapping | |
| 246 | - | // strings to variants (with two entries, as given above), we are | |
| 247 | - | // using 91 bytes of memory for type information, 29 bytes of memory | |
| 248 | - | // for the serialized data, 16 bytes for buffer management and 24 | |
| 249 | - | // bytes for the `GVariant` instance, or a total of 160 bytes, plus | |
| 250 | - | // allocation overhead. If we were to use [method@GLib.Variant.get_child_value] | |
| 251 | - | // to access the two dictionary entries, we would use an additional 48 | |
| 252 | - | // bytes. If we were to have other dictionaries of the same type, we | |
| 253 | - | // would use more memory for the serialized data and buffer | |
| 254 | - | // management for those dictionaries, but the type information would | |
| 255 | - | // be shared. | |
| 256 | - | type Variant struct { | |
| 257 | - | _ structs.HostLayout | |
| 258 | - | } | |
| 259 | - | ||
| 260 | - | var xVariantGLibType func() types.GType | |
| 261 | - | ||
| 262 | - | func VariantGLibType() types.GType { | |
| 263 | - | core.LazyRegister(&xVariantGLibType, "GLIB", "intern", false) | |
| 264 | - | return xVariantGLibType() | |
| 265 | - | } | |
| 266 | - | ||
| 267 | - | func (x *Variant) GoPointer() uintptr { | |
| 268 | - | return uintptr(unsafe.Pointer(x)) | |
| 269 | - | } | |
| 270 | - | ||
| 271 | - | func VariantNewFromInternalPtr(ptr uintptr) *Variant { | |
| 272 | - | if ptr == 0 { | |
| 273 | - | return nil | |
| 274 | - | } | |
| 275 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 276 | - | return (*Variant)(rawPtr) | |
| 277 | - | } | |
| 278 | - | ||
| 279 | - | var xNewVariant func(string, ...interface{}) uintptr | |
| 280 | - | ||
| 281 | - | // Creates a new #GVariant instance. | |
| 282 | - | // | |
| 283 | - | // Think of this function as an analogue to g_strdup_printf(). | |
| 284 | - | // | |
| 285 | - | // The type of the created instance and the arguments that are expected | |
| 286 | - | // by this function are determined by @format_string. See the section on | |
| 287 | - | // [GVariant format strings](gvariant-format-strings.html). Please note that | |
| 288 | - | // the syntax of the format string is very likely to be extended in the | |
| 289 | - | // future. | |
| 290 | - | // | |
| 291 | - | // The first character of the format string must not be '*' '?' '@' or | |
| 292 | - | // 'r'; in essence, a new #GVariant must always be constructed by this | |
| 293 | - | // function (and not merely passed through it unmodified). | |
| 294 | - | // | |
| 295 | - | // Note that the arguments must be of the correct width for their types | |
| 296 | - | // specified in @format_string. This can be achieved by casting them. See | |
| 297 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 298 | - | // | |
| 299 | - | // |[<!-- language="C" --> | |
| 300 | - | // MyFlags some_flags = FLAG_ONE | FLAG_TWO; | |
| 301 | - | // const gchar *some_strings[] = { "a", "b", "c", NULL }; | |
| 302 | - | // GVariant *new_variant; | |
| 303 | - | // | |
| 304 | - | // new_variant = g_variant_new ("(t^as)", | |
| 305 | - | // | |
| 306 | - | // // This cast is required. | |
| 307 | - | // (guint64) some_flags, | |
| 308 | - | // some_strings); | |
| 309 | - | // | |
| 310 | - | // ]| | |
| 311 | - | func NewVariant(FormatStringVar string, varArgs ...interface{}) *Variant { | |
| 312 | - | core.LazyRegister(&xNewVariant, "GLIB", "g_variant_new", false) | |
| 313 | - | ||
| 314 | - | cret := xNewVariant(FormatStringVar, varArgs...) | |
| 315 | - | if cret == 0 { | |
| 316 | - | return nil | |
| 317 | - | } | |
| 318 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 319 | - | } | |
| 320 | - | ||
| 321 | - | var xNewVariantArray func(*VariantType, uintptr, uint) uintptr | |
| 322 | - | ||
| 323 | - | // Creates a new #GVariant array from @children. | |
| 324 | - | // | |
| 325 | - | // @child_type must be non-%NULL if @n_children is zero. Otherwise, the | |
| 326 | - | // child type is determined by inspecting the first element of the | |
| 327 | - | // @children array. If @child_type is non-%NULL then it must be a | |
| 328 | - | // definite type. | |
| 329 | - | // | |
| 330 | - | // The items of the array are taken from the @children array. No entry | |
| 331 | - | // in the @children array may be %NULL. | |
| 332 | - | // | |
| 333 | - | // All items in the array must have the same type, which must be the | |
| 334 | - | // same as @child_type, if given. | |
| 335 | - | // | |
| 336 | - | // If the @children are floating references (see g_variant_ref_sink()), the | |
| 337 | - | // new instance takes ownership of them as if via g_variant_ref_sink(). | |
| 338 | - | func NewVariantArray(ChildTypeVar *VariantType, ChildrenVar uintptr, NChildrenVar uint) *Variant { | |
| 339 | - | core.LazyRegister(&xNewVariantArray, "GLIB", "g_variant_new_array", false) | |
| 340 | - | ||
| 341 | - | cret := xNewVariantArray(ChildTypeVar, ChildrenVar, NChildrenVar) | |
| 342 | - | if cret == 0 { | |
| 343 | - | return nil | |
| 344 | - | } | |
| 345 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 346 | - | } | |
| 347 | - | ||
| 348 | - | var xNewVariantBoolean func(bool) uintptr | |
| 349 | - | ||
| 350 | - | // Creates a new boolean #GVariant instance -- either %TRUE or %FALSE. | |
| 351 | - | func NewVariantBoolean(ValueVar bool) *Variant { | |
| 352 | - | core.LazyRegister(&xNewVariantBoolean, "GLIB", "g_variant_new_boolean", false) | |
| 353 | - | ||
| 354 | - | cret := xNewVariantBoolean(ValueVar) | |
| 355 | - | if cret == 0 { | |
| 356 | - | return nil | |
| 357 | - | } | |
| 358 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 359 | - | } | |
| 360 | - | ||
| 361 | - | var xNewVariantByte func(byte) uintptr | |
| 362 | - | ||
| 363 | - | // Creates a new byte #GVariant instance. | |
| 364 | - | func NewVariantByte(ValueVar byte) *Variant { | |
| 365 | - | core.LazyRegister(&xNewVariantByte, "GLIB", "g_variant_new_byte", false) | |
| 366 | - | ||
| 367 | - | cret := xNewVariantByte(ValueVar) | |
| 368 | - | if cret == 0 { | |
| 369 | - | return nil | |
| 370 | - | } | |
| 371 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 372 | - | } | |
| 373 | - | ||
| 374 | - | var xNewVariantBytestring func([]byte) uintptr | |
| 375 | - | ||
| 376 | - | // Creates an array-of-bytes #GVariant with the contents of @string. | |
| 377 | - | // This function is just like g_variant_new_string() except that the | |
| 378 | - | // string need not be valid UTF-8. | |
| 379 | - | // | |
| 380 | - | // The nul terminator character at the end of the string is stored in | |
| 381 | - | // the array. | |
| 382 | - | func NewVariantBytestring(StringVar []byte) *Variant { | |
| 383 | - | core.LazyRegister(&xNewVariantBytestring, "GLIB", "g_variant_new_bytestring", false) | |
| 384 | - | ||
| 385 | - | cret := xNewVariantBytestring(StringVar) | |
| 386 | - | if cret == 0 { | |
| 387 | - | return nil | |
| 388 | - | } | |
| 389 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 390 | - | } | |
| 391 | - | ||
| 392 | - | var xNewVariantBytestringArray func([]string, int) uintptr | |
| 393 | - | ||
| 394 | - | // Constructs an array of bytestring #GVariant from the given array of | |
| 395 | - | // strings. | |
| 396 | - | // | |
| 397 | - | // If @length is -1 then @strv is %NULL-terminated. | |
| 398 | - | func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant { | |
| 399 | - | core.LazyRegister(&xNewVariantBytestringArray, "GLIB", "g_variant_new_bytestring_array", false) | |
| 400 | - | ||
| 401 | - | cret := xNewVariantBytestringArray(StrvVar, LengthVar) | |
| 402 | - | if cret == 0 { | |
| 403 | - | return nil | |
| 404 | - | } | |
| 405 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 406 | - | } | |
| 407 | - | ||
| 408 | - | var xNewVariantDictEntry func(*Variant, *Variant) uintptr | |
| 409 | - | ||
| 410 | - | // Creates a new dictionary entry #GVariant. @key and @value must be | |
| 411 | - | // non-%NULL. @key must be a value of a basic type (ie: not a container). | |
| 412 | - | // | |
| 413 | - | // If the @key or @value are floating references (see g_variant_ref_sink()), | |
| 414 | - | // the new instance takes ownership of them as if via g_variant_ref_sink(). | |
| 415 | - | func NewVariantDictEntry(KeyVar *Variant, ValueVar *Variant) *Variant { | |
| 416 | - | core.LazyRegister(&xNewVariantDictEntry, "GLIB", "g_variant_new_dict_entry", false) | |
| 417 | - | ||
| 418 | - | cret := xNewVariantDictEntry(KeyVar, ValueVar) | |
| 419 | - | if cret == 0 { | |
| 420 | - | return nil | |
| 421 | - | } | |
| 422 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 423 | - | } | |
| 424 | - | ||
| 425 | - | var xNewVariantDouble func(float64) uintptr | |
| 426 | - | ||
| 427 | - | // Creates a new double #GVariant instance. | |
| 428 | - | func NewVariantDouble(ValueVar float64) *Variant { | |
| 429 | - | core.LazyRegister(&xNewVariantDouble, "GLIB", "g_variant_new_double", false) | |
| 430 | - | ||
| 431 | - | cret := xNewVariantDouble(ValueVar) | |
| 432 | - | if cret == 0 { | |
| 433 | - | return nil | |
| 434 | - | } | |
| 435 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 436 | - | } | |
| 437 | - | ||
| 438 | - | var xNewVariantFixedArray func(*VariantType, uintptr, uint, uint) uintptr | |
| 439 | - | ||
| 440 | - | // Constructs a new array #GVariant instance, where the elements are | |
| 441 | - | // of @element_type type. | |
| 442 | - | // | |
| 443 | - | // @elements must be an array with fixed-sized elements. Numeric types are | |
| 444 | - | // fixed-size as are tuples containing only other fixed-sized types. | |
| 445 | - | // | |
| 446 | - | // @element_size must be the size of a single element in the array. | |
| 447 | - | // For example, if calling this function for an array of 32-bit integers, | |
| 448 | - | // you might say sizeof(gint32). This value isn't used except for the purpose | |
| 449 | - | // of a double-check that the form of the serialized data matches the caller's | |
| 450 | - | // expectation. | |
| 451 | - | // | |
| 452 | - | // @n_elements must be the length of the @elements array. | |
| 453 | - | func NewVariantFixedArray(ElementTypeVar *VariantType, ElementsVar uintptr, NElementsVar uint, ElementSizeVar uint) *Variant { | |
| 454 | - | core.LazyRegister(&xNewVariantFixedArray, "GLIB", "g_variant_new_fixed_array", false) | |
| 455 | - | ||
| 456 | - | cret := xNewVariantFixedArray(ElementTypeVar, ElementsVar, NElementsVar, ElementSizeVar) | |
| 457 | - | if cret == 0 { | |
| 458 | - | return nil | |
| 459 | - | } | |
| 460 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 461 | - | } | |
| 462 | - | ||
| 463 | - | var xNewVariantFromBytes func(*VariantType, *Bytes, bool) uintptr | |
| 464 | - | ||
| 465 | - | // Constructs a new serialized-mode #GVariant instance. This is the | |
| 466 | - | // inner interface for creation of new serialized values that gets | |
| 467 | - | // called from various functions in gvariant.c. | |
| 468 | - | // | |
| 469 | - | // A reference is taken on @bytes. | |
| 470 | - | // | |
| 471 | - | // The data in @bytes must be aligned appropriately for the @type being loaded. | |
| 472 | - | // Otherwise this function will internally create a copy of the memory (since | |
| 473 | - | // GLib 2.60) or (in older versions) fail and exit the process. | |
| 474 | - | func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool) *Variant { | |
| 475 | - | core.LazyRegister(&xNewVariantFromBytes, "GLIB", "g_variant_new_from_bytes", false) | |
| 476 | - | ||
| 477 | - | cret := xNewVariantFromBytes(TypeVar, BytesVar, TrustedVar) | |
| 478 | - | if cret == 0 { | |
| 479 | - | return nil | |
| 480 | - | } | |
| 481 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 482 | - | } | |
| 483 | - | ||
| 484 | - | var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr) uintptr | |
| 485 | - | ||
| 486 | - | // Creates a new #GVariant instance from serialized data. | |
| 487 | - | // | |
| 488 | - | // @type is the type of #GVariant instance that will be constructed. | |
| 489 | - | // The interpretation of @data depends on knowing the type. | |
| 490 | - | // | |
| 491 | - | // @data is not modified by this function and must remain valid with an | |
| 492 | - | // unchanging value until such a time as @notify is called with | |
| 493 | - | // @user_data. If the contents of @data change before that time then | |
| 494 | - | // the result is undefined. | |
| 495 | - | // | |
| 496 | - | // If @data is trusted to be serialized data in normal form then | |
| 497 | - | // @trusted should be %TRUE. This applies to serialized data created | |
| 498 | - | // within this process or read from a trusted location on the disk (such | |
| 499 | - | // as a file installed in /usr/lib alongside your application). You | |
| 500 | - | // should set trusted to %FALSE if @data is read from the network, a | |
| 501 | - | // file in the user's home directory, etc. | |
| 502 | - | // | |
| 503 | - | // If @data was not stored in this machine's native endianness, any multi-byte | |
| 504 | - | // numeric values in the returned variant will also be in non-native | |
| 505 | - | // endianness. g_variant_byteswap() can be used to recover the original values. | |
| 506 | - | // | |
| 507 | - | // @notify will be called with @user_data when @data is no longer | |
| 508 | - | // needed. The exact time of this call is unspecified and might even be | |
| 509 | - | // before this function returns. | |
| 510 | - | // | |
| 511 | - | // Note: @data must be backed by memory that is aligned appropriately for the | |
| 512 | - | // @type being loaded. Otherwise this function will internally create a copy of | |
| 513 | - | // the memory (since GLib 2.60) or (in older versions) fail and exit the | |
| 514 | - | // process. | |
| 515 | - | func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant { | |
| 516 | - | core.LazyRegister(&xNewVariantFromData, "GLIB", "g_variant_new_from_data", false) | |
| 517 | - | ||
| 518 | - | cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallbackNullable(NotifyVar), UserDataVar) | |
| 519 | - | if cret == 0 { | |
| 520 | - | return nil | |
| 521 | - | } | |
| 522 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 523 | - | } | |
| 524 | - | ||
| 525 | - | var xNewVariantHandle func(int32) uintptr | |
| 526 | - | ||
| 527 | - | // Creates a new handle #GVariant instance. | |
| 528 | - | // | |
| 529 | - | // By convention, handles are indexes into an array of file descriptors | |
| 530 | - | // that are sent alongside a D-Bus message. If you're not interacting | |
| 531 | - | // with D-Bus, you probably don't need them. | |
| 532 | - | func NewVariantHandle(ValueVar int32) *Variant { | |
| 533 | - | core.LazyRegister(&xNewVariantHandle, "GLIB", "g_variant_new_handle", false) | |
| 534 | - | ||
| 535 | - | cret := xNewVariantHandle(ValueVar) | |
| 536 | - | if cret == 0 { | |
| 537 | - | return nil | |
| 538 | - | } | |
| 539 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 540 | - | } | |
| 541 | - | ||
| 542 | - | var xNewVariantInt16 func(int16) uintptr | |
| 543 | - | ||
| 544 | - | // Creates a new int16 #GVariant instance. | |
| 545 | - | func NewVariantInt16(ValueVar int16) *Variant { | |
| 546 | - | core.LazyRegister(&xNewVariantInt16, "GLIB", "g_variant_new_int16", false) | |
| 547 | - | ||
| 548 | - | cret := xNewVariantInt16(ValueVar) | |
| 549 | - | if cret == 0 { | |
| 550 | - | return nil | |
| 551 | - | } | |
| 552 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 553 | - | } | |
| 554 | - | ||
| 555 | - | var xNewVariantInt32 func(int32) uintptr | |
| 556 | - | ||
| 557 | - | // Creates a new int32 #GVariant instance. | |
| 558 | - | func NewVariantInt32(ValueVar int32) *Variant { | |
| 559 | - | core.LazyRegister(&xNewVariantInt32, "GLIB", "g_variant_new_int32", false) | |
| 560 | - | ||
| 561 | - | cret := xNewVariantInt32(ValueVar) | |
| 562 | - | if cret == 0 { | |
| 563 | - | return nil | |
| 564 | - | } | |
| 565 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 566 | - | } | |
| 567 | - | ||
| 568 | - | var xNewVariantInt64 func(int64) uintptr | |
| 569 | - | ||
| 570 | - | // Creates a new int64 #GVariant instance. | |
| 571 | - | func NewVariantInt64(ValueVar int64) *Variant { | |
| 572 | - | core.LazyRegister(&xNewVariantInt64, "GLIB", "g_variant_new_int64", false) | |
| 573 | - | ||
| 574 | - | cret := xNewVariantInt64(ValueVar) | |
| 575 | - | if cret == 0 { | |
| 576 | - | return nil | |
| 577 | - | } | |
| 578 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 579 | - | } | |
| 580 | - | ||
| 581 | - | var xNewVariantMaybe func(*VariantType, *Variant) uintptr | |
| 582 | - | ||
| 583 | - | // Depending on if @child is %NULL, either wraps @child inside of a | |
| 584 | - | // maybe container or creates a Nothing instance for the given @type. | |
| 585 | - | // | |
| 586 | - | // At least one of @child_type and @child must be non-%NULL. | |
| 587 | - | // If @child_type is non-%NULL then it must be a definite type. | |
| 588 | - | // If they are both non-%NULL then @child_type must be the type | |
| 589 | - | // of @child. | |
| 590 | - | // | |
| 591 | - | // If @child is a floating reference (see g_variant_ref_sink()), the new | |
| 592 | - | // instance takes ownership of @child. | |
| 593 | - | func NewVariantMaybe(ChildTypeVar *VariantType, ChildVar *Variant) *Variant { | |
| 594 | - | core.LazyRegister(&xNewVariantMaybe, "GLIB", "g_variant_new_maybe", false) | |
| 595 | - | ||
| 596 | - | cret := xNewVariantMaybe(ChildTypeVar, ChildVar) | |
| 597 | - | if cret == 0 { | |
| 598 | - | return nil | |
| 599 | - | } | |
| 600 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 601 | - | } | |
| 602 | - | ||
| 603 | - | var xNewVariantObjectPath func(string) uintptr | |
| 604 | - | ||
| 605 | - | // Creates a D-Bus object path #GVariant with the contents of @object_path. | |
| 606 | - | // @object_path must be a valid D-Bus object path. Use | |
| 607 | - | // g_variant_is_object_path() if you're not sure. | |
| 608 | - | func NewVariantObjectPath(ObjectPathVar string) *Variant { | |
| 609 | - | core.LazyRegister(&xNewVariantObjectPath, "GLIB", "g_variant_new_object_path", false) | |
| 610 | - | ||
| 611 | - | cret := xNewVariantObjectPath(ObjectPathVar) | |
| 612 | - | if cret == 0 { | |
| 613 | - | return nil | |
| 614 | - | } | |
| 615 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 616 | - | } | |
| 617 | - | ||
| 618 | - | var xNewVariantObjv func([]string, int) uintptr | |
| 619 | - | ||
| 620 | - | // Constructs an array of object paths #GVariant from the given array of | |
| 621 | - | // strings. | |
| 622 | - | // | |
| 623 | - | // Each string must be a valid #GVariant object path; see | |
| 624 | - | // g_variant_is_object_path(). | |
| 625 | - | // | |
| 626 | - | // If @length is -1 then @strv is %NULL-terminated. | |
| 627 | - | func NewVariantObjv(StrvVar []string, LengthVar int) *Variant { | |
| 628 | - | core.LazyRegister(&xNewVariantObjv, "GLIB", "g_variant_new_objv", false) | |
| 629 | - | ||
| 630 | - | cret := xNewVariantObjv(StrvVar, LengthVar) | |
| 631 | - | if cret == 0 { | |
| 632 | - | return nil | |
| 633 | - | } | |
| 634 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 635 | - | } | |
| 636 | - | ||
| 637 | - | var xNewVariantParsed func(string, ...interface{}) uintptr | |
| 638 | - | ||
| 639 | - | // Parses @format and returns the result. | |
| 640 | - | // | |
| 641 | - | // @format must be a text format #GVariant with one extension: at any | |
| 642 | - | // point that a value may appear in the text, a '%' character followed | |
| 643 | - | // by a GVariant format string (as per g_variant_new()) may appear. In | |
| 644 | - | // that case, the same arguments are collected from the argument list as | |
| 645 | - | // g_variant_new() would have collected. | |
| 646 | - | // | |
| 647 | - | // Note that the arguments must be of the correct width for their types | |
| 648 | - | // specified in @format. This can be achieved by casting them. See | |
| 649 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 650 | - | // | |
| 651 | - | // Consider this simple example: | |
| 652 | - | // |[<!-- language="C" --> | |
| 653 | - | // | |
| 654 | - | // g_variant_new_parsed ("[('one', 1), ('two', %i), (%s, 3)]", 2, "three"); | |
| 655 | - | // | |
| 656 | - | // ]| | |
| 657 | - | // | |
| 658 | - | // In the example, the variable argument parameters are collected and | |
| 659 | - | // filled in as if they were part of the original string to produce the | |
| 660 | - | // result of | |
| 661 | - | // |[<!-- language="C" --> | |
| 662 | - | // [('one', 1), ('two', 2), ('three', 3)] | |
| 663 | - | // ]| | |
| 664 | - | // | |
| 665 | - | // This function is intended only to be used with @format as a string | |
| 666 | - | // literal. Any parse error is fatal to the calling process. If you | |
| 667 | - | // want to parse data from untrusted sources, use g_variant_parse(). | |
| 668 | - | // | |
| 669 | - | // You may not use this function to return, unmodified, a single | |
| 670 | - | // #GVariant pointer from the argument list. ie: @format may not solely | |
| 671 | - | // be anything along the lines of "%*", "%?", "\%r", or anything starting | |
| 672 | - | // with "%@". | |
| 673 | - | func NewVariantParsed(FormatVar string, varArgs ...interface{}) *Variant { | |
| 674 | - | core.LazyRegister(&xNewVariantParsed, "GLIB", "g_variant_new_parsed", false) | |
| 675 | - | ||
| 676 | - | cret := xNewVariantParsed(FormatVar, varArgs...) | |
| 677 | - | if cret == 0 { | |
| 678 | - | return nil | |
| 679 | - | } | |
| 680 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 681 | - | } | |
| 682 | - | ||
| 683 | - | var xNewVariantParsedVa func(string, []interface{}) uintptr | |
| 684 | - | ||
| 685 | - | // Parses @format and returns the result. | |
| 686 | - | // | |
| 687 | - | // This is the version of g_variant_new_parsed() intended to be used | |
| 688 | - | // from libraries. | |
| 689 | - | // | |
| 690 | - | // The return value will be floating if it was a newly created GVariant | |
| 691 | - | // instance. In the case that @format simply specified the collection | |
| 692 | - | // of a #GVariant pointer (eg: @format was "%*") then the collected | |
| 693 | - | // #GVariant pointer will be returned unmodified, without adding any | |
| 694 | - | // additional references. | |
| 695 | - | // | |
| 696 | - | // Note that the arguments in @app must be of the correct width for their types | |
| 697 | - | // specified in @format when collected into the #va_list. See | |
| 698 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 699 | - | // | |
| 700 | - | // In order to behave correctly in all cases it is necessary for the | |
| 701 | - | // calling function to g_variant_ref_sink() the return result before | |
| 702 | - | // returning control to the user that originally provided the pointer. | |
| 703 | - | // At this point, the caller will have their own full reference to the | |
| 704 | - | // result. This can also be done by adding the result to a container, | |
| 705 | - | // or by passing it to another g_variant_new() call. | |
| 706 | - | func NewVariantParsedVa(FormatVar string, AppVar []interface{}) *Variant { | |
| 707 | - | core.LazyRegister(&xNewVariantParsedVa, "GLIB", "g_variant_new_parsed_va", false) | |
| 708 | - | ||
| 709 | - | cret := xNewVariantParsedVa(FormatVar, AppVar) | |
| 710 | - | if cret == 0 { | |
| 711 | - | return nil | |
| 712 | - | } | |
| 713 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 714 | - | } | |
| 715 | - | ||
| 716 | - | var xNewVariantPrintf func(string, ...interface{}) uintptr | |
| 717 | - | ||
| 718 | - | // Creates a string-type GVariant using printf formatting. | |
| 719 | - | // | |
| 720 | - | // This is similar to calling g_strdup_printf() and then | |
| 721 | - | // g_variant_new_string() but it saves a temporary variable and an | |
| 722 | - | // unnecessary copy. | |
| 723 | - | func NewVariantPrintf(FormatStringVar string, varArgs ...interface{}) *Variant { | |
| 724 | - | core.LazyRegister(&xNewVariantPrintf, "GLIB", "g_variant_new_printf", false) | |
| 725 | - | ||
| 726 | - | cret := xNewVariantPrintf(FormatStringVar, varArgs...) | |
| 727 | - | if cret == 0 { | |
| 728 | - | return nil | |
| 729 | - | } | |
| 730 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 731 | - | } | |
| 732 | - | ||
| 733 | - | var xNewVariantSignature func(string) uintptr | |
| 734 | - | ||
| 735 | - | // Creates a D-Bus type signature #GVariant with the contents of | |
| 736 | - | // @string. @string must be a valid D-Bus type signature. Use | |
| 737 | - | // g_variant_is_signature() if you're not sure. | |
| 738 | - | func NewVariantSignature(SignatureVar string) *Variant { | |
| 739 | - | core.LazyRegister(&xNewVariantSignature, "GLIB", "g_variant_new_signature", false) | |
| 740 | - | ||
| 741 | - | cret := xNewVariantSignature(SignatureVar) | |
| 742 | - | if cret == 0 { | |
| 743 | - | return nil | |
| 744 | - | } | |
| 745 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 746 | - | } | |
| 747 | - | ||
| 748 | - | var xNewVariantString func(string) uintptr | |
| 749 | - | ||
| 750 | - | // Creates a string #GVariant with the contents of @string. | |
| 751 | - | // | |
| 752 | - | // @string must be valid UTF-8, and must not be %NULL. To encode | |
| 753 | - | // potentially-%NULL strings, use g_variant_new() with `ms` as the | |
| 754 | - | // [format string](gvariant-format-strings.html#maybe-types). | |
| 755 | - | func NewVariantString(StringVar string) *Variant { | |
| 756 | - | core.LazyRegister(&xNewVariantString, "GLIB", "g_variant_new_string", false) | |
| 757 | - | ||
| 758 | - | cret := xNewVariantString(StringVar) | |
| 759 | - | if cret == 0 { | |
| 760 | - | return nil | |
| 761 | - | } | |
| 762 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 763 | - | } | |
| 764 | - | ||
| 765 | - | var xNewVariantStrv func([]string, int) uintptr | |
| 766 | - | ||
| 767 | - | // Constructs an array of strings #GVariant from the given array of | |
| 768 | - | // strings. | |
| 769 | - | // | |
| 770 | - | // If @length is -1 then @strv is %NULL-terminated. | |
| 771 | - | func NewVariantStrv(StrvVar []string, LengthVar int) *Variant { | |
| 772 | - | core.LazyRegister(&xNewVariantStrv, "GLIB", "g_variant_new_strv", false) | |
| 773 | - | ||
| 774 | - | cret := xNewVariantStrv(StrvVar, LengthVar) | |
| 775 | - | if cret == 0 { | |
| 776 | - | return nil | |
| 777 | - | } | |
| 778 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 779 | - | } | |
| 780 | - | ||
| 781 | - | var xNewVariantTakeString func(string) uintptr | |
| 782 | - | ||
| 783 | - | // Creates a string #GVariant with the contents of @string. | |
| 784 | - | // | |
| 785 | - | // @string must be valid UTF-8, and must not be %NULL. To encode | |
| 786 | - | // potentially-%NULL strings, use this with g_variant_new_maybe(). | |
| 787 | - | // | |
| 788 | - | // After this call, @string belongs to the #GVariant and may no longer be | |
| 789 | - | // modified by the caller. The memory of @data has to be dynamically | |
| 790 | - | // allocated and will eventually be freed with g_free(). | |
| 791 | - | // | |
| 792 | - | // You must not modify or access @string in any other way after passing | |
| 793 | - | // it to this function. It is even possible that @string is immediately | |
| 794 | - | // freed. | |
| 795 | - | func NewVariantTakeString(StringVar string) *Variant { | |
| 796 | - | core.LazyRegister(&xNewVariantTakeString, "GLIB", "g_variant_new_take_string", false) | |
| 797 | - | ||
| 798 | - | cret := xNewVariantTakeString(StringVar) | |
| 799 | - | if cret == 0 { | |
| 800 | - | return nil | |
| 801 | - | } | |
| 802 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 803 | - | } | |
| 804 | - | ||
| 805 | - | var xNewVariantTuple func(uintptr, uint) uintptr | |
| 806 | - | ||
| 807 | - | // Creates a new tuple #GVariant out of the items in @children. The | |
| 808 | - | // type is determined from the types of @children. No entry in the | |
| 809 | - | // @children array may be %NULL. | |
| 810 | - | // | |
| 811 | - | // If @n_children is 0 then the unit tuple is constructed. | |
| 812 | - | // | |
| 813 | - | // If the @children are floating references (see g_variant_ref_sink()), the | |
| 814 | - | // new instance takes ownership of them as if via g_variant_ref_sink(). | |
| 815 | - | func NewVariantTuple(ChildrenVar uintptr, NChildrenVar uint) *Variant { | |
| 816 | - | core.LazyRegister(&xNewVariantTuple, "GLIB", "g_variant_new_tuple", false) | |
| 817 | - | ||
| 818 | - | cret := xNewVariantTuple(ChildrenVar, NChildrenVar) | |
| 819 | - | if cret == 0 { | |
| 820 | - | return nil | |
| 821 | - | } | |
| 822 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 823 | - | } | |
| 824 | - | ||
| 825 | - | var xNewVariantUint16 func(uint16) uintptr | |
| 826 | - | ||
| 827 | - | // Creates a new uint16 #GVariant instance. | |
| 828 | - | func NewVariantUint16(ValueVar uint16) *Variant { | |
| 829 | - | core.LazyRegister(&xNewVariantUint16, "GLIB", "g_variant_new_uint16", false) | |
| 830 | - | ||
| 831 | - | cret := xNewVariantUint16(ValueVar) | |
| 832 | - | if cret == 0 { | |
| 833 | - | return nil | |
| 834 | - | } | |
| 835 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 836 | - | } | |
| 837 | - | ||
| 838 | - | var xNewVariantUint32 func(uint32) uintptr | |
| 839 | - | ||
| 840 | - | // Creates a new uint32 #GVariant instance. | |
| 841 | - | func NewVariantUint32(ValueVar uint32) *Variant { | |
| 842 | - | core.LazyRegister(&xNewVariantUint32, "GLIB", "g_variant_new_uint32", false) | |
| 843 | - | ||
| 844 | - | cret := xNewVariantUint32(ValueVar) | |
| 845 | - | if cret == 0 { | |
| 846 | - | return nil | |
| 847 | - | } | |
| 848 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 849 | - | } | |
| 850 | - | ||
| 851 | - | var xNewVariantUint64 func(uint64) uintptr | |
| 852 | - | ||
| 853 | - | // Creates a new uint64 #GVariant instance. | |
| 854 | - | func NewVariantUint64(ValueVar uint64) *Variant { | |
| 855 | - | core.LazyRegister(&xNewVariantUint64, "GLIB", "g_variant_new_uint64", false) | |
| 856 | - | ||
| 857 | - | cret := xNewVariantUint64(ValueVar) | |
| 858 | - | if cret == 0 { | |
| 859 | - | return nil | |
| 860 | - | } | |
| 861 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 862 | - | } | |
| 863 | - | ||
| 864 | - | var xNewVariantVa func(string, uintptr, []interface{}) uintptr | |
| 865 | - | ||
| 866 | - | // This function is intended to be used by libraries based on | |
| 867 | - | // #GVariant that want to provide g_variant_new()-like functionality | |
| 868 | - | // to their users. | |
| 869 | - | // | |
| 870 | - | // The API is more general than g_variant_new() to allow a wider range | |
| 871 | - | // of possible uses. | |
| 872 | - | // | |
| 873 | - | // @format_string must still point to a valid format string, but it only | |
| 874 | - | // needs to be nul-terminated if @endptr is %NULL. If @endptr is | |
| 875 | - | // non-%NULL then it is updated to point to the first character past the | |
| 876 | - | // end of the format string. | |
| 877 | - | // | |
| 878 | - | // @app is a pointer to a #va_list. The arguments, according to | |
| 879 | - | // @format_string, are collected from this #va_list and the list is left | |
| 880 | - | // pointing to the argument following the last. | |
| 881 | - | // | |
| 882 | - | // Note that the arguments in @app must be of the correct width for their | |
| 883 | - | // types specified in @format_string when collected into the #va_list. | |
| 884 | - | // See the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 885 | - | // | |
| 886 | - | // These two generalisations allow mixing of multiple calls to | |
| 887 | - | // g_variant_new_va() and g_variant_get_va() within a single actual | |
| 888 | - | // varargs call by the user. | |
| 889 | - | // | |
| 890 | - | // The return value will be floating if it was a newly created GVariant | |
| 891 | - | // instance (for example, if the format string was "(ii)"). In the case | |
| 892 | - | // that the format_string was '*', '?', 'r', or a format starting with | |
| 893 | - | // '@' then the collected #GVariant pointer will be returned unmodified, | |
| 894 | - | // without adding any additional references. | |
| 895 | - | // | |
| 896 | - | // In order to behave correctly in all cases it is necessary for the | |
| 897 | - | // calling function to g_variant_ref_sink() the return result before | |
| 898 | - | // returning control to the user that originally provided the pointer. | |
| 899 | - | // At this point, the caller will have their own full reference to the | |
| 900 | - | // result. This can also be done by adding the result to a container, | |
| 901 | - | // or by passing it to another g_variant_new() call. | |
| 902 | - | func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant { | |
| 903 | - | core.LazyRegister(&xNewVariantVa, "GLIB", "g_variant_new_va", false) | |
| 904 | - | ||
| 905 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |
| 906 | - | defer core.GFreeNullable(EndptrVarPtr) | |
| 907 | - | ||
| 908 | - | cret := xNewVariantVa(FormatStringVar, EndptrVarPtr, AppVar) | |
| 909 | - | if cret == 0 { | |
| 910 | - | return nil | |
| 911 | - | } | |
| 912 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 913 | - | } | |
| 914 | - | ||
| 915 | - | var xNewVariantVariant func(*Variant) uintptr | |
| 916 | - | ||
| 917 | - | // Boxes @value. The result is a #GVariant instance representing a | |
| 918 | - | // variant containing the original value. | |
| 919 | - | // | |
| 920 | - | // If @child is a floating reference (see g_variant_ref_sink()), the new | |
| 921 | - | // instance takes ownership of @child. | |
| 922 | - | func NewVariantVariant(ValueVar *Variant) *Variant { | |
| 923 | - | core.LazyRegister(&xNewVariantVariant, "GLIB", "g_variant_new_variant", false) | |
| 924 | - | ||
| 925 | - | cret := xNewVariantVariant(ValueVar) | |
| 926 | - | if cret == 0 { | |
| 927 | - | return nil | |
| 928 | - | } | |
| 929 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 930 | - | } | |
| 931 | - | ||
| 932 | - | var xVariantByteswap func(uintptr) uintptr | |
| 933 | - | ||
| 934 | - | // Performs a byteswapping operation on the contents of @value. The | |
| 935 | - | // result is that all multi-byte numeric data contained in @value is | |
| 936 | - | // byteswapped. That includes 16, 32, and 64bit signed and unsigned | |
| 937 | - | // integers as well as file handles and double precision floating point | |
| 938 | - | // values. | |
| 939 | - | // | |
| 940 | - | // This function is an identity mapping on any value that does not | |
| 941 | - | // contain multi-byte numeric data. That include strings, booleans, | |
| 942 | - | // bytes and containers containing only these things (recursively). | |
| 943 | - | // | |
| 944 | - | // While this function can safely handle untrusted, non-normal data, it is | |
| 945 | - | // recommended to check whether the input is in normal form beforehand, using | |
| 946 | - | // g_variant_is_normal_form(), and to reject non-normal inputs if your | |
| 947 | - | // application can be strict about what inputs it rejects. | |
| 948 | - | // | |
| 949 | - | // The returned value is always in normal form and is marked as trusted. | |
| 950 | - | // A full, not floating, reference is returned. | |
| 951 | - | func (x *Variant) Byteswap() *Variant { | |
| 952 | - | core.LazyRegister(&xVariantByteswap, "GLIB", "g_variant_byteswap", false) | |
| 953 | - | ||
| 954 | - | cret := xVariantByteswap(x.GoPointer()) | |
| 955 | - | if cret == 0 { | |
| 956 | - | return nil | |
| 957 | - | } | |
| 958 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 959 | - | } | |
| 960 | - | ||
| 961 | - | var xVariantCheckFormatString func(uintptr, string, bool) bool | |
| 962 | - | ||
| 963 | - | // Checks if calling g_variant_get() with @format_string on @value would | |
| 964 | - | // be valid from a type-compatibility standpoint. @format_string is | |
| 965 | - | // assumed to be a valid format string (from a syntactic standpoint). | |
| 966 | - | // | |
| 967 | - | // If @copy_only is %TRUE then this function additionally checks that it | |
| 968 | - | // would be safe to call g_variant_unref() on @value immediately after | |
| 969 | - | // the call to g_variant_get() without invalidating the result. This is | |
| 970 | - | // only possible if deep copies are made (ie: there are no pointers to | |
| 971 | - | // the data inside of the soon-to-be-freed #GVariant instance). If this | |
| 972 | - | // check fails then a g_critical() is printed and %FALSE is returned. | |
| 973 | - | // | |
| 974 | - | // This function is meant to be used by functions that wish to provide | |
| 975 | - | // varargs accessors to #GVariant values of uncertain values (eg: | |
| 976 | - | // g_variant_lookup() or g_menu_model_get_item_attribute()). | |
| 977 | - | func (x *Variant) CheckFormatString(FormatStringVar string, CopyOnlyVar bool) bool { | |
| 978 | - | core.LazyRegister(&xVariantCheckFormatString, "GLIB", "g_variant_check_format_string", false) | |
| 979 | - | ||
| 980 | - | cret := xVariantCheckFormatString(x.GoPointer(), FormatStringVar, CopyOnlyVar) | |
| 981 | - | return cret | |
| 982 | - | } | |
| 983 | - | ||
| 984 | - | var xVariantClassify func(uintptr) VariantClass | |
| 985 | - | ||
| 986 | - | // Classifies @value according to its top-level type. | |
| 987 | - | func (x *Variant) Classify() VariantClass { | |
| 988 | - | core.LazyRegister(&xVariantClassify, "GLIB", "g_variant_classify", false) | |
| 989 | - | ||
| 990 | - | cret := xVariantClassify(x.GoPointer()) | |
| 991 | - | return cret | |
| 992 | - | } | |
| 993 | - | ||
| 994 | - | var xVariantCompare func(uintptr, uintptr) int | |
| 995 | - | ||
| 996 | - | // Compares @one and @two. | |
| 997 | - | // | |
| 998 | - | // The types of @one and @two are #gconstpointer only to allow use of | |
| 999 | - | // this function with #GTree, #GPtrArray, etc. They must each be a | |
| 1000 | - | // #GVariant. | |
| 1001 | - | // | |
| 1002 | - | // Comparison is only defined for basic types (ie: booleans, numbers, | |
| 1003 | - | // strings). For booleans, %FALSE is less than %TRUE. Numbers are | |
| 1004 | - | // ordered in the usual way. Strings are in ASCII lexographical order. | |
| 1005 | - | // | |
| 1006 | - | // It is a programmer error to attempt to compare container values or | |
| 1007 | - | // two values that have types that are not exactly equal. For example, | |
| 1008 | - | // you cannot compare a 32-bit signed integer with a 32-bit unsigned | |
| 1009 | - | // integer. Also note that this function is not particularly | |
| 1010 | - | // well-behaved when it comes to comparison of doubles; in particular, | |
| 1011 | - | // the handling of incomparable values (ie: NaN) is undefined. | |
| 1012 | - | // | |
| 1013 | - | // If you only require an equality comparison, g_variant_equal() is more | |
| 1014 | - | // general. | |
| 1015 | - | func (x *Variant) Compare(TwoVar uintptr) int { | |
| 1016 | - | core.LazyRegister(&xVariantCompare, "GLIB", "g_variant_compare", false) | |
| 1017 | - | ||
| 1018 | - | cret := xVariantCompare(x.GoPointer(), TwoVar) | |
| 1019 | - | return cret | |
| 1020 | - | } | |
| 1021 | - | ||
| 1022 | - | var xVariantDupBytestring func(uintptr, *uint) uintptr | |
| 1023 | - | ||
| 1024 | - | // Similar to g_variant_get_bytestring() except that instead of | |
| 1025 | - | // returning a constant string, the string is duplicated. | |
| 1026 | - | // | |
| 1027 | - | // The return value must be freed using g_free(). | |
| 1028 | - | func (x *Variant) DupBytestring(LengthVar *uint) uintptr { | |
| 1029 | - | core.LazyRegister(&xVariantDupBytestring, "GLIB", "g_variant_dup_bytestring", false) | |
| 1030 | - | ||
| 1031 | - | cret := xVariantDupBytestring(x.GoPointer(), LengthVar) | |
| 1032 | - | return cret | |
| 1033 | - | } | |
| 1034 | - | ||
| 1035 | - | var xVariantDupBytestringArray func(uintptr, *uint) []string | |
| 1036 | - | ||
| 1037 | - | // Gets the contents of an array of array of bytes #GVariant. This call | |
| 1038 | - | // makes a deep copy; the return result should be released with | |
| 1039 | - | // g_strfreev(). | |
| 1040 | - | // | |
| 1041 | - | // If @length is non-%NULL then the number of elements in the result is | |
| 1042 | - | // stored there. In any case, the resulting array will be | |
| 1043 | - | // %NULL-terminated. | |
| 1044 | - | // | |
| 1045 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1046 | - | // %NULL pointer will be returned. | |
| 1047 | - | func (x *Variant) DupBytestringArray(LengthVar *uint) []string { | |
| 1048 | - | core.LazyRegister(&xVariantDupBytestringArray, "GLIB", "g_variant_dup_bytestring_array", false) | |
| 1049 | - | ||
| 1050 | - | cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar) | |
| 1051 | - | return cret | |
| 1052 | - | } | |
| 1053 | - | ||
| 1054 | - | var xVariantDupObjv func(uintptr, *uint) []string | |
| 1055 | - | ||
| 1056 | - | // Gets the contents of an array of object paths #GVariant. This call | |
| 1057 | - | // makes a deep copy; the return result should be released with | |
| 1058 | - | // g_strfreev(). | |
| 1059 | - | // | |
| 1060 | - | // If @length is non-%NULL then the number of elements in the result | |
| 1061 | - | // is stored there. In any case, the resulting array will be | |
| 1062 | - | // %NULL-terminated. | |
| 1063 | - | // | |
| 1064 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1065 | - | // %NULL pointer will be returned. | |
| 1066 | - | func (x *Variant) DupObjv(LengthVar *uint) []string { | |
| 1067 | - | core.LazyRegister(&xVariantDupObjv, "GLIB", "g_variant_dup_objv", false) | |
| 1068 | - | ||
| 1069 | - | cret := xVariantDupObjv(x.GoPointer(), LengthVar) | |
| 1070 | - | return cret | |
| 1071 | - | } | |
| 1072 | - | ||
| 1073 | - | var xVariantDupString func(uintptr, *uint) string | |
| 1074 | - | ||
| 1075 | - | // Similar to g_variant_get_string() except that instead of returning | |
| 1076 | - | // a constant string, the string is duplicated. | |
| 1077 | - | // | |
| 1078 | - | // The string will always be UTF-8 encoded. | |
| 1079 | - | // | |
| 1080 | - | // The return value must be freed using g_free(). | |
| 1081 | - | func (x *Variant) DupString(LengthVar *uint) string { | |
| 1082 | - | core.LazyRegister(&xVariantDupString, "GLIB", "g_variant_dup_string", false) | |
| 1083 | - | ||
| 1084 | - | cret := xVariantDupString(x.GoPointer(), LengthVar) | |
| 1085 | - | return cret | |
| 1086 | - | } | |
| 1087 | - | ||
| 1088 | - | var xVariantDupStrv func(uintptr, *uint) []string | |
| 1089 | - | ||
| 1090 | - | // Gets the contents of an array of strings #GVariant. This call | |
| 1091 | - | // makes a deep copy; the return result should be released with | |
| 1092 | - | // g_strfreev(). | |
| 1093 | - | // | |
| 1094 | - | // If @length is non-%NULL then the number of elements in the result | |
| 1095 | - | // is stored there. In any case, the resulting array will be | |
| 1096 | - | // %NULL-terminated. | |
| 1097 | - | // | |
| 1098 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1099 | - | // %NULL pointer will be returned. | |
| 1100 | - | func (x *Variant) DupStrv(LengthVar *uint) []string { | |
| 1101 | - | core.LazyRegister(&xVariantDupStrv, "GLIB", "g_variant_dup_strv", false) | |
| 1102 | - | ||
| 1103 | - | cret := xVariantDupStrv(x.GoPointer(), LengthVar) | |
| 1104 | - | return cret | |
| 1105 | - | } | |
| 1106 | - | ||
| 1107 | - | var xVariantEqual func(uintptr, uintptr) bool | |
| 1108 | - | ||
| 1109 | - | // Checks if @one and @two have the same type and value. | |
| 1110 | - | // | |
| 1111 | - | // The types of @one and @two are #gconstpointer only to allow use of | |
| 1112 | - | // this function with #GHashTable. They must each be a #GVariant. | |
| 1113 | - | func (x *Variant) Equal(TwoVar uintptr) bool { | |
| 1114 | - | core.LazyRegister(&xVariantEqual, "GLIB", "g_variant_equal", false) | |
| 1115 | - | ||
| 1116 | - | cret := xVariantEqual(x.GoPointer(), TwoVar) | |
| 1117 | - | return cret | |
| 1118 | - | } | |
| 1119 | - | ||
| 1120 | - | var xVariantGet func(uintptr, string, ...interface{}) | |
| 1121 | - | ||
| 1122 | - | // Deconstructs a #GVariant instance. | |
| 1123 | - | // | |
| 1124 | - | // Think of this function as an analogue to scanf(). | |
| 1125 | - | // | |
| 1126 | - | // The arguments that are expected by this function are entirely | |
| 1127 | - | // determined by @format_string. @format_string also restricts the | |
| 1128 | - | // permissible types of @value. It is an error to give a value with | |
| 1129 | - | // an incompatible type. See the section on | |
| 1130 | - | // [GVariant format strings](gvariant-format-strings.html). | |
| 1131 | - | // Please note that the syntax of the format string is very likely to be | |
| 1132 | - | // extended in the future. | |
| 1133 | - | // | |
| 1134 | - | // @format_string determines the C types that are used for unpacking | |
| 1135 | - | // the values and also determines if the values are copied or borrowed, | |
| 1136 | - | // see the section on | |
| 1137 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 1138 | - | func (x *Variant) Get(FormatStringVar string, varArgs ...interface{}) { | |
| 1139 | - | core.LazyRegister(&xVariantGet, "GLIB", "g_variant_get", false) | |
| 1140 | - | ||
| 1141 | - | xVariantGet(x.GoPointer(), FormatStringVar, varArgs...) | |
| 1142 | - | } | |
| 1143 | - | ||
| 1144 | - | var xVariantGetBoolean func(uintptr) bool | |
| 1145 | - | ||
| 1146 | - | // Returns the boolean value of @value. | |
| 1147 | - | // | |
| 1148 | - | // It is an error to call this function with a @value of any type | |
| 1149 | - | // other than %G_VARIANT_TYPE_BOOLEAN. | |
| 1150 | - | func (x *Variant) GetBoolean() bool { | |
| 1151 | - | core.LazyRegister(&xVariantGetBoolean, "GLIB", "g_variant_get_boolean", false) | |
| 1152 | - | ||
| 1153 | - | cret := xVariantGetBoolean(x.GoPointer()) | |
| 1154 | - | return cret | |
| 1155 | - | } | |
| 1156 | - | ||
| 1157 | - | var xVariantGetByte func(uintptr) byte | |
| 1158 | - | ||
| 1159 | - | // Returns the byte value of @value. | |
| 1160 | - | // | |
| 1161 | - | // It is an error to call this function with a @value of any type | |
| 1162 | - | // other than %G_VARIANT_TYPE_BYTE. | |
| 1163 | - | func (x *Variant) GetByte() byte { | |
| 1164 | - | core.LazyRegister(&xVariantGetByte, "GLIB", "g_variant_get_byte", false) | |
| 1165 | - | ||
| 1166 | - | cret := xVariantGetByte(x.GoPointer()) | |
| 1167 | - | return cret | |
| 1168 | - | } | |
| 1169 | - | ||
| 1170 | - | var xVariantGetBytestring func(uintptr) uintptr | |
| 1171 | - | ||
| 1172 | - | // Returns the string value of a #GVariant instance with an | |
| 1173 | - | // array-of-bytes type. The string has no particular encoding. | |
| 1174 | - | // | |
| 1175 | - | // If the array does not end with a nul terminator character, the empty | |
| 1176 | - | // string is returned. For this reason, you can always trust that a | |
| 1177 | - | // non-%NULL nul-terminated string will be returned by this function. | |
| 1178 | - | // | |
| 1179 | - | // If the array contains a nul terminator character somewhere other than | |
| 1180 | - | // the last byte then the returned string is the string, up to the first | |
| 1181 | - | // such nul character. | |
| 1182 | - | // | |
| 1183 | - | // g_variant_get_fixed_array() should be used instead if the array contains | |
| 1184 | - | // arbitrary data that could not be nul-terminated or could contain nul bytes. | |
| 1185 | - | // | |
| 1186 | - | // It is an error to call this function with a @value that is not an | |
| 1187 | - | // array of bytes. | |
| 1188 | - | // | |
| 1189 | - | // The return value remains valid as long as @value exists. | |
| 1190 | - | func (x *Variant) GetBytestring() uintptr { | |
| 1191 | - | core.LazyRegister(&xVariantGetBytestring, "GLIB", "g_variant_get_bytestring", false) | |
| 1192 | - | ||
| 1193 | - | cret := xVariantGetBytestring(x.GoPointer()) | |
| 1194 | - | return cret | |
| 1195 | - | } | |
| 1196 | - | ||
| 1197 | - | var xVariantGetBytestringArray func(uintptr, *uint) []string | |
| 1198 | - | ||
| 1199 | - | // Gets the contents of an array of array of bytes #GVariant. This call | |
| 1200 | - | // makes a shallow copy; the return result should be released with | |
| 1201 | - | // g_free(), but the individual strings must not be modified. | |
| 1202 | - | // | |
| 1203 | - | // If @length is non-%NULL then the number of elements in the result is | |
| 1204 | - | // stored there. In any case, the resulting array will be | |
| 1205 | - | // %NULL-terminated. | |
| 1206 | - | // | |
| 1207 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1208 | - | // %NULL pointer will be returned. | |
| 1209 | - | func (x *Variant) GetBytestringArray(LengthVar *uint) []string { | |
| 1210 | - | core.LazyRegister(&xVariantGetBytestringArray, "GLIB", "g_variant_get_bytestring_array", false) | |
| 1211 | - | ||
| 1212 | - | cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar) | |
| 1213 | - | return cret | |
| 1214 | - | } | |
| 1215 | - | ||
| 1216 | - | var xVariantGetChild func(uintptr, uint, string, ...interface{}) | |
| 1217 | - | ||
| 1218 | - | // Reads a child item out of a container #GVariant instance and | |
| 1219 | - | // deconstructs it according to @format_string. This call is | |
| 1220 | - | // essentially a combination of g_variant_get_child_value() and | |
| 1221 | - | // g_variant_get(). | |
| 1222 | - | // | |
| 1223 | - | // @format_string determines the C types that are used for unpacking | |
| 1224 | - | // the values and also determines if the values are copied or borrowed, | |
| 1225 | - | // see the section on | |
| 1226 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 1227 | - | func (x *Variant) GetChild(IndexVar uint, FormatStringVar string, varArgs ...interface{}) { | |
| 1228 | - | core.LazyRegister(&xVariantGetChild, "GLIB", "g_variant_get_child", false) | |
| 1229 | - | ||
| 1230 | - | xVariantGetChild(x.GoPointer(), IndexVar, FormatStringVar, varArgs...) | |
| 1231 | - | } | |
| 1232 | - | ||
| 1233 | - | var xVariantGetChildValue func(uintptr, uint) uintptr | |
| 1234 | - | ||
| 1235 | - | // Reads a child item out of a container #GVariant instance. This | |
| 1236 | - | // includes variants, maybes, arrays, tuples and dictionary | |
| 1237 | - | // entries. It is an error to call this function on any other type of | |
| 1238 | - | // #GVariant. | |
| 1239 | - | // | |
| 1240 | - | // It is an error if @index_ is greater than the number of child items | |
| 1241 | - | // in the container. See g_variant_n_children(). | |
| 1242 | - | // | |
| 1243 | - | // The returned value is never floating. You should free it with | |
| 1244 | - | // g_variant_unref() when you're done with it. | |
| 1245 | - | // | |
| 1246 | - | // Note that values borrowed from the returned child are not guaranteed to | |
| 1247 | - | // still be valid after the child is freed even if you still hold a reference | |
| 1248 | - | // to @value, if @value has not been serialized at the time this function is | |
| 1249 | - | // called. To avoid this, you can serialize @value by calling | |
| 1250 | - | // g_variant_get_data() and optionally ignoring the return value. | |
| 1251 | - | // | |
| 1252 | - | // There may be implementation specific restrictions on deeply nested values, | |
| 1253 | - | // which would result in the unit tuple being returned as the child value, | |
| 1254 | - | // instead of further nested children. #GVariant is guaranteed to handle | |
| 1255 | - | // nesting up to at least 64 levels. | |
| 1256 | - | // | |
| 1257 | - | // This function is O(1). | |
| 1258 | - | func (x *Variant) GetChildValue(IndexVar uint) *Variant { | |
| 1259 | - | core.LazyRegister(&xVariantGetChildValue, "GLIB", "g_variant_get_child_value", false) | |
| 1260 | - | ||
| 1261 | - | cret := xVariantGetChildValue(x.GoPointer(), IndexVar) | |
| 1262 | - | if cret == 0 { | |
| 1263 | - | return nil | |
| 1264 | - | } | |
| 1265 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1266 | - | } | |
| 1267 | - | ||
| 1268 | - | var xVariantGetData func(uintptr) uintptr | |
| 1269 | - | ||
| 1270 | - | // Returns a pointer to the serialized form of a #GVariant instance. | |
| 1271 | - | // The returned data may not be in fully-normalised form if read from an | |
| 1272 | - | // untrusted source. The returned data must not be freed; it remains | |
| 1273 | - | // valid for as long as @value exists. | |
| 1274 | - | // | |
| 1275 | - | // If @value is a fixed-sized value that was deserialized from a | |
| 1276 | - | // corrupted serialized container then %NULL may be returned. In this | |
| 1277 | - | // case, the proper thing to do is typically to use the appropriate | |
| 1278 | - | // number of nul bytes in place of @value. If @value is not fixed-sized | |
| 1279 | - | // then %NULL is never returned. | |
| 1280 | - | // | |
| 1281 | - | // In the case that @value is already in serialized form, this function | |
| 1282 | - | // is O(1). If the value is not already in serialized form, | |
| 1283 | - | // serialization occurs implicitly and is approximately O(n) in the size | |
| 1284 | - | // of the result. | |
| 1285 | - | // | |
| 1286 | - | // To deserialize the data returned by this function, in addition to the | |
| 1287 | - | // serialized data, you must know the type of the #GVariant, and (if the | |
| 1288 | - | // machine might be different) the endianness of the machine that stored | |
| 1289 | - | // it. As a result, file formats or network messages that incorporate | |
| 1290 | - | // serialized #GVariants must include this information either | |
| 1291 | - | // implicitly (for instance "the file always contains a | |
| 1292 | - | // %G_VARIANT_TYPE_VARIANT and it is always in little-endian order") or | |
| 1293 | - | // explicitly (by storing the type and/or endianness in addition to the | |
| 1294 | - | // serialized data). | |
| 1295 | - | func (x *Variant) GetData() uintptr { | |
| 1296 | - | core.LazyRegister(&xVariantGetData, "GLIB", "g_variant_get_data", false) | |
| 1297 | - | ||
| 1298 | - | cret := xVariantGetData(x.GoPointer()) | |
| 1299 | - | return cret | |
| 1300 | - | } | |
| 1301 | - | ||
| 1302 | - | var xVariantGetDataAsBytes func(uintptr) uintptr | |
| 1303 | - | ||
| 1304 | - | // Returns a pointer to the serialized form of a #GVariant instance. | |
| 1305 | - | // The semantics of this function are exactly the same as | |
| 1306 | - | // g_variant_get_data(), except that the returned #GBytes holds | |
| 1307 | - | // a reference to the variant data. | |
| 1308 | - | func (x *Variant) GetDataAsBytes() *Bytes { | |
| 1309 | - | core.LazyRegister(&xVariantGetDataAsBytes, "GLIB", "g_variant_get_data_as_bytes", false) | |
| 1310 | - | ||
| 1311 | - | cret := xVariantGetDataAsBytes(x.GoPointer()) | |
| 1312 | - | if cret == 0 { | |
| 1313 | - | return nil | |
| 1314 | - | } | |
| 1315 | - | return (*Bytes)(unsafe.Pointer(cret)) | |
| 1316 | - | } | |
| 1317 | - | ||
| 1318 | - | var xVariantGetDouble func(uintptr) float64 | |
| 1319 | - | ||
| 1320 | - | // Returns the double precision floating point value of @value. | |
| 1321 | - | // | |
| 1322 | - | // It is an error to call this function with a @value of any type | |
| 1323 | - | // other than %G_VARIANT_TYPE_DOUBLE. | |
| 1324 | - | func (x *Variant) GetDouble() float64 { | |
| 1325 | - | core.LazyRegister(&xVariantGetDouble, "GLIB", "g_variant_get_double", false) | |
| 1326 | - | ||
| 1327 | - | cret := xVariantGetDouble(x.GoPointer()) | |
| 1328 | - | return cret | |
| 1329 | - | } | |
| 1330 | - | ||
| 1331 | - | var xVariantGetFixedArray func(uintptr, *uint, uint) uintptr | |
| 1332 | - | ||
| 1333 | - | // Provides access to the serialized data for an array of fixed-sized | |
| 1334 | - | // items. | |
| 1335 | - | // | |
| 1336 | - | // @value must be an array with fixed-sized elements. Numeric types are | |
| 1337 | - | // fixed-size, as are tuples containing only other fixed-sized types. | |
| 1338 | - | // | |
| 1339 | - | // @element_size must be the size of a single element in the array, | |
| 1340 | - | // as given by the section on | |
| 1341 | - | // [serialized data memory](struct.Variant.html#serialized-data-memory). | |
| 1342 | - | // | |
| 1343 | - | // In particular, arrays of these fixed-sized types can be interpreted | |
| 1344 | - | // as an array of the given C type, with @element_size set to the size | |
| 1345 | - | // the appropriate type: | |
| 1346 | - | // - %G_VARIANT_TYPE_INT16 (etc.): #gint16 (etc.) | |
| 1347 | - | // - %G_VARIANT_TYPE_BOOLEAN: #guchar (not #gboolean!) | |
| 1348 | - | // - %G_VARIANT_TYPE_BYTE: #guint8 | |
| 1349 | - | // - %G_VARIANT_TYPE_HANDLE: #guint32 | |
| 1350 | - | // - %G_VARIANT_TYPE_DOUBLE: #gdouble | |
| 1351 | - | // | |
| 1352 | - | // For example, if calling this function for an array of 32-bit integers, | |
| 1353 | - | // you might say `sizeof(gint32)`. This value isn't used except for the purpose | |
| 1354 | - | // of a double-check that the form of the serialized data matches the caller's | |
| 1355 | - | // expectation. | |
| 1356 | - | // | |
| 1357 | - | // @n_elements, which must be non-%NULL, is set equal to the number of | |
| 1358 | - | // items in the array. | |
| 1359 | - | func (x *Variant) GetFixedArray(NElementsVar *uint, ElementSizeVar uint) uintptr { | |
| 1360 | - | core.LazyRegister(&xVariantGetFixedArray, "GLIB", "g_variant_get_fixed_array", false) | |
| 1361 | - | ||
| 1362 | - | cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar) | |
| 1363 | - | return cret | |
| 1364 | - | } | |
| 1365 | - | ||
| 1366 | - | var xVariantGetHandle func(uintptr) int32 | |
| 1367 | - | ||
| 1368 | - | // Returns the 32-bit signed integer value of @value. | |
| 1369 | - | // | |
| 1370 | - | // It is an error to call this function with a @value of any type other | |
| 1371 | - | // than %G_VARIANT_TYPE_HANDLE. | |
| 1372 | - | // | |
| 1373 | - | // By convention, handles are indexes into an array of file descriptors | |
| 1374 | - | // that are sent alongside a D-Bus message. If you're not interacting | |
| 1375 | - | // with D-Bus, you probably don't need them. | |
| 1376 | - | func (x *Variant) GetHandle() int32 { | |
| 1377 | - | core.LazyRegister(&xVariantGetHandle, "GLIB", "g_variant_get_handle", false) | |
| 1378 | - | ||
| 1379 | - | cret := xVariantGetHandle(x.GoPointer()) | |
| 1380 | - | return cret | |
| 1381 | - | } | |
| 1382 | - | ||
| 1383 | - | var xVariantGetInt16 func(uintptr) int16 | |
| 1384 | - | ||
| 1385 | - | // Returns the 16-bit signed integer value of @value. | |
| 1386 | - | // | |
| 1387 | - | // It is an error to call this function with a @value of any type | |
| 1388 | - | // other than %G_VARIANT_TYPE_INT16. | |
| 1389 | - | func (x *Variant) GetInt16() int16 { | |
| 1390 | - | core.LazyRegister(&xVariantGetInt16, "GLIB", "g_variant_get_int16", false) | |
| 1391 | - | ||
| 1392 | - | cret := xVariantGetInt16(x.GoPointer()) | |
| 1393 | - | return cret | |
| 1394 | - | } | |
| 1395 | - | ||
| 1396 | - | var xVariantGetInt32 func(uintptr) int32 | |
| 1397 | - | ||
| 1398 | - | // Returns the 32-bit signed integer value of @value. | |
| 1399 | - | // | |
| 1400 | - | // It is an error to call this function with a @value of any type | |
| 1401 | - | // other than %G_VARIANT_TYPE_INT32. | |
| 1402 | - | func (x *Variant) GetInt32() int32 { | |
| 1403 | - | core.LazyRegister(&xVariantGetInt32, "GLIB", "g_variant_get_int32", false) | |
| 1404 | - | ||
| 1405 | - | cret := xVariantGetInt32(x.GoPointer()) | |
| 1406 | - | return cret | |
| 1407 | - | } | |
| 1408 | - | ||
| 1409 | - | var xVariantGetInt64 func(uintptr) int64 | |
| 1410 | - | ||
| 1411 | - | // Returns the 64-bit signed integer value of @value. | |
| 1412 | - | // | |
| 1413 | - | // It is an error to call this function with a @value of any type | |
| 1414 | - | // other than %G_VARIANT_TYPE_INT64. | |
| 1415 | - | func (x *Variant) GetInt64() int64 { | |
| 1416 | - | core.LazyRegister(&xVariantGetInt64, "GLIB", "g_variant_get_int64", false) | |
| 1417 | - | ||
| 1418 | - | cret := xVariantGetInt64(x.GoPointer()) | |
| 1419 | - | return cret | |
| 1420 | - | } | |
| 1421 | - | ||
| 1422 | - | var xVariantGetMaybe func(uintptr) uintptr | |
| 1423 | - | ||
| 1424 | - | // Given a maybe-typed #GVariant instance, extract its value. If the | |
| 1425 | - | // value is Nothing, then this function returns %NULL. | |
| 1426 | - | func (x *Variant) GetMaybe() *Variant { | |
| 1427 | - | core.LazyRegister(&xVariantGetMaybe, "GLIB", "g_variant_get_maybe", false) | |
| 1428 | - | ||
| 1429 | - | cret := xVariantGetMaybe(x.GoPointer()) | |
| 1430 | - | if cret == 0 { | |
| 1431 | - | return nil | |
| 1432 | - | } | |
| 1433 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1434 | - | } | |
| 1435 | - | ||
| 1436 | - | var xVariantGetNormalForm func(uintptr) uintptr | |
| 1437 | - | ||
| 1438 | - | // Gets a #GVariant instance that has the same value as @value and is | |
| 1439 | - | // trusted to be in normal form. | |
| 1440 | - | // | |
| 1441 | - | // If @value is already trusted to be in normal form then a new | |
| 1442 | - | // reference to @value is returned. | |
| 1443 | - | // | |
| 1444 | - | // If @value is not already trusted, then it is scanned to check if it | |
| 1445 | - | // is in normal form. If it is found to be in normal form then it is | |
| 1446 | - | // marked as trusted and a new reference to it is returned. | |
| 1447 | - | // | |
| 1448 | - | // If @value is found not to be in normal form then a new trusted | |
| 1449 | - | // #GVariant is created with the same value as @value. The non-normal parts of | |
| 1450 | - | // @value will be replaced with default values which are guaranteed to be in | |
| 1451 | - | // normal form. | |
| 1452 | - | // | |
| 1453 | - | // It makes sense to call this function if you've received #GVariant | |
| 1454 | - | // data from untrusted sources and you want to ensure your serialized | |
| 1455 | - | // output is definitely in normal form. | |
| 1456 | - | // | |
| 1457 | - | // If @value is already in normal form, a new reference will be returned | |
| 1458 | - | // (which will be floating if @value is floating). If it is not in normal form, | |
| 1459 | - | // the newly created #GVariant will be returned with a single non-floating | |
| 1460 | - | // reference. Typically, g_variant_take_ref() should be called on the return | |
| 1461 | - | // value from this function to guarantee ownership of a single non-floating | |
| 1462 | - | // reference to it. | |
| 1463 | - | func (x *Variant) GetNormalForm() *Variant { | |
| 1464 | - | core.LazyRegister(&xVariantGetNormalForm, "GLIB", "g_variant_get_normal_form", false) | |
| 1465 | - | ||
| 1466 | - | cret := xVariantGetNormalForm(x.GoPointer()) | |
| 1467 | - | if cret == 0 { | |
| 1468 | - | return nil | |
| 1469 | - | } | |
| 1470 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1471 | - | } | |
| 1472 | - | ||
| 1473 | - | var xVariantGetObjv func(uintptr, *uint) []string | |
| 1474 | - | ||
| 1475 | - | // Gets the contents of an array of object paths #GVariant. This call | |
| 1476 | - | // makes a shallow copy; the return result should be released with | |
| 1477 | - | // g_free(), but the individual strings must not be modified. | |
| 1478 | - | // | |
| 1479 | - | // If @length is non-%NULL then the number of elements in the result | |
| 1480 | - | // is stored there. In any case, the resulting array will be | |
| 1481 | - | // %NULL-terminated. | |
| 1482 | - | // | |
| 1483 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1484 | - | // %NULL pointer will be returned. | |
| 1485 | - | func (x *Variant) GetObjv(LengthVar *uint) []string { | |
| 1486 | - | core.LazyRegister(&xVariantGetObjv, "GLIB", "g_variant_get_objv", false) | |
| 1487 | - | ||
| 1488 | - | cret := xVariantGetObjv(x.GoPointer(), LengthVar) | |
| 1489 | - | return cret | |
| 1490 | - | } | |
| 1491 | - | ||
| 1492 | - | var xVariantGetSize func(uintptr) uint | |
| 1493 | - | ||
| 1494 | - | // Determines the number of bytes that would be required to store @value | |
| 1495 | - | // with g_variant_store(). | |
| 1496 | - | // | |
| 1497 | - | // If @value has a fixed-sized type then this function always returned | |
| 1498 | - | // that fixed size. | |
| 1499 | - | // | |
| 1500 | - | // In the case that @value is already in serialized form or the size has | |
| 1501 | - | // already been calculated (ie: this function has been called before) | |
| 1502 | - | // then this function is O(1). Otherwise, the size is calculated, an | |
| 1503 | - | // operation which is approximately O(n) in the number of values | |
| 1504 | - | // involved. | |
| 1505 | - | func (x *Variant) GetSize() uint { | |
| 1506 | - | core.LazyRegister(&xVariantGetSize, "GLIB", "g_variant_get_size", false) | |
| 1507 | - | ||
| 1508 | - | cret := xVariantGetSize(x.GoPointer()) | |
| 1509 | - | return cret | |
| 1510 | - | } | |
| 1511 | - | ||
| 1512 | - | var xVariantGetString func(uintptr, *uint) string | |
| 1513 | - | ||
| 1514 | - | // Returns the string value of a #GVariant instance with a string | |
| 1515 | - | // type. This includes the types %G_VARIANT_TYPE_STRING, | |
| 1516 | - | // %G_VARIANT_TYPE_OBJECT_PATH and %G_VARIANT_TYPE_SIGNATURE. | |
| 1517 | - | // | |
| 1518 | - | // The string will always be UTF-8 encoded, will never be %NULL, and will never | |
| 1519 | - | // contain nul bytes. | |
| 1520 | - | // | |
| 1521 | - | // If @length is non-%NULL then the length of the string (in bytes) is | |
| 1522 | - | // returned there. For trusted values, this information is already | |
| 1523 | - | // known. Untrusted values will be validated and, if valid, a strlen() will be | |
| 1524 | - | // performed. If invalid, a default value will be returned — for | |
| 1525 | - | // %G_VARIANT_TYPE_OBJECT_PATH, this is `"/"`, and for other types it is the | |
| 1526 | - | // empty string. | |
| 1527 | - | // | |
| 1528 | - | // It is an error to call this function with a @value of any type | |
| 1529 | - | // other than those three. | |
| 1530 | - | // | |
| 1531 | - | // The return value remains valid as long as @value exists. | |
| 1532 | - | func (x *Variant) GetString(LengthVar *uint) string { | |
| 1533 | - | core.LazyRegister(&xVariantGetString, "GLIB", "g_variant_get_string", false) | |
| 1534 | - | ||
| 1535 | - | cret := xVariantGetString(x.GoPointer(), LengthVar) | |
| 1536 | - | return cret | |
| 1537 | - | } | |
| 1538 | - | ||
| 1539 | - | var xVariantGetStrv func(uintptr, *uint) []string | |
| 1540 | - | ||
| 1541 | - | // Gets the contents of an array of strings #GVariant. This call | |
| 1542 | - | // makes a shallow copy; the return result should be released with | |
| 1543 | - | // g_free(), but the individual strings must not be modified. | |
| 1544 | - | // | |
| 1545 | - | // If @length is non-%NULL then the number of elements in the result | |
| 1546 | - | // is stored there. In any case, the resulting array will be | |
| 1547 | - | // %NULL-terminated. | |
| 1548 | - | // | |
| 1549 | - | // For an empty array, @length will be set to 0 and a pointer to a | |
| 1550 | - | // %NULL pointer will be returned. | |
| 1551 | - | func (x *Variant) GetStrv(LengthVar *uint) []string { | |
| 1552 | - | core.LazyRegister(&xVariantGetStrv, "GLIB", "g_variant_get_strv", false) | |
| 1553 | - | ||
| 1554 | - | cret := xVariantGetStrv(x.GoPointer(), LengthVar) | |
| 1555 | - | return cret | |
| 1556 | - | } | |
| 1557 | - | ||
| 1558 | - | var xVariantGetType func(uintptr) uintptr | |
| 1559 | - | ||
| 1560 | - | // Determines the type of @value. | |
| 1561 | - | // | |
| 1562 | - | // The return value is valid for the lifetime of @value and must not | |
| 1563 | - | // be freed. | |
| 1564 | - | func (x *Variant) GetType() *VariantType { | |
| 1565 | - | core.LazyRegister(&xVariantGetType, "GLIB", "g_variant_get_type", false) | |
| 1566 | - | ||
| 1567 | - | cret := xVariantGetType(x.GoPointer()) | |
| 1568 | - | if cret == 0 { | |
| 1569 | - | return nil | |
| 1570 | - | } | |
| 1571 | - | return (*VariantType)(unsafe.Pointer(cret)) | |
| 1572 | - | } | |
| 1573 | - | ||
| 1574 | - | var xVariantGetTypeString func(uintptr) string | |
| 1575 | - | ||
| 1576 | - | // Returns the type string of @value. Unlike the result of calling | |
| 1577 | - | // g_variant_type_peek_string(), this string is nul-terminated. This | |
| 1578 | - | // string belongs to #GVariant and must not be freed. | |
| 1579 | - | func (x *Variant) GetTypeString() string { | |
| 1580 | - | core.LazyRegister(&xVariantGetTypeString, "GLIB", "g_variant_get_type_string", false) | |
| 1581 | - | ||
| 1582 | - | cret := xVariantGetTypeString(x.GoPointer()) | |
| 1583 | - | return cret | |
| 1584 | - | } | |
| 1585 | - | ||
| 1586 | - | var xVariantGetUint16 func(uintptr) uint16 | |
| 1587 | - | ||
| 1588 | - | // Returns the 16-bit unsigned integer value of @value. | |
| 1589 | - | // | |
| 1590 | - | // It is an error to call this function with a @value of any type | |
| 1591 | - | // other than %G_VARIANT_TYPE_UINT16. | |
| 1592 | - | func (x *Variant) GetUint16() uint16 { | |
| 1593 | - | core.LazyRegister(&xVariantGetUint16, "GLIB", "g_variant_get_uint16", false) | |
| 1594 | - | ||
| 1595 | - | cret := xVariantGetUint16(x.GoPointer()) | |
| 1596 | - | return cret | |
| 1597 | - | } | |
| 1598 | - | ||
| 1599 | - | var xVariantGetUint32 func(uintptr) uint32 | |
| 1600 | - | ||
| 1601 | - | // Returns the 32-bit unsigned integer value of @value. | |
| 1602 | - | // | |
| 1603 | - | // It is an error to call this function with a @value of any type | |
| 1604 | - | // other than %G_VARIANT_TYPE_UINT32. | |
| 1605 | - | func (x *Variant) GetUint32() uint32 { | |
| 1606 | - | core.LazyRegister(&xVariantGetUint32, "GLIB", "g_variant_get_uint32", false) | |
| 1607 | - | ||
| 1608 | - | cret := xVariantGetUint32(x.GoPointer()) | |
| 1609 | - | return cret | |
| 1610 | - | } | |
| 1611 | - | ||
| 1612 | - | var xVariantGetUint64 func(uintptr) uint64 | |
| 1613 | - | ||
| 1614 | - | // Returns the 64-bit unsigned integer value of @value. | |
| 1615 | - | // | |
| 1616 | - | // It is an error to call this function with a @value of any type | |
| 1617 | - | // other than %G_VARIANT_TYPE_UINT64. | |
| 1618 | - | func (x *Variant) GetUint64() uint64 { | |
| 1619 | - | core.LazyRegister(&xVariantGetUint64, "GLIB", "g_variant_get_uint64", false) | |
| 1620 | - | ||
| 1621 | - | cret := xVariantGetUint64(x.GoPointer()) | |
| 1622 | - | return cret | |
| 1623 | - | } | |
| 1624 | - | ||
| 1625 | - | var xVariantGetVa func(uintptr, string, uintptr, []interface{}) | |
| 1626 | - | ||
| 1627 | - | // This function is intended to be used by libraries based on #GVariant | |
| 1628 | - | // that want to provide g_variant_get()-like functionality to their | |
| 1629 | - | // users. | |
| 1630 | - | // | |
| 1631 | - | // The API is more general than g_variant_get() to allow a wider range | |
| 1632 | - | // of possible uses. | |
| 1633 | - | // | |
| 1634 | - | // @format_string must still point to a valid format string, but it only | |
| 1635 | - | // need to be nul-terminated if @endptr is %NULL. If @endptr is | |
| 1636 | - | // non-%NULL then it is updated to point to the first character past the | |
| 1637 | - | // end of the format string. | |
| 1638 | - | // | |
| 1639 | - | // @app is a pointer to a #va_list. The arguments, according to | |
| 1640 | - | // @format_string, are collected from this #va_list and the list is left | |
| 1641 | - | // pointing to the argument following the last. | |
| 1642 | - | // | |
| 1643 | - | // These two generalisations allow mixing of multiple calls to | |
| 1644 | - | // g_variant_new_va() and g_variant_get_va() within a single actual | |
| 1645 | - | // varargs call by the user. | |
| 1646 | - | // | |
| 1647 | - | // @format_string determines the C types that are used for unpacking | |
| 1648 | - | // the values and also determines if the values are copied or borrowed, | |
| 1649 | - | // see the section on | |
| 1650 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 1651 | - | func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) { | |
| 1652 | - | core.LazyRegister(&xVariantGetVa, "GLIB", "g_variant_get_va", false) | |
| 1653 | - | ||
| 1654 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |
| 1655 | - | defer core.GFreeNullable(EndptrVarPtr) | |
| 1656 | - | ||
| 1657 | - | xVariantGetVa(x.GoPointer(), FormatStringVar, EndptrVarPtr, AppVar) | |
| 1658 | - | } | |
| 1659 | - | ||
| 1660 | - | var xVariantGetVariant func(uintptr) uintptr | |
| 1661 | - | ||
| 1662 | - | // Unboxes @value. The result is the #GVariant instance that was | |
| 1663 | - | // contained in @value. | |
| 1664 | - | func (x *Variant) GetVariant() *Variant { | |
| 1665 | - | core.LazyRegister(&xVariantGetVariant, "GLIB", "g_variant_get_variant", false) | |
| 1666 | - | ||
| 1667 | - | cret := xVariantGetVariant(x.GoPointer()) | |
| 1668 | - | if cret == 0 { | |
| 1669 | - | return nil | |
| 1670 | - | } | |
| 1671 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1672 | - | } | |
| 1673 | - | ||
| 1674 | - | var xVariantHash func(uintptr) uint | |
| 1675 | - | ||
| 1676 | - | // Generates a hash value for a #GVariant instance. | |
| 1677 | - | // | |
| 1678 | - | // The output of this function is guaranteed to be the same for a given | |
| 1679 | - | // value only per-process. It may change between different processor | |
| 1680 | - | // architectures or even different versions of GLib. Do not use this | |
| 1681 | - | // function as a basis for building protocols or file formats. | |
| 1682 | - | // | |
| 1683 | - | // The type of @value is #gconstpointer only to allow use of this | |
| 1684 | - | // function with #GHashTable. @value must be a #GVariant. | |
| 1685 | - | func (x *Variant) Hash() uint { | |
| 1686 | - | core.LazyRegister(&xVariantHash, "GLIB", "g_variant_hash", false) | |
| 1687 | - | ||
| 1688 | - | cret := xVariantHash(x.GoPointer()) | |
| 1689 | - | return cret | |
| 1690 | - | } | |
| 1691 | - | ||
| 1692 | - | var xVariantIsContainer func(uintptr) bool | |
| 1693 | - | ||
| 1694 | - | // Checks if @value is a container. | |
| 1695 | - | func (x *Variant) IsContainer() bool { | |
| 1696 | - | core.LazyRegister(&xVariantIsContainer, "GLIB", "g_variant_is_container", false) | |
| 1697 | - | ||
| 1698 | - | cret := xVariantIsContainer(x.GoPointer()) | |
| 1699 | - | return cret | |
| 1700 | - | } | |
| 1701 | - | ||
| 1702 | - | var xVariantIsFloating func(uintptr) bool | |
| 1703 | - | ||
| 1704 | - | // Checks whether @value has a floating reference count. | |
| 1705 | - | // | |
| 1706 | - | // This function should only ever be used to assert that a given variant | |
| 1707 | - | // is or is not floating, or for debug purposes. To acquire a reference | |
| 1708 | - | // to a variant that might be floating, always use g_variant_ref_sink() | |
| 1709 | - | // or g_variant_take_ref(). | |
| 1710 | - | // | |
| 1711 | - | // See g_variant_ref_sink() for more information about floating reference | |
| 1712 | - | // counts. | |
| 1713 | - | func (x *Variant) IsFloating() bool { | |
| 1714 | - | core.LazyRegister(&xVariantIsFloating, "GLIB", "g_variant_is_floating", false) | |
| 1715 | - | ||
| 1716 | - | cret := xVariantIsFloating(x.GoPointer()) | |
| 1717 | - | return cret | |
| 1718 | - | } | |
| 1719 | - | ||
| 1720 | - | var xVariantIsNormalForm func(uintptr) bool | |
| 1721 | - | ||
| 1722 | - | // Checks if @value is in normal form. | |
| 1723 | - | // | |
| 1724 | - | // The main reason to do this is to detect if a given chunk of | |
| 1725 | - | // serialized data is in normal form: load the data into a #GVariant | |
| 1726 | - | // using g_variant_new_from_data() and then use this function to | |
| 1727 | - | // check. | |
| 1728 | - | // | |
| 1729 | - | // If @value is found to be in normal form then it will be marked as | |
| 1730 | - | // being trusted. If the value was already marked as being trusted then | |
| 1731 | - | // this function will immediately return %TRUE. | |
| 1732 | - | // | |
| 1733 | - | // There may be implementation specific restrictions on deeply nested values. | |
| 1734 | - | // GVariant is guaranteed to handle nesting up to at least 64 levels. | |
| 1735 | - | func (x *Variant) IsNormalForm() bool { | |
| 1736 | - | core.LazyRegister(&xVariantIsNormalForm, "GLIB", "g_variant_is_normal_form", false) | |
| 1737 | - | ||
| 1738 | - | cret := xVariantIsNormalForm(x.GoPointer()) | |
| 1739 | - | return cret | |
| 1740 | - | } | |
| 1741 | - | ||
| 1742 | - | var xVariantIsOfType func(uintptr, *VariantType) bool | |
| 1743 | - | ||
| 1744 | - | // Checks if a value has a type matching the provided type. | |
| 1745 | - | func (x *Variant) IsOfType(TypeVar *VariantType) bool { | |
| 1746 | - | core.LazyRegister(&xVariantIsOfType, "GLIB", "g_variant_is_of_type", false) | |
| 1747 | - | ||
| 1748 | - | cret := xVariantIsOfType(x.GoPointer(), TypeVar) | |
| 1749 | - | return cret | |
| 1750 | - | } | |
| 1751 | - | ||
| 1752 | - | var xVariantIterNew func(uintptr) uintptr | |
| 1753 | - | ||
| 1754 | - | // Creates a heap-allocated #GVariantIter for iterating over the items | |
| 1755 | - | // in @value. | |
| 1756 | - | // | |
| 1757 | - | // Use g_variant_iter_free() to free the return value when you no longer | |
| 1758 | - | // need it. | |
| 1759 | - | // | |
| 1760 | - | // A reference is taken to @value and will be released only when | |
| 1761 | - | // g_variant_iter_free() is called. | |
| 1762 | - | func (x *Variant) IterNew() *VariantIter { | |
| 1763 | - | core.LazyRegister(&xVariantIterNew, "GLIB", "g_variant_iter_new", false) | |
| 1764 | - | ||
| 1765 | - | cret := xVariantIterNew(x.GoPointer()) | |
| 1766 | - | if cret == 0 { | |
| 1767 | - | return nil | |
| 1768 | - | } | |
| 1769 | - | return (*VariantIter)(unsafe.Pointer(cret)) | |
| 1770 | - | } | |
| 1771 | - | ||
| 1772 | - | var xVariantLookup func(uintptr, string, string, ...interface{}) bool | |
| 1773 | - | ||
| 1774 | - | // Looks up a value in a dictionary #GVariant. | |
| 1775 | - | // | |
| 1776 | - | // This function is a wrapper around g_variant_lookup_value() and | |
| 1777 | - | // g_variant_get(). In the case that %NULL would have been returned, | |
| 1778 | - | // this function returns %FALSE. Otherwise, it unpacks the returned | |
| 1779 | - | // value and returns %TRUE. | |
| 1780 | - | // | |
| 1781 | - | // @format_string determines the C types that are used for unpacking | |
| 1782 | - | // the values and also determines if the values are copied or borrowed, | |
| 1783 | - | // see the section on | |
| 1784 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 1785 | - | // | |
| 1786 | - | // This function is currently implemented with a linear scan. If you | |
| 1787 | - | // plan to do many lookups then #GVariantDict may be more efficient. | |
| 1788 | - | func (x *Variant) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool { | |
| 1789 | - | core.LazyRegister(&xVariantLookup, "GLIB", "g_variant_lookup", false) | |
| 1790 | - | ||
| 1791 | - | cret := xVariantLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |
| 1792 | - | return cret | |
| 1793 | - | } | |
| 1794 | - | ||
| 1795 | - | var xVariantLookupValue func(uintptr, string, *VariantType) uintptr | |
| 1796 | - | ||
| 1797 | - | // Looks up a value in a dictionary #GVariant. | |
| 1798 | - | // | |
| 1799 | - | // This function works with dictionaries of the type `a{s*}` (and equally | |
| 1800 | - | // well with type `a{o*}`), but we only further discuss the string case | |
| 1801 | - | // for sake of clarity). | |
| 1802 | - | // | |
| 1803 | - | // In the event that @dictionary has the type `a{sv}`, the @expected_type | |
| 1804 | - | // string specifies what type of value is expected to be inside of the | |
| 1805 | - | // variant. If the value inside the variant has a different type then | |
| 1806 | - | // %NULL is returned. In the event that @dictionary has a value type other | |
| 1807 | - | // than v then @expected_type must directly match the value type and it is | |
| 1808 | - | // used to unpack the value directly or an error occurs. | |
| 1809 | - | // | |
| 1810 | - | // In either case, if @key is not found in @dictionary, %NULL is returned. | |
| 1811 | - | // | |
| 1812 | - | // If the key is found and the value has the correct type, it is | |
| 1813 | - | // returned. If @expected_type was specified then any non-%NULL return | |
| 1814 | - | // value will have this type. | |
| 1815 | - | // | |
| 1816 | - | // This function is currently implemented with a linear scan. If you | |
| 1817 | - | // plan to do many lookups then [struct@VariantDict] may be more efficient. | |
| 1818 | - | func (x *Variant) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant { | |
| 1819 | - | core.LazyRegister(&xVariantLookupValue, "GLIB", "g_variant_lookup_value", false) | |
| 1820 | - | ||
| 1821 | - | cret := xVariantLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar) | |
| 1822 | - | if cret == 0 { | |
| 1823 | - | return nil | |
| 1824 | - | } | |
| 1825 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1826 | - | } | |
| 1827 | - | ||
| 1828 | - | var xVariantNChildren func(uintptr) uint | |
| 1829 | - | ||
| 1830 | - | // Determines the number of children in a container #GVariant instance. | |
| 1831 | - | // This includes variants, maybes, arrays, tuples and dictionary | |
| 1832 | - | // entries. It is an error to call this function on any other type of | |
| 1833 | - | // #GVariant. | |
| 1834 | - | // | |
| 1835 | - | // For variants, the return value is always 1. For values with maybe | |
| 1836 | - | // types, it is always zero or one. For arrays, it is the length of the | |
| 1837 | - | // array. For tuples it is the number of tuple items (which depends | |
| 1838 | - | // only on the type). For dictionary entries, it is always 2 | |
| 1839 | - | // | |
| 1840 | - | // This function is O(1). | |
| 1841 | - | func (x *Variant) NChildren() uint { | |
| 1842 | - | core.LazyRegister(&xVariantNChildren, "GLIB", "g_variant_n_children", false) | |
| 1843 | - | ||
| 1844 | - | cret := xVariantNChildren(x.GoPointer()) | |
| 1845 | - | return cret | |
| 1846 | - | } | |
| 1847 | - | ||
| 1848 | - | var xVariantPrint func(uintptr, bool) string | |
| 1849 | - | ||
| 1850 | - | // Pretty-prints @value in the format understood by g_variant_parse(). | |
| 1851 | - | // | |
| 1852 | - | // The format is described [here](gvariant-text-format.html). | |
| 1853 | - | // | |
| 1854 | - | // If @type_annotate is %TRUE, then type information is included in | |
| 1855 | - | // the output. | |
| 1856 | - | func (x *Variant) Print(TypeAnnotateVar bool) string { | |
| 1857 | - | core.LazyRegister(&xVariantPrint, "GLIB", "g_variant_print", false) | |
| 1858 | - | ||
| 1859 | - | cret := xVariantPrint(x.GoPointer(), TypeAnnotateVar) | |
| 1860 | - | return cret | |
| 1861 | - | } | |
| 1862 | - | ||
| 1863 | - | var xVariantPrintString func(uintptr, *String, bool) uintptr | |
| 1864 | - | ||
| 1865 | - | // Behaves as g_variant_print(), but operates on a #GString. | |
| 1866 | - | // | |
| 1867 | - | // If @string is non-%NULL then it is appended to and returned. Else, | |
| 1868 | - | // a new empty #GString is allocated and it is returned. | |
| 1869 | - | func (x *Variant) PrintString(StringVar *String, TypeAnnotateVar bool) *String { | |
| 1870 | - | core.LazyRegister(&xVariantPrintString, "GLIB", "g_variant_print_string", false) | |
| 1871 | - | ||
| 1872 | - | cret := xVariantPrintString(x.GoPointer(), StringVar, TypeAnnotateVar) | |
| 1873 | - | if cret == 0 { | |
| 1874 | - | return nil | |
| 1875 | - | } | |
| 1876 | - | return (*String)(unsafe.Pointer(cret)) | |
| 1877 | - | } | |
| 1878 | - | ||
| 1879 | - | var xVariantRef func(uintptr) uintptr | |
| 1880 | - | ||
| 1881 | - | // Increases the reference count of @value. | |
| 1882 | - | func (x *Variant) Ref() *Variant { | |
| 1883 | - | core.LazyRegister(&xVariantRef, "GLIB", "g_variant_ref", false) | |
| 1884 | - | ||
| 1885 | - | cret := xVariantRef(x.GoPointer()) | |
| 1886 | - | if cret == 0 { | |
| 1887 | - | return nil | |
| 1888 | - | } | |
| 1889 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1890 | - | } | |
| 1891 | - | ||
| 1892 | - | var xVariantRefSink func(uintptr) uintptr | |
| 1893 | - | ||
| 1894 | - | // #GVariant uses a floating reference count system. All functions with | |
| 1895 | - | // names starting with `g_variant_new_` return floating | |
| 1896 | - | // references. | |
| 1897 | - | // | |
| 1898 | - | // Calling g_variant_ref_sink() on a #GVariant with a floating reference | |
| 1899 | - | // will convert the floating reference into a full reference. Calling | |
| 1900 | - | // g_variant_ref_sink() on a non-floating #GVariant results in an | |
| 1901 | - | // additional normal reference being added. | |
| 1902 | - | // | |
| 1903 | - | // In other words, if the @value is floating, then this call "assumes | |
| 1904 | - | // ownership" of the floating reference, converting it to a normal | |
| 1905 | - | // reference. If the @value is not floating, then this call adds a | |
| 1906 | - | // new normal reference increasing the reference count by one. | |
| 1907 | - | // | |
| 1908 | - | // All calls that result in a #GVariant instance being inserted into a | |
| 1909 | - | // container will call g_variant_ref_sink() on the instance. This means | |
| 1910 | - | // that if the value was just created (and has only its floating | |
| 1911 | - | // reference) then the container will assume sole ownership of the value | |
| 1912 | - | // at that point and the caller will not need to unreference it. This | |
| 1913 | - | // makes certain common styles of programming much easier while still | |
| 1914 | - | // maintaining normal refcounting semantics in situations where values | |
| 1915 | - | // are not floating. | |
| 1916 | - | func (x *Variant) RefSink() *Variant { | |
| 1917 | - | core.LazyRegister(&xVariantRefSink, "GLIB", "g_variant_ref_sink", false) | |
| 1918 | - | ||
| 1919 | - | cret := xVariantRefSink(x.GoPointer()) | |
| 1920 | - | if cret == 0 { | |
| 1921 | - | return nil | |
| 1922 | - | } | |
| 1923 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1924 | - | } | |
| 1925 | - | ||
| 1926 | - | var xVariantStore func(uintptr, uintptr) | |
| 1927 | - | ||
| 1928 | - | // Stores the serialized form of @value at @data. @data should be | |
| 1929 | - | // large enough. See g_variant_get_size(). | |
| 1930 | - | // | |
| 1931 | - | // The stored data is in machine native byte order but may not be in | |
| 1932 | - | // fully-normalised form if read from an untrusted source. See | |
| 1933 | - | // g_variant_get_normal_form() for a solution. | |
| 1934 | - | // | |
| 1935 | - | // As with g_variant_get_data(), to be able to deserialize the | |
| 1936 | - | // serialized variant successfully, its type and (if the destination | |
| 1937 | - | // machine might be different) its endianness must also be available. | |
| 1938 | - | // | |
| 1939 | - | // This function is approximately O(n) in the size of @data. | |
| 1940 | - | func (x *Variant) Store(DataVar uintptr) { | |
| 1941 | - | core.LazyRegister(&xVariantStore, "GLIB", "g_variant_store", false) | |
| 1942 | - | ||
| 1943 | - | xVariantStore(x.GoPointer(), DataVar) | |
| 1944 | - | } | |
| 1945 | - | ||
| 1946 | - | var xVariantTakeRef func(uintptr) uintptr | |
| 1947 | - | ||
| 1948 | - | // If @value is floating, sink it. Otherwise, do nothing. | |
| 1949 | - | // | |
| 1950 | - | // Typically you want to use g_variant_ref_sink() in order to | |
| 1951 | - | // automatically do the correct thing with respect to floating or | |
| 1952 | - | // non-floating references, but there is one specific scenario where | |
| 1953 | - | // this function is helpful. | |
| 1954 | - | // | |
| 1955 | - | // The situation where this function is helpful is when creating an API | |
| 1956 | - | // that allows the user to provide a callback function that returns a | |
| 1957 | - | // #GVariant. We certainly want to allow the user the flexibility to | |
| 1958 | - | // return a non-floating reference from this callback (for the case | |
| 1959 | - | // where the value that is being returned already exists). | |
| 1960 | - | // | |
| 1961 | - | // At the same time, the style of the #GVariant API makes it likely that | |
| 1962 | - | // for newly-created #GVariant instances, the user can be saved some | |
| 1963 | - | // typing if they are allowed to return a #GVariant with a floating | |
| 1964 | - | // reference. | |
| 1965 | - | // | |
| 1966 | - | // Using this function on the return value of the user's callback allows | |
| 1967 | - | // the user to do whichever is more convenient for them. The caller | |
| 1968 | - | // will always receives exactly one full reference to the value: either | |
| 1969 | - | // the one that was returned in the first place, or a floating reference | |
| 1970 | - | // that has been converted to a full reference. | |
| 1971 | - | // | |
| 1972 | - | // This function has an odd interaction when combined with | |
| 1973 | - | // g_variant_ref_sink() running at the same time in another thread on | |
| 1974 | - | // the same #GVariant instance. If g_variant_ref_sink() runs first then | |
| 1975 | - | // the result will be that the floating reference is converted to a hard | |
| 1976 | - | // reference. If g_variant_take_ref() runs first then the result will | |
| 1977 | - | // be that the floating reference is converted to a hard reference and | |
| 1978 | - | // an additional reference on top of that one is added. It is best to | |
| 1979 | - | // avoid this situation. | |
| 1980 | - | func (x *Variant) TakeRef() *Variant { | |
| 1981 | - | core.LazyRegister(&xVariantTakeRef, "GLIB", "g_variant_take_ref", false) | |
| 1982 | - | ||
| 1983 | - | cret := xVariantTakeRef(x.GoPointer()) | |
| 1984 | - | if cret == 0 { | |
| 1985 | - | return nil | |
| 1986 | - | } | |
| 1987 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 1988 | - | } | |
| 1989 | - | ||
| 1990 | - | var xVariantUnref func(uintptr) | |
| 1991 | - | ||
| 1992 | - | // Decreases the reference count of @value. When its reference count | |
| 1993 | - | // drops to 0, the memory used by the variant is freed. | |
| 1994 | - | func (x *Variant) Unref() { | |
| 1995 | - | core.LazyRegister(&xVariantUnref, "GLIB", "g_variant_unref", false) | |
| 1996 | - | ||
| 1997 | - | xVariantUnref(x.GoPointer()) | |
| 1998 | - | } | |
| 1999 | - | ||
| 2000 | - | // A utility type for constructing container-type #GVariant instances. | |
| 2001 | - | // | |
| 2002 | - | // This is an opaque structure and may only be accessed using the | |
| 2003 | - | // following functions. | |
| 2004 | - | // | |
| 2005 | - | // #GVariantBuilder is not threadsafe in any way. Do not attempt to | |
| 2006 | - | // access it from more than one thread. | |
| 2007 | - | type VariantBuilder struct { | |
| 2008 | - | _ structs.HostLayout | |
| 2009 | - | } | |
| 2010 | - | ||
| 2011 | - | var xVariantBuilderGLibType func() types.GType | |
| 2012 | - | ||
| 2013 | - | func VariantBuilderGLibType() types.GType { | |
| 2014 | - | core.LazyRegister(&xVariantBuilderGLibType, "GLIB", "g_variant_builder_get_type", false) | |
| 2015 | - | return xVariantBuilderGLibType() | |
| 2016 | - | } | |
| 2017 | - | ||
| 2018 | - | func (x *VariantBuilder) GoPointer() uintptr { | |
| 2019 | - | return uintptr(unsafe.Pointer(x)) | |
| 2020 | - | } | |
| 2021 | - | ||
| 2022 | - | func VariantBuilderNewFromInternalPtr(ptr uintptr) *VariantBuilder { | |
| 2023 | - | if ptr == 0 { | |
| 2024 | - | return nil | |
| 2025 | - | } | |
| 2026 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 2027 | - | return (*VariantBuilder)(rawPtr) | |
| 2028 | - | } | |
| 2029 | - | ||
| 2030 | - | var xNewVariantBuilder func(*VariantType) uintptr | |
| 2031 | - | ||
| 2032 | - | // Allocates and initialises a new #GVariantBuilder. | |
| 2033 | - | // | |
| 2034 | - | // You should call g_variant_builder_unref() on the return value when it | |
| 2035 | - | // is no longer needed. The memory will not be automatically freed by | |
| 2036 | - | // any other call. | |
| 2037 | - | // | |
| 2038 | - | // In most cases it is easier to place a #GVariantBuilder directly on | |
| 2039 | - | // the stack of the calling function and initialise it with | |
| 2040 | - | // g_variant_builder_init_static(). | |
| 2041 | - | func NewVariantBuilder(TypeVar *VariantType) *VariantBuilder { | |
| 2042 | - | core.LazyRegister(&xNewVariantBuilder, "GLIB", "g_variant_builder_new", false) | |
| 2043 | - | ||
| 2044 | - | cret := xNewVariantBuilder(TypeVar) | |
| 2045 | - | if cret == 0 { | |
| 2046 | - | return nil | |
| 2047 | - | } | |
| 2048 | - | return (*VariantBuilder)(unsafe.Pointer(cret)) | |
| 2049 | - | } | |
| 2050 | - | ||
| 2051 | - | var xVariantBuilderAdd func(uintptr, string, ...interface{}) | |
| 2052 | - | ||
| 2053 | - | // Adds to a #GVariantBuilder. | |
| 2054 | - | // | |
| 2055 | - | // This call is a convenience wrapper that is exactly equivalent to | |
| 2056 | - | // calling g_variant_new() followed by g_variant_builder_add_value(). | |
| 2057 | - | // | |
| 2058 | - | // Note that the arguments must be of the correct width for their types | |
| 2059 | - | // specified in @format_string. This can be achieved by casting them. See | |
| 2060 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 2061 | - | // | |
| 2062 | - | // This function might be used as follows: | |
| 2063 | - | // | |
| 2064 | - | // |[<!-- language="C" --> | |
| 2065 | - | // GVariant * | |
| 2066 | - | // make_pointless_dictionary (void) | |
| 2067 | - | // | |
| 2068 | - | // { | |
| 2069 | - | // GVariantBuilder builder; | |
| 2070 | - | // int i; | |
| 2071 | - | // | |
| 2072 | - | // g_variant_builder_init_static (&builder, G_VARIANT_TYPE_ARRAY); | |
| 2073 | - | // for (i = 0; i < 16; i++) | |
| 2074 | - | // { | |
| 2075 | - | // gchar buf[3]; | |
| 2076 | - | // | |
| 2077 | - | // sprintf (buf, "%d", i); | |
| 2078 | - | // g_variant_builder_add (&builder, "{is}", i, buf); | |
| 2079 | - | // } | |
| 2080 | - | // | |
| 2081 | - | // return g_variant_builder_end (&builder); | |
| 2082 | - | // } | |
| 2083 | - | // | |
| 2084 | - | // ]| | |
| 2085 | - | func (x *VariantBuilder) Add(FormatStringVar string, varArgs ...interface{}) { | |
| 2086 | - | core.LazyRegister(&xVariantBuilderAdd, "GLIB", "g_variant_builder_add", false) | |
| 2087 | - | ||
| 2088 | - | xVariantBuilderAdd(x.GoPointer(), FormatStringVar, varArgs...) | |
| 2089 | - | } | |
| 2090 | - | ||
| 2091 | - | var xVariantBuilderAddParsed func(uintptr, string, ...interface{}) | |
| 2092 | - | ||
| 2093 | - | // Adds to a #GVariantBuilder. | |
| 2094 | - | // | |
| 2095 | - | // This call is a convenience wrapper that is exactly equivalent to | |
| 2096 | - | // calling g_variant_new_parsed() followed by | |
| 2097 | - | // g_variant_builder_add_value(). | |
| 2098 | - | // | |
| 2099 | - | // Note that the arguments must be of the correct width for their types | |
| 2100 | - | // specified in @format_string. This can be achieved by casting them. See | |
| 2101 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |
| 2102 | - | // | |
| 2103 | - | // This function might be used as follows: | |
| 2104 | - | // | |
| 2105 | - | // |[<!-- language="C" --> | |
| 2106 | - | // GVariant * | |
| 2107 | - | // make_pointless_dictionary (void) | |
| 2108 | - | // | |
| 2109 | - | // { | |
| 2110 | - | // GVariantBuilder builder; | |
| 2111 | - | // int i; | |
| 2112 | - | // | |
| 2113 | - | // g_variant_builder_init_static (&builder, G_VARIANT_TYPE_ARRAY); | |
| 2114 | - | // g_variant_builder_add_parsed (&builder, "{'width', <%i>}", 600); | |
| 2115 | - | // g_variant_builder_add_parsed (&builder, "{'title', <%s>}", "foo"); | |
| 2116 | - | // g_variant_builder_add_parsed (&builder, "{'transparency', <0.5>}"); | |
| 2117 | - | // return g_variant_builder_end (&builder); | |
| 2118 | - | // } | |
| 2119 | - | // | |
| 2120 | - | // ]| | |
| 2121 | - | func (x *VariantBuilder) AddParsed(FormatVar string, varArgs ...interface{}) { | |
| 2122 | - | core.LazyRegister(&xVariantBuilderAddParsed, "GLIB", "g_variant_builder_add_parsed", false) | |
| 2123 | - | ||
| 2124 | - | xVariantBuilderAddParsed(x.GoPointer(), FormatVar, varArgs...) | |
| 2125 | - | } | |
| 2126 | - | ||
| 2127 | - | var xVariantBuilderAddValue func(uintptr, *Variant) | |
| 2128 | - | ||
| 2129 | - | // Adds @value to @builder. | |
| 2130 | - | // | |
| 2131 | - | // It is an error to call this function in any way that would create an | |
| 2132 | - | // inconsistent value to be constructed. Some examples of this are | |
| 2133 | - | // putting different types of items into an array, putting the wrong | |
| 2134 | - | // types or number of items in a tuple, putting more than one value into | |
| 2135 | - | // a variant, etc. | |
| 2136 | - | // | |
| 2137 | - | // If @value is a floating reference (see g_variant_ref_sink()), | |
| 2138 | - | // the @builder instance takes ownership of @value. | |
| 2139 | - | func (x *VariantBuilder) AddValue(ValueVar *Variant) { | |
| 2140 | - | core.LazyRegister(&xVariantBuilderAddValue, "GLIB", "g_variant_builder_add_value", false) | |
| 2141 | - | ||
| 2142 | - | xVariantBuilderAddValue(x.GoPointer(), ValueVar) | |
| 2143 | - | } | |
| 2144 | - | ||
| 2145 | - | var xVariantBuilderClear func(uintptr) | |
| 2146 | - | ||
| 2147 | - | // Releases all memory associated with a #GVariantBuilder without | |
| 2148 | - | // freeing the #GVariantBuilder structure itself. | |
| 2149 | - | // | |
| 2150 | - | // It typically only makes sense to do this on a stack-allocated | |
| 2151 | - | // #GVariantBuilder if you want to abort building the value part-way | |
| 2152 | - | // through. This function need not be called if you call | |
| 2153 | - | // g_variant_builder_end() and it also doesn't need to be called on | |
| 2154 | - | // builders allocated with g_variant_builder_new() (see | |
| 2155 | - | // g_variant_builder_unref() for that). | |
| 2156 | - | // | |
| 2157 | - | // This function leaves the #GVariantBuilder structure set to all-zeros. | |
| 2158 | - | // It is valid to call this function on either an initialised | |
| 2159 | - | // #GVariantBuilder or one that is set to all-zeros but it is not valid | |
| 2160 | - | // to call this function on uninitialised memory. | |
| 2161 | - | func (x *VariantBuilder) Clear() { | |
| 2162 | - | core.LazyRegister(&xVariantBuilderClear, "GLIB", "g_variant_builder_clear", false) | |
| 2163 | - | ||
| 2164 | - | xVariantBuilderClear(x.GoPointer()) | |
| 2165 | - | } | |
| 2166 | - | ||
| 2167 | - | var xVariantBuilderClose func(uintptr) | |
| 2168 | - | ||
| 2169 | - | // Closes the subcontainer inside the given @builder that was opened by | |
| 2170 | - | // the most recent call to g_variant_builder_open(). | |
| 2171 | - | // | |
| 2172 | - | // It is an error to call this function in any way that would create an | |
| 2173 | - | // inconsistent value to be constructed (ie: too few values added to the | |
| 2174 | - | // subcontainer). | |
| 2175 | - | func (x *VariantBuilder) Close() { | |
| 2176 | - | core.LazyRegister(&xVariantBuilderClose, "GLIB", "g_variant_builder_close", false) | |
| 2177 | - | ||
| 2178 | - | xVariantBuilderClose(x.GoPointer()) | |
| 2179 | - | } | |
| 2180 | - | ||
| 2181 | - | var xVariantBuilderEnd func(uintptr) uintptr | |
| 2182 | - | ||
| 2183 | - | // Ends the builder process and returns the constructed value. | |
| 2184 | - | // | |
| 2185 | - | // It is not permissible to use @builder in any way after this call | |
| 2186 | - | // except for reference counting operations (in the case of a | |
| 2187 | - | // heap-allocated #GVariantBuilder) or by reinitialising it with | |
| 2188 | - | // g_variant_builder_init() (in the case of stack-allocated). This | |
| 2189 | - | // means that for the stack-allocated builders there is no need to | |
| 2190 | - | // call g_variant_builder_clear() after the call to | |
| 2191 | - | // g_variant_builder_end(). | |
| 2192 | - | // | |
| 2193 | - | // It is an error to call this function in any way that would create an | |
| 2194 | - | // inconsistent value to be constructed (ie: insufficient number of | |
| 2195 | - | // items added to a container with a specific number of children | |
| 2196 | - | // required). It is also an error to call this function if the builder | |
| 2197 | - | // was created with an indefinite array or maybe type and no children | |
| 2198 | - | // have been added; in this case it is impossible to infer the type of | |
| 2199 | - | // the empty array. | |
| 2200 | - | func (x *VariantBuilder) End() *Variant { | |
| 2201 | - | core.LazyRegister(&xVariantBuilderEnd, "GLIB", "g_variant_builder_end", false) | |
| 2202 | - | ||
| 2203 | - | cret := xVariantBuilderEnd(x.GoPointer()) | |
| 2204 | - | if cret == 0 { | |
| 2205 | - | return nil | |
| 2206 | - | } | |
| 2207 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 2208 | - | } | |
| 2209 | - | ||
| 2210 | - | var xVariantBuilderInit func(uintptr, *VariantType) | |
| 2211 | - | ||
| 2212 | - | // Initialises a #GVariantBuilder structure. | |
| 2213 | - | // | |
| 2214 | - | // @type must be non-%NULL. It specifies the type of container to | |
| 2215 | - | // construct. It can be an indefinite type such as | |
| 2216 | - | // %G_VARIANT_TYPE_ARRAY or a definite type such as "as" or "(ii)". | |
| 2217 | - | // Maybe, array, tuple, dictionary entry and variant-typed values may be | |
| 2218 | - | // constructed. | |
| 2219 | - | // | |
| 2220 | - | // If using a static type such as one of the `G_VARIANT_TYPE_*` constants | |
| 2221 | - | // or a `G_VARIANT_TYPE ("(ii)")` macro, it is more performant to use | |
| 2222 | - | // g_variant_builder_init_static() rather than g_variant_builder_init(). | |
| 2223 | - | // | |
| 2224 | - | // After the builder is initialised, values are added using | |
| 2225 | - | // g_variant_builder_add_value() or g_variant_builder_add(). | |
| 2226 | - | // | |
| 2227 | - | // After all the child values are added, g_variant_builder_end() frees | |
| 2228 | - | // the memory associated with the builder and returns the #GVariant that | |
| 2229 | - | // was created. | |
| 2230 | - | // | |
| 2231 | - | // This function completely ignores the previous contents of @builder. | |
| 2232 | - | // On one hand this means that it is valid to pass in completely | |
| 2233 | - | // uninitialised memory. On the other hand, this means that if you are | |
| 2234 | - | // initialising over top of an existing #GVariantBuilder you need to | |
| 2235 | - | // first call g_variant_builder_clear() in order to avoid leaking | |
| 2236 | - | // memory. | |
| 2237 | - | // | |
| 2238 | - | // You must not call g_variant_builder_ref() or | |
| 2239 | - | // g_variant_builder_unref() on a #GVariantBuilder that was initialised | |
| 2240 | - | // with this function. If you ever pass a reference to a | |
| 2241 | - | // #GVariantBuilder outside of the control of your own code then you | |
| 2242 | - | // should assume that the person receiving that reference may try to use | |
| 2243 | - | // reference counting; you should use g_variant_builder_new() instead of | |
| 2244 | - | // this function. | |
| 2245 | - | func (x *VariantBuilder) Init(TypeVar *VariantType) { | |
| 2246 | - | core.LazyRegister(&xVariantBuilderInit, "GLIB", "g_variant_builder_init", false) | |
| 2247 | - | ||
| 2248 | - | xVariantBuilderInit(x.GoPointer(), TypeVar) | |
| 2249 | - | } | |
| 2250 | - | ||
| 2251 | - | var xVariantBuilderInitStatic func(uintptr, *VariantType) | |
| 2252 | - | ||
| 2253 | - | // Initialises a #GVariantBuilder structure. | |
| 2254 | - | // | |
| 2255 | - | // This function works exactly like g_variant_builder_init() but does | |
| 2256 | - | // not make a copy of @type. Therefore, @type must remain valid for the | |
| 2257 | - | // lifetime of @builder. This is always true of type constants like | |
| 2258 | - | // `G_VARIANT_TYPE_*` or `G_VARIANT_TYPE ("(ii)")`. | |
| 2259 | - | func (x *VariantBuilder) InitStatic(TypeVar *VariantType) { | |
| 2260 | - | core.LazyRegister(&xVariantBuilderInitStatic, "GLIB", "g_variant_builder_init_static", false) | |
| 2261 | - | ||
| 2262 | - | xVariantBuilderInitStatic(x.GoPointer(), TypeVar) | |
| 2263 | - | } | |
| 2264 | - | ||
| 2265 | - | var xVariantBuilderOpen func(uintptr, *VariantType) | |
| 2266 | - | ||
| 2267 | - | // Opens a subcontainer inside the given @builder. When done adding | |
| 2268 | - | // items to the subcontainer, g_variant_builder_close() must be called. @type | |
| 2269 | - | // is the type of the container: so to build a tuple of several values, @type | |
| 2270 | - | // must include the tuple itself. | |
| 2271 | - | // | |
| 2272 | - | // It is an error to call this function in any way that would cause an | |
| 2273 | - | // inconsistent value to be constructed (ie: adding too many values or | |
| 2274 | - | // a value of an incorrect type). | |
| 2275 | - | // | |
| 2276 | - | // Example of building a nested variant: | |
| 2277 | - | // |[<!-- language="C" --> | |
| 2278 | - | // GVariantBuilder builder; | |
| 2279 | - | // guint32 some_number = get_number (); | |
| 2280 | - | // g_autoptr (GHashTable) some_dict = get_dict (); | |
| 2281 | - | // GHashTableIter iter; | |
| 2282 | - | // const gchar *key; | |
| 2283 | - | // const GVariant *value; | |
| 2284 | - | // g_autoptr (GVariant) output = NULL; | |
| 2285 | - | // | |
| 2286 | - | // g_variant_builder_init (&builder, G_VARIANT_TYPE ("(ua{sv})")); | |
| 2287 | - | // g_variant_builder_add (&builder, "u", some_number); | |
| 2288 | - | // g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{sv}")); | |
| 2289 | - | // | |
| 2290 | - | // g_hash_table_iter_init (&iter, some_dict); | |
| 2291 | - | // while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) | |
| 2292 | - | // | |
| 2293 | - | // { | |
| 2294 | - | // g_variant_builder_open (&builder, G_VARIANT_TYPE ("{sv}")); | |
| 2295 | - | // g_variant_builder_add (&builder, "s", key); | |
| 2296 | - | // g_variant_builder_add (&builder, "v", value); | |
| 2297 | - | // g_variant_builder_close (&builder); | |
| 2298 | - | // } | |
| 2299 | - | // | |
| 2300 | - | // g_variant_builder_close (&builder); | |
| 2301 | - | // | |
| 2302 | - | // output = g_variant_builder_end (&builder); | |
| 2303 | - | // ]| | |
| 2304 | - | func (x *VariantBuilder) Open(TypeVar *VariantType) { | |
| 2305 | - | core.LazyRegister(&xVariantBuilderOpen, "GLIB", "g_variant_builder_open", false) | |
| 2306 | - | ||
| 2307 | - | xVariantBuilderOpen(x.GoPointer(), TypeVar) | |
| 2308 | - | } | |
| 2309 | - | ||
| 2310 | - | var xVariantBuilderRef func(uintptr) uintptr | |
| 2311 | - | ||
| 2312 | - | // Increases the reference count on @builder. | |
| 2313 | - | // | |
| 2314 | - | // Don't call this on stack-allocated #GVariantBuilder instances or bad | |
| 2315 | - | // things will happen. | |
| 2316 | - | func (x *VariantBuilder) Ref() *VariantBuilder { | |
| 2317 | - | core.LazyRegister(&xVariantBuilderRef, "GLIB", "g_variant_builder_ref", false) | |
| 2318 | - | ||
| 2319 | - | cret := xVariantBuilderRef(x.GoPointer()) | |
| 2320 | - | if cret == 0 { | |
| 2321 | - | return nil | |
| 2322 | - | } | |
| 2323 | - | return (*VariantBuilder)(unsafe.Pointer(cret)) | |
| 2324 | - | } | |
| 2325 | - | ||
| 2326 | - | var xVariantBuilderUnref func(uintptr) | |
| 2327 | - | ||
| 2328 | - | // Decreases the reference count on @builder. | |
| 2329 | - | // | |
| 2330 | - | // In the event that there are no more references, releases all memory | |
| 2331 | - | // associated with the #GVariantBuilder. | |
| 2332 | - | // | |
| 2333 | - | // Don't call this on stack-allocated #GVariantBuilder instances or bad | |
| 2334 | - | // things will happen. | |
| 2335 | - | func (x *VariantBuilder) Unref() { | |
| 2336 | - | core.LazyRegister(&xVariantBuilderUnref, "GLIB", "g_variant_builder_unref", false) | |
| 2337 | - | ||
| 2338 | - | xVariantBuilderUnref(x.GoPointer()) | |
| 2339 | - | } | |
| 2340 | - | ||
| 2341 | - | // #GVariantDict is a mutable interface to #GVariant dictionaries. | |
| 2342 | - | // | |
| 2343 | - | // It can be used for doing a sequence of dictionary lookups in an | |
| 2344 | - | // efficient way on an existing #GVariant dictionary or it can be used | |
| 2345 | - | // to construct new dictionaries with a hashtable-like interface. It | |
| 2346 | - | // can also be used for taking existing dictionaries and modifying them | |
| 2347 | - | // in order to create new ones. | |
| 2348 | - | // | |
| 2349 | - | // #GVariantDict can only be used with %G_VARIANT_TYPE_VARDICT | |
| 2350 | - | // dictionaries. | |
| 2351 | - | // | |
| 2352 | - | // It is possible to use #GVariantDict allocated on the stack or on the | |
| 2353 | - | // heap. When using a stack-allocated #GVariantDict, you begin with a | |
| 2354 | - | // call to g_variant_dict_init() and free the resources with a call to | |
| 2355 | - | // g_variant_dict_clear(). | |
| 2356 | - | // | |
| 2357 | - | // Heap-allocated #GVariantDict follows normal refcounting rules: you | |
| 2358 | - | // allocate it with g_variant_dict_new() and use g_variant_dict_ref() | |
| 2359 | - | // and g_variant_dict_unref(). | |
| 2360 | - | // | |
| 2361 | - | // g_variant_dict_end() is used to convert the #GVariantDict back into a | |
| 2362 | - | // dictionary-type #GVariant. When used with stack-allocated instances, | |
| 2363 | - | // this also implicitly frees all associated memory, but for | |
| 2364 | - | // heap-allocated instances, you must still call g_variant_dict_unref() | |
| 2365 | - | // afterwards. | |
| 2366 | - | // | |
| 2367 | - | // You will typically want to use a heap-allocated #GVariantDict when | |
| 2368 | - | // you expose it as part of an API. For most other uses, the | |
| 2369 | - | // stack-allocated form will be more convenient. | |
| 2370 | - | // | |
| 2371 | - | // Consider the following two examples that do the same thing in each | |
| 2372 | - | // style: take an existing dictionary and look up the "count" uint32 | |
| 2373 | - | // key, adding 1 to it if it is found, or returning an error if the | |
| 2374 | - | // key is not found. Each returns the new dictionary as a floating | |
| 2375 | - | // #GVariant. | |
| 2376 | - | // | |
| 2377 | - | // ## Using a stack-allocated GVariantDict | |
| 2378 | - | // | |
| 2379 | - | // |[<!-- language="C" --> | |
| 2380 | - | // | |
| 2381 | - | // GVariant * | |
| 2382 | - | // add_to_count (GVariant *orig, | |
| 2383 | - | // GError **error) | |
| 2384 | - | // { | |
| 2385 | - | // GVariantDict dict; | |
| 2386 | - | // guint32 count; | |
| 2387 | - | // | |
| 2388 | - | // g_variant_dict_init (&dict, orig); | |
| 2389 | - | // if (!g_variant_dict_lookup (&dict, "count", "u", &count)) | |
| 2390 | - | // { | |
| 2391 | - | // g_set_error (...); | |
| 2392 | - | // g_variant_dict_clear (&dict); | |
| 2393 | - | // return NULL; | |
| 2394 | - | // } | |
| 2395 | - | // | |
| 2396 | - | // g_variant_dict_insert (&dict, "count", "u", count + 1); | |
| 2397 | - | // | |
| 2398 | - | // return g_variant_dict_end (&dict); | |
| 2399 | - | // } | |
| 2400 | - | // | |
| 2401 | - | // ]| | |
| 2402 | - | // | |
| 2403 | - | // ## Using heap-allocated GVariantDict | |
| 2404 | - | // | |
| 2405 | - | // |[<!-- language="C" --> | |
| 2406 | - | // | |
| 2407 | - | // GVariant * | |
| 2408 | - | // add_to_count (GVariant *orig, | |
| 2409 | - | // GError **error) | |
| 2410 | - | // { | |
| 2411 | - | // GVariantDict *dict; | |
| 2412 | - | // GVariant *result; | |
| 2413 | - | // guint32 count; | |
| 2414 | - | // | |
| 2415 | - | // dict = g_variant_dict_new (orig); | |
| 2416 | - | // | |
| 2417 | - | // if (g_variant_dict_lookup (dict, "count", "u", &count)) | |
| 2418 | - | // { | |
| 2419 | - | // g_variant_dict_insert (dict, "count", "u", count + 1); | |
| 2420 | - | // result = g_variant_dict_end (dict); | |
| 2421 | - | // } | |
| 2422 | - | // else | |
| 2423 | - | // { | |
| 2424 | - | // g_set_error (...); | |
| 2425 | - | // result = NULL; | |
| 2426 | - | // } | |
| 2427 | - | // | |
| 2428 | - | // g_variant_dict_unref (dict); | |
| 2429 | - | // | |
| 2430 | - | // return result; | |
| 2431 | - | // } | |
| 2432 | - | // | |
| 2433 | - | // ]| | |
| 2434 | - | type VariantDict struct { | |
| 2435 | - | _ structs.HostLayout | |
| 2436 | - | } | |
| 2437 | - | ||
| 2438 | - | var xVariantDictGLibType func() types.GType | |
| 2439 | - | ||
| 2440 | - | func VariantDictGLibType() types.GType { | |
| 2441 | - | core.LazyRegister(&xVariantDictGLibType, "GLIB", "g_variant_dict_get_type", false) | |
| 2442 | - | return xVariantDictGLibType() | |
| 2443 | - | } | |
| 2444 | - | ||
| 2445 | - | func (x *VariantDict) GoPointer() uintptr { | |
| 2446 | - | return uintptr(unsafe.Pointer(x)) | |
| 2447 | - | } | |
| 2448 | - | ||
| 2449 | - | func VariantDictNewFromInternalPtr(ptr uintptr) *VariantDict { | |
| 2450 | - | if ptr == 0 { | |
| 2451 | - | return nil | |
| 2452 | - | } | |
| 2453 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 2454 | - | return (*VariantDict)(rawPtr) | |
| 2455 | - | } | |
| 2456 | - | ||
| 2457 | - | var xNewVariantDict func(*Variant) uintptr | |
| 2458 | - | ||
| 2459 | - | // Allocates and initialises a new #GVariantDict. | |
| 2460 | - | // | |
| 2461 | - | // You should call g_variant_dict_unref() on the return value when it | |
| 2462 | - | // is no longer needed. The memory will not be automatically freed by | |
| 2463 | - | // any other call. | |
| 2464 | - | // | |
| 2465 | - | // In some cases it may be easier to place a #GVariantDict directly on | |
| 2466 | - | // the stack of the calling function and initialise it with | |
| 2467 | - | // g_variant_dict_init(). This is particularly useful when you are | |
| 2468 | - | // using #GVariantDict to construct a #GVariant. | |
| 2469 | - | func NewVariantDict(FromAsvVar *Variant) *VariantDict { | |
| 2470 | - | core.LazyRegister(&xNewVariantDict, "GLIB", "g_variant_dict_new", false) | |
| 2471 | - | ||
| 2472 | - | cret := xNewVariantDict(FromAsvVar) | |
| 2473 | - | if cret == 0 { | |
| 2474 | - | return nil | |
| 2475 | - | } | |
| 2476 | - | return (*VariantDict)(unsafe.Pointer(cret)) | |
| 2477 | - | } | |
| 2478 | - | ||
| 2479 | - | var xVariantDictClear func(uintptr) | |
| 2480 | - | ||
| 2481 | - | // Releases all memory associated with a #GVariantDict without freeing | |
| 2482 | - | // the #GVariantDict structure itself. | |
| 2483 | - | // | |
| 2484 | - | // It typically only makes sense to do this on a stack-allocated | |
| 2485 | - | // #GVariantDict if you want to abort building the value part-way | |
| 2486 | - | // through. This function need not be called if you call | |
| 2487 | - | // g_variant_dict_end() and it also doesn't need to be called on dicts | |
| 2488 | - | // allocated with g_variant_dict_new (see g_variant_dict_unref() for | |
| 2489 | - | // that). | |
| 2490 | - | // | |
| 2491 | - | // It is valid to call this function on either an initialised | |
| 2492 | - | // #GVariantDict or one that was previously cleared by an earlier call | |
| 2493 | - | // to g_variant_dict_clear() but it is not valid to call this function | |
| 2494 | - | // on uninitialised memory. | |
| 2495 | - | func (x *VariantDict) Clear() { | |
| 2496 | - | core.LazyRegister(&xVariantDictClear, "GLIB", "g_variant_dict_clear", false) | |
| 2497 | - | ||
| 2498 | - | xVariantDictClear(x.GoPointer()) | |
| 2499 | - | } | |
| 2500 | - | ||
| 2501 | - | var xVariantDictContains func(uintptr, string) bool | |
| 2502 | - | ||
| 2503 | - | // Checks if @key exists in @dict. | |
| 2504 | - | func (x *VariantDict) Contains(KeyVar string) bool { | |
| 2505 | - | core.LazyRegister(&xVariantDictContains, "GLIB", "g_variant_dict_contains", false) | |
| 2506 | - | ||
| 2507 | - | cret := xVariantDictContains(x.GoPointer(), KeyVar) | |
| 2508 | - | return cret | |
| 2509 | - | } | |
| 2510 | - | ||
| 2511 | - | var xVariantDictEnd func(uintptr) uintptr | |
| 2512 | - | ||
| 2513 | - | // Returns the current value of @dict as a #GVariant of type | |
| 2514 | - | // %G_VARIANT_TYPE_VARDICT, clearing it in the process. | |
| 2515 | - | // | |
| 2516 | - | // It is not permissible to use @dict in any way after this call except | |
| 2517 | - | // for reference counting operations (in the case of a heap-allocated | |
| 2518 | - | // #GVariantDict) or by reinitialising it with g_variant_dict_init() (in | |
| 2519 | - | // the case of stack-allocated). | |
| 2520 | - | func (x *VariantDict) End() *Variant { | |
| 2521 | - | core.LazyRegister(&xVariantDictEnd, "GLIB", "g_variant_dict_end", false) | |
| 2522 | - | ||
| 2523 | - | cret := xVariantDictEnd(x.GoPointer()) | |
| 2524 | - | if cret == 0 { | |
| 2525 | - | return nil | |
| 2526 | - | } | |
| 2527 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 2528 | - | } | |
| 2529 | - | ||
| 2530 | - | var xVariantDictInit func(uintptr, *Variant) | |
| 2531 | - | ||
| 2532 | - | // Initialises a #GVariantDict structure. | |
| 2533 | - | // | |
| 2534 | - | // If @from_asv is given, it is used to initialise the dictionary. | |
| 2535 | - | // | |
| 2536 | - | // This function completely ignores the previous contents of @dict. On | |
| 2537 | - | // one hand this means that it is valid to pass in completely | |
| 2538 | - | // uninitialised memory. On the other hand, this means that if you are | |
| 2539 | - | // initialising over top of an existing #GVariantDict you need to first | |
| 2540 | - | // call g_variant_dict_clear() in order to avoid leaking memory. | |
| 2541 | - | // | |
| 2542 | - | // You must not call g_variant_dict_ref() or g_variant_dict_unref() on a | |
| 2543 | - | // #GVariantDict that was initialised with this function. If you ever | |
| 2544 | - | // pass a reference to a #GVariantDict outside of the control of your | |
| 2545 | - | // own code then you should assume that the person receiving that | |
| 2546 | - | // reference may try to use reference counting; you should use | |
| 2547 | - | // g_variant_dict_new() instead of this function. | |
| 2548 | - | func (x *VariantDict) Init(FromAsvVar *Variant) { | |
| 2549 | - | core.LazyRegister(&xVariantDictInit, "GLIB", "g_variant_dict_init", false) | |
| 2550 | - | ||
| 2551 | - | xVariantDictInit(x.GoPointer(), FromAsvVar) | |
| 2552 | - | } | |
| 2553 | - | ||
| 2554 | - | var xVariantDictInsert func(uintptr, string, string, ...interface{}) | |
| 2555 | - | ||
| 2556 | - | // Inserts a value into a #GVariantDict. | |
| 2557 | - | // | |
| 2558 | - | // This call is a convenience wrapper that is exactly equivalent to | |
| 2559 | - | // calling g_variant_new() followed by g_variant_dict_insert_value(). | |
| 2560 | - | func (x *VariantDict) Insert(KeyVar string, FormatStringVar string, varArgs ...interface{}) { | |
| 2561 | - | core.LazyRegister(&xVariantDictInsert, "GLIB", "g_variant_dict_insert", false) | |
| 2562 | - | ||
| 2563 | - | xVariantDictInsert(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |
| 2564 | - | } | |
| 2565 | - | ||
| 2566 | - | var xVariantDictInsertValue func(uintptr, string, *Variant) | |
| 2567 | - | ||
| 2568 | - | // Inserts (or replaces) a key in a #GVariantDict. | |
| 2569 | - | // | |
| 2570 | - | // @value is consumed if it is floating. | |
| 2571 | - | func (x *VariantDict) InsertValue(KeyVar string, ValueVar *Variant) { | |
| 2572 | - | core.LazyRegister(&xVariantDictInsertValue, "GLIB", "g_variant_dict_insert_value", false) | |
| 2573 | - | ||
| 2574 | - | xVariantDictInsertValue(x.GoPointer(), KeyVar, ValueVar) | |
| 2575 | - | } | |
| 2576 | - | ||
| 2577 | - | var xVariantDictLookup func(uintptr, string, string, ...interface{}) bool | |
| 2578 | - | ||
| 2579 | - | // Looks up a value in a #GVariantDict. | |
| 2580 | - | // | |
| 2581 | - | // This function is a wrapper around g_variant_dict_lookup_value() and | |
| 2582 | - | // g_variant_get(). In the case that %NULL would have been returned, | |
| 2583 | - | // this function returns %FALSE and does not modify the values of the arguments | |
| 2584 | - | // passed in to @.... Otherwise, it unpacks the returned | |
| 2585 | - | // value and returns %TRUE. | |
| 2586 | - | // | |
| 2587 | - | // @format_string determines the C types that are used for unpacking the | |
| 2588 | - | // values and also determines if the values are copied or borrowed, see the | |
| 2589 | - | // section on [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 2590 | - | func (x *VariantDict) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool { | |
| 2591 | - | core.LazyRegister(&xVariantDictLookup, "GLIB", "g_variant_dict_lookup", false) | |
| 2592 | - | ||
| 2593 | - | cret := xVariantDictLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |
| 2594 | - | return cret | |
| 2595 | - | } | |
| 2596 | - | ||
| 2597 | - | var xVariantDictLookupValue func(uintptr, string, *VariantType) uintptr | |
| 2598 | - | ||
| 2599 | - | // Looks up a value in a #GVariantDict. | |
| 2600 | - | // | |
| 2601 | - | // If @key is not found in @dictionary, %NULL is returned. | |
| 2602 | - | // | |
| 2603 | - | // The @expected_type string specifies what type of value is expected. | |
| 2604 | - | // If the value associated with @key has a different type then %NULL is | |
| 2605 | - | // returned. | |
| 2606 | - | // | |
| 2607 | - | // If the key is found and the value has the correct type, it is | |
| 2608 | - | // returned. If @expected_type was specified then any non-%NULL return | |
| 2609 | - | // value will have this type. | |
| 2610 | - | func (x *VariantDict) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant { | |
| 2611 | - | core.LazyRegister(&xVariantDictLookupValue, "GLIB", "g_variant_dict_lookup_value", false) | |
| 2612 | - | ||
| 2613 | - | cret := xVariantDictLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar) | |
| 2614 | - | if cret == 0 { | |
| 2615 | - | return nil | |
| 2616 | - | } | |
| 2617 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 2618 | - | } | |
| 2619 | - | ||
| 2620 | - | var xVariantDictRef func(uintptr) uintptr | |
| 2621 | - | ||
| 2622 | - | // Increases the reference count on @dict. | |
| 2623 | - | // | |
| 2624 | - | // Don't call this on stack-allocated #GVariantDict instances or bad | |
| 2625 | - | // things will happen. | |
| 2626 | - | func (x *VariantDict) Ref() *VariantDict { | |
| 2627 | - | core.LazyRegister(&xVariantDictRef, "GLIB", "g_variant_dict_ref", false) | |
| 2628 | - | ||
| 2629 | - | cret := xVariantDictRef(x.GoPointer()) | |
| 2630 | - | if cret == 0 { | |
| 2631 | - | return nil | |
| 2632 | - | } | |
| 2633 | - | return (*VariantDict)(unsafe.Pointer(cret)) | |
| 2634 | - | } | |
| 2635 | - | ||
| 2636 | - | var xVariantDictRemove func(uintptr, string) bool | |
| 2637 | - | ||
| 2638 | - | // Removes a key and its associated value from a #GVariantDict. | |
| 2639 | - | func (x *VariantDict) Remove(KeyVar string) bool { | |
| 2640 | - | core.LazyRegister(&xVariantDictRemove, "GLIB", "g_variant_dict_remove", false) | |
| 2641 | - | ||
| 2642 | - | cret := xVariantDictRemove(x.GoPointer(), KeyVar) | |
| 2643 | - | return cret | |
| 2644 | - | } | |
| 2645 | - | ||
| 2646 | - | var xVariantDictUnref func(uintptr) | |
| 2647 | - | ||
| 2648 | - | // Decreases the reference count on @dict. | |
| 2649 | - | // | |
| 2650 | - | // In the event that there are no more references, releases all memory | |
| 2651 | - | // associated with the #GVariantDict. | |
| 2652 | - | // | |
| 2653 | - | // Don't call this on stack-allocated #GVariantDict instances or bad | |
| 2654 | - | // things will happen. | |
| 2655 | - | func (x *VariantDict) Unref() { | |
| 2656 | - | core.LazyRegister(&xVariantDictUnref, "GLIB", "g_variant_dict_unref", false) | |
| 2657 | - | ||
| 2658 | - | xVariantDictUnref(x.GoPointer()) | |
| 2659 | - | } | |
| 2660 | - | ||
| 2661 | - | // #GVariantIter is an opaque data structure and can only be accessed | |
| 2662 | - | // using the following functions. | |
| 2663 | - | type VariantIter struct { | |
| 2664 | - | _ structs.HostLayout | |
| 2665 | - | ||
| 2666 | - | X [16]uintptr | |
| 2667 | - | } | |
| 2668 | - | ||
| 2669 | - | func (x *VariantIter) GoPointer() uintptr { | |
| 2670 | - | return uintptr(unsafe.Pointer(x)) | |
| 2671 | - | } | |
| 2672 | - | ||
| 2673 | - | func VariantIterNewFromInternalPtr(ptr uintptr) *VariantIter { | |
| 2674 | - | if ptr == 0 { | |
| 2675 | - | return nil | |
| 2676 | - | } | |
| 2677 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |
| 2678 | - | return (*VariantIter)(rawPtr) | |
| 2679 | - | } | |
| 2680 | - | ||
| 2681 | - | var xVariantIterCopy func(uintptr) uintptr | |
| 2682 | - | ||
| 2683 | - | // Creates a new heap-allocated #GVariantIter to iterate over the | |
| 2684 | - | // container that was being iterated over by @iter. Iteration begins on | |
| 2685 | - | // the new iterator from the current position of the old iterator but | |
| 2686 | - | // the two copies are independent past that point. | |
| 2687 | - | // | |
| 2688 | - | // Use g_variant_iter_free() to free the return value when you no longer | |
| 2689 | - | // need it. | |
| 2690 | - | // | |
| 2691 | - | // A reference is taken to the container that @iter is iterating over | |
| 2692 | - | // and will be related only when g_variant_iter_free() is called. | |
| 2693 | - | func (x *VariantIter) Copy() *VariantIter { | |
| 2694 | - | core.LazyRegister(&xVariantIterCopy, "GLIB", "g_variant_iter_copy", false) | |
| 2695 | - | ||
| 2696 | - | cret := xVariantIterCopy(x.GoPointer()) | |
| 2697 | - | if cret == 0 { | |
| 2698 | - | return nil | |
| 2699 | - | } | |
| 2700 | - | return (*VariantIter)(unsafe.Pointer(cret)) | |
| 2701 | - | } | |
| 2702 | - | ||
| 2703 | - | var xVariantIterFree func(uintptr) | |
| 2704 | - | ||
| 2705 | - | // Frees a heap-allocated #GVariantIter. Only call this function on | |
| 2706 | - | // iterators that were returned by g_variant_iter_new() or | |
| 2707 | - | // g_variant_iter_copy(). | |
| 2708 | - | func (x *VariantIter) Free() { | |
| 2709 | - | core.LazyRegister(&xVariantIterFree, "GLIB", "g_variant_iter_free", false) | |
| 2710 | - | ||
| 2711 | - | xVariantIterFree(x.GoPointer()) | |
| 2712 | - | } | |
| 2713 | - | ||
| 2714 | - | var xVariantIterInit func(uintptr, *Variant) uint | |
| 2715 | - | ||
| 2716 | - | // Initialises (without allocating) a #GVariantIter. @iter may be | |
| 2717 | - | // completely uninitialised prior to this call; its old value is | |
| 2718 | - | // ignored. | |
| 2719 | - | // | |
| 2720 | - | // The iterator remains valid for as long as @value exists, and need not | |
| 2721 | - | // be freed in any way. | |
| 2722 | - | func (x *VariantIter) Init(ValueVar *Variant) uint { | |
| 2723 | - | core.LazyRegister(&xVariantIterInit, "GLIB", "g_variant_iter_init", false) | |
| 2724 | - | ||
| 2725 | - | cret := xVariantIterInit(x.GoPointer(), ValueVar) | |
| 2726 | - | return cret | |
| 2727 | - | } | |
| 2728 | - | ||
| 2729 | - | var xVariantIterLoop func(uintptr, string, ...interface{}) bool | |
| 2730 | - | ||
| 2731 | - | // Gets the next item in the container and unpacks it into the variable | |
| 2732 | - | // argument list according to @format_string, returning %TRUE. | |
| 2733 | - | // | |
| 2734 | - | // If no more items remain then %FALSE is returned. | |
| 2735 | - | // | |
| 2736 | - | // On the first call to this function, the pointers appearing on the | |
| 2737 | - | // variable argument list are assumed to point at uninitialised memory. | |
| 2738 | - | // On the second and later calls, it is assumed that the same pointers | |
| 2739 | - | // will be given and that they will point to the memory as set by the | |
| 2740 | - | // previous call to this function. This allows the previous values to | |
| 2741 | - | // be freed, as appropriate. | |
| 2742 | - | // | |
| 2743 | - | // This function is intended to be used with a while loop as | |
| 2744 | - | // demonstrated in the following example. This function can only be | |
| 2745 | - | // used when iterating over an array. It is only valid to call this | |
| 2746 | - | // function with a string constant for the format string and the same | |
| 2747 | - | // string constant must be used each time. Mixing calls to this | |
| 2748 | - | // function and g_variant_iter_next() or g_variant_iter_next_value() on | |
| 2749 | - | // the same iterator causes undefined behavior. | |
| 2750 | - | // | |
| 2751 | - | // If you break out of a such a while loop using g_variant_iter_loop() then | |
| 2752 | - | // you must free or unreference all the unpacked values as you would with | |
| 2753 | - | // g_variant_get(). Failure to do so will cause a memory leak. | |
| 2754 | - | // | |
| 2755 | - | // Here is an example for memory management with g_variant_iter_loop(): | |
| 2756 | - | // |[<!-- language="C" --> | |
| 2757 | - | // | |
| 2758 | - | // // Iterates a dictionary of type 'a{sv}' | |
| 2759 | - | // void | |
| 2760 | - | // iterate_dictionary (GVariant *dictionary) | |
| 2761 | - | // { | |
| 2762 | - | // GVariantIter iter; | |
| 2763 | - | // GVariant *value; | |
| 2764 | - | // gchar *key; | |
| 2765 | - | // | |
| 2766 | - | // g_variant_iter_init (&iter, dictionary); | |
| 2767 | - | // while (g_variant_iter_loop (&iter, "{sv}", &key, &value)) | |
| 2768 | - | // { | |
| 2769 | - | // g_print ("Item '%s' has type '%s'\n", key, | |
| 2770 | - | // g_variant_get_type_string (value)); | |
| 2771 | - | // | |
| 2772 | - | // // no need to free 'key' and 'value' here | |
| 2773 | - | // // unless breaking out of this loop | |
| 2774 | - | // } | |
| 2775 | - | // } | |
| 2776 | - | // | |
| 2777 | - | // ]| | |
| 2778 | - | // | |
| 2779 | - | // For most cases you should use g_variant_iter_next(). | |
| 2780 | - | // | |
| 2781 | - | // This function is really only useful when unpacking into #GVariant or | |
| 2782 | - | // #GVariantIter in order to allow you to skip the call to | |
| 2783 | - | // g_variant_unref() or g_variant_iter_free(). | |
| 2784 | - | // | |
| 2785 | - | // For example, if you are only looping over simple integer and string | |
| 2786 | - | // types, g_variant_iter_next() is definitely preferred. For string | |
| 2787 | - | // types, use the '&' prefix to avoid allocating any memory at all (and | |
| 2788 | - | // thereby avoiding the need to free anything as well). | |
| 2789 | - | // | |
| 2790 | - | // @format_string determines the C types that are used for unpacking | |
| 2791 | - | // the values and also determines if the values are copied or borrowed. | |
| 2792 | - | // | |
| 2793 | - | // See the section on | |
| 2794 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 2795 | - | func (x *VariantIter) Loop(FormatStringVar string, varArgs ...interface{}) bool { | |
| 2796 | - | core.LazyRegister(&xVariantIterLoop, "GLIB", "g_variant_iter_loop", false) | |
| 2797 | - | ||
| 2798 | - | cret := xVariantIterLoop(x.GoPointer(), FormatStringVar, varArgs...) | |
| 2799 | - | return cret | |
| 2800 | - | } | |
| 2801 | - | ||
| 2802 | - | var xVariantIterNChildren func(uintptr) uint | |
| 2803 | - | ||
| 2804 | - | // Queries the number of child items in the container that we are | |
| 2805 | - | // iterating over. This is the total number of items -- not the number | |
| 2806 | - | // of items remaining. | |
| 2807 | - | // | |
| 2808 | - | // This function might be useful for preallocation of arrays. | |
| 2809 | - | func (x *VariantIter) NChildren() uint { | |
| 2810 | - | core.LazyRegister(&xVariantIterNChildren, "GLIB", "g_variant_iter_n_children", false) | |
| 2811 | - | ||
| 2812 | - | cret := xVariantIterNChildren(x.GoPointer()) | |
| 2813 | - | return cret | |
| 2814 | - | } | |
| 2815 | - | ||
| 2816 | - | var xVariantIterNext func(uintptr, string, ...interface{}) bool | |
| 2817 | - | ||
| 2818 | - | // Gets the next item in the container and unpacks it into the variable | |
| 2819 | - | // argument list according to @format_string, returning %TRUE. | |
| 2820 | - | // | |
| 2821 | - | // If no more items remain then %FALSE is returned. | |
| 2822 | - | // | |
| 2823 | - | // All of the pointers given on the variable arguments list of this | |
| 2824 | - | // function are assumed to point at uninitialised memory. It is the | |
| 2825 | - | // responsibility of the caller to free all of the values returned by | |
| 2826 | - | // the unpacking process. | |
| 2827 | - | // | |
| 2828 | - | // Here is an example for memory management with g_variant_iter_next(): | |
| 2829 | - | // |[<!-- language="C" --> | |
| 2830 | - | // | |
| 2831 | - | // // Iterates a dictionary of type 'a{sv}' | |
| 2832 | - | // void | |
| 2833 | - | // iterate_dictionary (GVariant *dictionary) | |
| 2834 | - | // { | |
| 2835 | - | // GVariantIter iter; | |
| 2836 | - | // GVariant *value; | |
| 2837 | - | // gchar *key; | |
| 2838 | - | // | |
| 2839 | - | // g_variant_iter_init (&iter, dictionary); | |
| 2840 | - | // while (g_variant_iter_next (&iter, "{sv}", &key, &value)) | |
| 2841 | - | // { | |
| 2842 | - | // g_print ("Item '%s' has type '%s'\n", key, | |
| 2843 | - | // g_variant_get_type_string (value)); | |
| 2844 | - | // | |
| 2845 | - | // // must free data for ourselves | |
| 2846 | - | // g_variant_unref (value); | |
| 2847 | - | // g_free (key); | |
| 2848 | - | // } | |
| 2849 | - | // } | |
| 2850 | - | // | |
| 2851 | - | // ]| | |
| 2852 | - | // | |
| 2853 | - | // For a solution that is likely to be more convenient to C programmers | |
| 2854 | - | // when dealing with loops, see g_variant_iter_loop(). | |
| 2855 | - | // | |
| 2856 | - | // @format_string determines the C types that are used for unpacking | |
| 2857 | - | // the values and also determines if the values are copied or borrowed. | |
| 2858 | - | // | |
| 2859 | - | // See the section on | |
| 2860 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |
| 2861 | - | func (x *VariantIter) Next(FormatStringVar string, varArgs ...interface{}) bool { | |
| 2862 | - | core.LazyRegister(&xVariantIterNext, "GLIB", "g_variant_iter_next", false) | |
| 2863 | - | ||
| 2864 | - | cret := xVariantIterNext(x.GoPointer(), FormatStringVar, varArgs...) | |
| 2865 | - | return cret | |
| 2866 | - | } | |
| 2867 | - | ||
| 2868 | - | var xVariantIterNextValue func(uintptr) uintptr | |
| 2869 | - | ||
| 2870 | - | // Gets the next item in the container. If no more items remain then | |
| 2871 | - | // %NULL is returned. | |
| 2872 | - | // | |
| 2873 | - | // Use g_variant_unref() to drop your reference on the return value when | |
| 2874 | - | // you no longer need it. | |
| 2875 | - | // | |
| 2876 | - | // Here is an example for iterating with g_variant_iter_next_value(): | |
| 2877 | - | // |[<!-- language="C" --> | |
| 2878 | - | // | |
| 2879 | - | // // recursively iterate a container | |
| 2880 | - | // void | |
| 2881 | - | // iterate_container_recursive (GVariant *container) | |
| 2882 | - | // { | |
| 2883 | - | // GVariantIter iter; | |
| 2884 | - | // GVariant *child; | |
| 2885 | - | // | |
| 2886 | - | // g_variant_iter_init (&iter, container); | |
| 2887 | - | // while ((child = g_variant_iter_next_value (&iter))) | |
| 2888 | - | // { | |
| 2889 | - | // g_print ("type '%s'\n", g_variant_get_type_string (child)); | |
| 2890 | - | // | |
| 2891 | - | // if (g_variant_is_container (child)) | |
| 2892 | - | // iterate_container_recursive (child); | |
| 2893 | - | // | |
| 2894 | - | // g_variant_unref (child); | |
| 2895 | - | // } | |
| 2896 | - | // } | |
| 2897 | - | // | |
| 2898 | - | // ]| | |
| 2899 | - | func (x *VariantIter) NextValue() *Variant { | |
| 2900 | - | core.LazyRegister(&xVariantIterNextValue, "GLIB", "g_variant_iter_next_value", false) | |
| 2901 | - | ||
| 2902 | - | cret := xVariantIterNextValue(x.GoPointer()) | |
| 2903 | - | if cret == 0 { | |
| 2904 | - | return nil | |
| 2905 | - | } | |
| 2906 | - | return (*Variant)(unsafe.Pointer(cret)) | |
| 2907 | - | } | |
| 2908 | - | ||
| 2909 | - | // The range of possible top-level types of #GVariant instances. | |
| 2910 | - | type VariantClass int | |
| 2911 | - | ||
| 2912 | - | const ( | |
| 2913 | - | ||
| 2914 | - | // The #GVariant is a boolean. | |
| 2915 | - | GVariantClassBooleanValue VariantClass = 98 | |
| 2916 | - | // The #GVariant is a byte. | |
| 2917 | - | GVariantClassByteValue VariantClass = 121 | |
| 2918 | - | // The #GVariant is a signed 16 bit integer. | |
| 2919 | - | GVariantClassInt16Value VariantClass = 110 | |
| 2920 | - | // The #GVariant is an unsigned 16 bit integer. | |
| 2921 | - | GVariantClassUint16Value VariantClass = 113 | |
| 2922 | - | // The #GVariant is a signed 32 bit integer. | |
| 2923 | - | GVariantClassInt32Value VariantClass = 105 | |
| 2924 | - | // The #GVariant is an unsigned 32 bit integer. | |
| 2925 | - | GVariantClassUint32Value VariantClass = 117 | |
| 2926 | - | // The #GVariant is a signed 64 bit integer. | |
| 2927 | - | GVariantClassInt64Value VariantClass = 120 | |
| 2928 | - | // The #GVariant is an unsigned 64 bit integer. | |
| 2929 | - | GVariantClassUint64Value VariantClass = 116 | |
| 2930 | - | // The #GVariant is a file handle index. | |
| 2931 | - | GVariantClassHandleValue VariantClass = 104 | |
| 2932 | - | // The #GVariant is a double precision floating | |
| 2933 | - | // point value. | |
| 2934 | - | GVariantClassDoubleValue VariantClass = 100 | |
| 2935 | - | // The #GVariant is a normal string. | |
| 2936 | - | GVariantClassStringValue VariantClass = 115 | |
| 2937 | - | // The #GVariant is a D-Bus object path | |
| 2938 | - | // string. | |
| 2939 | - | GVariantClassObjectPathValue VariantClass = 111 | |
| 2940 | - | // The #GVariant is a D-Bus signature string. | |
| 2941 | - | GVariantClassSignatureValue VariantClass = 103 | |
| 2942 | - | // The #GVariant is a variant. | |
| 2943 | - | GVariantClassVariantValue VariantClass = 118 | |
| 2944 | - | // The #GVariant is a maybe-typed value. | |
| 2945 | - | GVariantClassMaybeValue VariantClass = 109 | |
| 2946 | - | // The #GVariant is an array. | |
| 2947 | - | GVariantClassArrayValue VariantClass = 97 | |
| 2948 | - | // The #GVariant is a tuple. | |
| 2949 | - | GVariantClassTupleValue VariantClass = 40 | |
| 2950 | - | // The #GVariant is a dictionary entry. | |
| 2951 | - | GVariantClassDictEntryValue VariantClass = 123 | |
| 2952 | - | ) | |
| 2953 | - | ||
| 2954 | - | // Error codes returned by parsing text-format GVariants. | |
| 2955 | - | type VariantParseError int | |
| 2956 | - | ||
| 2957 | - | const ( | |
| 2958 | - | ||
| 2959 | - | // generic error (unused) | |
| 2960 | - | GVariantParseErrorFailedValue VariantParseError = 0 | |
| 2961 | - | // a non-basic #GVariantType was given where a basic type was expected | |
| 2962 | - | GVariantParseErrorBasicTypeExpectedValue VariantParseError = 1 | |
| 2963 | - | // cannot infer the #GVariantType | |
| 2964 | - | GVariantParseErrorCannotInferTypeValue VariantParseError = 2 | |
| 2965 | - | // an indefinite #GVariantType was given where a definite type was expected | |
| 2966 | - | GVariantParseErrorDefiniteTypeExpectedValue VariantParseError = 3 | |
| 2967 | - | // extra data after parsing finished | |
| 2968 | - | GVariantParseErrorInputNotAtEndValue VariantParseError = 4 | |
| 2969 | - | // invalid character in number or unicode escape | |
| 2970 | - | GVariantParseErrorInvalidCharacterValue VariantParseError = 5 | |
| 2971 | - | // not a valid #GVariant format string | |
| 2972 | - | GVariantParseErrorInvalidFormatStringValue VariantParseError = 6 | |
| 2973 | - | // not a valid object path | |
| 2974 | - | GVariantParseErrorInvalidObjectPathValue VariantParseError = 7 | |
| 2975 | - | // not a valid type signature | |
| 2976 | - | GVariantParseErrorInvalidSignatureValue VariantParseError = 8 | |
| 2977 | - | // not a valid #GVariant type string | |
| 2978 | - | GVariantParseErrorInvalidTypeStringValue VariantParseError = 9 | |
| 2979 | - | // could not find a common type for array entries | |
| 2980 | - | GVariantParseErrorNoCommonTypeValue VariantParseError = 10 | |
| 2981 | - | // the numerical value is out of range of the given type | |
| 2982 | - | GVariantParseErrorNumberOutOfRangeValue VariantParseError = 11 | |
| 2983 | - | // the numerical value is out of range for any type | |
| 2984 | - | GVariantParseErrorNumberTooBigValue VariantParseError = 12 | |
| 2985 | - | // cannot parse as variant of the specified type | |
| 2986 | - | GVariantParseErrorTypeErrorValue VariantParseError = 13 | |
| 2987 | - | // an unexpected token was encountered | |
| 2988 | - | GVariantParseErrorUnexpectedTokenValue VariantParseError = 14 | |
| 2989 | - | // an unknown keyword was encountered | |
| 2990 | - | GVariantParseErrorUnknownKeywordValue VariantParseError = 15 | |
| 2991 | - | // unterminated string constant | |
| 2992 | - | GVariantParseErrorUnterminatedStringConstantValue VariantParseError = 16 | |
| 2993 | - | // no value given | |
| 2994 | - | GVariantParseErrorValueExpectedValue VariantParseError = 17 | |
| 2995 | - | // variant was too deeply nested; #GVariant is only guaranteed to handle nesting up to 64 levels (Since: 2.64) | |
| 2996 | - | GVariantParseErrorRecursionValue VariantParseError = 18 | |
| 2997 | - | ) | |
| 2998 | - | ||
| 2999 | - | var xVariantIsObjectPath func(string) bool | |
| 3000 | - | ||
| 3001 | - | // Determines if a given string is a valid D-Bus object path. You | |
| 3002 | - | // should ensure that a string is a valid D-Bus object path before | |
| 3003 | - | // passing it to g_variant_new_object_path(). | |
| 3004 | - | // | |
| 3005 | - | // A valid object path starts with `/` followed by zero or more | |
| 3006 | - | // sequences of characters separated by `/` characters. Each sequence | |
| 3007 | - | // must contain only the characters `[A-Z][a-z][0-9]_`. No sequence | |
| 3008 | - | // (including the one following the final `/` character) may be empty. | |
| 3009 | - | func VariantIsObjectPath(StringVar string) bool { | |
| 3010 | - | core.LazyRegister(&xVariantIsObjectPath, "GLIB", "g_variant_is_object_path", false) | |
| 3011 | - | ||
| 3012 | - | cret := xVariantIsObjectPath(StringVar) | |
| 3013 | - | return cret | |
| 3014 | - | } | |
| 3015 | - | ||
| 3016 | - | var xVariantIsSignature func(string) bool | |
| 3017 | - | ||
| 3018 | - | // Determines if a given string is a valid D-Bus type signature. You | |
| 3019 | - | // should ensure that a string is a valid D-Bus type signature before | |
| 3020 | - | // passing it to g_variant_new_signature(). | |
| 3021 | - | // | |
| 3022 | - | // D-Bus type signatures consist of zero or more definite #GVariantType | |
| 3023 | - | // strings in sequence. | |
| 3024 | - | func VariantIsSignature(StringVar string) bool { | |
| 3025 | - | core.LazyRegister(&xVariantIsSignature, "GLIB", "g_variant_is_signature", false) | |
| 3026 | - | ||
| 3027 | - | cret := xVariantIsSignature(StringVar) | |
| 3028 | - | return cret | |
| 3029 | - | } | |
| 3030 | - | ||
| 3031 | - | var xVariantParse func(*VariantType, string, uintptr, uintptr, **Error) uintptr | |
| 3032 | - | ||
| 3033 | - | // Parses a #GVariant from a text representation. | |
| 3034 | - | // | |
| 3035 | - | // A single #GVariant is parsed from the content of @text. | |
| 3036 | - | // | |
| 3037 | - | // The format is described [here](gvariant-text-format.html). | |
| 3038 | - | // | |
| 3039 | - | // The memory at @limit will never be accessed and the parser behaves as | |
| 3040 | - | // if the character at @limit is the nul terminator. This has the | |
| 3041 | - | // effect of bounding @text. | |
| 3042 | - | // | |
| 3043 | - | // If @endptr is non-%NULL then @text is permitted to contain data | |
| 3044 | - | // following the value that this function parses and @endptr will be | |
| 3045 | - | // updated to point to the first character past the end of the text | |
| 3046 | - | // parsed by this function. If @endptr is %NULL and there is extra data | |
| 3047 | - | // then an error is returned. | |
| 3048 | - | // | |
| 3049 | - | // If @type is non-%NULL then the value will be parsed to have that | |
| 3050 | - | // type. This may result in additional parse errors (in the case that | |
| 3051 | - | // the parsed value doesn't fit the type) but may also result in fewer | |
| 3052 | - | // errors (in the case that the type would have been ambiguous, such as | |
| 3053 | - | // with empty arrays). | |
| 3054 | - | // | |
| 3055 | - | // In the event that the parsing is successful, the resulting #GVariant | |
| 3056 | - | // is returned. It is never floating, and must be freed with | |
| 3057 | - | // [method@GLib.Variant.unref]. | |
| 3058 | - | // | |
| 3059 | - | // In case of any error, %NULL will be returned. If @error is non-%NULL | |
| 3060 | - | // then it will be set to reflect the error that occurred. | |
| 3061 | - | // | |
| 3062 | - | // Officially, the language understood by the parser is “any string | |
| 3063 | - | // produced by [method@GLib.Variant.print]”. This explicitly includes | |
| 3064 | - | // `g_variant_print()`’s annotated types like `int64 -1000`. | |
| 3065 | - | // | |
| 3066 | - | // There may be implementation specific restrictions on deeply nested values, | |
| 3067 | - | // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is | |
| 3068 | - | // guaranteed to handle nesting up to at least 64 levels. | |
| 3069 | - | func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) { | |
| 3070 | - | core.LazyRegister(&xVariantParse, "GLIB", "g_variant_parse", false) | |
| 3071 | - | var cerr *Error | |
| 3072 | - | ||
| 3073 | - | LimitVarPtr := core.GStrdupNullable(LimitVar) | |
| 3074 | - | defer core.GFreeNullable(LimitVarPtr) | |
| 3075 | - | ||
| 3076 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |
| 3077 | - | defer core.GFreeNullable(EndptrVarPtr) | |
| 3078 | - | ||
| 3079 | - | cret := xVariantParse(TypeVar, TextVar, LimitVarPtr, EndptrVarPtr, &cerr) | |
| 3080 | - | if cerr != nil { | |
| 3081 | - | return nil, cerr | |
| 3082 | - | } | |
| 3083 | - | if cret == 0 { | |
| 3084 | - | return nil, nil | |
| 3085 | - | } | |
| 3086 | - | return (*Variant)(unsafe.Pointer(cret)), nil | |
| 3087 | - | } | |
| 3088 | - | ||
| 3089 | - | var xVariantParseErrorPrintContext func(*Error, string) string | |
| 3090 | - | ||
| 3091 | - | // Pretty-prints a message showing the context of a #GVariant parse | |
| 3092 | - | // error within the string for which parsing was attempted. | |
| 3093 | - | // | |
| 3094 | - | // The resulting string is suitable for output to the console or other | |
| 3095 | - | // monospace media where newlines are treated in the usual way. | |
| 3096 | - | // | |
| 3097 | - | // The message will typically look something like one of the following: | |
| 3098 | - | // | |
| 3099 | - | // |[ | |
| 3100 | - | // unterminated string constant: | |
| 3101 | - | // | |
| 3102 | - | // (1, 2, 3, 'abc | |
| 3103 | - | // ^^^^ | |
| 3104 | - | // | |
| 3105 | - | // ]| | |
| 3106 | - | // | |
| 3107 | - | // or | |
| 3108 | - | // | |
| 3109 | - | // |[ | |
| 3110 | - | // unable to find a common type: | |
| 3111 | - | // | |
| 3112 | - | // [1, 2, 3, 'str'] | |
| 3113 | - | // ^ ^^^^^ | |
| 3114 | - | // | |
| 3115 | - | // ]| | |
| 3116 | - | // | |
| 3117 | - | // The format of the message may change in a future version. | |
| 3118 | - | // | |
| 3119 | - | // @error must have come from a failed attempt to g_variant_parse() and | |
| 3120 | - | // @source_str must be exactly the same string that caused the error. | |
| 3121 | - | // If @source_str was not nul-terminated when you passed it to | |
| 3122 | - | // g_variant_parse() then you must add nul termination before using this | |
| 3123 | - | // function. | |
| 3124 | - | func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string { | |
| 3125 | - | core.LazyRegister(&xVariantParseErrorPrintContext, "GLIB", "g_variant_parse_error_print_context", false) | |
| 3126 | - | ||
| 3127 | - | cret := xVariantParseErrorPrintContext(ErrorVar, SourceStrVar) | |
| 3128 | - | return cret | |
| 3129 | - | } | |
| 3130 | - | ||
| 3131 | - | func init() { | |
| 3132 | - | core.SetPackageName("GLIB", "glib-2.0") | |
| 3133 | - | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |
| 3134 | - | } | |
| @@ -1,3134 +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/puregotk/pkg/core" | |||
| 9 | - | "github.com/bnema/puregotk/v4/gobject/types" | |||
| 10 | - | ) | |||
| 11 | - | ||||
| 12 | - | // `GVariant` is a variant datatype; it can contain one or more values | |||
| 13 | - | // along with information about the type of the values. | |||
| 14 | - | // | |||
| 15 | - | // A `GVariant` may contain simple types, like an integer, or a boolean value; | |||
| 16 | - | // or complex types, like an array of two strings, or a dictionary of key | |||
| 17 | - | // value pairs. A `GVariant` is also immutable: once it’s been created neither | |||
| 18 | - | // its type nor its content can be modified further. | |||
| 19 | - | // | |||
| 20 | - | // `GVariant` is useful whenever data needs to be serialized, for example when | |||
| 21 | - | // sending method parameters in D-Bus, or when saving settings using | |||
| 22 | - | // [`GSettings`](../gio/class.Settings.html). | |||
| 23 | - | // | |||
| 24 | - | // When creating a new `GVariant`, you pass the data you want to store in it | |||
| 25 | - | // along with a string representing the type of data you wish to pass to it. | |||
| 26 | - | // | |||
| 27 | - | // For instance, if you want to create a `GVariant` holding an integer value you | |||
| 28 | - | // can use: | |||
| 29 | - | // | |||
| 30 | - | // ```c | |||
| 31 | - | // GVariant *v = g_variant_new ("u", 40); | |||
| 32 | - | // ``` | |||
| 33 | - | // | |||
| 34 | - | // The string `u` in the first argument tells `GVariant` that the data passed to | |||
| 35 | - | // the constructor (`40`) is going to be an unsigned integer. | |||
| 36 | - | // | |||
| 37 | - | // More advanced examples of `GVariant` in use can be found in documentation for | |||
| 38 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 39 | - | // | |||
| 40 | - | // The range of possible values is determined by the type. | |||
| 41 | - | // | |||
| 42 | - | // The type system used by `GVariant` is [type@GLib.VariantType]. | |||
| 43 | - | // | |||
| 44 | - | // `GVariant` instances always have a type and a value (which are given | |||
| 45 | - | // at construction time). The type and value of a `GVariant` instance | |||
| 46 | - | // can never change other than by the `GVariant` itself being | |||
| 47 | - | // destroyed. A `GVariant` cannot contain a pointer. | |||
| 48 | - | // | |||
| 49 | - | // `GVariant` is reference counted using [method@GLib.Variant.ref] and | |||
| 50 | - | // [method@GLib.Variant.unref]. `GVariant` also has floating reference counts — | |||
| 51 | - | // see [method@GLib.Variant.ref_sink]. | |||
| 52 | - | // | |||
| 53 | - | // `GVariant` is completely threadsafe. A `GVariant` instance can be | |||
| 54 | - | // concurrently accessed in any way from any number of threads without | |||
| 55 | - | // problems. | |||
| 56 | - | // | |||
| 57 | - | // `GVariant` is heavily optimised for dealing with data in serialized | |||
| 58 | - | // form. It works particularly well with data located in memory-mapped | |||
| 59 | - | // files. It can perform nearly all deserialization operations in a | |||
| 60 | - | // small constant time, usually touching only a single memory page. | |||
| 61 | - | // Serialized `GVariant` data can also be sent over the network. | |||
| 62 | - | // | |||
| 63 | - | // `GVariant` is largely compatible with D-Bus. Almost all types of | |||
| 64 | - | // `GVariant` instances can be sent over D-Bus. See [type@GLib.VariantType] for | |||
| 65 | - | // exceptions. (However, `GVariant`’s serialization format is not the same | |||
| 66 | - | // as the serialization format of a D-Bus message body: use | |||
| 67 | - | // [GDBusMessage](../gio/class.DBusMessage.html), in the GIO library, for those.) | |||
| 68 | - | // | |||
| 69 | - | // For space-efficiency, the `GVariant` serialization format does not | |||
| 70 | - | // automatically include the variant’s length, type or endianness, | |||
| 71 | - | // which must either be implied from context (such as knowledge that a | |||
| 72 | - | // particular file format always contains a little-endian | |||
| 73 | - | // `G_VARIANT_TYPE_VARIANT` which occupies the whole length of the file) | |||
| 74 | - | // or supplied out-of-band (for instance, a length, type and/or endianness | |||
| 75 | - | // indicator could be placed at the beginning of a file, network message | |||
| 76 | - | // or network stream). | |||
| 77 | - | // | |||
| 78 | - | // A `GVariant`’s size is limited mainly by any lower level operating | |||
| 79 | - | // system constraints, such as the number of bits in `gsize`. For | |||
| 80 | - | // example, it is reasonable to have a 2GB file mapped into memory | |||
| 81 | - | // with [struct@GLib.MappedFile], and call [ctor@GLib.Variant.new_from_data] on | |||
| 82 | - | // it. | |||
| 83 | - | // | |||
| 84 | - | // For convenience to C programmers, `GVariant` features powerful | |||
| 85 | - | // varargs-based value construction and destruction. This feature is | |||
| 86 | - | // designed to be embedded in other libraries. | |||
| 87 | - | // | |||
| 88 | - | // There is a Python-inspired text language for describing `GVariant` | |||
| 89 | - | // values. `GVariant` includes a printer for this language and a parser | |||
| 90 | - | // with type inferencing. | |||
| 91 | - | // | |||
| 92 | - | // ## Memory Use | |||
| 93 | - | // | |||
| 94 | - | // `GVariant` tries to be quite efficient with respect to memory use. | |||
| 95 | - | // This section gives a rough idea of how much memory is used by the | |||
| 96 | - | // current implementation. The information here is subject to change | |||
| 97 | - | // in the future. | |||
| 98 | - | // | |||
| 99 | - | // The memory allocated by `GVariant` can be grouped into 4 broad | |||
| 100 | - | // purposes: memory for serialized data, memory for the type | |||
| 101 | - | // information cache, buffer management memory and memory for the | |||
| 102 | - | // `GVariant` structure itself. | |||
| 103 | - | // | |||
| 104 | - | // ## Serialized Data Memory | |||
| 105 | - | // | |||
| 106 | - | // This is the memory that is used for storing `GVariant` data in | |||
| 107 | - | // serialized form. This is what would be sent over the network or | |||
| 108 | - | // what would end up on disk, not counting any indicator of the | |||
| 109 | - | // endianness, or of the length or type of the top-level variant. | |||
| 110 | - | // | |||
| 111 | - | // The amount of memory required to store a boolean is 1 byte. 16, | |||
| 112 | - | // 32 and 64 bit integers and double precision floating point numbers | |||
| 113 | - | // use their ‘natural’ size. Strings (including object path and | |||
| 114 | - | // signature strings) are stored with a nul terminator, and as such | |||
| 115 | - | // use the length of the string plus 1 byte. | |||
| 116 | - | // | |||
| 117 | - | // ‘Maybe’ types use no space at all to represent the null value and | |||
| 118 | - | // use the same amount of space (sometimes plus one byte) as the | |||
| 119 | - | // equivalent non-maybe-typed value to represent the non-null case. | |||
| 120 | - | // | |||
| 121 | - | // Arrays use the amount of space required to store each of their | |||
| 122 | - | // members, concatenated. Additionally, if the items stored in an | |||
| 123 | - | // array are not of a fixed-size (ie: strings, other arrays, etc) | |||
| 124 | - | // then an additional framing offset is stored for each item. The | |||
| 125 | - | // size of this offset is either 1, 2 or 4 bytes depending on the | |||
| 126 | - | // overall size of the container. Additionally, extra padding bytes | |||
| 127 | - | // are added as required for alignment of child values. | |||
| 128 | - | // | |||
| 129 | - | // Tuples (including dictionary entries) use the amount of space | |||
| 130 | - | // required to store each of their members, concatenated, plus one | |||
| 131 | - | // framing offset (as per arrays) for each non-fixed-sized item in | |||
| 132 | - | // the tuple, except for the last one. Additionally, extra padding | |||
| 133 | - | // bytes are added as required for alignment of child values. | |||
| 134 | - | // | |||
| 135 | - | // Variants use the same amount of space as the item inside of the | |||
| 136 | - | // variant, plus 1 byte, plus the length of the type string for the | |||
| 137 | - | // item inside the variant. | |||
| 138 | - | // | |||
| 139 | - | // As an example, consider a dictionary mapping strings to variants. | |||
| 140 | - | // In the case that the dictionary is empty, 0 bytes are required for | |||
| 141 | - | // the serialization. | |||
| 142 | - | // | |||
| 143 | - | // If we add an item ‘width’ that maps to the int32 value of 500 then | |||
| 144 | - | // we will use 4 bytes to store the int32 (so 6 for the variant | |||
| 145 | - | // containing it) and 6 bytes for the string. The variant must be | |||
| 146 | - | // aligned to 8 after the 6 bytes of the string, so that’s 2 extra | |||
| 147 | - | // bytes. 6 (string) + 2 (padding) + 6 (variant) is 14 bytes used | |||
| 148 | - | // for the dictionary entry. An additional 1 byte is added to the | |||
| 149 | - | // array as a framing offset making a total of 15 bytes. | |||
| 150 | - | // | |||
| 151 | - | // If we add another entry, ‘title’ that maps to a nullable string | |||
| 152 | - | // that happens to have a value of null, then we use 0 bytes for the | |||
| 153 | - | // null value (and 3 bytes for the variant to contain it along with | |||
| 154 | - | // its type string) plus 6 bytes for the string. Again, we need 2 | |||
| 155 | - | // padding bytes. That makes a total of 6 + 2 + 3 = 11 bytes. | |||
| 156 | - | // | |||
| 157 | - | // We now require extra padding between the two items in the array. | |||
| 158 | - | // After the 14 bytes of the first item, that’s 2 bytes required. | |||
| 159 | - | // We now require 2 framing offsets for an extra two | |||
| 160 | - | // bytes. 14 + 2 + 11 + 2 = 29 bytes to encode the entire two-item | |||
| 161 | - | // dictionary. | |||
| 162 | - | // | |||
| 163 | - | // ## Type Information Cache | |||
| 164 | - | // | |||
| 165 | - | // For each `GVariant` type that currently exists in the program a type | |||
| 166 | - | // information structure is kept in the type information cache. The | |||
| 167 | - | // type information structure is required for rapid deserialization. | |||
| 168 | - | // | |||
| 169 | - | // Continuing with the above example, if a `GVariant` exists with the | |||
| 170 | - | // type `a{sv}` then a type information struct will exist for | |||
| 171 | - | // `a{sv}`, `{sv}`, `s`, and `v`. Multiple uses of the same type | |||
| 172 | - | // will share the same type information. Additionally, all | |||
| 173 | - | // single-digit types are stored in read-only static memory and do | |||
| 174 | - | // not contribute to the writable memory footprint of a program using | |||
| 175 | - | // `GVariant`. | |||
| 176 | - | // | |||
| 177 | - | // Aside from the type information structures stored in read-only | |||
| 178 | - | // memory, there are two forms of type information. One is used for | |||
| 179 | - | // container types where there is a single element type: arrays and | |||
| 180 | - | // maybe types. The other is used for container types where there | |||
| 181 | - | // are multiple element types: tuples and dictionary entries. | |||
| 182 | - | // | |||
| 183 | - | // Array type info structures are `6 * sizeof (void *)`, plus the | |||
| 184 | - | // memory required to store the type string itself. This means that | |||
| 185 | - | // on 32-bit systems, the cache entry for `a{sv}` would require 30 | |||
| 186 | - | // bytes of memory (plus allocation overhead). | |||
| 187 | - | // | |||
| 188 | - | // Tuple type info structures are `6 * sizeof (void *)`, plus `4 * | |||
| 189 | - | // sizeof (void *)` for each item in the tuple, plus the memory | |||
| 190 | - | // required to store the type string itself. A 2-item tuple, for | |||
| 191 | - | // example, would have a type information structure that consumed | |||
| 192 | - | // writable memory in the size of `14 * sizeof (void *)` (plus type | |||
| 193 | - | // string) This means that on 32-bit systems, the cache entry for | |||
| 194 | - | // `{sv}` would require 61 bytes of memory (plus allocation overhead). | |||
| 195 | - | // | |||
| 196 | - | // This means that in total, for our `a{sv}` example, 91 bytes of | |||
| 197 | - | // type information would be allocated. | |||
| 198 | - | // | |||
| 199 | - | // The type information cache, additionally, uses a [struct@GLib.HashTable] to | |||
| 200 | - | // store and look up the cached items and stores a pointer to this | |||
| 201 | - | // hash table in static storage. The hash table is freed when there | |||
| 202 | - | // are zero items in the type cache. | |||
| 203 | - | // | |||
| 204 | - | // Although these sizes may seem large it is important to remember | |||
| 205 | - | // that a program will probably only have a very small number of | |||
| 206 | - | // different types of values in it and that only one type information | |||
| 207 | - | // structure is required for many different values of the same type. | |||
| 208 | - | // | |||
| 209 | - | // ## Buffer Management Memory | |||
| 210 | - | // | |||
| 211 | - | // `GVariant` uses an internal buffer management structure to deal | |||
| 212 | - | // with the various different possible sources of serialized data | |||
| 213 | - | // that it uses. The buffer is responsible for ensuring that the | |||
| 214 | - | // correct call is made when the data is no longer in use by | |||
| 215 | - | // `GVariant`. This may involve a [func@GLib.free] or | |||
| 216 | - | // even [method@GLib.MappedFile.unref]. | |||
| 217 | - | // | |||
| 218 | - | // One buffer management structure is used for each chunk of | |||
| 219 | - | // serialized data. The size of the buffer management structure | |||
| 220 | - | // is `4 * (void *)`. On 32-bit systems, that’s 16 bytes. | |||
| 221 | - | // | |||
| 222 | - | // ## GVariant structure | |||
| 223 | - | // | |||
| 224 | - | // The size of a `GVariant` structure is `6 * (void *)`. On 32-bit | |||
| 225 | - | // systems, that’s 24 bytes. | |||
| 226 | - | // | |||
| 227 | - | // `GVariant` structures only exist if they are explicitly created | |||
| 228 | - | // with API calls. For example, if a `GVariant` is constructed out of | |||
| 229 | - | // serialized data for the example given above (with the dictionary) | |||
| 230 | - | // then although there are 9 individual values that comprise the | |||
| 231 | - | // entire dictionary (two keys, two values, two variants containing | |||
| 232 | - | // the values, two dictionary entries, plus the dictionary itself), | |||
| 233 | - | // only 1 `GVariant` instance exists — the one referring to the | |||
| 234 | - | // dictionary. | |||
| 235 | - | // | |||
| 236 | - | // If calls are made to start accessing the other values then | |||
| 237 | - | // `GVariant` instances will exist for those values only for as long | |||
| 238 | - | // as they are in use (ie: until you call [method@GLib.Variant.unref]). The | |||
| 239 | - | // type information is shared. The serialized data and the buffer | |||
| 240 | - | // management structure for that serialized data is shared by the | |||
| 241 | - | // child. | |||
| 242 | - | // | |||
| 243 | - | // ## Summary | |||
| 244 | - | // | |||
| 245 | - | // To put the entire example together, for our dictionary mapping | |||
| 246 | - | // strings to variants (with two entries, as given above), we are | |||
| 247 | - | // using 91 bytes of memory for type information, 29 bytes of memory | |||
| 248 | - | // for the serialized data, 16 bytes for buffer management and 24 | |||
| 249 | - | // bytes for the `GVariant` instance, or a total of 160 bytes, plus | |||
| 250 | - | // allocation overhead. If we were to use [method@GLib.Variant.get_child_value] | |||
| 251 | - | // to access the two dictionary entries, we would use an additional 48 | |||
| 252 | - | // bytes. If we were to have other dictionaries of the same type, we | |||
| 253 | - | // would use more memory for the serialized data and buffer | |||
| 254 | - | // management for those dictionaries, but the type information would | |||
| 255 | - | // be shared. | |||
| 256 | - | type Variant struct { | |||
| 257 | - | _ structs.HostLayout | |||
| 258 | - | } | |||
| 259 | - | ||||
| 260 | - | var xVariantGLibType func() types.GType | |||
| 261 | - | ||||
| 262 | - | func VariantGLibType() types.GType { | |||
| 263 | - | core.LazyRegister(&xVariantGLibType, "GLIB", "intern", false) | |||
| 264 | - | return xVariantGLibType() | |||
| 265 | - | } | |||
| 266 | - | ||||
| 267 | - | func (x *Variant) GoPointer() uintptr { | |||
| 268 | - | return uintptr(unsafe.Pointer(x)) | |||
| 269 | - | } | |||
| 270 | - | ||||
| 271 | - | func VariantNewFromInternalPtr(ptr uintptr) *Variant { | |||
| 272 | - | if ptr == 0 { | |||
| 273 | - | return nil | |||
| 274 | - | } | |||
| 275 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 276 | - | return (*Variant)(rawPtr) | |||
| 277 | - | } | |||
| 278 | - | ||||
| 279 | - | var xNewVariant func(string, ...interface{}) uintptr | |||
| 280 | - | ||||
| 281 | - | // Creates a new #GVariant instance. | |||
| 282 | - | // | |||
| 283 | - | // Think of this function as an analogue to g_strdup_printf(). | |||
| 284 | - | // | |||
| 285 | - | // The type of the created instance and the arguments that are expected | |||
| 286 | - | // by this function are determined by @format_string. See the section on | |||
| 287 | - | // [GVariant format strings](gvariant-format-strings.html). Please note that | |||
| 288 | - | // the syntax of the format string is very likely to be extended in the | |||
| 289 | - | // future. | |||
| 290 | - | // | |||
| 291 | - | // The first character of the format string must not be '*' '?' '@' or | |||
| 292 | - | // 'r'; in essence, a new #GVariant must always be constructed by this | |||
| 293 | - | // function (and not merely passed through it unmodified). | |||
| 294 | - | // | |||
| 295 | - | // Note that the arguments must be of the correct width for their types | |||
| 296 | - | // specified in @format_string. This can be achieved by casting them. See | |||
| 297 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 298 | - | // | |||
| 299 | - | // |[<!-- language="C" --> | |||
| 300 | - | // MyFlags some_flags = FLAG_ONE | FLAG_TWO; | |||
| 301 | - | // const gchar *some_strings[] = { "a", "b", "c", NULL }; | |||
| 302 | - | // GVariant *new_variant; | |||
| 303 | - | // | |||
| 304 | - | // new_variant = g_variant_new ("(t^as)", | |||
| 305 | - | // | |||
| 306 | - | // // This cast is required. | |||
| 307 | - | // (guint64) some_flags, | |||
| 308 | - | // some_strings); | |||
| 309 | - | // | |||
| 310 | - | // ]| | |||
| 311 | - | func NewVariant(FormatStringVar string, varArgs ...interface{}) *Variant { | |||
| 312 | - | core.LazyRegister(&xNewVariant, "GLIB", "g_variant_new", false) | |||
| 313 | - | ||||
| 314 | - | cret := xNewVariant(FormatStringVar, varArgs...) | |||
| 315 | - | if cret == 0 { | |||
| 316 | - | return nil | |||
| 317 | - | } | |||
| 318 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 319 | - | } | |||
| 320 | - | ||||
| 321 | - | var xNewVariantArray func(*VariantType, uintptr, uint) uintptr | |||
| 322 | - | ||||
| 323 | - | // Creates a new #GVariant array from @children. | |||
| 324 | - | // | |||
| 325 | - | // @child_type must be non-%NULL if @n_children is zero. Otherwise, the | |||
| 326 | - | // child type is determined by inspecting the first element of the | |||
| 327 | - | // @children array. If @child_type is non-%NULL then it must be a | |||
| 328 | - | // definite type. | |||
| 329 | - | // | |||
| 330 | - | // The items of the array are taken from the @children array. No entry | |||
| 331 | - | // in the @children array may be %NULL. | |||
| 332 | - | // | |||
| 333 | - | // All items in the array must have the same type, which must be the | |||
| 334 | - | // same as @child_type, if given. | |||
| 335 | - | // | |||
| 336 | - | // If the @children are floating references (see g_variant_ref_sink()), the | |||
| 337 | - | // new instance takes ownership of them as if via g_variant_ref_sink(). | |||
| 338 | - | func NewVariantArray(ChildTypeVar *VariantType, ChildrenVar uintptr, NChildrenVar uint) *Variant { | |||
| 339 | - | core.LazyRegister(&xNewVariantArray, "GLIB", "g_variant_new_array", false) | |||
| 340 | - | ||||
| 341 | - | cret := xNewVariantArray(ChildTypeVar, ChildrenVar, NChildrenVar) | |||
| 342 | - | if cret == 0 { | |||
| 343 | - | return nil | |||
| 344 | - | } | |||
| 345 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 346 | - | } | |||
| 347 | - | ||||
| 348 | - | var xNewVariantBoolean func(bool) uintptr | |||
| 349 | - | ||||
| 350 | - | // Creates a new boolean #GVariant instance -- either %TRUE or %FALSE. | |||
| 351 | - | func NewVariantBoolean(ValueVar bool) *Variant { | |||
| 352 | - | core.LazyRegister(&xNewVariantBoolean, "GLIB", "g_variant_new_boolean", false) | |||
| 353 | - | ||||
| 354 | - | cret := xNewVariantBoolean(ValueVar) | |||
| 355 | - | if cret == 0 { | |||
| 356 | - | return nil | |||
| 357 | - | } | |||
| 358 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 359 | - | } | |||
| 360 | - | ||||
| 361 | - | var xNewVariantByte func(byte) uintptr | |||
| 362 | - | ||||
| 363 | - | // Creates a new byte #GVariant instance. | |||
| 364 | - | func NewVariantByte(ValueVar byte) *Variant { | |||
| 365 | - | core.LazyRegister(&xNewVariantByte, "GLIB", "g_variant_new_byte", false) | |||
| 366 | - | ||||
| 367 | - | cret := xNewVariantByte(ValueVar) | |||
| 368 | - | if cret == 0 { | |||
| 369 | - | return nil | |||
| 370 | - | } | |||
| 371 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 372 | - | } | |||
| 373 | - | ||||
| 374 | - | var xNewVariantBytestring func([]byte) uintptr | |||
| 375 | - | ||||
| 376 | - | // Creates an array-of-bytes #GVariant with the contents of @string. | |||
| 377 | - | // This function is just like g_variant_new_string() except that the | |||
| 378 | - | // string need not be valid UTF-8. | |||
| 379 | - | // | |||
| 380 | - | // The nul terminator character at the end of the string is stored in | |||
| 381 | - | // the array. | |||
| 382 | - | func NewVariantBytestring(StringVar []byte) *Variant { | |||
| 383 | - | core.LazyRegister(&xNewVariantBytestring, "GLIB", "g_variant_new_bytestring", false) | |||
| 384 | - | ||||
| 385 | - | cret := xNewVariantBytestring(StringVar) | |||
| 386 | - | if cret == 0 { | |||
| 387 | - | return nil | |||
| 388 | - | } | |||
| 389 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 390 | - | } | |||
| 391 | - | ||||
| 392 | - | var xNewVariantBytestringArray func([]string, int) uintptr | |||
| 393 | - | ||||
| 394 | - | // Constructs an array of bytestring #GVariant from the given array of | |||
| 395 | - | // strings. | |||
| 396 | - | // | |||
| 397 | - | // If @length is -1 then @strv is %NULL-terminated. | |||
| 398 | - | func NewVariantBytestringArray(StrvVar []string, LengthVar int) *Variant { | |||
| 399 | - | core.LazyRegister(&xNewVariantBytestringArray, "GLIB", "g_variant_new_bytestring_array", false) | |||
| 400 | - | ||||
| 401 | - | cret := xNewVariantBytestringArray(StrvVar, LengthVar) | |||
| 402 | - | if cret == 0 { | |||
| 403 | - | return nil | |||
| 404 | - | } | |||
| 405 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 406 | - | } | |||
| 407 | - | ||||
| 408 | - | var xNewVariantDictEntry func(*Variant, *Variant) uintptr | |||
| 409 | - | ||||
| 410 | - | // Creates a new dictionary entry #GVariant. @key and @value must be | |||
| 411 | - | // non-%NULL. @key must be a value of a basic type (ie: not a container). | |||
| 412 | - | // | |||
| 413 | - | // If the @key or @value are floating references (see g_variant_ref_sink()), | |||
| 414 | - | // the new instance takes ownership of them as if via g_variant_ref_sink(). | |||
| 415 | - | func NewVariantDictEntry(KeyVar *Variant, ValueVar *Variant) *Variant { | |||
| 416 | - | core.LazyRegister(&xNewVariantDictEntry, "GLIB", "g_variant_new_dict_entry", false) | |||
| 417 | - | ||||
| 418 | - | cret := xNewVariantDictEntry(KeyVar, ValueVar) | |||
| 419 | - | if cret == 0 { | |||
| 420 | - | return nil | |||
| 421 | - | } | |||
| 422 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 423 | - | } | |||
| 424 | - | ||||
| 425 | - | var xNewVariantDouble func(float64) uintptr | |||
| 426 | - | ||||
| 427 | - | // Creates a new double #GVariant instance. | |||
| 428 | - | func NewVariantDouble(ValueVar float64) *Variant { | |||
| 429 | - | core.LazyRegister(&xNewVariantDouble, "GLIB", "g_variant_new_double", false) | |||
| 430 | - | ||||
| 431 | - | cret := xNewVariantDouble(ValueVar) | |||
| 432 | - | if cret == 0 { | |||
| 433 | - | return nil | |||
| 434 | - | } | |||
| 435 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 436 | - | } | |||
| 437 | - | ||||
| 438 | - | var xNewVariantFixedArray func(*VariantType, uintptr, uint, uint) uintptr | |||
| 439 | - | ||||
| 440 | - | // Constructs a new array #GVariant instance, where the elements are | |||
| 441 | - | // of @element_type type. | |||
| 442 | - | // | |||
| 443 | - | // @elements must be an array with fixed-sized elements. Numeric types are | |||
| 444 | - | // fixed-size as are tuples containing only other fixed-sized types. | |||
| 445 | - | // | |||
| 446 | - | // @element_size must be the size of a single element in the array. | |||
| 447 | - | // For example, if calling this function for an array of 32-bit integers, | |||
| 448 | - | // you might say sizeof(gint32). This value isn't used except for the purpose | |||
| 449 | - | // of a double-check that the form of the serialized data matches the caller's | |||
| 450 | - | // expectation. | |||
| 451 | - | // | |||
| 452 | - | // @n_elements must be the length of the @elements array. | |||
| 453 | - | func NewVariantFixedArray(ElementTypeVar *VariantType, ElementsVar uintptr, NElementsVar uint, ElementSizeVar uint) *Variant { | |||
| 454 | - | core.LazyRegister(&xNewVariantFixedArray, "GLIB", "g_variant_new_fixed_array", false) | |||
| 455 | - | ||||
| 456 | - | cret := xNewVariantFixedArray(ElementTypeVar, ElementsVar, NElementsVar, ElementSizeVar) | |||
| 457 | - | if cret == 0 { | |||
| 458 | - | return nil | |||
| 459 | - | } | |||
| 460 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 461 | - | } | |||
| 462 | - | ||||
| 463 | - | var xNewVariantFromBytes func(*VariantType, *Bytes, bool) uintptr | |||
| 464 | - | ||||
| 465 | - | // Constructs a new serialized-mode #GVariant instance. This is the | |||
| 466 | - | // inner interface for creation of new serialized values that gets | |||
| 467 | - | // called from various functions in gvariant.c. | |||
| 468 | - | // | |||
| 469 | - | // A reference is taken on @bytes. | |||
| 470 | - | // | |||
| 471 | - | // The data in @bytes must be aligned appropriately for the @type being loaded. | |||
| 472 | - | // Otherwise this function will internally create a copy of the memory (since | |||
| 473 | - | // GLib 2.60) or (in older versions) fail and exit the process. | |||
| 474 | - | func NewVariantFromBytes(TypeVar *VariantType, BytesVar *Bytes, TrustedVar bool) *Variant { | |||
| 475 | - | core.LazyRegister(&xNewVariantFromBytes, "GLIB", "g_variant_new_from_bytes", false) | |||
| 476 | - | ||||
| 477 | - | cret := xNewVariantFromBytes(TypeVar, BytesVar, TrustedVar) | |||
| 478 | - | if cret == 0 { | |||
| 479 | - | return nil | |||
| 480 | - | } | |||
| 481 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 482 | - | } | |||
| 483 | - | ||||
| 484 | - | var xNewVariantFromData func(*VariantType, []byte, uint, bool, uintptr, uintptr) uintptr | |||
| 485 | - | ||||
| 486 | - | // Creates a new #GVariant instance from serialized data. | |||
| 487 | - | // | |||
| 488 | - | // @type is the type of #GVariant instance that will be constructed. | |||
| 489 | - | // The interpretation of @data depends on knowing the type. | |||
| 490 | - | // | |||
| 491 | - | // @data is not modified by this function and must remain valid with an | |||
| 492 | - | // unchanging value until such a time as @notify is called with | |||
| 493 | - | // @user_data. If the contents of @data change before that time then | |||
| 494 | - | // the result is undefined. | |||
| 495 | - | // | |||
| 496 | - | // If @data is trusted to be serialized data in normal form then | |||
| 497 | - | // @trusted should be %TRUE. This applies to serialized data created | |||
| 498 | - | // within this process or read from a trusted location on the disk (such | |||
| 499 | - | // as a file installed in /usr/lib alongside your application). You | |||
| 500 | - | // should set trusted to %FALSE if @data is read from the network, a | |||
| 501 | - | // file in the user's home directory, etc. | |||
| 502 | - | // | |||
| 503 | - | // If @data was not stored in this machine's native endianness, any multi-byte | |||
| 504 | - | // numeric values in the returned variant will also be in non-native | |||
| 505 | - | // endianness. g_variant_byteswap() can be used to recover the original values. | |||
| 506 | - | // | |||
| 507 | - | // @notify will be called with @user_data when @data is no longer | |||
| 508 | - | // needed. The exact time of this call is unspecified and might even be | |||
| 509 | - | // before this function returns. | |||
| 510 | - | // | |||
| 511 | - | // Note: @data must be backed by memory that is aligned appropriately for the | |||
| 512 | - | // @type being loaded. Otherwise this function will internally create a copy of | |||
| 513 | - | // the memory (since GLib 2.60) or (in older versions) fail and exit the | |||
| 514 | - | // process. | |||
| 515 | - | func NewVariantFromData(TypeVar *VariantType, DataVar []byte, SizeVar uint, TrustedVar bool, NotifyVar *DestroyNotify, UserDataVar uintptr) *Variant { | |||
| 516 | - | core.LazyRegister(&xNewVariantFromData, "GLIB", "g_variant_new_from_data", false) | |||
| 517 | - | ||||
| 518 | - | cret := xNewVariantFromData(TypeVar, DataVar, SizeVar, TrustedVar, NewCallbackNullable(NotifyVar), UserDataVar) | |||
| 519 | - | if cret == 0 { | |||
| 520 | - | return nil | |||
| 521 | - | } | |||
| 522 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 523 | - | } | |||
| 524 | - | ||||
| 525 | - | var xNewVariantHandle func(int32) uintptr | |||
| 526 | - | ||||
| 527 | - | // Creates a new handle #GVariant instance. | |||
| 528 | - | // | |||
| 529 | - | // By convention, handles are indexes into an array of file descriptors | |||
| 530 | - | // that are sent alongside a D-Bus message. If you're not interacting | |||
| 531 | - | // with D-Bus, you probably don't need them. | |||
| 532 | - | func NewVariantHandle(ValueVar int32) *Variant { | |||
| 533 | - | core.LazyRegister(&xNewVariantHandle, "GLIB", "g_variant_new_handle", false) | |||
| 534 | - | ||||
| 535 | - | cret := xNewVariantHandle(ValueVar) | |||
| 536 | - | if cret == 0 { | |||
| 537 | - | return nil | |||
| 538 | - | } | |||
| 539 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 540 | - | } | |||
| 541 | - | ||||
| 542 | - | var xNewVariantInt16 func(int16) uintptr | |||
| 543 | - | ||||
| 544 | - | // Creates a new int16 #GVariant instance. | |||
| 545 | - | func NewVariantInt16(ValueVar int16) *Variant { | |||
| 546 | - | core.LazyRegister(&xNewVariantInt16, "GLIB", "g_variant_new_int16", false) | |||
| 547 | - | ||||
| 548 | - | cret := xNewVariantInt16(ValueVar) | |||
| 549 | - | if cret == 0 { | |||
| 550 | - | return nil | |||
| 551 | - | } | |||
| 552 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 553 | - | } | |||
| 554 | - | ||||
| 555 | - | var xNewVariantInt32 func(int32) uintptr | |||
| 556 | - | ||||
| 557 | - | // Creates a new int32 #GVariant instance. | |||
| 558 | - | func NewVariantInt32(ValueVar int32) *Variant { | |||
| 559 | - | core.LazyRegister(&xNewVariantInt32, "GLIB", "g_variant_new_int32", false) | |||
| 560 | - | ||||
| 561 | - | cret := xNewVariantInt32(ValueVar) | |||
| 562 | - | if cret == 0 { | |||
| 563 | - | return nil | |||
| 564 | - | } | |||
| 565 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 566 | - | } | |||
| 567 | - | ||||
| 568 | - | var xNewVariantInt64 func(int64) uintptr | |||
| 569 | - | ||||
| 570 | - | // Creates a new int64 #GVariant instance. | |||
| 571 | - | func NewVariantInt64(ValueVar int64) *Variant { | |||
| 572 | - | core.LazyRegister(&xNewVariantInt64, "GLIB", "g_variant_new_int64", false) | |||
| 573 | - | ||||
| 574 | - | cret := xNewVariantInt64(ValueVar) | |||
| 575 | - | if cret == 0 { | |||
| 576 | - | return nil | |||
| 577 | - | } | |||
| 578 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 579 | - | } | |||
| 580 | - | ||||
| 581 | - | var xNewVariantMaybe func(*VariantType, *Variant) uintptr | |||
| 582 | - | ||||
| 583 | - | // Depending on if @child is %NULL, either wraps @child inside of a | |||
| 584 | - | // maybe container or creates a Nothing instance for the given @type. | |||
| 585 | - | // | |||
| 586 | - | // At least one of @child_type and @child must be non-%NULL. | |||
| 587 | - | // If @child_type is non-%NULL then it must be a definite type. | |||
| 588 | - | // If they are both non-%NULL then @child_type must be the type | |||
| 589 | - | // of @child. | |||
| 590 | - | // | |||
| 591 | - | // If @child is a floating reference (see g_variant_ref_sink()), the new | |||
| 592 | - | // instance takes ownership of @child. | |||
| 593 | - | func NewVariantMaybe(ChildTypeVar *VariantType, ChildVar *Variant) *Variant { | |||
| 594 | - | core.LazyRegister(&xNewVariantMaybe, "GLIB", "g_variant_new_maybe", false) | |||
| 595 | - | ||||
| 596 | - | cret := xNewVariantMaybe(ChildTypeVar, ChildVar) | |||
| 597 | - | if cret == 0 { | |||
| 598 | - | return nil | |||
| 599 | - | } | |||
| 600 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 601 | - | } | |||
| 602 | - | ||||
| 603 | - | var xNewVariantObjectPath func(string) uintptr | |||
| 604 | - | ||||
| 605 | - | // Creates a D-Bus object path #GVariant with the contents of @object_path. | |||
| 606 | - | // @object_path must be a valid D-Bus object path. Use | |||
| 607 | - | // g_variant_is_object_path() if you're not sure. | |||
| 608 | - | func NewVariantObjectPath(ObjectPathVar string) *Variant { | |||
| 609 | - | core.LazyRegister(&xNewVariantObjectPath, "GLIB", "g_variant_new_object_path", false) | |||
| 610 | - | ||||
| 611 | - | cret := xNewVariantObjectPath(ObjectPathVar) | |||
| 612 | - | if cret == 0 { | |||
| 613 | - | return nil | |||
| 614 | - | } | |||
| 615 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 616 | - | } | |||
| 617 | - | ||||
| 618 | - | var xNewVariantObjv func([]string, int) uintptr | |||
| 619 | - | ||||
| 620 | - | // Constructs an array of object paths #GVariant from the given array of | |||
| 621 | - | // strings. | |||
| 622 | - | // | |||
| 623 | - | // Each string must be a valid #GVariant object path; see | |||
| 624 | - | // g_variant_is_object_path(). | |||
| 625 | - | // | |||
| 626 | - | // If @length is -1 then @strv is %NULL-terminated. | |||
| 627 | - | func NewVariantObjv(StrvVar []string, LengthVar int) *Variant { | |||
| 628 | - | core.LazyRegister(&xNewVariantObjv, "GLIB", "g_variant_new_objv", false) | |||
| 629 | - | ||||
| 630 | - | cret := xNewVariantObjv(StrvVar, LengthVar) | |||
| 631 | - | if cret == 0 { | |||
| 632 | - | return nil | |||
| 633 | - | } | |||
| 634 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 635 | - | } | |||
| 636 | - | ||||
| 637 | - | var xNewVariantParsed func(string, ...interface{}) uintptr | |||
| 638 | - | ||||
| 639 | - | // Parses @format and returns the result. | |||
| 640 | - | // | |||
| 641 | - | // @format must be a text format #GVariant with one extension: at any | |||
| 642 | - | // point that a value may appear in the text, a '%' character followed | |||
| 643 | - | // by a GVariant format string (as per g_variant_new()) may appear. In | |||
| 644 | - | // that case, the same arguments are collected from the argument list as | |||
| 645 | - | // g_variant_new() would have collected. | |||
| 646 | - | // | |||
| 647 | - | // Note that the arguments must be of the correct width for their types | |||
| 648 | - | // specified in @format. This can be achieved by casting them. See | |||
| 649 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 650 | - | // | |||
| 651 | - | // Consider this simple example: | |||
| 652 | - | // |[<!-- language="C" --> | |||
| 653 | - | // | |||
| 654 | - | // g_variant_new_parsed ("[('one', 1), ('two', %i), (%s, 3)]", 2, "three"); | |||
| 655 | - | // | |||
| 656 | - | // ]| | |||
| 657 | - | // | |||
| 658 | - | // In the example, the variable argument parameters are collected and | |||
| 659 | - | // filled in as if they were part of the original string to produce the | |||
| 660 | - | // result of | |||
| 661 | - | // |[<!-- language="C" --> | |||
| 662 | - | // [('one', 1), ('two', 2), ('three', 3)] | |||
| 663 | - | // ]| | |||
| 664 | - | // | |||
| 665 | - | // This function is intended only to be used with @format as a string | |||
| 666 | - | // literal. Any parse error is fatal to the calling process. If you | |||
| 667 | - | // want to parse data from untrusted sources, use g_variant_parse(). | |||
| 668 | - | // | |||
| 669 | - | // You may not use this function to return, unmodified, a single | |||
| 670 | - | // #GVariant pointer from the argument list. ie: @format may not solely | |||
| 671 | - | // be anything along the lines of "%*", "%?", "\%r", or anything starting | |||
| 672 | - | // with "%@". | |||
| 673 | - | func NewVariantParsed(FormatVar string, varArgs ...interface{}) *Variant { | |||
| 674 | - | core.LazyRegister(&xNewVariantParsed, "GLIB", "g_variant_new_parsed", false) | |||
| 675 | - | ||||
| 676 | - | cret := xNewVariantParsed(FormatVar, varArgs...) | |||
| 677 | - | if cret == 0 { | |||
| 678 | - | return nil | |||
| 679 | - | } | |||
| 680 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 681 | - | } | |||
| 682 | - | ||||
| 683 | - | var xNewVariantParsedVa func(string, []interface{}) uintptr | |||
| 684 | - | ||||
| 685 | - | // Parses @format and returns the result. | |||
| 686 | - | // | |||
| 687 | - | // This is the version of g_variant_new_parsed() intended to be used | |||
| 688 | - | // from libraries. | |||
| 689 | - | // | |||
| 690 | - | // The return value will be floating if it was a newly created GVariant | |||
| 691 | - | // instance. In the case that @format simply specified the collection | |||
| 692 | - | // of a #GVariant pointer (eg: @format was "%*") then the collected | |||
| 693 | - | // #GVariant pointer will be returned unmodified, without adding any | |||
| 694 | - | // additional references. | |||
| 695 | - | // | |||
| 696 | - | // Note that the arguments in @app must be of the correct width for their types | |||
| 697 | - | // specified in @format when collected into the #va_list. See | |||
| 698 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 699 | - | // | |||
| 700 | - | // In order to behave correctly in all cases it is necessary for the | |||
| 701 | - | // calling function to g_variant_ref_sink() the return result before | |||
| 702 | - | // returning control to the user that originally provided the pointer. | |||
| 703 | - | // At this point, the caller will have their own full reference to the | |||
| 704 | - | // result. This can also be done by adding the result to a container, | |||
| 705 | - | // or by passing it to another g_variant_new() call. | |||
| 706 | - | func NewVariantParsedVa(FormatVar string, AppVar []interface{}) *Variant { | |||
| 707 | - | core.LazyRegister(&xNewVariantParsedVa, "GLIB", "g_variant_new_parsed_va", false) | |||
| 708 | - | ||||
| 709 | - | cret := xNewVariantParsedVa(FormatVar, AppVar) | |||
| 710 | - | if cret == 0 { | |||
| 711 | - | return nil | |||
| 712 | - | } | |||
| 713 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 714 | - | } | |||
| 715 | - | ||||
| 716 | - | var xNewVariantPrintf func(string, ...interface{}) uintptr | |||
| 717 | - | ||||
| 718 | - | // Creates a string-type GVariant using printf formatting. | |||
| 719 | - | // | |||
| 720 | - | // This is similar to calling g_strdup_printf() and then | |||
| 721 | - | // g_variant_new_string() but it saves a temporary variable and an | |||
| 722 | - | // unnecessary copy. | |||
| 723 | - | func NewVariantPrintf(FormatStringVar string, varArgs ...interface{}) *Variant { | |||
| 724 | - | core.LazyRegister(&xNewVariantPrintf, "GLIB", "g_variant_new_printf", false) | |||
| 725 | - | ||||
| 726 | - | cret := xNewVariantPrintf(FormatStringVar, varArgs...) | |||
| 727 | - | if cret == 0 { | |||
| 728 | - | return nil | |||
| 729 | - | } | |||
| 730 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 731 | - | } | |||
| 732 | - | ||||
| 733 | - | var xNewVariantSignature func(string) uintptr | |||
| 734 | - | ||||
| 735 | - | // Creates a D-Bus type signature #GVariant with the contents of | |||
| 736 | - | // @string. @string must be a valid D-Bus type signature. Use | |||
| 737 | - | // g_variant_is_signature() if you're not sure. | |||
| 738 | - | func NewVariantSignature(SignatureVar string) *Variant { | |||
| 739 | - | core.LazyRegister(&xNewVariantSignature, "GLIB", "g_variant_new_signature", false) | |||
| 740 | - | ||||
| 741 | - | cret := xNewVariantSignature(SignatureVar) | |||
| 742 | - | if cret == 0 { | |||
| 743 | - | return nil | |||
| 744 | - | } | |||
| 745 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 746 | - | } | |||
| 747 | - | ||||
| 748 | - | var xNewVariantString func(string) uintptr | |||
| 749 | - | ||||
| 750 | - | // Creates a string #GVariant with the contents of @string. | |||
| 751 | - | // | |||
| 752 | - | // @string must be valid UTF-8, and must not be %NULL. To encode | |||
| 753 | - | // potentially-%NULL strings, use g_variant_new() with `ms` as the | |||
| 754 | - | // [format string](gvariant-format-strings.html#maybe-types). | |||
| 755 | - | func NewVariantString(StringVar string) *Variant { | |||
| 756 | - | core.LazyRegister(&xNewVariantString, "GLIB", "g_variant_new_string", false) | |||
| 757 | - | ||||
| 758 | - | cret := xNewVariantString(StringVar) | |||
| 759 | - | if cret == 0 { | |||
| 760 | - | return nil | |||
| 761 | - | } | |||
| 762 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 763 | - | } | |||
| 764 | - | ||||
| 765 | - | var xNewVariantStrv func([]string, int) uintptr | |||
| 766 | - | ||||
| 767 | - | // Constructs an array of strings #GVariant from the given array of | |||
| 768 | - | // strings. | |||
| 769 | - | // | |||
| 770 | - | // If @length is -1 then @strv is %NULL-terminated. | |||
| 771 | - | func NewVariantStrv(StrvVar []string, LengthVar int) *Variant { | |||
| 772 | - | core.LazyRegister(&xNewVariantStrv, "GLIB", "g_variant_new_strv", false) | |||
| 773 | - | ||||
| 774 | - | cret := xNewVariantStrv(StrvVar, LengthVar) | |||
| 775 | - | if cret == 0 { | |||
| 776 | - | return nil | |||
| 777 | - | } | |||
| 778 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 779 | - | } | |||
| 780 | - | ||||
| 781 | - | var xNewVariantTakeString func(string) uintptr | |||
| 782 | - | ||||
| 783 | - | // Creates a string #GVariant with the contents of @string. | |||
| 784 | - | // | |||
| 785 | - | // @string must be valid UTF-8, and must not be %NULL. To encode | |||
| 786 | - | // potentially-%NULL strings, use this with g_variant_new_maybe(). | |||
| 787 | - | // | |||
| 788 | - | // After this call, @string belongs to the #GVariant and may no longer be | |||
| 789 | - | // modified by the caller. The memory of @data has to be dynamically | |||
| 790 | - | // allocated and will eventually be freed with g_free(). | |||
| 791 | - | // | |||
| 792 | - | // You must not modify or access @string in any other way after passing | |||
| 793 | - | // it to this function. It is even possible that @string is immediately | |||
| 794 | - | // freed. | |||
| 795 | - | func NewVariantTakeString(StringVar string) *Variant { | |||
| 796 | - | core.LazyRegister(&xNewVariantTakeString, "GLIB", "g_variant_new_take_string", false) | |||
| 797 | - | ||||
| 798 | - | cret := xNewVariantTakeString(StringVar) | |||
| 799 | - | if cret == 0 { | |||
| 800 | - | return nil | |||
| 801 | - | } | |||
| 802 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 803 | - | } | |||
| 804 | - | ||||
| 805 | - | var xNewVariantTuple func(uintptr, uint) uintptr | |||
| 806 | - | ||||
| 807 | - | // Creates a new tuple #GVariant out of the items in @children. The | |||
| 808 | - | // type is determined from the types of @children. No entry in the | |||
| 809 | - | // @children array may be %NULL. | |||
| 810 | - | // | |||
| 811 | - | // If @n_children is 0 then the unit tuple is constructed. | |||
| 812 | - | // | |||
| 813 | - | // If the @children are floating references (see g_variant_ref_sink()), the | |||
| 814 | - | // new instance takes ownership of them as if via g_variant_ref_sink(). | |||
| 815 | - | func NewVariantTuple(ChildrenVar uintptr, NChildrenVar uint) *Variant { | |||
| 816 | - | core.LazyRegister(&xNewVariantTuple, "GLIB", "g_variant_new_tuple", false) | |||
| 817 | - | ||||
| 818 | - | cret := xNewVariantTuple(ChildrenVar, NChildrenVar) | |||
| 819 | - | if cret == 0 { | |||
| 820 | - | return nil | |||
| 821 | - | } | |||
| 822 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 823 | - | } | |||
| 824 | - | ||||
| 825 | - | var xNewVariantUint16 func(uint16) uintptr | |||
| 826 | - | ||||
| 827 | - | // Creates a new uint16 #GVariant instance. | |||
| 828 | - | func NewVariantUint16(ValueVar uint16) *Variant { | |||
| 829 | - | core.LazyRegister(&xNewVariantUint16, "GLIB", "g_variant_new_uint16", false) | |||
| 830 | - | ||||
| 831 | - | cret := xNewVariantUint16(ValueVar) | |||
| 832 | - | if cret == 0 { | |||
| 833 | - | return nil | |||
| 834 | - | } | |||
| 835 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 836 | - | } | |||
| 837 | - | ||||
| 838 | - | var xNewVariantUint32 func(uint32) uintptr | |||
| 839 | - | ||||
| 840 | - | // Creates a new uint32 #GVariant instance. | |||
| 841 | - | func NewVariantUint32(ValueVar uint32) *Variant { | |||
| 842 | - | core.LazyRegister(&xNewVariantUint32, "GLIB", "g_variant_new_uint32", false) | |||
| 843 | - | ||||
| 844 | - | cret := xNewVariantUint32(ValueVar) | |||
| 845 | - | if cret == 0 { | |||
| 846 | - | return nil | |||
| 847 | - | } | |||
| 848 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 849 | - | } | |||
| 850 | - | ||||
| 851 | - | var xNewVariantUint64 func(uint64) uintptr | |||
| 852 | - | ||||
| 853 | - | // Creates a new uint64 #GVariant instance. | |||
| 854 | - | func NewVariantUint64(ValueVar uint64) *Variant { | |||
| 855 | - | core.LazyRegister(&xNewVariantUint64, "GLIB", "g_variant_new_uint64", false) | |||
| 856 | - | ||||
| 857 | - | cret := xNewVariantUint64(ValueVar) | |||
| 858 | - | if cret == 0 { | |||
| 859 | - | return nil | |||
| 860 | - | } | |||
| 861 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 862 | - | } | |||
| 863 | - | ||||
| 864 | - | var xNewVariantVa func(string, uintptr, []interface{}) uintptr | |||
| 865 | - | ||||
| 866 | - | // This function is intended to be used by libraries based on | |||
| 867 | - | // #GVariant that want to provide g_variant_new()-like functionality | |||
| 868 | - | // to their users. | |||
| 869 | - | // | |||
| 870 | - | // The API is more general than g_variant_new() to allow a wider range | |||
| 871 | - | // of possible uses. | |||
| 872 | - | // | |||
| 873 | - | // @format_string must still point to a valid format string, but it only | |||
| 874 | - | // needs to be nul-terminated if @endptr is %NULL. If @endptr is | |||
| 875 | - | // non-%NULL then it is updated to point to the first character past the | |||
| 876 | - | // end of the format string. | |||
| 877 | - | // | |||
| 878 | - | // @app is a pointer to a #va_list. The arguments, according to | |||
| 879 | - | // @format_string, are collected from this #va_list and the list is left | |||
| 880 | - | // pointing to the argument following the last. | |||
| 881 | - | // | |||
| 882 | - | // Note that the arguments in @app must be of the correct width for their | |||
| 883 | - | // types specified in @format_string when collected into the #va_list. | |||
| 884 | - | // See the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 885 | - | // | |||
| 886 | - | // These two generalisations allow mixing of multiple calls to | |||
| 887 | - | // g_variant_new_va() and g_variant_get_va() within a single actual | |||
| 888 | - | // varargs call by the user. | |||
| 889 | - | // | |||
| 890 | - | // The return value will be floating if it was a newly created GVariant | |||
| 891 | - | // instance (for example, if the format string was "(ii)"). In the case | |||
| 892 | - | // that the format_string was '*', '?', 'r', or a format starting with | |||
| 893 | - | // '@' then the collected #GVariant pointer will be returned unmodified, | |||
| 894 | - | // without adding any additional references. | |||
| 895 | - | // | |||
| 896 | - | // In order to behave correctly in all cases it is necessary for the | |||
| 897 | - | // calling function to g_variant_ref_sink() the return result before | |||
| 898 | - | // returning control to the user that originally provided the pointer. | |||
| 899 | - | // At this point, the caller will have their own full reference to the | |||
| 900 | - | // result. This can also be done by adding the result to a container, | |||
| 901 | - | // or by passing it to another g_variant_new() call. | |||
| 902 | - | func NewVariantVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) *Variant { | |||
| 903 | - | core.LazyRegister(&xNewVariantVa, "GLIB", "g_variant_new_va", false) | |||
| 904 | - | ||||
| 905 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |||
| 906 | - | defer core.GFreeNullable(EndptrVarPtr) | |||
| 907 | - | ||||
| 908 | - | cret := xNewVariantVa(FormatStringVar, EndptrVarPtr, AppVar) | |||
| 909 | - | if cret == 0 { | |||
| 910 | - | return nil | |||
| 911 | - | } | |||
| 912 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 913 | - | } | |||
| 914 | - | ||||
| 915 | - | var xNewVariantVariant func(*Variant) uintptr | |||
| 916 | - | ||||
| 917 | - | // Boxes @value. The result is a #GVariant instance representing a | |||
| 918 | - | // variant containing the original value. | |||
| 919 | - | // | |||
| 920 | - | // If @child is a floating reference (see g_variant_ref_sink()), the new | |||
| 921 | - | // instance takes ownership of @child. | |||
| 922 | - | func NewVariantVariant(ValueVar *Variant) *Variant { | |||
| 923 | - | core.LazyRegister(&xNewVariantVariant, "GLIB", "g_variant_new_variant", false) | |||
| 924 | - | ||||
| 925 | - | cret := xNewVariantVariant(ValueVar) | |||
| 926 | - | if cret == 0 { | |||
| 927 | - | return nil | |||
| 928 | - | } | |||
| 929 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 930 | - | } | |||
| 931 | - | ||||
| 932 | - | var xVariantByteswap func(uintptr) uintptr | |||
| 933 | - | ||||
| 934 | - | // Performs a byteswapping operation on the contents of @value. The | |||
| 935 | - | // result is that all multi-byte numeric data contained in @value is | |||
| 936 | - | // byteswapped. That includes 16, 32, and 64bit signed and unsigned | |||
| 937 | - | // integers as well as file handles and double precision floating point | |||
| 938 | - | // values. | |||
| 939 | - | // | |||
| 940 | - | // This function is an identity mapping on any value that does not | |||
| 941 | - | // contain multi-byte numeric data. That include strings, booleans, | |||
| 942 | - | // bytes and containers containing only these things (recursively). | |||
| 943 | - | // | |||
| 944 | - | // While this function can safely handle untrusted, non-normal data, it is | |||
| 945 | - | // recommended to check whether the input is in normal form beforehand, using | |||
| 946 | - | // g_variant_is_normal_form(), and to reject non-normal inputs if your | |||
| 947 | - | // application can be strict about what inputs it rejects. | |||
| 948 | - | // | |||
| 949 | - | // The returned value is always in normal form and is marked as trusted. | |||
| 950 | - | // A full, not floating, reference is returned. | |||
| 951 | - | func (x *Variant) Byteswap() *Variant { | |||
| 952 | - | core.LazyRegister(&xVariantByteswap, "GLIB", "g_variant_byteswap", false) | |||
| 953 | - | ||||
| 954 | - | cret := xVariantByteswap(x.GoPointer()) | |||
| 955 | - | if cret == 0 { | |||
| 956 | - | return nil | |||
| 957 | - | } | |||
| 958 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 959 | - | } | |||
| 960 | - | ||||
| 961 | - | var xVariantCheckFormatString func(uintptr, string, bool) bool | |||
| 962 | - | ||||
| 963 | - | // Checks if calling g_variant_get() with @format_string on @value would | |||
| 964 | - | // be valid from a type-compatibility standpoint. @format_string is | |||
| 965 | - | // assumed to be a valid format string (from a syntactic standpoint). | |||
| 966 | - | // | |||
| 967 | - | // If @copy_only is %TRUE then this function additionally checks that it | |||
| 968 | - | // would be safe to call g_variant_unref() on @value immediately after | |||
| 969 | - | // the call to g_variant_get() without invalidating the result. This is | |||
| 970 | - | // only possible if deep copies are made (ie: there are no pointers to | |||
| 971 | - | // the data inside of the soon-to-be-freed #GVariant instance). If this | |||
| 972 | - | // check fails then a g_critical() is printed and %FALSE is returned. | |||
| 973 | - | // | |||
| 974 | - | // This function is meant to be used by functions that wish to provide | |||
| 975 | - | // varargs accessors to #GVariant values of uncertain values (eg: | |||
| 976 | - | // g_variant_lookup() or g_menu_model_get_item_attribute()). | |||
| 977 | - | func (x *Variant) CheckFormatString(FormatStringVar string, CopyOnlyVar bool) bool { | |||
| 978 | - | core.LazyRegister(&xVariantCheckFormatString, "GLIB", "g_variant_check_format_string", false) | |||
| 979 | - | ||||
| 980 | - | cret := xVariantCheckFormatString(x.GoPointer(), FormatStringVar, CopyOnlyVar) | |||
| 981 | - | return cret | |||
| 982 | - | } | |||
| 983 | - | ||||
| 984 | - | var xVariantClassify func(uintptr) VariantClass | |||
| 985 | - | ||||
| 986 | - | // Classifies @value according to its top-level type. | |||
| 987 | - | func (x *Variant) Classify() VariantClass { | |||
| 988 | - | core.LazyRegister(&xVariantClassify, "GLIB", "g_variant_classify", false) | |||
| 989 | - | ||||
| 990 | - | cret := xVariantClassify(x.GoPointer()) | |||
| 991 | - | return cret | |||
| 992 | - | } | |||
| 993 | - | ||||
| 994 | - | var xVariantCompare func(uintptr, uintptr) int | |||
| 995 | - | ||||
| 996 | - | // Compares @one and @two. | |||
| 997 | - | // | |||
| 998 | - | // The types of @one and @two are #gconstpointer only to allow use of | |||
| 999 | - | // this function with #GTree, #GPtrArray, etc. They must each be a | |||
| 1000 | - | // #GVariant. | |||
| 1001 | - | // | |||
| 1002 | - | // Comparison is only defined for basic types (ie: booleans, numbers, | |||
| 1003 | - | // strings). For booleans, %FALSE is less than %TRUE. Numbers are | |||
| 1004 | - | // ordered in the usual way. Strings are in ASCII lexographical order. | |||
| 1005 | - | // | |||
| 1006 | - | // It is a programmer error to attempt to compare container values or | |||
| 1007 | - | // two values that have types that are not exactly equal. For example, | |||
| 1008 | - | // you cannot compare a 32-bit signed integer with a 32-bit unsigned | |||
| 1009 | - | // integer. Also note that this function is not particularly | |||
| 1010 | - | // well-behaved when it comes to comparison of doubles; in particular, | |||
| 1011 | - | // the handling of incomparable values (ie: NaN) is undefined. | |||
| 1012 | - | // | |||
| 1013 | - | // If you only require an equality comparison, g_variant_equal() is more | |||
| 1014 | - | // general. | |||
| 1015 | - | func (x *Variant) Compare(TwoVar uintptr) int { | |||
| 1016 | - | core.LazyRegister(&xVariantCompare, "GLIB", "g_variant_compare", false) | |||
| 1017 | - | ||||
| 1018 | - | cret := xVariantCompare(x.GoPointer(), TwoVar) | |||
| 1019 | - | return cret | |||
| 1020 | - | } | |||
| 1021 | - | ||||
| 1022 | - | var xVariantDupBytestring func(uintptr, *uint) uintptr | |||
| 1023 | - | ||||
| 1024 | - | // Similar to g_variant_get_bytestring() except that instead of | |||
| 1025 | - | // returning a constant string, the string is duplicated. | |||
| 1026 | - | // | |||
| 1027 | - | // The return value must be freed using g_free(). | |||
| 1028 | - | func (x *Variant) DupBytestring(LengthVar *uint) uintptr { | |||
| 1029 | - | core.LazyRegister(&xVariantDupBytestring, "GLIB", "g_variant_dup_bytestring", false) | |||
| 1030 | - | ||||
| 1031 | - | cret := xVariantDupBytestring(x.GoPointer(), LengthVar) | |||
| 1032 | - | return cret | |||
| 1033 | - | } | |||
| 1034 | - | ||||
| 1035 | - | var xVariantDupBytestringArray func(uintptr, *uint) []string | |||
| 1036 | - | ||||
| 1037 | - | // Gets the contents of an array of array of bytes #GVariant. This call | |||
| 1038 | - | // makes a deep copy; the return result should be released with | |||
| 1039 | - | // g_strfreev(). | |||
| 1040 | - | // | |||
| 1041 | - | // If @length is non-%NULL then the number of elements in the result is | |||
| 1042 | - | // stored there. In any case, the resulting array will be | |||
| 1043 | - | // %NULL-terminated. | |||
| 1044 | - | // | |||
| 1045 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1046 | - | // %NULL pointer will be returned. | |||
| 1047 | - | func (x *Variant) DupBytestringArray(LengthVar *uint) []string { | |||
| 1048 | - | core.LazyRegister(&xVariantDupBytestringArray, "GLIB", "g_variant_dup_bytestring_array", false) | |||
| 1049 | - | ||||
| 1050 | - | cret := xVariantDupBytestringArray(x.GoPointer(), LengthVar) | |||
| 1051 | - | return cret | |||
| 1052 | - | } | |||
| 1053 | - | ||||
| 1054 | - | var xVariantDupObjv func(uintptr, *uint) []string | |||
| 1055 | - | ||||
| 1056 | - | // Gets the contents of an array of object paths #GVariant. This call | |||
| 1057 | - | // makes a deep copy; the return result should be released with | |||
| 1058 | - | // g_strfreev(). | |||
| 1059 | - | // | |||
| 1060 | - | // If @length is non-%NULL then the number of elements in the result | |||
| 1061 | - | // is stored there. In any case, the resulting array will be | |||
| 1062 | - | // %NULL-terminated. | |||
| 1063 | - | // | |||
| 1064 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1065 | - | // %NULL pointer will be returned. | |||
| 1066 | - | func (x *Variant) DupObjv(LengthVar *uint) []string { | |||
| 1067 | - | core.LazyRegister(&xVariantDupObjv, "GLIB", "g_variant_dup_objv", false) | |||
| 1068 | - | ||||
| 1069 | - | cret := xVariantDupObjv(x.GoPointer(), LengthVar) | |||
| 1070 | - | return cret | |||
| 1071 | - | } | |||
| 1072 | - | ||||
| 1073 | - | var xVariantDupString func(uintptr, *uint) string | |||
| 1074 | - | ||||
| 1075 | - | // Similar to g_variant_get_string() except that instead of returning | |||
| 1076 | - | // a constant string, the string is duplicated. | |||
| 1077 | - | // | |||
| 1078 | - | // The string will always be UTF-8 encoded. | |||
| 1079 | - | // | |||
| 1080 | - | // The return value must be freed using g_free(). | |||
| 1081 | - | func (x *Variant) DupString(LengthVar *uint) string { | |||
| 1082 | - | core.LazyRegister(&xVariantDupString, "GLIB", "g_variant_dup_string", false) | |||
| 1083 | - | ||||
| 1084 | - | cret := xVariantDupString(x.GoPointer(), LengthVar) | |||
| 1085 | - | return cret | |||
| 1086 | - | } | |||
| 1087 | - | ||||
| 1088 | - | var xVariantDupStrv func(uintptr, *uint) []string | |||
| 1089 | - | ||||
| 1090 | - | // Gets the contents of an array of strings #GVariant. This call | |||
| 1091 | - | // makes a deep copy; the return result should be released with | |||
| 1092 | - | // g_strfreev(). | |||
| 1093 | - | // | |||
| 1094 | - | // If @length is non-%NULL then the number of elements in the result | |||
| 1095 | - | // is stored there. In any case, the resulting array will be | |||
| 1096 | - | // %NULL-terminated. | |||
| 1097 | - | // | |||
| 1098 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1099 | - | // %NULL pointer will be returned. | |||
| 1100 | - | func (x *Variant) DupStrv(LengthVar *uint) []string { | |||
| 1101 | - | core.LazyRegister(&xVariantDupStrv, "GLIB", "g_variant_dup_strv", false) | |||
| 1102 | - | ||||
| 1103 | - | cret := xVariantDupStrv(x.GoPointer(), LengthVar) | |||
| 1104 | - | return cret | |||
| 1105 | - | } | |||
| 1106 | - | ||||
| 1107 | - | var xVariantEqual func(uintptr, uintptr) bool | |||
| 1108 | - | ||||
| 1109 | - | // Checks if @one and @two have the same type and value. | |||
| 1110 | - | // | |||
| 1111 | - | // The types of @one and @two are #gconstpointer only to allow use of | |||
| 1112 | - | // this function with #GHashTable. They must each be a #GVariant. | |||
| 1113 | - | func (x *Variant) Equal(TwoVar uintptr) bool { | |||
| 1114 | - | core.LazyRegister(&xVariantEqual, "GLIB", "g_variant_equal", false) | |||
| 1115 | - | ||||
| 1116 | - | cret := xVariantEqual(x.GoPointer(), TwoVar) | |||
| 1117 | - | return cret | |||
| 1118 | - | } | |||
| 1119 | - | ||||
| 1120 | - | var xVariantGet func(uintptr, string, ...interface{}) | |||
| 1121 | - | ||||
| 1122 | - | // Deconstructs a #GVariant instance. | |||
| 1123 | - | // | |||
| 1124 | - | // Think of this function as an analogue to scanf(). | |||
| 1125 | - | // | |||
| 1126 | - | // The arguments that are expected by this function are entirely | |||
| 1127 | - | // determined by @format_string. @format_string also restricts the | |||
| 1128 | - | // permissible types of @value. It is an error to give a value with | |||
| 1129 | - | // an incompatible type. See the section on | |||
| 1130 | - | // [GVariant format strings](gvariant-format-strings.html). | |||
| 1131 | - | // Please note that the syntax of the format string is very likely to be | |||
| 1132 | - | // extended in the future. | |||
| 1133 | - | // | |||
| 1134 | - | // @format_string determines the C types that are used for unpacking | |||
| 1135 | - | // the values and also determines if the values are copied or borrowed, | |||
| 1136 | - | // see the section on | |||
| 1137 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 1138 | - | func (x *Variant) Get(FormatStringVar string, varArgs ...interface{}) { | |||
| 1139 | - | core.LazyRegister(&xVariantGet, "GLIB", "g_variant_get", false) | |||
| 1140 | - | ||||
| 1141 | - | xVariantGet(x.GoPointer(), FormatStringVar, varArgs...) | |||
| 1142 | - | } | |||
| 1143 | - | ||||
| 1144 | - | var xVariantGetBoolean func(uintptr) bool | |||
| 1145 | - | ||||
| 1146 | - | // Returns the boolean value of @value. | |||
| 1147 | - | // | |||
| 1148 | - | // It is an error to call this function with a @value of any type | |||
| 1149 | - | // other than %G_VARIANT_TYPE_BOOLEAN. | |||
| 1150 | - | func (x *Variant) GetBoolean() bool { | |||
| 1151 | - | core.LazyRegister(&xVariantGetBoolean, "GLIB", "g_variant_get_boolean", false) | |||
| 1152 | - | ||||
| 1153 | - | cret := xVariantGetBoolean(x.GoPointer()) | |||
| 1154 | - | return cret | |||
| 1155 | - | } | |||
| 1156 | - | ||||
| 1157 | - | var xVariantGetByte func(uintptr) byte | |||
| 1158 | - | ||||
| 1159 | - | // Returns the byte value of @value. | |||
| 1160 | - | // | |||
| 1161 | - | // It is an error to call this function with a @value of any type | |||
| 1162 | - | // other than %G_VARIANT_TYPE_BYTE. | |||
| 1163 | - | func (x *Variant) GetByte() byte { | |||
| 1164 | - | core.LazyRegister(&xVariantGetByte, "GLIB", "g_variant_get_byte", false) | |||
| 1165 | - | ||||
| 1166 | - | cret := xVariantGetByte(x.GoPointer()) | |||
| 1167 | - | return cret | |||
| 1168 | - | } | |||
| 1169 | - | ||||
| 1170 | - | var xVariantGetBytestring func(uintptr) uintptr | |||
| 1171 | - | ||||
| 1172 | - | // Returns the string value of a #GVariant instance with an | |||
| 1173 | - | // array-of-bytes type. The string has no particular encoding. | |||
| 1174 | - | // | |||
| 1175 | - | // If the array does not end with a nul terminator character, the empty | |||
| 1176 | - | // string is returned. For this reason, you can always trust that a | |||
| 1177 | - | // non-%NULL nul-terminated string will be returned by this function. | |||
| 1178 | - | // | |||
| 1179 | - | // If the array contains a nul terminator character somewhere other than | |||
| 1180 | - | // the last byte then the returned string is the string, up to the first | |||
| 1181 | - | // such nul character. | |||
| 1182 | - | // | |||
| 1183 | - | // g_variant_get_fixed_array() should be used instead if the array contains | |||
| 1184 | - | // arbitrary data that could not be nul-terminated or could contain nul bytes. | |||
| 1185 | - | // | |||
| 1186 | - | // It is an error to call this function with a @value that is not an | |||
| 1187 | - | // array of bytes. | |||
| 1188 | - | // | |||
| 1189 | - | // The return value remains valid as long as @value exists. | |||
| 1190 | - | func (x *Variant) GetBytestring() uintptr { | |||
| 1191 | - | core.LazyRegister(&xVariantGetBytestring, "GLIB", "g_variant_get_bytestring", false) | |||
| 1192 | - | ||||
| 1193 | - | cret := xVariantGetBytestring(x.GoPointer()) | |||
| 1194 | - | return cret | |||
| 1195 | - | } | |||
| 1196 | - | ||||
| 1197 | - | var xVariantGetBytestringArray func(uintptr, *uint) []string | |||
| 1198 | - | ||||
| 1199 | - | // Gets the contents of an array of array of bytes #GVariant. This call | |||
| 1200 | - | // makes a shallow copy; the return result should be released with | |||
| 1201 | - | // g_free(), but the individual strings must not be modified. | |||
| 1202 | - | // | |||
| 1203 | - | // If @length is non-%NULL then the number of elements in the result is | |||
| 1204 | - | // stored there. In any case, the resulting array will be | |||
| 1205 | - | // %NULL-terminated. | |||
| 1206 | - | // | |||
| 1207 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1208 | - | // %NULL pointer will be returned. | |||
| 1209 | - | func (x *Variant) GetBytestringArray(LengthVar *uint) []string { | |||
| 1210 | - | core.LazyRegister(&xVariantGetBytestringArray, "GLIB", "g_variant_get_bytestring_array", false) | |||
| 1211 | - | ||||
| 1212 | - | cret := xVariantGetBytestringArray(x.GoPointer(), LengthVar) | |||
| 1213 | - | return cret | |||
| 1214 | - | } | |||
| 1215 | - | ||||
| 1216 | - | var xVariantGetChild func(uintptr, uint, string, ...interface{}) | |||
| 1217 | - | ||||
| 1218 | - | // Reads a child item out of a container #GVariant instance and | |||
| 1219 | - | // deconstructs it according to @format_string. This call is | |||
| 1220 | - | // essentially a combination of g_variant_get_child_value() and | |||
| 1221 | - | // g_variant_get(). | |||
| 1222 | - | // | |||
| 1223 | - | // @format_string determines the C types that are used for unpacking | |||
| 1224 | - | // the values and also determines if the values are copied or borrowed, | |||
| 1225 | - | // see the section on | |||
| 1226 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 1227 | - | func (x *Variant) GetChild(IndexVar uint, FormatStringVar string, varArgs ...interface{}) { | |||
| 1228 | - | core.LazyRegister(&xVariantGetChild, "GLIB", "g_variant_get_child", false) | |||
| 1229 | - | ||||
| 1230 | - | xVariantGetChild(x.GoPointer(), IndexVar, FormatStringVar, varArgs...) | |||
| 1231 | - | } | |||
| 1232 | - | ||||
| 1233 | - | var xVariantGetChildValue func(uintptr, uint) uintptr | |||
| 1234 | - | ||||
| 1235 | - | // Reads a child item out of a container #GVariant instance. This | |||
| 1236 | - | // includes variants, maybes, arrays, tuples and dictionary | |||
| 1237 | - | // entries. It is an error to call this function on any other type of | |||
| 1238 | - | // #GVariant. | |||
| 1239 | - | // | |||
| 1240 | - | // It is an error if @index_ is greater than the number of child items | |||
| 1241 | - | // in the container. See g_variant_n_children(). | |||
| 1242 | - | // | |||
| 1243 | - | // The returned value is never floating. You should free it with | |||
| 1244 | - | // g_variant_unref() when you're done with it. | |||
| 1245 | - | // | |||
| 1246 | - | // Note that values borrowed from the returned child are not guaranteed to | |||
| 1247 | - | // still be valid after the child is freed even if you still hold a reference | |||
| 1248 | - | // to @value, if @value has not been serialized at the time this function is | |||
| 1249 | - | // called. To avoid this, you can serialize @value by calling | |||
| 1250 | - | // g_variant_get_data() and optionally ignoring the return value. | |||
| 1251 | - | // | |||
| 1252 | - | // There may be implementation specific restrictions on deeply nested values, | |||
| 1253 | - | // which would result in the unit tuple being returned as the child value, | |||
| 1254 | - | // instead of further nested children. #GVariant is guaranteed to handle | |||
| 1255 | - | // nesting up to at least 64 levels. | |||
| 1256 | - | // | |||
| 1257 | - | // This function is O(1). | |||
| 1258 | - | func (x *Variant) GetChildValue(IndexVar uint) *Variant { | |||
| 1259 | - | core.LazyRegister(&xVariantGetChildValue, "GLIB", "g_variant_get_child_value", false) | |||
| 1260 | - | ||||
| 1261 | - | cret := xVariantGetChildValue(x.GoPointer(), IndexVar) | |||
| 1262 | - | if cret == 0 { | |||
| 1263 | - | return nil | |||
| 1264 | - | } | |||
| 1265 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1266 | - | } | |||
| 1267 | - | ||||
| 1268 | - | var xVariantGetData func(uintptr) uintptr | |||
| 1269 | - | ||||
| 1270 | - | // Returns a pointer to the serialized form of a #GVariant instance. | |||
| 1271 | - | // The returned data may not be in fully-normalised form if read from an | |||
| 1272 | - | // untrusted source. The returned data must not be freed; it remains | |||
| 1273 | - | // valid for as long as @value exists. | |||
| 1274 | - | // | |||
| 1275 | - | // If @value is a fixed-sized value that was deserialized from a | |||
| 1276 | - | // corrupted serialized container then %NULL may be returned. In this | |||
| 1277 | - | // case, the proper thing to do is typically to use the appropriate | |||
| 1278 | - | // number of nul bytes in place of @value. If @value is not fixed-sized | |||
| 1279 | - | // then %NULL is never returned. | |||
| 1280 | - | // | |||
| 1281 | - | // In the case that @value is already in serialized form, this function | |||
| 1282 | - | // is O(1). If the value is not already in serialized form, | |||
| 1283 | - | // serialization occurs implicitly and is approximately O(n) in the size | |||
| 1284 | - | // of the result. | |||
| 1285 | - | // | |||
| 1286 | - | // To deserialize the data returned by this function, in addition to the | |||
| 1287 | - | // serialized data, you must know the type of the #GVariant, and (if the | |||
| 1288 | - | // machine might be different) the endianness of the machine that stored | |||
| 1289 | - | // it. As a result, file formats or network messages that incorporate | |||
| 1290 | - | // serialized #GVariants must include this information either | |||
| 1291 | - | // implicitly (for instance "the file always contains a | |||
| 1292 | - | // %G_VARIANT_TYPE_VARIANT and it is always in little-endian order") or | |||
| 1293 | - | // explicitly (by storing the type and/or endianness in addition to the | |||
| 1294 | - | // serialized data). | |||
| 1295 | - | func (x *Variant) GetData() uintptr { | |||
| 1296 | - | core.LazyRegister(&xVariantGetData, "GLIB", "g_variant_get_data", false) | |||
| 1297 | - | ||||
| 1298 | - | cret := xVariantGetData(x.GoPointer()) | |||
| 1299 | - | return cret | |||
| 1300 | - | } | |||
| 1301 | - | ||||
| 1302 | - | var xVariantGetDataAsBytes func(uintptr) uintptr | |||
| 1303 | - | ||||
| 1304 | - | // Returns a pointer to the serialized form of a #GVariant instance. | |||
| 1305 | - | // The semantics of this function are exactly the same as | |||
| 1306 | - | // g_variant_get_data(), except that the returned #GBytes holds | |||
| 1307 | - | // a reference to the variant data. | |||
| 1308 | - | func (x *Variant) GetDataAsBytes() *Bytes { | |||
| 1309 | - | core.LazyRegister(&xVariantGetDataAsBytes, "GLIB", "g_variant_get_data_as_bytes", false) | |||
| 1310 | - | ||||
| 1311 | - | cret := xVariantGetDataAsBytes(x.GoPointer()) | |||
| 1312 | - | if cret == 0 { | |||
| 1313 | - | return nil | |||
| 1314 | - | } | |||
| 1315 | - | return (*Bytes)(unsafe.Pointer(cret)) | |||
| 1316 | - | } | |||
| 1317 | - | ||||
| 1318 | - | var xVariantGetDouble func(uintptr) float64 | |||
| 1319 | - | ||||
| 1320 | - | // Returns the double precision floating point value of @value. | |||
| 1321 | - | // | |||
| 1322 | - | // It is an error to call this function with a @value of any type | |||
| 1323 | - | // other than %G_VARIANT_TYPE_DOUBLE. | |||
| 1324 | - | func (x *Variant) GetDouble() float64 { | |||
| 1325 | - | core.LazyRegister(&xVariantGetDouble, "GLIB", "g_variant_get_double", false) | |||
| 1326 | - | ||||
| 1327 | - | cret := xVariantGetDouble(x.GoPointer()) | |||
| 1328 | - | return cret | |||
| 1329 | - | } | |||
| 1330 | - | ||||
| 1331 | - | var xVariantGetFixedArray func(uintptr, *uint, uint) uintptr | |||
| 1332 | - | ||||
| 1333 | - | // Provides access to the serialized data for an array of fixed-sized | |||
| 1334 | - | // items. | |||
| 1335 | - | // | |||
| 1336 | - | // @value must be an array with fixed-sized elements. Numeric types are | |||
| 1337 | - | // fixed-size, as are tuples containing only other fixed-sized types. | |||
| 1338 | - | // | |||
| 1339 | - | // @element_size must be the size of a single element in the array, | |||
| 1340 | - | // as given by the section on | |||
| 1341 | - | // [serialized data memory](struct.Variant.html#serialized-data-memory). | |||
| 1342 | - | // | |||
| 1343 | - | // In particular, arrays of these fixed-sized types can be interpreted | |||
| 1344 | - | // as an array of the given C type, with @element_size set to the size | |||
| 1345 | - | // the appropriate type: | |||
| 1346 | - | // - %G_VARIANT_TYPE_INT16 (etc.): #gint16 (etc.) | |||
| 1347 | - | // - %G_VARIANT_TYPE_BOOLEAN: #guchar (not #gboolean!) | |||
| 1348 | - | // - %G_VARIANT_TYPE_BYTE: #guint8 | |||
| 1349 | - | // - %G_VARIANT_TYPE_HANDLE: #guint32 | |||
| 1350 | - | // - %G_VARIANT_TYPE_DOUBLE: #gdouble | |||
| 1351 | - | // | |||
| 1352 | - | // For example, if calling this function for an array of 32-bit integers, | |||
| 1353 | - | // you might say `sizeof(gint32)`. This value isn't used except for the purpose | |||
| 1354 | - | // of a double-check that the form of the serialized data matches the caller's | |||
| 1355 | - | // expectation. | |||
| 1356 | - | // | |||
| 1357 | - | // @n_elements, which must be non-%NULL, is set equal to the number of | |||
| 1358 | - | // items in the array. | |||
| 1359 | - | func (x *Variant) GetFixedArray(NElementsVar *uint, ElementSizeVar uint) uintptr { | |||
| 1360 | - | core.LazyRegister(&xVariantGetFixedArray, "GLIB", "g_variant_get_fixed_array", false) | |||
| 1361 | - | ||||
| 1362 | - | cret := xVariantGetFixedArray(x.GoPointer(), NElementsVar, ElementSizeVar) | |||
| 1363 | - | return cret | |||
| 1364 | - | } | |||
| 1365 | - | ||||
| 1366 | - | var xVariantGetHandle func(uintptr) int32 | |||
| 1367 | - | ||||
| 1368 | - | // Returns the 32-bit signed integer value of @value. | |||
| 1369 | - | // | |||
| 1370 | - | // It is an error to call this function with a @value of any type other | |||
| 1371 | - | // than %G_VARIANT_TYPE_HANDLE. | |||
| 1372 | - | // | |||
| 1373 | - | // By convention, handles are indexes into an array of file descriptors | |||
| 1374 | - | // that are sent alongside a D-Bus message. If you're not interacting | |||
| 1375 | - | // with D-Bus, you probably don't need them. | |||
| 1376 | - | func (x *Variant) GetHandle() int32 { | |||
| 1377 | - | core.LazyRegister(&xVariantGetHandle, "GLIB", "g_variant_get_handle", false) | |||
| 1378 | - | ||||
| 1379 | - | cret := xVariantGetHandle(x.GoPointer()) | |||
| 1380 | - | return cret | |||
| 1381 | - | } | |||
| 1382 | - | ||||
| 1383 | - | var xVariantGetInt16 func(uintptr) int16 | |||
| 1384 | - | ||||
| 1385 | - | // Returns the 16-bit signed integer value of @value. | |||
| 1386 | - | // | |||
| 1387 | - | // It is an error to call this function with a @value of any type | |||
| 1388 | - | // other than %G_VARIANT_TYPE_INT16. | |||
| 1389 | - | func (x *Variant) GetInt16() int16 { | |||
| 1390 | - | core.LazyRegister(&xVariantGetInt16, "GLIB", "g_variant_get_int16", false) | |||
| 1391 | - | ||||
| 1392 | - | cret := xVariantGetInt16(x.GoPointer()) | |||
| 1393 | - | return cret | |||
| 1394 | - | } | |||
| 1395 | - | ||||
| 1396 | - | var xVariantGetInt32 func(uintptr) int32 | |||
| 1397 | - | ||||
| 1398 | - | // Returns the 32-bit signed integer value of @value. | |||
| 1399 | - | // | |||
| 1400 | - | // It is an error to call this function with a @value of any type | |||
| 1401 | - | // other than %G_VARIANT_TYPE_INT32. | |||
| 1402 | - | func (x *Variant) GetInt32() int32 { | |||
| 1403 | - | core.LazyRegister(&xVariantGetInt32, "GLIB", "g_variant_get_int32", false) | |||
| 1404 | - | ||||
| 1405 | - | cret := xVariantGetInt32(x.GoPointer()) | |||
| 1406 | - | return cret | |||
| 1407 | - | } | |||
| 1408 | - | ||||
| 1409 | - | var xVariantGetInt64 func(uintptr) int64 | |||
| 1410 | - | ||||
| 1411 | - | // Returns the 64-bit signed integer value of @value. | |||
| 1412 | - | // | |||
| 1413 | - | // It is an error to call this function with a @value of any type | |||
| 1414 | - | // other than %G_VARIANT_TYPE_INT64. | |||
| 1415 | - | func (x *Variant) GetInt64() int64 { | |||
| 1416 | - | core.LazyRegister(&xVariantGetInt64, "GLIB", "g_variant_get_int64", false) | |||
| 1417 | - | ||||
| 1418 | - | cret := xVariantGetInt64(x.GoPointer()) | |||
| 1419 | - | return cret | |||
| 1420 | - | } | |||
| 1421 | - | ||||
| 1422 | - | var xVariantGetMaybe func(uintptr) uintptr | |||
| 1423 | - | ||||
| 1424 | - | // Given a maybe-typed #GVariant instance, extract its value. If the | |||
| 1425 | - | // value is Nothing, then this function returns %NULL. | |||
| 1426 | - | func (x *Variant) GetMaybe() *Variant { | |||
| 1427 | - | core.LazyRegister(&xVariantGetMaybe, "GLIB", "g_variant_get_maybe", false) | |||
| 1428 | - | ||||
| 1429 | - | cret := xVariantGetMaybe(x.GoPointer()) | |||
| 1430 | - | if cret == 0 { | |||
| 1431 | - | return nil | |||
| 1432 | - | } | |||
| 1433 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1434 | - | } | |||
| 1435 | - | ||||
| 1436 | - | var xVariantGetNormalForm func(uintptr) uintptr | |||
| 1437 | - | ||||
| 1438 | - | // Gets a #GVariant instance that has the same value as @value and is | |||
| 1439 | - | // trusted to be in normal form. | |||
| 1440 | - | // | |||
| 1441 | - | // If @value is already trusted to be in normal form then a new | |||
| 1442 | - | // reference to @value is returned. | |||
| 1443 | - | // | |||
| 1444 | - | // If @value is not already trusted, then it is scanned to check if it | |||
| 1445 | - | // is in normal form. If it is found to be in normal form then it is | |||
| 1446 | - | // marked as trusted and a new reference to it is returned. | |||
| 1447 | - | // | |||
| 1448 | - | // If @value is found not to be in normal form then a new trusted | |||
| 1449 | - | // #GVariant is created with the same value as @value. The non-normal parts of | |||
| 1450 | - | // @value will be replaced with default values which are guaranteed to be in | |||
| 1451 | - | // normal form. | |||
| 1452 | - | // | |||
| 1453 | - | // It makes sense to call this function if you've received #GVariant | |||
| 1454 | - | // data from untrusted sources and you want to ensure your serialized | |||
| 1455 | - | // output is definitely in normal form. | |||
| 1456 | - | // | |||
| 1457 | - | // If @value is already in normal form, a new reference will be returned | |||
| 1458 | - | // (which will be floating if @value is floating). If it is not in normal form, | |||
| 1459 | - | // the newly created #GVariant will be returned with a single non-floating | |||
| 1460 | - | // reference. Typically, g_variant_take_ref() should be called on the return | |||
| 1461 | - | // value from this function to guarantee ownership of a single non-floating | |||
| 1462 | - | // reference to it. | |||
| 1463 | - | func (x *Variant) GetNormalForm() *Variant { | |||
| 1464 | - | core.LazyRegister(&xVariantGetNormalForm, "GLIB", "g_variant_get_normal_form", false) | |||
| 1465 | - | ||||
| 1466 | - | cret := xVariantGetNormalForm(x.GoPointer()) | |||
| 1467 | - | if cret == 0 { | |||
| 1468 | - | return nil | |||
| 1469 | - | } | |||
| 1470 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1471 | - | } | |||
| 1472 | - | ||||
| 1473 | - | var xVariantGetObjv func(uintptr, *uint) []string | |||
| 1474 | - | ||||
| 1475 | - | // Gets the contents of an array of object paths #GVariant. This call | |||
| 1476 | - | // makes a shallow copy; the return result should be released with | |||
| 1477 | - | // g_free(), but the individual strings must not be modified. | |||
| 1478 | - | // | |||
| 1479 | - | // If @length is non-%NULL then the number of elements in the result | |||
| 1480 | - | // is stored there. In any case, the resulting array will be | |||
| 1481 | - | // %NULL-terminated. | |||
| 1482 | - | // | |||
| 1483 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1484 | - | // %NULL pointer will be returned. | |||
| 1485 | - | func (x *Variant) GetObjv(LengthVar *uint) []string { | |||
| 1486 | - | core.LazyRegister(&xVariantGetObjv, "GLIB", "g_variant_get_objv", false) | |||
| 1487 | - | ||||
| 1488 | - | cret := xVariantGetObjv(x.GoPointer(), LengthVar) | |||
| 1489 | - | return cret | |||
| 1490 | - | } | |||
| 1491 | - | ||||
| 1492 | - | var xVariantGetSize func(uintptr) uint | |||
| 1493 | - | ||||
| 1494 | - | // Determines the number of bytes that would be required to store @value | |||
| 1495 | - | // with g_variant_store(). | |||
| 1496 | - | // | |||
| 1497 | - | // If @value has a fixed-sized type then this function always returned | |||
| 1498 | - | // that fixed size. | |||
| 1499 | - | // | |||
| 1500 | - | // In the case that @value is already in serialized form or the size has | |||
| 1501 | - | // already been calculated (ie: this function has been called before) | |||
| 1502 | - | // then this function is O(1). Otherwise, the size is calculated, an | |||
| 1503 | - | // operation which is approximately O(n) in the number of values | |||
| 1504 | - | // involved. | |||
| 1505 | - | func (x *Variant) GetSize() uint { | |||
| 1506 | - | core.LazyRegister(&xVariantGetSize, "GLIB", "g_variant_get_size", false) | |||
| 1507 | - | ||||
| 1508 | - | cret := xVariantGetSize(x.GoPointer()) | |||
| 1509 | - | return cret | |||
| 1510 | - | } | |||
| 1511 | - | ||||
| 1512 | - | var xVariantGetString func(uintptr, *uint) string | |||
| 1513 | - | ||||
| 1514 | - | // Returns the string value of a #GVariant instance with a string | |||
| 1515 | - | // type. This includes the types %G_VARIANT_TYPE_STRING, | |||
| 1516 | - | // %G_VARIANT_TYPE_OBJECT_PATH and %G_VARIANT_TYPE_SIGNATURE. | |||
| 1517 | - | // | |||
| 1518 | - | // The string will always be UTF-8 encoded, will never be %NULL, and will never | |||
| 1519 | - | // contain nul bytes. | |||
| 1520 | - | // | |||
| 1521 | - | // If @length is non-%NULL then the length of the string (in bytes) is | |||
| 1522 | - | // returned there. For trusted values, this information is already | |||
| 1523 | - | // known. Untrusted values will be validated and, if valid, a strlen() will be | |||
| 1524 | - | // performed. If invalid, a default value will be returned — for | |||
| 1525 | - | // %G_VARIANT_TYPE_OBJECT_PATH, this is `"/"`, and for other types it is the | |||
| 1526 | - | // empty string. | |||
| 1527 | - | // | |||
| 1528 | - | // It is an error to call this function with a @value of any type | |||
| 1529 | - | // other than those three. | |||
| 1530 | - | // | |||
| 1531 | - | // The return value remains valid as long as @value exists. | |||
| 1532 | - | func (x *Variant) GetString(LengthVar *uint) string { | |||
| 1533 | - | core.LazyRegister(&xVariantGetString, "GLIB", "g_variant_get_string", false) | |||
| 1534 | - | ||||
| 1535 | - | cret := xVariantGetString(x.GoPointer(), LengthVar) | |||
| 1536 | - | return cret | |||
| 1537 | - | } | |||
| 1538 | - | ||||
| 1539 | - | var xVariantGetStrv func(uintptr, *uint) []string | |||
| 1540 | - | ||||
| 1541 | - | // Gets the contents of an array of strings #GVariant. This call | |||
| 1542 | - | // makes a shallow copy; the return result should be released with | |||
| 1543 | - | // g_free(), but the individual strings must not be modified. | |||
| 1544 | - | // | |||
| 1545 | - | // If @length is non-%NULL then the number of elements in the result | |||
| 1546 | - | // is stored there. In any case, the resulting array will be | |||
| 1547 | - | // %NULL-terminated. | |||
| 1548 | - | // | |||
| 1549 | - | // For an empty array, @length will be set to 0 and a pointer to a | |||
| 1550 | - | // %NULL pointer will be returned. | |||
| 1551 | - | func (x *Variant) GetStrv(LengthVar *uint) []string { | |||
| 1552 | - | core.LazyRegister(&xVariantGetStrv, "GLIB", "g_variant_get_strv", false) | |||
| 1553 | - | ||||
| 1554 | - | cret := xVariantGetStrv(x.GoPointer(), LengthVar) | |||
| 1555 | - | return cret | |||
| 1556 | - | } | |||
| 1557 | - | ||||
| 1558 | - | var xVariantGetType func(uintptr) uintptr | |||
| 1559 | - | ||||
| 1560 | - | // Determines the type of @value. | |||
| 1561 | - | // | |||
| 1562 | - | // The return value is valid for the lifetime of @value and must not | |||
| 1563 | - | // be freed. | |||
| 1564 | - | func (x *Variant) GetType() *VariantType { | |||
| 1565 | - | core.LazyRegister(&xVariantGetType, "GLIB", "g_variant_get_type", false) | |||
| 1566 | - | ||||
| 1567 | - | cret := xVariantGetType(x.GoPointer()) | |||
| 1568 | - | if cret == 0 { | |||
| 1569 | - | return nil | |||
| 1570 | - | } | |||
| 1571 | - | return (*VariantType)(unsafe.Pointer(cret)) | |||
| 1572 | - | } | |||
| 1573 | - | ||||
| 1574 | - | var xVariantGetTypeString func(uintptr) string | |||
| 1575 | - | ||||
| 1576 | - | // Returns the type string of @value. Unlike the result of calling | |||
| 1577 | - | // g_variant_type_peek_string(), this string is nul-terminated. This | |||
| 1578 | - | // string belongs to #GVariant and must not be freed. | |||
| 1579 | - | func (x *Variant) GetTypeString() string { | |||
| 1580 | - | core.LazyRegister(&xVariantGetTypeString, "GLIB", "g_variant_get_type_string", false) | |||
| 1581 | - | ||||
| 1582 | - | cret := xVariantGetTypeString(x.GoPointer()) | |||
| 1583 | - | return cret | |||
| 1584 | - | } | |||
| 1585 | - | ||||
| 1586 | - | var xVariantGetUint16 func(uintptr) uint16 | |||
| 1587 | - | ||||
| 1588 | - | // Returns the 16-bit unsigned integer value of @value. | |||
| 1589 | - | // | |||
| 1590 | - | // It is an error to call this function with a @value of any type | |||
| 1591 | - | // other than %G_VARIANT_TYPE_UINT16. | |||
| 1592 | - | func (x *Variant) GetUint16() uint16 { | |||
| 1593 | - | core.LazyRegister(&xVariantGetUint16, "GLIB", "g_variant_get_uint16", false) | |||
| 1594 | - | ||||
| 1595 | - | cret := xVariantGetUint16(x.GoPointer()) | |||
| 1596 | - | return cret | |||
| 1597 | - | } | |||
| 1598 | - | ||||
| 1599 | - | var xVariantGetUint32 func(uintptr) uint32 | |||
| 1600 | - | ||||
| 1601 | - | // Returns the 32-bit unsigned integer value of @value. | |||
| 1602 | - | // | |||
| 1603 | - | // It is an error to call this function with a @value of any type | |||
| 1604 | - | // other than %G_VARIANT_TYPE_UINT32. | |||
| 1605 | - | func (x *Variant) GetUint32() uint32 { | |||
| 1606 | - | core.LazyRegister(&xVariantGetUint32, "GLIB", "g_variant_get_uint32", false) | |||
| 1607 | - | ||||
| 1608 | - | cret := xVariantGetUint32(x.GoPointer()) | |||
| 1609 | - | return cret | |||
| 1610 | - | } | |||
| 1611 | - | ||||
| 1612 | - | var xVariantGetUint64 func(uintptr) uint64 | |||
| 1613 | - | ||||
| 1614 | - | // Returns the 64-bit unsigned integer value of @value. | |||
| 1615 | - | // | |||
| 1616 | - | // It is an error to call this function with a @value of any type | |||
| 1617 | - | // other than %G_VARIANT_TYPE_UINT64. | |||
| 1618 | - | func (x *Variant) GetUint64() uint64 { | |||
| 1619 | - | core.LazyRegister(&xVariantGetUint64, "GLIB", "g_variant_get_uint64", false) | |||
| 1620 | - | ||||
| 1621 | - | cret := xVariantGetUint64(x.GoPointer()) | |||
| 1622 | - | return cret | |||
| 1623 | - | } | |||
| 1624 | - | ||||
| 1625 | - | var xVariantGetVa func(uintptr, string, uintptr, []interface{}) | |||
| 1626 | - | ||||
| 1627 | - | // This function is intended to be used by libraries based on #GVariant | |||
| 1628 | - | // that want to provide g_variant_get()-like functionality to their | |||
| 1629 | - | // users. | |||
| 1630 | - | // | |||
| 1631 | - | // The API is more general than g_variant_get() to allow a wider range | |||
| 1632 | - | // of possible uses. | |||
| 1633 | - | // | |||
| 1634 | - | // @format_string must still point to a valid format string, but it only | |||
| 1635 | - | // need to be nul-terminated if @endptr is %NULL. If @endptr is | |||
| 1636 | - | // non-%NULL then it is updated to point to the first character past the | |||
| 1637 | - | // end of the format string. | |||
| 1638 | - | // | |||
| 1639 | - | // @app is a pointer to a #va_list. The arguments, according to | |||
| 1640 | - | // @format_string, are collected from this #va_list and the list is left | |||
| 1641 | - | // pointing to the argument following the last. | |||
| 1642 | - | // | |||
| 1643 | - | // These two generalisations allow mixing of multiple calls to | |||
| 1644 | - | // g_variant_new_va() and g_variant_get_va() within a single actual | |||
| 1645 | - | // varargs call by the user. | |||
| 1646 | - | // | |||
| 1647 | - | // @format_string determines the C types that are used for unpacking | |||
| 1648 | - | // the values and also determines if the values are copied or borrowed, | |||
| 1649 | - | // see the section on | |||
| 1650 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 1651 | - | func (x *Variant) GetVa(FormatStringVar string, EndptrVar *string, AppVar []interface{}) { | |||
| 1652 | - | core.LazyRegister(&xVariantGetVa, "GLIB", "g_variant_get_va", false) | |||
| 1653 | - | ||||
| 1654 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |||
| 1655 | - | defer core.GFreeNullable(EndptrVarPtr) | |||
| 1656 | - | ||||
| 1657 | - | xVariantGetVa(x.GoPointer(), FormatStringVar, EndptrVarPtr, AppVar) | |||
| 1658 | - | } | |||
| 1659 | - | ||||
| 1660 | - | var xVariantGetVariant func(uintptr) uintptr | |||
| 1661 | - | ||||
| 1662 | - | // Unboxes @value. The result is the #GVariant instance that was | |||
| 1663 | - | // contained in @value. | |||
| 1664 | - | func (x *Variant) GetVariant() *Variant { | |||
| 1665 | - | core.LazyRegister(&xVariantGetVariant, "GLIB", "g_variant_get_variant", false) | |||
| 1666 | - | ||||
| 1667 | - | cret := xVariantGetVariant(x.GoPointer()) | |||
| 1668 | - | if cret == 0 { | |||
| 1669 | - | return nil | |||
| 1670 | - | } | |||
| 1671 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1672 | - | } | |||
| 1673 | - | ||||
| 1674 | - | var xVariantHash func(uintptr) uint | |||
| 1675 | - | ||||
| 1676 | - | // Generates a hash value for a #GVariant instance. | |||
| 1677 | - | // | |||
| 1678 | - | // The output of this function is guaranteed to be the same for a given | |||
| 1679 | - | // value only per-process. It may change between different processor | |||
| 1680 | - | // architectures or even different versions of GLib. Do not use this | |||
| 1681 | - | // function as a basis for building protocols or file formats. | |||
| 1682 | - | // | |||
| 1683 | - | // The type of @value is #gconstpointer only to allow use of this | |||
| 1684 | - | // function with #GHashTable. @value must be a #GVariant. | |||
| 1685 | - | func (x *Variant) Hash() uint { | |||
| 1686 | - | core.LazyRegister(&xVariantHash, "GLIB", "g_variant_hash", false) | |||
| 1687 | - | ||||
| 1688 | - | cret := xVariantHash(x.GoPointer()) | |||
| 1689 | - | return cret | |||
| 1690 | - | } | |||
| 1691 | - | ||||
| 1692 | - | var xVariantIsContainer func(uintptr) bool | |||
| 1693 | - | ||||
| 1694 | - | // Checks if @value is a container. | |||
| 1695 | - | func (x *Variant) IsContainer() bool { | |||
| 1696 | - | core.LazyRegister(&xVariantIsContainer, "GLIB", "g_variant_is_container", false) | |||
| 1697 | - | ||||
| 1698 | - | cret := xVariantIsContainer(x.GoPointer()) | |||
| 1699 | - | return cret | |||
| 1700 | - | } | |||
| 1701 | - | ||||
| 1702 | - | var xVariantIsFloating func(uintptr) bool | |||
| 1703 | - | ||||
| 1704 | - | // Checks whether @value has a floating reference count. | |||
| 1705 | - | // | |||
| 1706 | - | // This function should only ever be used to assert that a given variant | |||
| 1707 | - | // is or is not floating, or for debug purposes. To acquire a reference | |||
| 1708 | - | // to a variant that might be floating, always use g_variant_ref_sink() | |||
| 1709 | - | // or g_variant_take_ref(). | |||
| 1710 | - | // | |||
| 1711 | - | // See g_variant_ref_sink() for more information about floating reference | |||
| 1712 | - | // counts. | |||
| 1713 | - | func (x *Variant) IsFloating() bool { | |||
| 1714 | - | core.LazyRegister(&xVariantIsFloating, "GLIB", "g_variant_is_floating", false) | |||
| 1715 | - | ||||
| 1716 | - | cret := xVariantIsFloating(x.GoPointer()) | |||
| 1717 | - | return cret | |||
| 1718 | - | } | |||
| 1719 | - | ||||
| 1720 | - | var xVariantIsNormalForm func(uintptr) bool | |||
| 1721 | - | ||||
| 1722 | - | // Checks if @value is in normal form. | |||
| 1723 | - | // | |||
| 1724 | - | // The main reason to do this is to detect if a given chunk of | |||
| 1725 | - | // serialized data is in normal form: load the data into a #GVariant | |||
| 1726 | - | // using g_variant_new_from_data() and then use this function to | |||
| 1727 | - | // check. | |||
| 1728 | - | // | |||
| 1729 | - | // If @value is found to be in normal form then it will be marked as | |||
| 1730 | - | // being trusted. If the value was already marked as being trusted then | |||
| 1731 | - | // this function will immediately return %TRUE. | |||
| 1732 | - | // | |||
| 1733 | - | // There may be implementation specific restrictions on deeply nested values. | |||
| 1734 | - | // GVariant is guaranteed to handle nesting up to at least 64 levels. | |||
| 1735 | - | func (x *Variant) IsNormalForm() bool { | |||
| 1736 | - | core.LazyRegister(&xVariantIsNormalForm, "GLIB", "g_variant_is_normal_form", false) | |||
| 1737 | - | ||||
| 1738 | - | cret := xVariantIsNormalForm(x.GoPointer()) | |||
| 1739 | - | return cret | |||
| 1740 | - | } | |||
| 1741 | - | ||||
| 1742 | - | var xVariantIsOfType func(uintptr, *VariantType) bool | |||
| 1743 | - | ||||
| 1744 | - | // Checks if a value has a type matching the provided type. | |||
| 1745 | - | func (x *Variant) IsOfType(TypeVar *VariantType) bool { | |||
| 1746 | - | core.LazyRegister(&xVariantIsOfType, "GLIB", "g_variant_is_of_type", false) | |||
| 1747 | - | ||||
| 1748 | - | cret := xVariantIsOfType(x.GoPointer(), TypeVar) | |||
| 1749 | - | return cret | |||
| 1750 | - | } | |||
| 1751 | - | ||||
| 1752 | - | var xVariantIterNew func(uintptr) uintptr | |||
| 1753 | - | ||||
| 1754 | - | // Creates a heap-allocated #GVariantIter for iterating over the items | |||
| 1755 | - | // in @value. | |||
| 1756 | - | // | |||
| 1757 | - | // Use g_variant_iter_free() to free the return value when you no longer | |||
| 1758 | - | // need it. | |||
| 1759 | - | // | |||
| 1760 | - | // A reference is taken to @value and will be released only when | |||
| 1761 | - | // g_variant_iter_free() is called. | |||
| 1762 | - | func (x *Variant) IterNew() *VariantIter { | |||
| 1763 | - | core.LazyRegister(&xVariantIterNew, "GLIB", "g_variant_iter_new", false) | |||
| 1764 | - | ||||
| 1765 | - | cret := xVariantIterNew(x.GoPointer()) | |||
| 1766 | - | if cret == 0 { | |||
| 1767 | - | return nil | |||
| 1768 | - | } | |||
| 1769 | - | return (*VariantIter)(unsafe.Pointer(cret)) | |||
| 1770 | - | } | |||
| 1771 | - | ||||
| 1772 | - | var xVariantLookup func(uintptr, string, string, ...interface{}) bool | |||
| 1773 | - | ||||
| 1774 | - | // Looks up a value in a dictionary #GVariant. | |||
| 1775 | - | // | |||
| 1776 | - | // This function is a wrapper around g_variant_lookup_value() and | |||
| 1777 | - | // g_variant_get(). In the case that %NULL would have been returned, | |||
| 1778 | - | // this function returns %FALSE. Otherwise, it unpacks the returned | |||
| 1779 | - | // value and returns %TRUE. | |||
| 1780 | - | // | |||
| 1781 | - | // @format_string determines the C types that are used for unpacking | |||
| 1782 | - | // the values and also determines if the values are copied or borrowed, | |||
| 1783 | - | // see the section on | |||
| 1784 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 1785 | - | // | |||
| 1786 | - | // This function is currently implemented with a linear scan. If you | |||
| 1787 | - | // plan to do many lookups then #GVariantDict may be more efficient. | |||
| 1788 | - | func (x *Variant) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool { | |||
| 1789 | - | core.LazyRegister(&xVariantLookup, "GLIB", "g_variant_lookup", false) | |||
| 1790 | - | ||||
| 1791 | - | cret := xVariantLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |||
| 1792 | - | return cret | |||
| 1793 | - | } | |||
| 1794 | - | ||||
| 1795 | - | var xVariantLookupValue func(uintptr, string, *VariantType) uintptr | |||
| 1796 | - | ||||
| 1797 | - | // Looks up a value in a dictionary #GVariant. | |||
| 1798 | - | // | |||
| 1799 | - | // This function works with dictionaries of the type `a{s*}` (and equally | |||
| 1800 | - | // well with type `a{o*}`), but we only further discuss the string case | |||
| 1801 | - | // for sake of clarity). | |||
| 1802 | - | // | |||
| 1803 | - | // In the event that @dictionary has the type `a{sv}`, the @expected_type | |||
| 1804 | - | // string specifies what type of value is expected to be inside of the | |||
| 1805 | - | // variant. If the value inside the variant has a different type then | |||
| 1806 | - | // %NULL is returned. In the event that @dictionary has a value type other | |||
| 1807 | - | // than v then @expected_type must directly match the value type and it is | |||
| 1808 | - | // used to unpack the value directly or an error occurs. | |||
| 1809 | - | // | |||
| 1810 | - | // In either case, if @key is not found in @dictionary, %NULL is returned. | |||
| 1811 | - | // | |||
| 1812 | - | // If the key is found and the value has the correct type, it is | |||
| 1813 | - | // returned. If @expected_type was specified then any non-%NULL return | |||
| 1814 | - | // value will have this type. | |||
| 1815 | - | // | |||
| 1816 | - | // This function is currently implemented with a linear scan. If you | |||
| 1817 | - | // plan to do many lookups then [struct@VariantDict] may be more efficient. | |||
| 1818 | - | func (x *Variant) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant { | |||
| 1819 | - | core.LazyRegister(&xVariantLookupValue, "GLIB", "g_variant_lookup_value", false) | |||
| 1820 | - | ||||
| 1821 | - | cret := xVariantLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar) | |||
| 1822 | - | if cret == 0 { | |||
| 1823 | - | return nil | |||
| 1824 | - | } | |||
| 1825 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1826 | - | } | |||
| 1827 | - | ||||
| 1828 | - | var xVariantNChildren func(uintptr) uint | |||
| 1829 | - | ||||
| 1830 | - | // Determines the number of children in a container #GVariant instance. | |||
| 1831 | - | // This includes variants, maybes, arrays, tuples and dictionary | |||
| 1832 | - | // entries. It is an error to call this function on any other type of | |||
| 1833 | - | // #GVariant. | |||
| 1834 | - | // | |||
| 1835 | - | // For variants, the return value is always 1. For values with maybe | |||
| 1836 | - | // types, it is always zero or one. For arrays, it is the length of the | |||
| 1837 | - | // array. For tuples it is the number of tuple items (which depends | |||
| 1838 | - | // only on the type). For dictionary entries, it is always 2 | |||
| 1839 | - | // | |||
| 1840 | - | // This function is O(1). | |||
| 1841 | - | func (x *Variant) NChildren() uint { | |||
| 1842 | - | core.LazyRegister(&xVariantNChildren, "GLIB", "g_variant_n_children", false) | |||
| 1843 | - | ||||
| 1844 | - | cret := xVariantNChildren(x.GoPointer()) | |||
| 1845 | - | return cret | |||
| 1846 | - | } | |||
| 1847 | - | ||||
| 1848 | - | var xVariantPrint func(uintptr, bool) string | |||
| 1849 | - | ||||
| 1850 | - | // Pretty-prints @value in the format understood by g_variant_parse(). | |||
| 1851 | - | // | |||
| 1852 | - | // The format is described [here](gvariant-text-format.html). | |||
| 1853 | - | // | |||
| 1854 | - | // If @type_annotate is %TRUE, then type information is included in | |||
| 1855 | - | // the output. | |||
| 1856 | - | func (x *Variant) Print(TypeAnnotateVar bool) string { | |||
| 1857 | - | core.LazyRegister(&xVariantPrint, "GLIB", "g_variant_print", false) | |||
| 1858 | - | ||||
| 1859 | - | cret := xVariantPrint(x.GoPointer(), TypeAnnotateVar) | |||
| 1860 | - | return cret | |||
| 1861 | - | } | |||
| 1862 | - | ||||
| 1863 | - | var xVariantPrintString func(uintptr, *String, bool) uintptr | |||
| 1864 | - | ||||
| 1865 | - | // Behaves as g_variant_print(), but operates on a #GString. | |||
| 1866 | - | // | |||
| 1867 | - | // If @string is non-%NULL then it is appended to and returned. Else, | |||
| 1868 | - | // a new empty #GString is allocated and it is returned. | |||
| 1869 | - | func (x *Variant) PrintString(StringVar *String, TypeAnnotateVar bool) *String { | |||
| 1870 | - | core.LazyRegister(&xVariantPrintString, "GLIB", "g_variant_print_string", false) | |||
| 1871 | - | ||||
| 1872 | - | cret := xVariantPrintString(x.GoPointer(), StringVar, TypeAnnotateVar) | |||
| 1873 | - | if cret == 0 { | |||
| 1874 | - | return nil | |||
| 1875 | - | } | |||
| 1876 | - | return (*String)(unsafe.Pointer(cret)) | |||
| 1877 | - | } | |||
| 1878 | - | ||||
| 1879 | - | var xVariantRef func(uintptr) uintptr | |||
| 1880 | - | ||||
| 1881 | - | // Increases the reference count of @value. | |||
| 1882 | - | func (x *Variant) Ref() *Variant { | |||
| 1883 | - | core.LazyRegister(&xVariantRef, "GLIB", "g_variant_ref", false) | |||
| 1884 | - | ||||
| 1885 | - | cret := xVariantRef(x.GoPointer()) | |||
| 1886 | - | if cret == 0 { | |||
| 1887 | - | return nil | |||
| 1888 | - | } | |||
| 1889 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1890 | - | } | |||
| 1891 | - | ||||
| 1892 | - | var xVariantRefSink func(uintptr) uintptr | |||
| 1893 | - | ||||
| 1894 | - | // #GVariant uses a floating reference count system. All functions with | |||
| 1895 | - | // names starting with `g_variant_new_` return floating | |||
| 1896 | - | // references. | |||
| 1897 | - | // | |||
| 1898 | - | // Calling g_variant_ref_sink() on a #GVariant with a floating reference | |||
| 1899 | - | // will convert the floating reference into a full reference. Calling | |||
| 1900 | - | // g_variant_ref_sink() on a non-floating #GVariant results in an | |||
| 1901 | - | // additional normal reference being added. | |||
| 1902 | - | // | |||
| 1903 | - | // In other words, if the @value is floating, then this call "assumes | |||
| 1904 | - | // ownership" of the floating reference, converting it to a normal | |||
| 1905 | - | // reference. If the @value is not floating, then this call adds a | |||
| 1906 | - | // new normal reference increasing the reference count by one. | |||
| 1907 | - | // | |||
| 1908 | - | // All calls that result in a #GVariant instance being inserted into a | |||
| 1909 | - | // container will call g_variant_ref_sink() on the instance. This means | |||
| 1910 | - | // that if the value was just created (and has only its floating | |||
| 1911 | - | // reference) then the container will assume sole ownership of the value | |||
| 1912 | - | // at that point and the caller will not need to unreference it. This | |||
| 1913 | - | // makes certain common styles of programming much easier while still | |||
| 1914 | - | // maintaining normal refcounting semantics in situations where values | |||
| 1915 | - | // are not floating. | |||
| 1916 | - | func (x *Variant) RefSink() *Variant { | |||
| 1917 | - | core.LazyRegister(&xVariantRefSink, "GLIB", "g_variant_ref_sink", false) | |||
| 1918 | - | ||||
| 1919 | - | cret := xVariantRefSink(x.GoPointer()) | |||
| 1920 | - | if cret == 0 { | |||
| 1921 | - | return nil | |||
| 1922 | - | } | |||
| 1923 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1924 | - | } | |||
| 1925 | - | ||||
| 1926 | - | var xVariantStore func(uintptr, uintptr) | |||
| 1927 | - | ||||
| 1928 | - | // Stores the serialized form of @value at @data. @data should be | |||
| 1929 | - | // large enough. See g_variant_get_size(). | |||
| 1930 | - | // | |||
| 1931 | - | // The stored data is in machine native byte order but may not be in | |||
| 1932 | - | // fully-normalised form if read from an untrusted source. See | |||
| 1933 | - | // g_variant_get_normal_form() for a solution. | |||
| 1934 | - | // | |||
| 1935 | - | // As with g_variant_get_data(), to be able to deserialize the | |||
| 1936 | - | // serialized variant successfully, its type and (if the destination | |||
| 1937 | - | // machine might be different) its endianness must also be available. | |||
| 1938 | - | // | |||
| 1939 | - | // This function is approximately O(n) in the size of @data. | |||
| 1940 | - | func (x *Variant) Store(DataVar uintptr) { | |||
| 1941 | - | core.LazyRegister(&xVariantStore, "GLIB", "g_variant_store", false) | |||
| 1942 | - | ||||
| 1943 | - | xVariantStore(x.GoPointer(), DataVar) | |||
| 1944 | - | } | |||
| 1945 | - | ||||
| 1946 | - | var xVariantTakeRef func(uintptr) uintptr | |||
| 1947 | - | ||||
| 1948 | - | // If @value is floating, sink it. Otherwise, do nothing. | |||
| 1949 | - | // | |||
| 1950 | - | // Typically you want to use g_variant_ref_sink() in order to | |||
| 1951 | - | // automatically do the correct thing with respect to floating or | |||
| 1952 | - | // non-floating references, but there is one specific scenario where | |||
| 1953 | - | // this function is helpful. | |||
| 1954 | - | // | |||
| 1955 | - | // The situation where this function is helpful is when creating an API | |||
| 1956 | - | // that allows the user to provide a callback function that returns a | |||
| 1957 | - | // #GVariant. We certainly want to allow the user the flexibility to | |||
| 1958 | - | // return a non-floating reference from this callback (for the case | |||
| 1959 | - | // where the value that is being returned already exists). | |||
| 1960 | - | // | |||
| 1961 | - | // At the same time, the style of the #GVariant API makes it likely that | |||
| 1962 | - | // for newly-created #GVariant instances, the user can be saved some | |||
| 1963 | - | // typing if they are allowed to return a #GVariant with a floating | |||
| 1964 | - | // reference. | |||
| 1965 | - | // | |||
| 1966 | - | // Using this function on the return value of the user's callback allows | |||
| 1967 | - | // the user to do whichever is more convenient for them. The caller | |||
| 1968 | - | // will always receives exactly one full reference to the value: either | |||
| 1969 | - | // the one that was returned in the first place, or a floating reference | |||
| 1970 | - | // that has been converted to a full reference. | |||
| 1971 | - | // | |||
| 1972 | - | // This function has an odd interaction when combined with | |||
| 1973 | - | // g_variant_ref_sink() running at the same time in another thread on | |||
| 1974 | - | // the same #GVariant instance. If g_variant_ref_sink() runs first then | |||
| 1975 | - | // the result will be that the floating reference is converted to a hard | |||
| 1976 | - | // reference. If g_variant_take_ref() runs first then the result will | |||
| 1977 | - | // be that the floating reference is converted to a hard reference and | |||
| 1978 | - | // an additional reference on top of that one is added. It is best to | |||
| 1979 | - | // avoid this situation. | |||
| 1980 | - | func (x *Variant) TakeRef() *Variant { | |||
| 1981 | - | core.LazyRegister(&xVariantTakeRef, "GLIB", "g_variant_take_ref", false) | |||
| 1982 | - | ||||
| 1983 | - | cret := xVariantTakeRef(x.GoPointer()) | |||
| 1984 | - | if cret == 0 { | |||
| 1985 | - | return nil | |||
| 1986 | - | } | |||
| 1987 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 1988 | - | } | |||
| 1989 | - | ||||
| 1990 | - | var xVariantUnref func(uintptr) | |||
| 1991 | - | ||||
| 1992 | - | // Decreases the reference count of @value. When its reference count | |||
| 1993 | - | // drops to 0, the memory used by the variant is freed. | |||
| 1994 | - | func (x *Variant) Unref() { | |||
| 1995 | - | core.LazyRegister(&xVariantUnref, "GLIB", "g_variant_unref", false) | |||
| 1996 | - | ||||
| 1997 | - | xVariantUnref(x.GoPointer()) | |||
| 1998 | - | } | |||
| 1999 | - | ||||
| 2000 | - | // A utility type for constructing container-type #GVariant instances. | |||
| 2001 | - | // | |||
| 2002 | - | // This is an opaque structure and may only be accessed using the | |||
| 2003 | - | // following functions. | |||
| 2004 | - | // | |||
| 2005 | - | // #GVariantBuilder is not threadsafe in any way. Do not attempt to | |||
| 2006 | - | // access it from more than one thread. | |||
| 2007 | - | type VariantBuilder struct { | |||
| 2008 | - | _ structs.HostLayout | |||
| 2009 | - | } | |||
| 2010 | - | ||||
| 2011 | - | var xVariantBuilderGLibType func() types.GType | |||
| 2012 | - | ||||
| 2013 | - | func VariantBuilderGLibType() types.GType { | |||
| 2014 | - | core.LazyRegister(&xVariantBuilderGLibType, "GLIB", "g_variant_builder_get_type", false) | |||
| 2015 | - | return xVariantBuilderGLibType() | |||
| 2016 | - | } | |||
| 2017 | - | ||||
| 2018 | - | func (x *VariantBuilder) GoPointer() uintptr { | |||
| 2019 | - | return uintptr(unsafe.Pointer(x)) | |||
| 2020 | - | } | |||
| 2021 | - | ||||
| 2022 | - | func VariantBuilderNewFromInternalPtr(ptr uintptr) *VariantBuilder { | |||
| 2023 | - | if ptr == 0 { | |||
| 2024 | - | return nil | |||
| 2025 | - | } | |||
| 2026 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 2027 | - | return (*VariantBuilder)(rawPtr) | |||
| 2028 | - | } | |||
| 2029 | - | ||||
| 2030 | - | var xNewVariantBuilder func(*VariantType) uintptr | |||
| 2031 | - | ||||
| 2032 | - | // Allocates and initialises a new #GVariantBuilder. | |||
| 2033 | - | // | |||
| 2034 | - | // You should call g_variant_builder_unref() on the return value when it | |||
| 2035 | - | // is no longer needed. The memory will not be automatically freed by | |||
| 2036 | - | // any other call. | |||
| 2037 | - | // | |||
| 2038 | - | // In most cases it is easier to place a #GVariantBuilder directly on | |||
| 2039 | - | // the stack of the calling function and initialise it with | |||
| 2040 | - | // g_variant_builder_init_static(). | |||
| 2041 | - | func NewVariantBuilder(TypeVar *VariantType) *VariantBuilder { | |||
| 2042 | - | core.LazyRegister(&xNewVariantBuilder, "GLIB", "g_variant_builder_new", false) | |||
| 2043 | - | ||||
| 2044 | - | cret := xNewVariantBuilder(TypeVar) | |||
| 2045 | - | if cret == 0 { | |||
| 2046 | - | return nil | |||
| 2047 | - | } | |||
| 2048 | - | return (*VariantBuilder)(unsafe.Pointer(cret)) | |||
| 2049 | - | } | |||
| 2050 | - | ||||
| 2051 | - | var xVariantBuilderAdd func(uintptr, string, ...interface{}) | |||
| 2052 | - | ||||
| 2053 | - | // Adds to a #GVariantBuilder. | |||
| 2054 | - | // | |||
| 2055 | - | // This call is a convenience wrapper that is exactly equivalent to | |||
| 2056 | - | // calling g_variant_new() followed by g_variant_builder_add_value(). | |||
| 2057 | - | // | |||
| 2058 | - | // Note that the arguments must be of the correct width for their types | |||
| 2059 | - | // specified in @format_string. This can be achieved by casting them. See | |||
| 2060 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 2061 | - | // | |||
| 2062 | - | // This function might be used as follows: | |||
| 2063 | - | // | |||
| 2064 | - | // |[<!-- language="C" --> | |||
| 2065 | - | // GVariant * | |||
| 2066 | - | // make_pointless_dictionary (void) | |||
| 2067 | - | // | |||
| 2068 | - | // { | |||
| 2069 | - | // GVariantBuilder builder; | |||
| 2070 | - | // int i; | |||
| 2071 | - | // | |||
| 2072 | - | // g_variant_builder_init_static (&builder, G_VARIANT_TYPE_ARRAY); | |||
| 2073 | - | // for (i = 0; i < 16; i++) | |||
| 2074 | - | // { | |||
| 2075 | - | // gchar buf[3]; | |||
| 2076 | - | // | |||
| 2077 | - | // sprintf (buf, "%d", i); | |||
| 2078 | - | // g_variant_builder_add (&builder, "{is}", i, buf); | |||
| 2079 | - | // } | |||
| 2080 | - | // | |||
| 2081 | - | // return g_variant_builder_end (&builder); | |||
| 2082 | - | // } | |||
| 2083 | - | // | |||
| 2084 | - | // ]| | |||
| 2085 | - | func (x *VariantBuilder) Add(FormatStringVar string, varArgs ...interface{}) { | |||
| 2086 | - | core.LazyRegister(&xVariantBuilderAdd, "GLIB", "g_variant_builder_add", false) | |||
| 2087 | - | ||||
| 2088 | - | xVariantBuilderAdd(x.GoPointer(), FormatStringVar, varArgs...) | |||
| 2089 | - | } | |||
| 2090 | - | ||||
| 2091 | - | var xVariantBuilderAddParsed func(uintptr, string, ...interface{}) | |||
| 2092 | - | ||||
| 2093 | - | // Adds to a #GVariantBuilder. | |||
| 2094 | - | // | |||
| 2095 | - | // This call is a convenience wrapper that is exactly equivalent to | |||
| 2096 | - | // calling g_variant_new_parsed() followed by | |||
| 2097 | - | // g_variant_builder_add_value(). | |||
| 2098 | - | // | |||
| 2099 | - | // Note that the arguments must be of the correct width for their types | |||
| 2100 | - | // specified in @format_string. This can be achieved by casting them. See | |||
| 2101 | - | // the [GVariant varargs documentation](gvariant-format-strings.html#varargs). | |||
| 2102 | - | // | |||
| 2103 | - | // This function might be used as follows: | |||
| 2104 | - | // | |||
| 2105 | - | // |[<!-- language="C" --> | |||
| 2106 | - | // GVariant * | |||
| 2107 | - | // make_pointless_dictionary (void) | |||
| 2108 | - | // | |||
| 2109 | - | // { | |||
| 2110 | - | // GVariantBuilder builder; | |||
| 2111 | - | // int i; | |||
| 2112 | - | // | |||
| 2113 | - | // g_variant_builder_init_static (&builder, G_VARIANT_TYPE_ARRAY); | |||
| 2114 | - | // g_variant_builder_add_parsed (&builder, "{'width', <%i>}", 600); | |||
| 2115 | - | // g_variant_builder_add_parsed (&builder, "{'title', <%s>}", "foo"); | |||
| 2116 | - | // g_variant_builder_add_parsed (&builder, "{'transparency', <0.5>}"); | |||
| 2117 | - | // return g_variant_builder_end (&builder); | |||
| 2118 | - | // } | |||
| 2119 | - | // | |||
| 2120 | - | // ]| | |||
| 2121 | - | func (x *VariantBuilder) AddParsed(FormatVar string, varArgs ...interface{}) { | |||
| 2122 | - | core.LazyRegister(&xVariantBuilderAddParsed, "GLIB", "g_variant_builder_add_parsed", false) | |||
| 2123 | - | ||||
| 2124 | - | xVariantBuilderAddParsed(x.GoPointer(), FormatVar, varArgs...) | |||
| 2125 | - | } | |||
| 2126 | - | ||||
| 2127 | - | var xVariantBuilderAddValue func(uintptr, *Variant) | |||
| 2128 | - | ||||
| 2129 | - | // Adds @value to @builder. | |||
| 2130 | - | // | |||
| 2131 | - | // It is an error to call this function in any way that would create an | |||
| 2132 | - | // inconsistent value to be constructed. Some examples of this are | |||
| 2133 | - | // putting different types of items into an array, putting the wrong | |||
| 2134 | - | // types or number of items in a tuple, putting more than one value into | |||
| 2135 | - | // a variant, etc. | |||
| 2136 | - | // | |||
| 2137 | - | // If @value is a floating reference (see g_variant_ref_sink()), | |||
| 2138 | - | // the @builder instance takes ownership of @value. | |||
| 2139 | - | func (x *VariantBuilder) AddValue(ValueVar *Variant) { | |||
| 2140 | - | core.LazyRegister(&xVariantBuilderAddValue, "GLIB", "g_variant_builder_add_value", false) | |||
| 2141 | - | ||||
| 2142 | - | xVariantBuilderAddValue(x.GoPointer(), ValueVar) | |||
| 2143 | - | } | |||
| 2144 | - | ||||
| 2145 | - | var xVariantBuilderClear func(uintptr) | |||
| 2146 | - | ||||
| 2147 | - | // Releases all memory associated with a #GVariantBuilder without | |||
| 2148 | - | // freeing the #GVariantBuilder structure itself. | |||
| 2149 | - | // | |||
| 2150 | - | // It typically only makes sense to do this on a stack-allocated | |||
| 2151 | - | // #GVariantBuilder if you want to abort building the value part-way | |||
| 2152 | - | // through. This function need not be called if you call | |||
| 2153 | - | // g_variant_builder_end() and it also doesn't need to be called on | |||
| 2154 | - | // builders allocated with g_variant_builder_new() (see | |||
| 2155 | - | // g_variant_builder_unref() for that). | |||
| 2156 | - | // | |||
| 2157 | - | // This function leaves the #GVariantBuilder structure set to all-zeros. | |||
| 2158 | - | // It is valid to call this function on either an initialised | |||
| 2159 | - | // #GVariantBuilder or one that is set to all-zeros but it is not valid | |||
| 2160 | - | // to call this function on uninitialised memory. | |||
| 2161 | - | func (x *VariantBuilder) Clear() { | |||
| 2162 | - | core.LazyRegister(&xVariantBuilderClear, "GLIB", "g_variant_builder_clear", false) | |||
| 2163 | - | ||||
| 2164 | - | xVariantBuilderClear(x.GoPointer()) | |||
| 2165 | - | } | |||
| 2166 | - | ||||
| 2167 | - | var xVariantBuilderClose func(uintptr) | |||
| 2168 | - | ||||
| 2169 | - | // Closes the subcontainer inside the given @builder that was opened by | |||
| 2170 | - | // the most recent call to g_variant_builder_open(). | |||
| 2171 | - | // | |||
| 2172 | - | // It is an error to call this function in any way that would create an | |||
| 2173 | - | // inconsistent value to be constructed (ie: too few values added to the | |||
| 2174 | - | // subcontainer). | |||
| 2175 | - | func (x *VariantBuilder) Close() { | |||
| 2176 | - | core.LazyRegister(&xVariantBuilderClose, "GLIB", "g_variant_builder_close", false) | |||
| 2177 | - | ||||
| 2178 | - | xVariantBuilderClose(x.GoPointer()) | |||
| 2179 | - | } | |||
| 2180 | - | ||||
| 2181 | - | var xVariantBuilderEnd func(uintptr) uintptr | |||
| 2182 | - | ||||
| 2183 | - | // Ends the builder process and returns the constructed value. | |||
| 2184 | - | // | |||
| 2185 | - | // It is not permissible to use @builder in any way after this call | |||
| 2186 | - | // except for reference counting operations (in the case of a | |||
| 2187 | - | // heap-allocated #GVariantBuilder) or by reinitialising it with | |||
| 2188 | - | // g_variant_builder_init() (in the case of stack-allocated). This | |||
| 2189 | - | // means that for the stack-allocated builders there is no need to | |||
| 2190 | - | // call g_variant_builder_clear() after the call to | |||
| 2191 | - | // g_variant_builder_end(). | |||
| 2192 | - | // | |||
| 2193 | - | // It is an error to call this function in any way that would create an | |||
| 2194 | - | // inconsistent value to be constructed (ie: insufficient number of | |||
| 2195 | - | // items added to a container with a specific number of children | |||
| 2196 | - | // required). It is also an error to call this function if the builder | |||
| 2197 | - | // was created with an indefinite array or maybe type and no children | |||
| 2198 | - | // have been added; in this case it is impossible to infer the type of | |||
| 2199 | - | // the empty array. | |||
| 2200 | - | func (x *VariantBuilder) End() *Variant { | |||
| 2201 | - | core.LazyRegister(&xVariantBuilderEnd, "GLIB", "g_variant_builder_end", false) | |||
| 2202 | - | ||||
| 2203 | - | cret := xVariantBuilderEnd(x.GoPointer()) | |||
| 2204 | - | if cret == 0 { | |||
| 2205 | - | return nil | |||
| 2206 | - | } | |||
| 2207 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 2208 | - | } | |||
| 2209 | - | ||||
| 2210 | - | var xVariantBuilderInit func(uintptr, *VariantType) | |||
| 2211 | - | ||||
| 2212 | - | // Initialises a #GVariantBuilder structure. | |||
| 2213 | - | // | |||
| 2214 | - | // @type must be non-%NULL. It specifies the type of container to | |||
| 2215 | - | // construct. It can be an indefinite type such as | |||
| 2216 | - | // %G_VARIANT_TYPE_ARRAY or a definite type such as "as" or "(ii)". | |||
| 2217 | - | // Maybe, array, tuple, dictionary entry and variant-typed values may be | |||
| 2218 | - | // constructed. | |||
| 2219 | - | // | |||
| 2220 | - | // If using a static type such as one of the `G_VARIANT_TYPE_*` constants | |||
| 2221 | - | // or a `G_VARIANT_TYPE ("(ii)")` macro, it is more performant to use | |||
| 2222 | - | // g_variant_builder_init_static() rather than g_variant_builder_init(). | |||
| 2223 | - | // | |||
| 2224 | - | // After the builder is initialised, values are added using | |||
| 2225 | - | // g_variant_builder_add_value() or g_variant_builder_add(). | |||
| 2226 | - | // | |||
| 2227 | - | // After all the child values are added, g_variant_builder_end() frees | |||
| 2228 | - | // the memory associated with the builder and returns the #GVariant that | |||
| 2229 | - | // was created. | |||
| 2230 | - | // | |||
| 2231 | - | // This function completely ignores the previous contents of @builder. | |||
| 2232 | - | // On one hand this means that it is valid to pass in completely | |||
| 2233 | - | // uninitialised memory. On the other hand, this means that if you are | |||
| 2234 | - | // initialising over top of an existing #GVariantBuilder you need to | |||
| 2235 | - | // first call g_variant_builder_clear() in order to avoid leaking | |||
| 2236 | - | // memory. | |||
| 2237 | - | // | |||
| 2238 | - | // You must not call g_variant_builder_ref() or | |||
| 2239 | - | // g_variant_builder_unref() on a #GVariantBuilder that was initialised | |||
| 2240 | - | // with this function. If you ever pass a reference to a | |||
| 2241 | - | // #GVariantBuilder outside of the control of your own code then you | |||
| 2242 | - | // should assume that the person receiving that reference may try to use | |||
| 2243 | - | // reference counting; you should use g_variant_builder_new() instead of | |||
| 2244 | - | // this function. | |||
| 2245 | - | func (x *VariantBuilder) Init(TypeVar *VariantType) { | |||
| 2246 | - | core.LazyRegister(&xVariantBuilderInit, "GLIB", "g_variant_builder_init", false) | |||
| 2247 | - | ||||
| 2248 | - | xVariantBuilderInit(x.GoPointer(), TypeVar) | |||
| 2249 | - | } | |||
| 2250 | - | ||||
| 2251 | - | var xVariantBuilderInitStatic func(uintptr, *VariantType) | |||
| 2252 | - | ||||
| 2253 | - | // Initialises a #GVariantBuilder structure. | |||
| 2254 | - | // | |||
| 2255 | - | // This function works exactly like g_variant_builder_init() but does | |||
| 2256 | - | // not make a copy of @type. Therefore, @type must remain valid for the | |||
| 2257 | - | // lifetime of @builder. This is always true of type constants like | |||
| 2258 | - | // `G_VARIANT_TYPE_*` or `G_VARIANT_TYPE ("(ii)")`. | |||
| 2259 | - | func (x *VariantBuilder) InitStatic(TypeVar *VariantType) { | |||
| 2260 | - | core.LazyRegister(&xVariantBuilderInitStatic, "GLIB", "g_variant_builder_init_static", false) | |||
| 2261 | - | ||||
| 2262 | - | xVariantBuilderInitStatic(x.GoPointer(), TypeVar) | |||
| 2263 | - | } | |||
| 2264 | - | ||||
| 2265 | - | var xVariantBuilderOpen func(uintptr, *VariantType) | |||
| 2266 | - | ||||
| 2267 | - | // Opens a subcontainer inside the given @builder. When done adding | |||
| 2268 | - | // items to the subcontainer, g_variant_builder_close() must be called. @type | |||
| 2269 | - | // is the type of the container: so to build a tuple of several values, @type | |||
| 2270 | - | // must include the tuple itself. | |||
| 2271 | - | // | |||
| 2272 | - | // It is an error to call this function in any way that would cause an | |||
| 2273 | - | // inconsistent value to be constructed (ie: adding too many values or | |||
| 2274 | - | // a value of an incorrect type). | |||
| 2275 | - | // | |||
| 2276 | - | // Example of building a nested variant: | |||
| 2277 | - | // |[<!-- language="C" --> | |||
| 2278 | - | // GVariantBuilder builder; | |||
| 2279 | - | // guint32 some_number = get_number (); | |||
| 2280 | - | // g_autoptr (GHashTable) some_dict = get_dict (); | |||
| 2281 | - | // GHashTableIter iter; | |||
| 2282 | - | // const gchar *key; | |||
| 2283 | - | // const GVariant *value; | |||
| 2284 | - | // g_autoptr (GVariant) output = NULL; | |||
| 2285 | - | // | |||
| 2286 | - | // g_variant_builder_init (&builder, G_VARIANT_TYPE ("(ua{sv})")); | |||
| 2287 | - | // g_variant_builder_add (&builder, "u", some_number); | |||
| 2288 | - | // g_variant_builder_open (&builder, G_VARIANT_TYPE ("a{sv}")); | |||
| 2289 | - | // | |||
| 2290 | - | // g_hash_table_iter_init (&iter, some_dict); | |||
| 2291 | - | // while (g_hash_table_iter_next (&iter, (gpointer *) &key, (gpointer *) &value)) | |||
| 2292 | - | // | |||
| 2293 | - | // { | |||
| 2294 | - | // g_variant_builder_open (&builder, G_VARIANT_TYPE ("{sv}")); | |||
| 2295 | - | // g_variant_builder_add (&builder, "s", key); | |||
| 2296 | - | // g_variant_builder_add (&builder, "v", value); | |||
| 2297 | - | // g_variant_builder_close (&builder); | |||
| 2298 | - | // } | |||
| 2299 | - | // | |||
| 2300 | - | // g_variant_builder_close (&builder); | |||
| 2301 | - | // | |||
| 2302 | - | // output = g_variant_builder_end (&builder); | |||
| 2303 | - | // ]| | |||
| 2304 | - | func (x *VariantBuilder) Open(TypeVar *VariantType) { | |||
| 2305 | - | core.LazyRegister(&xVariantBuilderOpen, "GLIB", "g_variant_builder_open", false) | |||
| 2306 | - | ||||
| 2307 | - | xVariantBuilderOpen(x.GoPointer(), TypeVar) | |||
| 2308 | - | } | |||
| 2309 | - | ||||
| 2310 | - | var xVariantBuilderRef func(uintptr) uintptr | |||
| 2311 | - | ||||
| 2312 | - | // Increases the reference count on @builder. | |||
| 2313 | - | // | |||
| 2314 | - | // Don't call this on stack-allocated #GVariantBuilder instances or bad | |||
| 2315 | - | // things will happen. | |||
| 2316 | - | func (x *VariantBuilder) Ref() *VariantBuilder { | |||
| 2317 | - | core.LazyRegister(&xVariantBuilderRef, "GLIB", "g_variant_builder_ref", false) | |||
| 2318 | - | ||||
| 2319 | - | cret := xVariantBuilderRef(x.GoPointer()) | |||
| 2320 | - | if cret == 0 { | |||
| 2321 | - | return nil | |||
| 2322 | - | } | |||
| 2323 | - | return (*VariantBuilder)(unsafe.Pointer(cret)) | |||
| 2324 | - | } | |||
| 2325 | - | ||||
| 2326 | - | var xVariantBuilderUnref func(uintptr) | |||
| 2327 | - | ||||
| 2328 | - | // Decreases the reference count on @builder. | |||
| 2329 | - | // | |||
| 2330 | - | // In the event that there are no more references, releases all memory | |||
| 2331 | - | // associated with the #GVariantBuilder. | |||
| 2332 | - | // | |||
| 2333 | - | // Don't call this on stack-allocated #GVariantBuilder instances or bad | |||
| 2334 | - | // things will happen. | |||
| 2335 | - | func (x *VariantBuilder) Unref() { | |||
| 2336 | - | core.LazyRegister(&xVariantBuilderUnref, "GLIB", "g_variant_builder_unref", false) | |||
| 2337 | - | ||||
| 2338 | - | xVariantBuilderUnref(x.GoPointer()) | |||
| 2339 | - | } | |||
| 2340 | - | ||||
| 2341 | - | // #GVariantDict is a mutable interface to #GVariant dictionaries. | |||
| 2342 | - | // | |||
| 2343 | - | // It can be used for doing a sequence of dictionary lookups in an | |||
| 2344 | - | // efficient way on an existing #GVariant dictionary or it can be used | |||
| 2345 | - | // to construct new dictionaries with a hashtable-like interface. It | |||
| 2346 | - | // can also be used for taking existing dictionaries and modifying them | |||
| 2347 | - | // in order to create new ones. | |||
| 2348 | - | // | |||
| 2349 | - | // #GVariantDict can only be used with %G_VARIANT_TYPE_VARDICT | |||
| 2350 | - | // dictionaries. | |||
| 2351 | - | // | |||
| 2352 | - | // It is possible to use #GVariantDict allocated on the stack or on the | |||
| 2353 | - | // heap. When using a stack-allocated #GVariantDict, you begin with a | |||
| 2354 | - | // call to g_variant_dict_init() and free the resources with a call to | |||
| 2355 | - | // g_variant_dict_clear(). | |||
| 2356 | - | // | |||
| 2357 | - | // Heap-allocated #GVariantDict follows normal refcounting rules: you | |||
| 2358 | - | // allocate it with g_variant_dict_new() and use g_variant_dict_ref() | |||
| 2359 | - | // and g_variant_dict_unref(). | |||
| 2360 | - | // | |||
| 2361 | - | // g_variant_dict_end() is used to convert the #GVariantDict back into a | |||
| 2362 | - | // dictionary-type #GVariant. When used with stack-allocated instances, | |||
| 2363 | - | // this also implicitly frees all associated memory, but for | |||
| 2364 | - | // heap-allocated instances, you must still call g_variant_dict_unref() | |||
| 2365 | - | // afterwards. | |||
| 2366 | - | // | |||
| 2367 | - | // You will typically want to use a heap-allocated #GVariantDict when | |||
| 2368 | - | // you expose it as part of an API. For most other uses, the | |||
| 2369 | - | // stack-allocated form will be more convenient. | |||
| 2370 | - | // | |||
| 2371 | - | // Consider the following two examples that do the same thing in each | |||
| 2372 | - | // style: take an existing dictionary and look up the "count" uint32 | |||
| 2373 | - | // key, adding 1 to it if it is found, or returning an error if the | |||
| 2374 | - | // key is not found. Each returns the new dictionary as a floating | |||
| 2375 | - | // #GVariant. | |||
| 2376 | - | // | |||
| 2377 | - | // ## Using a stack-allocated GVariantDict | |||
| 2378 | - | // | |||
| 2379 | - | // |[<!-- language="C" --> | |||
| 2380 | - | // | |||
| 2381 | - | // GVariant * | |||
| 2382 | - | // add_to_count (GVariant *orig, | |||
| 2383 | - | // GError **error) | |||
| 2384 | - | // { | |||
| 2385 | - | // GVariantDict dict; | |||
| 2386 | - | // guint32 count; | |||
| 2387 | - | // | |||
| 2388 | - | // g_variant_dict_init (&dict, orig); | |||
| 2389 | - | // if (!g_variant_dict_lookup (&dict, "count", "u", &count)) | |||
| 2390 | - | // { | |||
| 2391 | - | // g_set_error (...); | |||
| 2392 | - | // g_variant_dict_clear (&dict); | |||
| 2393 | - | // return NULL; | |||
| 2394 | - | // } | |||
| 2395 | - | // | |||
| 2396 | - | // g_variant_dict_insert (&dict, "count", "u", count + 1); | |||
| 2397 | - | // | |||
| 2398 | - | // return g_variant_dict_end (&dict); | |||
| 2399 | - | // } | |||
| 2400 | - | // | |||
| 2401 | - | // ]| | |||
| 2402 | - | // | |||
| 2403 | - | // ## Using heap-allocated GVariantDict | |||
| 2404 | - | // | |||
| 2405 | - | // |[<!-- language="C" --> | |||
| 2406 | - | // | |||
| 2407 | - | // GVariant * | |||
| 2408 | - | // add_to_count (GVariant *orig, | |||
| 2409 | - | // GError **error) | |||
| 2410 | - | // { | |||
| 2411 | - | // GVariantDict *dict; | |||
| 2412 | - | // GVariant *result; | |||
| 2413 | - | // guint32 count; | |||
| 2414 | - | // | |||
| 2415 | - | // dict = g_variant_dict_new (orig); | |||
| 2416 | - | // | |||
| 2417 | - | // if (g_variant_dict_lookup (dict, "count", "u", &count)) | |||
| 2418 | - | // { | |||
| 2419 | - | // g_variant_dict_insert (dict, "count", "u", count + 1); | |||
| 2420 | - | // result = g_variant_dict_end (dict); | |||
| 2421 | - | // } | |||
| 2422 | - | // else | |||
| 2423 | - | // { | |||
| 2424 | - | // g_set_error (...); | |||
| 2425 | - | // result = NULL; | |||
| 2426 | - | // } | |||
| 2427 | - | // | |||
| 2428 | - | // g_variant_dict_unref (dict); | |||
| 2429 | - | // | |||
| 2430 | - | // return result; | |||
| 2431 | - | // } | |||
| 2432 | - | // | |||
| 2433 | - | // ]| | |||
| 2434 | - | type VariantDict struct { | |||
| 2435 | - | _ structs.HostLayout | |||
| 2436 | - | } | |||
| 2437 | - | ||||
| 2438 | - | var xVariantDictGLibType func() types.GType | |||
| 2439 | - | ||||
| 2440 | - | func VariantDictGLibType() types.GType { | |||
| 2441 | - | core.LazyRegister(&xVariantDictGLibType, "GLIB", "g_variant_dict_get_type", false) | |||
| 2442 | - | return xVariantDictGLibType() | |||
| 2443 | - | } | |||
| 2444 | - | ||||
| 2445 | - | func (x *VariantDict) GoPointer() uintptr { | |||
| 2446 | - | return uintptr(unsafe.Pointer(x)) | |||
| 2447 | - | } | |||
| 2448 | - | ||||
| 2449 | - | func VariantDictNewFromInternalPtr(ptr uintptr) *VariantDict { | |||
| 2450 | - | if ptr == 0 { | |||
| 2451 | - | return nil | |||
| 2452 | - | } | |||
| 2453 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 2454 | - | return (*VariantDict)(rawPtr) | |||
| 2455 | - | } | |||
| 2456 | - | ||||
| 2457 | - | var xNewVariantDict func(*Variant) uintptr | |||
| 2458 | - | ||||
| 2459 | - | // Allocates and initialises a new #GVariantDict. | |||
| 2460 | - | // | |||
| 2461 | - | // You should call g_variant_dict_unref() on the return value when it | |||
| 2462 | - | // is no longer needed. The memory will not be automatically freed by | |||
| 2463 | - | // any other call. | |||
| 2464 | - | // | |||
| 2465 | - | // In some cases it may be easier to place a #GVariantDict directly on | |||
| 2466 | - | // the stack of the calling function and initialise it with | |||
| 2467 | - | // g_variant_dict_init(). This is particularly useful when you are | |||
| 2468 | - | // using #GVariantDict to construct a #GVariant. | |||
| 2469 | - | func NewVariantDict(FromAsvVar *Variant) *VariantDict { | |||
| 2470 | - | core.LazyRegister(&xNewVariantDict, "GLIB", "g_variant_dict_new", false) | |||
| 2471 | - | ||||
| 2472 | - | cret := xNewVariantDict(FromAsvVar) | |||
| 2473 | - | if cret == 0 { | |||
| 2474 | - | return nil | |||
| 2475 | - | } | |||
| 2476 | - | return (*VariantDict)(unsafe.Pointer(cret)) | |||
| 2477 | - | } | |||
| 2478 | - | ||||
| 2479 | - | var xVariantDictClear func(uintptr) | |||
| 2480 | - | ||||
| 2481 | - | // Releases all memory associated with a #GVariantDict without freeing | |||
| 2482 | - | // the #GVariantDict structure itself. | |||
| 2483 | - | // | |||
| 2484 | - | // It typically only makes sense to do this on a stack-allocated | |||
| 2485 | - | // #GVariantDict if you want to abort building the value part-way | |||
| 2486 | - | // through. This function need not be called if you call | |||
| 2487 | - | // g_variant_dict_end() and it also doesn't need to be called on dicts | |||
| 2488 | - | // allocated with g_variant_dict_new (see g_variant_dict_unref() for | |||
| 2489 | - | // that). | |||
| 2490 | - | // | |||
| 2491 | - | // It is valid to call this function on either an initialised | |||
| 2492 | - | // #GVariantDict or one that was previously cleared by an earlier call | |||
| 2493 | - | // to g_variant_dict_clear() but it is not valid to call this function | |||
| 2494 | - | // on uninitialised memory. | |||
| 2495 | - | func (x *VariantDict) Clear() { | |||
| 2496 | - | core.LazyRegister(&xVariantDictClear, "GLIB", "g_variant_dict_clear", false) | |||
| 2497 | - | ||||
| 2498 | - | xVariantDictClear(x.GoPointer()) | |||
| 2499 | - | } | |||
| 2500 | - | ||||
| 2501 | - | var xVariantDictContains func(uintptr, string) bool | |||
| 2502 | - | ||||
| 2503 | - | // Checks if @key exists in @dict. | |||
| 2504 | - | func (x *VariantDict) Contains(KeyVar string) bool { | |||
| 2505 | - | core.LazyRegister(&xVariantDictContains, "GLIB", "g_variant_dict_contains", false) | |||
| 2506 | - | ||||
| 2507 | - | cret := xVariantDictContains(x.GoPointer(), KeyVar) | |||
| 2508 | - | return cret | |||
| 2509 | - | } | |||
| 2510 | - | ||||
| 2511 | - | var xVariantDictEnd func(uintptr) uintptr | |||
| 2512 | - | ||||
| 2513 | - | // Returns the current value of @dict as a #GVariant of type | |||
| 2514 | - | // %G_VARIANT_TYPE_VARDICT, clearing it in the process. | |||
| 2515 | - | // | |||
| 2516 | - | // It is not permissible to use @dict in any way after this call except | |||
| 2517 | - | // for reference counting operations (in the case of a heap-allocated | |||
| 2518 | - | // #GVariantDict) or by reinitialising it with g_variant_dict_init() (in | |||
| 2519 | - | // the case of stack-allocated). | |||
| 2520 | - | func (x *VariantDict) End() *Variant { | |||
| 2521 | - | core.LazyRegister(&xVariantDictEnd, "GLIB", "g_variant_dict_end", false) | |||
| 2522 | - | ||||
| 2523 | - | cret := xVariantDictEnd(x.GoPointer()) | |||
| 2524 | - | if cret == 0 { | |||
| 2525 | - | return nil | |||
| 2526 | - | } | |||
| 2527 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 2528 | - | } | |||
| 2529 | - | ||||
| 2530 | - | var xVariantDictInit func(uintptr, *Variant) | |||
| 2531 | - | ||||
| 2532 | - | // Initialises a #GVariantDict structure. | |||
| 2533 | - | // | |||
| 2534 | - | // If @from_asv is given, it is used to initialise the dictionary. | |||
| 2535 | - | // | |||
| 2536 | - | // This function completely ignores the previous contents of @dict. On | |||
| 2537 | - | // one hand this means that it is valid to pass in completely | |||
| 2538 | - | // uninitialised memory. On the other hand, this means that if you are | |||
| 2539 | - | // initialising over top of an existing #GVariantDict you need to first | |||
| 2540 | - | // call g_variant_dict_clear() in order to avoid leaking memory. | |||
| 2541 | - | // | |||
| 2542 | - | // You must not call g_variant_dict_ref() or g_variant_dict_unref() on a | |||
| 2543 | - | // #GVariantDict that was initialised with this function. If you ever | |||
| 2544 | - | // pass a reference to a #GVariantDict outside of the control of your | |||
| 2545 | - | // own code then you should assume that the person receiving that | |||
| 2546 | - | // reference may try to use reference counting; you should use | |||
| 2547 | - | // g_variant_dict_new() instead of this function. | |||
| 2548 | - | func (x *VariantDict) Init(FromAsvVar *Variant) { | |||
| 2549 | - | core.LazyRegister(&xVariantDictInit, "GLIB", "g_variant_dict_init", false) | |||
| 2550 | - | ||||
| 2551 | - | xVariantDictInit(x.GoPointer(), FromAsvVar) | |||
| 2552 | - | } | |||
| 2553 | - | ||||
| 2554 | - | var xVariantDictInsert func(uintptr, string, string, ...interface{}) | |||
| 2555 | - | ||||
| 2556 | - | // Inserts a value into a #GVariantDict. | |||
| 2557 | - | // | |||
| 2558 | - | // This call is a convenience wrapper that is exactly equivalent to | |||
| 2559 | - | // calling g_variant_new() followed by g_variant_dict_insert_value(). | |||
| 2560 | - | func (x *VariantDict) Insert(KeyVar string, FormatStringVar string, varArgs ...interface{}) { | |||
| 2561 | - | core.LazyRegister(&xVariantDictInsert, "GLIB", "g_variant_dict_insert", false) | |||
| 2562 | - | ||||
| 2563 | - | xVariantDictInsert(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |||
| 2564 | - | } | |||
| 2565 | - | ||||
| 2566 | - | var xVariantDictInsertValue func(uintptr, string, *Variant) | |||
| 2567 | - | ||||
| 2568 | - | // Inserts (or replaces) a key in a #GVariantDict. | |||
| 2569 | - | // | |||
| 2570 | - | // @value is consumed if it is floating. | |||
| 2571 | - | func (x *VariantDict) InsertValue(KeyVar string, ValueVar *Variant) { | |||
| 2572 | - | core.LazyRegister(&xVariantDictInsertValue, "GLIB", "g_variant_dict_insert_value", false) | |||
| 2573 | - | ||||
| 2574 | - | xVariantDictInsertValue(x.GoPointer(), KeyVar, ValueVar) | |||
| 2575 | - | } | |||
| 2576 | - | ||||
| 2577 | - | var xVariantDictLookup func(uintptr, string, string, ...interface{}) bool | |||
| 2578 | - | ||||
| 2579 | - | // Looks up a value in a #GVariantDict. | |||
| 2580 | - | // | |||
| 2581 | - | // This function is a wrapper around g_variant_dict_lookup_value() and | |||
| 2582 | - | // g_variant_get(). In the case that %NULL would have been returned, | |||
| 2583 | - | // this function returns %FALSE and does not modify the values of the arguments | |||
| 2584 | - | // passed in to @.... Otherwise, it unpacks the returned | |||
| 2585 | - | // value and returns %TRUE. | |||
| 2586 | - | // | |||
| 2587 | - | // @format_string determines the C types that are used for unpacking the | |||
| 2588 | - | // values and also determines if the values are copied or borrowed, see the | |||
| 2589 | - | // section on [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 2590 | - | func (x *VariantDict) Lookup(KeyVar string, FormatStringVar string, varArgs ...interface{}) bool { | |||
| 2591 | - | core.LazyRegister(&xVariantDictLookup, "GLIB", "g_variant_dict_lookup", false) | |||
| 2592 | - | ||||
| 2593 | - | cret := xVariantDictLookup(x.GoPointer(), KeyVar, FormatStringVar, varArgs...) | |||
| 2594 | - | return cret | |||
| 2595 | - | } | |||
| 2596 | - | ||||
| 2597 | - | var xVariantDictLookupValue func(uintptr, string, *VariantType) uintptr | |||
| 2598 | - | ||||
| 2599 | - | // Looks up a value in a #GVariantDict. | |||
| 2600 | - | // | |||
| 2601 | - | // If @key is not found in @dictionary, %NULL is returned. | |||
| 2602 | - | // | |||
| 2603 | - | // The @expected_type string specifies what type of value is expected. | |||
| 2604 | - | // If the value associated with @key has a different type then %NULL is | |||
| 2605 | - | // returned. | |||
| 2606 | - | // | |||
| 2607 | - | // If the key is found and the value has the correct type, it is | |||
| 2608 | - | // returned. If @expected_type was specified then any non-%NULL return | |||
| 2609 | - | // value will have this type. | |||
| 2610 | - | func (x *VariantDict) LookupValue(KeyVar string, ExpectedTypeVar *VariantType) *Variant { | |||
| 2611 | - | core.LazyRegister(&xVariantDictLookupValue, "GLIB", "g_variant_dict_lookup_value", false) | |||
| 2612 | - | ||||
| 2613 | - | cret := xVariantDictLookupValue(x.GoPointer(), KeyVar, ExpectedTypeVar) | |||
| 2614 | - | if cret == 0 { | |||
| 2615 | - | return nil | |||
| 2616 | - | } | |||
| 2617 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 2618 | - | } | |||
| 2619 | - | ||||
| 2620 | - | var xVariantDictRef func(uintptr) uintptr | |||
| 2621 | - | ||||
| 2622 | - | // Increases the reference count on @dict. | |||
| 2623 | - | // | |||
| 2624 | - | // Don't call this on stack-allocated #GVariantDict instances or bad | |||
| 2625 | - | // things will happen. | |||
| 2626 | - | func (x *VariantDict) Ref() *VariantDict { | |||
| 2627 | - | core.LazyRegister(&xVariantDictRef, "GLIB", "g_variant_dict_ref", false) | |||
| 2628 | - | ||||
| 2629 | - | cret := xVariantDictRef(x.GoPointer()) | |||
| 2630 | - | if cret == 0 { | |||
| 2631 | - | return nil | |||
| 2632 | - | } | |||
| 2633 | - | return (*VariantDict)(unsafe.Pointer(cret)) | |||
| 2634 | - | } | |||
| 2635 | - | ||||
| 2636 | - | var xVariantDictRemove func(uintptr, string) bool | |||
| 2637 | - | ||||
| 2638 | - | // Removes a key and its associated value from a #GVariantDict. | |||
| 2639 | - | func (x *VariantDict) Remove(KeyVar string) bool { | |||
| 2640 | - | core.LazyRegister(&xVariantDictRemove, "GLIB", "g_variant_dict_remove", false) | |||
| 2641 | - | ||||
| 2642 | - | cret := xVariantDictRemove(x.GoPointer(), KeyVar) | |||
| 2643 | - | return cret | |||
| 2644 | - | } | |||
| 2645 | - | ||||
| 2646 | - | var xVariantDictUnref func(uintptr) | |||
| 2647 | - | ||||
| 2648 | - | // Decreases the reference count on @dict. | |||
| 2649 | - | // | |||
| 2650 | - | // In the event that there are no more references, releases all memory | |||
| 2651 | - | // associated with the #GVariantDict. | |||
| 2652 | - | // | |||
| 2653 | - | // Don't call this on stack-allocated #GVariantDict instances or bad | |||
| 2654 | - | // things will happen. | |||
| 2655 | - | func (x *VariantDict) Unref() { | |||
| 2656 | - | core.LazyRegister(&xVariantDictUnref, "GLIB", "g_variant_dict_unref", false) | |||
| 2657 | - | ||||
| 2658 | - | xVariantDictUnref(x.GoPointer()) | |||
| 2659 | - | } | |||
| 2660 | - | ||||
| 2661 | - | // #GVariantIter is an opaque data structure and can only be accessed | |||
| 2662 | - | // using the following functions. | |||
| 2663 | - | type VariantIter struct { | |||
| 2664 | - | _ structs.HostLayout | |||
| 2665 | - | ||||
| 2666 | - | X [16]uintptr | |||
| 2667 | - | } | |||
| 2668 | - | ||||
| 2669 | - | func (x *VariantIter) GoPointer() uintptr { | |||
| 2670 | - | return uintptr(unsafe.Pointer(x)) | |||
| 2671 | - | } | |||
| 2672 | - | ||||
| 2673 | - | func VariantIterNewFromInternalPtr(ptr uintptr) *VariantIter { | |||
| 2674 | - | if ptr == 0 { | |||
| 2675 | - | return nil | |||
| 2676 | - | } | |||
| 2677 | - | rawPtr := *(*unsafe.Pointer)(unsafe.Pointer(&ptr)) | |||
| 2678 | - | return (*VariantIter)(rawPtr) | |||
| 2679 | - | } | |||
| 2680 | - | ||||
| 2681 | - | var xVariantIterCopy func(uintptr) uintptr | |||
| 2682 | - | ||||
| 2683 | - | // Creates a new heap-allocated #GVariantIter to iterate over the | |||
| 2684 | - | // container that was being iterated over by @iter. Iteration begins on | |||
| 2685 | - | // the new iterator from the current position of the old iterator but | |||
| 2686 | - | // the two copies are independent past that point. | |||
| 2687 | - | // | |||
| 2688 | - | // Use g_variant_iter_free() to free the return value when you no longer | |||
| 2689 | - | // need it. | |||
| 2690 | - | // | |||
| 2691 | - | // A reference is taken to the container that @iter is iterating over | |||
| 2692 | - | // and will be related only when g_variant_iter_free() is called. | |||
| 2693 | - | func (x *VariantIter) Copy() *VariantIter { | |||
| 2694 | - | core.LazyRegister(&xVariantIterCopy, "GLIB", "g_variant_iter_copy", false) | |||
| 2695 | - | ||||
| 2696 | - | cret := xVariantIterCopy(x.GoPointer()) | |||
| 2697 | - | if cret == 0 { | |||
| 2698 | - | return nil | |||
| 2699 | - | } | |||
| 2700 | - | return (*VariantIter)(unsafe.Pointer(cret)) | |||
| 2701 | - | } | |||
| 2702 | - | ||||
| 2703 | - | var xVariantIterFree func(uintptr) | |||
| 2704 | - | ||||
| 2705 | - | // Frees a heap-allocated #GVariantIter. Only call this function on | |||
| 2706 | - | // iterators that were returned by g_variant_iter_new() or | |||
| 2707 | - | // g_variant_iter_copy(). | |||
| 2708 | - | func (x *VariantIter) Free() { | |||
| 2709 | - | core.LazyRegister(&xVariantIterFree, "GLIB", "g_variant_iter_free", false) | |||
| 2710 | - | ||||
| 2711 | - | xVariantIterFree(x.GoPointer()) | |||
| 2712 | - | } | |||
| 2713 | - | ||||
| 2714 | - | var xVariantIterInit func(uintptr, *Variant) uint | |||
| 2715 | - | ||||
| 2716 | - | // Initialises (without allocating) a #GVariantIter. @iter may be | |||
| 2717 | - | // completely uninitialised prior to this call; its old value is | |||
| 2718 | - | // ignored. | |||
| 2719 | - | // | |||
| 2720 | - | // The iterator remains valid for as long as @value exists, and need not | |||
| 2721 | - | // be freed in any way. | |||
| 2722 | - | func (x *VariantIter) Init(ValueVar *Variant) uint { | |||
| 2723 | - | core.LazyRegister(&xVariantIterInit, "GLIB", "g_variant_iter_init", false) | |||
| 2724 | - | ||||
| 2725 | - | cret := xVariantIterInit(x.GoPointer(), ValueVar) | |||
| 2726 | - | return cret | |||
| 2727 | - | } | |||
| 2728 | - | ||||
| 2729 | - | var xVariantIterLoop func(uintptr, string, ...interface{}) bool | |||
| 2730 | - | ||||
| 2731 | - | // Gets the next item in the container and unpacks it into the variable | |||
| 2732 | - | // argument list according to @format_string, returning %TRUE. | |||
| 2733 | - | // | |||
| 2734 | - | // If no more items remain then %FALSE is returned. | |||
| 2735 | - | // | |||
| 2736 | - | // On the first call to this function, the pointers appearing on the | |||
| 2737 | - | // variable argument list are assumed to point at uninitialised memory. | |||
| 2738 | - | // On the second and later calls, it is assumed that the same pointers | |||
| 2739 | - | // will be given and that they will point to the memory as set by the | |||
| 2740 | - | // previous call to this function. This allows the previous values to | |||
| 2741 | - | // be freed, as appropriate. | |||
| 2742 | - | // | |||
| 2743 | - | // This function is intended to be used with a while loop as | |||
| 2744 | - | // demonstrated in the following example. This function can only be | |||
| 2745 | - | // used when iterating over an array. It is only valid to call this | |||
| 2746 | - | // function with a string constant for the format string and the same | |||
| 2747 | - | // string constant must be used each time. Mixing calls to this | |||
| 2748 | - | // function and g_variant_iter_next() or g_variant_iter_next_value() on | |||
| 2749 | - | // the same iterator causes undefined behavior. | |||
| 2750 | - | // | |||
| 2751 | - | // If you break out of a such a while loop using g_variant_iter_loop() then | |||
| 2752 | - | // you must free or unreference all the unpacked values as you would with | |||
| 2753 | - | // g_variant_get(). Failure to do so will cause a memory leak. | |||
| 2754 | - | // | |||
| 2755 | - | // Here is an example for memory management with g_variant_iter_loop(): | |||
| 2756 | - | // |[<!-- language="C" --> | |||
| 2757 | - | // | |||
| 2758 | - | // // Iterates a dictionary of type 'a{sv}' | |||
| 2759 | - | // void | |||
| 2760 | - | // iterate_dictionary (GVariant *dictionary) | |||
| 2761 | - | // { | |||
| 2762 | - | // GVariantIter iter; | |||
| 2763 | - | // GVariant *value; | |||
| 2764 | - | // gchar *key; | |||
| 2765 | - | // | |||
| 2766 | - | // g_variant_iter_init (&iter, dictionary); | |||
| 2767 | - | // while (g_variant_iter_loop (&iter, "{sv}", &key, &value)) | |||
| 2768 | - | // { | |||
| 2769 | - | // g_print ("Item '%s' has type '%s'\n", key, | |||
| 2770 | - | // g_variant_get_type_string (value)); | |||
| 2771 | - | // | |||
| 2772 | - | // // no need to free 'key' and 'value' here | |||
| 2773 | - | // // unless breaking out of this loop | |||
| 2774 | - | // } | |||
| 2775 | - | // } | |||
| 2776 | - | // | |||
| 2777 | - | // ]| | |||
| 2778 | - | // | |||
| 2779 | - | // For most cases you should use g_variant_iter_next(). | |||
| 2780 | - | // | |||
| 2781 | - | // This function is really only useful when unpacking into #GVariant or | |||
| 2782 | - | // #GVariantIter in order to allow you to skip the call to | |||
| 2783 | - | // g_variant_unref() or g_variant_iter_free(). | |||
| 2784 | - | // | |||
| 2785 | - | // For example, if you are only looping over simple integer and string | |||
| 2786 | - | // types, g_variant_iter_next() is definitely preferred. For string | |||
| 2787 | - | // types, use the '&' prefix to avoid allocating any memory at all (and | |||
| 2788 | - | // thereby avoiding the need to free anything as well). | |||
| 2789 | - | // | |||
| 2790 | - | // @format_string determines the C types that are used for unpacking | |||
| 2791 | - | // the values and also determines if the values are copied or borrowed. | |||
| 2792 | - | // | |||
| 2793 | - | // See the section on | |||
| 2794 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 2795 | - | func (x *VariantIter) Loop(FormatStringVar string, varArgs ...interface{}) bool { | |||
| 2796 | - | core.LazyRegister(&xVariantIterLoop, "GLIB", "g_variant_iter_loop", false) | |||
| 2797 | - | ||||
| 2798 | - | cret := xVariantIterLoop(x.GoPointer(), FormatStringVar, varArgs...) | |||
| 2799 | - | return cret | |||
| 2800 | - | } | |||
| 2801 | - | ||||
| 2802 | - | var xVariantIterNChildren func(uintptr) uint | |||
| 2803 | - | ||||
| 2804 | - | // Queries the number of child items in the container that we are | |||
| 2805 | - | // iterating over. This is the total number of items -- not the number | |||
| 2806 | - | // of items remaining. | |||
| 2807 | - | // | |||
| 2808 | - | // This function might be useful for preallocation of arrays. | |||
| 2809 | - | func (x *VariantIter) NChildren() uint { | |||
| 2810 | - | core.LazyRegister(&xVariantIterNChildren, "GLIB", "g_variant_iter_n_children", false) | |||
| 2811 | - | ||||
| 2812 | - | cret := xVariantIterNChildren(x.GoPointer()) | |||
| 2813 | - | return cret | |||
| 2814 | - | } | |||
| 2815 | - | ||||
| 2816 | - | var xVariantIterNext func(uintptr, string, ...interface{}) bool | |||
| 2817 | - | ||||
| 2818 | - | // Gets the next item in the container and unpacks it into the variable | |||
| 2819 | - | // argument list according to @format_string, returning %TRUE. | |||
| 2820 | - | // | |||
| 2821 | - | // If no more items remain then %FALSE is returned. | |||
| 2822 | - | // | |||
| 2823 | - | // All of the pointers given on the variable arguments list of this | |||
| 2824 | - | // function are assumed to point at uninitialised memory. It is the | |||
| 2825 | - | // responsibility of the caller to free all of the values returned by | |||
| 2826 | - | // the unpacking process. | |||
| 2827 | - | // | |||
| 2828 | - | // Here is an example for memory management with g_variant_iter_next(): | |||
| 2829 | - | // |[<!-- language="C" --> | |||
| 2830 | - | // | |||
| 2831 | - | // // Iterates a dictionary of type 'a{sv}' | |||
| 2832 | - | // void | |||
| 2833 | - | // iterate_dictionary (GVariant *dictionary) | |||
| 2834 | - | // { | |||
| 2835 | - | // GVariantIter iter; | |||
| 2836 | - | // GVariant *value; | |||
| 2837 | - | // gchar *key; | |||
| 2838 | - | // | |||
| 2839 | - | // g_variant_iter_init (&iter, dictionary); | |||
| 2840 | - | // while (g_variant_iter_next (&iter, "{sv}", &key, &value)) | |||
| 2841 | - | // { | |||
| 2842 | - | // g_print ("Item '%s' has type '%s'\n", key, | |||
| 2843 | - | // g_variant_get_type_string (value)); | |||
| 2844 | - | // | |||
| 2845 | - | // // must free data for ourselves | |||
| 2846 | - | // g_variant_unref (value); | |||
| 2847 | - | // g_free (key); | |||
| 2848 | - | // } | |||
| 2849 | - | // } | |||
| 2850 | - | // | |||
| 2851 | - | // ]| | |||
| 2852 | - | // | |||
| 2853 | - | // For a solution that is likely to be more convenient to C programmers | |||
| 2854 | - | // when dealing with loops, see g_variant_iter_loop(). | |||
| 2855 | - | // | |||
| 2856 | - | // @format_string determines the C types that are used for unpacking | |||
| 2857 | - | // the values and also determines if the values are copied or borrowed. | |||
| 2858 | - | // | |||
| 2859 | - | // See the section on | |||
| 2860 | - | // [`GVariant` format strings](gvariant-format-strings.html#pointers). | |||
| 2861 | - | func (x *VariantIter) Next(FormatStringVar string, varArgs ...interface{}) bool { | |||
| 2862 | - | core.LazyRegister(&xVariantIterNext, "GLIB", "g_variant_iter_next", false) | |||
| 2863 | - | ||||
| 2864 | - | cret := xVariantIterNext(x.GoPointer(), FormatStringVar, varArgs...) | |||
| 2865 | - | return cret | |||
| 2866 | - | } | |||
| 2867 | - | ||||
| 2868 | - | var xVariantIterNextValue func(uintptr) uintptr | |||
| 2869 | - | ||||
| 2870 | - | // Gets the next item in the container. If no more items remain then | |||
| 2871 | - | // %NULL is returned. | |||
| 2872 | - | // | |||
| 2873 | - | // Use g_variant_unref() to drop your reference on the return value when | |||
| 2874 | - | // you no longer need it. | |||
| 2875 | - | // | |||
| 2876 | - | // Here is an example for iterating with g_variant_iter_next_value(): | |||
| 2877 | - | // |[<!-- language="C" --> | |||
| 2878 | - | // | |||
| 2879 | - | // // recursively iterate a container | |||
| 2880 | - | // void | |||
| 2881 | - | // iterate_container_recursive (GVariant *container) | |||
| 2882 | - | // { | |||
| 2883 | - | // GVariantIter iter; | |||
| 2884 | - | // GVariant *child; | |||
| 2885 | - | // | |||
| 2886 | - | // g_variant_iter_init (&iter, container); | |||
| 2887 | - | // while ((child = g_variant_iter_next_value (&iter))) | |||
| 2888 | - | // { | |||
| 2889 | - | // g_print ("type '%s'\n", g_variant_get_type_string (child)); | |||
| 2890 | - | // | |||
| 2891 | - | // if (g_variant_is_container (child)) | |||
| 2892 | - | // iterate_container_recursive (child); | |||
| 2893 | - | // | |||
| 2894 | - | // g_variant_unref (child); | |||
| 2895 | - | // } | |||
| 2896 | - | // } | |||
| 2897 | - | // | |||
| 2898 | - | // ]| | |||
| 2899 | - | func (x *VariantIter) NextValue() *Variant { | |||
| 2900 | - | core.LazyRegister(&xVariantIterNextValue, "GLIB", "g_variant_iter_next_value", false) | |||
| 2901 | - | ||||
| 2902 | - | cret := xVariantIterNextValue(x.GoPointer()) | |||
| 2903 | - | if cret == 0 { | |||
| 2904 | - | return nil | |||
| 2905 | - | } | |||
| 2906 | - | return (*Variant)(unsafe.Pointer(cret)) | |||
| 2907 | - | } | |||
| 2908 | - | ||||
| 2909 | - | // The range of possible top-level types of #GVariant instances. | |||
| 2910 | - | type VariantClass int | |||
| 2911 | - | ||||
| 2912 | - | const ( | |||
| 2913 | - | ||||
| 2914 | - | // The #GVariant is a boolean. | |||
| 2915 | - | GVariantClassBooleanValue VariantClass = 98 | |||
| 2916 | - | // The #GVariant is a byte. | |||
| 2917 | - | GVariantClassByteValue VariantClass = 121 | |||
| 2918 | - | // The #GVariant is a signed 16 bit integer. | |||
| 2919 | - | GVariantClassInt16Value VariantClass = 110 | |||
| 2920 | - | // The #GVariant is an unsigned 16 bit integer. | |||
| 2921 | - | GVariantClassUint16Value VariantClass = 113 | |||
| 2922 | - | // The #GVariant is a signed 32 bit integer. | |||
| 2923 | - | GVariantClassInt32Value VariantClass = 105 | |||
| 2924 | - | // The #GVariant is an unsigned 32 bit integer. | |||
| 2925 | - | GVariantClassUint32Value VariantClass = 117 | |||
| 2926 | - | // The #GVariant is a signed 64 bit integer. | |||
| 2927 | - | GVariantClassInt64Value VariantClass = 120 | |||
| 2928 | - | // The #GVariant is an unsigned 64 bit integer. | |||
| 2929 | - | GVariantClassUint64Value VariantClass = 116 | |||
| 2930 | - | // The #GVariant is a file handle index. | |||
| 2931 | - | GVariantClassHandleValue VariantClass = 104 | |||
| 2932 | - | // The #GVariant is a double precision floating | |||
| 2933 | - | // point value. | |||
| 2934 | - | GVariantClassDoubleValue VariantClass = 100 | |||
| 2935 | - | // The #GVariant is a normal string. | |||
| 2936 | - | GVariantClassStringValue VariantClass = 115 | |||
| 2937 | - | // The #GVariant is a D-Bus object path | |||
| 2938 | - | // string. | |||
| 2939 | - | GVariantClassObjectPathValue VariantClass = 111 | |||
| 2940 | - | // The #GVariant is a D-Bus signature string. | |||
| 2941 | - | GVariantClassSignatureValue VariantClass = 103 | |||
| 2942 | - | // The #GVariant is a variant. | |||
| 2943 | - | GVariantClassVariantValue VariantClass = 118 | |||
| 2944 | - | // The #GVariant is a maybe-typed value. | |||
| 2945 | - | GVariantClassMaybeValue VariantClass = 109 | |||
| 2946 | - | // The #GVariant is an array. | |||
| 2947 | - | GVariantClassArrayValue VariantClass = 97 | |||
| 2948 | - | // The #GVariant is a tuple. | |||
| 2949 | - | GVariantClassTupleValue VariantClass = 40 | |||
| 2950 | - | // The #GVariant is a dictionary entry. | |||
| 2951 | - | GVariantClassDictEntryValue VariantClass = 123 | |||
| 2952 | - | ) | |||
| 2953 | - | ||||
| 2954 | - | // Error codes returned by parsing text-format GVariants. | |||
| 2955 | - | type VariantParseError int | |||
| 2956 | - | ||||
| 2957 | - | const ( | |||
| 2958 | - | ||||
| 2959 | - | // generic error (unused) | |||
| 2960 | - | GVariantParseErrorFailedValue VariantParseError = 0 | |||
| 2961 | - | // a non-basic #GVariantType was given where a basic type was expected | |||
| 2962 | - | GVariantParseErrorBasicTypeExpectedValue VariantParseError = 1 | |||
| 2963 | - | // cannot infer the #GVariantType | |||
| 2964 | - | GVariantParseErrorCannotInferTypeValue VariantParseError = 2 | |||
| 2965 | - | // an indefinite #GVariantType was given where a definite type was expected | |||
| 2966 | - | GVariantParseErrorDefiniteTypeExpectedValue VariantParseError = 3 | |||
| 2967 | - | // extra data after parsing finished | |||
| 2968 | - | GVariantParseErrorInputNotAtEndValue VariantParseError = 4 | |||
| 2969 | - | // invalid character in number or unicode escape | |||
| 2970 | - | GVariantParseErrorInvalidCharacterValue VariantParseError = 5 | |||
| 2971 | - | // not a valid #GVariant format string | |||
| 2972 | - | GVariantParseErrorInvalidFormatStringValue VariantParseError = 6 | |||
| 2973 | - | // not a valid object path | |||
| 2974 | - | GVariantParseErrorInvalidObjectPathValue VariantParseError = 7 | |||
| 2975 | - | // not a valid type signature | |||
| 2976 | - | GVariantParseErrorInvalidSignatureValue VariantParseError = 8 | |||
| 2977 | - | // not a valid #GVariant type string | |||
| 2978 | - | GVariantParseErrorInvalidTypeStringValue VariantParseError = 9 | |||
| 2979 | - | // could not find a common type for array entries | |||
| 2980 | - | GVariantParseErrorNoCommonTypeValue VariantParseError = 10 | |||
| 2981 | - | // the numerical value is out of range of the given type | |||
| 2982 | - | GVariantParseErrorNumberOutOfRangeValue VariantParseError = 11 | |||
| 2983 | - | // the numerical value is out of range for any type | |||
| 2984 | - | GVariantParseErrorNumberTooBigValue VariantParseError = 12 | |||
| 2985 | - | // cannot parse as variant of the specified type | |||
| 2986 | - | GVariantParseErrorTypeErrorValue VariantParseError = 13 | |||
| 2987 | - | // an unexpected token was encountered | |||
| 2988 | - | GVariantParseErrorUnexpectedTokenValue VariantParseError = 14 | |||
| 2989 | - | // an unknown keyword was encountered | |||
| 2990 | - | GVariantParseErrorUnknownKeywordValue VariantParseError = 15 | |||
| 2991 | - | // unterminated string constant | |||
| 2992 | - | GVariantParseErrorUnterminatedStringConstantValue VariantParseError = 16 | |||
| 2993 | - | // no value given | |||
| 2994 | - | GVariantParseErrorValueExpectedValue VariantParseError = 17 | |||
| 2995 | - | // variant was too deeply nested; #GVariant is only guaranteed to handle nesting up to 64 levels (Since: 2.64) | |||
| 2996 | - | GVariantParseErrorRecursionValue VariantParseError = 18 | |||
| 2997 | - | ) | |||
| 2998 | - | ||||
| 2999 | - | var xVariantIsObjectPath func(string) bool | |||
| 3000 | - | ||||
| 3001 | - | // Determines if a given string is a valid D-Bus object path. You | |||
| 3002 | - | // should ensure that a string is a valid D-Bus object path before | |||
| 3003 | - | // passing it to g_variant_new_object_path(). | |||
| 3004 | - | // | |||
| 3005 | - | // A valid object path starts with `/` followed by zero or more | |||
| 3006 | - | // sequences of characters separated by `/` characters. Each sequence | |||
| 3007 | - | // must contain only the characters `[A-Z][a-z][0-9]_`. No sequence | |||
| 3008 | - | // (including the one following the final `/` character) may be empty. | |||
| 3009 | - | func VariantIsObjectPath(StringVar string) bool { | |||
| 3010 | - | core.LazyRegister(&xVariantIsObjectPath, "GLIB", "g_variant_is_object_path", false) | |||
| 3011 | - | ||||
| 3012 | - | cret := xVariantIsObjectPath(StringVar) | |||
| 3013 | - | return cret | |||
| 3014 | - | } | |||
| 3015 | - | ||||
| 3016 | - | var xVariantIsSignature func(string) bool | |||
| 3017 | - | ||||
| 3018 | - | // Determines if a given string is a valid D-Bus type signature. You | |||
| 3019 | - | // should ensure that a string is a valid D-Bus type signature before | |||
| 3020 | - | // passing it to g_variant_new_signature(). | |||
| 3021 | - | // | |||
| 3022 | - | // D-Bus type signatures consist of zero or more definite #GVariantType | |||
| 3023 | - | // strings in sequence. | |||
| 3024 | - | func VariantIsSignature(StringVar string) bool { | |||
| 3025 | - | core.LazyRegister(&xVariantIsSignature, "GLIB", "g_variant_is_signature", false) | |||
| 3026 | - | ||||
| 3027 | - | cret := xVariantIsSignature(StringVar) | |||
| 3028 | - | return cret | |||
| 3029 | - | } | |||
| 3030 | - | ||||
| 3031 | - | var xVariantParse func(*VariantType, string, uintptr, uintptr, **Error) uintptr | |||
| 3032 | - | ||||
| 3033 | - | // Parses a #GVariant from a text representation. | |||
| 3034 | - | // | |||
| 3035 | - | // A single #GVariant is parsed from the content of @text. | |||
| 3036 | - | // | |||
| 3037 | - | // The format is described [here](gvariant-text-format.html). | |||
| 3038 | - | // | |||
| 3039 | - | // The memory at @limit will never be accessed and the parser behaves as | |||
| 3040 | - | // if the character at @limit is the nul terminator. This has the | |||
| 3041 | - | // effect of bounding @text. | |||
| 3042 | - | // | |||
| 3043 | - | // If @endptr is non-%NULL then @text is permitted to contain data | |||
| 3044 | - | // following the value that this function parses and @endptr will be | |||
| 3045 | - | // updated to point to the first character past the end of the text | |||
| 3046 | - | // parsed by this function. If @endptr is %NULL and there is extra data | |||
| 3047 | - | // then an error is returned. | |||
| 3048 | - | // | |||
| 3049 | - | // If @type is non-%NULL then the value will be parsed to have that | |||
| 3050 | - | // type. This may result in additional parse errors (in the case that | |||
| 3051 | - | // the parsed value doesn't fit the type) but may also result in fewer | |||
| 3052 | - | // errors (in the case that the type would have been ambiguous, such as | |||
| 3053 | - | // with empty arrays). | |||
| 3054 | - | // | |||
| 3055 | - | // In the event that the parsing is successful, the resulting #GVariant | |||
| 3056 | - | // is returned. It is never floating, and must be freed with | |||
| 3057 | - | // [method@GLib.Variant.unref]. | |||
| 3058 | - | // | |||
| 3059 | - | // In case of any error, %NULL will be returned. If @error is non-%NULL | |||
| 3060 | - | // then it will be set to reflect the error that occurred. | |||
| 3061 | - | // | |||
| 3062 | - | // Officially, the language understood by the parser is “any string | |||
| 3063 | - | // produced by [method@GLib.Variant.print]”. This explicitly includes | |||
| 3064 | - | // `g_variant_print()`’s annotated types like `int64 -1000`. | |||
| 3065 | - | // | |||
| 3066 | - | // There may be implementation specific restrictions on deeply nested values, | |||
| 3067 | - | // which would result in a %G_VARIANT_PARSE_ERROR_RECURSION error. #GVariant is | |||
| 3068 | - | // guaranteed to handle nesting up to at least 64 levels. | |||
| 3069 | - | func VariantParse(TypeVar *VariantType, TextVar string, LimitVar *string, EndptrVar *string) (*Variant, error) { | |||
| 3070 | - | core.LazyRegister(&xVariantParse, "GLIB", "g_variant_parse", false) | |||
| 3071 | - | var cerr *Error | |||
| 3072 | - | ||||
| 3073 | - | LimitVarPtr := core.GStrdupNullable(LimitVar) | |||
| 3074 | - | defer core.GFreeNullable(LimitVarPtr) | |||
| 3075 | - | ||||
| 3076 | - | EndptrVarPtr := core.GStrdupNullable(EndptrVar) | |||
| 3077 | - | defer core.GFreeNullable(EndptrVarPtr) | |||
| 3078 | - | ||||
| 3079 | - | cret := xVariantParse(TypeVar, TextVar, LimitVarPtr, EndptrVarPtr, &cerr) | |||
| 3080 | - | if cerr != nil { | |||
| 3081 | - | return nil, cerr | |||
| 3082 | - | } | |||
| 3083 | - | if cret == 0 { | |||
| 3084 | - | return nil, nil | |||
| 3085 | - | } | |||
| 3086 | - | return (*Variant)(unsafe.Pointer(cret)), nil | |||
| 3087 | - | } | |||
| 3088 | - | ||||
| 3089 | - | var xVariantParseErrorPrintContext func(*Error, string) string | |||
| 3090 | - | ||||
| 3091 | - | // Pretty-prints a message showing the context of a #GVariant parse | |||
| 3092 | - | // error within the string for which parsing was attempted. | |||
| 3093 | - | // | |||
| 3094 | - | // The resulting string is suitable for output to the console or other | |||
| 3095 | - | // monospace media where newlines are treated in the usual way. | |||
| 3096 | - | // | |||
| 3097 | - | // The message will typically look something like one of the following: | |||
| 3098 | - | // | |||
| 3099 | - | // |[ | |||
| 3100 | - | // unterminated string constant: | |||
| 3101 | - | // | |||
| 3102 | - | // (1, 2, 3, 'abc | |||
| 3103 | - | // ^^^^ | |||
| 3104 | - | // | |||
| 3105 | - | // ]| | |||
| 3106 | - | // | |||
| 3107 | - | // or | |||
| 3108 | - | // | |||
| 3109 | - | // |[ | |||
| 3110 | - | // unable to find a common type: | |||
| 3111 | - | // | |||
| 3112 | - | // [1, 2, 3, 'str'] | |||
| 3113 | - | // ^ ^^^^^ | |||
| 3114 | - | // | |||
| 3115 | - | // ]| | |||
| 3116 | - | // | |||
| 3117 | - | // The format of the message may change in a future version. | |||
| 3118 | - | // | |||
| 3119 | - | // @error must have come from a failed attempt to g_variant_parse() and | |||
| 3120 | - | // @source_str must be exactly the same string that caused the error. | |||
| 3121 | - | // If @source_str was not nul-terminated when you passed it to | |||
| 3122 | - | // g_variant_parse() then you must add nul termination before using this | |||
| 3123 | - | // function. | |||
| 3124 | - | func VariantParseErrorPrintContext(ErrorVar *Error, SourceStrVar string) string { | |||
| 3125 | - | core.LazyRegister(&xVariantParseErrorPrintContext, "GLIB", "g_variant_parse_error_print_context", false) | |||
| 3126 | - | ||||
| 3127 | - | cret := xVariantParseErrorPrintContext(ErrorVar, SourceStrVar) | |||
| 3128 | - | return cret | |||
| 3129 | - | } | |||
| 3130 | - | ||||
| 3131 | - | func init() { | |||
| 3132 | - | core.SetPackageName("GLIB", "glib-2.0") | |||
| 3133 | - | core.SetSharedLibraries("GLIB", []string{"libgobject-2.0.so.0", "libglib-2.0.so.0", "libgobject-2.0.0.dylib", "libglib-2.0.0.dylib"}) | |||
| 3134 | - | } | |||
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