Merge pull request #344 from bnema/chore/upstream-foundations
chore(deps): integrate approved upstream foundations
921 files · +28709 -25527
M docs/first-presentation.md +5 -2
| @@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`, | |||
| 46 | 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | |
| 47 | 47 | do not use a device model or other identifier. Publish only the seven reviewed | |
| 48 | 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | |
| 49 | - | must not be published. A missing or incomplete timeline, non-DMABUF backend, or | |
| 50 | - | invalid run fails collection. | |
| 49 | + | must not be published. `metadata.json` derives the selected | |
| 50 | + | `github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git | |
| 51 | + | origin hash from Go module metadata; branch selectors or missing origin metadata | |
| 52 | + | fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid | |
| 53 | + | run also fails collection. | |
| @@ -46,5 +46,8 @@ labels. Set `DUMBER_MACHINE_GPU_PROFILE` to one of `generic-gpu`, | |||||
| 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | 46 | `integrated-gpu`, `discrete-gpu`, `hybrid-gpu`, `virtual-gpu`, or `unknown-gpu`; | ||
| 47 | do not use a device model or other identifier. Publish only the seven reviewed | 47 | do not use a device model or other identifier. Publish only the seven reviewed | ||
| 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | 48 | JSON files to an external Gist. Raw logs and temporary XDG homes are removed and | ||
| 49 | - | must not be published. A missing or incomplete timeline, non-DMABUF backend, or | 49 | + | must not be published. `metadata.json` derives the selected |
| 50 | - | invalid run fails collection. | 50 | + | `github.com/bnema/purego-cef2gtk` pseudo-version and its full immutable Git |
| 51 | + | origin hash from Go module metadata; branch selectors or missing origin metadata | |||
| 52 | + | fail collection. A missing or incomplete timeline, non-DMABUF backend, or invalid | |||
| 53 | + | run also fails collection. | |||
M go.mod +5 -5
| @@ -6,11 +6,11 @@ require ( | |||
| 6 | 6 | github.com/a-h/templ v0.3.1020 | |
| 7 | 7 | github.com/andybalholm/brotli v1.2.2 | |
| 8 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | |
| 9 | - | github.com/bnema/purego-cef v0.13.3 | |
| 10 | - | github.com/bnema/purego-cef2gtk v0.8.4 | |
| 11 | - | github.com/bnema/purego-pipewire v0.1.4 | |
| 12 | - | github.com/bnema/purego-sqlite v0.1.3 | |
| 13 | - | github.com/bnema/puregotk v0.7.0 | |
| 9 | + | github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e | |
| 10 | + | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | |
| 11 | + | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | + | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | 14 | github.com/charmbracelet/bubbles v1.0.0 | |
| 15 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 16 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -6,11 +6,11 @@ require ( | |||||
| 6 | github.com/a-h/templ v0.3.1020 | 6 | github.com/a-h/templ v0.3.1020 | ||
| 7 | github.com/andybalholm/brotli v1.2.2 | 7 | github.com/andybalholm/brotli v1.2.2 | ||
| 8 | github.com/bnema/purego v0.11.0-bnema.4 | 8 | github.com/bnema/purego v0.11.0-bnema.4 | ||
| 9 | - | github.com/bnema/purego-cef v0.13.3 | 9 | + | github.com/bnema/purego-cef v0.13.4-0.20260714140305-f0b7414af67e |
| 10 | - | github.com/bnema/purego-cef2gtk v0.8.4 | 10 | + | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe |
| 11 | - | github.com/bnema/purego-pipewire v0.1.4 | 11 | + | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a |
| 12 | - | github.com/bnema/purego-sqlite v0.1.3 | 12 | + | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c |
| 13 | - | github.com/bnema/puregotk v0.7.0 | 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 |
| 14 | github.com/charmbracelet/bubbles v1.0.0 | 14 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 15 | github.com/charmbracelet/bubbletea v1.3.10 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 16 | github.com/charmbracelet/lipgloss v1.1.0 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +12 -0 generated file: collapsed
A internal/infrastructure/persistence/sqlite/history_repo_benchmark_test.go +71 -0
| @@ -0,0 +1,71 @@ | |||
| 1 | + | package sqlite_test | |
| 2 | + | ||
| 3 | + | import ( | |
| 4 | + | "fmt" | |
| 5 | + | "path/filepath" | |
| 6 | + | "testing" | |
| 7 | + | ||
| 8 | + | "github.com/bnema/dumber/internal/domain/entity" | |
| 9 | + | "github.com/bnema/dumber/internal/domain/repository" | |
| 10 | + | "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite" | |
| 11 | + | ) | |
| 12 | + | ||
| 13 | + | // newHistoryBenchmarkRepository creates a representative local history corpus | |
| 14 | + | // outside the measured operation. Sidebar reads use GetRecent and omnibox | |
| 15 | + | // history suggestions use Search. | |
| 16 | + | func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) { | |
| 17 | + | b.Helper() | |
| 18 | + | ||
| 19 | + | ctx := historyTestCtx() | |
| 20 | + | db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db")) | |
| 21 | + | if err != nil { | |
| 22 | + | b.Fatal(err) | |
| 23 | + | } | |
| 24 | + | ||
| 25 | + | b.Cleanup(func() { | |
| 26 | + | if err := db.Close(); err != nil { | |
| 27 | + | b.Errorf("close benchmark database: %v", err) | |
| 28 | + | } | |
| 29 | + | }) | |
| 30 | + | ||
| 31 | + | repo := sqlite.NewHistoryRepository(db) | |
| 32 | + | for i := range 200 { | |
| 33 | + | entry := &entity.HistoryEntry{ | |
| 34 | + | URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i), | |
| 35 | + | Title: fmt.Sprintf("Dumber history entry %d", i), | |
| 36 | + | } | |
| 37 | + | if err := repo.Save(ctx, entry); err != nil { | |
| 38 | + | b.Fatal(err) | |
| 39 | + | } | |
| 40 | + | } | |
| 41 | + | ||
| 42 | + | return repo, func() {} | |
| 43 | + | } | |
| 44 | + | ||
| 45 | + | func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) { | |
| 46 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |
| 47 | + | defer closeDB() | |
| 48 | + | ctx := historyTestCtx() | |
| 49 | + | ||
| 50 | + | b.ReportAllocs() | |
| 51 | + | b.ResetTimer() | |
| 52 | + | for range b.N { | |
| 53 | + | if _, err := repo.GetRecent(ctx, 50, 0); err != nil { | |
| 54 | + | b.Fatal(err) | |
| 55 | + | } | |
| 56 | + | } | |
| 57 | + | } | |
| 58 | + | ||
| 59 | + | func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) { | |
| 60 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |
| 61 | + | defer closeDB() | |
| 62 | + | ctx := historyTestCtx() | |
| 63 | + | ||
| 64 | + | b.ReportAllocs() | |
| 65 | + | b.ResetTimer() | |
| 66 | + | for range b.N { | |
| 67 | + | if _, err := repo.Search(ctx, "dumber history", 10); err != nil { | |
| 68 | + | b.Fatal(err) | |
| 69 | + | } | |
| 70 | + | } | |
| 71 | + | } | |
| @@ -0,0 +1,71 @@ | |||||
| 1 | + | package sqlite_test | |||
| 2 | + | ||||
| 3 | + | import ( | |||
| 4 | + | "fmt" | |||
| 5 | + | "path/filepath" | |||
| 6 | + | "testing" | |||
| 7 | + | ||||
| 8 | + | "github.com/bnema/dumber/internal/domain/entity" | |||
| 9 | + | "github.com/bnema/dumber/internal/domain/repository" | |||
| 10 | + | "github.com/bnema/dumber/internal/infrastructure/persistence/sqlite" | |||
| 11 | + | ) | |||
| 12 | + | ||||
| 13 | + | // newHistoryBenchmarkRepository creates a representative local history corpus | |||
| 14 | + | // outside the measured operation. Sidebar reads use GetRecent and omnibox | |||
| 15 | + | // history suggestions use Search. | |||
| 16 | + | func newHistoryBenchmarkRepository(b *testing.B) (repository.HistoryRepository, func()) { | |||
| 17 | + | b.Helper() | |||
| 18 | + | ||||
| 19 | + | ctx := historyTestCtx() | |||
| 20 | + | db, err := sqlite.NewConnection(ctx, filepath.Join(b.TempDir(), "dumber.db")) | |||
| 21 | + | if err != nil { | |||
| 22 | + | b.Fatal(err) | |||
| 23 | + | } | |||
| 24 | + | ||||
| 25 | + | b.Cleanup(func() { | |||
| 26 | + | if err := db.Close(); err != nil { | |||
| 27 | + | b.Errorf("close benchmark database: %v", err) | |||
| 28 | + | } | |||
| 29 | + | }) | |||
| 30 | + | ||||
| 31 | + | repo := sqlite.NewHistoryRepository(db) | |||
| 32 | + | for i := range 200 { | |||
| 33 | + | entry := &entity.HistoryEntry{ | |||
| 34 | + | URL: fmt.Sprintf("https://example%d.test/dumber/history/%d", i%20, i), | |||
| 35 | + | Title: fmt.Sprintf("Dumber history entry %d", i), | |||
| 36 | + | } | |||
| 37 | + | if err := repo.Save(ctx, entry); err != nil { | |||
| 38 | + | b.Fatal(err) | |||
| 39 | + | } | |||
| 40 | + | } | |||
| 41 | + | ||||
| 42 | + | return repo, func() {} | |||
| 43 | + | } | |||
| 44 | + | ||||
| 45 | + | func BenchmarkHistorySQLiteSidebarRecent(b *testing.B) { | |||
| 46 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |||
| 47 | + | defer closeDB() | |||
| 48 | + | ctx := historyTestCtx() | |||
| 49 | + | ||||
| 50 | + | b.ReportAllocs() | |||
| 51 | + | b.ResetTimer() | |||
| 52 | + | for range b.N { | |||
| 53 | + | if _, err := repo.GetRecent(ctx, 50, 0); err != nil { | |||
| 54 | + | b.Fatal(err) | |||
| 55 | + | } | |||
| 56 | + | } | |||
| 57 | + | } | |||
| 58 | + | ||||
| 59 | + | func BenchmarkHistorySQLiteOmniboxSearch(b *testing.B) { | |||
| 60 | + | repo, closeDB := newHistoryBenchmarkRepository(b) | |||
| 61 | + | defer closeDB() | |||
| 62 | + | ctx := historyTestCtx() | |||
| 63 | + | ||||
| 64 | + | b.ReportAllocs() | |||
| 65 | + | b.ResetTimer() | |||
| 66 | + | for range b.N { | |||
| 67 | + | if _, err := repo.Search(ctx, "dumber history", 10); err != nil { | |||
| 68 | + | b.Fatal(err) | |||
| 69 | + | } | |||
| 70 | + | } | |||
| 71 | + | } | |||
M internal/logging/first_presentation_collector_test.go +132 -1
| @@ -2,6 +2,7 @@ package logging | |||
| 2 | 2 | ||
| 3 | 3 | import ( | |
| 4 | 4 | "encoding/json" | |
| 5 | + | "fmt" | |
| 5 | 6 | "os" | |
| 6 | 7 | "os/exec" | |
| 7 | 8 | "path/filepath" | |
| @@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||
| 143 | 144 | } | |
| 144 | 145 | for _, required := range []string{ | |
| 145 | 146 | `"measured_source_revision"`, | |
| 147 | + | `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`, | |
| 146 | 148 | `"tag": "v0.8.4"`, | |
| 147 | - | `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`, | |
| 149 | + | `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`, | |
| 148 | 150 | } { | |
| 149 | 151 | require.Contains(t, artifacts.String(), required) | |
| 150 | 152 | } | |
| @@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||
| 166 | 168 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | |
| 167 | 169 | } | |
| 168 | 170 | ||
| 171 | + | func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) { | |
| 172 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 173 | + | require.NoError(t, err) | |
| 174 | + | temp := t.TempDir() | |
| 175 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |
| 176 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |
| 177 | + | binary := filepath.Join(temp, "dumber") | |
| 178 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |
| 179 | + | ||
| 180 | + | // This exact pseudo-version is deliberately newer than the former v0.8.4 | |
| 181 | + | // hardcode; the collector must report what the selected module says. | |
| 182 | + | const version = "v0.8.5-0.20300102030405-bbd397409ebe" | |
| 183 | + | const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484" | |
| 184 | + | goBin := collectorProvenanceGo(t, temp, version, revision, "") | |
| 185 | + | output := filepath.Join(temp, "artifacts") | |
| 186 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 187 | + | cmd.Dir = repoRoot | |
| 188 | + | cmd.Env = append(os.Environ(), | |
| 189 | + | "DISPLAY=:test", | |
| 190 | + | "DUMBER_CEF_DIR="+runtime, | |
| 191 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |
| 192 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |
| 193 | + | "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1", | |
| 194 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |
| 195 | + | ) | |
| 196 | + | result, err := cmd.CombinedOutput() | |
| 197 | + | require.NoErrorf(t, err, "collector failed: %s", result) | |
| 198 | + | ||
| 199 | + | var metadata struct { | |
| 200 | + | Upstream struct { | |
| 201 | + | Module string `json:"module"` | |
| 202 | + | Version string `json:"version"` | |
| 203 | + | Tag string `json:"tag"` | |
| 204 | + | Revision string `json:"revision"` | |
| 205 | + | } `json:"upstream"` | |
| 206 | + | } | |
| 207 | + | contents, err := os.ReadFile(filepath.Join(output, "metadata.json")) | |
| 208 | + | require.NoError(t, err) | |
| 209 | + | require.NoError(t, json.Unmarshal(contents, &metadata)) | |
| 210 | + | require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module) | |
| 211 | + | require.Equal(t, version, metadata.Upstream.Version) | |
| 212 | + | require.Equal(t, "v0.8.5", metadata.Upstream.Tag) | |
| 213 | + | require.Equal(t, revision, metadata.Upstream.Revision) | |
| 214 | + | ||
| 215 | + | script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 216 | + | require.NoError(t, err) | |
| 217 | + | require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d") | |
| 218 | + | } | |
| 219 | + | ||
| 220 | + | func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) { | |
| 221 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 222 | + | require.NoError(t, err) | |
| 223 | + | ||
| 224 | + | for _, test := range []struct { | |
| 225 | + | name, version, revision, ref string | |
| 226 | + | }{ | |
| 227 | + | {name: "branch selector", version: "main", ref: "main"}, | |
| 228 | + | {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"}, | |
| 229 | + | {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"}, | |
| 230 | + | } { | |
| 231 | + | t.Run(test.name, func(t *testing.T) { | |
| 232 | + | temp := t.TempDir() | |
| 233 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |
| 234 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |
| 235 | + | binary := filepath.Join(temp, "dumber") | |
| 236 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |
| 237 | + | ||
| 238 | + | goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref) | |
| 239 | + | output := filepath.Join(temp, "artifacts") | |
| 240 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |
| 241 | + | cmd.Dir = repoRoot | |
| 242 | + | cmd.Env = append(os.Environ(), | |
| 243 | + | "DISPLAY=:test", | |
| 244 | + | "DUMBER_CEF_DIR="+runtime, | |
| 245 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |
| 246 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |
| 247 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |
| 248 | + | ) | |
| 249 | + | result, runErr := cmd.CombinedOutput() | |
| 250 | + | require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result) | |
| 251 | + | require.Contains(t, string(result), "immutable module provenance is unavailable") | |
| 252 | + | require.NotContains(t, string(result), temp) | |
| 253 | + | require.NoFileExists(t, filepath.Join(output, "metadata.json")) | |
| 254 | + | for _, name := range runArtifactNames() { | |
| 255 | + | require.NoFileExists(t, filepath.Join(output, name)) | |
| 256 | + | } | |
| 257 | + | }) | |
| 258 | + | } | |
| 259 | + | } | |
| 260 | + | ||
| 261 | + | func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string { | |
| 262 | + | t.Helper() | |
| 263 | + | infoPath := filepath.Join(temp, "module.info") | |
| 264 | + | info := map[string]any{"Version": version} | |
| 265 | + | if revision != "" { | |
| 266 | + | info["Origin"] = map[string]string{ | |
| 267 | + | "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref, | |
| 268 | + | } | |
| 269 | + | } | |
| 270 | + | infoJSON, err := json.Marshal(info) | |
| 271 | + | require.NoError(t, err) | |
| 272 | + | require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600)) | |
| 273 | + | ||
| 274 | + | selectedJSON, err := json.Marshal(map[string]string{ | |
| 275 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, | |
| 276 | + | }) | |
| 277 | + | require.NoError(t, err) | |
| 278 | + | downloadedJSON, err := json.Marshal(map[string]string{ | |
| 279 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath, | |
| 280 | + | }) | |
| 281 | + | require.NoError(t, err) | |
| 282 | + | binDir := filepath.Join(temp, "bin") | |
| 283 | + | require.NoError(t, os.Mkdir(binDir, 0o755)) | |
| 284 | + | goBin := filepath.Join(binDir, "go") | |
| 285 | + | script := fmt.Sprintf(`#!/bin/sh | |
| 286 | + | if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then | |
| 287 | + | printf '%%s\n' '%s' | |
| 288 | + | exit 0 | |
| 289 | + | fi | |
| 290 | + | if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then | |
| 291 | + | printf '%%s\n' '%s' | |
| 292 | + | exit 0 | |
| 293 | + | fi | |
| 294 | + | exit 1 | |
| 295 | + | `, selectedJSON, version, downloadedJSON) | |
| 296 | + | require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755)) | |
| 297 | + | return goBin | |
| 298 | + | } | |
| 299 | + | ||
| 169 | 300 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | |
| 170 | 301 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |
| 171 | 302 | require.NoError(t, err) | |
| @@ -2,6 +2,7 @@ package logging | |||||
| 2 | 2 | ||||
| 3 | import ( | 3 | import ( | ||
| 4 | "encoding/json" | 4 | "encoding/json" | ||
| 5 | + | "fmt" | |||
| 5 | "os" | 6 | "os" | ||
| 6 | "os/exec" | 7 | "os/exec" | ||
| 7 | "path/filepath" | 8 | "path/filepath" | ||
| @@ -143,8 +144,9 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||||
| 143 | } | 144 | } | ||
| 144 | for _, required := range []string{ | 145 | for _, required := range []string{ | ||
| 145 | `"measured_source_revision"`, | 146 | `"measured_source_revision"`, | ||
| 147 | + | `"version": "v0.8.4-0.20260714160309-bbd397409ebe"`, | |||
| 146 | `"tag": "v0.8.4"`, | 148 | `"tag": "v0.8.4"`, | ||
| 147 | - | `"revision": "f217ece342dea3ef2a3f98671fcd16a39ad0037d"`, | 149 | + | `"revision": "bbd397409ebed75a5979c1e4566a2ef319f6a484"`, |
| 148 | } { | 150 | } { | ||
| 149 | require.Contains(t, artifacts.String(), required) | 151 | require.Contains(t, artifacts.String(), required) | ||
| 150 | } | 152 | } | ||
| @@ -166,6 +168,135 @@ func TestFirstPresentationCollectorSanitizesMachineLocalValues(t *testing.T) { | |||||
| 166 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | 168 | require.Equal(t, "integrated-gpu", metadata.Comparison.MachineGPUProfile) | ||
| 167 | } | 169 | } | ||
| 168 | 170 | ||||
| 171 | + | func TestFirstPresentationCollectorDerivesSelectedImmutableModuleProvenance(t *testing.T) { | |||
| 172 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |||
| 173 | + | require.NoError(t, err) | |||
| 174 | + | temp := t.TempDir() | |||
| 175 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |||
| 176 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |||
| 177 | + | binary := filepath.Join(temp, "dumber") | |||
| 178 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |||
| 179 | + | ||||
| 180 | + | // This exact pseudo-version is deliberately newer than the former v0.8.4 | |||
| 181 | + | // hardcode; the collector must report what the selected module says. | |||
| 182 | + | const version = "v0.8.5-0.20300102030405-bbd397409ebe" | |||
| 183 | + | const revision = "bbd397409ebed75a5979c1e4566a2ef319f6a484" | |||
| 184 | + | goBin := collectorProvenanceGo(t, temp, version, revision, "") | |||
| 185 | + | output := filepath.Join(temp, "artifacts") | |||
| 186 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 187 | + | cmd.Dir = repoRoot | |||
| 188 | + | cmd.Env = append(os.Environ(), | |||
| 189 | + | "DISPLAY=:test", | |||
| 190 | + | "DUMBER_CEF_DIR="+runtime, | |||
| 191 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |||
| 192 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |||
| 193 | + | "DUMBER_FIRST_PRESENTATION_TIMEOUT_SECONDS=1", | |||
| 194 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |||
| 195 | + | ) | |||
| 196 | + | result, err := cmd.CombinedOutput() | |||
| 197 | + | require.NoErrorf(t, err, "collector failed: %s", result) | |||
| 198 | + | ||||
| 199 | + | var metadata struct { | |||
| 200 | + | Upstream struct { | |||
| 201 | + | Module string `json:"module"` | |||
| 202 | + | Version string `json:"version"` | |||
| 203 | + | Tag string `json:"tag"` | |||
| 204 | + | Revision string `json:"revision"` | |||
| 205 | + | } `json:"upstream"` | |||
| 206 | + | } | |||
| 207 | + | contents, err := os.ReadFile(filepath.Join(output, "metadata.json")) | |||
| 208 | + | require.NoError(t, err) | |||
| 209 | + | require.NoError(t, json.Unmarshal(contents, &metadata)) | |||
| 210 | + | require.Equal(t, "github.com/bnema/purego-cef2gtk", metadata.Upstream.Module) | |||
| 211 | + | require.Equal(t, version, metadata.Upstream.Version) | |||
| 212 | + | require.Equal(t, "v0.8.5", metadata.Upstream.Tag) | |||
| 213 | + | require.Equal(t, revision, metadata.Upstream.Revision) | |||
| 214 | + | ||||
| 215 | + | script, err := os.ReadFile(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 216 | + | require.NoError(t, err) | |||
| 217 | + | require.NotContains(t, string(script), "f217ece342dea3ef2a3f98671fcd16a39ad0037d") | |||
| 218 | + | } | |||
| 219 | + | ||||
| 220 | + | func TestFirstPresentationCollectorRejectsNonImmutableModuleProvenanceWithoutLeaks(t *testing.T) { | |||
| 221 | + | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | |||
| 222 | + | require.NoError(t, err) | |||
| 223 | + | ||||
| 224 | + | for _, test := range []struct { | |||
| 225 | + | name, version, revision, ref string | |||
| 226 | + | }{ | |||
| 227 | + | {name: "branch selector", version: "main", ref: "main"}, | |||
| 228 | + | {name: "missing origin", version: "v0.8.5-0.20300102030405-bbd397409ebe"}, | |||
| 229 | + | {name: "named origin ref", version: "v0.8.5-0.20300102030405-bbd397409ebe", revision: "bbd397409ebed75a5979c1e4566a2ef319f6a484", ref: "main"}, | |||
| 230 | + | } { | |||
| 231 | + | t.Run(test.name, func(t *testing.T) { | |||
| 232 | + | temp := t.TempDir() | |||
| 233 | + | runtime := filepath.Join(temp, "cef-147-runtime") | |||
| 234 | + | require.NoError(t, os.Mkdir(runtime, 0o755)) | |||
| 235 | + | binary := filepath.Join(temp, "dumber") | |||
| 236 | + | require.NoError(t, os.WriteFile(binary, collectorTestBinary(validFirstPresentationLog), 0o755)) | |||
| 237 | + | ||||
| 238 | + | goBin := collectorProvenanceGo(t, temp, test.version, test.revision, test.ref) | |||
| 239 | + | output := filepath.Join(temp, "artifacts") | |||
| 240 | + | cmd := exec.Command(filepath.Join(repoRoot, "scripts", "collect_first_presentation.sh")) | |||
| 241 | + | cmd.Dir = repoRoot | |||
| 242 | + | cmd.Env = append(os.Environ(), | |||
| 243 | + | "DISPLAY=:test", | |||
| 244 | + | "DUMBER_CEF_DIR="+runtime, | |||
| 245 | + | "DUMBER_FIRST_PRESENTATION_BIN="+binary, | |||
| 246 | + | "DUMBER_FIRST_PRESENTATION_OUTPUT="+output, | |||
| 247 | + | "PATH="+filepath.Dir(goBin)+":"+os.Getenv("PATH"), | |||
| 248 | + | ) | |||
| 249 | + | result, runErr := cmd.CombinedOutput() | |||
| 250 | + | require.Errorf(t, runErr, "collector accepted nonimmutable module provenance: %s", result) | |||
| 251 | + | require.Contains(t, string(result), "immutable module provenance is unavailable") | |||
| 252 | + | require.NotContains(t, string(result), temp) | |||
| 253 | + | require.NoFileExists(t, filepath.Join(output, "metadata.json")) | |||
| 254 | + | for _, name := range runArtifactNames() { | |||
| 255 | + | require.NoFileExists(t, filepath.Join(output, name)) | |||
| 256 | + | } | |||
| 257 | + | }) | |||
| 258 | + | } | |||
| 259 | + | } | |||
| 260 | + | ||||
| 261 | + | func collectorProvenanceGo(t *testing.T, temp, version, revision, ref string) string { | |||
| 262 | + | t.Helper() | |||
| 263 | + | infoPath := filepath.Join(temp, "module.info") | |||
| 264 | + | info := map[string]any{"Version": version} | |||
| 265 | + | if revision != "" { | |||
| 266 | + | info["Origin"] = map[string]string{ | |||
| 267 | + | "VCS": "git", "URL": "https://github.com/bnema/purego-cef2gtk", "Hash": revision, "Ref": ref, | |||
| 268 | + | } | |||
| 269 | + | } | |||
| 270 | + | infoJSON, err := json.Marshal(info) | |||
| 271 | + | require.NoError(t, err) | |||
| 272 | + | require.NoError(t, os.WriteFile(infoPath, infoJSON, 0o600)) | |||
| 273 | + | ||||
| 274 | + | selectedJSON, err := json.Marshal(map[string]string{ | |||
| 275 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, | |||
| 276 | + | }) | |||
| 277 | + | require.NoError(t, err) | |||
| 278 | + | downloadedJSON, err := json.Marshal(map[string]string{ | |||
| 279 | + | "Path": "github.com/bnema/purego-cef2gtk", "Version": version, "Info": infoPath, | |||
| 280 | + | }) | |||
| 281 | + | require.NoError(t, err) | |||
| 282 | + | binDir := filepath.Join(temp, "bin") | |||
| 283 | + | require.NoError(t, os.Mkdir(binDir, 0o755)) | |||
| 284 | + | goBin := filepath.Join(binDir, "go") | |||
| 285 | + | script := fmt.Sprintf(`#!/bin/sh | |||
| 286 | + | if [ "$1" = "list" ] && [ "$2" = "-m" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk" ]; then | |||
| 287 | + | printf '%%s\n' '%s' | |||
| 288 | + | exit 0 | |||
| 289 | + | fi | |||
| 290 | + | if [ "$1" = "mod" ] && [ "$2" = "download" ] && [ "$3" = "-json" ] && [ "$4" = "github.com/bnema/purego-cef2gtk@%s" ]; then | |||
| 291 | + | printf '%%s\n' '%s' | |||
| 292 | + | exit 0 | |||
| 293 | + | fi | |||
| 294 | + | exit 1 | |||
| 295 | + | `, selectedJSON, version, downloadedJSON) | |||
| 296 | + | require.NoError(t, os.WriteFile(goBin, []byte(script), 0o755)) | |||
| 297 | + | return goBin | |||
| 298 | + | } | |||
| 299 | + | ||||
| 169 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | 300 | func TestFirstPresentationCollectorDefaultsToXDGStateEvidenceDirectory(t *testing.T) { | ||
| 170 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | 301 | repoRoot, err := filepath.Abs(filepath.Join("..", "..")) | ||
| 171 | require.NoError(t, err) | 302 | require.NoError(t, err) | ||
M scripts/collect_first_presentation.sh +78 -9
| @@ -31,8 +31,78 @@ else | |||
| 31 | 31 | fi | |
| 32 | 32 | readonly output | |
| 33 | 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | |
| 34 | - | readonly upstream_tag="v0.8.4" | |
| 35 | - | readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d" | |
| 34 | + | ||
| 35 | + | # Resolve the version selected by this checkout, then obtain its immutable VCS | |
| 36 | + | # origin from Go's cached module metadata. Do not infer a revision from a tag, | |
| 37 | + | # a branch, or a truncated pseudo-version suffix. | |
| 38 | + | resolve_upstream_provenance() { | |
| 39 | + | local selected_metadata selected_version downloaded_metadata | |
| 40 | + | ||
| 41 | + | selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || { | |
| 42 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |
| 43 | + | exit 2 | |
| 44 | + | } | |
| 45 | + | selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY' | |
| 46 | + | import json, sys | |
| 47 | + | try: | |
| 48 | + | metadata = json.loads(sys.argv[2]) | |
| 49 | + | if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str): | |
| 50 | + | raise ValueError | |
| 51 | + | print(metadata["Version"]) | |
| 52 | + | except (AttributeError, TypeError, ValueError, json.JSONDecodeError): | |
| 53 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |
| 54 | + | PY | |
| 55 | + | )" || exit $? | |
| 56 | + | downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || { | |
| 57 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |
| 58 | + | exit 2 | |
| 59 | + | } | |
| 60 | + | ||
| 61 | + | python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY' | |
| 62 | + | import json, re, sys | |
| 63 | + | ||
| 64 | + | module, selected_raw, downloaded_raw = sys.argv[1:] | |
| 65 | + | ||
| 66 | + | def fail(): | |
| 67 | + | # Do not expose Go cache locations or other machine-local values. | |
| 68 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |
| 69 | + | ||
| 70 | + | try: | |
| 71 | + | selected = json.loads(selected_raw) | |
| 72 | + | downloaded = json.loads(downloaded_raw) | |
| 73 | + | version = selected["Version"] | |
| 74 | + | if selected.get("Path") != module or downloaded.get("Path") != module: | |
| 75 | + | fail() | |
| 76 | + | if downloaded.get("Version") != version: | |
| 77 | + | fail() | |
| 78 | + | # A selected pseudo-version is an exact immutable selector, never a branch. | |
| 79 | + | match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version) | |
| 80 | + | if not match: | |
| 81 | + | fail() | |
| 82 | + | info_path = downloaded.get("Info") | |
| 83 | + | if not isinstance(info_path, str) or not info_path: | |
| 84 | + | fail() | |
| 85 | + | with open(info_path, encoding="utf-8") as info_file: | |
| 86 | + | info = json.load(info_file) | |
| 87 | + | origin = info.get("Origin") or downloaded.get("Origin") | |
| 88 | + | if info.get("Version") != version or not isinstance(origin, dict): | |
| 89 | + | fail() | |
| 90 | + | revision = origin.get("Hash") | |
| 91 | + | if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk": | |
| 92 | + | fail() | |
| 93 | + | if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision): | |
| 94 | + | fail() | |
| 95 | + | if not revision.startswith(match.group(2)): | |
| 96 | + | fail() | |
| 97 | + | # A named ref can move. Only the immutable hash itself is acceptable. | |
| 98 | + | if origin.get("Ref") not in (None, "", revision): | |
| 99 | + | fail() | |
| 100 | + | except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError): | |
| 101 | + | fail() | |
| 102 | + | ||
| 103 | + | print("\t".join((version, match.group(1), revision))) | |
| 104 | + | PY | |
| 105 | + | } | |
| 36 | 106 | ||
| 37 | 107 | # The artifact destination is caller-controlled. Never empty or recursively | |
| 38 | 108 | # clear it: collection only writes to a newly-created directory whose parent is | |
| @@ -66,10 +136,9 @@ prepare_output | |||
| 66 | 136 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | |
| 67 | 137 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | |
| 68 | 138 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | |
| 69 | - | [[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || { | |
| 70 | - | echo "first-presentation: expected $upstream_module@$upstream_tag" >&2 | |
| 71 | - | exit 2 | |
| 72 | - | } | |
| 139 | + | upstream_provenance="$(resolve_upstream_provenance)" || exit $? | |
| 140 | + | IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance" | |
| 141 | + | readonly upstream_version upstream_tag upstream_revision | |
| 73 | 142 | ||
| 74 | 143 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | |
| 75 | 144 | # outside the committed artifact directory and always remove them. | |
| @@ -80,9 +149,9 @@ cleanup_work_root() { | |||
| 80 | 149 | rm -rf -- "$work_root" | |
| 81 | 150 | } | |
| 82 | 151 | trap cleanup_work_root EXIT | |
| 83 | - | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY' | |
| 152 | + | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY' | |
| 84 | 153 | import hashlib, json, os, platform, subprocess, sys | |
| 85 | - | path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:] | |
| 154 | + | path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:] | |
| 86 | 155 | with open(binary, "rb") as candidate: | |
| 87 | 156 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | |
| 88 | 157 | ||
| @@ -102,7 +171,7 @@ json.dump({ | |||
| 102 | 171 | "binary": {"label": "dumber", "sha256": binary_sha256}, | |
| 103 | 172 | "timeout_seconds": int(timeout), | |
| 104 | 173 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | |
| 105 | - | "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision}, | |
| 174 | + | "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision}, | |
| 106 | 175 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | |
| 107 | 176 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | |
| 108 | 177 | }, open(path, "w"), indent=2, sort_keys=True) | |
| @@ -31,8 +31,78 @@ else | |||||
| 31 | fi | 31 | fi | ||
| 32 | readonly output | 32 | readonly output | ||
| 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | 33 | readonly upstream_module="github.com/bnema/purego-cef2gtk" | ||
| 34 | - | readonly upstream_tag="v0.8.4" | 34 | + | |
| 35 | - | readonly upstream_revision="f217ece342dea3ef2a3f98671fcd16a39ad0037d" | 35 | + | # Resolve the version selected by this checkout, then obtain its immutable VCS |
| 36 | + | # origin from Go's cached module metadata. Do not infer a revision from a tag, | |||
| 37 | + | # a branch, or a truncated pseudo-version suffix. | |||
| 38 | + | resolve_upstream_provenance() { | |||
| 39 | + | local selected_metadata selected_version downloaded_metadata | |||
| 40 | + | ||||
| 41 | + | selected_metadata="$(go list -m -json "$upstream_module" 2>/dev/null)" || { | |||
| 42 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |||
| 43 | + | exit 2 | |||
| 44 | + | } | |||
| 45 | + | selected_version="$(python3 - "$upstream_module" "$selected_metadata" <<'PY' | |||
| 46 | + | import json, sys | |||
| 47 | + | try: | |||
| 48 | + | metadata = json.loads(sys.argv[2]) | |||
| 49 | + | if metadata.get("Path") != sys.argv[1] or not isinstance(metadata.get("Version"), str): | |||
| 50 | + | raise ValueError | |||
| 51 | + | print(metadata["Version"]) | |||
| 52 | + | except (AttributeError, TypeError, ValueError, json.JSONDecodeError): | |||
| 53 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |||
| 54 | + | PY | |||
| 55 | + | )" || exit $? | |||
| 56 | + | downloaded_metadata="$(go mod download -json "$upstream_module@$selected_version" 2>/dev/null)" || { | |||
| 57 | + | echo "first-presentation: immutable module provenance is unavailable" >&2 | |||
| 58 | + | exit 2 | |||
| 59 | + | } | |||
| 60 | + | ||||
| 61 | + | python3 - "$upstream_module" "$selected_metadata" "$downloaded_metadata" <<'PY' | |||
| 62 | + | import json, re, sys | |||
| 63 | + | ||||
| 64 | + | module, selected_raw, downloaded_raw = sys.argv[1:] | |||
| 65 | + | ||||
| 66 | + | def fail(): | |||
| 67 | + | # Do not expose Go cache locations or other machine-local values. | |||
| 68 | + | raise SystemExit("first-presentation: immutable module provenance is unavailable") | |||
| 69 | + | ||||
| 70 | + | try: | |||
| 71 | + | selected = json.loads(selected_raw) | |||
| 72 | + | downloaded = json.loads(downloaded_raw) | |||
| 73 | + | version = selected["Version"] | |||
| 74 | + | if selected.get("Path") != module or downloaded.get("Path") != module: | |||
| 75 | + | fail() | |||
| 76 | + | if downloaded.get("Version") != version: | |||
| 77 | + | fail() | |||
| 78 | + | # A selected pseudo-version is an exact immutable selector, never a branch. | |||
| 79 | + | match = re.fullmatch(r"(v\d+\.\d+\.\d+)-0\.\d{14}-([0-9a-f]{12})", version) | |||
| 80 | + | if not match: | |||
| 81 | + | fail() | |||
| 82 | + | info_path = downloaded.get("Info") | |||
| 83 | + | if not isinstance(info_path, str) or not info_path: | |||
| 84 | + | fail() | |||
| 85 | + | with open(info_path, encoding="utf-8") as info_file: | |||
| 86 | + | info = json.load(info_file) | |||
| 87 | + | origin = info.get("Origin") or downloaded.get("Origin") | |||
| 88 | + | if info.get("Version") != version or not isinstance(origin, dict): | |||
| 89 | + | fail() | |||
| 90 | + | revision = origin.get("Hash") | |||
| 91 | + | if origin.get("VCS") != "git" or origin.get("URL") != "https://github.com/bnema/purego-cef2gtk": | |||
| 92 | + | fail() | |||
| 93 | + | if not isinstance(revision, str) or not re.fullmatch(r"[0-9a-f]{40}", revision): | |||
| 94 | + | fail() | |||
| 95 | + | if not revision.startswith(match.group(2)): | |||
| 96 | + | fail() | |||
| 97 | + | # A named ref can move. Only the immutable hash itself is acceptable. | |||
| 98 | + | if origin.get("Ref") not in (None, "", revision): | |||
| 99 | + | fail() | |||
| 100 | + | except (AttributeError, KeyError, OSError, TypeError, ValueError, json.JSONDecodeError): | |||
| 101 | + | fail() | |||
| 102 | + | ||||
| 103 | + | print("\t".join((version, match.group(1), revision))) | |||
| 104 | + | PY | |||
| 105 | + | } | |||
| 36 | 106 | ||||
| 37 | # The artifact destination is caller-controlled. Never empty or recursively | 107 | # The artifact destination is caller-controlled. Never empty or recursively | ||
| 38 | # clear it: collection only writes to a newly-created directory whose parent is | 108 | # clear it: collection only writes to a newly-created directory whose parent is | ||
| @@ -66,10 +136,9 @@ prepare_output | |||||
| 66 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | 136 | [[ -x "$binary" ]] || { echo "first-presentation: executable not found: $binary" >&2; exit 2; } | ||
| 67 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | 137 | [[ -d "$runtime" ]] || { echo "first-presentation: CEF runtime not found: $runtime" >&2; exit 2; } | ||
| 68 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | 138 | [[ -n "${WAYLAND_DISPLAY:-}${DISPLAY:-}" ]] || { echo "first-presentation: a current Wayland/X11 display is required" >&2; exit 2; } | ||
| 69 | - | [[ "$(go list -m -f '{{.Version}}' "$upstream_module")" == "$upstream_tag" ]] || { | 139 | + | upstream_provenance="$(resolve_upstream_provenance)" || exit $? |
| 70 | - | echo "first-presentation: expected $upstream_module@$upstream_tag" >&2 | 140 | + | IFS=$'\t' read -r upstream_version upstream_tag upstream_revision <<<"$upstream_provenance" |
| 71 | - | exit 2 | 141 | + | readonly upstream_version upstream_tag upstream_revision |
| 72 | - | } | |||
| 73 | 142 | ||||
| 74 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | 143 | # Raw logs and temporary XDG homes may contain machine-local paths. Keep them | ||
| 75 | # outside the committed artifact directory and always remove them. | 144 | # outside the committed artifact directory and always remove them. | ||
| @@ -80,9 +149,9 @@ cleanup_work_root() { | |||||
| 80 | rm -rf -- "$work_root" | 149 | rm -rf -- "$work_root" | ||
| 81 | } | 150 | } | ||
| 82 | trap cleanup_work_root EXIT | 151 | trap cleanup_work_root EXIT | ||
| 83 | - | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_tag" "$upstream_revision" <<'PY' | 152 | + | python3 - "$output/metadata.json" "$binary" "$timeout_seconds" "$upstream_module" "$upstream_version" "$upstream_tag" "$upstream_revision" <<'PY' |
| 84 | import hashlib, json, os, platform, subprocess, sys | 153 | import hashlib, json, os, platform, subprocess, sys | ||
| 85 | - | path, binary, timeout, upstream_module, upstream_tag, upstream_revision = sys.argv[1:] | 154 | + | path, binary, timeout, upstream_module, upstream_version, upstream_tag, upstream_revision = sys.argv[1:] |
| 86 | with open(binary, "rb") as candidate: | 155 | with open(binary, "rb") as candidate: | ||
| 87 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | 156 | binary_sha256 = hashlib.file_digest(candidate, "sha256").hexdigest() | ||
| 88 | 157 | ||||
| @@ -102,7 +171,7 @@ json.dump({ | |||||
| 102 | "binary": {"label": "dumber", "sha256": binary_sha256}, | 171 | "binary": {"label": "dumber", "sha256": binary_sha256}, | ||
| 103 | "timeout_seconds": int(timeout), | 172 | "timeout_seconds": int(timeout), | ||
| 104 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | 173 | "measured_source_revision": subprocess.check_output(["git", "-c", f"safe.directory={os.getcwd()}", "rev-parse", "HEAD"], text=True).strip(), | ||
| 105 | - | "upstream": {"module": upstream_module, "tag": upstream_tag, "revision": upstream_revision}, | 174 | + | "upstream": {"module": upstream_module, "version": upstream_version, "tag": upstream_tag, "revision": upstream_revision}, |
| 106 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | 175 | "comparison": {"os": os_label, "architecture": architecture, "display_protocol": display_protocol, "machine_gpu_profile": gpu_profile}, | ||
| 107 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | 176 | "render_configuration": {"backend": "gdk-dmabuf", "buffer_sharing": "dmabuf", "renderer": "vulkan"} | ||
| 108 | }, open(path, "w"), indent=2, sort_keys=True) | 177 | }, open(path, "w"), indent=2, sort_keys=True) | ||
M vendor/github.com/bnema/purego-cef/cef/bridge.go +8 -13 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/cefadapter/accelerated_paint.go +34 -37 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/dmabuf/frame.go +38 -19 generated file: collapsed
M vendor/github.com/bnema/purego-cef2gtk/internal/gtkgdk/renderer.go +89 -69 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player.go +5 -0 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/player_rt.go +10 -6 generated file: collapsed
M vendor/github.com/bnema/purego-pipewire/internal/core/pwbuffer.go +66 -32 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/driver/driver.go +268 -63 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/db.go +8 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/core/rows.go +13 -0 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/loader/loader.go +23 -5 generated file: collapsed
M vendor/github.com/bnema/purego-sqlite/internal/ports/in/ports_gen.go +3 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +23 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +47 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +33 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +47 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +17 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +34 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +45 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +40 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +61 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +18 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +7 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +69 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +5 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +63 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +10 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +60 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +48 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +38 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +18 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +31 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +24 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +41 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +39 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +34 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +17 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +49 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +20 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +25 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +33 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +35 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +5 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +45 -37 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +123 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +30 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +41 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +64 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +40 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +78 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +15 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +66 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +57 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +36 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +20 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +34 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +28 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +23 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +36 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +27 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +10 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +51 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +10 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +53 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +20 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +21 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +120 -118 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +17 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +40 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +41 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +19 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +42 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmonitor.go +27 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpaintable.go +63 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +47 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +36 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +19 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +11 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +157 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +9 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +95 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +3 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +26 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +9 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +13 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +11 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +102 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +5 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +59 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +96 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +244 -116 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +79 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +4 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +26 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +30 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +23 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +12 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +45 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +31 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +14 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +77 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +16 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +54 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +88 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +35 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +10 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +26 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +16 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +12 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +42 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +14 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +12 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +4 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +214 -82 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +34 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +207 -80 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +6 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +1148 -450 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +34 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +138 -84 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +17 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +9 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +6 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +32 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +40 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +10 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +11 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +52 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +90 -1 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +6 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +26 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +25 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +70 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +6 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +33 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +8 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +2 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +13 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +62 -50 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +31 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +215 -86 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +40 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +11 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +3 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +49 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +12 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnotification.go +26 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/goutputstream.go +86 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpermission.go +33 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableinputstream.go +30 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +7 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +16 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +7 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +35 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +12 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +75 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +19 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +41 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +99 -67 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +19 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +48 -43 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +9 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +46 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +2 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +87 -72 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +11 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +13 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +54 -44 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +19 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +14 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +10 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +18 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +8 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +2 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +40 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +34 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +70 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +5 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +3 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +16 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +10 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +2 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +69 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +25 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +55 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +56 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +51 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +27 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +20 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +143 -58 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +82 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +56 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +69 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +14 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +25 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +36 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +103 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +107 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +45 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +81 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +28 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +83 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +72 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +181 -117 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +51 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +44 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +70 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +50 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +57 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +26 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +84 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +33 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +72 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +40 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +74 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +12 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +33 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +115 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +77 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +132 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +146 -97 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +18 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +8 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +132 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +63 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +62 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +242 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +63 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +31 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +45 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +116 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +54 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +46 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +79 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +136 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +15 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +26 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +141 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +8 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +61 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +43 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +21 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +135 -80 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +35 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +49 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +37 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +67 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +27 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec2.go +53 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec3.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-vec4.go +69 -48 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblendnode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskblurnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbordernode.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskbroadwayrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcaironode.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcairorenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolormatrixnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcolornode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfer.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcomponenttransfernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcompositenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskconicgradientnode.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcontainernode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcopynode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskcrossfadenode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskdebugnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskenums.go +24 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskfillnode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglrenderer.go +4 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshader.go +65 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskglshadernode.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskinsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskisolationnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsklineargradientnode.go +12 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskmasknode.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskopacitynode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskoutsetshadownode.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpastenode.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpath.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskpathpoint.go +19 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskradialgradientnode.go +18 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrenderer.go +12 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrendernode.go +26 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskrepeatnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedclipnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskroundedrect.go +20 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskshadownode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstroke.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskstrokenode.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsksubsurfacenode.go +5 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktextnode.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturenode.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktexturescalenode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransform.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktransformnode.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gsktypes.go +237 -153 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gsk/gskvulkanrenderer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaboutdialog.go +70 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccelgroup.go +18 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessible.go +159 -66 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblehypertext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessiblerange.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaccessibletext.go +21 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkactionbar.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkadjustment.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkalertdialog.go +31 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooser.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserbutton.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkappchooserwidget.go +26 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplication.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkapplicationwindow.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkaspectframe.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkassistant.go +48 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkatcontext.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbinlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbitset.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbookmarklist.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboolfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkborder.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbox.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkboxlayout.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuildable.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilder.go +35 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderlistitemfactory.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbuilderscope.go +14 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkbutton.go +28 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcalendar.go +40 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellarea.go +87 -59 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareabox.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellareacontext.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelleditable.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcelllayout.go +68 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderer.go +56 -42 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendereraccel.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderercombo.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererpixbuf.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererprogress.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspin.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrendererspinner.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertext.go +4 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellrenderertoggle.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcellview.go +21 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterbox.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcenterlayout.go +23 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcheckbutton.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooser.go +33 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialog.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolordialogbutton.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolorutils.go +5 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnview.go +47 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcell.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewcolumn.go +36 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewrow.go +26 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcolumnviewsorter.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcombobox.go +51 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcomboboxtext.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraint.go +24 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintguide.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkconstraintlayout.go +20 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsserror.go +4 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcssprovider.go +18 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcsssection.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomfilter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomlayout.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkcustomsorter.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdebug.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialog.go +21 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdialogerror.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdirectorylist.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragicon.go +8 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdragsource.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdrawingarea.go +12 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropcontrollermotion.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdropdown.go +35 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptarget.go +22 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkdroptargetasync.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditable.go +173 -65 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeditablelabel.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkemojichooser.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentry.go +119 -76 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrybuffer.go +22 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkentrycompletion.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkenums.go +70 -147 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontroller.go +24 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerfocus.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerkey.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerlegacy.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollermotion.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkeventcontrollerscroll.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpander.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkexpression.go +50 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooser.go +177 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechoosernative.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilechooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfiledialog.go +54 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilefilter.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilelauncher.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfilterlistmodel.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixed.go +14 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfixedlayout.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflattenlistmodel.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkflowbox.go +79 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontbutton.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooser.go +132 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserdialog.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontchooserwidget.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialog.go +32 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkfontdialogbutton.go +30 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkframe.go +16 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesture.go +33 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureclick.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturedrag.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturelongpress.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturepan.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturerotate.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturesingle.go +17 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturestylus.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgestureswipe.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgesturezoom.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkglarea.go +39 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgraphicsoffload.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgrid.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridlayout.go +43 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkgridview.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkheaderbar.go +23 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconpaintable.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkicontheme.go +34 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkiconview.go +123 -78 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimage.go +37 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontext.go +31 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimcontextsimple.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkimmulticontext.go +6 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinfobar.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkinscription.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklabel.go +98 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutchild.go +3 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklayoutmanager.go +11 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklevelbar.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklinkbutton.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbase.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistbox.go +88 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistheader.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitem.go +29 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistitemfactory.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkliststore.go +41 -34 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklistview.go +29 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtklockbutton.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmain.go +16 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmaplistmodel.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediacontrols.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediafile.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmediastream.go +69 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmenubutton.go +53 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmessagedialog.go +11 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmountoperation.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultifilter.go +9 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultiselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkmultisorter.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknative.go +34 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknativedialog.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknoselection.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknotebook.go +87 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtknumericsorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkorientable.go +12 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlay.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkoverlaylayout.go +11 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpadcontroller.go +7 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetup.go +47 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpagesetupunixdialog.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpaned.go +32 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpapersize.go +50 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentry.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpasswordentrybuffer.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpicture.go +39 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopover.go +41 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopoverbin.go +19 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenu.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkpopovermenubar.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintcontext.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintdialog.go +36 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprinter.go +48 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintjob.go +57 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperation.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintoperationpreview.go +19 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintsettings.go +145 -89 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprintunixdialog.go +33 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkprogressbar.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrange.go +44 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrecentmanager.go +65 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrender.go +24 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkrevealer.go +20 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkroot.go +19 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscale.go +28 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscalebutton.go +20 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollable.go +61 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrollbar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkscrolledwindow.go +61 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchbar.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksearchentry.go +21 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksectionmodel.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionfiltermodel.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkselectionmodel.go +75 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkseparator.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksettings.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcut.go +13 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutaction.go +25 -47 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutcontroller.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutlabel.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutmanager.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsgroup.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutssection.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutsshortcut.go +8 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcutswindow.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshortcuttrigger.go +34 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkshow.go +5 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksignallistitemfactory.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksingleselection.go +18 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizegroup.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksizerequest.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkslicelistmodel.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksnapshot.go +112 -71 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksorter.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksortlistmodel.go +17 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinbutton.go +56 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkspinner.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstack.go +68 -55 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstacksidebar.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstackswitcher.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstatusbar.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringfilter.go +18 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringlist.go +18 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstringsorter.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstylecontext.go +43 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkstyleprovider.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksvg.go +41 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkswitch.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtksymbolicpaintable.go +12 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestatcontext.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktestutils.go +9 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktext.go +69 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextbuffer.go +138 -85 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextchild.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextiter.go +179 -104 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextmark.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttag.go +8 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktexttagtable.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktextview.go +145 -92 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktogglebutton.go +12 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktooltip.go +15 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreednd.go +34 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeexpander.go +21 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistmodel.go +26 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreelistrowsorter.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodel.go +261 -113 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelfilter.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreemodelsort.go +17 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeselection.go +40 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreesortable.go +40 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreestore.go +45 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeview.go +176 -105 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktreeviewcolumn.go +102 -68 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtktypes.go +74 -53 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkurilauncher.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkversion.go +13 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvideo.go +28 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkviewport.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkvolumebutton.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidget.go +357 -207 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwidgetpaintable.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindow.go +121 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowcontrols.go +16 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowgroup.go +8 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/gtkwindowhandle.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gtk/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCClass.go +15 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCContext.go +32 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCException.go +23 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCOptions.go +32 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCValue.go +93 -73 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVersion.go +7 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCVirtualMachine.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/javascriptcore/JSCWeakValue.go +3 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/layershell/gtk4-layer-shell.go +52 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/main.go +2 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-attributes.go +160 -108 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-bidi-type.go +9 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-break.go +10 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-color.go +11 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-context.go +45 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-coverage.go +16 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-direction.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-font.go +153 -112 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontmap.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontset-simple.go +6 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-fontset.go +6 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-glyph-item.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-glyph.go +32 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-gravity.go +10 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-item.go +19 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-language.go +6 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-layout.go +201 -131 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-markup.go +4 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-matrix.go +27 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-renderer.go +39 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-script.go +14 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-tabs.go +34 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-types.go +17 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/pango/pango-utils.go +38 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-basic.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-digest.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-basic.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain-digest.go +6 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-domain.go +19 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-manager.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-negotiate.go +3 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth-ntlm.go +10 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-auth.go +32 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cache.go +16 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-content-decoder.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-content-sniffer.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-db.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar-text.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie-jar.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-cookie.go +15 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-date-utils.go +5 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-form.go +12 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-headers.go +30 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer-db.go +2 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-hsts-enforcer.go +14 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-logger.go +13 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message-body.go +30 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message-headers.go +68 -52 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-message.go +90 -64 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-multipart-input-stream.go +8 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-multipart.go +19 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-server-message.go +42 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-server.go +46 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-session-feature.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-session.go +74 -60 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-status.go +4 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-tld.go +6 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-types.go +113 -75 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-uri-utils.go +7 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-version.go +9 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-connection.go +39 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-deflate.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension-manager.go +7 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket-extension.go +20 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/soup/soup-websocket.go +13 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitApplicationInfo.go +17 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitAuthenticationRequest.go +32 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitAutomationSession.go +10 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardList.go +17 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitBackForwardListItem.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitClipboardPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitColorChooserRequest.go +13 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenu.go +31 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuActions.go +13 -1 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitContextMenuItem.go +20 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitCookieManager.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitCredential.go +23 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitDeviceInfoPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitDownload.go +22 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitEditorState.go +16 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitError.go +32 -39 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFaviconDatabase.go +13 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFeature.go +29 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFileChooserRequest.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFindController.go +21 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitFormSubmissionRequest.go +7 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationManager.go +26 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitGeolocationPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitHitTestResult.go +28 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitImage.go +11 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitInputMethodContext.go +38 -38 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitMediaKeySystemPermissionRequest.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitMemoryPressureSettings.go +29 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationAction.go +21 -22 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNavigationPolicyDecision.go +5 -16 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkProxySettings.go +12 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNetworkSession.go +34 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotification.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitNotificationPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenu.go +14 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitOptionMenuItem.go +19 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionRequest.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPermissionStateQuery.go +14 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPointerLockPermissionRequest.go +11 -0 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPolicyDecision.go +11 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitPrintOperation.go +15 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitResponsePolicyDecision.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitScriptDialog.go +20 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityManager.go +27 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSecurityOrigin.go +19 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitSettings.go +255 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIRequest.go +12 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIResponse.go +15 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeRequest.go +21 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURISchemeResponse.go +10 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitURIUtilities.go +5 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContent.go +30 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentFilterStore.go +22 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserContentManager.go +39 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMediaPermissionRequest.go +9 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitUserMessage.go +15 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitVersion.go +9 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebContext.go +41 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtension.go +50 -41 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebExtensionMatchPattern.go +34 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebInspector.go +20 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebResource.go +9 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/webkit/WebKitWebView.go +159 -118
| @@ -1542,6 +1542,7 @@ type SnapshotOptions int | |||
| 1542 | 1542 | var xSnapshotOptionsGLibType func() types.GType | |
| 1543 | 1543 | ||
| 1544 | 1544 | func SnapshotOptionsGLibType() types.GType { | |
| 1545 | + | core.LazyRegister(&xSnapshotOptionsGLibType, "WEBKIT", "webkit_snapshot_options_get_type", false) | |
| 1545 | 1546 | return xSnapshotOptionsGLibType() | |
| 1546 | 1547 | } | |
| 1547 | 1548 | ||
| @@ -1565,6 +1566,7 @@ type InsecureContentEvent int | |||
| 1565 | 1566 | var xInsecureContentEventGLibType func() types.GType | |
| 1566 | 1567 | ||
| 1567 | 1568 | func InsecureContentEventGLibType() types.GType { | |
| 1569 | + | core.LazyRegister(&xInsecureContentEventGLibType, "WEBKIT", "webkit_insecure_content_event_get_type", false) | |
| 1568 | 1570 | return xInsecureContentEventGLibType() | |
| 1569 | 1571 | } | |
| 1570 | 1572 | ||
| @@ -1587,6 +1589,7 @@ type LoadEvent int | |||
| 1587 | 1589 | var xLoadEventGLibType func() types.GType | |
| 1588 | 1590 | ||
| 1589 | 1591 | func LoadEventGLibType() types.GType { | |
| 1592 | + | core.LazyRegister(&xLoadEventGLibType, "WEBKIT", "webkit_load_event_get_type", false) | |
| 1590 | 1593 | return xLoadEventGLibType() | |
| 1591 | 1594 | } | |
| 1592 | 1595 | ||
| @@ -1616,6 +1619,7 @@ type MediaCaptureState int | |||
| 1616 | 1619 | var xMediaCaptureStateGLibType func() types.GType | |
| 1617 | 1620 | ||
| 1618 | 1621 | func MediaCaptureStateGLibType() types.GType { | |
| 1622 | + | core.LazyRegister(&xMediaCaptureStateGLibType, "WEBKIT", "webkit_media_capture_state_get_type", false) | |
| 1619 | 1623 | return xMediaCaptureStateGLibType() | |
| 1620 | 1624 | } | |
| 1621 | 1625 | ||
| @@ -1636,6 +1640,7 @@ type PolicyDecisionType int | |||
| 1636 | 1640 | var xPolicyDecisionTypeGLibType func() types.GType | |
| 1637 | 1641 | ||
| 1638 | 1642 | func PolicyDecisionTypeGLibType() types.GType { | |
| 1643 | + | core.LazyRegister(&xPolicyDecisionTypeGLibType, "WEBKIT", "webkit_policy_decision_type_get_type", false) | |
| 1639 | 1644 | return xPolicyDecisionTypeGLibType() | |
| 1640 | 1645 | } | |
| 1641 | 1646 | ||
| @@ -1675,6 +1680,7 @@ type SaveMode int | |||
| 1675 | 1680 | var xSaveModeGLibType func() types.GType | |
| 1676 | 1681 | ||
| 1677 | 1682 | func SaveModeGLibType() types.GType { | |
| 1683 | + | core.LazyRegister(&xSaveModeGLibType, "WEBKIT", "webkit_save_mode_get_type", false) | |
| 1678 | 1684 | return xSaveModeGLibType() | |
| 1679 | 1685 | } | |
| 1680 | 1686 | ||
| @@ -1691,6 +1697,7 @@ type SnapshotRegion int | |||
| 1691 | 1697 | var xSnapshotRegionGLibType func() types.GType | |
| 1692 | 1698 | ||
| 1693 | 1699 | func SnapshotRegionGLibType() types.GType { | |
| 1700 | + | core.LazyRegister(&xSnapshotRegionGLibType, "WEBKIT", "webkit_snapshot_region_get_type", false) | |
| 1694 | 1701 | return xSnapshotRegionGLibType() | |
| 1695 | 1702 | } | |
| 1696 | 1703 | ||
| @@ -1710,6 +1717,7 @@ type WebExtensionMode int | |||
| 1710 | 1717 | var xWebExtensionModeGLibType func() types.GType | |
| 1711 | 1718 | ||
| 1712 | 1719 | func WebExtensionModeGLibType() types.GType { | |
| 1720 | + | core.LazyRegister(&xWebExtensionModeGLibType, "WEBKIT", "webkit_web_extension_mode_get_type", false) | |
| 1713 | 1721 | return xWebExtensionModeGLibType() | |
| 1714 | 1722 | } | |
| 1715 | 1723 | ||
| @@ -1729,6 +1737,7 @@ type WebProcessTerminationReason int | |||
| 1729 | 1737 | var xWebProcessTerminationReasonGLibType func() types.GType | |
| 1730 | 1738 | ||
| 1731 | 1739 | func WebProcessTerminationReasonGLibType() types.GType { | |
| 1740 | + | core.LazyRegister(&xWebProcessTerminationReasonGLibType, "WEBKIT", "webkit_web_process_termination_reason_get_type", false) | |
| 1732 | 1741 | return xWebProcessTerminationReasonGLibType() | |
| 1733 | 1742 | } | |
| 1734 | 1743 | ||
| @@ -1759,6 +1768,7 @@ type WebView struct { | |||
| 1759 | 1768 | var xWebViewGLibType func() types.GType | |
| 1760 | 1769 | ||
| 1761 | 1770 | func WebViewGLibType() types.GType { | |
| 1771 | + | core.LazyRegister(&xWebViewGLibType, "WEBKIT", "webkit_web_view_get_type", false) | |
| 1762 | 1772 | return xWebViewGLibType() | |
| 1763 | 1773 | } | |
| 1764 | 1774 | ||
| @@ -1778,6 +1788,7 @@ var xNewWebView func() uintptr | |||
| 1778 | 1788 | // webkit_web_view_new_with_user_content_manager(), and | |
| 1779 | 1789 | // webkit_web_view_new_with_settings(). | |
| 1780 | 1790 | func NewWebView() *WebView { | |
| 1791 | + | core.LazyRegister(&xNewWebView, "WEBKIT", "webkit_web_view_new", false) | |
| 1781 | 1792 | var cls *WebView | |
| 1782 | 1793 | ||
| 1783 | 1794 | cret := xNewWebView() | |
| @@ -1856,6 +1867,8 @@ var xWebViewCallAsyncJavascriptFunction func(uintptr, string, int, *glib.Variant | |||
| 1856 | 1867 | // | |
| 1857 | 1868 | // ``` | |
| 1858 | 1869 | func (x *WebView) CallAsyncJavascriptFunction(BodyVar string, LengthVar int, ArgumentsVar *glib.Variant, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 1870 | + | core.LazyRegister(&xWebViewCallAsyncJavascriptFunction, "WEBKIT", "webkit_web_view_call_async_javascript_function", false) | |
| 1871 | + | ||
| 1859 | 1872 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | |
| 1860 | 1873 | defer core.GFreeNullable(WorldNameVarPtr) | |
| 1861 | 1874 | ||
| @@ -1869,6 +1882,7 @@ var xWebViewCallAsyncJavascriptFunctionFinish func(uintptr, uintptr, **glib.Erro | |||
| 1869 | 1882 | ||
| 1870 | 1883 | // Finish an asynchronous operation started with webkit_web_view_call_async_javascript_function(). | |
| 1871 | 1884 | func (x *WebView) CallAsyncJavascriptFunctionFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | |
| 1885 | + | core.LazyRegister(&xWebViewCallAsyncJavascriptFunctionFinish, "WEBKIT", "webkit_web_view_call_async_javascript_function_finish", false) | |
| 1872 | 1886 | var cls *javascriptcore.Value | |
| 1873 | 1887 | var cerr *glib.Error | |
| 1874 | 1888 | ||
| @@ -1892,6 +1906,8 @@ var xWebViewCanExecuteEditingCommand func(uintptr, string, uintptr, uintptr, uin | |||
| 1892 | 1906 | // When the operation is finished, @callback will be called. You can then call | |
| 1893 | 1907 | // webkit_web_view_can_execute_editing_command_finish() to get the result of the operation. | |
| 1894 | 1908 | func (x *WebView) CanExecuteEditingCommand(CommandVar string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 1909 | + | core.LazyRegister(&xWebViewCanExecuteEditingCommand, "WEBKIT", "webkit_web_view_can_execute_editing_command", false) | |
| 1910 | + | ||
| 1895 | 1911 | xWebViewCanExecuteEditingCommand(x.GoPointer(), CommandVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 1896 | 1912 | } | |
| 1897 | 1913 | ||
| @@ -1899,6 +1915,7 @@ var xWebViewCanExecuteEditingCommandFinish func(uintptr, uintptr, **glib.Error) | |||
| 1899 | 1915 | ||
| 1900 | 1916 | // Finish an asynchronous operation started with webkit_web_view_can_execute_editing_command(). | |
| 1901 | 1917 | func (x *WebView) CanExecuteEditingCommandFinish(ResultVar gio.AsyncResult) (bool, error) { | |
| 1918 | + | core.LazyRegister(&xWebViewCanExecuteEditingCommandFinish, "WEBKIT", "webkit_web_view_can_execute_editing_command_finish", false) | |
| 1902 | 1919 | var cerr *glib.Error | |
| 1903 | 1920 | ||
| 1904 | 1921 | cret := xWebViewCanExecuteEditingCommandFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -1912,6 +1929,8 @@ var xWebViewCanGoBack func(uintptr) bool | |||
| 1912 | 1929 | ||
| 1913 | 1930 | // Determines whether @web_view has a previous history item. | |
| 1914 | 1931 | func (x *WebView) CanGoBack() bool { | |
| 1932 | + | core.LazyRegister(&xWebViewCanGoBack, "WEBKIT", "webkit_web_view_can_go_back", false) | |
| 1933 | + | ||
| 1915 | 1934 | cret := xWebViewCanGoBack(x.GoPointer()) | |
| 1916 | 1935 | return cret | |
| 1917 | 1936 | } | |
| @@ -1920,6 +1939,8 @@ var xWebViewCanGoForward func(uintptr) bool | |||
| 1920 | 1939 | ||
| 1921 | 1940 | // Determines whether @web_view has a next history item. | |
| 1922 | 1941 | func (x *WebView) CanGoForward() bool { | |
| 1942 | + | core.LazyRegister(&xWebViewCanGoForward, "WEBKIT", "webkit_web_view_can_go_forward", false) | |
| 1943 | + | ||
| 1923 | 1944 | cret := xWebViewCanGoForward(x.GoPointer()) | |
| 1924 | 1945 | return cret | |
| 1925 | 1946 | } | |
| @@ -1928,6 +1949,8 @@ var xWebViewCanShowMimeType func(uintptr, string) bool | |||
| 1928 | 1949 | ||
| 1929 | 1950 | // Whether or not a MIME type can be displayed in @web_view. | |
| 1930 | 1951 | func (x *WebView) CanShowMimeType(MimeTypeVar string) bool { | |
| 1952 | + | core.LazyRegister(&xWebViewCanShowMimeType, "WEBKIT", "webkit_web_view_can_show_mime_type", false) | |
| 1953 | + | ||
| 1931 | 1954 | cret := xWebViewCanShowMimeType(x.GoPointer(), MimeTypeVar) | |
| 1932 | 1955 | return cret | |
| 1933 | 1956 | } | |
| @@ -1936,6 +1959,7 @@ var xWebViewDownloadUri func(uintptr, string) uintptr | |||
| 1936 | 1959 | ||
| 1937 | 1960 | // Requests downloading of the specified URI string for @web_view. | |
| 1938 | 1961 | func (x *WebView) DownloadUri(UriVar string) *Download { | |
| 1962 | + | core.LazyRegister(&xWebViewDownloadUri, "WEBKIT", "webkit_web_view_download_uri", false) | |
| 1939 | 1963 | var cls *Download | |
| 1940 | 1964 | ||
| 1941 | 1965 | cret := xWebViewDownloadUri(x.GoPointer(), UriVar) | |
| @@ -2010,6 +2034,8 @@ var xWebViewEvaluateJavascript func(uintptr, string, int, uintptr, uintptr, uint | |||
| 2010 | 2034 | // | |
| 2011 | 2035 | // ``` | |
| 2012 | 2036 | func (x *WebView) EvaluateJavascript(ScriptVar string, LengthVar int, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 2037 | + | core.LazyRegister(&xWebViewEvaluateJavascript, "WEBKIT", "webkit_web_view_evaluate_javascript", false) | |
| 2038 | + | ||
| 2013 | 2039 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | |
| 2014 | 2040 | defer core.GFreeNullable(WorldNameVarPtr) | |
| 2015 | 2041 | ||
| @@ -2023,6 +2049,7 @@ var xWebViewEvaluateJavascriptFinish func(uintptr, uintptr, **glib.Error) uintpt | |||
| 2023 | 2049 | ||
| 2024 | 2050 | // Finish an asynchronous operation started with webkit_web_view_evaluate_javascript(). | |
| 2025 | 2051 | func (x *WebView) EvaluateJavascriptFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | |
| 2052 | + | core.LazyRegister(&xWebViewEvaluateJavascriptFinish, "WEBKIT", "webkit_web_view_evaluate_javascript_finish", false) | |
| 2026 | 2053 | var cls *javascriptcore.Value | |
| 2027 | 2054 | var cerr *glib.Error | |
| 2028 | 2055 | ||
| @@ -2046,6 +2073,8 @@ var xWebViewExecuteEditingCommand func(uintptr, string) | |||
| 2046 | 2073 | // You can use webkit_web_view_can_execute_editing_command() to check whether | |
| 2047 | 2074 | // it's possible to execute the command. | |
| 2048 | 2075 | func (x *WebView) ExecuteEditingCommand(CommandVar string) { | |
| 2076 | + | core.LazyRegister(&xWebViewExecuteEditingCommand, "WEBKIT", "webkit_web_view_execute_editing_command", false) | |
| 2077 | + | ||
| 2049 | 2078 | xWebViewExecuteEditingCommand(x.GoPointer(), CommandVar) | |
| 2050 | 2079 | } | |
| 2051 | 2080 | ||
| @@ -2057,6 +2086,8 @@ var xWebViewExecuteEditingCommandWithArgument func(uintptr, string, string) | |||
| 2057 | 2086 | // webkit_web_view_can_execute_editing_command() to check whether | |
| 2058 | 2087 | // it's possible to execute the command. | |
| 2059 | 2088 | func (x *WebView) ExecuteEditingCommandWithArgument(CommandVar string, ArgumentVar string) { | |
| 2089 | + | core.LazyRegister(&xWebViewExecuteEditingCommandWithArgument, "WEBKIT", "webkit_web_view_execute_editing_command_with_argument", false) | |
| 2090 | + | ||
| 2060 | 2091 | xWebViewExecuteEditingCommandWithArgument(x.GoPointer(), CommandVar, ArgumentVar) | |
| 2061 | 2092 | } | |
| 2062 | 2093 | ||
| @@ -2064,6 +2095,8 @@ var xWebViewGetAutomationPresentationType func(uintptr) AutomationBrowsingContex | |||
| 2064 | 2095 | ||
| 2065 | 2096 | // Get the presentation type of #WebKitWebView when created for automation. | |
| 2066 | 2097 | func (x *WebView) GetAutomationPresentationType() AutomationBrowsingContextPresentation { | |
| 2098 | + | core.LazyRegister(&xWebViewGetAutomationPresentationType, "WEBKIT", "webkit_web_view_get_automation_presentation_type", false) | |
| 2099 | + | ||
| 2067 | 2100 | cret := xWebViewGetAutomationPresentationType(x.GoPointer()) | |
| 2068 | 2101 | return cret | |
| 2069 | 2102 | } | |
| @@ -2074,6 +2107,7 @@ var xWebViewGetBackForwardList func(uintptr) uintptr | |||
| 2074 | 2107 | // | |
| 2075 | 2108 | // The #WebKitBackForwardList is owned by the #WebKitWebView. | |
| 2076 | 2109 | func (x *WebView) GetBackForwardList() *BackForwardList { | |
| 2110 | + | core.LazyRegister(&xWebViewGetBackForwardList, "WEBKIT", "webkit_web_view_get_back_forward_list", false) | |
| 2077 | 2111 | var cls *BackForwardList | |
| 2078 | 2112 | ||
| 2079 | 2113 | cret := xWebViewGetBackForwardList(x.GoPointer()) | |
| @@ -2095,6 +2129,8 @@ var xWebViewGetBackgroundColor func(uintptr, *gdk.RGBA) | |||
| 2095 | 2129 | // the actual contents are rendered. | |
| 2096 | 2130 | // For more information see also webkit_web_view_set_background_color() | |
| 2097 | 2131 | func (x *WebView) GetBackgroundColor(RgbaVar *gdk.RGBA) { | |
| 2132 | + | core.LazyRegister(&xWebViewGetBackgroundColor, "WEBKIT", "webkit_web_view_get_background_color", false) | |
| 2133 | + | ||
| 2098 | 2134 | xWebViewGetBackgroundColor(x.GoPointer(), RgbaVar) | |
| 2099 | 2135 | } | |
| 2100 | 2136 | ||
| @@ -2102,6 +2138,8 @@ var xWebViewGetCameraCaptureState func(uintptr) MediaCaptureState | |||
| 2102 | 2138 | ||
| 2103 | 2139 | // Get the camera capture state of a #WebKitWebView. | |
| 2104 | 2140 | func (x *WebView) GetCameraCaptureState() MediaCaptureState { | |
| 2141 | + | core.LazyRegister(&xWebViewGetCameraCaptureState, "WEBKIT", "webkit_web_view_get_camera_capture_state", false) | |
| 2142 | + | ||
| 2105 | 2143 | cret := xWebViewGetCameraCaptureState(x.GoPointer()) | |
| 2106 | 2144 | return cret | |
| 2107 | 2145 | } | |
| @@ -2110,6 +2148,7 @@ var xWebViewGetContext func(uintptr) uintptr | |||
| 2110 | 2148 | ||
| 2111 | 2149 | // Gets the web context of @web_view. | |
| 2112 | 2150 | func (x *WebView) GetContext() *WebContext { | |
| 2151 | + | core.LazyRegister(&xWebViewGetContext, "WEBKIT", "webkit_web_view_get_context", false) | |
| 2113 | 2152 | var cls *WebContext | |
| 2114 | 2153 | ||
| 2115 | 2154 | cret := xWebViewGetContext(x.GoPointer()) | |
| @@ -2127,6 +2166,8 @@ var xWebViewGetCustomCharset func(uintptr) string | |||
| 2127 | 2166 | ||
| 2128 | 2167 | // Returns the current custom character encoding name of @web_view. | |
| 2129 | 2168 | func (x *WebView) GetCustomCharset() string { | |
| 2169 | + | core.LazyRegister(&xWebViewGetCustomCharset, "WEBKIT", "webkit_web_view_get_custom_charset", false) | |
| 2170 | + | ||
| 2130 | 2171 | cret := xWebViewGetCustomCharset(x.GoPointer()) | |
| 2131 | 2172 | return cret | |
| 2132 | 2173 | } | |
| @@ -2135,6 +2176,8 @@ var xWebViewGetDefaultContentSecurityPolicy func(uintptr) string | |||
| 2135 | 2176 | ||
| 2136 | 2177 | // Gets the configured default Content-Security-Policy. | |
| 2137 | 2178 | func (x *WebView) GetDefaultContentSecurityPolicy() string { | |
| 2179 | + | core.LazyRegister(&xWebViewGetDefaultContentSecurityPolicy, "WEBKIT", "webkit_web_view_get_default_content_security_policy", false) | |
| 2180 | + | ||
| 2138 | 2181 | cret := xWebViewGetDefaultContentSecurityPolicy(x.GoPointer()) | |
| 2139 | 2182 | return cret | |
| 2140 | 2183 | } | |
| @@ -2143,6 +2186,8 @@ var xWebViewGetDisplayCaptureState func(uintptr) MediaCaptureState | |||
| 2143 | 2186 | ||
| 2144 | 2187 | // Get the display capture state of a #WebKitWebView. | |
| 2145 | 2188 | func (x *WebView) GetDisplayCaptureState() MediaCaptureState { | |
| 2189 | + | core.LazyRegister(&xWebViewGetDisplayCaptureState, "WEBKIT", "webkit_web_view_get_display_capture_state", false) | |
| 2190 | + | ||
| 2146 | 2191 | cret := xWebViewGetDisplayCaptureState(x.GoPointer()) | |
| 2147 | 2192 | return cret | |
| 2148 | 2193 | } | |
| @@ -2151,6 +2196,7 @@ var xWebViewGetEditorState func(uintptr) uintptr | |||
| 2151 | 2196 | ||
| 2152 | 2197 | // Gets the web editor state of @web_view. | |
| 2153 | 2198 | func (x *WebView) GetEditorState() *EditorState { | |
| 2199 | + | core.LazyRegister(&xWebViewGetEditorState, "WEBKIT", "webkit_web_view_get_editor_state", false) | |
| 2154 | 2200 | var cls *EditorState | |
| 2155 | 2201 | ||
| 2156 | 2202 | cret := xWebViewGetEditorState(x.GoPointer()) | |
| @@ -2171,6 +2217,8 @@ var xWebViewGetEstimatedLoadProgress func(uintptr) float64 | |||
| 2171 | 2217 | // You can monitor the estimated progress of a load operation by | |
| 2172 | 2218 | // connecting to the notify::estimated-load-progress signal of @web_view. | |
| 2173 | 2219 | func (x *WebView) GetEstimatedLoadProgress() float64 { | |
| 2220 | + | core.LazyRegister(&xWebViewGetEstimatedLoadProgress, "WEBKIT", "webkit_web_view_get_estimated_load_progress", false) | |
| 2221 | + | ||
| 2174 | 2222 | cret := xWebViewGetEstimatedLoadProgress(x.GoPointer()) | |
| 2175 | 2223 | return cret | |
| 2176 | 2224 | } | |
| @@ -2183,6 +2231,7 @@ var xWebViewGetFavicon func(uintptr) uintptr | |||
| 2183 | 2231 | // connect to notify::favicon signal of @web_view to be notified when | |
| 2184 | 2232 | // the favicon is available. | |
| 2185 | 2233 | func (x *WebView) GetFavicon() *gdk.Texture { | |
| 2234 | + | core.LazyRegister(&xWebViewGetFavicon, "WEBKIT", "webkit_web_view_get_favicon", false) | |
| 2186 | 2235 | var cls *gdk.Texture | |
| 2187 | 2236 | ||
| 2188 | 2237 | cret := xWebViewGetFavicon(x.GoPointer()) | |
| @@ -2203,6 +2252,7 @@ var xWebViewGetFindController func(uintptr) uintptr | |||
| 2203 | 2252 | // Gets the #WebKitFindController that will allow the caller to query | |
| 2204 | 2253 | // the #WebKitWebView for the text to look for. | |
| 2205 | 2254 | func (x *WebView) GetFindController() *FindController { | |
| 2255 | + | core.LazyRegister(&xWebViewGetFindController, "WEBKIT", "webkit_web_view_get_find_controller", false) | |
| 2206 | 2256 | var cls *FindController | |
| 2207 | 2257 | ||
| 2208 | 2258 | cret := xWebViewGetFindController(x.GoPointer()) | |
| @@ -2222,6 +2272,7 @@ var xWebViewGetInputMethodContext func(uintptr) uintptr | |||
| 2222 | 2272 | // | |
| 2223 | 2273 | // Get the #WebKitInputMethodContext currently in use by @web_view, or %NULL if no input method is being used. | |
| 2224 | 2274 | func (x *WebView) GetInputMethodContext() *InputMethodContext { | |
| 2275 | + | core.LazyRegister(&xWebViewGetInputMethodContext, "WEBKIT", "webkit_web_view_get_input_method_context", false) | |
| 2225 | 2276 | var cls *InputMethodContext | |
| 2226 | 2277 | ||
| 2227 | 2278 | cret := xWebViewGetInputMethodContext(x.GoPointer()) | |
| @@ -2239,6 +2290,7 @@ var xWebViewGetInspector func(uintptr) uintptr | |||
| 2239 | 2290 | ||
| 2240 | 2291 | // Get the #WebKitWebInspector associated to @web_view | |
| 2241 | 2292 | func (x *WebView) GetInspector() *WebInspector { | |
| 2293 | + | core.LazyRegister(&xWebViewGetInspector, "WEBKIT", "webkit_web_view_get_inspector", false) | |
| 2242 | 2294 | var cls *WebInspector | |
| 2243 | 2295 | ||
| 2244 | 2296 | cret := xWebViewGetInspector(x.GoPointer()) | |
| @@ -2256,6 +2308,8 @@ var xWebViewGetIsMuted func(uintptr) bool | |||
| 2256 | 2308 | ||
| 2257 | 2309 | // Gets the mute state of @web_view. | |
| 2258 | 2310 | func (x *WebView) GetIsMuted() bool { | |
| 2311 | + | core.LazyRegister(&xWebViewGetIsMuted, "WEBKIT", "webkit_web_view_get_is_muted", false) | |
| 2312 | + | ||
| 2259 | 2313 | cret := xWebViewGetIsMuted(x.GoPointer()) | |
| 2260 | 2314 | return cret | |
| 2261 | 2315 | } | |
| @@ -2264,6 +2318,8 @@ var xWebViewGetIsWebProcessResponsive func(uintptr) bool | |||
| 2264 | 2318 | ||
| 2265 | 2319 | // Get whether the current web process of a #WebKitWebView is responsive. | |
| 2266 | 2320 | func (x *WebView) GetIsWebProcessResponsive() bool { | |
| 2321 | + | core.LazyRegister(&xWebViewGetIsWebProcessResponsive, "WEBKIT", "webkit_web_view_get_is_web_process_responsive", false) | |
| 2322 | + | ||
| 2267 | 2323 | cret := xWebViewGetIsWebProcessResponsive(x.GoPointer()) | |
| 2268 | 2324 | return cret | |
| 2269 | 2325 | } | |
| @@ -2272,6 +2328,7 @@ var xWebViewGetMainResource func(uintptr) uintptr | |||
| 2272 | 2328 | ||
| 2273 | 2329 | // Return the main resource of @web_view. | |
| 2274 | 2330 | func (x *WebView) GetMainResource() *WebResource { | |
| 2331 | + | core.LazyRegister(&xWebViewGetMainResource, "WEBKIT", "webkit_web_view_get_main_resource", false) | |
| 2275 | 2332 | var cls *WebResource | |
| 2276 | 2333 | ||
| 2277 | 2334 | cret := xWebViewGetMainResource(x.GoPointer()) | |
| @@ -2289,6 +2346,8 @@ var xWebViewGetMicrophoneCaptureState func(uintptr) MediaCaptureState | |||
| 2289 | 2346 | ||
| 2290 | 2347 | // Get the microphone capture state of a #WebKitWebView. | |
| 2291 | 2348 | func (x *WebView) GetMicrophoneCaptureState() MediaCaptureState { | |
| 2349 | + | core.LazyRegister(&xWebViewGetMicrophoneCaptureState, "WEBKIT", "webkit_web_view_get_microphone_capture_state", false) | |
| 2350 | + | ||
| 2292 | 2351 | cret := xWebViewGetMicrophoneCaptureState(x.GoPointer()) | |
| 2293 | 2352 | return cret | |
| 2294 | 2353 | } | |
| @@ -2297,6 +2356,7 @@ var xWebViewGetNetworkSession func(uintptr) uintptr | |||
| 2297 | 2356 | ||
| 2298 | 2357 | // Get the #WebKitNetworkSession associated to @web_view. | |
| 2299 | 2358 | func (x *WebView) GetNetworkSession() *NetworkSession { | |
| 2359 | + | core.LazyRegister(&xWebViewGetNetworkSession, "WEBKIT", "webkit_web_view_get_network_session", false) | |
| 2300 | 2360 | var cls *NetworkSession | |
| 2301 | 2361 | ||
| 2302 | 2362 | cret := xWebViewGetNetworkSession(x.GoPointer()) | |
| @@ -2315,6 +2375,8 @@ var xWebViewGetPageId func(uintptr) uint64 | |||
| 2315 | 2375 | // Get the identifier of the #WebKitWebPage corresponding to | |
| 2316 | 2376 | // the #WebKitWebView | |
| 2317 | 2377 | func (x *WebView) GetPageId() uint64 { | |
| 2378 | + | core.LazyRegister(&xWebViewGetPageId, "WEBKIT", "webkit_web_view_get_page_id", false) | |
| 2379 | + | ||
| 2318 | 2380 | cret := xWebViewGetPageId(x.GoPointer()) | |
| 2319 | 2381 | return cret | |
| 2320 | 2382 | } | |
| @@ -2323,6 +2385,8 @@ var xWebViewGetSessionState func(uintptr) uintptr | |||
| 2323 | 2385 | ||
| 2324 | 2386 | // Gets the current session state of @web_view | |
| 2325 | 2387 | func (x *WebView) GetSessionState() *WebViewSessionState { | |
| 2388 | + | core.LazyRegister(&xWebViewGetSessionState, "WEBKIT", "webkit_web_view_get_session_state", false) | |
| 2389 | + | ||
| 2326 | 2390 | cret := xWebViewGetSessionState(x.GoPointer()) | |
| 2327 | 2391 | if cret == 0 { | |
| 2328 | 2392 | return nil | |
| @@ -2347,6 +2411,7 @@ var xWebViewGetSettings func(uintptr) uintptr | |||
| 2347 | 2411 | // the settings of a #WebKitWebView would affect other | |
| 2348 | 2412 | // #WebKitWebView<!-- -->s using the same #WebKitSettings. | |
| 2349 | 2413 | func (x *WebView) GetSettings() *Settings { | |
| 2414 | + | core.LazyRegister(&xWebViewGetSettings, "WEBKIT", "webkit_web_view_get_settings", false) | |
| 2350 | 2415 | var cls *Settings | |
| 2351 | 2416 | ||
| 2352 | 2417 | cret := xWebViewGetSettings(x.GoPointer()) | |
| @@ -2370,6 +2435,8 @@ var xWebViewGetSnapshot func(uintptr, SnapshotRegion, SnapshotOptions, uintptr, | |||
| 2370 | 2435 | // call webkit_web_view_get_snapshot_finish() to get the result of the | |
| 2371 | 2436 | // operation. | |
| 2372 | 2437 | func (x *WebView) GetSnapshot(RegionVar SnapshotRegion, OptionsVar SnapshotOptions, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 2438 | + | core.LazyRegister(&xWebViewGetSnapshot, "WEBKIT", "webkit_web_view_get_snapshot", false) | |
| 2439 | + | ||
| 2373 | 2440 | xWebViewGetSnapshot(x.GoPointer(), RegionVar, OptionsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2374 | 2441 | } | |
| 2375 | 2442 | ||
| @@ -2378,6 +2445,7 @@ var xWebViewGetSnapshotFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 2378 | 2445 | // Finishes an asynchronous operation started with webkit_web_view_get_snapshot(), producing | |
| 2379 | 2446 | // an image of the snapshot using the BGRA8888 pixel format. | |
| 2380 | 2447 | func (x *WebView) GetSnapshotFinish(ResultVar gio.AsyncResult) (*gdk.Texture, error) { | |
| 2448 | + | core.LazyRegister(&xWebViewGetSnapshotFinish, "WEBKIT", "webkit_web_view_get_snapshot_finish", false) | |
| 2381 | 2449 | var cls *gdk.Texture | |
| 2382 | 2450 | var cerr *glib.Error | |
| 2383 | 2451 | ||
| @@ -2400,6 +2468,8 @@ var xWebViewGetThemeColor func(uintptr, *gdk.RGBA) bool | |||
| 2400 | 2468 | // If the @web_view doesn't have a theme color it will fill the @rgba | |
| 2401 | 2469 | // with transparent black content. | |
| 2402 | 2470 | func (x *WebView) GetThemeColor(RgbaVar *gdk.RGBA) bool { | |
| 2471 | + | core.LazyRegister(&xWebViewGetThemeColor, "WEBKIT", "webkit_web_view_get_theme_color", false) | |
| 2472 | + | ||
| 2403 | 2473 | cret := xWebViewGetThemeColor(x.GoPointer(), RgbaVar) | |
| 2404 | 2474 | return cret | |
| 2405 | 2475 | } | |
| @@ -2411,6 +2481,8 @@ var xWebViewGetTitle func(uintptr) string | |||
| 2411 | 2481 | // You can connect to notify::title signal of @web_view to | |
| 2412 | 2482 | // be notified when the title has been received. | |
| 2413 | 2483 | func (x *WebView) GetTitle() string { | |
| 2484 | + | core.LazyRegister(&xWebViewGetTitle, "WEBKIT", "webkit_web_view_get_title", false) | |
| 2485 | + | ||
| 2414 | 2486 | cret := xWebViewGetTitle(x.GoPointer()) | |
| 2415 | 2487 | return cret | |
| 2416 | 2488 | } | |
| @@ -2434,6 +2506,8 @@ var xWebViewGetTlsInfo func(uintptr, **gio.TlsCertificate, *gio.TlsCertificateFl | |||
| 2434 | 2506 | // if the current #WebKitTLSErrorsPolicy is %WEBKIT_TLS_ERRORS_POLICY_FAIL, in | |
| 2435 | 2507 | // which case subresources that fail certificate verification will be blocked. | |
| 2436 | 2508 | func (x *WebView) GetTlsInfo(CertificateVar **gio.TlsCertificate, ErrorsVar *gio.TlsCertificateFlags) bool { | |
| 2509 | + | core.LazyRegister(&xWebViewGetTlsInfo, "WEBKIT", "webkit_web_view_get_tls_info", false) | |
| 2510 | + | ||
| 2437 | 2511 | cret := xWebViewGetTlsInfo(x.GoPointer(), CertificateVar, ErrorsVar) | |
| 2438 | 2512 | return cret | |
| 2439 | 2513 | } | |
| @@ -2501,6 +2575,8 @@ var xWebViewGetUri func(uintptr) string | |||
| 2501 | 2575 | // You can monitor the active URI by connecting to the notify::uri | |
| 2502 | 2576 | // signal of @web_view. | |
| 2503 | 2577 | func (x *WebView) GetUri() string { | |
| 2578 | + | core.LazyRegister(&xWebViewGetUri, "WEBKIT", "webkit_web_view_get_uri", false) | |
| 2579 | + | ||
| 2504 | 2580 | cret := xWebViewGetUri(x.GoPointer()) | |
| 2505 | 2581 | return cret | |
| 2506 | 2582 | } | |
| @@ -2509,6 +2585,7 @@ var xWebViewGetUserContentManager func(uintptr) uintptr | |||
| 2509 | 2585 | ||
| 2510 | 2586 | // Gets the user content manager associated to @web_view. | |
| 2511 | 2587 | func (x *WebView) GetUserContentManager() *UserContentManager { | |
| 2588 | + | core.LazyRegister(&xWebViewGetUserContentManager, "WEBKIT", "webkit_web_view_get_user_content_manager", false) | |
| 2512 | 2589 | var cls *UserContentManager | |
| 2513 | 2590 | ||
| 2514 | 2591 | cret := xWebViewGetUserContentManager(x.GoPointer()) | |
| @@ -2526,6 +2603,8 @@ var xWebViewGetWebExtensionMode func(uintptr) WebExtensionMode | |||
| 2526 | 2603 | ||
| 2527 | 2604 | // Get the view's #WebKitWebExtensionMode. | |
| 2528 | 2605 | func (x *WebView) GetWebExtensionMode() WebExtensionMode { | |
| 2606 | + | core.LazyRegister(&xWebViewGetWebExtensionMode, "WEBKIT", "webkit_web_view_get_web_extension_mode", false) | |
| 2607 | + | ||
| 2529 | 2608 | cret := xWebViewGetWebExtensionMode(x.GoPointer()) | |
| 2530 | 2609 | return cret | |
| 2531 | 2610 | } | |
| @@ -2540,6 +2619,7 @@ var xWebViewGetWebsitePolicies func(uintptr) uintptr | |||
| 2540 | 2619 | // | |
| 2541 | 2620 | // See also webkit_policy_decision_use_with_policies(). | |
| 2542 | 2621 | func (x *WebView) GetWebsitePolicies() *WebsitePolicies { | |
| 2622 | + | core.LazyRegister(&xWebViewGetWebsitePolicies, "WEBKIT", "webkit_web_view_get_website_policies", false) | |
| 2543 | 2623 | var cls *WebsitePolicies | |
| 2544 | 2624 | ||
| 2545 | 2625 | cret := xWebViewGetWebsitePolicies(x.GoPointer()) | |
| @@ -2560,6 +2640,7 @@ var xWebViewGetWindowProperties func(uintptr) uintptr | |||
| 2560 | 2640 | // Get the #WebKitWindowProperties object containing the properties | |
| 2561 | 2641 | // that the window containing @web_view should have. | |
| 2562 | 2642 | func (x *WebView) GetWindowProperties() *WindowProperties { | |
| 2643 | + | core.LazyRegister(&xWebViewGetWindowProperties, "WEBKIT", "webkit_web_view_get_window_properties", false) | |
| 2563 | 2644 | var cls *WindowProperties | |
| 2564 | 2645 | ||
| 2565 | 2646 | cret := xWebViewGetWindowProperties(x.GoPointer()) | |
| @@ -2580,6 +2661,8 @@ var xWebViewGetZoomLevel func(uintptr) float64 | |||
| 2580 | 2661 | // Get the zoom level of @web_view, i.e. the factor by which the | |
| 2581 | 2662 | // view contents are scaled with respect to their original size. | |
| 2582 | 2663 | func (x *WebView) GetZoomLevel() float64 { | |
| 2664 | + | core.LazyRegister(&xWebViewGetZoomLevel, "WEBKIT", "webkit_web_view_get_zoom_level", false) | |
| 2665 | + | ||
| 2583 | 2666 | cret := xWebViewGetZoomLevel(x.GoPointer()) | |
| 2584 | 2667 | return cret | |
| 2585 | 2668 | } | |
| @@ -2591,6 +2674,8 @@ var xWebViewGoBack func(uintptr) | |||
| 2591 | 2674 | // You can monitor the load operation by connecting to | |
| 2592 | 2675 | // #WebKitWebView::load-changed signal. | |
| 2593 | 2676 | func (x *WebView) GoBack() { | |
| 2677 | + | core.LazyRegister(&xWebViewGoBack, "WEBKIT", "webkit_web_view_go_back", false) | |
| 2678 | + | ||
| 2594 | 2679 | xWebViewGoBack(x.GoPointer()) | |
| 2595 | 2680 | } | |
| 2596 | 2681 | ||
| @@ -2601,6 +2686,8 @@ var xWebViewGoForward func(uintptr) | |||
| 2601 | 2686 | // You can monitor the load operation by connecting to | |
| 2602 | 2687 | // #WebKitWebView::load-changed signal. | |
| 2603 | 2688 | func (x *WebView) GoForward() { | |
| 2689 | + | core.LazyRegister(&xWebViewGoForward, "WEBKIT", "webkit_web_view_go_forward", false) | |
| 2690 | + | ||
| 2604 | 2691 | xWebViewGoForward(x.GoPointer()) | |
| 2605 | 2692 | } | |
| 2606 | 2693 | ||
| @@ -2611,6 +2698,8 @@ var xWebViewGoToBackForwardListItem func(uintptr, uintptr) | |||
| 2611 | 2698 | // You can monitor the load operation by connecting to | |
| 2612 | 2699 | // #WebKitWebView::load-changed signal. | |
| 2613 | 2700 | func (x *WebView) GoToBackForwardListItem(ListItemVar *BackForwardListItem) { | |
| 2701 | + | core.LazyRegister(&xWebViewGoToBackForwardListItem, "WEBKIT", "webkit_web_view_go_to_back_forward_list_item", false) | |
| 2702 | + | ||
| 2614 | 2703 | xWebViewGoToBackForwardListItem(x.GoPointer(), ListItemVar.GoPointer()) | |
| 2615 | 2704 | } | |
| 2616 | 2705 | ||
| @@ -2622,6 +2711,8 @@ var xWebViewIsControlledByAutomation func(uintptr) bool | |||
| 2622 | 2711 | // Only #WebKitWebView<!-- -->s controlled by automation can be used in an | |
| 2623 | 2712 | // automation session. | |
| 2624 | 2713 | func (x *WebView) IsControlledByAutomation() bool { | |
| 2714 | + | core.LazyRegister(&xWebViewIsControlledByAutomation, "WEBKIT", "webkit_web_view_is_controlled_by_automation", false) | |
| 2715 | + | ||
| 2625 | 2716 | cret := xWebViewIsControlledByAutomation(x.GoPointer()) | |
| 2626 | 2717 | return cret | |
| 2627 | 2718 | } | |
| @@ -2634,6 +2725,8 @@ var xWebViewIsEditable func(uintptr) bool | |||
| 2634 | 2725 | // CONTENTEDITABLE attribute has been set on the element or one of its parent | |
| 2635 | 2726 | // elements. By default a #WebKitWebView is not editable. | |
| 2636 | 2727 | func (x *WebView) IsEditable() bool { | |
| 2728 | + | core.LazyRegister(&xWebViewIsEditable, "WEBKIT", "webkit_web_view_is_editable", false) | |
| 2729 | + | ||
| 2637 | 2730 | cret := xWebViewIsEditable(x.GoPointer()) | |
| 2638 | 2731 | return cret | |
| 2639 | 2732 | } | |
| @@ -2647,6 +2740,8 @@ var xWebViewIsImmersiveModeEnabled func(uintptr) bool | |||
| 2647 | 2740 | // | |
| 2648 | 2741 | // Note that if WebXR is disabled or OPENXR is not used, this API always returns %FALSE. | |
| 2649 | 2742 | func (x *WebView) IsImmersiveModeEnabled() bool { | |
| 2743 | + | core.LazyRegister(&xWebViewIsImmersiveModeEnabled, "WEBKIT", "webkit_web_view_is_immersive_mode_enabled", false) | |
| 2744 | + | ||
| 2650 | 2745 | cret := xWebViewIsImmersiveModeEnabled(x.GoPointer()) | |
| 2651 | 2746 | return cret | |
| 2652 | 2747 | } | |
| @@ -2661,6 +2756,8 @@ var xWebViewIsLoading func(uintptr) bool | |||
| 2661 | 2756 | // details about the status of the load operation, for example to start a spinner | |
| 2662 | 2757 | // when the view is loading a page and stop it when it finishes. | |
| 2663 | 2758 | func (x *WebView) IsLoading() bool { | |
| 2759 | + | core.LazyRegister(&xWebViewIsLoading, "WEBKIT", "webkit_web_view_is_loading", false) | |
| 2760 | + | ||
| 2664 | 2761 | cret := xWebViewIsLoading(x.GoPointer()) | |
| 2665 | 2762 | return cret | |
| 2666 | 2763 | } | |
| @@ -2674,6 +2771,8 @@ var xWebViewIsPlayingAudio func(uintptr) bool | |||
| 2674 | 2771 | // is useful when the application wants to provide visual feedback when a | |
| 2675 | 2772 | // page is producing sound. | |
| 2676 | 2773 | func (x *WebView) IsPlayingAudio() bool { | |
| 2774 | + | core.LazyRegister(&xWebViewIsPlayingAudio, "WEBKIT", "webkit_web_view_is_playing_audio", false) | |
| 2775 | + | ||
| 2677 | 2776 | cret := xWebViewIsPlayingAudio(x.GoPointer()) | |
| 2678 | 2777 | return cret | |
| 2679 | 2778 | } | |
| @@ -2689,6 +2788,8 @@ var xWebViewLeaveImmersiveMode func(uintptr) | |||
| 2689 | 2788 | // Note that if WebXR is disabled, or if it is enabled but the @web_view is not in | |
| 2690 | 2789 | // immersive mode, this API does nothing. See also webkit_web_view_is_immersive_mode_enabled(). | |
| 2691 | 2790 | func (x *WebView) LeaveImmersiveMode() { | |
| 2791 | + | core.LazyRegister(&xWebViewLeaveImmersiveMode, "WEBKIT", "webkit_web_view_leave_immersive_mode", false) | |
| 2792 | + | ||
| 2692 | 2793 | xWebViewLeaveImmersiveMode(x.GoPointer()) | |
| 2693 | 2794 | } | |
| 2694 | 2795 | ||
| @@ -2701,6 +2802,8 @@ var xWebViewLoadAlternateHtml func(uintptr, string, string, uintptr) | |||
| 2701 | 2802 | // error page, then the back-forward list is maintained appropriately. | |
| 2702 | 2803 | // For everything else this method works the same way as webkit_web_view_load_html(). | |
| 2703 | 2804 | func (x *WebView) LoadAlternateHtml(ContentVar string, ContentUriVar string, BaseUriVar *string) { | |
| 2805 | + | core.LazyRegister(&xWebViewLoadAlternateHtml, "WEBKIT", "webkit_web_view_load_alternate_html", false) | |
| 2806 | + | ||
| 2704 | 2807 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | |
| 2705 | 2808 | defer core.GFreeNullable(BaseUriVarPtr) | |
| 2706 | 2809 | ||
| @@ -2716,6 +2819,8 @@ var xWebViewLoadBytes func(uintptr, *glib.Bytes, uintptr, uintptr, uintptr) | |||
| 2716 | 2819 | // When @base_uri is %NULL, it defaults to "about:blank". | |
| 2717 | 2820 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | |
| 2718 | 2821 | func (x *WebView) LoadBytes(BytesVar *glib.Bytes, MimeTypeVar *string, EncodingVar *string, BaseUriVar *string) { | |
| 2822 | + | core.LazyRegister(&xWebViewLoadBytes, "WEBKIT", "webkit_web_view_load_bytes", false) | |
| 2823 | + | ||
| 2719 | 2824 | MimeTypeVarPtr := core.GStrdupNullable(MimeTypeVar) | |
| 2720 | 2825 | defer core.GFreeNullable(MimeTypeVarPtr) | |
| 2721 | 2826 | ||
| @@ -2741,6 +2846,8 @@ var xWebViewLoadHtml func(uintptr, string, uintptr) | |||
| 2741 | 2846 | // it defaults to "about:blank". The mime type of the document will be "text/html". | |
| 2742 | 2847 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | |
| 2743 | 2848 | func (x *WebView) LoadHtml(ContentVar string, BaseUriVar *string) { | |
| 2849 | + | core.LazyRegister(&xWebViewLoadHtml, "WEBKIT", "webkit_web_view_load_html", false) | |
| 2850 | + | ||
| 2744 | 2851 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | |
| 2745 | 2852 | defer core.GFreeNullable(BaseUriVarPtr) | |
| 2746 | 2853 | ||
| @@ -2754,6 +2861,8 @@ var xWebViewLoadPlainText func(uintptr, string) | |||
| 2754 | 2861 | // The mime type of document will be "text/plain". You can monitor the load | |
| 2755 | 2862 | // operation by connecting to #WebKitWebView::load-changed signal. | |
| 2756 | 2863 | func (x *WebView) LoadPlainText(PlainTextVar string) { | |
| 2864 | + | core.LazyRegister(&xWebViewLoadPlainText, "WEBKIT", "webkit_web_view_load_plain_text", false) | |
| 2865 | + | ||
| 2757 | 2866 | xWebViewLoadPlainText(x.GoPointer(), PlainTextVar) | |
| 2758 | 2867 | } | |
| 2759 | 2868 | ||
| @@ -2764,6 +2873,8 @@ var xWebViewLoadRequest func(uintptr, uintptr) | |||
| 2764 | 2873 | // You can monitor the load operation by connecting to | |
| 2765 | 2874 | // #WebKitWebView::load-changed signal. | |
| 2766 | 2875 | func (x *WebView) LoadRequest(RequestVar *URIRequest) { | |
| 2876 | + | core.LazyRegister(&xWebViewLoadRequest, "WEBKIT", "webkit_web_view_load_request", false) | |
| 2877 | + | ||
| 2767 | 2878 | xWebViewLoadRequest(x.GoPointer(), RequestVar.GoPointer()) | |
| 2768 | 2879 | } | |
| 2769 | 2880 | ||
| @@ -2774,6 +2885,8 @@ var xWebViewLoadUri func(uintptr, string) | |||
| 2774 | 2885 | // You can monitor the load operation by connecting to | |
| 2775 | 2886 | // #WebKitWebView::load-changed signal. | |
| 2776 | 2887 | func (x *WebView) LoadUri(UriVar string) { | |
| 2888 | + | core.LazyRegister(&xWebViewLoadUri, "WEBKIT", "webkit_web_view_load_uri", false) | |
| 2889 | + | ||
| 2777 | 2890 | xWebViewLoadUri(x.GoPointer(), UriVar) | |
| 2778 | 2891 | } | |
| 2779 | 2892 | ||
| @@ -2783,6 +2896,8 @@ var xWebViewReload func(uintptr) | |||
| 2783 | 2896 | // | |
| 2784 | 2897 | // See also webkit_web_view_reload_bypass_cache(). | |
| 2785 | 2898 | func (x *WebView) Reload() { | |
| 2899 | + | core.LazyRegister(&xWebViewReload, "WEBKIT", "webkit_web_view_reload", false) | |
| 2900 | + | ||
| 2786 | 2901 | xWebViewReload(x.GoPointer()) | |
| 2787 | 2902 | } | |
| 2788 | 2903 | ||
| @@ -2791,6 +2906,8 @@ var xWebViewReloadBypassCache func(uintptr) | |||
| 2791 | 2906 | // Reloads the current contents of @web_view without | |
| 2792 | 2907 | // using any cached data. | |
| 2793 | 2908 | func (x *WebView) ReloadBypassCache() { | |
| 2909 | + | core.LazyRegister(&xWebViewReloadBypassCache, "WEBKIT", "webkit_web_view_reload_bypass_cache", false) | |
| 2910 | + | ||
| 2794 | 2911 | xWebViewReloadBypassCache(x.GoPointer()) | |
| 2795 | 2912 | } | |
| 2796 | 2913 | ||
| @@ -2798,6 +2915,8 @@ var xWebViewRestoreSessionState func(uintptr, *WebViewSessionState) | |||
| 2798 | 2915 | ||
| 2799 | 2916 | // Restore the @web_view session state from @state | |
| 2800 | 2917 | func (x *WebView) RestoreSessionState(StateVar *WebViewSessionState) { | |
| 2918 | + | core.LazyRegister(&xWebViewRestoreSessionState, "WEBKIT", "webkit_web_view_restore_session_state", false) | |
| 2919 | + | ||
| 2801 | 2920 | xWebViewRestoreSessionState(x.GoPointer(), StateVar) | |
| 2802 | 2921 | } | |
| 2803 | 2922 | ||
| @@ -2813,6 +2932,8 @@ var xWebViewSave func(uintptr, SaveMode, uintptr, uintptr, uintptr) | |||
| 2813 | 2932 | // then call webkit_web_view_save_finish() to get the result of the | |
| 2814 | 2933 | // operation. | |
| 2815 | 2934 | func (x *WebView) Save(SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 2935 | + | core.LazyRegister(&xWebViewSave, "WEBKIT", "webkit_web_view_save", false) | |
| 2936 | + | ||
| 2816 | 2937 | xWebViewSave(x.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2817 | 2938 | } | |
| 2818 | 2939 | ||
| @@ -2820,6 +2941,7 @@ var xWebViewSaveFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 2820 | 2941 | ||
| 2821 | 2942 | // Finish an asynchronous operation started with webkit_web_view_save(). | |
| 2822 | 2943 | func (x *WebView) SaveFinish(ResultVar gio.AsyncResult) (*gio.InputStream, error) { | |
| 2944 | + | core.LazyRegister(&xWebViewSaveFinish, "WEBKIT", "webkit_web_view_save_finish", false) | |
| 2823 | 2945 | var cls *gio.InputStream | |
| 2824 | 2946 | var cerr *glib.Error | |
| 2825 | 2947 | ||
| @@ -2848,6 +2970,8 @@ var xWebViewSaveToFile func(uintptr, uintptr, SaveMode, uintptr, uintptr, uintpt | |||
| 2848 | 2970 | // then call webkit_web_view_save_to_file_finish() to get the result of the | |
| 2849 | 2971 | // operation. | |
| 2850 | 2972 | func (x *WebView) SaveToFile(FileVar gio.File, SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 2973 | + | core.LazyRegister(&xWebViewSaveToFile, "WEBKIT", "webkit_web_view_save_to_file", false) | |
| 2974 | + | ||
| 2851 | 2975 | xWebViewSaveToFile(x.GoPointer(), FileVar.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2852 | 2976 | } | |
| 2853 | 2977 | ||
| @@ -2855,6 +2979,7 @@ var xWebViewSaveToFileFinish func(uintptr, uintptr, **glib.Error) bool | |||
| 2855 | 2979 | ||
| 2856 | 2980 | // Finish an asynchronous operation started with webkit_web_view_save_to_file(). | |
| 2857 | 2981 | func (x *WebView) SaveToFileFinish(ResultVar gio.AsyncResult) (bool, error) { | |
| 2982 | + | core.LazyRegister(&xWebViewSaveToFileFinish, "WEBKIT", "webkit_web_view_save_to_file_finish", false) | |
| 2858 | 2983 | var cerr *glib.Error | |
| 2859 | 2984 | ||
| 2860 | 2985 | cret := xWebViewSaveToFileFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | |
| @@ -2873,6 +2998,8 @@ var xWebViewSendMessageToPage func(uintptr, uintptr, uintptr, uintptr, uintptr) | |||
| 2873 | 2998 | // When the operation is finished, @callback will be called. You can then call | |
| 2874 | 2999 | // webkit_web_view_send_message_to_page_finish() to get the message reply. | |
| 2875 | 3000 | func (x *WebView) SendMessageToPage(MessageVar *UserMessage, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | |
| 3001 | + | core.LazyRegister(&xWebViewSendMessageToPage, "WEBKIT", "webkit_web_view_send_message_to_page", false) | |
| 3002 | + | ||
| 2876 | 3003 | xWebViewSendMessageToPage(x.GoPointer(), MessageVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | |
| 2877 | 3004 | } | |
| 2878 | 3005 | ||
| @@ -2880,6 +3007,7 @@ var xWebViewSendMessageToPageFinish func(uintptr, uintptr, **glib.Error) uintptr | |||
| 2880 | 3007 | ||
| 2881 | 3008 | // Finish an asynchronous operation started with webkit_web_view_send_message_to_page(). | |
| 2882 | 3009 | func (x *WebView) SendMessageToPageFinish(ResultVar gio.AsyncResult) (*UserMessage, error) { | |
| 3010 | + | core.LazyRegister(&xWebViewSendMessageToPageFinish, "WEBKIT", "webkit_web_view_send_message_to_page_finish", false) | |
| 2883 | 3011 | var cls *UserMessage | |
| 2884 | 3012 | var cerr *glib.Error | |
| 2885 | 3013 | ||
| @@ -2905,6 +3033,8 @@ var xWebViewSetBackgroundColor func(uintptr, *gdk.RGBA) | |||
| 2905 | 3033 | // specifies a background color, it will take precedence over the @rgba color. | |
| 2906 | 3034 | // By default the @web_view background color is opaque white. | |
| 2907 | 3035 | func (x *WebView) SetBackgroundColor(RgbaVar *gdk.RGBA) { | |
| 3036 | + | core.LazyRegister(&xWebViewSetBackgroundColor, "WEBKIT", "webkit_web_view_set_background_color", false) | |
| 3037 | + | ||
| 2908 | 3038 | xWebViewSetBackgroundColor(x.GoPointer(), RgbaVar) | |
| 2909 | 3039 | } | |
| 2910 | 3040 | ||
| @@ -2916,6 +3046,8 @@ var xWebViewSetCameraCaptureState func(uintptr, MediaCaptureState) | |||
| 2916 | 3046 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | |
| 2917 | 3047 | // anymore. The page can however request capture again using the mediaDevices API. | |
| 2918 | 3048 | func (x *WebView) SetCameraCaptureState(StateVar MediaCaptureState) { | |
| 3049 | + | core.LazyRegister(&xWebViewSetCameraCaptureState, "WEBKIT", "webkit_web_view_set_camera_capture_state", false) | |
| 3050 | + | ||
| 2919 | 3051 | xWebViewSetCameraCaptureState(x.GoPointer(), StateVar) | |
| 2920 | 3052 | } | |
| 2921 | 3053 | ||
| @@ -2938,6 +3070,8 @@ var xWebViewSetCorsAllowlist func(uintptr, []string) | |||
| 2938 | 3070 | // If this function is called multiple times, only the allowlist set by | |
| 2939 | 3071 | // the most recent call will be effective. | |
| 2940 | 3072 | func (x *WebView) SetCorsAllowlist(AllowlistVar []string) { | |
| 3073 | + | core.LazyRegister(&xWebViewSetCorsAllowlist, "WEBKIT", "webkit_web_view_set_cors_allowlist", false) | |
| 3074 | + | ||
| 2941 | 3075 | xWebViewSetCorsAllowlist(x.GoPointer(), AllowlistVar) | |
| 2942 | 3076 | } | |
| 2943 | 3077 | ||
| @@ -2950,6 +3084,8 @@ var xWebViewSetCustomCharset func(uintptr, uintptr) | |||
| 2950 | 3084 | // current page. Setting the custom character encoding to %NULL removes the character | |
| 2951 | 3085 | // encoding override. | |
| 2952 | 3086 | func (x *WebView) SetCustomCharset(CharsetVar *string) { | |
| 3087 | + | core.LazyRegister(&xWebViewSetCustomCharset, "WEBKIT", "webkit_web_view_set_custom_charset", false) | |
| 3088 | + | ||
| 2953 | 3089 | CharsetVarPtr := core.GStrdupNullable(CharsetVar) | |
| 2954 | 3090 | defer core.GFreeNullable(CharsetVarPtr) | |
| 2955 | 3091 | ||
| @@ -2964,6 +3100,8 @@ var xWebViewSetDisplayCaptureState func(uintptr, MediaCaptureState) | |||
| 2964 | 3100 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | |
| 2965 | 3101 | // anymore. The page can however request capture again using the mediaDevices API. | |
| 2966 | 3102 | func (x *WebView) SetDisplayCaptureState(StateVar MediaCaptureState) { | |
| 3103 | + | core.LazyRegister(&xWebViewSetDisplayCaptureState, "WEBKIT", "webkit_web_view_set_display_capture_state", false) | |
| 3104 | + | ||
| 2967 | 3105 | xWebViewSetDisplayCaptureState(x.GoPointer(), StateVar) | |
| 2968 | 3106 | } | |
| 2969 | 3107 | ||
| @@ -2980,6 +3118,8 @@ var xWebViewSetEditable func(uintptr, bool) | |||
| 2980 | 3118 | // document are editable. This function provides a way to make the contents | |
| 2981 | 3119 | // of a #WebKitWebView editable without altering the document or DOM structure. | |
| 2982 | 3120 | func (x *WebView) SetEditable(EditableVar bool) { | |
| 3121 | + | core.LazyRegister(&xWebViewSetEditable, "WEBKIT", "webkit_web_view_set_editable", false) | |
| 3122 | + | ||
| 2983 | 3123 | xWebViewSetEditable(x.GoPointer(), EditableVar) | |
| 2984 | 3124 | } | |
| 2985 | 3125 | ||
| @@ -2990,6 +3130,8 @@ var xWebViewSetInputMethodContext func(uintptr, uintptr) | |||
| 2990 | 3130 | // Set the #WebKitInputMethodContext to be used by @web_view, or %NULL to not use any input method. | |
| 2991 | 3131 | // Note that the same #WebKitInputMethodContext can't be set on more than one #WebKitWebView at the same time. | |
| 2992 | 3132 | func (x *WebView) SetInputMethodContext(ContextVar *InputMethodContext) { | |
| 3133 | + | core.LazyRegister(&xWebViewSetInputMethodContext, "WEBKIT", "webkit_web_view_set_input_method_context", false) | |
| 3134 | + | ||
| 2993 | 3135 | xWebViewSetInputMethodContext(x.GoPointer(), ContextVar.GoPointer()) | |
| 2994 | 3136 | } | |
| 2995 | 3137 | ||
| @@ -2997,6 +3139,8 @@ var xWebViewSetIsMuted func(uintptr, bool) | |||
| 2997 | 3139 | ||
| 2998 | 3140 | // Sets the mute state of @web_view. | |
| 2999 | 3141 | func (x *WebView) SetIsMuted(MutedVar bool) { | |
| 3142 | + | core.LazyRegister(&xWebViewSetIsMuted, "WEBKIT", "webkit_web_view_set_is_muted", false) | |
| 3143 | + | ||
| 3000 | 3144 | xWebViewSetIsMuted(x.GoPointer(), MutedVar) | |
| 3001 | 3145 | } | |
| 3002 | 3146 | ||
| @@ -3008,6 +3152,8 @@ var xWebViewSetMicrophoneCaptureState func(uintptr, MediaCaptureState) | |||
| 3008 | 3152 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | |
| 3009 | 3153 | // anymore. The page can however request capture again using the mediaDevices API. | |
| 3010 | 3154 | func (x *WebView) SetMicrophoneCaptureState(StateVar MediaCaptureState) { | |
| 3155 | + | core.LazyRegister(&xWebViewSetMicrophoneCaptureState, "WEBKIT", "webkit_web_view_set_microphone_capture_state", false) | |
| 3156 | + | ||
| 3011 | 3157 | xWebViewSetMicrophoneCaptureState(x.GoPointer(), StateVar) | |
| 3012 | 3158 | } | |
| 3013 | 3159 | ||
| @@ -3021,6 +3167,8 @@ var xWebViewSetSettings func(uintptr, uintptr) | |||
| 3021 | 3167 | // The same #WebKitSettings object can be shared | |
| 3022 | 3168 | // by multiple #WebKitWebView<!-- -->s. | |
| 3023 | 3169 | func (x *WebView) SetSettings(SettingsVar *Settings) { | |
| 3170 | + | core.LazyRegister(&xWebViewSetSettings, "WEBKIT", "webkit_web_view_set_settings", false) | |
| 3171 | + | ||
| 3024 | 3172 | xWebViewSetSettings(x.GoPointer(), SettingsVar.GoPointer()) | |
| 3025 | 3173 | } | |
| 3026 | 3174 | ||
| @@ -3031,6 +3179,8 @@ var xWebViewSetZoomLevel func(uintptr, float64) | |||
| 3031 | 3179 | // Set the zoom level of @web_view, i.e. the factor by which the | |
| 3032 | 3180 | // view contents are scaled with respect to their original size. | |
| 3033 | 3181 | func (x *WebView) SetZoomLevel(ZoomLevelVar float64) { | |
| 3182 | + | core.LazyRegister(&xWebViewSetZoomLevel, "WEBKIT", "webkit_web_view_set_zoom_level", false) | |
| 3183 | + | ||
| 3034 | 3184 | xWebViewSetZoomLevel(x.GoPointer(), ZoomLevelVar) | |
| 3035 | 3185 | } | |
| 3036 | 3186 | ||
| @@ -3043,6 +3193,8 @@ var xWebViewStopLoading func(uintptr) | |||
| 3043 | 3193 | // #WebKitWebView::load-failed signal will be emitted with | |
| 3044 | 3194 | // %WEBKIT_NETWORK_ERROR_CANCELLED error. | |
| 3045 | 3195 | func (x *WebView) StopLoading() { | |
| 3196 | + | core.LazyRegister(&xWebViewStopLoading, "WEBKIT", "webkit_web_view_stop_loading", false) | |
| 3197 | + | ||
| 3046 | 3198 | xWebViewStopLoading(x.GoPointer()) | |
| 3047 | 3199 | } | |
| 3048 | 3200 | ||
| @@ -3054,6 +3206,8 @@ var xWebViewTerminateWebProcess func(uintptr) | |||
| 3054 | 3206 | // using this method, the #WebKitWebView::web-process-terminated signal is emitted with | |
| 3055 | 3207 | // %WEBKIT_WEB_PROCESS_TERMINATED_BY_API as the reason for termination. | |
| 3056 | 3208 | func (x *WebView) TerminateWebProcess() { | |
| 3209 | + | core.LazyRegister(&xWebViewTerminateWebProcess, "WEBKIT", "webkit_web_view_terminate_web_process", false) | |
| 3210 | + | ||
| 3057 | 3211 | xWebViewTerminateWebProcess(x.GoPointer()) | |
| 3058 | 3212 | } | |
| 3059 | 3213 | ||
| @@ -3066,6 +3220,8 @@ var xWebViewTryClose func(uintptr) | |||
| 3066 | 3220 | // onbeforeunload event handler or the user confirms to close the page, | |
| 3067 | 3221 | // the #WebKitWebView::close signal is emitted, otherwise nothing happens. | |
| 3068 | 3222 | func (x *WebView) TryClose() { | |
| 3223 | + | core.LazyRegister(&xWebViewTryClose, "WEBKIT", "webkit_web_view_try_close", false) | |
| 3224 | + | ||
| 3069 | 3225 | xWebViewTryClose(x.GoPointer()) | |
| 3070 | 3226 | } | |
| 3071 | 3227 | ||
| @@ -4571,123 +4727,8 @@ func (x *WebView) GetBuildableId() string { | |||
| 4571 | 4727 | func init() { | |
| 4572 | 4728 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | |
| 4573 | 4729 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | |
| 4574 | - | var libs []uintptr | |
| 4575 | - | for _, libPath := range core.GetPaths("WEBKIT") { | |
| 4576 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 4577 | - | if err != nil { | |
| 4578 | - | panic(err) | |
| 4579 | - | } | |
| 4580 | - | libs = append(libs, lib) | |
| 4581 | - | } | |
| 4582 | - | ||
| 4583 | - | core.PuregoSafeRegister(&xSnapshotOptionsGLibType, libs, "webkit_snapshot_options_get_type") | |
| 4584 | - | ||
| 4585 | - | core.PuregoSafeRegister(&xInsecureContentEventGLibType, libs, "webkit_insecure_content_event_get_type") | |
| 4586 | - | ||
| 4587 | - | core.PuregoSafeRegister(&xLoadEventGLibType, libs, "webkit_load_event_get_type") | |
| 4588 | - | ||
| 4589 | - | core.PuregoSafeRegister(&xMediaCaptureStateGLibType, libs, "webkit_media_capture_state_get_type") | |
| 4590 | - | ||
| 4591 | - | core.PuregoSafeRegister(&xPolicyDecisionTypeGLibType, libs, "webkit_policy_decision_type_get_type") | |
| 4592 | - | ||
| 4593 | - | core.PuregoSafeRegister(&xSaveModeGLibType, libs, "webkit_save_mode_get_type") | |
| 4594 | - | ||
| 4595 | - | core.PuregoSafeRegister(&xSnapshotRegionGLibType, libs, "webkit_snapshot_region_get_type") | |
| 4596 | - | ||
| 4597 | - | core.PuregoSafeRegister(&xWebExtensionModeGLibType, libs, "webkit_web_extension_mode_get_type") | |
| 4598 | - | ||
| 4599 | - | core.PuregoSafeRegister(&xWebProcessTerminationReasonGLibType, libs, "webkit_web_process_termination_reason_get_type") | |
| 4600 | - | ||
| 4601 | - | core.PuregoSafeRegister(&xWebViewGLibType, libs, "webkit_web_view_get_type") | |
| 4602 | - | ||
| 4603 | - | core.PuregoSafeRegister(&xNewWebView, libs, "webkit_web_view_new") | |
| 4604 | - | ||
| 4605 | - | core.PuregoSafeRegister(&xWebViewCallAsyncJavascriptFunction, libs, "webkit_web_view_call_async_javascript_function") | |
| 4606 | - | core.PuregoSafeRegister(&xWebViewCallAsyncJavascriptFunctionFinish, libs, "webkit_web_view_call_async_javascript_function_finish") | |
| 4607 | - | core.PuregoSafeRegister(&xWebViewCanExecuteEditingCommand, libs, "webkit_web_view_can_execute_editing_command") | |
| 4608 | - | core.PuregoSafeRegister(&xWebViewCanExecuteEditingCommandFinish, libs, "webkit_web_view_can_execute_editing_command_finish") | |
| 4609 | - | core.PuregoSafeRegister(&xWebViewCanGoBack, libs, "webkit_web_view_can_go_back") | |
| 4610 | - | core.PuregoSafeRegister(&xWebViewCanGoForward, libs, "webkit_web_view_can_go_forward") | |
| 4611 | - | core.PuregoSafeRegister(&xWebViewCanShowMimeType, libs, "webkit_web_view_can_show_mime_type") | |
| 4612 | - | core.PuregoSafeRegister(&xWebViewDownloadUri, libs, "webkit_web_view_download_uri") | |
| 4613 | - | core.PuregoSafeRegister(&xWebViewEvaluateJavascript, libs, "webkit_web_view_evaluate_javascript") | |
| 4614 | - | core.PuregoSafeRegister(&xWebViewEvaluateJavascriptFinish, libs, "webkit_web_view_evaluate_javascript_finish") | |
| 4615 | - | core.PuregoSafeRegister(&xWebViewExecuteEditingCommand, libs, "webkit_web_view_execute_editing_command") | |
| 4616 | - | core.PuregoSafeRegister(&xWebViewExecuteEditingCommandWithArgument, libs, "webkit_web_view_execute_editing_command_with_argument") | |
| 4617 | - | core.PuregoSafeRegister(&xWebViewGetAutomationPresentationType, libs, "webkit_web_view_get_automation_presentation_type") | |
| 4618 | - | core.PuregoSafeRegister(&xWebViewGetBackForwardList, libs, "webkit_web_view_get_back_forward_list") | |
| 4619 | - | core.PuregoSafeRegister(&xWebViewGetBackgroundColor, libs, "webkit_web_view_get_background_color") | |
| 4620 | - | core.PuregoSafeRegister(&xWebViewGetCameraCaptureState, libs, "webkit_web_view_get_camera_capture_state") | |
| 4621 | - | core.PuregoSafeRegister(&xWebViewGetContext, libs, "webkit_web_view_get_context") | |
| 4622 | - | core.PuregoSafeRegister(&xWebViewGetCustomCharset, libs, "webkit_web_view_get_custom_charset") | |
| 4623 | - | core.PuregoSafeRegister(&xWebViewGetDefaultContentSecurityPolicy, libs, "webkit_web_view_get_default_content_security_policy") | |
| 4624 | - | core.PuregoSafeRegister(&xWebViewGetDisplayCaptureState, libs, "webkit_web_view_get_display_capture_state") | |
| 4625 | - | core.PuregoSafeRegister(&xWebViewGetEditorState, libs, "webkit_web_view_get_editor_state") | |
| 4626 | - | core.PuregoSafeRegister(&xWebViewGetEstimatedLoadProgress, libs, "webkit_web_view_get_estimated_load_progress") | |
| 4627 | - | core.PuregoSafeRegister(&xWebViewGetFavicon, libs, "webkit_web_view_get_favicon") | |
| 4628 | - | core.PuregoSafeRegister(&xWebViewGetFindController, libs, "webkit_web_view_get_find_controller") | |
| 4629 | - | core.PuregoSafeRegister(&xWebViewGetInputMethodContext, libs, "webkit_web_view_get_input_method_context") | |
| 4630 | - | core.PuregoSafeRegister(&xWebViewGetInspector, libs, "webkit_web_view_get_inspector") | |
| 4631 | - | core.PuregoSafeRegister(&xWebViewGetIsMuted, libs, "webkit_web_view_get_is_muted") | |
| 4632 | - | core.PuregoSafeRegister(&xWebViewGetIsWebProcessResponsive, libs, "webkit_web_view_get_is_web_process_responsive") | |
| 4633 | - | core.PuregoSafeRegister(&xWebViewGetMainResource, libs, "webkit_web_view_get_main_resource") | |
| 4634 | - | core.PuregoSafeRegister(&xWebViewGetMicrophoneCaptureState, libs, "webkit_web_view_get_microphone_capture_state") | |
| 4635 | - | core.PuregoSafeRegister(&xWebViewGetNetworkSession, libs, "webkit_web_view_get_network_session") | |
| 4636 | - | core.PuregoSafeRegister(&xWebViewGetPageId, libs, "webkit_web_view_get_page_id") | |
| 4637 | - | core.PuregoSafeRegister(&xWebViewGetSessionState, libs, "webkit_web_view_get_session_state") | |
| 4638 | - | core.PuregoSafeRegister(&xWebViewGetSettings, libs, "webkit_web_view_get_settings") | |
| 4639 | - | core.PuregoSafeRegister(&xWebViewGetSnapshot, libs, "webkit_web_view_get_snapshot") | |
| 4640 | - | core.PuregoSafeRegister(&xWebViewGetSnapshotFinish, libs, "webkit_web_view_get_snapshot_finish") | |
| 4641 | - | core.PuregoSafeRegister(&xWebViewGetThemeColor, libs, "webkit_web_view_get_theme_color") | |
| 4642 | - | core.PuregoSafeRegister(&xWebViewGetTitle, libs, "webkit_web_view_get_title") | |
| 4643 | - | core.PuregoSafeRegister(&xWebViewGetTlsInfo, libs, "webkit_web_view_get_tls_info") | |
| 4644 | - | core.PuregoSafeRegister(&xWebViewGetUri, libs, "webkit_web_view_get_uri") | |
| 4645 | - | core.PuregoSafeRegister(&xWebViewGetUserContentManager, libs, "webkit_web_view_get_user_content_manager") | |
| 4646 | - | core.PuregoSafeRegister(&xWebViewGetWebExtensionMode, libs, "webkit_web_view_get_web_extension_mode") | |
| 4647 | - | core.PuregoSafeRegister(&xWebViewGetWebsitePolicies, libs, "webkit_web_view_get_website_policies") | |
| 4648 | - | core.PuregoSafeRegister(&xWebViewGetWindowProperties, libs, "webkit_web_view_get_window_properties") | |
| 4649 | - | core.PuregoSafeRegister(&xWebViewGetZoomLevel, libs, "webkit_web_view_get_zoom_level") | |
| 4650 | - | core.PuregoSafeRegister(&xWebViewGoBack, libs, "webkit_web_view_go_back") | |
| 4651 | - | core.PuregoSafeRegister(&xWebViewGoForward, libs, "webkit_web_view_go_forward") | |
| 4652 | - | core.PuregoSafeRegister(&xWebViewGoToBackForwardListItem, libs, "webkit_web_view_go_to_back_forward_list_item") | |
| 4653 | - | core.PuregoSafeRegister(&xWebViewIsControlledByAutomation, libs, "webkit_web_view_is_controlled_by_automation") | |
| 4654 | - | core.PuregoSafeRegister(&xWebViewIsEditable, libs, "webkit_web_view_is_editable") | |
| 4655 | - | core.PuregoSafeRegister(&xWebViewIsImmersiveModeEnabled, libs, "webkit_web_view_is_immersive_mode_enabled") | |
| 4656 | - | core.PuregoSafeRegister(&xWebViewIsLoading, libs, "webkit_web_view_is_loading") | |
| 4657 | - | core.PuregoSafeRegister(&xWebViewIsPlayingAudio, libs, "webkit_web_view_is_playing_audio") | |
| 4658 | - | core.PuregoSafeRegister(&xWebViewLeaveImmersiveMode, libs, "webkit_web_view_leave_immersive_mode") | |
| 4659 | - | core.PuregoSafeRegister(&xWebViewLoadAlternateHtml, libs, "webkit_web_view_load_alternate_html") | |
| 4660 | - | core.PuregoSafeRegister(&xWebViewLoadBytes, libs, "webkit_web_view_load_bytes") | |
| 4661 | - | core.PuregoSafeRegister(&xWebViewLoadHtml, libs, "webkit_web_view_load_html") | |
| 4662 | - | core.PuregoSafeRegister(&xWebViewLoadPlainText, libs, "webkit_web_view_load_plain_text") | |
| 4663 | - | core.PuregoSafeRegister(&xWebViewLoadRequest, libs, "webkit_web_view_load_request") | |
| 4664 | - | core.PuregoSafeRegister(&xWebViewLoadUri, libs, "webkit_web_view_load_uri") | |
| 4665 | - | core.PuregoSafeRegister(&xWebViewReload, libs, "webkit_web_view_reload") | |
| 4666 | - | core.PuregoSafeRegister(&xWebViewReloadBypassCache, libs, "webkit_web_view_reload_bypass_cache") | |
| 4667 | - | core.PuregoSafeRegister(&xWebViewRestoreSessionState, libs, "webkit_web_view_restore_session_state") | |
| 4668 | - | core.PuregoSafeRegister(&xWebViewSave, libs, "webkit_web_view_save") | |
| 4669 | - | core.PuregoSafeRegister(&xWebViewSaveFinish, libs, "webkit_web_view_save_finish") | |
| 4670 | - | core.PuregoSafeRegister(&xWebViewSaveToFile, libs, "webkit_web_view_save_to_file") | |
| 4671 | - | core.PuregoSafeRegister(&xWebViewSaveToFileFinish, libs, "webkit_web_view_save_to_file_finish") | |
| 4672 | - | core.PuregoSafeRegister(&xWebViewSendMessageToPage, libs, "webkit_web_view_send_message_to_page") | |
| 4673 | - | core.PuregoSafeRegister(&xWebViewSendMessageToPageFinish, libs, "webkit_web_view_send_message_to_page_finish") | |
| 4674 | - | core.PuregoSafeRegister(&xWebViewSetBackgroundColor, libs, "webkit_web_view_set_background_color") | |
| 4675 | - | core.PuregoSafeRegister(&xWebViewSetCameraCaptureState, libs, "webkit_web_view_set_camera_capture_state") | |
| 4676 | - | core.PuregoSafeRegister(&xWebViewSetCorsAllowlist, libs, "webkit_web_view_set_cors_allowlist") | |
| 4677 | - | core.PuregoSafeRegister(&xWebViewSetCustomCharset, libs, "webkit_web_view_set_custom_charset") | |
| 4678 | - | core.PuregoSafeRegister(&xWebViewSetDisplayCaptureState, libs, "webkit_web_view_set_display_capture_state") | |
| 4679 | - | core.PuregoSafeRegister(&xWebViewSetEditable, libs, "webkit_web_view_set_editable") | |
| 4680 | - | core.PuregoSafeRegister(&xWebViewSetInputMethodContext, libs, "webkit_web_view_set_input_method_context") | |
| 4681 | - | core.PuregoSafeRegister(&xWebViewSetIsMuted, libs, "webkit_web_view_set_is_muted") | |
| 4682 | - | core.PuregoSafeRegister(&xWebViewSetMicrophoneCaptureState, libs, "webkit_web_view_set_microphone_capture_state") | |
| 4683 | - | core.PuregoSafeRegister(&xWebViewSetSettings, libs, "webkit_web_view_set_settings") | |
| 4684 | - | core.PuregoSafeRegister(&xWebViewSetZoomLevel, libs, "webkit_web_view_set_zoom_level") | |
| 4685 | - | core.PuregoSafeRegister(&xWebViewStopLoading, libs, "webkit_web_view_stop_loading") | |
| 4686 | - | core.PuregoSafeRegister(&xWebViewTerminateWebProcess, libs, "webkit_web_view_terminate_web_process") | |
| 4687 | - | core.PuregoSafeRegister(&xWebViewTryClose, libs, "webkit_web_view_try_close") | |
| 4688 | - | ||
| 4689 | - | // Manually register types since they aren't being automatically registered when | |
| 4690 | - | // the library is loaded | |
| 4691 | - | // See https://bugs.webkit.org/show_bug.cgi?id=175937 | |
| 4730 | + | ||
| 4731 | + | // Manually register types since they aren't automatically registered when | |
| 4732 | + | // WebKit is loaded. See https://bugs.webkit.org/show_bug.cgi?id=175937. | |
| 4692 | 4733 | WebViewGLibType() | |
| 4693 | 4734 | } | |
| @@ -1542,6 +1542,7 @@ type SnapshotOptions int | |||||
| 1542 | var xSnapshotOptionsGLibType func() types.GType | 1542 | var xSnapshotOptionsGLibType func() types.GType | ||
| 1543 | 1543 | ||||
| 1544 | func SnapshotOptionsGLibType() types.GType { | 1544 | func SnapshotOptionsGLibType() types.GType { | ||
| 1545 | + | core.LazyRegister(&xSnapshotOptionsGLibType, "WEBKIT", "webkit_snapshot_options_get_type", false) | |||
| 1545 | return xSnapshotOptionsGLibType() | 1546 | return xSnapshotOptionsGLibType() | ||
| 1546 | } | 1547 | } | ||
| 1547 | 1548 | ||||
| @@ -1565,6 +1566,7 @@ type InsecureContentEvent int | |||||
| 1565 | var xInsecureContentEventGLibType func() types.GType | 1566 | var xInsecureContentEventGLibType func() types.GType | ||
| 1566 | 1567 | ||||
| 1567 | func InsecureContentEventGLibType() types.GType { | 1568 | func InsecureContentEventGLibType() types.GType { | ||
| 1569 | + | core.LazyRegister(&xInsecureContentEventGLibType, "WEBKIT", "webkit_insecure_content_event_get_type", false) | |||
| 1568 | return xInsecureContentEventGLibType() | 1570 | return xInsecureContentEventGLibType() | ||
| 1569 | } | 1571 | } | ||
| 1570 | 1572 | ||||
| @@ -1587,6 +1589,7 @@ type LoadEvent int | |||||
| 1587 | var xLoadEventGLibType func() types.GType | 1589 | var xLoadEventGLibType func() types.GType | ||
| 1588 | 1590 | ||||
| 1589 | func LoadEventGLibType() types.GType { | 1591 | func LoadEventGLibType() types.GType { | ||
| 1592 | + | core.LazyRegister(&xLoadEventGLibType, "WEBKIT", "webkit_load_event_get_type", false) | |||
| 1590 | return xLoadEventGLibType() | 1593 | return xLoadEventGLibType() | ||
| 1591 | } | 1594 | } | ||
| 1592 | 1595 | ||||
| @@ -1616,6 +1619,7 @@ type MediaCaptureState int | |||||
| 1616 | var xMediaCaptureStateGLibType func() types.GType | 1619 | var xMediaCaptureStateGLibType func() types.GType | ||
| 1617 | 1620 | ||||
| 1618 | func MediaCaptureStateGLibType() types.GType { | 1621 | func MediaCaptureStateGLibType() types.GType { | ||
| 1622 | + | core.LazyRegister(&xMediaCaptureStateGLibType, "WEBKIT", "webkit_media_capture_state_get_type", false) | |||
| 1619 | return xMediaCaptureStateGLibType() | 1623 | return xMediaCaptureStateGLibType() | ||
| 1620 | } | 1624 | } | ||
| 1621 | 1625 | ||||
| @@ -1636,6 +1640,7 @@ type PolicyDecisionType int | |||||
| 1636 | var xPolicyDecisionTypeGLibType func() types.GType | 1640 | var xPolicyDecisionTypeGLibType func() types.GType | ||
| 1637 | 1641 | ||||
| 1638 | func PolicyDecisionTypeGLibType() types.GType { | 1642 | func PolicyDecisionTypeGLibType() types.GType { | ||
| 1643 | + | core.LazyRegister(&xPolicyDecisionTypeGLibType, "WEBKIT", "webkit_policy_decision_type_get_type", false) | |||
| 1639 | return xPolicyDecisionTypeGLibType() | 1644 | return xPolicyDecisionTypeGLibType() | ||
| 1640 | } | 1645 | } | ||
| 1641 | 1646 | ||||
| @@ -1675,6 +1680,7 @@ type SaveMode int | |||||
| 1675 | var xSaveModeGLibType func() types.GType | 1680 | var xSaveModeGLibType func() types.GType | ||
| 1676 | 1681 | ||||
| 1677 | func SaveModeGLibType() types.GType { | 1682 | func SaveModeGLibType() types.GType { | ||
| 1683 | + | core.LazyRegister(&xSaveModeGLibType, "WEBKIT", "webkit_save_mode_get_type", false) | |||
| 1678 | return xSaveModeGLibType() | 1684 | return xSaveModeGLibType() | ||
| 1679 | } | 1685 | } | ||
| 1680 | 1686 | ||||
| @@ -1691,6 +1697,7 @@ type SnapshotRegion int | |||||
| 1691 | var xSnapshotRegionGLibType func() types.GType | 1697 | var xSnapshotRegionGLibType func() types.GType | ||
| 1692 | 1698 | ||||
| 1693 | func SnapshotRegionGLibType() types.GType { | 1699 | func SnapshotRegionGLibType() types.GType { | ||
| 1700 | + | core.LazyRegister(&xSnapshotRegionGLibType, "WEBKIT", "webkit_snapshot_region_get_type", false) | |||
| 1694 | return xSnapshotRegionGLibType() | 1701 | return xSnapshotRegionGLibType() | ||
| 1695 | } | 1702 | } | ||
| 1696 | 1703 | ||||
| @@ -1710,6 +1717,7 @@ type WebExtensionMode int | |||||
| 1710 | var xWebExtensionModeGLibType func() types.GType | 1717 | var xWebExtensionModeGLibType func() types.GType | ||
| 1711 | 1718 | ||||
| 1712 | func WebExtensionModeGLibType() types.GType { | 1719 | func WebExtensionModeGLibType() types.GType { | ||
| 1720 | + | core.LazyRegister(&xWebExtensionModeGLibType, "WEBKIT", "webkit_web_extension_mode_get_type", false) | |||
| 1713 | return xWebExtensionModeGLibType() | 1721 | return xWebExtensionModeGLibType() | ||
| 1714 | } | 1722 | } | ||
| 1715 | 1723 | ||||
| @@ -1729,6 +1737,7 @@ type WebProcessTerminationReason int | |||||
| 1729 | var xWebProcessTerminationReasonGLibType func() types.GType | 1737 | var xWebProcessTerminationReasonGLibType func() types.GType | ||
| 1730 | 1738 | ||||
| 1731 | func WebProcessTerminationReasonGLibType() types.GType { | 1739 | func WebProcessTerminationReasonGLibType() types.GType { | ||
| 1740 | + | core.LazyRegister(&xWebProcessTerminationReasonGLibType, "WEBKIT", "webkit_web_process_termination_reason_get_type", false) | |||
| 1732 | return xWebProcessTerminationReasonGLibType() | 1741 | return xWebProcessTerminationReasonGLibType() | ||
| 1733 | } | 1742 | } | ||
| 1734 | 1743 | ||||
| @@ -1759,6 +1768,7 @@ type WebView struct { | |||||
| 1759 | var xWebViewGLibType func() types.GType | 1768 | var xWebViewGLibType func() types.GType | ||
| 1760 | 1769 | ||||
| 1761 | func WebViewGLibType() types.GType { | 1770 | func WebViewGLibType() types.GType { | ||
| 1771 | + | core.LazyRegister(&xWebViewGLibType, "WEBKIT", "webkit_web_view_get_type", false) | |||
| 1762 | return xWebViewGLibType() | 1772 | return xWebViewGLibType() | ||
| 1763 | } | 1773 | } | ||
| 1764 | 1774 | ||||
| @@ -1778,6 +1788,7 @@ var xNewWebView func() uintptr | |||||
| 1778 | // webkit_web_view_new_with_user_content_manager(), and | 1788 | // webkit_web_view_new_with_user_content_manager(), and | ||
| 1779 | // webkit_web_view_new_with_settings(). | 1789 | // webkit_web_view_new_with_settings(). | ||
| 1780 | func NewWebView() *WebView { | 1790 | func NewWebView() *WebView { | ||
| 1791 | + | core.LazyRegister(&xNewWebView, "WEBKIT", "webkit_web_view_new", false) | |||
| 1781 | var cls *WebView | 1792 | var cls *WebView | ||
| 1782 | 1793 | ||||
| 1783 | cret := xNewWebView() | 1794 | cret := xNewWebView() | ||
| @@ -1856,6 +1867,8 @@ var xWebViewCallAsyncJavascriptFunction func(uintptr, string, int, *glib.Variant | |||||
| 1856 | // | 1867 | // | ||
| 1857 | // ``` | 1868 | // ``` | ||
| 1858 | func (x *WebView) CallAsyncJavascriptFunction(BodyVar string, LengthVar int, ArgumentsVar *glib.Variant, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 1869 | func (x *WebView) CallAsyncJavascriptFunction(BodyVar string, LengthVar int, ArgumentsVar *glib.Variant, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 1870 | + | core.LazyRegister(&xWebViewCallAsyncJavascriptFunction, "WEBKIT", "webkit_web_view_call_async_javascript_function", false) | |||
| 1871 | + | ||||
| 1859 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | 1872 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | ||
| 1860 | defer core.GFreeNullable(WorldNameVarPtr) | 1873 | defer core.GFreeNullable(WorldNameVarPtr) | ||
| 1861 | 1874 | ||||
| @@ -1869,6 +1882,7 @@ var xWebViewCallAsyncJavascriptFunctionFinish func(uintptr, uintptr, **glib.Erro | |||||
| 1869 | 1882 | ||||
| 1870 | // Finish an asynchronous operation started with webkit_web_view_call_async_javascript_function(). | 1883 | // Finish an asynchronous operation started with webkit_web_view_call_async_javascript_function(). | ||
| 1871 | func (x *WebView) CallAsyncJavascriptFunctionFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | 1884 | func (x *WebView) CallAsyncJavascriptFunctionFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | ||
| 1885 | + | core.LazyRegister(&xWebViewCallAsyncJavascriptFunctionFinish, "WEBKIT", "webkit_web_view_call_async_javascript_function_finish", false) | |||
| 1872 | var cls *javascriptcore.Value | 1886 | var cls *javascriptcore.Value | ||
| 1873 | var cerr *glib.Error | 1887 | var cerr *glib.Error | ||
| 1874 | 1888 | ||||
| @@ -1892,6 +1906,8 @@ var xWebViewCanExecuteEditingCommand func(uintptr, string, uintptr, uintptr, uin | |||||
| 1892 | // When the operation is finished, @callback will be called. You can then call | 1906 | // When the operation is finished, @callback will be called. You can then call | ||
| 1893 | // webkit_web_view_can_execute_editing_command_finish() to get the result of the operation. | 1907 | // webkit_web_view_can_execute_editing_command_finish() to get the result of the operation. | ||
| 1894 | func (x *WebView) CanExecuteEditingCommand(CommandVar string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 1908 | func (x *WebView) CanExecuteEditingCommand(CommandVar string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 1909 | + | core.LazyRegister(&xWebViewCanExecuteEditingCommand, "WEBKIT", "webkit_web_view_can_execute_editing_command", false) | |||
| 1910 | + | ||||
| 1895 | xWebViewCanExecuteEditingCommand(x.GoPointer(), CommandVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 1911 | xWebViewCanExecuteEditingCommand(x.GoPointer(), CommandVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 1896 | } | 1912 | } | ||
| 1897 | 1913 | ||||
| @@ -1899,6 +1915,7 @@ var xWebViewCanExecuteEditingCommandFinish func(uintptr, uintptr, **glib.Error) | |||||
| 1899 | 1915 | ||||
| 1900 | // Finish an asynchronous operation started with webkit_web_view_can_execute_editing_command(). | 1916 | // Finish an asynchronous operation started with webkit_web_view_can_execute_editing_command(). | ||
| 1901 | func (x *WebView) CanExecuteEditingCommandFinish(ResultVar gio.AsyncResult) (bool, error) { | 1917 | func (x *WebView) CanExecuteEditingCommandFinish(ResultVar gio.AsyncResult) (bool, error) { | ||
| 1918 | + | core.LazyRegister(&xWebViewCanExecuteEditingCommandFinish, "WEBKIT", "webkit_web_view_can_execute_editing_command_finish", false) | |||
| 1902 | var cerr *glib.Error | 1919 | var cerr *glib.Error | ||
| 1903 | 1920 | ||||
| 1904 | cret := xWebViewCanExecuteEditingCommandFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 1921 | cret := xWebViewCanExecuteEditingCommandFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -1912,6 +1929,8 @@ var xWebViewCanGoBack func(uintptr) bool | |||||
| 1912 | 1929 | ||||
| 1913 | // Determines whether @web_view has a previous history item. | 1930 | // Determines whether @web_view has a previous history item. | ||
| 1914 | func (x *WebView) CanGoBack() bool { | 1931 | func (x *WebView) CanGoBack() bool { | ||
| 1932 | + | core.LazyRegister(&xWebViewCanGoBack, "WEBKIT", "webkit_web_view_can_go_back", false) | |||
| 1933 | + | ||||
| 1915 | cret := xWebViewCanGoBack(x.GoPointer()) | 1934 | cret := xWebViewCanGoBack(x.GoPointer()) | ||
| 1916 | return cret | 1935 | return cret | ||
| 1917 | } | 1936 | } | ||
| @@ -1920,6 +1939,8 @@ var xWebViewCanGoForward func(uintptr) bool | |||||
| 1920 | 1939 | ||||
| 1921 | // Determines whether @web_view has a next history item. | 1940 | // Determines whether @web_view has a next history item. | ||
| 1922 | func (x *WebView) CanGoForward() bool { | 1941 | func (x *WebView) CanGoForward() bool { | ||
| 1942 | + | core.LazyRegister(&xWebViewCanGoForward, "WEBKIT", "webkit_web_view_can_go_forward", false) | |||
| 1943 | + | ||||
| 1923 | cret := xWebViewCanGoForward(x.GoPointer()) | 1944 | cret := xWebViewCanGoForward(x.GoPointer()) | ||
| 1924 | return cret | 1945 | return cret | ||
| 1925 | } | 1946 | } | ||
| @@ -1928,6 +1949,8 @@ var xWebViewCanShowMimeType func(uintptr, string) bool | |||||
| 1928 | 1949 | ||||
| 1929 | // Whether or not a MIME type can be displayed in @web_view. | 1950 | // Whether or not a MIME type can be displayed in @web_view. | ||
| 1930 | func (x *WebView) CanShowMimeType(MimeTypeVar string) bool { | 1951 | func (x *WebView) CanShowMimeType(MimeTypeVar string) bool { | ||
| 1952 | + | core.LazyRegister(&xWebViewCanShowMimeType, "WEBKIT", "webkit_web_view_can_show_mime_type", false) | |||
| 1953 | + | ||||
| 1931 | cret := xWebViewCanShowMimeType(x.GoPointer(), MimeTypeVar) | 1954 | cret := xWebViewCanShowMimeType(x.GoPointer(), MimeTypeVar) | ||
| 1932 | return cret | 1955 | return cret | ||
| 1933 | } | 1956 | } | ||
| @@ -1936,6 +1959,7 @@ var xWebViewDownloadUri func(uintptr, string) uintptr | |||||
| 1936 | 1959 | ||||
| 1937 | // Requests downloading of the specified URI string for @web_view. | 1960 | // Requests downloading of the specified URI string for @web_view. | ||
| 1938 | func (x *WebView) DownloadUri(UriVar string) *Download { | 1961 | func (x *WebView) DownloadUri(UriVar string) *Download { | ||
| 1962 | + | core.LazyRegister(&xWebViewDownloadUri, "WEBKIT", "webkit_web_view_download_uri", false) | |||
| 1939 | var cls *Download | 1963 | var cls *Download | ||
| 1940 | 1964 | ||||
| 1941 | cret := xWebViewDownloadUri(x.GoPointer(), UriVar) | 1965 | cret := xWebViewDownloadUri(x.GoPointer(), UriVar) | ||
| @@ -2010,6 +2034,8 @@ var xWebViewEvaluateJavascript func(uintptr, string, int, uintptr, uintptr, uint | |||||
| 2010 | // | 2034 | // | ||
| 2011 | // ``` | 2035 | // ``` | ||
| 2012 | func (x *WebView) EvaluateJavascript(ScriptVar string, LengthVar int, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 2036 | func (x *WebView) EvaluateJavascript(ScriptVar string, LengthVar int, WorldNameVar *string, SourceUriVar *string, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 2037 | + | core.LazyRegister(&xWebViewEvaluateJavascript, "WEBKIT", "webkit_web_view_evaluate_javascript", false) | |||
| 2038 | + | ||||
| 2013 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | 2039 | WorldNameVarPtr := core.GStrdupNullable(WorldNameVar) | ||
| 2014 | defer core.GFreeNullable(WorldNameVarPtr) | 2040 | defer core.GFreeNullable(WorldNameVarPtr) | ||
| 2015 | 2041 | ||||
| @@ -2023,6 +2049,7 @@ var xWebViewEvaluateJavascriptFinish func(uintptr, uintptr, **glib.Error) uintpt | |||||
| 2023 | 2049 | ||||
| 2024 | // Finish an asynchronous operation started with webkit_web_view_evaluate_javascript(). | 2050 | // Finish an asynchronous operation started with webkit_web_view_evaluate_javascript(). | ||
| 2025 | func (x *WebView) EvaluateJavascriptFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | 2051 | func (x *WebView) EvaluateJavascriptFinish(ResultVar gio.AsyncResult) (*javascriptcore.Value, error) { | ||
| 2052 | + | core.LazyRegister(&xWebViewEvaluateJavascriptFinish, "WEBKIT", "webkit_web_view_evaluate_javascript_finish", false) | |||
| 2026 | var cls *javascriptcore.Value | 2053 | var cls *javascriptcore.Value | ||
| 2027 | var cerr *glib.Error | 2054 | var cerr *glib.Error | ||
| 2028 | 2055 | ||||
| @@ -2046,6 +2073,8 @@ var xWebViewExecuteEditingCommand func(uintptr, string) | |||||
| 2046 | // You can use webkit_web_view_can_execute_editing_command() to check whether | 2073 | // You can use webkit_web_view_can_execute_editing_command() to check whether | ||
| 2047 | // it's possible to execute the command. | 2074 | // it's possible to execute the command. | ||
| 2048 | func (x *WebView) ExecuteEditingCommand(CommandVar string) { | 2075 | func (x *WebView) ExecuteEditingCommand(CommandVar string) { | ||
| 2076 | + | core.LazyRegister(&xWebViewExecuteEditingCommand, "WEBKIT", "webkit_web_view_execute_editing_command", false) | |||
| 2077 | + | ||||
| 2049 | xWebViewExecuteEditingCommand(x.GoPointer(), CommandVar) | 2078 | xWebViewExecuteEditingCommand(x.GoPointer(), CommandVar) | ||
| 2050 | } | 2079 | } | ||
| 2051 | 2080 | ||||
| @@ -2057,6 +2086,8 @@ var xWebViewExecuteEditingCommandWithArgument func(uintptr, string, string) | |||||
| 2057 | // webkit_web_view_can_execute_editing_command() to check whether | 2086 | // webkit_web_view_can_execute_editing_command() to check whether | ||
| 2058 | // it's possible to execute the command. | 2087 | // it's possible to execute the command. | ||
| 2059 | func (x *WebView) ExecuteEditingCommandWithArgument(CommandVar string, ArgumentVar string) { | 2088 | func (x *WebView) ExecuteEditingCommandWithArgument(CommandVar string, ArgumentVar string) { | ||
| 2089 | + | core.LazyRegister(&xWebViewExecuteEditingCommandWithArgument, "WEBKIT", "webkit_web_view_execute_editing_command_with_argument", false) | |||
| 2090 | + | ||||
| 2060 | xWebViewExecuteEditingCommandWithArgument(x.GoPointer(), CommandVar, ArgumentVar) | 2091 | xWebViewExecuteEditingCommandWithArgument(x.GoPointer(), CommandVar, ArgumentVar) | ||
| 2061 | } | 2092 | } | ||
| 2062 | 2093 | ||||
| @@ -2064,6 +2095,8 @@ var xWebViewGetAutomationPresentationType func(uintptr) AutomationBrowsingContex | |||||
| 2064 | 2095 | ||||
| 2065 | // Get the presentation type of #WebKitWebView when created for automation. | 2096 | // Get the presentation type of #WebKitWebView when created for automation. | ||
| 2066 | func (x *WebView) GetAutomationPresentationType() AutomationBrowsingContextPresentation { | 2097 | func (x *WebView) GetAutomationPresentationType() AutomationBrowsingContextPresentation { | ||
| 2098 | + | core.LazyRegister(&xWebViewGetAutomationPresentationType, "WEBKIT", "webkit_web_view_get_automation_presentation_type", false) | |||
| 2099 | + | ||||
| 2067 | cret := xWebViewGetAutomationPresentationType(x.GoPointer()) | 2100 | cret := xWebViewGetAutomationPresentationType(x.GoPointer()) | ||
| 2068 | return cret | 2101 | return cret | ||
| 2069 | } | 2102 | } | ||
| @@ -2074,6 +2107,7 @@ var xWebViewGetBackForwardList func(uintptr) uintptr | |||||
| 2074 | // | 2107 | // | ||
| 2075 | // The #WebKitBackForwardList is owned by the #WebKitWebView. | 2108 | // The #WebKitBackForwardList is owned by the #WebKitWebView. | ||
| 2076 | func (x *WebView) GetBackForwardList() *BackForwardList { | 2109 | func (x *WebView) GetBackForwardList() *BackForwardList { | ||
| 2110 | + | core.LazyRegister(&xWebViewGetBackForwardList, "WEBKIT", "webkit_web_view_get_back_forward_list", false) | |||
| 2077 | var cls *BackForwardList | 2111 | var cls *BackForwardList | ||
| 2078 | 2112 | ||||
| 2079 | cret := xWebViewGetBackForwardList(x.GoPointer()) | 2113 | cret := xWebViewGetBackForwardList(x.GoPointer()) | ||
| @@ -2095,6 +2129,8 @@ var xWebViewGetBackgroundColor func(uintptr, *gdk.RGBA) | |||||
| 2095 | // the actual contents are rendered. | 2129 | // the actual contents are rendered. | ||
| 2096 | // For more information see also webkit_web_view_set_background_color() | 2130 | // For more information see also webkit_web_view_set_background_color() | ||
| 2097 | func (x *WebView) GetBackgroundColor(RgbaVar *gdk.RGBA) { | 2131 | func (x *WebView) GetBackgroundColor(RgbaVar *gdk.RGBA) { | ||
| 2132 | + | core.LazyRegister(&xWebViewGetBackgroundColor, "WEBKIT", "webkit_web_view_get_background_color", false) | |||
| 2133 | + | ||||
| 2098 | xWebViewGetBackgroundColor(x.GoPointer(), RgbaVar) | 2134 | xWebViewGetBackgroundColor(x.GoPointer(), RgbaVar) | ||
| 2099 | } | 2135 | } | ||
| 2100 | 2136 | ||||
| @@ -2102,6 +2138,8 @@ var xWebViewGetCameraCaptureState func(uintptr) MediaCaptureState | |||||
| 2102 | 2138 | ||||
| 2103 | // Get the camera capture state of a #WebKitWebView. | 2139 | // Get the camera capture state of a #WebKitWebView. | ||
| 2104 | func (x *WebView) GetCameraCaptureState() MediaCaptureState { | 2140 | func (x *WebView) GetCameraCaptureState() MediaCaptureState { | ||
| 2141 | + | core.LazyRegister(&xWebViewGetCameraCaptureState, "WEBKIT", "webkit_web_view_get_camera_capture_state", false) | |||
| 2142 | + | ||||
| 2105 | cret := xWebViewGetCameraCaptureState(x.GoPointer()) | 2143 | cret := xWebViewGetCameraCaptureState(x.GoPointer()) | ||
| 2106 | return cret | 2144 | return cret | ||
| 2107 | } | 2145 | } | ||
| @@ -2110,6 +2148,7 @@ var xWebViewGetContext func(uintptr) uintptr | |||||
| 2110 | 2148 | ||||
| 2111 | // Gets the web context of @web_view. | 2149 | // Gets the web context of @web_view. | ||
| 2112 | func (x *WebView) GetContext() *WebContext { | 2150 | func (x *WebView) GetContext() *WebContext { | ||
| 2151 | + | core.LazyRegister(&xWebViewGetContext, "WEBKIT", "webkit_web_view_get_context", false) | |||
| 2113 | var cls *WebContext | 2152 | var cls *WebContext | ||
| 2114 | 2153 | ||||
| 2115 | cret := xWebViewGetContext(x.GoPointer()) | 2154 | cret := xWebViewGetContext(x.GoPointer()) | ||
| @@ -2127,6 +2166,8 @@ var xWebViewGetCustomCharset func(uintptr) string | |||||
| 2127 | 2166 | ||||
| 2128 | // Returns the current custom character encoding name of @web_view. | 2167 | // Returns the current custom character encoding name of @web_view. | ||
| 2129 | func (x *WebView) GetCustomCharset() string { | 2168 | func (x *WebView) GetCustomCharset() string { | ||
| 2169 | + | core.LazyRegister(&xWebViewGetCustomCharset, "WEBKIT", "webkit_web_view_get_custom_charset", false) | |||
| 2170 | + | ||||
| 2130 | cret := xWebViewGetCustomCharset(x.GoPointer()) | 2171 | cret := xWebViewGetCustomCharset(x.GoPointer()) | ||
| 2131 | return cret | 2172 | return cret | ||
| 2132 | } | 2173 | } | ||
| @@ -2135,6 +2176,8 @@ var xWebViewGetDefaultContentSecurityPolicy func(uintptr) string | |||||
| 2135 | 2176 | ||||
| 2136 | // Gets the configured default Content-Security-Policy. | 2177 | // Gets the configured default Content-Security-Policy. | ||
| 2137 | func (x *WebView) GetDefaultContentSecurityPolicy() string { | 2178 | func (x *WebView) GetDefaultContentSecurityPolicy() string { | ||
| 2179 | + | core.LazyRegister(&xWebViewGetDefaultContentSecurityPolicy, "WEBKIT", "webkit_web_view_get_default_content_security_policy", false) | |||
| 2180 | + | ||||
| 2138 | cret := xWebViewGetDefaultContentSecurityPolicy(x.GoPointer()) | 2181 | cret := xWebViewGetDefaultContentSecurityPolicy(x.GoPointer()) | ||
| 2139 | return cret | 2182 | return cret | ||
| 2140 | } | 2183 | } | ||
| @@ -2143,6 +2186,8 @@ var xWebViewGetDisplayCaptureState func(uintptr) MediaCaptureState | |||||
| 2143 | 2186 | ||||
| 2144 | // Get the display capture state of a #WebKitWebView. | 2187 | // Get the display capture state of a #WebKitWebView. | ||
| 2145 | func (x *WebView) GetDisplayCaptureState() MediaCaptureState { | 2188 | func (x *WebView) GetDisplayCaptureState() MediaCaptureState { | ||
| 2189 | + | core.LazyRegister(&xWebViewGetDisplayCaptureState, "WEBKIT", "webkit_web_view_get_display_capture_state", false) | |||
| 2190 | + | ||||
| 2146 | cret := xWebViewGetDisplayCaptureState(x.GoPointer()) | 2191 | cret := xWebViewGetDisplayCaptureState(x.GoPointer()) | ||
| 2147 | return cret | 2192 | return cret | ||
| 2148 | } | 2193 | } | ||
| @@ -2151,6 +2196,7 @@ var xWebViewGetEditorState func(uintptr) uintptr | |||||
| 2151 | 2196 | ||||
| 2152 | // Gets the web editor state of @web_view. | 2197 | // Gets the web editor state of @web_view. | ||
| 2153 | func (x *WebView) GetEditorState() *EditorState { | 2198 | func (x *WebView) GetEditorState() *EditorState { | ||
| 2199 | + | core.LazyRegister(&xWebViewGetEditorState, "WEBKIT", "webkit_web_view_get_editor_state", false) | |||
| 2154 | var cls *EditorState | 2200 | var cls *EditorState | ||
| 2155 | 2201 | ||||
| 2156 | cret := xWebViewGetEditorState(x.GoPointer()) | 2202 | cret := xWebViewGetEditorState(x.GoPointer()) | ||
| @@ -2171,6 +2217,8 @@ var xWebViewGetEstimatedLoadProgress func(uintptr) float64 | |||||
| 2171 | // You can monitor the estimated progress of a load operation by | 2217 | // You can monitor the estimated progress of a load operation by | ||
| 2172 | // connecting to the notify::estimated-load-progress signal of @web_view. | 2218 | // connecting to the notify::estimated-load-progress signal of @web_view. | ||
| 2173 | func (x *WebView) GetEstimatedLoadProgress() float64 { | 2219 | func (x *WebView) GetEstimatedLoadProgress() float64 { | ||
| 2220 | + | core.LazyRegister(&xWebViewGetEstimatedLoadProgress, "WEBKIT", "webkit_web_view_get_estimated_load_progress", false) | |||
| 2221 | + | ||||
| 2174 | cret := xWebViewGetEstimatedLoadProgress(x.GoPointer()) | 2222 | cret := xWebViewGetEstimatedLoadProgress(x.GoPointer()) | ||
| 2175 | return cret | 2223 | return cret | ||
| 2176 | } | 2224 | } | ||
| @@ -2183,6 +2231,7 @@ var xWebViewGetFavicon func(uintptr) uintptr | |||||
| 2183 | // connect to notify::favicon signal of @web_view to be notified when | 2231 | // connect to notify::favicon signal of @web_view to be notified when | ||
| 2184 | // the favicon is available. | 2232 | // the favicon is available. | ||
| 2185 | func (x *WebView) GetFavicon() *gdk.Texture { | 2233 | func (x *WebView) GetFavicon() *gdk.Texture { | ||
| 2234 | + | core.LazyRegister(&xWebViewGetFavicon, "WEBKIT", "webkit_web_view_get_favicon", false) | |||
| 2186 | var cls *gdk.Texture | 2235 | var cls *gdk.Texture | ||
| 2187 | 2236 | ||||
| 2188 | cret := xWebViewGetFavicon(x.GoPointer()) | 2237 | cret := xWebViewGetFavicon(x.GoPointer()) | ||
| @@ -2203,6 +2252,7 @@ var xWebViewGetFindController func(uintptr) uintptr | |||||
| 2203 | // Gets the #WebKitFindController that will allow the caller to query | 2252 | // Gets the #WebKitFindController that will allow the caller to query | ||
| 2204 | // the #WebKitWebView for the text to look for. | 2253 | // the #WebKitWebView for the text to look for. | ||
| 2205 | func (x *WebView) GetFindController() *FindController { | 2254 | func (x *WebView) GetFindController() *FindController { | ||
| 2255 | + | core.LazyRegister(&xWebViewGetFindController, "WEBKIT", "webkit_web_view_get_find_controller", false) | |||
| 2206 | var cls *FindController | 2256 | var cls *FindController | ||
| 2207 | 2257 | ||||
| 2208 | cret := xWebViewGetFindController(x.GoPointer()) | 2258 | cret := xWebViewGetFindController(x.GoPointer()) | ||
| @@ -2222,6 +2272,7 @@ var xWebViewGetInputMethodContext func(uintptr) uintptr | |||||
| 2222 | // | 2272 | // | ||
| 2223 | // Get the #WebKitInputMethodContext currently in use by @web_view, or %NULL if no input method is being used. | 2273 | // Get the #WebKitInputMethodContext currently in use by @web_view, or %NULL if no input method is being used. | ||
| 2224 | func (x *WebView) GetInputMethodContext() *InputMethodContext { | 2274 | func (x *WebView) GetInputMethodContext() *InputMethodContext { | ||
| 2275 | + | core.LazyRegister(&xWebViewGetInputMethodContext, "WEBKIT", "webkit_web_view_get_input_method_context", false) | |||
| 2225 | var cls *InputMethodContext | 2276 | var cls *InputMethodContext | ||
| 2226 | 2277 | ||||
| 2227 | cret := xWebViewGetInputMethodContext(x.GoPointer()) | 2278 | cret := xWebViewGetInputMethodContext(x.GoPointer()) | ||
| @@ -2239,6 +2290,7 @@ var xWebViewGetInspector func(uintptr) uintptr | |||||
| 2239 | 2290 | ||||
| 2240 | // Get the #WebKitWebInspector associated to @web_view | 2291 | // Get the #WebKitWebInspector associated to @web_view | ||
| 2241 | func (x *WebView) GetInspector() *WebInspector { | 2292 | func (x *WebView) GetInspector() *WebInspector { | ||
| 2293 | + | core.LazyRegister(&xWebViewGetInspector, "WEBKIT", "webkit_web_view_get_inspector", false) | |||
| 2242 | var cls *WebInspector | 2294 | var cls *WebInspector | ||
| 2243 | 2295 | ||||
| 2244 | cret := xWebViewGetInspector(x.GoPointer()) | 2296 | cret := xWebViewGetInspector(x.GoPointer()) | ||
| @@ -2256,6 +2308,8 @@ var xWebViewGetIsMuted func(uintptr) bool | |||||
| 2256 | 2308 | ||||
| 2257 | // Gets the mute state of @web_view. | 2309 | // Gets the mute state of @web_view. | ||
| 2258 | func (x *WebView) GetIsMuted() bool { | 2310 | func (x *WebView) GetIsMuted() bool { | ||
| 2311 | + | core.LazyRegister(&xWebViewGetIsMuted, "WEBKIT", "webkit_web_view_get_is_muted", false) | |||
| 2312 | + | ||||
| 2259 | cret := xWebViewGetIsMuted(x.GoPointer()) | 2313 | cret := xWebViewGetIsMuted(x.GoPointer()) | ||
| 2260 | return cret | 2314 | return cret | ||
| 2261 | } | 2315 | } | ||
| @@ -2264,6 +2318,8 @@ var xWebViewGetIsWebProcessResponsive func(uintptr) bool | |||||
| 2264 | 2318 | ||||
| 2265 | // Get whether the current web process of a #WebKitWebView is responsive. | 2319 | // Get whether the current web process of a #WebKitWebView is responsive. | ||
| 2266 | func (x *WebView) GetIsWebProcessResponsive() bool { | 2320 | func (x *WebView) GetIsWebProcessResponsive() bool { | ||
| 2321 | + | core.LazyRegister(&xWebViewGetIsWebProcessResponsive, "WEBKIT", "webkit_web_view_get_is_web_process_responsive", false) | |||
| 2322 | + | ||||
| 2267 | cret := xWebViewGetIsWebProcessResponsive(x.GoPointer()) | 2323 | cret := xWebViewGetIsWebProcessResponsive(x.GoPointer()) | ||
| 2268 | return cret | 2324 | return cret | ||
| 2269 | } | 2325 | } | ||
| @@ -2272,6 +2328,7 @@ var xWebViewGetMainResource func(uintptr) uintptr | |||||
| 2272 | 2328 | ||||
| 2273 | // Return the main resource of @web_view. | 2329 | // Return the main resource of @web_view. | ||
| 2274 | func (x *WebView) GetMainResource() *WebResource { | 2330 | func (x *WebView) GetMainResource() *WebResource { | ||
| 2331 | + | core.LazyRegister(&xWebViewGetMainResource, "WEBKIT", "webkit_web_view_get_main_resource", false) | |||
| 2275 | var cls *WebResource | 2332 | var cls *WebResource | ||
| 2276 | 2333 | ||||
| 2277 | cret := xWebViewGetMainResource(x.GoPointer()) | 2334 | cret := xWebViewGetMainResource(x.GoPointer()) | ||
| @@ -2289,6 +2346,8 @@ var xWebViewGetMicrophoneCaptureState func(uintptr) MediaCaptureState | |||||
| 2289 | 2346 | ||||
| 2290 | // Get the microphone capture state of a #WebKitWebView. | 2347 | // Get the microphone capture state of a #WebKitWebView. | ||
| 2291 | func (x *WebView) GetMicrophoneCaptureState() MediaCaptureState { | 2348 | func (x *WebView) GetMicrophoneCaptureState() MediaCaptureState { | ||
| 2349 | + | core.LazyRegister(&xWebViewGetMicrophoneCaptureState, "WEBKIT", "webkit_web_view_get_microphone_capture_state", false) | |||
| 2350 | + | ||||
| 2292 | cret := xWebViewGetMicrophoneCaptureState(x.GoPointer()) | 2351 | cret := xWebViewGetMicrophoneCaptureState(x.GoPointer()) | ||
| 2293 | return cret | 2352 | return cret | ||
| 2294 | } | 2353 | } | ||
| @@ -2297,6 +2356,7 @@ var xWebViewGetNetworkSession func(uintptr) uintptr | |||||
| 2297 | 2356 | ||||
| 2298 | // Get the #WebKitNetworkSession associated to @web_view. | 2357 | // Get the #WebKitNetworkSession associated to @web_view. | ||
| 2299 | func (x *WebView) GetNetworkSession() *NetworkSession { | 2358 | func (x *WebView) GetNetworkSession() *NetworkSession { | ||
| 2359 | + | core.LazyRegister(&xWebViewGetNetworkSession, "WEBKIT", "webkit_web_view_get_network_session", false) | |||
| 2300 | var cls *NetworkSession | 2360 | var cls *NetworkSession | ||
| 2301 | 2361 | ||||
| 2302 | cret := xWebViewGetNetworkSession(x.GoPointer()) | 2362 | cret := xWebViewGetNetworkSession(x.GoPointer()) | ||
| @@ -2315,6 +2375,8 @@ var xWebViewGetPageId func(uintptr) uint64 | |||||
| 2315 | // Get the identifier of the #WebKitWebPage corresponding to | 2375 | // Get the identifier of the #WebKitWebPage corresponding to | ||
| 2316 | // the #WebKitWebView | 2376 | // the #WebKitWebView | ||
| 2317 | func (x *WebView) GetPageId() uint64 { | 2377 | func (x *WebView) GetPageId() uint64 { | ||
| 2378 | + | core.LazyRegister(&xWebViewGetPageId, "WEBKIT", "webkit_web_view_get_page_id", false) | |||
| 2379 | + | ||||
| 2318 | cret := xWebViewGetPageId(x.GoPointer()) | 2380 | cret := xWebViewGetPageId(x.GoPointer()) | ||
| 2319 | return cret | 2381 | return cret | ||
| 2320 | } | 2382 | } | ||
| @@ -2323,6 +2385,8 @@ var xWebViewGetSessionState func(uintptr) uintptr | |||||
| 2323 | 2385 | ||||
| 2324 | // Gets the current session state of @web_view | 2386 | // Gets the current session state of @web_view | ||
| 2325 | func (x *WebView) GetSessionState() *WebViewSessionState { | 2387 | func (x *WebView) GetSessionState() *WebViewSessionState { | ||
| 2388 | + | core.LazyRegister(&xWebViewGetSessionState, "WEBKIT", "webkit_web_view_get_session_state", false) | |||
| 2389 | + | ||||
| 2326 | cret := xWebViewGetSessionState(x.GoPointer()) | 2390 | cret := xWebViewGetSessionState(x.GoPointer()) | ||
| 2327 | if cret == 0 { | 2391 | if cret == 0 { | ||
| 2328 | return nil | 2392 | return nil | ||
| @@ -2347,6 +2411,7 @@ var xWebViewGetSettings func(uintptr) uintptr | |||||
| 2347 | // the settings of a #WebKitWebView would affect other | 2411 | // the settings of a #WebKitWebView would affect other | ||
| 2348 | // #WebKitWebView<!-- -->s using the same #WebKitSettings. | 2412 | // #WebKitWebView<!-- -->s using the same #WebKitSettings. | ||
| 2349 | func (x *WebView) GetSettings() *Settings { | 2413 | func (x *WebView) GetSettings() *Settings { | ||
| 2414 | + | core.LazyRegister(&xWebViewGetSettings, "WEBKIT", "webkit_web_view_get_settings", false) | |||
| 2350 | var cls *Settings | 2415 | var cls *Settings | ||
| 2351 | 2416 | ||||
| 2352 | cret := xWebViewGetSettings(x.GoPointer()) | 2417 | cret := xWebViewGetSettings(x.GoPointer()) | ||
| @@ -2370,6 +2435,8 @@ var xWebViewGetSnapshot func(uintptr, SnapshotRegion, SnapshotOptions, uintptr, | |||||
| 2370 | // call webkit_web_view_get_snapshot_finish() to get the result of the | 2435 | // call webkit_web_view_get_snapshot_finish() to get the result of the | ||
| 2371 | // operation. | 2436 | // operation. | ||
| 2372 | func (x *WebView) GetSnapshot(RegionVar SnapshotRegion, OptionsVar SnapshotOptions, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 2437 | func (x *WebView) GetSnapshot(RegionVar SnapshotRegion, OptionsVar SnapshotOptions, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 2438 | + | core.LazyRegister(&xWebViewGetSnapshot, "WEBKIT", "webkit_web_view_get_snapshot", false) | |||
| 2439 | + | ||||
| 2373 | xWebViewGetSnapshot(x.GoPointer(), RegionVar, OptionsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 2440 | xWebViewGetSnapshot(x.GoPointer(), RegionVar, OptionsVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 2374 | } | 2441 | } | ||
| 2375 | 2442 | ||||
| @@ -2378,6 +2445,7 @@ var xWebViewGetSnapshotFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 2378 | // Finishes an asynchronous operation started with webkit_web_view_get_snapshot(), producing | 2445 | // Finishes an asynchronous operation started with webkit_web_view_get_snapshot(), producing | ||
| 2379 | // an image of the snapshot using the BGRA8888 pixel format. | 2446 | // an image of the snapshot using the BGRA8888 pixel format. | ||
| 2380 | func (x *WebView) GetSnapshotFinish(ResultVar gio.AsyncResult) (*gdk.Texture, error) { | 2447 | func (x *WebView) GetSnapshotFinish(ResultVar gio.AsyncResult) (*gdk.Texture, error) { | ||
| 2448 | + | core.LazyRegister(&xWebViewGetSnapshotFinish, "WEBKIT", "webkit_web_view_get_snapshot_finish", false) | |||
| 2381 | var cls *gdk.Texture | 2449 | var cls *gdk.Texture | ||
| 2382 | var cerr *glib.Error | 2450 | var cerr *glib.Error | ||
| 2383 | 2451 | ||||
| @@ -2400,6 +2468,8 @@ var xWebViewGetThemeColor func(uintptr, *gdk.RGBA) bool | |||||
| 2400 | // If the @web_view doesn't have a theme color it will fill the @rgba | 2468 | // If the @web_view doesn't have a theme color it will fill the @rgba | ||
| 2401 | // with transparent black content. | 2469 | // with transparent black content. | ||
| 2402 | func (x *WebView) GetThemeColor(RgbaVar *gdk.RGBA) bool { | 2470 | func (x *WebView) GetThemeColor(RgbaVar *gdk.RGBA) bool { | ||
| 2471 | + | core.LazyRegister(&xWebViewGetThemeColor, "WEBKIT", "webkit_web_view_get_theme_color", false) | |||
| 2472 | + | ||||
| 2403 | cret := xWebViewGetThemeColor(x.GoPointer(), RgbaVar) | 2473 | cret := xWebViewGetThemeColor(x.GoPointer(), RgbaVar) | ||
| 2404 | return cret | 2474 | return cret | ||
| 2405 | } | 2475 | } | ||
| @@ -2411,6 +2481,8 @@ var xWebViewGetTitle func(uintptr) string | |||||
| 2411 | // You can connect to notify::title signal of @web_view to | 2481 | // You can connect to notify::title signal of @web_view to | ||
| 2412 | // be notified when the title has been received. | 2482 | // be notified when the title has been received. | ||
| 2413 | func (x *WebView) GetTitle() string { | 2483 | func (x *WebView) GetTitle() string { | ||
| 2484 | + | core.LazyRegister(&xWebViewGetTitle, "WEBKIT", "webkit_web_view_get_title", false) | |||
| 2485 | + | ||||
| 2414 | cret := xWebViewGetTitle(x.GoPointer()) | 2486 | cret := xWebViewGetTitle(x.GoPointer()) | ||
| 2415 | return cret | 2487 | return cret | ||
| 2416 | } | 2488 | } | ||
| @@ -2434,6 +2506,8 @@ var xWebViewGetTlsInfo func(uintptr, **gio.TlsCertificate, *gio.TlsCertificateFl | |||||
| 2434 | // if the current #WebKitTLSErrorsPolicy is %WEBKIT_TLS_ERRORS_POLICY_FAIL, in | 2506 | // if the current #WebKitTLSErrorsPolicy is %WEBKIT_TLS_ERRORS_POLICY_FAIL, in | ||
| 2435 | // which case subresources that fail certificate verification will be blocked. | 2507 | // which case subresources that fail certificate verification will be blocked. | ||
| 2436 | func (x *WebView) GetTlsInfo(CertificateVar **gio.TlsCertificate, ErrorsVar *gio.TlsCertificateFlags) bool { | 2508 | func (x *WebView) GetTlsInfo(CertificateVar **gio.TlsCertificate, ErrorsVar *gio.TlsCertificateFlags) bool { | ||
| 2509 | + | core.LazyRegister(&xWebViewGetTlsInfo, "WEBKIT", "webkit_web_view_get_tls_info", false) | |||
| 2510 | + | ||||
| 2437 | cret := xWebViewGetTlsInfo(x.GoPointer(), CertificateVar, ErrorsVar) | 2511 | cret := xWebViewGetTlsInfo(x.GoPointer(), CertificateVar, ErrorsVar) | ||
| 2438 | return cret | 2512 | return cret | ||
| 2439 | } | 2513 | } | ||
| @@ -2501,6 +2575,8 @@ var xWebViewGetUri func(uintptr) string | |||||
| 2501 | // You can monitor the active URI by connecting to the notify::uri | 2575 | // You can monitor the active URI by connecting to the notify::uri | ||
| 2502 | // signal of @web_view. | 2576 | // signal of @web_view. | ||
| 2503 | func (x *WebView) GetUri() string { | 2577 | func (x *WebView) GetUri() string { | ||
| 2578 | + | core.LazyRegister(&xWebViewGetUri, "WEBKIT", "webkit_web_view_get_uri", false) | |||
| 2579 | + | ||||
| 2504 | cret := xWebViewGetUri(x.GoPointer()) | 2580 | cret := xWebViewGetUri(x.GoPointer()) | ||
| 2505 | return cret | 2581 | return cret | ||
| 2506 | } | 2582 | } | ||
| @@ -2509,6 +2585,7 @@ var xWebViewGetUserContentManager func(uintptr) uintptr | |||||
| 2509 | 2585 | ||||
| 2510 | // Gets the user content manager associated to @web_view. | 2586 | // Gets the user content manager associated to @web_view. | ||
| 2511 | func (x *WebView) GetUserContentManager() *UserContentManager { | 2587 | func (x *WebView) GetUserContentManager() *UserContentManager { | ||
| 2588 | + | core.LazyRegister(&xWebViewGetUserContentManager, "WEBKIT", "webkit_web_view_get_user_content_manager", false) | |||
| 2512 | var cls *UserContentManager | 2589 | var cls *UserContentManager | ||
| 2513 | 2590 | ||||
| 2514 | cret := xWebViewGetUserContentManager(x.GoPointer()) | 2591 | cret := xWebViewGetUserContentManager(x.GoPointer()) | ||
| @@ -2526,6 +2603,8 @@ var xWebViewGetWebExtensionMode func(uintptr) WebExtensionMode | |||||
| 2526 | 2603 | ||||
| 2527 | // Get the view's #WebKitWebExtensionMode. | 2604 | // Get the view's #WebKitWebExtensionMode. | ||
| 2528 | func (x *WebView) GetWebExtensionMode() WebExtensionMode { | 2605 | func (x *WebView) GetWebExtensionMode() WebExtensionMode { | ||
| 2606 | + | core.LazyRegister(&xWebViewGetWebExtensionMode, "WEBKIT", "webkit_web_view_get_web_extension_mode", false) | |||
| 2607 | + | ||||
| 2529 | cret := xWebViewGetWebExtensionMode(x.GoPointer()) | 2608 | cret := xWebViewGetWebExtensionMode(x.GoPointer()) | ||
| 2530 | return cret | 2609 | return cret | ||
| 2531 | } | 2610 | } | ||
| @@ -2540,6 +2619,7 @@ var xWebViewGetWebsitePolicies func(uintptr) uintptr | |||||
| 2540 | // | 2619 | // | ||
| 2541 | // See also webkit_policy_decision_use_with_policies(). | 2620 | // See also webkit_policy_decision_use_with_policies(). | ||
| 2542 | func (x *WebView) GetWebsitePolicies() *WebsitePolicies { | 2621 | func (x *WebView) GetWebsitePolicies() *WebsitePolicies { | ||
| 2622 | + | core.LazyRegister(&xWebViewGetWebsitePolicies, "WEBKIT", "webkit_web_view_get_website_policies", false) | |||
| 2543 | var cls *WebsitePolicies | 2623 | var cls *WebsitePolicies | ||
| 2544 | 2624 | ||||
| 2545 | cret := xWebViewGetWebsitePolicies(x.GoPointer()) | 2625 | cret := xWebViewGetWebsitePolicies(x.GoPointer()) | ||
| @@ -2560,6 +2640,7 @@ var xWebViewGetWindowProperties func(uintptr) uintptr | |||||
| 2560 | // Get the #WebKitWindowProperties object containing the properties | 2640 | // Get the #WebKitWindowProperties object containing the properties | ||
| 2561 | // that the window containing @web_view should have. | 2641 | // that the window containing @web_view should have. | ||
| 2562 | func (x *WebView) GetWindowProperties() *WindowProperties { | 2642 | func (x *WebView) GetWindowProperties() *WindowProperties { | ||
| 2643 | + | core.LazyRegister(&xWebViewGetWindowProperties, "WEBKIT", "webkit_web_view_get_window_properties", false) | |||
| 2563 | var cls *WindowProperties | 2644 | var cls *WindowProperties | ||
| 2564 | 2645 | ||||
| 2565 | cret := xWebViewGetWindowProperties(x.GoPointer()) | 2646 | cret := xWebViewGetWindowProperties(x.GoPointer()) | ||
| @@ -2580,6 +2661,8 @@ var xWebViewGetZoomLevel func(uintptr) float64 | |||||
| 2580 | // Get the zoom level of @web_view, i.e. the factor by which the | 2661 | // Get the zoom level of @web_view, i.e. the factor by which the | ||
| 2581 | // view contents are scaled with respect to their original size. | 2662 | // view contents are scaled with respect to their original size. | ||
| 2582 | func (x *WebView) GetZoomLevel() float64 { | 2663 | func (x *WebView) GetZoomLevel() float64 { | ||
| 2664 | + | core.LazyRegister(&xWebViewGetZoomLevel, "WEBKIT", "webkit_web_view_get_zoom_level", false) | |||
| 2665 | + | ||||
| 2583 | cret := xWebViewGetZoomLevel(x.GoPointer()) | 2666 | cret := xWebViewGetZoomLevel(x.GoPointer()) | ||
| 2584 | return cret | 2667 | return cret | ||
| 2585 | } | 2668 | } | ||
| @@ -2591,6 +2674,8 @@ var xWebViewGoBack func(uintptr) | |||||
| 2591 | // You can monitor the load operation by connecting to | 2674 | // You can monitor the load operation by connecting to | ||
| 2592 | // #WebKitWebView::load-changed signal. | 2675 | // #WebKitWebView::load-changed signal. | ||
| 2593 | func (x *WebView) GoBack() { | 2676 | func (x *WebView) GoBack() { | ||
| 2677 | + | core.LazyRegister(&xWebViewGoBack, "WEBKIT", "webkit_web_view_go_back", false) | |||
| 2678 | + | ||||
| 2594 | xWebViewGoBack(x.GoPointer()) | 2679 | xWebViewGoBack(x.GoPointer()) | ||
| 2595 | } | 2680 | } | ||
| 2596 | 2681 | ||||
| @@ -2601,6 +2686,8 @@ var xWebViewGoForward func(uintptr) | |||||
| 2601 | // You can monitor the load operation by connecting to | 2686 | // You can monitor the load operation by connecting to | ||
| 2602 | // #WebKitWebView::load-changed signal. | 2687 | // #WebKitWebView::load-changed signal. | ||
| 2603 | func (x *WebView) GoForward() { | 2688 | func (x *WebView) GoForward() { | ||
| 2689 | + | core.LazyRegister(&xWebViewGoForward, "WEBKIT", "webkit_web_view_go_forward", false) | |||
| 2690 | + | ||||
| 2604 | xWebViewGoForward(x.GoPointer()) | 2691 | xWebViewGoForward(x.GoPointer()) | ||
| 2605 | } | 2692 | } | ||
| 2606 | 2693 | ||||
| @@ -2611,6 +2698,8 @@ var xWebViewGoToBackForwardListItem func(uintptr, uintptr) | |||||
| 2611 | // You can monitor the load operation by connecting to | 2698 | // You can monitor the load operation by connecting to | ||
| 2612 | // #WebKitWebView::load-changed signal. | 2699 | // #WebKitWebView::load-changed signal. | ||
| 2613 | func (x *WebView) GoToBackForwardListItem(ListItemVar *BackForwardListItem) { | 2700 | func (x *WebView) GoToBackForwardListItem(ListItemVar *BackForwardListItem) { | ||
| 2701 | + | core.LazyRegister(&xWebViewGoToBackForwardListItem, "WEBKIT", "webkit_web_view_go_to_back_forward_list_item", false) | |||
| 2702 | + | ||||
| 2614 | xWebViewGoToBackForwardListItem(x.GoPointer(), ListItemVar.GoPointer()) | 2703 | xWebViewGoToBackForwardListItem(x.GoPointer(), ListItemVar.GoPointer()) | ||
| 2615 | } | 2704 | } | ||
| 2616 | 2705 | ||||
| @@ -2622,6 +2711,8 @@ var xWebViewIsControlledByAutomation func(uintptr) bool | |||||
| 2622 | // Only #WebKitWebView<!-- -->s controlled by automation can be used in an | 2711 | // Only #WebKitWebView<!-- -->s controlled by automation can be used in an | ||
| 2623 | // automation session. | 2712 | // automation session. | ||
| 2624 | func (x *WebView) IsControlledByAutomation() bool { | 2713 | func (x *WebView) IsControlledByAutomation() bool { | ||
| 2714 | + | core.LazyRegister(&xWebViewIsControlledByAutomation, "WEBKIT", "webkit_web_view_is_controlled_by_automation", false) | |||
| 2715 | + | ||||
| 2625 | cret := xWebViewIsControlledByAutomation(x.GoPointer()) | 2716 | cret := xWebViewIsControlledByAutomation(x.GoPointer()) | ||
| 2626 | return cret | 2717 | return cret | ||
| 2627 | } | 2718 | } | ||
| @@ -2634,6 +2725,8 @@ var xWebViewIsEditable func(uintptr) bool | |||||
| 2634 | // CONTENTEDITABLE attribute has been set on the element or one of its parent | 2725 | // CONTENTEDITABLE attribute has been set on the element or one of its parent | ||
| 2635 | // elements. By default a #WebKitWebView is not editable. | 2726 | // elements. By default a #WebKitWebView is not editable. | ||
| 2636 | func (x *WebView) IsEditable() bool { | 2727 | func (x *WebView) IsEditable() bool { | ||
| 2728 | + | core.LazyRegister(&xWebViewIsEditable, "WEBKIT", "webkit_web_view_is_editable", false) | |||
| 2729 | + | ||||
| 2637 | cret := xWebViewIsEditable(x.GoPointer()) | 2730 | cret := xWebViewIsEditable(x.GoPointer()) | ||
| 2638 | return cret | 2731 | return cret | ||
| 2639 | } | 2732 | } | ||
| @@ -2647,6 +2740,8 @@ var xWebViewIsImmersiveModeEnabled func(uintptr) bool | |||||
| 2647 | // | 2740 | // | ||
| 2648 | // Note that if WebXR is disabled or OPENXR is not used, this API always returns %FALSE. | 2741 | // Note that if WebXR is disabled or OPENXR is not used, this API always returns %FALSE. | ||
| 2649 | func (x *WebView) IsImmersiveModeEnabled() bool { | 2742 | func (x *WebView) IsImmersiveModeEnabled() bool { | ||
| 2743 | + | core.LazyRegister(&xWebViewIsImmersiveModeEnabled, "WEBKIT", "webkit_web_view_is_immersive_mode_enabled", false) | |||
| 2744 | + | ||||
| 2650 | cret := xWebViewIsImmersiveModeEnabled(x.GoPointer()) | 2745 | cret := xWebViewIsImmersiveModeEnabled(x.GoPointer()) | ||
| 2651 | return cret | 2746 | return cret | ||
| 2652 | } | 2747 | } | ||
| @@ -2661,6 +2756,8 @@ var xWebViewIsLoading func(uintptr) bool | |||||
| 2661 | // details about the status of the load operation, for example to start a spinner | 2756 | // details about the status of the load operation, for example to start a spinner | ||
| 2662 | // when the view is loading a page and stop it when it finishes. | 2757 | // when the view is loading a page and stop it when it finishes. | ||
| 2663 | func (x *WebView) IsLoading() bool { | 2758 | func (x *WebView) IsLoading() bool { | ||
| 2759 | + | core.LazyRegister(&xWebViewIsLoading, "WEBKIT", "webkit_web_view_is_loading", false) | |||
| 2760 | + | ||||
| 2664 | cret := xWebViewIsLoading(x.GoPointer()) | 2761 | cret := xWebViewIsLoading(x.GoPointer()) | ||
| 2665 | return cret | 2762 | return cret | ||
| 2666 | } | 2763 | } | ||
| @@ -2674,6 +2771,8 @@ var xWebViewIsPlayingAudio func(uintptr) bool | |||||
| 2674 | // is useful when the application wants to provide visual feedback when a | 2771 | // is useful when the application wants to provide visual feedback when a | ||
| 2675 | // page is producing sound. | 2772 | // page is producing sound. | ||
| 2676 | func (x *WebView) IsPlayingAudio() bool { | 2773 | func (x *WebView) IsPlayingAudio() bool { | ||
| 2774 | + | core.LazyRegister(&xWebViewIsPlayingAudio, "WEBKIT", "webkit_web_view_is_playing_audio", false) | |||
| 2775 | + | ||||
| 2677 | cret := xWebViewIsPlayingAudio(x.GoPointer()) | 2776 | cret := xWebViewIsPlayingAudio(x.GoPointer()) | ||
| 2678 | return cret | 2777 | return cret | ||
| 2679 | } | 2778 | } | ||
| @@ -2689,6 +2788,8 @@ var xWebViewLeaveImmersiveMode func(uintptr) | |||||
| 2689 | // Note that if WebXR is disabled, or if it is enabled but the @web_view is not in | 2788 | // Note that if WebXR is disabled, or if it is enabled but the @web_view is not in | ||
| 2690 | // immersive mode, this API does nothing. See also webkit_web_view_is_immersive_mode_enabled(). | 2789 | // immersive mode, this API does nothing. See also webkit_web_view_is_immersive_mode_enabled(). | ||
| 2691 | func (x *WebView) LeaveImmersiveMode() { | 2790 | func (x *WebView) LeaveImmersiveMode() { | ||
| 2791 | + | core.LazyRegister(&xWebViewLeaveImmersiveMode, "WEBKIT", "webkit_web_view_leave_immersive_mode", false) | |||
| 2792 | + | ||||
| 2692 | xWebViewLeaveImmersiveMode(x.GoPointer()) | 2793 | xWebViewLeaveImmersiveMode(x.GoPointer()) | ||
| 2693 | } | 2794 | } | ||
| 2694 | 2795 | ||||
| @@ -2701,6 +2802,8 @@ var xWebViewLoadAlternateHtml func(uintptr, string, string, uintptr) | |||||
| 2701 | // error page, then the back-forward list is maintained appropriately. | 2802 | // error page, then the back-forward list is maintained appropriately. | ||
| 2702 | // For everything else this method works the same way as webkit_web_view_load_html(). | 2803 | // For everything else this method works the same way as webkit_web_view_load_html(). | ||
| 2703 | func (x *WebView) LoadAlternateHtml(ContentVar string, ContentUriVar string, BaseUriVar *string) { | 2804 | func (x *WebView) LoadAlternateHtml(ContentVar string, ContentUriVar string, BaseUriVar *string) { | ||
| 2805 | + | core.LazyRegister(&xWebViewLoadAlternateHtml, "WEBKIT", "webkit_web_view_load_alternate_html", false) | |||
| 2806 | + | ||||
| 2704 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | 2807 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | ||
| 2705 | defer core.GFreeNullable(BaseUriVarPtr) | 2808 | defer core.GFreeNullable(BaseUriVarPtr) | ||
| 2706 | 2809 | ||||
| @@ -2716,6 +2819,8 @@ var xWebViewLoadBytes func(uintptr, *glib.Bytes, uintptr, uintptr, uintptr) | |||||
| 2716 | // When @base_uri is %NULL, it defaults to "about:blank". | 2819 | // When @base_uri is %NULL, it defaults to "about:blank". | ||
| 2717 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | 2820 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | ||
| 2718 | func (x *WebView) LoadBytes(BytesVar *glib.Bytes, MimeTypeVar *string, EncodingVar *string, BaseUriVar *string) { | 2821 | func (x *WebView) LoadBytes(BytesVar *glib.Bytes, MimeTypeVar *string, EncodingVar *string, BaseUriVar *string) { | ||
| 2822 | + | core.LazyRegister(&xWebViewLoadBytes, "WEBKIT", "webkit_web_view_load_bytes", false) | |||
| 2823 | + | ||||
| 2719 | MimeTypeVarPtr := core.GStrdupNullable(MimeTypeVar) | 2824 | MimeTypeVarPtr := core.GStrdupNullable(MimeTypeVar) | ||
| 2720 | defer core.GFreeNullable(MimeTypeVarPtr) | 2825 | defer core.GFreeNullable(MimeTypeVarPtr) | ||
| 2721 | 2826 | ||||
| @@ -2741,6 +2846,8 @@ var xWebViewLoadHtml func(uintptr, string, uintptr) | |||||
| 2741 | // it defaults to "about:blank". The mime type of the document will be "text/html". | 2846 | // it defaults to "about:blank". The mime type of the document will be "text/html". | ||
| 2742 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | 2847 | // You can monitor the load operation by connecting to #WebKitWebView::load-changed signal. | ||
| 2743 | func (x *WebView) LoadHtml(ContentVar string, BaseUriVar *string) { | 2848 | func (x *WebView) LoadHtml(ContentVar string, BaseUriVar *string) { | ||
| 2849 | + | core.LazyRegister(&xWebViewLoadHtml, "WEBKIT", "webkit_web_view_load_html", false) | |||
| 2850 | + | ||||
| 2744 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | 2851 | BaseUriVarPtr := core.GStrdupNullable(BaseUriVar) | ||
| 2745 | defer core.GFreeNullable(BaseUriVarPtr) | 2852 | defer core.GFreeNullable(BaseUriVarPtr) | ||
| 2746 | 2853 | ||||
| @@ -2754,6 +2861,8 @@ var xWebViewLoadPlainText func(uintptr, string) | |||||
| 2754 | // The mime type of document will be "text/plain". You can monitor the load | 2861 | // The mime type of document will be "text/plain". You can monitor the load | ||
| 2755 | // operation by connecting to #WebKitWebView::load-changed signal. | 2862 | // operation by connecting to #WebKitWebView::load-changed signal. | ||
| 2756 | func (x *WebView) LoadPlainText(PlainTextVar string) { | 2863 | func (x *WebView) LoadPlainText(PlainTextVar string) { | ||
| 2864 | + | core.LazyRegister(&xWebViewLoadPlainText, "WEBKIT", "webkit_web_view_load_plain_text", false) | |||
| 2865 | + | ||||
| 2757 | xWebViewLoadPlainText(x.GoPointer(), PlainTextVar) | 2866 | xWebViewLoadPlainText(x.GoPointer(), PlainTextVar) | ||
| 2758 | } | 2867 | } | ||
| 2759 | 2868 | ||||
| @@ -2764,6 +2873,8 @@ var xWebViewLoadRequest func(uintptr, uintptr) | |||||
| 2764 | // You can monitor the load operation by connecting to | 2873 | // You can monitor the load operation by connecting to | ||
| 2765 | // #WebKitWebView::load-changed signal. | 2874 | // #WebKitWebView::load-changed signal. | ||
| 2766 | func (x *WebView) LoadRequest(RequestVar *URIRequest) { | 2875 | func (x *WebView) LoadRequest(RequestVar *URIRequest) { | ||
| 2876 | + | core.LazyRegister(&xWebViewLoadRequest, "WEBKIT", "webkit_web_view_load_request", false) | |||
| 2877 | + | ||||
| 2767 | xWebViewLoadRequest(x.GoPointer(), RequestVar.GoPointer()) | 2878 | xWebViewLoadRequest(x.GoPointer(), RequestVar.GoPointer()) | ||
| 2768 | } | 2879 | } | ||
| 2769 | 2880 | ||||
| @@ -2774,6 +2885,8 @@ var xWebViewLoadUri func(uintptr, string) | |||||
| 2774 | // You can monitor the load operation by connecting to | 2885 | // You can monitor the load operation by connecting to | ||
| 2775 | // #WebKitWebView::load-changed signal. | 2886 | // #WebKitWebView::load-changed signal. | ||
| 2776 | func (x *WebView) LoadUri(UriVar string) { | 2887 | func (x *WebView) LoadUri(UriVar string) { | ||
| 2888 | + | core.LazyRegister(&xWebViewLoadUri, "WEBKIT", "webkit_web_view_load_uri", false) | |||
| 2889 | + | ||||
| 2777 | xWebViewLoadUri(x.GoPointer(), UriVar) | 2890 | xWebViewLoadUri(x.GoPointer(), UriVar) | ||
| 2778 | } | 2891 | } | ||
| 2779 | 2892 | ||||
| @@ -2783,6 +2896,8 @@ var xWebViewReload func(uintptr) | |||||
| 2783 | // | 2896 | // | ||
| 2784 | // See also webkit_web_view_reload_bypass_cache(). | 2897 | // See also webkit_web_view_reload_bypass_cache(). | ||
| 2785 | func (x *WebView) Reload() { | 2898 | func (x *WebView) Reload() { | ||
| 2899 | + | core.LazyRegister(&xWebViewReload, "WEBKIT", "webkit_web_view_reload", false) | |||
| 2900 | + | ||||
| 2786 | xWebViewReload(x.GoPointer()) | 2901 | xWebViewReload(x.GoPointer()) | ||
| 2787 | } | 2902 | } | ||
| 2788 | 2903 | ||||
| @@ -2791,6 +2906,8 @@ var xWebViewReloadBypassCache func(uintptr) | |||||
| 2791 | // Reloads the current contents of @web_view without | 2906 | // Reloads the current contents of @web_view without | ||
| 2792 | // using any cached data. | 2907 | // using any cached data. | ||
| 2793 | func (x *WebView) ReloadBypassCache() { | 2908 | func (x *WebView) ReloadBypassCache() { | ||
| 2909 | + | core.LazyRegister(&xWebViewReloadBypassCache, "WEBKIT", "webkit_web_view_reload_bypass_cache", false) | |||
| 2910 | + | ||||
| 2794 | xWebViewReloadBypassCache(x.GoPointer()) | 2911 | xWebViewReloadBypassCache(x.GoPointer()) | ||
| 2795 | } | 2912 | } | ||
| 2796 | 2913 | ||||
| @@ -2798,6 +2915,8 @@ var xWebViewRestoreSessionState func(uintptr, *WebViewSessionState) | |||||
| 2798 | 2915 | ||||
| 2799 | // Restore the @web_view session state from @state | 2916 | // Restore the @web_view session state from @state | ||
| 2800 | func (x *WebView) RestoreSessionState(StateVar *WebViewSessionState) { | 2917 | func (x *WebView) RestoreSessionState(StateVar *WebViewSessionState) { | ||
| 2918 | + | core.LazyRegister(&xWebViewRestoreSessionState, "WEBKIT", "webkit_web_view_restore_session_state", false) | |||
| 2919 | + | ||||
| 2801 | xWebViewRestoreSessionState(x.GoPointer(), StateVar) | 2920 | xWebViewRestoreSessionState(x.GoPointer(), StateVar) | ||
| 2802 | } | 2921 | } | ||
| 2803 | 2922 | ||||
| @@ -2813,6 +2932,8 @@ var xWebViewSave func(uintptr, SaveMode, uintptr, uintptr, uintptr) | |||||
| 2813 | // then call webkit_web_view_save_finish() to get the result of the | 2932 | // then call webkit_web_view_save_finish() to get the result of the | ||
| 2814 | // operation. | 2933 | // operation. | ||
| 2815 | func (x *WebView) Save(SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 2934 | func (x *WebView) Save(SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 2935 | + | core.LazyRegister(&xWebViewSave, "WEBKIT", "webkit_web_view_save", false) | |||
| 2936 | + | ||||
| 2816 | xWebViewSave(x.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 2937 | xWebViewSave(x.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 2817 | } | 2938 | } | ||
| 2818 | 2939 | ||||
| @@ -2820,6 +2941,7 @@ var xWebViewSaveFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 2820 | 2941 | ||||
| 2821 | // Finish an asynchronous operation started with webkit_web_view_save(). | 2942 | // Finish an asynchronous operation started with webkit_web_view_save(). | ||
| 2822 | func (x *WebView) SaveFinish(ResultVar gio.AsyncResult) (*gio.InputStream, error) { | 2943 | func (x *WebView) SaveFinish(ResultVar gio.AsyncResult) (*gio.InputStream, error) { | ||
| 2944 | + | core.LazyRegister(&xWebViewSaveFinish, "WEBKIT", "webkit_web_view_save_finish", false) | |||
| 2823 | var cls *gio.InputStream | 2945 | var cls *gio.InputStream | ||
| 2824 | var cerr *glib.Error | 2946 | var cerr *glib.Error | ||
| 2825 | 2947 | ||||
| @@ -2848,6 +2970,8 @@ var xWebViewSaveToFile func(uintptr, uintptr, SaveMode, uintptr, uintptr, uintpt | |||||
| 2848 | // then call webkit_web_view_save_to_file_finish() to get the result of the | 2970 | // then call webkit_web_view_save_to_file_finish() to get the result of the | ||
| 2849 | // operation. | 2971 | // operation. | ||
| 2850 | func (x *WebView) SaveToFile(FileVar gio.File, SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 2972 | func (x *WebView) SaveToFile(FileVar gio.File, SaveModeVar SaveMode, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 2973 | + | core.LazyRegister(&xWebViewSaveToFile, "WEBKIT", "webkit_web_view_save_to_file", false) | |||
| 2974 | + | ||||
| 2851 | xWebViewSaveToFile(x.GoPointer(), FileVar.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 2975 | xWebViewSaveToFile(x.GoPointer(), FileVar.GoPointer(), SaveModeVar, CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 2852 | } | 2976 | } | ||
| 2853 | 2977 | ||||
| @@ -2855,6 +2979,7 @@ var xWebViewSaveToFileFinish func(uintptr, uintptr, **glib.Error) bool | |||||
| 2855 | 2979 | ||||
| 2856 | // Finish an asynchronous operation started with webkit_web_view_save_to_file(). | 2980 | // Finish an asynchronous operation started with webkit_web_view_save_to_file(). | ||
| 2857 | func (x *WebView) SaveToFileFinish(ResultVar gio.AsyncResult) (bool, error) { | 2981 | func (x *WebView) SaveToFileFinish(ResultVar gio.AsyncResult) (bool, error) { | ||
| 2982 | + | core.LazyRegister(&xWebViewSaveToFileFinish, "WEBKIT", "webkit_web_view_save_to_file_finish", false) | |||
| 2858 | var cerr *glib.Error | 2983 | var cerr *glib.Error | ||
| 2859 | 2984 | ||||
| 2860 | cret := xWebViewSaveToFileFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | 2985 | cret := xWebViewSaveToFileFinish(x.GoPointer(), ResultVar.GoPointer(), &cerr) | ||
| @@ -2873,6 +2998,8 @@ var xWebViewSendMessageToPage func(uintptr, uintptr, uintptr, uintptr, uintptr) | |||||
| 2873 | // When the operation is finished, @callback will be called. You can then call | 2998 | // When the operation is finished, @callback will be called. You can then call | ||
| 2874 | // webkit_web_view_send_message_to_page_finish() to get the message reply. | 2999 | // webkit_web_view_send_message_to_page_finish() to get the message reply. | ||
| 2875 | func (x *WebView) SendMessageToPage(MessageVar *UserMessage, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | 3000 | func (x *WebView) SendMessageToPage(MessageVar *UserMessage, CancellableVar *gio.Cancellable, CallbackVar *gio.AsyncReadyCallback, UserDataVar uintptr) { | ||
| 3001 | + | core.LazyRegister(&xWebViewSendMessageToPage, "WEBKIT", "webkit_web_view_send_message_to_page", false) | |||
| 3002 | + | ||||
| 2876 | xWebViewSendMessageToPage(x.GoPointer(), MessageVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | 3003 | xWebViewSendMessageToPage(x.GoPointer(), MessageVar.GoPointer(), CancellableVar.GoPointer(), glib.NewCallbackNullable(CallbackVar), UserDataVar) | ||
| 2877 | } | 3004 | } | ||
| 2878 | 3005 | ||||
| @@ -2880,6 +3007,7 @@ var xWebViewSendMessageToPageFinish func(uintptr, uintptr, **glib.Error) uintptr | |||||
| 2880 | 3007 | ||||
| 2881 | // Finish an asynchronous operation started with webkit_web_view_send_message_to_page(). | 3008 | // Finish an asynchronous operation started with webkit_web_view_send_message_to_page(). | ||
| 2882 | func (x *WebView) SendMessageToPageFinish(ResultVar gio.AsyncResult) (*UserMessage, error) { | 3009 | func (x *WebView) SendMessageToPageFinish(ResultVar gio.AsyncResult) (*UserMessage, error) { | ||
| 3010 | + | core.LazyRegister(&xWebViewSendMessageToPageFinish, "WEBKIT", "webkit_web_view_send_message_to_page_finish", false) | |||
| 2883 | var cls *UserMessage | 3011 | var cls *UserMessage | ||
| 2884 | var cerr *glib.Error | 3012 | var cerr *glib.Error | ||
| 2885 | 3013 | ||||
| @@ -2905,6 +3033,8 @@ var xWebViewSetBackgroundColor func(uintptr, *gdk.RGBA) | |||||
| 2905 | // specifies a background color, it will take precedence over the @rgba color. | 3033 | // specifies a background color, it will take precedence over the @rgba color. | ||
| 2906 | // By default the @web_view background color is opaque white. | 3034 | // By default the @web_view background color is opaque white. | ||
| 2907 | func (x *WebView) SetBackgroundColor(RgbaVar *gdk.RGBA) { | 3035 | func (x *WebView) SetBackgroundColor(RgbaVar *gdk.RGBA) { | ||
| 3036 | + | core.LazyRegister(&xWebViewSetBackgroundColor, "WEBKIT", "webkit_web_view_set_background_color", false) | |||
| 3037 | + | ||||
| 2908 | xWebViewSetBackgroundColor(x.GoPointer(), RgbaVar) | 3038 | xWebViewSetBackgroundColor(x.GoPointer(), RgbaVar) | ||
| 2909 | } | 3039 | } | ||
| 2910 | 3040 | ||||
| @@ -2916,6 +3046,8 @@ var xWebViewSetCameraCaptureState func(uintptr, MediaCaptureState) | |||||
| 2916 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | 3046 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | ||
| 2917 | // anymore. The page can however request capture again using the mediaDevices API. | 3047 | // anymore. The page can however request capture again using the mediaDevices API. | ||
| 2918 | func (x *WebView) SetCameraCaptureState(StateVar MediaCaptureState) { | 3048 | func (x *WebView) SetCameraCaptureState(StateVar MediaCaptureState) { | ||
| 3049 | + | core.LazyRegister(&xWebViewSetCameraCaptureState, "WEBKIT", "webkit_web_view_set_camera_capture_state", false) | |||
| 3050 | + | ||||
| 2919 | xWebViewSetCameraCaptureState(x.GoPointer(), StateVar) | 3051 | xWebViewSetCameraCaptureState(x.GoPointer(), StateVar) | ||
| 2920 | } | 3052 | } | ||
| 2921 | 3053 | ||||
| @@ -2938,6 +3070,8 @@ var xWebViewSetCorsAllowlist func(uintptr, []string) | |||||
| 2938 | // If this function is called multiple times, only the allowlist set by | 3070 | // If this function is called multiple times, only the allowlist set by | ||
| 2939 | // the most recent call will be effective. | 3071 | // the most recent call will be effective. | ||
| 2940 | func (x *WebView) SetCorsAllowlist(AllowlistVar []string) { | 3072 | func (x *WebView) SetCorsAllowlist(AllowlistVar []string) { | ||
| 3073 | + | core.LazyRegister(&xWebViewSetCorsAllowlist, "WEBKIT", "webkit_web_view_set_cors_allowlist", false) | |||
| 3074 | + | ||||
| 2941 | xWebViewSetCorsAllowlist(x.GoPointer(), AllowlistVar) | 3075 | xWebViewSetCorsAllowlist(x.GoPointer(), AllowlistVar) | ||
| 2942 | } | 3076 | } | ||
| 2943 | 3077 | ||||
| @@ -2950,6 +3084,8 @@ var xWebViewSetCustomCharset func(uintptr, uintptr) | |||||
| 2950 | // current page. Setting the custom character encoding to %NULL removes the character | 3084 | // current page. Setting the custom character encoding to %NULL removes the character | ||
| 2951 | // encoding override. | 3085 | // encoding override. | ||
| 2952 | func (x *WebView) SetCustomCharset(CharsetVar *string) { | 3086 | func (x *WebView) SetCustomCharset(CharsetVar *string) { | ||
| 3087 | + | core.LazyRegister(&xWebViewSetCustomCharset, "WEBKIT", "webkit_web_view_set_custom_charset", false) | |||
| 3088 | + | ||||
| 2953 | CharsetVarPtr := core.GStrdupNullable(CharsetVar) | 3089 | CharsetVarPtr := core.GStrdupNullable(CharsetVar) | ||
| 2954 | defer core.GFreeNullable(CharsetVarPtr) | 3090 | defer core.GFreeNullable(CharsetVarPtr) | ||
| 2955 | 3091 | ||||
| @@ -2964,6 +3100,8 @@ var xWebViewSetDisplayCaptureState func(uintptr, MediaCaptureState) | |||||
| 2964 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | 3100 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | ||
| 2965 | // anymore. The page can however request capture again using the mediaDevices API. | 3101 | // anymore. The page can however request capture again using the mediaDevices API. | ||
| 2966 | func (x *WebView) SetDisplayCaptureState(StateVar MediaCaptureState) { | 3102 | func (x *WebView) SetDisplayCaptureState(StateVar MediaCaptureState) { | ||
| 3103 | + | core.LazyRegister(&xWebViewSetDisplayCaptureState, "WEBKIT", "webkit_web_view_set_display_capture_state", false) | |||
| 3104 | + | ||||
| 2967 | xWebViewSetDisplayCaptureState(x.GoPointer(), StateVar) | 3105 | xWebViewSetDisplayCaptureState(x.GoPointer(), StateVar) | ||
| 2968 | } | 3106 | } | ||
| 2969 | 3107 | ||||
| @@ -2980,6 +3118,8 @@ var xWebViewSetEditable func(uintptr, bool) | |||||
| 2980 | // document are editable. This function provides a way to make the contents | 3118 | // document are editable. This function provides a way to make the contents | ||
| 2981 | // of a #WebKitWebView editable without altering the document or DOM structure. | 3119 | // of a #WebKitWebView editable without altering the document or DOM structure. | ||
| 2982 | func (x *WebView) SetEditable(EditableVar bool) { | 3120 | func (x *WebView) SetEditable(EditableVar bool) { | ||
| 3121 | + | core.LazyRegister(&xWebViewSetEditable, "WEBKIT", "webkit_web_view_set_editable", false) | |||
| 3122 | + | ||||
| 2983 | xWebViewSetEditable(x.GoPointer(), EditableVar) | 3123 | xWebViewSetEditable(x.GoPointer(), EditableVar) | ||
| 2984 | } | 3124 | } | ||
| 2985 | 3125 | ||||
| @@ -2990,6 +3130,8 @@ var xWebViewSetInputMethodContext func(uintptr, uintptr) | |||||
| 2990 | // Set the #WebKitInputMethodContext to be used by @web_view, or %NULL to not use any input method. | 3130 | // Set the #WebKitInputMethodContext to be used by @web_view, or %NULL to not use any input method. | ||
| 2991 | // Note that the same #WebKitInputMethodContext can't be set on more than one #WebKitWebView at the same time. | 3131 | // Note that the same #WebKitInputMethodContext can't be set on more than one #WebKitWebView at the same time. | ||
| 2992 | func (x *WebView) SetInputMethodContext(ContextVar *InputMethodContext) { | 3132 | func (x *WebView) SetInputMethodContext(ContextVar *InputMethodContext) { | ||
| 3133 | + | core.LazyRegister(&xWebViewSetInputMethodContext, "WEBKIT", "webkit_web_view_set_input_method_context", false) | |||
| 3134 | + | ||||
| 2993 | xWebViewSetInputMethodContext(x.GoPointer(), ContextVar.GoPointer()) | 3135 | xWebViewSetInputMethodContext(x.GoPointer(), ContextVar.GoPointer()) | ||
| 2994 | } | 3136 | } | ||
| 2995 | 3137 | ||||
| @@ -2997,6 +3139,8 @@ var xWebViewSetIsMuted func(uintptr, bool) | |||||
| 2997 | 3139 | ||||
| 2998 | // Sets the mute state of @web_view. | 3140 | // Sets the mute state of @web_view. | ||
| 2999 | func (x *WebView) SetIsMuted(MutedVar bool) { | 3141 | func (x *WebView) SetIsMuted(MutedVar bool) { | ||
| 3142 | + | core.LazyRegister(&xWebViewSetIsMuted, "WEBKIT", "webkit_web_view_set_is_muted", false) | |||
| 3143 | + | ||||
| 3000 | xWebViewSetIsMuted(x.GoPointer(), MutedVar) | 3144 | xWebViewSetIsMuted(x.GoPointer(), MutedVar) | ||
| 3001 | } | 3145 | } | ||
| 3002 | 3146 | ||||
| @@ -3008,6 +3152,8 @@ var xWebViewSetMicrophoneCaptureState func(uintptr, MediaCaptureState) | |||||
| 3008 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | 3152 | // state of the device has been set to %WEBKIT_MEDIA_CAPTURE_STATE_NONE it cannot be changed | ||
| 3009 | // anymore. The page can however request capture again using the mediaDevices API. | 3153 | // anymore. The page can however request capture again using the mediaDevices API. | ||
| 3010 | func (x *WebView) SetMicrophoneCaptureState(StateVar MediaCaptureState) { | 3154 | func (x *WebView) SetMicrophoneCaptureState(StateVar MediaCaptureState) { | ||
| 3155 | + | core.LazyRegister(&xWebViewSetMicrophoneCaptureState, "WEBKIT", "webkit_web_view_set_microphone_capture_state", false) | |||
| 3156 | + | ||||
| 3011 | xWebViewSetMicrophoneCaptureState(x.GoPointer(), StateVar) | 3157 | xWebViewSetMicrophoneCaptureState(x.GoPointer(), StateVar) | ||
| 3012 | } | 3158 | } | ||
| 3013 | 3159 | ||||
| @@ -3021,6 +3167,8 @@ var xWebViewSetSettings func(uintptr, uintptr) | |||||
| 3021 | // The same #WebKitSettings object can be shared | 3167 | // The same #WebKitSettings object can be shared | ||
| 3022 | // by multiple #WebKitWebView<!-- -->s. | 3168 | // by multiple #WebKitWebView<!-- -->s. | ||
| 3023 | func (x *WebView) SetSettings(SettingsVar *Settings) { | 3169 | func (x *WebView) SetSettings(SettingsVar *Settings) { | ||
| 3170 | + | core.LazyRegister(&xWebViewSetSettings, "WEBKIT", "webkit_web_view_set_settings", false) | |||
| 3171 | + | ||||
| 3024 | xWebViewSetSettings(x.GoPointer(), SettingsVar.GoPointer()) | 3172 | xWebViewSetSettings(x.GoPointer(), SettingsVar.GoPointer()) | ||
| 3025 | } | 3173 | } | ||
| 3026 | 3174 | ||||
| @@ -3031,6 +3179,8 @@ var xWebViewSetZoomLevel func(uintptr, float64) | |||||
| 3031 | // Set the zoom level of @web_view, i.e. the factor by which the | 3179 | // Set the zoom level of @web_view, i.e. the factor by which the | ||
| 3032 | // view contents are scaled with respect to their original size. | 3180 | // view contents are scaled with respect to their original size. | ||
| 3033 | func (x *WebView) SetZoomLevel(ZoomLevelVar float64) { | 3181 | func (x *WebView) SetZoomLevel(ZoomLevelVar float64) { | ||
| 3182 | + | core.LazyRegister(&xWebViewSetZoomLevel, "WEBKIT", "webkit_web_view_set_zoom_level", false) | |||
| 3183 | + | ||||
| 3034 | xWebViewSetZoomLevel(x.GoPointer(), ZoomLevelVar) | 3184 | xWebViewSetZoomLevel(x.GoPointer(), ZoomLevelVar) | ||
| 3035 | } | 3185 | } | ||
| 3036 | 3186 | ||||
| @@ -3043,6 +3193,8 @@ var xWebViewStopLoading func(uintptr) | |||||
| 3043 | // #WebKitWebView::load-failed signal will be emitted with | 3193 | // #WebKitWebView::load-failed signal will be emitted with | ||
| 3044 | // %WEBKIT_NETWORK_ERROR_CANCELLED error. | 3194 | // %WEBKIT_NETWORK_ERROR_CANCELLED error. | ||
| 3045 | func (x *WebView) StopLoading() { | 3195 | func (x *WebView) StopLoading() { | ||
| 3196 | + | core.LazyRegister(&xWebViewStopLoading, "WEBKIT", "webkit_web_view_stop_loading", false) | |||
| 3197 | + | ||||
| 3046 | xWebViewStopLoading(x.GoPointer()) | 3198 | xWebViewStopLoading(x.GoPointer()) | ||
| 3047 | } | 3199 | } | ||
| 3048 | 3200 | ||||
| @@ -3054,6 +3206,8 @@ var xWebViewTerminateWebProcess func(uintptr) | |||||
| 3054 | // using this method, the #WebKitWebView::web-process-terminated signal is emitted with | 3206 | // using this method, the #WebKitWebView::web-process-terminated signal is emitted with | ||
| 3055 | // %WEBKIT_WEB_PROCESS_TERMINATED_BY_API as the reason for termination. | 3207 | // %WEBKIT_WEB_PROCESS_TERMINATED_BY_API as the reason for termination. | ||
| 3056 | func (x *WebView) TerminateWebProcess() { | 3208 | func (x *WebView) TerminateWebProcess() { | ||
| 3209 | + | core.LazyRegister(&xWebViewTerminateWebProcess, "WEBKIT", "webkit_web_view_terminate_web_process", false) | |||
| 3210 | + | ||||
| 3057 | xWebViewTerminateWebProcess(x.GoPointer()) | 3211 | xWebViewTerminateWebProcess(x.GoPointer()) | ||
| 3058 | } | 3212 | } | ||
| 3059 | 3213 | ||||
| @@ -3066,6 +3220,8 @@ var xWebViewTryClose func(uintptr) | |||||
| 3066 | // onbeforeunload event handler or the user confirms to close the page, | 3220 | // onbeforeunload event handler or the user confirms to close the page, | ||
| 3067 | // the #WebKitWebView::close signal is emitted, otherwise nothing happens. | 3221 | // the #WebKitWebView::close signal is emitted, otherwise nothing happens. | ||
| 3068 | func (x *WebView) TryClose() { | 3222 | func (x *WebView) TryClose() { | ||
| 3223 | + | core.LazyRegister(&xWebViewTryClose, "WEBKIT", "webkit_web_view_try_close", false) | |||
| 3224 | + | ||||
| 3069 | xWebViewTryClose(x.GoPointer()) | 3225 | xWebViewTryClose(x.GoPointer()) | ||
| 3070 | } | 3226 | } | ||
| 3071 | 3227 | ||||
| @@ -4571,123 +4727,8 @@ func (x *WebView) GetBuildableId() string { | |||||
| 4571 | func init() { | 4727 | func init() { | ||
| 4572 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | 4728 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | ||
| 4573 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | 4729 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | ||
| 4574 | - | var libs []uintptr | 4730 | + | |
| 4575 | - | for _, libPath := range core.GetPaths("WEBKIT") { | 4731 | + | // Manually register types since they aren't automatically registered when |
| 4576 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | 4732 | + | // WebKit is loaded. See https://bugs.webkit.org/show_bug.cgi?id=175937. |
| 4577 | - | if err != nil { | |||
| 4578 | - | panic(err) | |||
| 4579 | - | } | |||
| 4580 | - | libs = append(libs, lib) | |||
| 4581 | - | } | |||
| 4582 | - | ||||
| 4583 | - | core.PuregoSafeRegister(&xSnapshotOptionsGLibType, libs, "webkit_snapshot_options_get_type") | |||
| 4584 | - | ||||
| 4585 | - | core.PuregoSafeRegister(&xInsecureContentEventGLibType, libs, "webkit_insecure_content_event_get_type") | |||
| 4586 | - | ||||
| 4587 | - | core.PuregoSafeRegister(&xLoadEventGLibType, libs, "webkit_load_event_get_type") | |||
| 4588 | - | ||||
| 4589 | - | core.PuregoSafeRegister(&xMediaCaptureStateGLibType, libs, "webkit_media_capture_state_get_type") | |||
| 4590 | - | ||||
| 4591 | - | core.PuregoSafeRegister(&xPolicyDecisionTypeGLibType, libs, "webkit_policy_decision_type_get_type") | |||
| 4592 | - | ||||
| 4593 | - | core.PuregoSafeRegister(&xSaveModeGLibType, libs, "webkit_save_mode_get_type") | |||
| 4594 | - | ||||
| 4595 | - | core.PuregoSafeRegister(&xSnapshotRegionGLibType, libs, "webkit_snapshot_region_get_type") | |||
| 4596 | - | ||||
| 4597 | - | core.PuregoSafeRegister(&xWebExtensionModeGLibType, libs, "webkit_web_extension_mode_get_type") | |||
| 4598 | - | ||||
| 4599 | - | core.PuregoSafeRegister(&xWebProcessTerminationReasonGLibType, libs, "webkit_web_process_termination_reason_get_type") | |||
| 4600 | - | ||||
| 4601 | - | core.PuregoSafeRegister(&xWebViewGLibType, libs, "webkit_web_view_get_type") | |||
| 4602 | - | ||||
| 4603 | - | core.PuregoSafeRegister(&xNewWebView, libs, "webkit_web_view_new") | |||
| 4604 | - | ||||
| 4605 | - | core.PuregoSafeRegister(&xWebViewCallAsyncJavascriptFunction, libs, "webkit_web_view_call_async_javascript_function") | |||
| 4606 | - | core.PuregoSafeRegister(&xWebViewCallAsyncJavascriptFunctionFinish, libs, "webkit_web_view_call_async_javascript_function_finish") | |||
| 4607 | - | core.PuregoSafeRegister(&xWebViewCanExecuteEditingCommand, libs, "webkit_web_view_can_execute_editing_command") | |||
| 4608 | - | core.PuregoSafeRegister(&xWebViewCanExecuteEditingCommandFinish, libs, "webkit_web_view_can_execute_editing_command_finish") | |||
| 4609 | - | core.PuregoSafeRegister(&xWebViewCanGoBack, libs, "webkit_web_view_can_go_back") | |||
| 4610 | - | core.PuregoSafeRegister(&xWebViewCanGoForward, libs, "webkit_web_view_can_go_forward") | |||
| 4611 | - | core.PuregoSafeRegister(&xWebViewCanShowMimeType, libs, "webkit_web_view_can_show_mime_type") | |||
| 4612 | - | core.PuregoSafeRegister(&xWebViewDownloadUri, libs, "webkit_web_view_download_uri") | |||
| 4613 | - | core.PuregoSafeRegister(&xWebViewEvaluateJavascript, libs, "webkit_web_view_evaluate_javascript") | |||
| 4614 | - | core.PuregoSafeRegister(&xWebViewEvaluateJavascriptFinish, libs, "webkit_web_view_evaluate_javascript_finish") | |||
| 4615 | - | core.PuregoSafeRegister(&xWebViewExecuteEditingCommand, libs, "webkit_web_view_execute_editing_command") | |||
| 4616 | - | core.PuregoSafeRegister(&xWebViewExecuteEditingCommandWithArgument, libs, "webkit_web_view_execute_editing_command_with_argument") | |||
| 4617 | - | core.PuregoSafeRegister(&xWebViewGetAutomationPresentationType, libs, "webkit_web_view_get_automation_presentation_type") | |||
| 4618 | - | core.PuregoSafeRegister(&xWebViewGetBackForwardList, libs, "webkit_web_view_get_back_forward_list") | |||
| 4619 | - | core.PuregoSafeRegister(&xWebViewGetBackgroundColor, libs, "webkit_web_view_get_background_color") | |||
| 4620 | - | core.PuregoSafeRegister(&xWebViewGetCameraCaptureState, libs, "webkit_web_view_get_camera_capture_state") | |||
| 4621 | - | core.PuregoSafeRegister(&xWebViewGetContext, libs, "webkit_web_view_get_context") | |||
| 4622 | - | core.PuregoSafeRegister(&xWebViewGetCustomCharset, libs, "webkit_web_view_get_custom_charset") | |||
| 4623 | - | core.PuregoSafeRegister(&xWebViewGetDefaultContentSecurityPolicy, libs, "webkit_web_view_get_default_content_security_policy") | |||
| 4624 | - | core.PuregoSafeRegister(&xWebViewGetDisplayCaptureState, libs, "webkit_web_view_get_display_capture_state") | |||
| 4625 | - | core.PuregoSafeRegister(&xWebViewGetEditorState, libs, "webkit_web_view_get_editor_state") | |||
| 4626 | - | core.PuregoSafeRegister(&xWebViewGetEstimatedLoadProgress, libs, "webkit_web_view_get_estimated_load_progress") | |||
| 4627 | - | core.PuregoSafeRegister(&xWebViewGetFavicon, libs, "webkit_web_view_get_favicon") | |||
| 4628 | - | core.PuregoSafeRegister(&xWebViewGetFindController, libs, "webkit_web_view_get_find_controller") | |||
| 4629 | - | core.PuregoSafeRegister(&xWebViewGetInputMethodContext, libs, "webkit_web_view_get_input_method_context") | |||
| 4630 | - | core.PuregoSafeRegister(&xWebViewGetInspector, libs, "webkit_web_view_get_inspector") | |||
| 4631 | - | core.PuregoSafeRegister(&xWebViewGetIsMuted, libs, "webkit_web_view_get_is_muted") | |||
| 4632 | - | core.PuregoSafeRegister(&xWebViewGetIsWebProcessResponsive, libs, "webkit_web_view_get_is_web_process_responsive") | |||
| 4633 | - | core.PuregoSafeRegister(&xWebViewGetMainResource, libs, "webkit_web_view_get_main_resource") | |||
| 4634 | - | core.PuregoSafeRegister(&xWebViewGetMicrophoneCaptureState, libs, "webkit_web_view_get_microphone_capture_state") | |||
| 4635 | - | core.PuregoSafeRegister(&xWebViewGetNetworkSession, libs, "webkit_web_view_get_network_session") | |||
| 4636 | - | core.PuregoSafeRegister(&xWebViewGetPageId, libs, "webkit_web_view_get_page_id") | |||
| 4637 | - | core.PuregoSafeRegister(&xWebViewGetSessionState, libs, "webkit_web_view_get_session_state") | |||
| 4638 | - | core.PuregoSafeRegister(&xWebViewGetSettings, libs, "webkit_web_view_get_settings") | |||
| 4639 | - | core.PuregoSafeRegister(&xWebViewGetSnapshot, libs, "webkit_web_view_get_snapshot") | |||
| 4640 | - | core.PuregoSafeRegister(&xWebViewGetSnapshotFinish, libs, "webkit_web_view_get_snapshot_finish") | |||
| 4641 | - | core.PuregoSafeRegister(&xWebViewGetThemeColor, libs, "webkit_web_view_get_theme_color") | |||
| 4642 | - | core.PuregoSafeRegister(&xWebViewGetTitle, libs, "webkit_web_view_get_title") | |||
| 4643 | - | core.PuregoSafeRegister(&xWebViewGetTlsInfo, libs, "webkit_web_view_get_tls_info") | |||
| 4644 | - | core.PuregoSafeRegister(&xWebViewGetUri, libs, "webkit_web_view_get_uri") | |||
| 4645 | - | core.PuregoSafeRegister(&xWebViewGetUserContentManager, libs, "webkit_web_view_get_user_content_manager") | |||
| 4646 | - | core.PuregoSafeRegister(&xWebViewGetWebExtensionMode, libs, "webkit_web_view_get_web_extension_mode") | |||
| 4647 | - | core.PuregoSafeRegister(&xWebViewGetWebsitePolicies, libs, "webkit_web_view_get_website_policies") | |||
| 4648 | - | core.PuregoSafeRegister(&xWebViewGetWindowProperties, libs, "webkit_web_view_get_window_properties") | |||
| 4649 | - | core.PuregoSafeRegister(&xWebViewGetZoomLevel, libs, "webkit_web_view_get_zoom_level") | |||
| 4650 | - | core.PuregoSafeRegister(&xWebViewGoBack, libs, "webkit_web_view_go_back") | |||
| 4651 | - | core.PuregoSafeRegister(&xWebViewGoForward, libs, "webkit_web_view_go_forward") | |||
| 4652 | - | core.PuregoSafeRegister(&xWebViewGoToBackForwardListItem, libs, "webkit_web_view_go_to_back_forward_list_item") | |||
| 4653 | - | core.PuregoSafeRegister(&xWebViewIsControlledByAutomation, libs, "webkit_web_view_is_controlled_by_automation") | |||
| 4654 | - | core.PuregoSafeRegister(&xWebViewIsEditable, libs, "webkit_web_view_is_editable") | |||
| 4655 | - | core.PuregoSafeRegister(&xWebViewIsImmersiveModeEnabled, libs, "webkit_web_view_is_immersive_mode_enabled") | |||
| 4656 | - | core.PuregoSafeRegister(&xWebViewIsLoading, libs, "webkit_web_view_is_loading") | |||
| 4657 | - | core.PuregoSafeRegister(&xWebViewIsPlayingAudio, libs, "webkit_web_view_is_playing_audio") | |||
| 4658 | - | core.PuregoSafeRegister(&xWebViewLeaveImmersiveMode, libs, "webkit_web_view_leave_immersive_mode") | |||
| 4659 | - | core.PuregoSafeRegister(&xWebViewLoadAlternateHtml, libs, "webkit_web_view_load_alternate_html") | |||
| 4660 | - | core.PuregoSafeRegister(&xWebViewLoadBytes, libs, "webkit_web_view_load_bytes") | |||
| 4661 | - | core.PuregoSafeRegister(&xWebViewLoadHtml, libs, "webkit_web_view_load_html") | |||
| 4662 | - | core.PuregoSafeRegister(&xWebViewLoadPlainText, libs, "webkit_web_view_load_plain_text") | |||
| 4663 | - | core.PuregoSafeRegister(&xWebViewLoadRequest, libs, "webkit_web_view_load_request") | |||
| 4664 | - | core.PuregoSafeRegister(&xWebViewLoadUri, libs, "webkit_web_view_load_uri") | |||
| 4665 | - | core.PuregoSafeRegister(&xWebViewReload, libs, "webkit_web_view_reload") | |||
| 4666 | - | core.PuregoSafeRegister(&xWebViewReloadBypassCache, libs, "webkit_web_view_reload_bypass_cache") | |||
| 4667 | - | core.PuregoSafeRegister(&xWebViewRestoreSessionState, libs, "webkit_web_view_restore_session_state") | |||
| 4668 | - | core.PuregoSafeRegister(&xWebViewSave, libs, "webkit_web_view_save") | |||
| 4669 | - | core.PuregoSafeRegister(&xWebViewSaveFinish, libs, "webkit_web_view_save_finish") | |||
| 4670 | - | core.PuregoSafeRegister(&xWebViewSaveToFile, libs, "webkit_web_view_save_to_file") | |||
| 4671 | - | core.PuregoSafeRegister(&xWebViewSaveToFileFinish, libs, "webkit_web_view_save_to_file_finish") | |||
| 4672 | - | core.PuregoSafeRegister(&xWebViewSendMessageToPage, libs, "webkit_web_view_send_message_to_page") | |||
| 4673 | - | core.PuregoSafeRegister(&xWebViewSendMessageToPageFinish, libs, "webkit_web_view_send_message_to_page_finish") | |||
| 4674 | - | core.PuregoSafeRegister(&xWebViewSetBackgroundColor, libs, "webkit_web_view_set_background_color") | |||
| 4675 | - | core.PuregoSafeRegister(&xWebViewSetCameraCaptureState, libs, "webkit_web_view_set_camera_capture_state") | |||
| 4676 | - | core.PuregoSafeRegister(&xWebViewSetCorsAllowlist, libs, "webkit_web_view_set_cors_allowlist") | |||
| 4677 | - | core.PuregoSafeRegister(&xWebViewSetCustomCharset, libs, "webkit_web_view_set_custom_charset") | |||
| 4678 | - | core.PuregoSafeRegister(&xWebViewSetDisplayCaptureState, libs, "webkit_web_view_set_display_capture_state") | |||
| 4679 | - | core.PuregoSafeRegister(&xWebViewSetEditable, libs, "webkit_web_view_set_editable") | |||
| 4680 | - | core.PuregoSafeRegister(&xWebViewSetInputMethodContext, libs, "webkit_web_view_set_input_method_context") | |||
| 4681 | - | core.PuregoSafeRegister(&xWebViewSetIsMuted, libs, "webkit_web_view_set_is_muted") | |||
| 4682 | - | core.PuregoSafeRegister(&xWebViewSetMicrophoneCaptureState, libs, "webkit_web_view_set_microphone_capture_state") | |||
| 4683 | - | core.PuregoSafeRegister(&xWebViewSetSettings, libs, "webkit_web_view_set_settings") | |||
| 4684 | - | core.PuregoSafeRegister(&xWebViewSetZoomLevel, libs, "webkit_web_view_set_zoom_level") | |||
| 4685 | - | core.PuregoSafeRegister(&xWebViewStopLoading, libs, "webkit_web_view_stop_loading") | |||
| 4686 | - | core.PuregoSafeRegister(&xWebViewTerminateWebProcess, libs, "webkit_web_view_terminate_web_process") | |||
| 4687 | - | core.PuregoSafeRegister(&xWebViewTryClose, libs, "webkit_web_view_try_close") | |||
| 4688 | - | ||||
| 4689 | - | // Manually register types since they aren't being automatically registered when | |||
| 4690 | - | // the library is loaded | |||
| 4691 | - | // See https://bugs.webkit.org/show_bug.cgi?id=175937 | |||
| 4692 | WebViewGLibType() | 4733 | WebViewGLibType() | ||
| 4693 | } | 4734 | } | ||