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
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/glib" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/gobject" | |
| @@ -36,6 +35,7 @@ type HardwareAccelerationPolicy int | |||
| 36 | 35 | var xHardwareAccelerationPolicyGLibType func() types.GType | |
| 37 | 36 | ||
| 38 | 37 | func HardwareAccelerationPolicyGLibType() types.GType { | |
| 38 | + | core.LazyRegister(&xHardwareAccelerationPolicyGLibType, "WEBKIT", "webkit_hardware_acceleration_policy_get_type", false) | |
| 39 | 39 | return xHardwareAccelerationPolicyGLibType() | |
| 40 | 40 | } | |
| 41 | 41 | ||
| @@ -66,6 +66,7 @@ type Settings struct { | |||
| 66 | 66 | var xSettingsGLibType func() types.GType | |
| 67 | 67 | ||
| 68 | 68 | func SettingsGLibType() types.GType { | |
| 69 | + | core.LazyRegister(&xSettingsGLibType, "WEBKIT", "webkit_settings_get_type", false) | |
| 69 | 70 | return xSettingsGLibType() | |
| 70 | 71 | } | |
| 71 | 72 | ||
| @@ -82,6 +83,7 @@ var xNewSettings func() uintptr | |||
| 82 | 83 | // It must be manually attached to a #WebKitWebView. | |
| 83 | 84 | // See also webkit_settings_new_with_settings(). | |
| 84 | 85 | func NewSettings() *Settings { | |
| 86 | + | core.LazyRegister(&xNewSettings, "WEBKIT", "webkit_settings_new", false) | |
| 85 | 87 | var cls *Settings | |
| 86 | 88 | ||
| 87 | 89 | cret := xNewSettings() | |
| @@ -100,6 +102,7 @@ var xNewSettingsWithSettings func(string, ...interface{}) uintptr | |||
| 100 | 102 | // | |
| 101 | 103 | // It must be manually attached to a #WebKitWebView. | |
| 102 | 104 | func NewSettingsWithSettings(FirstSettingNameVar string, varArgs ...interface{}) *Settings { | |
| 105 | + | core.LazyRegister(&xNewSettingsWithSettings, "WEBKIT", "webkit_settings_new_with_settings", false) | |
| 103 | 106 | var cls *Settings | |
| 104 | 107 | ||
| 105 | 108 | cret := xNewSettingsWithSettings(FirstSettingNameVar, varArgs...) | |
| @@ -123,6 +126,7 @@ var xSettingsApplyFromKeyFile func(uintptr, *glib.KeyFile, string, **glib.Error) | |||
| 123 | 126 | // | |
| 124 | 127 | // Supported value types are strings (unquoted), booleans (0, 1, true, false) and unsigned integers. | |
| 125 | 128 | func (x *Settings) ApplyFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (bool, error) { | |
| 129 | + | core.LazyRegister(&xSettingsApplyFromKeyFile, "WEBKIT", "webkit_settings_apply_from_key_file", false) | |
| 126 | 130 | var cerr *glib.Error | |
| 127 | 131 | ||
| 128 | 132 | cret := xSettingsApplyFromKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar, &cerr) | |
| @@ -136,6 +140,8 @@ var xSettingsGetAllowFileAccessFromFileUrls func(uintptr) bool | |||
| 136 | 140 | ||
| 137 | 141 | // Get the #WebKitSettings:allow-file-access-from-file-urls property. | |
| 138 | 142 | func (x *Settings) GetAllowFileAccessFromFileUrls() bool { | |
| 143 | + | core.LazyRegister(&xSettingsGetAllowFileAccessFromFileUrls, "WEBKIT", "webkit_settings_get_allow_file_access_from_file_urls", false) | |
| 144 | + | ||
| 139 | 145 | cret := xSettingsGetAllowFileAccessFromFileUrls(x.GoPointer()) | |
| 140 | 146 | return cret | |
| 141 | 147 | } | |
| @@ -144,6 +150,8 @@ var xSettingsGetAllowModalDialogs func(uintptr) bool | |||
| 144 | 150 | ||
| 145 | 151 | // Get the #WebKitSettings:allow-modal-dialogs property. | |
| 146 | 152 | func (x *Settings) GetAllowModalDialogs() bool { | |
| 153 | + | core.LazyRegister(&xSettingsGetAllowModalDialogs, "WEBKIT", "webkit_settings_get_allow_modal_dialogs", false) | |
| 154 | + | ||
| 147 | 155 | cret := xSettingsGetAllowModalDialogs(x.GoPointer()) | |
| 148 | 156 | return cret | |
| 149 | 157 | } | |
| @@ -152,6 +160,8 @@ var xSettingsGetAllowTopNavigationToDataUrls func(uintptr) bool | |||
| 152 | 160 | ||
| 153 | 161 | // Get the #WebKitSettings:allow-top-navigation-to-data-urls property. | |
| 154 | 162 | func (x *Settings) GetAllowTopNavigationToDataUrls() bool { | |
| 163 | + | core.LazyRegister(&xSettingsGetAllowTopNavigationToDataUrls, "WEBKIT", "webkit_settings_get_allow_top_navigation_to_data_urls", false) | |
| 164 | + | ||
| 155 | 165 | cret := xSettingsGetAllowTopNavigationToDataUrls(x.GoPointer()) | |
| 156 | 166 | return cret | |
| 157 | 167 | } | |
| @@ -160,6 +170,8 @@ var xSettingsGetAllowUniversalAccessFromFileUrls func(uintptr) bool | |||
| 160 | 170 | ||
| 161 | 171 | // Get the #WebKitSettings:allow-universal-access-from-file-urls property. | |
| 162 | 172 | func (x *Settings) GetAllowUniversalAccessFromFileUrls() bool { | |
| 173 | + | core.LazyRegister(&xSettingsGetAllowUniversalAccessFromFileUrls, "WEBKIT", "webkit_settings_get_allow_universal_access_from_file_urls", false) | |
| 174 | + | ||
| 163 | 175 | cret := xSettingsGetAllowUniversalAccessFromFileUrls(x.GoPointer()) | |
| 164 | 176 | return cret | |
| 165 | 177 | } | |
| @@ -168,6 +180,8 @@ var xSettingsGetAutoLoadImages func(uintptr) bool | |||
| 168 | 180 | ||
| 169 | 181 | // Get the #WebKitSettings:auto-load-images property. | |
| 170 | 182 | func (x *Settings) GetAutoLoadImages() bool { | |
| 183 | + | core.LazyRegister(&xSettingsGetAutoLoadImages, "WEBKIT", "webkit_settings_get_auto_load_images", false) | |
| 184 | + | ||
| 171 | 185 | cret := xSettingsGetAutoLoadImages(x.GoPointer()) | |
| 172 | 186 | return cret | |
| 173 | 187 | } | |
| @@ -176,6 +190,8 @@ var xSettingsGetCursiveFontFamily func(uintptr) string | |||
| 176 | 190 | ||
| 177 | 191 | // Gets the #WebKitSettings:cursive-font-family property. | |
| 178 | 192 | func (x *Settings) GetCursiveFontFamily() string { | |
| 193 | + | core.LazyRegister(&xSettingsGetCursiveFontFamily, "WEBKIT", "webkit_settings_get_cursive_font_family", false) | |
| 194 | + | ||
| 179 | 195 | cret := xSettingsGetCursiveFontFamily(x.GoPointer()) | |
| 180 | 196 | return cret | |
| 181 | 197 | } | |
| @@ -184,6 +200,8 @@ var xSettingsGetDefaultCharset func(uintptr) string | |||
| 184 | 200 | ||
| 185 | 201 | // Gets the #WebKitSettings:default-charset property. | |
| 186 | 202 | func (x *Settings) GetDefaultCharset() string { | |
| 203 | + | core.LazyRegister(&xSettingsGetDefaultCharset, "WEBKIT", "webkit_settings_get_default_charset", false) | |
| 204 | + | ||
| 187 | 205 | cret := xSettingsGetDefaultCharset(x.GoPointer()) | |
| 188 | 206 | return cret | |
| 189 | 207 | } | |
| @@ -192,6 +210,8 @@ var xSettingsGetDefaultFontFamily func(uintptr) string | |||
| 192 | 210 | ||
| 193 | 211 | // Gets the #WebKitSettings:default-font-family property. | |
| 194 | 212 | func (x *Settings) GetDefaultFontFamily() string { | |
| 213 | + | core.LazyRegister(&xSettingsGetDefaultFontFamily, "WEBKIT", "webkit_settings_get_default_font_family", false) | |
| 214 | + | ||
| 195 | 215 | cret := xSettingsGetDefaultFontFamily(x.GoPointer()) | |
| 196 | 216 | return cret | |
| 197 | 217 | } | |
| @@ -200,6 +220,8 @@ var xSettingsGetDefaultFontSize func(uintptr) uint32 | |||
| 200 | 220 | ||
| 201 | 221 | // Gets the #WebKitSettings:default-font-size property. | |
| 202 | 222 | func (x *Settings) GetDefaultFontSize() uint32 { | |
| 223 | + | core.LazyRegister(&xSettingsGetDefaultFontSize, "WEBKIT", "webkit_settings_get_default_font_size", false) | |
| 224 | + | ||
| 203 | 225 | cret := xSettingsGetDefaultFontSize(x.GoPointer()) | |
| 204 | 226 | return cret | |
| 205 | 227 | } | |
| @@ -208,6 +230,8 @@ var xSettingsGetDefaultMonospaceFontSize func(uintptr) uint32 | |||
| 208 | 230 | ||
| 209 | 231 | // Gets the #WebKitSettings:default-monospace-font-size property. | |
| 210 | 232 | func (x *Settings) GetDefaultMonospaceFontSize() uint32 { | |
| 233 | + | core.LazyRegister(&xSettingsGetDefaultMonospaceFontSize, "WEBKIT", "webkit_settings_get_default_monospace_font_size", false) | |
| 234 | + | ||
| 211 | 235 | cret := xSettingsGetDefaultMonospaceFontSize(x.GoPointer()) | |
| 212 | 236 | return cret | |
| 213 | 237 | } | |
| @@ -216,6 +240,8 @@ var xSettingsGetDisableWebSecurity func(uintptr) bool | |||
| 216 | 240 | ||
| 217 | 241 | // Get the #WebKitSettings:disable-web-security property. | |
| 218 | 242 | func (x *Settings) GetDisableWebSecurity() bool { | |
| 243 | + | core.LazyRegister(&xSettingsGetDisableWebSecurity, "WEBKIT", "webkit_settings_get_disable_web_security", false) | |
| 244 | + | ||
| 219 | 245 | cret := xSettingsGetDisableWebSecurity(x.GoPointer()) | |
| 220 | 246 | return cret | |
| 221 | 247 | } | |
| @@ -224,6 +250,8 @@ var xSettingsGetDrawCompositingIndicators func(uintptr) bool | |||
| 224 | 250 | ||
| 225 | 251 | // Get the #WebKitSettings:draw-compositing-indicators property. | |
| 226 | 252 | func (x *Settings) GetDrawCompositingIndicators() bool { | |
| 253 | + | core.LazyRegister(&xSettingsGetDrawCompositingIndicators, "WEBKIT", "webkit_settings_get_draw_compositing_indicators", false) | |
| 254 | + | ||
| 227 | 255 | cret := xSettingsGetDrawCompositingIndicators(x.GoPointer()) | |
| 228 | 256 | return cret | |
| 229 | 257 | } | |
| @@ -232,6 +260,8 @@ var xSettingsGetEnable2dCanvasAcceleration func(uintptr) bool | |||
| 232 | 260 | ||
| 233 | 261 | // Get the #WebKitSettings:enable-2d-canvas-acceleration property. | |
| 234 | 262 | func (x *Settings) GetEnable2dCanvasAcceleration() bool { | |
| 263 | + | core.LazyRegister(&xSettingsGetEnable2dCanvasAcceleration, "WEBKIT", "webkit_settings_get_enable_2d_canvas_acceleration", false) | |
| 264 | + | ||
| 235 | 265 | cret := xSettingsGetEnable2dCanvasAcceleration(x.GoPointer()) | |
| 236 | 266 | return cret | |
| 237 | 267 | } | |
| @@ -240,6 +270,8 @@ var xSettingsGetEnableBackForwardNavigationGestures func(uintptr) bool | |||
| 240 | 270 | ||
| 241 | 271 | // Get the #WebKitSettings:enable-back-forward-navigation-gestures property. | |
| 242 | 272 | func (x *Settings) GetEnableBackForwardNavigationGestures() bool { | |
| 273 | + | core.LazyRegister(&xSettingsGetEnableBackForwardNavigationGestures, "WEBKIT", "webkit_settings_get_enable_back_forward_navigation_gestures", false) | |
| 274 | + | ||
| 243 | 275 | cret := xSettingsGetEnableBackForwardNavigationGestures(x.GoPointer()) | |
| 244 | 276 | return cret | |
| 245 | 277 | } | |
| @@ -248,6 +280,8 @@ var xSettingsGetEnableCaretBrowsing func(uintptr) bool | |||
| 248 | 280 | ||
| 249 | 281 | // Get the #WebKitSettings:enable-caret-browsing property. | |
| 250 | 282 | func (x *Settings) GetEnableCaretBrowsing() bool { | |
| 283 | + | core.LazyRegister(&xSettingsGetEnableCaretBrowsing, "WEBKIT", "webkit_settings_get_enable_caret_browsing", false) | |
| 284 | + | ||
| 251 | 285 | cret := xSettingsGetEnableCaretBrowsing(x.GoPointer()) | |
| 252 | 286 | return cret | |
| 253 | 287 | } | |
| @@ -256,6 +290,8 @@ var xSettingsGetEnableDeveloperExtras func(uintptr) bool | |||
| 256 | 290 | ||
| 257 | 291 | // Get the #WebKitSettings:enable-developer-extras property. | |
| 258 | 292 | func (x *Settings) GetEnableDeveloperExtras() bool { | |
| 293 | + | core.LazyRegister(&xSettingsGetEnableDeveloperExtras, "WEBKIT", "webkit_settings_get_enable_developer_extras", false) | |
| 294 | + | ||
| 259 | 295 | cret := xSettingsGetEnableDeveloperExtras(x.GoPointer()) | |
| 260 | 296 | return cret | |
| 261 | 297 | } | |
| @@ -264,6 +300,8 @@ var xSettingsGetEnableDnsPrefetching func(uintptr) bool | |||
| 264 | 300 | ||
| 265 | 301 | // Get the #WebKitSettings:enable-dns-prefetching property. | |
| 266 | 302 | func (x *Settings) GetEnableDnsPrefetching() bool { | |
| 303 | + | core.LazyRegister(&xSettingsGetEnableDnsPrefetching, "WEBKIT", "webkit_settings_get_enable_dns_prefetching", false) | |
| 304 | + | ||
| 267 | 305 | cret := xSettingsGetEnableDnsPrefetching(x.GoPointer()) | |
| 268 | 306 | return cret | |
| 269 | 307 | } | |
| @@ -272,6 +310,8 @@ var xSettingsGetEnableEncryptedMedia func(uintptr) bool | |||
| 272 | 310 | ||
| 273 | 311 | // Get the #WebKitSettings:enable-encrypted-media property. | |
| 274 | 312 | func (x *Settings) GetEnableEncryptedMedia() bool { | |
| 313 | + | core.LazyRegister(&xSettingsGetEnableEncryptedMedia, "WEBKIT", "webkit_settings_get_enable_encrypted_media", false) | |
| 314 | + | ||
| 275 | 315 | cret := xSettingsGetEnableEncryptedMedia(x.GoPointer()) | |
| 276 | 316 | return cret | |
| 277 | 317 | } | |
| @@ -280,6 +320,8 @@ var xSettingsGetEnableFullscreen func(uintptr) bool | |||
| 280 | 320 | ||
| 281 | 321 | // Get the #WebKitSettings:enable-fullscreen property. | |
| 282 | 322 | func (x *Settings) GetEnableFullscreen() bool { | |
| 323 | + | core.LazyRegister(&xSettingsGetEnableFullscreen, "WEBKIT", "webkit_settings_get_enable_fullscreen", false) | |
| 324 | + | ||
| 283 | 325 | cret := xSettingsGetEnableFullscreen(x.GoPointer()) | |
| 284 | 326 | return cret | |
| 285 | 327 | } | |
| @@ -288,6 +330,8 @@ var xSettingsGetEnableHtml5Database func(uintptr) bool | |||
| 288 | 330 | ||
| 289 | 331 | // Get the #WebKitSettings:enable-html5-database property. | |
| 290 | 332 | func (x *Settings) GetEnableHtml5Database() bool { | |
| 333 | + | core.LazyRegister(&xSettingsGetEnableHtml5Database, "WEBKIT", "webkit_settings_get_enable_html5_database", false) | |
| 334 | + | ||
| 291 | 335 | cret := xSettingsGetEnableHtml5Database(x.GoPointer()) | |
| 292 | 336 | return cret | |
| 293 | 337 | } | |
| @@ -296,6 +340,8 @@ var xSettingsGetEnableHtml5LocalStorage func(uintptr) bool | |||
| 296 | 340 | ||
| 297 | 341 | // Get the #WebKitSettings:enable-html5-local-storage property. | |
| 298 | 342 | func (x *Settings) GetEnableHtml5LocalStorage() bool { | |
| 343 | + | core.LazyRegister(&xSettingsGetEnableHtml5LocalStorage, "WEBKIT", "webkit_settings_get_enable_html5_local_storage", false) | |
| 344 | + | ||
| 299 | 345 | cret := xSettingsGetEnableHtml5LocalStorage(x.GoPointer()) | |
| 300 | 346 | return cret | |
| 301 | 347 | } | |
| @@ -304,6 +350,8 @@ var xSettingsGetEnableHyperlinkAuditing func(uintptr) bool | |||
| 304 | 350 | ||
| 305 | 351 | // Get the #WebKitSettings:enable-hyperlink-auditing property. | |
| 306 | 352 | func (x *Settings) GetEnableHyperlinkAuditing() bool { | |
| 353 | + | core.LazyRegister(&xSettingsGetEnableHyperlinkAuditing, "WEBKIT", "webkit_settings_get_enable_hyperlink_auditing", false) | |
| 354 | + | ||
| 307 | 355 | cret := xSettingsGetEnableHyperlinkAuditing(x.GoPointer()) | |
| 308 | 356 | return cret | |
| 309 | 357 | } | |
| @@ -312,6 +360,8 @@ var xSettingsGetEnableJavascript func(uintptr) bool | |||
| 312 | 360 | ||
| 313 | 361 | // Get the #WebKitSettings:enable-javascript property. | |
| 314 | 362 | func (x *Settings) GetEnableJavascript() bool { | |
| 363 | + | core.LazyRegister(&xSettingsGetEnableJavascript, "WEBKIT", "webkit_settings_get_enable_javascript", false) | |
| 364 | + | ||
| 315 | 365 | cret := xSettingsGetEnableJavascript(x.GoPointer()) | |
| 316 | 366 | return cret | |
| 317 | 367 | } | |
| @@ -320,6 +370,8 @@ var xSettingsGetEnableJavascriptMarkup func(uintptr) bool | |||
| 320 | 370 | ||
| 321 | 371 | // Get the #WebKitSettings:enable-javascript-markup property. | |
| 322 | 372 | func (x *Settings) GetEnableJavascriptMarkup() bool { | |
| 373 | + | core.LazyRegister(&xSettingsGetEnableJavascriptMarkup, "WEBKIT", "webkit_settings_get_enable_javascript_markup", false) | |
| 374 | + | ||
| 323 | 375 | cret := xSettingsGetEnableJavascriptMarkup(x.GoPointer()) | |
| 324 | 376 | return cret | |
| 325 | 377 | } | |
| @@ -328,6 +380,8 @@ var xSettingsGetEnableMedia func(uintptr) bool | |||
| 328 | 380 | ||
| 329 | 381 | // Get the #WebKitSettings:enable-media property. | |
| 330 | 382 | func (x *Settings) GetEnableMedia() bool { | |
| 383 | + | core.LazyRegister(&xSettingsGetEnableMedia, "WEBKIT", "webkit_settings_get_enable_media", false) | |
| 384 | + | ||
| 331 | 385 | cret := xSettingsGetEnableMedia(x.GoPointer()) | |
| 332 | 386 | return cret | |
| 333 | 387 | } | |
| @@ -336,6 +390,8 @@ var xSettingsGetEnableMediaCapabilities func(uintptr) bool | |||
| 336 | 390 | ||
| 337 | 391 | // Get the #WebKitSettings:enable-media-capabilities property. | |
| 338 | 392 | func (x *Settings) GetEnableMediaCapabilities() bool { | |
| 393 | + | core.LazyRegister(&xSettingsGetEnableMediaCapabilities, "WEBKIT", "webkit_settings_get_enable_media_capabilities", false) | |
| 394 | + | ||
| 339 | 395 | cret := xSettingsGetEnableMediaCapabilities(x.GoPointer()) | |
| 340 | 396 | return cret | |
| 341 | 397 | } | |
| @@ -344,6 +400,8 @@ var xSettingsGetEnableMediaStream func(uintptr) bool | |||
| 344 | 400 | ||
| 345 | 401 | // Get the #WebKitSettings:enable-media-stream property. | |
| 346 | 402 | func (x *Settings) GetEnableMediaStream() bool { | |
| 403 | + | core.LazyRegister(&xSettingsGetEnableMediaStream, "WEBKIT", "webkit_settings_get_enable_media_stream", false) | |
| 404 | + | ||
| 347 | 405 | cret := xSettingsGetEnableMediaStream(x.GoPointer()) | |
| 348 | 406 | return cret | |
| 349 | 407 | } | |
| @@ -352,6 +410,8 @@ var xSettingsGetEnableMediasource func(uintptr) bool | |||
| 352 | 410 | ||
| 353 | 411 | // Get the #WebKitSettings:enable-mediasource property. | |
| 354 | 412 | func (x *Settings) GetEnableMediasource() bool { | |
| 413 | + | core.LazyRegister(&xSettingsGetEnableMediasource, "WEBKIT", "webkit_settings_get_enable_mediasource", false) | |
| 414 | + | ||
| 355 | 415 | cret := xSettingsGetEnableMediasource(x.GoPointer()) | |
| 356 | 416 | return cret | |
| 357 | 417 | } | |
| @@ -360,6 +420,8 @@ var xSettingsGetEnableMockCaptureDevices func(uintptr) bool | |||
| 360 | 420 | ||
| 361 | 421 | // Get the #WebKitSettings:enable-mock-capture-devices property. | |
| 362 | 422 | func (x *Settings) GetEnableMockCaptureDevices() bool { | |
| 423 | + | core.LazyRegister(&xSettingsGetEnableMockCaptureDevices, "WEBKIT", "webkit_settings_get_enable_mock_capture_devices", false) | |
| 424 | + | ||
| 363 | 425 | cret := xSettingsGetEnableMockCaptureDevices(x.GoPointer()) | |
| 364 | 426 | return cret | |
| 365 | 427 | } | |
| @@ -368,6 +430,8 @@ var xSettingsGetEnableOfflineWebApplicationCache func(uintptr) bool | |||
| 368 | 430 | ||
| 369 | 431 | // Get the #WebKitSettings:enable-offline-web-application-cache property. | |
| 370 | 432 | func (x *Settings) GetEnableOfflineWebApplicationCache() bool { | |
| 433 | + | core.LazyRegister(&xSettingsGetEnableOfflineWebApplicationCache, "WEBKIT", "webkit_settings_get_enable_offline_web_application_cache", false) | |
| 434 | + | ||
| 371 | 435 | cret := xSettingsGetEnableOfflineWebApplicationCache(x.GoPointer()) | |
| 372 | 436 | return cret | |
| 373 | 437 | } | |
| @@ -376,6 +440,8 @@ var xSettingsGetEnablePageCache func(uintptr) bool | |||
| 376 | 440 | ||
| 377 | 441 | // Get the #WebKitSettings:enable-page-cache property. | |
| 378 | 442 | func (x *Settings) GetEnablePageCache() bool { | |
| 443 | + | core.LazyRegister(&xSettingsGetEnablePageCache, "WEBKIT", "webkit_settings_get_enable_page_cache", false) | |
| 444 | + | ||
| 379 | 445 | cret := xSettingsGetEnablePageCache(x.GoPointer()) | |
| 380 | 446 | return cret | |
| 381 | 447 | } | |
| @@ -384,6 +450,8 @@ var xSettingsGetEnableResizableTextAreas func(uintptr) bool | |||
| 384 | 450 | ||
| 385 | 451 | // Get the #WebKitSettings:enable-resizable-text-areas property. | |
| 386 | 452 | func (x *Settings) GetEnableResizableTextAreas() bool { | |
| 453 | + | core.LazyRegister(&xSettingsGetEnableResizableTextAreas, "WEBKIT", "webkit_settings_get_enable_resizable_text_areas", false) | |
| 454 | + | ||
| 387 | 455 | cret := xSettingsGetEnableResizableTextAreas(x.GoPointer()) | |
| 388 | 456 | return cret | |
| 389 | 457 | } | |
| @@ -392,6 +460,8 @@ var xSettingsGetEnableSiteSpecificQuirks func(uintptr) bool | |||
| 392 | 460 | ||
| 393 | 461 | // Get the #WebKitSettings:enable-site-specific-quirks property. | |
| 394 | 462 | func (x *Settings) GetEnableSiteSpecificQuirks() bool { | |
| 463 | + | core.LazyRegister(&xSettingsGetEnableSiteSpecificQuirks, "WEBKIT", "webkit_settings_get_enable_site_specific_quirks", false) | |
| 464 | + | ||
| 395 | 465 | cret := xSettingsGetEnableSiteSpecificQuirks(x.GoPointer()) | |
| 396 | 466 | return cret | |
| 397 | 467 | } | |
| @@ -400,6 +470,8 @@ var xSettingsGetEnableSmoothScrolling func(uintptr) bool | |||
| 400 | 470 | ||
| 401 | 471 | // Get the #WebKitSettings:enable-smooth-scrolling property. | |
| 402 | 472 | func (x *Settings) GetEnableSmoothScrolling() bool { | |
| 473 | + | core.LazyRegister(&xSettingsGetEnableSmoothScrolling, "WEBKIT", "webkit_settings_get_enable_smooth_scrolling", false) | |
| 474 | + | ||
| 403 | 475 | cret := xSettingsGetEnableSmoothScrolling(x.GoPointer()) | |
| 404 | 476 | return cret | |
| 405 | 477 | } | |
| @@ -408,6 +480,8 @@ var xSettingsGetEnableSpatialNavigation func(uintptr) bool | |||
| 408 | 480 | ||
| 409 | 481 | // Get the #WebKitSettings:enable-spatial-navigation property. | |
| 410 | 482 | func (x *Settings) GetEnableSpatialNavigation() bool { | |
| 483 | + | core.LazyRegister(&xSettingsGetEnableSpatialNavigation, "WEBKIT", "webkit_settings_get_enable_spatial_navigation", false) | |
| 484 | + | ||
| 411 | 485 | cret := xSettingsGetEnableSpatialNavigation(x.GoPointer()) | |
| 412 | 486 | return cret | |
| 413 | 487 | } | |
| @@ -416,6 +490,8 @@ var xSettingsGetEnableTabsToLinks func(uintptr) bool | |||
| 416 | 490 | ||
| 417 | 491 | // Get the #WebKitSettings:enable-tabs-to-links property. | |
| 418 | 492 | func (x *Settings) GetEnableTabsToLinks() bool { | |
| 493 | + | core.LazyRegister(&xSettingsGetEnableTabsToLinks, "WEBKIT", "webkit_settings_get_enable_tabs_to_links", false) | |
| 494 | + | ||
| 419 | 495 | cret := xSettingsGetEnableTabsToLinks(x.GoPointer()) | |
| 420 | 496 | return cret | |
| 421 | 497 | } | |
| @@ -424,6 +500,8 @@ var xSettingsGetEnableWebaudio func(uintptr) bool | |||
| 424 | 500 | ||
| 425 | 501 | // Get the #WebKitSettings:enable-webaudio property. | |
| 426 | 502 | func (x *Settings) GetEnableWebaudio() bool { | |
| 503 | + | core.LazyRegister(&xSettingsGetEnableWebaudio, "WEBKIT", "webkit_settings_get_enable_webaudio", false) | |
| 504 | + | ||
| 427 | 505 | cret := xSettingsGetEnableWebaudio(x.GoPointer()) | |
| 428 | 506 | return cret | |
| 429 | 507 | } | |
| @@ -432,6 +510,8 @@ var xSettingsGetEnableWebgl func(uintptr) bool | |||
| 432 | 510 | ||
| 433 | 511 | // Get the #WebKitSettings:enable-webgl property. | |
| 434 | 512 | func (x *Settings) GetEnableWebgl() bool { | |
| 513 | + | core.LazyRegister(&xSettingsGetEnableWebgl, "WEBKIT", "webkit_settings_get_enable_webgl", false) | |
| 514 | + | ||
| 435 | 515 | cret := xSettingsGetEnableWebgl(x.GoPointer()) | |
| 436 | 516 | return cret | |
| 437 | 517 | } | |
| @@ -440,6 +520,8 @@ var xSettingsGetEnableWebrtc func(uintptr) bool | |||
| 440 | 520 | ||
| 441 | 521 | // Get the [property@Settings:enable-webrtc] property. | |
| 442 | 522 | func (x *Settings) GetEnableWebrtc() bool { | |
| 523 | + | core.LazyRegister(&xSettingsGetEnableWebrtc, "WEBKIT", "webkit_settings_get_enable_webrtc", false) | |
| 524 | + | ||
| 443 | 525 | cret := xSettingsGetEnableWebrtc(x.GoPointer()) | |
| 444 | 526 | return cret | |
| 445 | 527 | } | |
| @@ -448,6 +530,8 @@ var xSettingsGetEnableWriteConsoleMessagesToStdout func(uintptr) bool | |||
| 448 | 530 | ||
| 449 | 531 | // Get the #WebKitSettings:enable-write-console-messages-to-stdout property. | |
| 450 | 532 | func (x *Settings) GetEnableWriteConsoleMessagesToStdout() bool { | |
| 533 | + | core.LazyRegister(&xSettingsGetEnableWriteConsoleMessagesToStdout, "WEBKIT", "webkit_settings_get_enable_write_console_messages_to_stdout", false) | |
| 534 | + | ||
| 451 | 535 | cret := xSettingsGetEnableWriteConsoleMessagesToStdout(x.GoPointer()) | |
| 452 | 536 | return cret | |
| 453 | 537 | } | |
| @@ -456,6 +540,8 @@ var xSettingsGetFantasyFontFamily func(uintptr) string | |||
| 456 | 540 | ||
| 457 | 541 | // Gets the #WebKitSettings:fantasy-font-family property. | |
| 458 | 542 | func (x *Settings) GetFantasyFontFamily() string { | |
| 543 | + | core.LazyRegister(&xSettingsGetFantasyFontFamily, "WEBKIT", "webkit_settings_get_fantasy_font_family", false) | |
| 544 | + | ||
| 459 | 545 | cret := xSettingsGetFantasyFontFamily(x.GoPointer()) | |
| 460 | 546 | return cret | |
| 461 | 547 | } | |
| @@ -464,6 +550,8 @@ var xSettingsGetFeatureEnabled func(uintptr, *Feature) bool | |||
| 464 | 550 | ||
| 465 | 551 | // Gets whether a feature is enabled. | |
| 466 | 552 | func (x *Settings) GetFeatureEnabled(FeatureVar *Feature) bool { | |
| 553 | + | core.LazyRegister(&xSettingsGetFeatureEnabled, "WEBKIT", "webkit_settings_get_feature_enabled", false) | |
| 554 | + | ||
| 467 | 555 | cret := xSettingsGetFeatureEnabled(x.GoPointer(), FeatureVar) | |
| 468 | 556 | return cret | |
| 469 | 557 | } | |
| @@ -472,6 +560,8 @@ var xSettingsGetHardwareAccelerationPolicy func(uintptr) HardwareAccelerationPol | |||
| 472 | 560 | ||
| 473 | 561 | // Get the #WebKitSettings:hardware-acceleration-policy property. | |
| 474 | 562 | func (x *Settings) GetHardwareAccelerationPolicy() HardwareAccelerationPolicy { | |
| 563 | + | core.LazyRegister(&xSettingsGetHardwareAccelerationPolicy, "WEBKIT", "webkit_settings_get_hardware_acceleration_policy", false) | |
| 564 | + | ||
| 475 | 565 | cret := xSettingsGetHardwareAccelerationPolicy(x.GoPointer()) | |
| 476 | 566 | return cret | |
| 477 | 567 | } | |
| @@ -480,6 +570,8 @@ var xSettingsGetJavascriptCanAccessClipboard func(uintptr) bool | |||
| 480 | 570 | ||
| 481 | 571 | // Get the #WebKitSettings:javascript-can-access-clipboard property. | |
| 482 | 572 | func (x *Settings) GetJavascriptCanAccessClipboard() bool { | |
| 573 | + | core.LazyRegister(&xSettingsGetJavascriptCanAccessClipboard, "WEBKIT", "webkit_settings_get_javascript_can_access_clipboard", false) | |
| 574 | + | ||
| 483 | 575 | cret := xSettingsGetJavascriptCanAccessClipboard(x.GoPointer()) | |
| 484 | 576 | return cret | |
| 485 | 577 | } | |
| @@ -488,6 +580,8 @@ var xSettingsGetJavascriptCanOpenWindowsAutomatically func(uintptr) bool | |||
| 488 | 580 | ||
| 489 | 581 | // Get the #WebKitSettings:javascript-can-open-windows-automatically property. | |
| 490 | 582 | func (x *Settings) GetJavascriptCanOpenWindowsAutomatically() bool { | |
| 583 | + | core.LazyRegister(&xSettingsGetJavascriptCanOpenWindowsAutomatically, "WEBKIT", "webkit_settings_get_javascript_can_open_windows_automatically", false) | |
| 584 | + | ||
| 491 | 585 | cret := xSettingsGetJavascriptCanOpenWindowsAutomatically(x.GoPointer()) | |
| 492 | 586 | return cret | |
| 493 | 587 | } | |
| @@ -496,6 +590,8 @@ var xSettingsGetLoadIconsIgnoringImageLoadSetting func(uintptr) bool | |||
| 496 | 590 | ||
| 497 | 591 | // Setting no longer supported. This function returns %FALSE. | |
| 498 | 592 | func (x *Settings) GetLoadIconsIgnoringImageLoadSetting() bool { | |
| 593 | + | core.LazyRegister(&xSettingsGetLoadIconsIgnoringImageLoadSetting, "WEBKIT", "webkit_settings_get_load_icons_ignoring_image_load_setting", false) | |
| 594 | + | ||
| 499 | 595 | cret := xSettingsGetLoadIconsIgnoringImageLoadSetting(x.GoPointer()) | |
| 500 | 596 | return cret | |
| 501 | 597 | } | |
| @@ -504,6 +600,8 @@ var xSettingsGetMathFontFamily func(uintptr) string | |||
| 504 | 600 | ||
| 505 | 601 | // Gets the #WebKitSettings:math-font-family property. | |
| 506 | 602 | func (x *Settings) GetMathFontFamily() string { | |
| 603 | + | core.LazyRegister(&xSettingsGetMathFontFamily, "WEBKIT", "webkit_settings_get_math_font_family", false) | |
| 604 | + | ||
| 507 | 605 | cret := xSettingsGetMathFontFamily(x.GoPointer()) | |
| 508 | 606 | return cret | |
| 509 | 607 | } | |
| @@ -512,6 +610,8 @@ var xSettingsGetMediaContentTypesRequiringHardwareSupport func(uintptr) string | |||
| 512 | 610 | ||
| 513 | 611 | // Gets the #WebKitSettings:media-content-types-requiring-hardware-support property. | |
| 514 | 612 | func (x *Settings) GetMediaContentTypesRequiringHardwareSupport() string { | |
| 613 | + | core.LazyRegister(&xSettingsGetMediaContentTypesRequiringHardwareSupport, "WEBKIT", "webkit_settings_get_media_content_types_requiring_hardware_support", false) | |
| 614 | + | ||
| 515 | 615 | cret := xSettingsGetMediaContentTypesRequiringHardwareSupport(x.GoPointer()) | |
| 516 | 616 | return cret | |
| 517 | 617 | } | |
| @@ -520,6 +620,8 @@ var xSettingsGetMediaPlaybackAllowsInline func(uintptr) bool | |||
| 520 | 620 | ||
| 521 | 621 | // Get the #WebKitSettings:media-playback-allows-inline property. | |
| 522 | 622 | func (x *Settings) GetMediaPlaybackAllowsInline() bool { | |
| 623 | + | core.LazyRegister(&xSettingsGetMediaPlaybackAllowsInline, "WEBKIT", "webkit_settings_get_media_playback_allows_inline", false) | |
| 624 | + | ||
| 523 | 625 | cret := xSettingsGetMediaPlaybackAllowsInline(x.GoPointer()) | |
| 524 | 626 | return cret | |
| 525 | 627 | } | |
| @@ -528,6 +630,8 @@ var xSettingsGetMediaPlaybackRequiresUserGesture func(uintptr) bool | |||
| 528 | 630 | ||
| 529 | 631 | // Get the #WebKitSettings:media-playback-requires-user-gesture property. | |
| 530 | 632 | func (x *Settings) GetMediaPlaybackRequiresUserGesture() bool { | |
| 633 | + | core.LazyRegister(&xSettingsGetMediaPlaybackRequiresUserGesture, "WEBKIT", "webkit_settings_get_media_playback_requires_user_gesture", false) | |
| 634 | + | ||
| 531 | 635 | cret := xSettingsGetMediaPlaybackRequiresUserGesture(x.GoPointer()) | |
| 532 | 636 | return cret | |
| 533 | 637 | } | |
| @@ -536,6 +640,8 @@ var xSettingsGetMinimumFontSize func(uintptr) uint32 | |||
| 536 | 640 | ||
| 537 | 641 | // Gets the #WebKitSettings:minimum-font-size property. | |
| 538 | 642 | func (x *Settings) GetMinimumFontSize() uint32 { | |
| 643 | + | core.LazyRegister(&xSettingsGetMinimumFontSize, "WEBKIT", "webkit_settings_get_minimum_font_size", false) | |
| 644 | + | ||
| 539 | 645 | cret := xSettingsGetMinimumFontSize(x.GoPointer()) | |
| 540 | 646 | return cret | |
| 541 | 647 | } | |
| @@ -544,6 +650,8 @@ var xSettingsGetMonospaceFontFamily func(uintptr) string | |||
| 544 | 650 | ||
| 545 | 651 | // Gets the #WebKitSettings:monospace-font-family property. | |
| 546 | 652 | func (x *Settings) GetMonospaceFontFamily() string { | |
| 653 | + | core.LazyRegister(&xSettingsGetMonospaceFontFamily, "WEBKIT", "webkit_settings_get_monospace_font_family", false) | |
| 654 | + | ||
| 547 | 655 | cret := xSettingsGetMonospaceFontFamily(x.GoPointer()) | |
| 548 | 656 | return cret | |
| 549 | 657 | } | |
| @@ -552,6 +660,8 @@ var xSettingsGetPictographFontFamily func(uintptr) string | |||
| 552 | 660 | ||
| 553 | 661 | // Gets the #WebKitSettings:pictograph-font-family property. | |
| 554 | 662 | func (x *Settings) GetPictographFontFamily() string { | |
| 663 | + | core.LazyRegister(&xSettingsGetPictographFontFamily, "WEBKIT", "webkit_settings_get_pictograph_font_family", false) | |
| 664 | + | ||
| 555 | 665 | cret := xSettingsGetPictographFontFamily(x.GoPointer()) | |
| 556 | 666 | return cret | |
| 557 | 667 | } | |
| @@ -560,6 +670,8 @@ var xSettingsGetPrintBackgrounds func(uintptr) bool | |||
| 560 | 670 | ||
| 561 | 671 | // Get the #WebKitSettings:print-backgrounds property. | |
| 562 | 672 | func (x *Settings) GetPrintBackgrounds() bool { | |
| 673 | + | core.LazyRegister(&xSettingsGetPrintBackgrounds, "WEBKIT", "webkit_settings_get_print_backgrounds", false) | |
| 674 | + | ||
| 563 | 675 | cret := xSettingsGetPrintBackgrounds(x.GoPointer()) | |
| 564 | 676 | return cret | |
| 565 | 677 | } | |
| @@ -568,6 +680,8 @@ var xSettingsGetSansSerifFontFamily func(uintptr) string | |||
| 568 | 680 | ||
| 569 | 681 | // Gets the #WebKitSettings:sans-serif-font-family property. | |
| 570 | 682 | func (x *Settings) GetSansSerifFontFamily() string { | |
| 683 | + | core.LazyRegister(&xSettingsGetSansSerifFontFamily, "WEBKIT", "webkit_settings_get_sans_serif_font_family", false) | |
| 684 | + | ||
| 571 | 685 | cret := xSettingsGetSansSerifFontFamily(x.GoPointer()) | |
| 572 | 686 | return cret | |
| 573 | 687 | } | |
| @@ -576,6 +690,8 @@ var xSettingsGetSerifFontFamily func(uintptr) string | |||
| 576 | 690 | ||
| 577 | 691 | // Gets the #WebKitSettings:serif-font-family property. | |
| 578 | 692 | func (x *Settings) GetSerifFontFamily() string { | |
| 693 | + | core.LazyRegister(&xSettingsGetSerifFontFamily, "WEBKIT", "webkit_settings_get_serif_font_family", false) | |
| 694 | + | ||
| 579 | 695 | cret := xSettingsGetSerifFontFamily(x.GoPointer()) | |
| 580 | 696 | return cret | |
| 581 | 697 | } | |
| @@ -584,6 +700,8 @@ var xSettingsGetUserAgent func(uintptr) string | |||
| 584 | 700 | ||
| 585 | 701 | // Get the #WebKitSettings:user-agent property. | |
| 586 | 702 | func (x *Settings) GetUserAgent() string { | |
| 703 | + | core.LazyRegister(&xSettingsGetUserAgent, "WEBKIT", "webkit_settings_get_user_agent", false) | |
| 704 | + | ||
| 587 | 705 | cret := xSettingsGetUserAgent(x.GoPointer()) | |
| 588 | 706 | return cret | |
| 589 | 707 | } | |
| @@ -592,6 +710,8 @@ var xSettingsGetWebrtcUdpPortsRange func(uintptr) string | |||
| 592 | 710 | ||
| 593 | 711 | // Get the [property@Settings:webrtc-udp-ports-range] property. | |
| 594 | 712 | func (x *Settings) GetWebrtcUdpPortsRange() string { | |
| 713 | + | core.LazyRegister(&xSettingsGetWebrtcUdpPortsRange, "WEBKIT", "webkit_settings_get_webrtc_udp_ports_range", false) | |
| 714 | + | ||
| 595 | 715 | cret := xSettingsGetWebrtcUdpPortsRange(x.GoPointer()) | |
| 596 | 716 | return cret | |
| 597 | 717 | } | |
| @@ -600,6 +720,8 @@ var xSettingsGetZoomTextOnly func(uintptr) bool | |||
| 600 | 720 | ||
| 601 | 721 | // Get the #WebKitSettings:zoom-text-only property. | |
| 602 | 722 | func (x *Settings) GetZoomTextOnly() bool { | |
| 723 | + | core.LazyRegister(&xSettingsGetZoomTextOnly, "WEBKIT", "webkit_settings_get_zoom_text_only", false) | |
| 724 | + | ||
| 603 | 725 | cret := xSettingsGetZoomTextOnly(x.GoPointer()) | |
| 604 | 726 | return cret | |
| 605 | 727 | } | |
| @@ -608,6 +730,8 @@ var xSettingsSetAllowFileAccessFromFileUrls func(uintptr, bool) | |||
| 608 | 730 | ||
| 609 | 731 | // Set the #WebKitSettings:allow-file-access-from-file-urls property. | |
| 610 | 732 | func (x *Settings) SetAllowFileAccessFromFileUrls(AllowedVar bool) { | |
| 733 | + | core.LazyRegister(&xSettingsSetAllowFileAccessFromFileUrls, "WEBKIT", "webkit_settings_set_allow_file_access_from_file_urls", false) | |
| 734 | + | ||
| 611 | 735 | xSettingsSetAllowFileAccessFromFileUrls(x.GoPointer(), AllowedVar) | |
| 612 | 736 | } | |
| 613 | 737 | ||
| @@ -615,6 +739,8 @@ var xSettingsSetAllowModalDialogs func(uintptr, bool) | |||
| 615 | 739 | ||
| 616 | 740 | // Set the #WebKitSettings:allow-modal-dialogs property. | |
| 617 | 741 | func (x *Settings) SetAllowModalDialogs(AllowedVar bool) { | |
| 742 | + | core.LazyRegister(&xSettingsSetAllowModalDialogs, "WEBKIT", "webkit_settings_set_allow_modal_dialogs", false) | |
| 743 | + | ||
| 618 | 744 | xSettingsSetAllowModalDialogs(x.GoPointer(), AllowedVar) | |
| 619 | 745 | } | |
| 620 | 746 | ||
| @@ -622,6 +748,8 @@ var xSettingsSetAllowTopNavigationToDataUrls func(uintptr, bool) | |||
| 622 | 748 | ||
| 623 | 749 | // Set the #WebKitSettings:allow-top-navigation-to-data-urls property. | |
| 624 | 750 | func (x *Settings) SetAllowTopNavigationToDataUrls(AllowedVar bool) { | |
| 751 | + | core.LazyRegister(&xSettingsSetAllowTopNavigationToDataUrls, "WEBKIT", "webkit_settings_set_allow_top_navigation_to_data_urls", false) | |
| 752 | + | ||
| 625 | 753 | xSettingsSetAllowTopNavigationToDataUrls(x.GoPointer(), AllowedVar) | |
| 626 | 754 | } | |
| 627 | 755 | ||
| @@ -629,6 +757,8 @@ var xSettingsSetAllowUniversalAccessFromFileUrls func(uintptr, bool) | |||
| 629 | 757 | ||
| 630 | 758 | // Set the #WebKitSettings:allow-universal-access-from-file-urls property. | |
| 631 | 759 | func (x *Settings) SetAllowUniversalAccessFromFileUrls(AllowedVar bool) { | |
| 760 | + | core.LazyRegister(&xSettingsSetAllowUniversalAccessFromFileUrls, "WEBKIT", "webkit_settings_set_allow_universal_access_from_file_urls", false) | |
| 761 | + | ||
| 632 | 762 | xSettingsSetAllowUniversalAccessFromFileUrls(x.GoPointer(), AllowedVar) | |
| 633 | 763 | } | |
| 634 | 764 | ||
| @@ -636,6 +766,8 @@ var xSettingsSetAutoLoadImages func(uintptr, bool) | |||
| 636 | 766 | ||
| 637 | 767 | // Set the #WebKitSettings:auto-load-images property. | |
| 638 | 768 | func (x *Settings) SetAutoLoadImages(EnabledVar bool) { | |
| 769 | + | core.LazyRegister(&xSettingsSetAutoLoadImages, "WEBKIT", "webkit_settings_set_auto_load_images", false) | |
| 770 | + | ||
| 639 | 771 | xSettingsSetAutoLoadImages(x.GoPointer(), EnabledVar) | |
| 640 | 772 | } | |
| 641 | 773 | ||
| @@ -643,6 +775,8 @@ var xSettingsSetCursiveFontFamily func(uintptr, string) | |||
| 643 | 775 | ||
| 644 | 776 | // Set the #WebKitSettings:cursive-font-family property. | |
| 645 | 777 | func (x *Settings) SetCursiveFontFamily(CursiveFontFamilyVar string) { | |
| 778 | + | core.LazyRegister(&xSettingsSetCursiveFontFamily, "WEBKIT", "webkit_settings_set_cursive_font_family", false) | |
| 779 | + | ||
| 646 | 780 | xSettingsSetCursiveFontFamily(x.GoPointer(), CursiveFontFamilyVar) | |
| 647 | 781 | } | |
| 648 | 782 | ||
| @@ -650,6 +784,8 @@ var xSettingsSetDefaultCharset func(uintptr, string) | |||
| 650 | 784 | ||
| 651 | 785 | // Set the #WebKitSettings:default-charset property. | |
| 652 | 786 | func (x *Settings) SetDefaultCharset(DefaultCharsetVar string) { | |
| 787 | + | core.LazyRegister(&xSettingsSetDefaultCharset, "WEBKIT", "webkit_settings_set_default_charset", false) | |
| 788 | + | ||
| 653 | 789 | xSettingsSetDefaultCharset(x.GoPointer(), DefaultCharsetVar) | |
| 654 | 790 | } | |
| 655 | 791 | ||
| @@ -657,6 +793,8 @@ var xSettingsSetDefaultFontFamily func(uintptr, string) | |||
| 657 | 793 | ||
| 658 | 794 | // Set the #WebKitSettings:default-font-family property. | |
| 659 | 795 | func (x *Settings) SetDefaultFontFamily(DefaultFontFamilyVar string) { | |
| 796 | + | core.LazyRegister(&xSettingsSetDefaultFontFamily, "WEBKIT", "webkit_settings_set_default_font_family", false) | |
| 797 | + | ||
| 660 | 798 | xSettingsSetDefaultFontFamily(x.GoPointer(), DefaultFontFamilyVar) | |
| 661 | 799 | } | |
| 662 | 800 | ||
| @@ -664,6 +802,8 @@ var xSettingsSetDefaultFontSize func(uintptr, uint32) | |||
| 664 | 802 | ||
| 665 | 803 | // Set the #WebKitSettings:default-font-size property. | |
| 666 | 804 | func (x *Settings) SetDefaultFontSize(FontSizeVar uint32) { | |
| 805 | + | core.LazyRegister(&xSettingsSetDefaultFontSize, "WEBKIT", "webkit_settings_set_default_font_size", false) | |
| 806 | + | ||
| 667 | 807 | xSettingsSetDefaultFontSize(x.GoPointer(), FontSizeVar) | |
| 668 | 808 | } | |
| 669 | 809 | ||
| @@ -671,6 +811,8 @@ var xSettingsSetDefaultMonospaceFontSize func(uintptr, uint32) | |||
| 671 | 811 | ||
| 672 | 812 | // Set the #WebKitSettings:default-monospace-font-size property. | |
| 673 | 813 | func (x *Settings) SetDefaultMonospaceFontSize(FontSizeVar uint32) { | |
| 814 | + | core.LazyRegister(&xSettingsSetDefaultMonospaceFontSize, "WEBKIT", "webkit_settings_set_default_monospace_font_size", false) | |
| 815 | + | ||
| 674 | 816 | xSettingsSetDefaultMonospaceFontSize(x.GoPointer(), FontSizeVar) | |
| 675 | 817 | } | |
| 676 | 818 | ||
| @@ -678,6 +820,8 @@ var xSettingsSetDisableWebSecurity func(uintptr, bool) | |||
| 678 | 820 | ||
| 679 | 821 | // Set the #WebKitSettings:disable-web-security property. | |
| 680 | 822 | func (x *Settings) SetDisableWebSecurity(DisabledVar bool) { | |
| 823 | + | core.LazyRegister(&xSettingsSetDisableWebSecurity, "WEBKIT", "webkit_settings_set_disable_web_security", false) | |
| 824 | + | ||
| 681 | 825 | xSettingsSetDisableWebSecurity(x.GoPointer(), DisabledVar) | |
| 682 | 826 | } | |
| 683 | 827 | ||
| @@ -685,6 +829,8 @@ var xSettingsSetDrawCompositingIndicators func(uintptr, bool) | |||
| 685 | 829 | ||
| 686 | 830 | // Set the #WebKitSettings:draw-compositing-indicators property. | |
| 687 | 831 | func (x *Settings) SetDrawCompositingIndicators(EnabledVar bool) { | |
| 832 | + | core.LazyRegister(&xSettingsSetDrawCompositingIndicators, "WEBKIT", "webkit_settings_set_draw_compositing_indicators", false) | |
| 833 | + | ||
| 688 | 834 | xSettingsSetDrawCompositingIndicators(x.GoPointer(), EnabledVar) | |
| 689 | 835 | } | |
| 690 | 836 | ||
| @@ -692,6 +838,8 @@ var xSettingsSetEnable2dCanvasAcceleration func(uintptr, bool) | |||
| 692 | 838 | ||
| 693 | 839 | // Set the #WebKitSettings:enable-2d-canvas-acceleration property. | |
| 694 | 840 | func (x *Settings) SetEnable2dCanvasAcceleration(EnabledVar bool) { | |
| 841 | + | core.LazyRegister(&xSettingsSetEnable2dCanvasAcceleration, "WEBKIT", "webkit_settings_set_enable_2d_canvas_acceleration", false) | |
| 842 | + | ||
| 695 | 843 | xSettingsSetEnable2dCanvasAcceleration(x.GoPointer(), EnabledVar) | |
| 696 | 844 | } | |
| 697 | 845 | ||
| @@ -699,6 +847,8 @@ var xSettingsSetEnableBackForwardNavigationGestures func(uintptr, bool) | |||
| 699 | 847 | ||
| 700 | 848 | // Set the #WebKitSettings:enable-back-forward-navigation-gestures property. | |
| 701 | 849 | func (x *Settings) SetEnableBackForwardNavigationGestures(EnabledVar bool) { | |
| 850 | + | core.LazyRegister(&xSettingsSetEnableBackForwardNavigationGestures, "WEBKIT", "webkit_settings_set_enable_back_forward_navigation_gestures", false) | |
| 851 | + | ||
| 702 | 852 | xSettingsSetEnableBackForwardNavigationGestures(x.GoPointer(), EnabledVar) | |
| 703 | 853 | } | |
| 704 | 854 | ||
| @@ -706,6 +856,8 @@ var xSettingsSetEnableCaretBrowsing func(uintptr, bool) | |||
| 706 | 856 | ||
| 707 | 857 | // Set the #WebKitSettings:enable-caret-browsing property. | |
| 708 | 858 | func (x *Settings) SetEnableCaretBrowsing(EnabledVar bool) { | |
| 859 | + | core.LazyRegister(&xSettingsSetEnableCaretBrowsing, "WEBKIT", "webkit_settings_set_enable_caret_browsing", false) | |
| 860 | + | ||
| 709 | 861 | xSettingsSetEnableCaretBrowsing(x.GoPointer(), EnabledVar) | |
| 710 | 862 | } | |
| 711 | 863 | ||
| @@ -713,6 +865,8 @@ var xSettingsSetEnableDeveloperExtras func(uintptr, bool) | |||
| 713 | 865 | ||
| 714 | 866 | // Set the #WebKitSettings:enable-developer-extras property. | |
| 715 | 867 | func (x *Settings) SetEnableDeveloperExtras(EnabledVar bool) { | |
| 868 | + | core.LazyRegister(&xSettingsSetEnableDeveloperExtras, "WEBKIT", "webkit_settings_set_enable_developer_extras", false) | |
| 869 | + | ||
| 716 | 870 | xSettingsSetEnableDeveloperExtras(x.GoPointer(), EnabledVar) | |
| 717 | 871 | } | |
| 718 | 872 | ||
| @@ -720,6 +874,8 @@ var xSettingsSetEnableDnsPrefetching func(uintptr, bool) | |||
| 720 | 874 | ||
| 721 | 875 | // Set the #WebKitSettings:enable-dns-prefetching property. | |
| 722 | 876 | func (x *Settings) SetEnableDnsPrefetching(EnabledVar bool) { | |
| 877 | + | core.LazyRegister(&xSettingsSetEnableDnsPrefetching, "WEBKIT", "webkit_settings_set_enable_dns_prefetching", false) | |
| 878 | + | ||
| 723 | 879 | xSettingsSetEnableDnsPrefetching(x.GoPointer(), EnabledVar) | |
| 724 | 880 | } | |
| 725 | 881 | ||
| @@ -727,6 +883,8 @@ var xSettingsSetEnableEncryptedMedia func(uintptr, bool) | |||
| 727 | 883 | ||
| 728 | 884 | // Set the #WebKitSettings:enable-encrypted-media property. | |
| 729 | 885 | func (x *Settings) SetEnableEncryptedMedia(EnabledVar bool) { | |
| 886 | + | core.LazyRegister(&xSettingsSetEnableEncryptedMedia, "WEBKIT", "webkit_settings_set_enable_encrypted_media", false) | |
| 887 | + | ||
| 730 | 888 | xSettingsSetEnableEncryptedMedia(x.GoPointer(), EnabledVar) | |
| 731 | 889 | } | |
| 732 | 890 | ||
| @@ -734,6 +892,8 @@ var xSettingsSetEnableFullscreen func(uintptr, bool) | |||
| 734 | 892 | ||
| 735 | 893 | // Set the #WebKitSettings:enable-fullscreen property. | |
| 736 | 894 | func (x *Settings) SetEnableFullscreen(EnabledVar bool) { | |
| 895 | + | core.LazyRegister(&xSettingsSetEnableFullscreen, "WEBKIT", "webkit_settings_set_enable_fullscreen", false) | |
| 896 | + | ||
| 737 | 897 | xSettingsSetEnableFullscreen(x.GoPointer(), EnabledVar) | |
| 738 | 898 | } | |
| 739 | 899 | ||
| @@ -741,6 +901,8 @@ var xSettingsSetEnableHtml5Database func(uintptr, bool) | |||
| 741 | 901 | ||
| 742 | 902 | // Set the #WebKitSettings:enable-html5-database property. | |
| 743 | 903 | func (x *Settings) SetEnableHtml5Database(EnabledVar bool) { | |
| 904 | + | core.LazyRegister(&xSettingsSetEnableHtml5Database, "WEBKIT", "webkit_settings_set_enable_html5_database", false) | |
| 905 | + | ||
| 744 | 906 | xSettingsSetEnableHtml5Database(x.GoPointer(), EnabledVar) | |
| 745 | 907 | } | |
| 746 | 908 | ||
| @@ -748,6 +910,8 @@ var xSettingsSetEnableHtml5LocalStorage func(uintptr, bool) | |||
| 748 | 910 | ||
| 749 | 911 | // Set the #WebKitSettings:enable-html5-local-storage property. | |
| 750 | 912 | func (x *Settings) SetEnableHtml5LocalStorage(EnabledVar bool) { | |
| 913 | + | core.LazyRegister(&xSettingsSetEnableHtml5LocalStorage, "WEBKIT", "webkit_settings_set_enable_html5_local_storage", false) | |
| 914 | + | ||
| 751 | 915 | xSettingsSetEnableHtml5LocalStorage(x.GoPointer(), EnabledVar) | |
| 752 | 916 | } | |
| 753 | 917 | ||
| @@ -755,6 +919,8 @@ var xSettingsSetEnableHyperlinkAuditing func(uintptr, bool) | |||
| 755 | 919 | ||
| 756 | 920 | // Set the #WebKitSettings:enable-hyperlink-auditing property. | |
| 757 | 921 | func (x *Settings) SetEnableHyperlinkAuditing(EnabledVar bool) { | |
| 922 | + | core.LazyRegister(&xSettingsSetEnableHyperlinkAuditing, "WEBKIT", "webkit_settings_set_enable_hyperlink_auditing", false) | |
| 923 | + | ||
| 758 | 924 | xSettingsSetEnableHyperlinkAuditing(x.GoPointer(), EnabledVar) | |
| 759 | 925 | } | |
| 760 | 926 | ||
| @@ -762,6 +928,8 @@ var xSettingsSetEnableJavascript func(uintptr, bool) | |||
| 762 | 928 | ||
| 763 | 929 | // Set the #WebKitSettings:enable-javascript property. | |
| 764 | 930 | func (x *Settings) SetEnableJavascript(EnabledVar bool) { | |
| 931 | + | core.LazyRegister(&xSettingsSetEnableJavascript, "WEBKIT", "webkit_settings_set_enable_javascript", false) | |
| 932 | + | ||
| 765 | 933 | xSettingsSetEnableJavascript(x.GoPointer(), EnabledVar) | |
| 766 | 934 | } | |
| 767 | 935 | ||
| @@ -769,6 +937,8 @@ var xSettingsSetEnableJavascriptMarkup func(uintptr, bool) | |||
| 769 | 937 | ||
| 770 | 938 | // Set the #WebKitSettings:enable-javascript-markup property. | |
| 771 | 939 | func (x *Settings) SetEnableJavascriptMarkup(EnabledVar bool) { | |
| 940 | + | core.LazyRegister(&xSettingsSetEnableJavascriptMarkup, "WEBKIT", "webkit_settings_set_enable_javascript_markup", false) | |
| 941 | + | ||
| 772 | 942 | xSettingsSetEnableJavascriptMarkup(x.GoPointer(), EnabledVar) | |
| 773 | 943 | } | |
| 774 | 944 | ||
| @@ -776,6 +946,8 @@ var xSettingsSetEnableMedia func(uintptr, bool) | |||
| 776 | 946 | ||
| 777 | 947 | // Set the #WebKitSettings:enable-media property. | |
| 778 | 948 | func (x *Settings) SetEnableMedia(EnabledVar bool) { | |
| 949 | + | core.LazyRegister(&xSettingsSetEnableMedia, "WEBKIT", "webkit_settings_set_enable_media", false) | |
| 950 | + | ||
| 779 | 951 | xSettingsSetEnableMedia(x.GoPointer(), EnabledVar) | |
| 780 | 952 | } | |
| 781 | 953 | ||
| @@ -783,6 +955,8 @@ var xSettingsSetEnableMediaCapabilities func(uintptr, bool) | |||
| 783 | 955 | ||
| 784 | 956 | // Set the #WebKitSettings:enable-media-capabilities property. | |
| 785 | 957 | func (x *Settings) SetEnableMediaCapabilities(EnabledVar bool) { | |
| 958 | + | core.LazyRegister(&xSettingsSetEnableMediaCapabilities, "WEBKIT", "webkit_settings_set_enable_media_capabilities", false) | |
| 959 | + | ||
| 786 | 960 | xSettingsSetEnableMediaCapabilities(x.GoPointer(), EnabledVar) | |
| 787 | 961 | } | |
| 788 | 962 | ||
| @@ -790,6 +964,8 @@ var xSettingsSetEnableMediaStream func(uintptr, bool) | |||
| 790 | 964 | ||
| 791 | 965 | // Set the #WebKitSettings:enable-media-stream property. | |
| 792 | 966 | func (x *Settings) SetEnableMediaStream(EnabledVar bool) { | |
| 967 | + | core.LazyRegister(&xSettingsSetEnableMediaStream, "WEBKIT", "webkit_settings_set_enable_media_stream", false) | |
| 968 | + | ||
| 793 | 969 | xSettingsSetEnableMediaStream(x.GoPointer(), EnabledVar) | |
| 794 | 970 | } | |
| 795 | 971 | ||
| @@ -797,6 +973,8 @@ var xSettingsSetEnableMediasource func(uintptr, bool) | |||
| 797 | 973 | ||
| 798 | 974 | // Set the #WebKitSettings:enable-mediasource property. | |
| 799 | 975 | func (x *Settings) SetEnableMediasource(EnabledVar bool) { | |
| 976 | + | core.LazyRegister(&xSettingsSetEnableMediasource, "WEBKIT", "webkit_settings_set_enable_mediasource", false) | |
| 977 | + | ||
| 800 | 978 | xSettingsSetEnableMediasource(x.GoPointer(), EnabledVar) | |
| 801 | 979 | } | |
| 802 | 980 | ||
| @@ -804,6 +982,8 @@ var xSettingsSetEnableMockCaptureDevices func(uintptr, bool) | |||
| 804 | 982 | ||
| 805 | 983 | // Set the #WebKitSettings:enable-mock-capture-devices property. | |
| 806 | 984 | func (x *Settings) SetEnableMockCaptureDevices(EnabledVar bool) { | |
| 985 | + | core.LazyRegister(&xSettingsSetEnableMockCaptureDevices, "WEBKIT", "webkit_settings_set_enable_mock_capture_devices", false) | |
| 986 | + | ||
| 807 | 987 | xSettingsSetEnableMockCaptureDevices(x.GoPointer(), EnabledVar) | |
| 808 | 988 | } | |
| 809 | 989 | ||
| @@ -811,6 +991,8 @@ var xSettingsSetEnableOfflineWebApplicationCache func(uintptr, bool) | |||
| 811 | 991 | ||
| 812 | 992 | // Setting no longer supported. This function does nothing. | |
| 813 | 993 | func (x *Settings) SetEnableOfflineWebApplicationCache(EnabledVar bool) { | |
| 994 | + | core.LazyRegister(&xSettingsSetEnableOfflineWebApplicationCache, "WEBKIT", "webkit_settings_set_enable_offline_web_application_cache", false) | |
| 995 | + | ||
| 814 | 996 | xSettingsSetEnableOfflineWebApplicationCache(x.GoPointer(), EnabledVar) | |
| 815 | 997 | } | |
| 816 | 998 | ||
| @@ -818,6 +1000,8 @@ var xSettingsSetEnablePageCache func(uintptr, bool) | |||
| 818 | 1000 | ||
| 819 | 1001 | // Set the #WebKitSettings:enable-page-cache property. | |
| 820 | 1002 | func (x *Settings) SetEnablePageCache(EnabledVar bool) { | |
| 1003 | + | core.LazyRegister(&xSettingsSetEnablePageCache, "WEBKIT", "webkit_settings_set_enable_page_cache", false) | |
| 1004 | + | ||
| 821 | 1005 | xSettingsSetEnablePageCache(x.GoPointer(), EnabledVar) | |
| 822 | 1006 | } | |
| 823 | 1007 | ||
| @@ -825,6 +1009,8 @@ var xSettingsSetEnableResizableTextAreas func(uintptr, bool) | |||
| 825 | 1009 | ||
| 826 | 1010 | // Set the #WebKitSettings:enable-resizable-text-areas property. | |
| 827 | 1011 | func (x *Settings) SetEnableResizableTextAreas(EnabledVar bool) { | |
| 1012 | + | core.LazyRegister(&xSettingsSetEnableResizableTextAreas, "WEBKIT", "webkit_settings_set_enable_resizable_text_areas", false) | |
| 1013 | + | ||
| 828 | 1014 | xSettingsSetEnableResizableTextAreas(x.GoPointer(), EnabledVar) | |
| 829 | 1015 | } | |
| 830 | 1016 | ||
| @@ -832,6 +1018,8 @@ var xSettingsSetEnableSiteSpecificQuirks func(uintptr, bool) | |||
| 832 | 1018 | ||
| 833 | 1019 | // Set the #WebKitSettings:enable-site-specific-quirks property. | |
| 834 | 1020 | func (x *Settings) SetEnableSiteSpecificQuirks(EnabledVar bool) { | |
| 1021 | + | core.LazyRegister(&xSettingsSetEnableSiteSpecificQuirks, "WEBKIT", "webkit_settings_set_enable_site_specific_quirks", false) | |
| 1022 | + | ||
| 835 | 1023 | xSettingsSetEnableSiteSpecificQuirks(x.GoPointer(), EnabledVar) | |
| 836 | 1024 | } | |
| 837 | 1025 | ||
| @@ -839,6 +1027,8 @@ var xSettingsSetEnableSmoothScrolling func(uintptr, bool) | |||
| 839 | 1027 | ||
| 840 | 1028 | // Set the #WebKitSettings:enable-smooth-scrolling property. | |
| 841 | 1029 | func (x *Settings) SetEnableSmoothScrolling(EnabledVar bool) { | |
| 1030 | + | core.LazyRegister(&xSettingsSetEnableSmoothScrolling, "WEBKIT", "webkit_settings_set_enable_smooth_scrolling", false) | |
| 1031 | + | ||
| 842 | 1032 | xSettingsSetEnableSmoothScrolling(x.GoPointer(), EnabledVar) | |
| 843 | 1033 | } | |
| 844 | 1034 | ||
| @@ -846,6 +1036,8 @@ var xSettingsSetEnableSpatialNavigation func(uintptr, bool) | |||
| 846 | 1036 | ||
| 847 | 1037 | // Set the #WebKitSettings:enable-spatial-navigation property. | |
| 848 | 1038 | func (x *Settings) SetEnableSpatialNavigation(EnabledVar bool) { | |
| 1039 | + | core.LazyRegister(&xSettingsSetEnableSpatialNavigation, "WEBKIT", "webkit_settings_set_enable_spatial_navigation", false) | |
| 1040 | + | ||
| 849 | 1041 | xSettingsSetEnableSpatialNavigation(x.GoPointer(), EnabledVar) | |
| 850 | 1042 | } | |
| 851 | 1043 | ||
| @@ -853,6 +1045,8 @@ var xSettingsSetEnableTabsToLinks func(uintptr, bool) | |||
| 853 | 1045 | ||
| 854 | 1046 | // Set the #WebKitSettings:enable-tabs-to-links property. | |
| 855 | 1047 | func (x *Settings) SetEnableTabsToLinks(EnabledVar bool) { | |
| 1048 | + | core.LazyRegister(&xSettingsSetEnableTabsToLinks, "WEBKIT", "webkit_settings_set_enable_tabs_to_links", false) | |
| 1049 | + | ||
| 856 | 1050 | xSettingsSetEnableTabsToLinks(x.GoPointer(), EnabledVar) | |
| 857 | 1051 | } | |
| 858 | 1052 | ||
| @@ -860,6 +1054,8 @@ var xSettingsSetEnableWebaudio func(uintptr, bool) | |||
| 860 | 1054 | ||
| 861 | 1055 | // Set the #WebKitSettings:enable-webaudio property. | |
| 862 | 1056 | func (x *Settings) SetEnableWebaudio(EnabledVar bool) { | |
| 1057 | + | core.LazyRegister(&xSettingsSetEnableWebaudio, "WEBKIT", "webkit_settings_set_enable_webaudio", false) | |
| 1058 | + | ||
| 863 | 1059 | xSettingsSetEnableWebaudio(x.GoPointer(), EnabledVar) | |
| 864 | 1060 | } | |
| 865 | 1061 | ||
| @@ -867,6 +1063,8 @@ var xSettingsSetEnableWebgl func(uintptr, bool) | |||
| 867 | 1063 | ||
| 868 | 1064 | // Set the #WebKitSettings:enable-webgl property. | |
| 869 | 1065 | func (x *Settings) SetEnableWebgl(EnabledVar bool) { | |
| 1066 | + | core.LazyRegister(&xSettingsSetEnableWebgl, "WEBKIT", "webkit_settings_set_enable_webgl", false) | |
| 1067 | + | ||
| 870 | 1068 | xSettingsSetEnableWebgl(x.GoPointer(), EnabledVar) | |
| 871 | 1069 | } | |
| 872 | 1070 | ||
| @@ -876,6 +1074,8 @@ var xSettingsSetEnableWebrtc func(uintptr, bool) | |||
| 876 | 1074 | // | |
| 877 | 1075 | // Setting this property to %TRUE implies the media-stream web-setting will also be enabled. | |
| 878 | 1076 | func (x *Settings) SetEnableWebrtc(EnabledVar bool) { | |
| 1077 | + | core.LazyRegister(&xSettingsSetEnableWebrtc, "WEBKIT", "webkit_settings_set_enable_webrtc", false) | |
| 1078 | + | ||
| 879 | 1079 | xSettingsSetEnableWebrtc(x.GoPointer(), EnabledVar) | |
| 880 | 1080 | } | |
| 881 | 1081 | ||
| @@ -883,6 +1083,8 @@ var xSettingsSetEnableWriteConsoleMessagesToStdout func(uintptr, bool) | |||
| 883 | 1083 | ||
| 884 | 1084 | // Set the #WebKitSettings:enable-write-console-messages-to-stdout property. | |
| 885 | 1085 | func (x *Settings) SetEnableWriteConsoleMessagesToStdout(EnabledVar bool) { | |
| 1086 | + | core.LazyRegister(&xSettingsSetEnableWriteConsoleMessagesToStdout, "WEBKIT", "webkit_settings_set_enable_write_console_messages_to_stdout", false) | |
| 1087 | + | ||
| 886 | 1088 | xSettingsSetEnableWriteConsoleMessagesToStdout(x.GoPointer(), EnabledVar) | |
| 887 | 1089 | } | |
| 888 | 1090 | ||
| @@ -890,6 +1092,8 @@ var xSettingsSetFantasyFontFamily func(uintptr, string) | |||
| 890 | 1092 | ||
| 891 | 1093 | // Set the #WebKitSettings:fantasy-font-family property. | |
| 892 | 1094 | func (x *Settings) SetFantasyFontFamily(FantasyFontFamilyVar string) { | |
| 1095 | + | core.LazyRegister(&xSettingsSetFantasyFontFamily, "WEBKIT", "webkit_settings_set_fantasy_font_family", false) | |
| 1096 | + | ||
| 893 | 1097 | xSettingsSetFantasyFontFamily(x.GoPointer(), FantasyFontFamilyVar) | |
| 894 | 1098 | } | |
| 895 | 1099 | ||
| @@ -902,6 +1106,8 @@ var xSettingsSetFeatureEnabled func(uintptr, *Feature, bool) | |||
| 902 | 1106 | // initial status, pass the value returned by | |
| 903 | 1107 | // [id@webkit_feature_get_default_value] as the @enabled parameter. | |
| 904 | 1108 | func (x *Settings) SetFeatureEnabled(FeatureVar *Feature, EnabledVar bool) { | |
| 1109 | + | core.LazyRegister(&xSettingsSetFeatureEnabled, "WEBKIT", "webkit_settings_set_feature_enabled", false) | |
| 1110 | + | ||
| 905 | 1111 | xSettingsSetFeatureEnabled(x.GoPointer(), FeatureVar, EnabledVar) | |
| 906 | 1112 | } | |
| 907 | 1113 | ||
| @@ -909,6 +1115,8 @@ var xSettingsSetHardwareAccelerationPolicy func(uintptr, HardwareAccelerationPol | |||
| 909 | 1115 | ||
| 910 | 1116 | // Set the #WebKitSettings:hardware-acceleration-policy property. | |
| 911 | 1117 | func (x *Settings) SetHardwareAccelerationPolicy(PolicyVar HardwareAccelerationPolicy) { | |
| 1118 | + | core.LazyRegister(&xSettingsSetHardwareAccelerationPolicy, "WEBKIT", "webkit_settings_set_hardware_acceleration_policy", false) | |
| 1119 | + | ||
| 912 | 1120 | xSettingsSetHardwareAccelerationPolicy(x.GoPointer(), PolicyVar) | |
| 913 | 1121 | } | |
| 914 | 1122 | ||
| @@ -916,6 +1124,8 @@ var xSettingsSetJavascriptCanAccessClipboard func(uintptr, bool) | |||
| 916 | 1124 | ||
| 917 | 1125 | // Set the #WebKitSettings:javascript-can-access-clipboard property. | |
| 918 | 1126 | func (x *Settings) SetJavascriptCanAccessClipboard(EnabledVar bool) { | |
| 1127 | + | core.LazyRegister(&xSettingsSetJavascriptCanAccessClipboard, "WEBKIT", "webkit_settings_set_javascript_can_access_clipboard", false) | |
| 1128 | + | ||
| 919 | 1129 | xSettingsSetJavascriptCanAccessClipboard(x.GoPointer(), EnabledVar) | |
| 920 | 1130 | } | |
| 921 | 1131 | ||
| @@ -923,6 +1133,8 @@ var xSettingsSetJavascriptCanOpenWindowsAutomatically func(uintptr, bool) | |||
| 923 | 1133 | ||
| 924 | 1134 | // Set the #WebKitSettings:javascript-can-open-windows-automatically property. | |
| 925 | 1135 | func (x *Settings) SetJavascriptCanOpenWindowsAutomatically(EnabledVar bool) { | |
| 1136 | + | core.LazyRegister(&xSettingsSetJavascriptCanOpenWindowsAutomatically, "WEBKIT", "webkit_settings_set_javascript_can_open_windows_automatically", false) | |
| 1137 | + | ||
| 926 | 1138 | xSettingsSetJavascriptCanOpenWindowsAutomatically(x.GoPointer(), EnabledVar) | |
| 927 | 1139 | } | |
| 928 | 1140 | ||
| @@ -930,6 +1142,8 @@ var xSettingsSetLoadIconsIgnoringImageLoadSetting func(uintptr, bool) | |||
| 930 | 1142 | ||
| 931 | 1143 | // Setting no longer supported. This function does nothing. | |
| 932 | 1144 | func (x *Settings) SetLoadIconsIgnoringImageLoadSetting(EnabledVar bool) { | |
| 1145 | + | core.LazyRegister(&xSettingsSetLoadIconsIgnoringImageLoadSetting, "WEBKIT", "webkit_settings_set_load_icons_ignoring_image_load_setting", false) | |
| 1146 | + | ||
| 933 | 1147 | xSettingsSetLoadIconsIgnoringImageLoadSetting(x.GoPointer(), EnabledVar) | |
| 934 | 1148 | } | |
| 935 | 1149 | ||
| @@ -939,6 +1153,8 @@ var xSettingsSetMathFontFamily func(uintptr, uintptr) | |||
| 939 | 1153 | // | |
| 940 | 1154 | // Since 2.52 | |
| 941 | 1155 | func (x *Settings) SetMathFontFamily(MathFontFamilyVar *string) { | |
| 1156 | + | core.LazyRegister(&xSettingsSetMathFontFamily, "WEBKIT", "webkit_settings_set_math_font_family", false) | |
| 1157 | + | ||
| 942 | 1158 | MathFontFamilyVarPtr := core.GStrdupNullable(MathFontFamilyVar) | |
| 943 | 1159 | defer core.GFreeNullable(MathFontFamilyVarPtr) | |
| 944 | 1160 | ||
| @@ -949,6 +1165,8 @@ var xSettingsSetMediaContentTypesRequiringHardwareSupport func(uintptr, uintptr) | |||
| 949 | 1165 | ||
| 950 | 1166 | // Set the #WebKitSettings:media-content-types-requiring-hardware-support property. | |
| 951 | 1167 | func (x *Settings) SetMediaContentTypesRequiringHardwareSupport(ContentTypesVar *string) { | |
| 1168 | + | core.LazyRegister(&xSettingsSetMediaContentTypesRequiringHardwareSupport, "WEBKIT", "webkit_settings_set_media_content_types_requiring_hardware_support", false) | |
| 1169 | + | ||
| 952 | 1170 | ContentTypesVarPtr := core.GStrdupNullable(ContentTypesVar) | |
| 953 | 1171 | defer core.GFreeNullable(ContentTypesVarPtr) | |
| 954 | 1172 | ||
| @@ -959,6 +1177,8 @@ var xSettingsSetMediaPlaybackAllowsInline func(uintptr, bool) | |||
| 959 | 1177 | ||
| 960 | 1178 | // Set the #WebKitSettings:media-playback-allows-inline property. | |
| 961 | 1179 | func (x *Settings) SetMediaPlaybackAllowsInline(EnabledVar bool) { | |
| 1180 | + | core.LazyRegister(&xSettingsSetMediaPlaybackAllowsInline, "WEBKIT", "webkit_settings_set_media_playback_allows_inline", false) | |
| 1181 | + | ||
| 962 | 1182 | xSettingsSetMediaPlaybackAllowsInline(x.GoPointer(), EnabledVar) | |
| 963 | 1183 | } | |
| 964 | 1184 | ||
| @@ -966,6 +1186,8 @@ var xSettingsSetMediaPlaybackRequiresUserGesture func(uintptr, bool) | |||
| 966 | 1186 | ||
| 967 | 1187 | // Set the #WebKitSettings:media-playback-requires-user-gesture property. | |
| 968 | 1188 | func (x *Settings) SetMediaPlaybackRequiresUserGesture(EnabledVar bool) { | |
| 1189 | + | core.LazyRegister(&xSettingsSetMediaPlaybackRequiresUserGesture, "WEBKIT", "webkit_settings_set_media_playback_requires_user_gesture", false) | |
| 1190 | + | ||
| 969 | 1191 | xSettingsSetMediaPlaybackRequiresUserGesture(x.GoPointer(), EnabledVar) | |
| 970 | 1192 | } | |
| 971 | 1193 | ||
| @@ -973,6 +1195,8 @@ var xSettingsSetMinimumFontSize func(uintptr, uint32) | |||
| 973 | 1195 | ||
| 974 | 1196 | // Set the #WebKitSettings:minimum-font-size property. | |
| 975 | 1197 | func (x *Settings) SetMinimumFontSize(FontSizeVar uint32) { | |
| 1198 | + | core.LazyRegister(&xSettingsSetMinimumFontSize, "WEBKIT", "webkit_settings_set_minimum_font_size", false) | |
| 1199 | + | ||
| 976 | 1200 | xSettingsSetMinimumFontSize(x.GoPointer(), FontSizeVar) | |
| 977 | 1201 | } | |
| 978 | 1202 | ||
| @@ -980,6 +1204,8 @@ var xSettingsSetMonospaceFontFamily func(uintptr, string) | |||
| 980 | 1204 | ||
| 981 | 1205 | // Set the #WebKitSettings:monospace-font-family property. | |
| 982 | 1206 | func (x *Settings) SetMonospaceFontFamily(MonospaceFontFamilyVar string) { | |
| 1207 | + | core.LazyRegister(&xSettingsSetMonospaceFontFamily, "WEBKIT", "webkit_settings_set_monospace_font_family", false) | |
| 1208 | + | ||
| 983 | 1209 | xSettingsSetMonospaceFontFamily(x.GoPointer(), MonospaceFontFamilyVar) | |
| 984 | 1210 | } | |
| 985 | 1211 | ||
| @@ -987,6 +1213,8 @@ var xSettingsSetPictographFontFamily func(uintptr, string) | |||
| 987 | 1213 | ||
| 988 | 1214 | // Set the #WebKitSettings:pictograph-font-family property. | |
| 989 | 1215 | func (x *Settings) SetPictographFontFamily(PictographFontFamilyVar string) { | |
| 1216 | + | core.LazyRegister(&xSettingsSetPictographFontFamily, "WEBKIT", "webkit_settings_set_pictograph_font_family", false) | |
| 1217 | + | ||
| 990 | 1218 | xSettingsSetPictographFontFamily(x.GoPointer(), PictographFontFamilyVar) | |
| 991 | 1219 | } | |
| 992 | 1220 | ||
| @@ -994,6 +1222,8 @@ var xSettingsSetPrintBackgrounds func(uintptr, bool) | |||
| 994 | 1222 | ||
| 995 | 1223 | // Set the #WebKitSettings:print-backgrounds property. | |
| 996 | 1224 | func (x *Settings) SetPrintBackgrounds(PrintBackgroundsVar bool) { | |
| 1225 | + | core.LazyRegister(&xSettingsSetPrintBackgrounds, "WEBKIT", "webkit_settings_set_print_backgrounds", false) | |
| 1226 | + | ||
| 997 | 1227 | xSettingsSetPrintBackgrounds(x.GoPointer(), PrintBackgroundsVar) | |
| 998 | 1228 | } | |
| 999 | 1229 | ||
| @@ -1001,6 +1231,8 @@ var xSettingsSetSansSerifFontFamily func(uintptr, string) | |||
| 1001 | 1231 | ||
| 1002 | 1232 | // Set the #WebKitSettings:sans-serif-font-family property. | |
| 1003 | 1233 | func (x *Settings) SetSansSerifFontFamily(SansSerifFontFamilyVar string) { | |
| 1234 | + | core.LazyRegister(&xSettingsSetSansSerifFontFamily, "WEBKIT", "webkit_settings_set_sans_serif_font_family", false) | |
| 1235 | + | ||
| 1004 | 1236 | xSettingsSetSansSerifFontFamily(x.GoPointer(), SansSerifFontFamilyVar) | |
| 1005 | 1237 | } | |
| 1006 | 1238 | ||
| @@ -1008,6 +1240,8 @@ var xSettingsSetSerifFontFamily func(uintptr, string) | |||
| 1008 | 1240 | ||
| 1009 | 1241 | // Set the #WebKitSettings:serif-font-family property. | |
| 1010 | 1242 | func (x *Settings) SetSerifFontFamily(SerifFontFamilyVar string) { | |
| 1243 | + | core.LazyRegister(&xSettingsSetSerifFontFamily, "WEBKIT", "webkit_settings_set_serif_font_family", false) | |
| 1244 | + | ||
| 1011 | 1245 | xSettingsSetSerifFontFamily(x.GoPointer(), SerifFontFamilyVar) | |
| 1012 | 1246 | } | |
| 1013 | 1247 | ||
| @@ -1015,6 +1249,8 @@ var xSettingsSetUserAgent func(uintptr, uintptr) | |||
| 1015 | 1249 | ||
| 1016 | 1250 | // Set the #WebKitSettings:user-agent property. | |
| 1017 | 1251 | func (x *Settings) SetUserAgent(UserAgentVar *string) { | |
| 1252 | + | core.LazyRegister(&xSettingsSetUserAgent, "WEBKIT", "webkit_settings_set_user_agent", false) | |
| 1253 | + | ||
| 1018 | 1254 | UserAgentVarPtr := core.GStrdupNullable(UserAgentVar) | |
| 1019 | 1255 | defer core.GFreeNullable(UserAgentVarPtr) | |
| 1020 | 1256 | ||
| @@ -1029,6 +1265,8 @@ var xSettingsSetUserAgentWithApplicationDetails func(uintptr, uintptr, uintptr) | |||
| 1029 | 1265 | // agent. If no application name or version is given, the default user agent used will be used. If only | |
| 1030 | 1266 | // the version is given, the default engine version is used with the given application name. | |
| 1031 | 1267 | func (x *Settings) SetUserAgentWithApplicationDetails(ApplicationNameVar *string, ApplicationVersionVar *string) { | |
| 1268 | + | core.LazyRegister(&xSettingsSetUserAgentWithApplicationDetails, "WEBKIT", "webkit_settings_set_user_agent_with_application_details", false) | |
| 1269 | + | ||
| 1032 | 1270 | ApplicationNameVarPtr := core.GStrdupNullable(ApplicationNameVar) | |
| 1033 | 1271 | defer core.GFreeNullable(ApplicationNameVarPtr) | |
| 1034 | 1272 | ||
| @@ -1042,6 +1280,8 @@ var xSettingsSetWebrtcUdpPortsRange func(uintptr, string) | |||
| 1042 | 1280 | ||
| 1043 | 1281 | // Set the [property@Settings:webrtc-udp-ports-range] property. | |
| 1044 | 1282 | func (x *Settings) SetWebrtcUdpPortsRange(UdpPortRangeVar string) { | |
| 1283 | + | core.LazyRegister(&xSettingsSetWebrtcUdpPortsRange, "WEBKIT", "webkit_settings_set_webrtc_udp_ports_range", false) | |
| 1284 | + | ||
| 1045 | 1285 | xSettingsSetWebrtcUdpPortsRange(x.GoPointer(), UdpPortRangeVar) | |
| 1046 | 1286 | } | |
| 1047 | 1287 | ||
| @@ -1049,6 +1289,8 @@ var xSettingsSetZoomTextOnly func(uintptr, bool) | |||
| 1049 | 1289 | ||
| 1050 | 1290 | // Set the #WebKitSettings:zoom-text-only property. | |
| 1051 | 1291 | func (x *Settings) SetZoomTextOnly(ZoomTextOnlyVar bool) { | |
| 1292 | + | core.LazyRegister(&xSettingsSetZoomTextOnly, "WEBKIT", "webkit_settings_set_zoom_text_only", false) | |
| 1293 | + | ||
| 1052 | 1294 | xSettingsSetZoomTextOnly(x.GoPointer(), ZoomTextOnlyVar) | |
| 1053 | 1295 | } | |
| 1054 | 1296 | ||
| @@ -2292,6 +2534,8 @@ var xSettingsFontSizeToPixels func(uint32) uint32 | |||
| 2292 | 2534 | // in points to font size values in pixels when setting the font size properties | |
| 2293 | 2535 | // of #WebKitSettings. | |
| 2294 | 2536 | func SettingsFontSizeToPixels(PointsVar uint32) uint32 { | |
| 2537 | + | core.LazyRegister(&xSettingsFontSizeToPixels, "WEBKIT", "webkit_settings_font_size_to_pixels", false) | |
| 2538 | + | ||
| 2295 | 2539 | cret := xSettingsFontSizeToPixels(PointsVar) | |
| 2296 | 2540 | return cret | |
| 2297 | 2541 | } | |
| @@ -2304,6 +2548,8 @@ var xSettingsFontSizeToPoints func(uint32) uint32 | |||
| 2304 | 2548 | // in pixels to font size values in points when getting the font size properties | |
| 2305 | 2549 | // of #WebKitSettings. | |
| 2306 | 2550 | func SettingsFontSizeToPoints(PixelsVar uint32) uint32 { | |
| 2551 | + | core.LazyRegister(&xSettingsFontSizeToPoints, "WEBKIT", "webkit_settings_font_size_to_points", false) | |
| 2552 | + | ||
| 2307 | 2553 | cret := xSettingsFontSizeToPoints(PixelsVar) | |
| 2308 | 2554 | return cret | |
| 2309 | 2555 | } | |
| @@ -2320,6 +2566,8 @@ var xSettingsGetAllFeatures func() uintptr | |||
| 2320 | 2566 | // [func@Settings.get_development_features] and | |
| 2321 | 2567 | // [func@Settings.get_experimental_features] instead. | |
| 2322 | 2568 | func SettingsGetAllFeatures() *FeatureList { | |
| 2569 | + | core.LazyRegister(&xSettingsGetAllFeatures, "WEBKIT", "webkit_settings_get_all_features", false) | |
| 2570 | + | ||
| 2323 | 2571 | cret := xSettingsGetAllFeatures() | |
| 2324 | 2572 | if cret == 0 { | |
| 2325 | 2573 | return nil | |
| @@ -2337,6 +2585,8 @@ var xSettingsGetDevelopmentFeatures func() uintptr | |||
| 2337 | 2585 | // *not* be exposed to end users; see [enum@FeatureStatus] for | |
| 2338 | 2586 | // more details. | |
| 2339 | 2587 | func SettingsGetDevelopmentFeatures() *FeatureList { | |
| 2588 | + | core.LazyRegister(&xSettingsGetDevelopmentFeatures, "WEBKIT", "webkit_settings_get_development_features", false) | |
| 2589 | + | ||
| 2340 | 2590 | cret := xSettingsGetDevelopmentFeatures() | |
| 2341 | 2591 | if cret == 0 { | |
| 2342 | 2592 | return nil | |
| @@ -2353,6 +2603,8 @@ var xSettingsGetExperimentalFeatures func() uintptr | |||
| 2353 | 2603 | // certain applications may want to expose to end users; see | |
| 2354 | 2604 | // [enum@FeatureStatus] for more details. | |
| 2355 | 2605 | func SettingsGetExperimentalFeatures() *FeatureList { | |
| 2606 | + | core.LazyRegister(&xSettingsGetExperimentalFeatures, "WEBKIT", "webkit_settings_get_experimental_features", false) | |
| 2607 | + | ||
| 2356 | 2608 | cret := xSettingsGetExperimentalFeatures() | |
| 2357 | 2609 | if cret == 0 { | |
| 2358 | 2610 | return nil | |
| @@ -2363,151 +2615,8 @@ func SettingsGetExperimentalFeatures() *FeatureList { | |||
| 2363 | 2615 | func init() { | |
| 2364 | 2616 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | |
| 2365 | 2617 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | |
| 2366 | - | var libs []uintptr | |
| 2367 | - | for _, libPath := range core.GetPaths("WEBKIT") { | |
| 2368 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 2369 | - | if err != nil { | |
| 2370 | - | panic(err) | |
| 2371 | - | } | |
| 2372 | - | libs = append(libs, lib) | |
| 2373 | - | } | |
| 2374 | 2618 | ||
| 2375 | - | core.PuregoSafeRegister(&xHardwareAccelerationPolicyGLibType, libs, "webkit_hardware_acceleration_policy_get_type") | |
| 2376 | - | ||
| 2377 | - | core.PuregoSafeRegister(&xSettingsGLibType, libs, "webkit_settings_get_type") | |
| 2378 | - | ||
| 2379 | - | core.PuregoSafeRegister(&xNewSettings, libs, "webkit_settings_new") | |
| 2380 | - | core.PuregoSafeRegister(&xNewSettingsWithSettings, libs, "webkit_settings_new_with_settings") | |
| 2381 | - | ||
| 2382 | - | core.PuregoSafeRegister(&xSettingsApplyFromKeyFile, libs, "webkit_settings_apply_from_key_file") | |
| 2383 | - | core.PuregoSafeRegister(&xSettingsGetAllowFileAccessFromFileUrls, libs, "webkit_settings_get_allow_file_access_from_file_urls") | |
| 2384 | - | core.PuregoSafeRegister(&xSettingsGetAllowModalDialogs, libs, "webkit_settings_get_allow_modal_dialogs") | |
| 2385 | - | core.PuregoSafeRegister(&xSettingsGetAllowTopNavigationToDataUrls, libs, "webkit_settings_get_allow_top_navigation_to_data_urls") | |
| 2386 | - | core.PuregoSafeRegister(&xSettingsGetAllowUniversalAccessFromFileUrls, libs, "webkit_settings_get_allow_universal_access_from_file_urls") | |
| 2387 | - | core.PuregoSafeRegister(&xSettingsGetAutoLoadImages, libs, "webkit_settings_get_auto_load_images") | |
| 2388 | - | core.PuregoSafeRegister(&xSettingsGetCursiveFontFamily, libs, "webkit_settings_get_cursive_font_family") | |
| 2389 | - | core.PuregoSafeRegister(&xSettingsGetDefaultCharset, libs, "webkit_settings_get_default_charset") | |
| 2390 | - | core.PuregoSafeRegister(&xSettingsGetDefaultFontFamily, libs, "webkit_settings_get_default_font_family") | |
| 2391 | - | core.PuregoSafeRegister(&xSettingsGetDefaultFontSize, libs, "webkit_settings_get_default_font_size") | |
| 2392 | - | core.PuregoSafeRegister(&xSettingsGetDefaultMonospaceFontSize, libs, "webkit_settings_get_default_monospace_font_size") | |
| 2393 | - | core.PuregoSafeRegister(&xSettingsGetDisableWebSecurity, libs, "webkit_settings_get_disable_web_security") | |
| 2394 | - | core.PuregoSafeRegister(&xSettingsGetDrawCompositingIndicators, libs, "webkit_settings_get_draw_compositing_indicators") | |
| 2395 | - | core.PuregoSafeRegister(&xSettingsGetEnable2dCanvasAcceleration, libs, "webkit_settings_get_enable_2d_canvas_acceleration") | |
| 2396 | - | core.PuregoSafeRegister(&xSettingsGetEnableBackForwardNavigationGestures, libs, "webkit_settings_get_enable_back_forward_navigation_gestures") | |
| 2397 | - | core.PuregoSafeRegister(&xSettingsGetEnableCaretBrowsing, libs, "webkit_settings_get_enable_caret_browsing") | |
| 2398 | - | core.PuregoSafeRegister(&xSettingsGetEnableDeveloperExtras, libs, "webkit_settings_get_enable_developer_extras") | |
| 2399 | - | core.PuregoSafeRegister(&xSettingsGetEnableDnsPrefetching, libs, "webkit_settings_get_enable_dns_prefetching") | |
| 2400 | - | core.PuregoSafeRegister(&xSettingsGetEnableEncryptedMedia, libs, "webkit_settings_get_enable_encrypted_media") | |
| 2401 | - | core.PuregoSafeRegister(&xSettingsGetEnableFullscreen, libs, "webkit_settings_get_enable_fullscreen") | |
| 2402 | - | core.PuregoSafeRegister(&xSettingsGetEnableHtml5Database, libs, "webkit_settings_get_enable_html5_database") | |
| 2403 | - | core.PuregoSafeRegister(&xSettingsGetEnableHtml5LocalStorage, libs, "webkit_settings_get_enable_html5_local_storage") | |
| 2404 | - | core.PuregoSafeRegister(&xSettingsGetEnableHyperlinkAuditing, libs, "webkit_settings_get_enable_hyperlink_auditing") | |
| 2405 | - | core.PuregoSafeRegister(&xSettingsGetEnableJavascript, libs, "webkit_settings_get_enable_javascript") | |
| 2406 | - | core.PuregoSafeRegister(&xSettingsGetEnableJavascriptMarkup, libs, "webkit_settings_get_enable_javascript_markup") | |
| 2407 | - | core.PuregoSafeRegister(&xSettingsGetEnableMedia, libs, "webkit_settings_get_enable_media") | |
| 2408 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediaCapabilities, libs, "webkit_settings_get_enable_media_capabilities") | |
| 2409 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediaStream, libs, "webkit_settings_get_enable_media_stream") | |
| 2410 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediasource, libs, "webkit_settings_get_enable_mediasource") | |
| 2411 | - | core.PuregoSafeRegister(&xSettingsGetEnableMockCaptureDevices, libs, "webkit_settings_get_enable_mock_capture_devices") | |
| 2412 | - | core.PuregoSafeRegister(&xSettingsGetEnableOfflineWebApplicationCache, libs, "webkit_settings_get_enable_offline_web_application_cache") | |
| 2413 | - | core.PuregoSafeRegister(&xSettingsGetEnablePageCache, libs, "webkit_settings_get_enable_page_cache") | |
| 2414 | - | core.PuregoSafeRegister(&xSettingsGetEnableResizableTextAreas, libs, "webkit_settings_get_enable_resizable_text_areas") | |
| 2415 | - | core.PuregoSafeRegister(&xSettingsGetEnableSiteSpecificQuirks, libs, "webkit_settings_get_enable_site_specific_quirks") | |
| 2416 | - | core.PuregoSafeRegister(&xSettingsGetEnableSmoothScrolling, libs, "webkit_settings_get_enable_smooth_scrolling") | |
| 2417 | - | core.PuregoSafeRegister(&xSettingsGetEnableSpatialNavigation, libs, "webkit_settings_get_enable_spatial_navigation") | |
| 2418 | - | core.PuregoSafeRegister(&xSettingsGetEnableTabsToLinks, libs, "webkit_settings_get_enable_tabs_to_links") | |
| 2419 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebaudio, libs, "webkit_settings_get_enable_webaudio") | |
| 2420 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebgl, libs, "webkit_settings_get_enable_webgl") | |
| 2421 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebrtc, libs, "webkit_settings_get_enable_webrtc") | |
| 2422 | - | core.PuregoSafeRegister(&xSettingsGetEnableWriteConsoleMessagesToStdout, libs, "webkit_settings_get_enable_write_console_messages_to_stdout") | |
| 2423 | - | core.PuregoSafeRegister(&xSettingsGetFantasyFontFamily, libs, "webkit_settings_get_fantasy_font_family") | |
| 2424 | - | core.PuregoSafeRegister(&xSettingsGetFeatureEnabled, libs, "webkit_settings_get_feature_enabled") | |
| 2425 | - | core.PuregoSafeRegister(&xSettingsGetHardwareAccelerationPolicy, libs, "webkit_settings_get_hardware_acceleration_policy") | |
| 2426 | - | core.PuregoSafeRegister(&xSettingsGetJavascriptCanAccessClipboard, libs, "webkit_settings_get_javascript_can_access_clipboard") | |
| 2427 | - | core.PuregoSafeRegister(&xSettingsGetJavascriptCanOpenWindowsAutomatically, libs, "webkit_settings_get_javascript_can_open_windows_automatically") | |
| 2428 | - | core.PuregoSafeRegister(&xSettingsGetLoadIconsIgnoringImageLoadSetting, libs, "webkit_settings_get_load_icons_ignoring_image_load_setting") | |
| 2429 | - | core.PuregoSafeRegister(&xSettingsGetMathFontFamily, libs, "webkit_settings_get_math_font_family") | |
| 2430 | - | core.PuregoSafeRegister(&xSettingsGetMediaContentTypesRequiringHardwareSupport, libs, "webkit_settings_get_media_content_types_requiring_hardware_support") | |
| 2431 | - | core.PuregoSafeRegister(&xSettingsGetMediaPlaybackAllowsInline, libs, "webkit_settings_get_media_playback_allows_inline") | |
| 2432 | - | core.PuregoSafeRegister(&xSettingsGetMediaPlaybackRequiresUserGesture, libs, "webkit_settings_get_media_playback_requires_user_gesture") | |
| 2433 | - | core.PuregoSafeRegister(&xSettingsGetMinimumFontSize, libs, "webkit_settings_get_minimum_font_size") | |
| 2434 | - | core.PuregoSafeRegister(&xSettingsGetMonospaceFontFamily, libs, "webkit_settings_get_monospace_font_family") | |
| 2435 | - | core.PuregoSafeRegister(&xSettingsGetPictographFontFamily, libs, "webkit_settings_get_pictograph_font_family") | |
| 2436 | - | core.PuregoSafeRegister(&xSettingsGetPrintBackgrounds, libs, "webkit_settings_get_print_backgrounds") | |
| 2437 | - | core.PuregoSafeRegister(&xSettingsGetSansSerifFontFamily, libs, "webkit_settings_get_sans_serif_font_family") | |
| 2438 | - | core.PuregoSafeRegister(&xSettingsGetSerifFontFamily, libs, "webkit_settings_get_serif_font_family") | |
| 2439 | - | core.PuregoSafeRegister(&xSettingsGetUserAgent, libs, "webkit_settings_get_user_agent") | |
| 2440 | - | core.PuregoSafeRegister(&xSettingsGetWebrtcUdpPortsRange, libs, "webkit_settings_get_webrtc_udp_ports_range") | |
| 2441 | - | core.PuregoSafeRegister(&xSettingsGetZoomTextOnly, libs, "webkit_settings_get_zoom_text_only") | |
| 2442 | - | core.PuregoSafeRegister(&xSettingsSetAllowFileAccessFromFileUrls, libs, "webkit_settings_set_allow_file_access_from_file_urls") | |
| 2443 | - | core.PuregoSafeRegister(&xSettingsSetAllowModalDialogs, libs, "webkit_settings_set_allow_modal_dialogs") | |
| 2444 | - | core.PuregoSafeRegister(&xSettingsSetAllowTopNavigationToDataUrls, libs, "webkit_settings_set_allow_top_navigation_to_data_urls") | |
| 2445 | - | core.PuregoSafeRegister(&xSettingsSetAllowUniversalAccessFromFileUrls, libs, "webkit_settings_set_allow_universal_access_from_file_urls") | |
| 2446 | - | core.PuregoSafeRegister(&xSettingsSetAutoLoadImages, libs, "webkit_settings_set_auto_load_images") | |
| 2447 | - | core.PuregoSafeRegister(&xSettingsSetCursiveFontFamily, libs, "webkit_settings_set_cursive_font_family") | |
| 2448 | - | core.PuregoSafeRegister(&xSettingsSetDefaultCharset, libs, "webkit_settings_set_default_charset") | |
| 2449 | - | core.PuregoSafeRegister(&xSettingsSetDefaultFontFamily, libs, "webkit_settings_set_default_font_family") | |
| 2450 | - | core.PuregoSafeRegister(&xSettingsSetDefaultFontSize, libs, "webkit_settings_set_default_font_size") | |
| 2451 | - | core.PuregoSafeRegister(&xSettingsSetDefaultMonospaceFontSize, libs, "webkit_settings_set_default_monospace_font_size") | |
| 2452 | - | core.PuregoSafeRegister(&xSettingsSetDisableWebSecurity, libs, "webkit_settings_set_disable_web_security") | |
| 2453 | - | core.PuregoSafeRegister(&xSettingsSetDrawCompositingIndicators, libs, "webkit_settings_set_draw_compositing_indicators") | |
| 2454 | - | core.PuregoSafeRegister(&xSettingsSetEnable2dCanvasAcceleration, libs, "webkit_settings_set_enable_2d_canvas_acceleration") | |
| 2455 | - | core.PuregoSafeRegister(&xSettingsSetEnableBackForwardNavigationGestures, libs, "webkit_settings_set_enable_back_forward_navigation_gestures") | |
| 2456 | - | core.PuregoSafeRegister(&xSettingsSetEnableCaretBrowsing, libs, "webkit_settings_set_enable_caret_browsing") | |
| 2457 | - | core.PuregoSafeRegister(&xSettingsSetEnableDeveloperExtras, libs, "webkit_settings_set_enable_developer_extras") | |
| 2458 | - | core.PuregoSafeRegister(&xSettingsSetEnableDnsPrefetching, libs, "webkit_settings_set_enable_dns_prefetching") | |
| 2459 | - | core.PuregoSafeRegister(&xSettingsSetEnableEncryptedMedia, libs, "webkit_settings_set_enable_encrypted_media") | |
| 2460 | - | core.PuregoSafeRegister(&xSettingsSetEnableFullscreen, libs, "webkit_settings_set_enable_fullscreen") | |
| 2461 | - | core.PuregoSafeRegister(&xSettingsSetEnableHtml5Database, libs, "webkit_settings_set_enable_html5_database") | |
| 2462 | - | core.PuregoSafeRegister(&xSettingsSetEnableHtml5LocalStorage, libs, "webkit_settings_set_enable_html5_local_storage") | |
| 2463 | - | core.PuregoSafeRegister(&xSettingsSetEnableHyperlinkAuditing, libs, "webkit_settings_set_enable_hyperlink_auditing") | |
| 2464 | - | core.PuregoSafeRegister(&xSettingsSetEnableJavascript, libs, "webkit_settings_set_enable_javascript") | |
| 2465 | - | core.PuregoSafeRegister(&xSettingsSetEnableJavascriptMarkup, libs, "webkit_settings_set_enable_javascript_markup") | |
| 2466 | - | core.PuregoSafeRegister(&xSettingsSetEnableMedia, libs, "webkit_settings_set_enable_media") | |
| 2467 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediaCapabilities, libs, "webkit_settings_set_enable_media_capabilities") | |
| 2468 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediaStream, libs, "webkit_settings_set_enable_media_stream") | |
| 2469 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediasource, libs, "webkit_settings_set_enable_mediasource") | |
| 2470 | - | core.PuregoSafeRegister(&xSettingsSetEnableMockCaptureDevices, libs, "webkit_settings_set_enable_mock_capture_devices") | |
| 2471 | - | core.PuregoSafeRegister(&xSettingsSetEnableOfflineWebApplicationCache, libs, "webkit_settings_set_enable_offline_web_application_cache") | |
| 2472 | - | core.PuregoSafeRegister(&xSettingsSetEnablePageCache, libs, "webkit_settings_set_enable_page_cache") | |
| 2473 | - | core.PuregoSafeRegister(&xSettingsSetEnableResizableTextAreas, libs, "webkit_settings_set_enable_resizable_text_areas") | |
| 2474 | - | core.PuregoSafeRegister(&xSettingsSetEnableSiteSpecificQuirks, libs, "webkit_settings_set_enable_site_specific_quirks") | |
| 2475 | - | core.PuregoSafeRegister(&xSettingsSetEnableSmoothScrolling, libs, "webkit_settings_set_enable_smooth_scrolling") | |
| 2476 | - | core.PuregoSafeRegister(&xSettingsSetEnableSpatialNavigation, libs, "webkit_settings_set_enable_spatial_navigation") | |
| 2477 | - | core.PuregoSafeRegister(&xSettingsSetEnableTabsToLinks, libs, "webkit_settings_set_enable_tabs_to_links") | |
| 2478 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebaudio, libs, "webkit_settings_set_enable_webaudio") | |
| 2479 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebgl, libs, "webkit_settings_set_enable_webgl") | |
| 2480 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebrtc, libs, "webkit_settings_set_enable_webrtc") | |
| 2481 | - | core.PuregoSafeRegister(&xSettingsSetEnableWriteConsoleMessagesToStdout, libs, "webkit_settings_set_enable_write_console_messages_to_stdout") | |
| 2482 | - | core.PuregoSafeRegister(&xSettingsSetFantasyFontFamily, libs, "webkit_settings_set_fantasy_font_family") | |
| 2483 | - | core.PuregoSafeRegister(&xSettingsSetFeatureEnabled, libs, "webkit_settings_set_feature_enabled") | |
| 2484 | - | core.PuregoSafeRegister(&xSettingsSetHardwareAccelerationPolicy, libs, "webkit_settings_set_hardware_acceleration_policy") | |
| 2485 | - | core.PuregoSafeRegister(&xSettingsSetJavascriptCanAccessClipboard, libs, "webkit_settings_set_javascript_can_access_clipboard") | |
| 2486 | - | core.PuregoSafeRegister(&xSettingsSetJavascriptCanOpenWindowsAutomatically, libs, "webkit_settings_set_javascript_can_open_windows_automatically") | |
| 2487 | - | core.PuregoSafeRegister(&xSettingsSetLoadIconsIgnoringImageLoadSetting, libs, "webkit_settings_set_load_icons_ignoring_image_load_setting") | |
| 2488 | - | core.PuregoSafeRegister(&xSettingsSetMathFontFamily, libs, "webkit_settings_set_math_font_family") | |
| 2489 | - | core.PuregoSafeRegister(&xSettingsSetMediaContentTypesRequiringHardwareSupport, libs, "webkit_settings_set_media_content_types_requiring_hardware_support") | |
| 2490 | - | core.PuregoSafeRegister(&xSettingsSetMediaPlaybackAllowsInline, libs, "webkit_settings_set_media_playback_allows_inline") | |
| 2491 | - | core.PuregoSafeRegister(&xSettingsSetMediaPlaybackRequiresUserGesture, libs, "webkit_settings_set_media_playback_requires_user_gesture") | |
| 2492 | - | core.PuregoSafeRegister(&xSettingsSetMinimumFontSize, libs, "webkit_settings_set_minimum_font_size") | |
| 2493 | - | core.PuregoSafeRegister(&xSettingsSetMonospaceFontFamily, libs, "webkit_settings_set_monospace_font_family") | |
| 2494 | - | core.PuregoSafeRegister(&xSettingsSetPictographFontFamily, libs, "webkit_settings_set_pictograph_font_family") | |
| 2495 | - | core.PuregoSafeRegister(&xSettingsSetPrintBackgrounds, libs, "webkit_settings_set_print_backgrounds") | |
| 2496 | - | core.PuregoSafeRegister(&xSettingsSetSansSerifFontFamily, libs, "webkit_settings_set_sans_serif_font_family") | |
| 2497 | - | core.PuregoSafeRegister(&xSettingsSetSerifFontFamily, libs, "webkit_settings_set_serif_font_family") | |
| 2498 | - | core.PuregoSafeRegister(&xSettingsSetUserAgent, libs, "webkit_settings_set_user_agent") | |
| 2499 | - | core.PuregoSafeRegister(&xSettingsSetUserAgentWithApplicationDetails, libs, "webkit_settings_set_user_agent_with_application_details") | |
| 2500 | - | core.PuregoSafeRegister(&xSettingsSetWebrtcUdpPortsRange, libs, "webkit_settings_set_webrtc_udp_ports_range") | |
| 2501 | - | core.PuregoSafeRegister(&xSettingsSetZoomTextOnly, libs, "webkit_settings_set_zoom_text_only") | |
| 2502 | - | ||
| 2503 | - | core.PuregoSafeRegister(&xSettingsFontSizeToPixels, libs, "webkit_settings_font_size_to_pixels") | |
| 2504 | - | core.PuregoSafeRegister(&xSettingsFontSizeToPoints, libs, "webkit_settings_font_size_to_points") | |
| 2505 | - | core.PuregoSafeRegister(&xSettingsGetAllFeatures, libs, "webkit_settings_get_all_features") | |
| 2506 | - | core.PuregoSafeRegister(&xSettingsGetDevelopmentFeatures, libs, "webkit_settings_get_development_features") | |
| 2507 | - | core.PuregoSafeRegister(&xSettingsGetExperimentalFeatures, libs, "webkit_settings_get_experimental_features") | |
| 2508 | - | ||
| 2509 | - | // Manually register types since they aren't being automatically registered when | |
| 2510 | - | // the library is loaded | |
| 2511 | - | // See https://bugs.webkit.org/show_bug.cgi?id=175937 | |
| 2619 | + | // Manually register types since they aren't automatically registered when | |
| 2620 | + | // WebKit is loaded. See https://bugs.webkit.org/show_bug.cgi?id=175937. | |
| 2512 | 2621 | SettingsGLibType() | |
| 2513 | 2622 | } | |
| @@ -5,7 +5,6 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | "github.com/bnema/puregotk/pkg/core" | 8 | "github.com/bnema/puregotk/pkg/core" | ||
| 10 | "github.com/bnema/puregotk/v4/glib" | 9 | "github.com/bnema/puregotk/v4/glib" | ||
| 11 | "github.com/bnema/puregotk/v4/gobject" | 10 | "github.com/bnema/puregotk/v4/gobject" | ||
| @@ -36,6 +35,7 @@ type HardwareAccelerationPolicy int | |||||
| 36 | var xHardwareAccelerationPolicyGLibType func() types.GType | 35 | var xHardwareAccelerationPolicyGLibType func() types.GType | ||
| 37 | 36 | ||||
| 38 | func HardwareAccelerationPolicyGLibType() types.GType { | 37 | func HardwareAccelerationPolicyGLibType() types.GType { | ||
| 38 | + | core.LazyRegister(&xHardwareAccelerationPolicyGLibType, "WEBKIT", "webkit_hardware_acceleration_policy_get_type", false) | |||
| 39 | return xHardwareAccelerationPolicyGLibType() | 39 | return xHardwareAccelerationPolicyGLibType() | ||
| 40 | } | 40 | } | ||
| 41 | 41 | ||||
| @@ -66,6 +66,7 @@ type Settings struct { | |||||
| 66 | var xSettingsGLibType func() types.GType | 66 | var xSettingsGLibType func() types.GType | ||
| 67 | 67 | ||||
| 68 | func SettingsGLibType() types.GType { | 68 | func SettingsGLibType() types.GType { | ||
| 69 | + | core.LazyRegister(&xSettingsGLibType, "WEBKIT", "webkit_settings_get_type", false) | |||
| 69 | return xSettingsGLibType() | 70 | return xSettingsGLibType() | ||
| 70 | } | 71 | } | ||
| 71 | 72 | ||||
| @@ -82,6 +83,7 @@ var xNewSettings func() uintptr | |||||
| 82 | // It must be manually attached to a #WebKitWebView. | 83 | // It must be manually attached to a #WebKitWebView. | ||
| 83 | // See also webkit_settings_new_with_settings(). | 84 | // See also webkit_settings_new_with_settings(). | ||
| 84 | func NewSettings() *Settings { | 85 | func NewSettings() *Settings { | ||
| 86 | + | core.LazyRegister(&xNewSettings, "WEBKIT", "webkit_settings_new", false) | |||
| 85 | var cls *Settings | 87 | var cls *Settings | ||
| 86 | 88 | ||||
| 87 | cret := xNewSettings() | 89 | cret := xNewSettings() | ||
| @@ -100,6 +102,7 @@ var xNewSettingsWithSettings func(string, ...interface{}) uintptr | |||||
| 100 | // | 102 | // | ||
| 101 | // It must be manually attached to a #WebKitWebView. | 103 | // It must be manually attached to a #WebKitWebView. | ||
| 102 | func NewSettingsWithSettings(FirstSettingNameVar string, varArgs ...interface{}) *Settings { | 104 | func NewSettingsWithSettings(FirstSettingNameVar string, varArgs ...interface{}) *Settings { | ||
| 105 | + | core.LazyRegister(&xNewSettingsWithSettings, "WEBKIT", "webkit_settings_new_with_settings", false) | |||
| 103 | var cls *Settings | 106 | var cls *Settings | ||
| 104 | 107 | ||||
| 105 | cret := xNewSettingsWithSettings(FirstSettingNameVar, varArgs...) | 108 | cret := xNewSettingsWithSettings(FirstSettingNameVar, varArgs...) | ||
| @@ -123,6 +126,7 @@ var xSettingsApplyFromKeyFile func(uintptr, *glib.KeyFile, string, **glib.Error) | |||||
| 123 | // | 126 | // | ||
| 124 | // Supported value types are strings (unquoted), booleans (0, 1, true, false) and unsigned integers. | 127 | // Supported value types are strings (unquoted), booleans (0, 1, true, false) and unsigned integers. | ||
| 125 | func (x *Settings) ApplyFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (bool, error) { | 128 | func (x *Settings) ApplyFromKeyFile(KeyFileVar *glib.KeyFile, GroupNameVar string) (bool, error) { | ||
| 129 | + | core.LazyRegister(&xSettingsApplyFromKeyFile, "WEBKIT", "webkit_settings_apply_from_key_file", false) | |||
| 126 | var cerr *glib.Error | 130 | var cerr *glib.Error | ||
| 127 | 131 | ||||
| 128 | cret := xSettingsApplyFromKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar, &cerr) | 132 | cret := xSettingsApplyFromKeyFile(x.GoPointer(), KeyFileVar, GroupNameVar, &cerr) | ||
| @@ -136,6 +140,8 @@ var xSettingsGetAllowFileAccessFromFileUrls func(uintptr) bool | |||||
| 136 | 140 | ||||
| 137 | // Get the #WebKitSettings:allow-file-access-from-file-urls property. | 141 | // Get the #WebKitSettings:allow-file-access-from-file-urls property. | ||
| 138 | func (x *Settings) GetAllowFileAccessFromFileUrls() bool { | 142 | func (x *Settings) GetAllowFileAccessFromFileUrls() bool { | ||
| 143 | + | core.LazyRegister(&xSettingsGetAllowFileAccessFromFileUrls, "WEBKIT", "webkit_settings_get_allow_file_access_from_file_urls", false) | |||
| 144 | + | ||||
| 139 | cret := xSettingsGetAllowFileAccessFromFileUrls(x.GoPointer()) | 145 | cret := xSettingsGetAllowFileAccessFromFileUrls(x.GoPointer()) | ||
| 140 | return cret | 146 | return cret | ||
| 141 | } | 147 | } | ||
| @@ -144,6 +150,8 @@ var xSettingsGetAllowModalDialogs func(uintptr) bool | |||||
| 144 | 150 | ||||
| 145 | // Get the #WebKitSettings:allow-modal-dialogs property. | 151 | // Get the #WebKitSettings:allow-modal-dialogs property. | ||
| 146 | func (x *Settings) GetAllowModalDialogs() bool { | 152 | func (x *Settings) GetAllowModalDialogs() bool { | ||
| 153 | + | core.LazyRegister(&xSettingsGetAllowModalDialogs, "WEBKIT", "webkit_settings_get_allow_modal_dialogs", false) | |||
| 154 | + | ||||
| 147 | cret := xSettingsGetAllowModalDialogs(x.GoPointer()) | 155 | cret := xSettingsGetAllowModalDialogs(x.GoPointer()) | ||
| 148 | return cret | 156 | return cret | ||
| 149 | } | 157 | } | ||
| @@ -152,6 +160,8 @@ var xSettingsGetAllowTopNavigationToDataUrls func(uintptr) bool | |||||
| 152 | 160 | ||||
| 153 | // Get the #WebKitSettings:allow-top-navigation-to-data-urls property. | 161 | // Get the #WebKitSettings:allow-top-navigation-to-data-urls property. | ||
| 154 | func (x *Settings) GetAllowTopNavigationToDataUrls() bool { | 162 | func (x *Settings) GetAllowTopNavigationToDataUrls() bool { | ||
| 163 | + | core.LazyRegister(&xSettingsGetAllowTopNavigationToDataUrls, "WEBKIT", "webkit_settings_get_allow_top_navigation_to_data_urls", false) | |||
| 164 | + | ||||
| 155 | cret := xSettingsGetAllowTopNavigationToDataUrls(x.GoPointer()) | 165 | cret := xSettingsGetAllowTopNavigationToDataUrls(x.GoPointer()) | ||
| 156 | return cret | 166 | return cret | ||
| 157 | } | 167 | } | ||
| @@ -160,6 +170,8 @@ var xSettingsGetAllowUniversalAccessFromFileUrls func(uintptr) bool | |||||
| 160 | 170 | ||||
| 161 | // Get the #WebKitSettings:allow-universal-access-from-file-urls property. | 171 | // Get the #WebKitSettings:allow-universal-access-from-file-urls property. | ||
| 162 | func (x *Settings) GetAllowUniversalAccessFromFileUrls() bool { | 172 | func (x *Settings) GetAllowUniversalAccessFromFileUrls() bool { | ||
| 173 | + | core.LazyRegister(&xSettingsGetAllowUniversalAccessFromFileUrls, "WEBKIT", "webkit_settings_get_allow_universal_access_from_file_urls", false) | |||
| 174 | + | ||||
| 163 | cret := xSettingsGetAllowUniversalAccessFromFileUrls(x.GoPointer()) | 175 | cret := xSettingsGetAllowUniversalAccessFromFileUrls(x.GoPointer()) | ||
| 164 | return cret | 176 | return cret | ||
| 165 | } | 177 | } | ||
| @@ -168,6 +180,8 @@ var xSettingsGetAutoLoadImages func(uintptr) bool | |||||
| 168 | 180 | ||||
| 169 | // Get the #WebKitSettings:auto-load-images property. | 181 | // Get the #WebKitSettings:auto-load-images property. | ||
| 170 | func (x *Settings) GetAutoLoadImages() bool { | 182 | func (x *Settings) GetAutoLoadImages() bool { | ||
| 183 | + | core.LazyRegister(&xSettingsGetAutoLoadImages, "WEBKIT", "webkit_settings_get_auto_load_images", false) | |||
| 184 | + | ||||
| 171 | cret := xSettingsGetAutoLoadImages(x.GoPointer()) | 185 | cret := xSettingsGetAutoLoadImages(x.GoPointer()) | ||
| 172 | return cret | 186 | return cret | ||
| 173 | } | 187 | } | ||
| @@ -176,6 +190,8 @@ var xSettingsGetCursiveFontFamily func(uintptr) string | |||||
| 176 | 190 | ||||
| 177 | // Gets the #WebKitSettings:cursive-font-family property. | 191 | // Gets the #WebKitSettings:cursive-font-family property. | ||
| 178 | func (x *Settings) GetCursiveFontFamily() string { | 192 | func (x *Settings) GetCursiveFontFamily() string { | ||
| 193 | + | core.LazyRegister(&xSettingsGetCursiveFontFamily, "WEBKIT", "webkit_settings_get_cursive_font_family", false) | |||
| 194 | + | ||||
| 179 | cret := xSettingsGetCursiveFontFamily(x.GoPointer()) | 195 | cret := xSettingsGetCursiveFontFamily(x.GoPointer()) | ||
| 180 | return cret | 196 | return cret | ||
| 181 | } | 197 | } | ||
| @@ -184,6 +200,8 @@ var xSettingsGetDefaultCharset func(uintptr) string | |||||
| 184 | 200 | ||||
| 185 | // Gets the #WebKitSettings:default-charset property. | 201 | // Gets the #WebKitSettings:default-charset property. | ||
| 186 | func (x *Settings) GetDefaultCharset() string { | 202 | func (x *Settings) GetDefaultCharset() string { | ||
| 203 | + | core.LazyRegister(&xSettingsGetDefaultCharset, "WEBKIT", "webkit_settings_get_default_charset", false) | |||
| 204 | + | ||||
| 187 | cret := xSettingsGetDefaultCharset(x.GoPointer()) | 205 | cret := xSettingsGetDefaultCharset(x.GoPointer()) | ||
| 188 | return cret | 206 | return cret | ||
| 189 | } | 207 | } | ||
| @@ -192,6 +210,8 @@ var xSettingsGetDefaultFontFamily func(uintptr) string | |||||
| 192 | 210 | ||||
| 193 | // Gets the #WebKitSettings:default-font-family property. | 211 | // Gets the #WebKitSettings:default-font-family property. | ||
| 194 | func (x *Settings) GetDefaultFontFamily() string { | 212 | func (x *Settings) GetDefaultFontFamily() string { | ||
| 213 | + | core.LazyRegister(&xSettingsGetDefaultFontFamily, "WEBKIT", "webkit_settings_get_default_font_family", false) | |||
| 214 | + | ||||
| 195 | cret := xSettingsGetDefaultFontFamily(x.GoPointer()) | 215 | cret := xSettingsGetDefaultFontFamily(x.GoPointer()) | ||
| 196 | return cret | 216 | return cret | ||
| 197 | } | 217 | } | ||
| @@ -200,6 +220,8 @@ var xSettingsGetDefaultFontSize func(uintptr) uint32 | |||||
| 200 | 220 | ||||
| 201 | // Gets the #WebKitSettings:default-font-size property. | 221 | // Gets the #WebKitSettings:default-font-size property. | ||
| 202 | func (x *Settings) GetDefaultFontSize() uint32 { | 222 | func (x *Settings) GetDefaultFontSize() uint32 { | ||
| 223 | + | core.LazyRegister(&xSettingsGetDefaultFontSize, "WEBKIT", "webkit_settings_get_default_font_size", false) | |||
| 224 | + | ||||
| 203 | cret := xSettingsGetDefaultFontSize(x.GoPointer()) | 225 | cret := xSettingsGetDefaultFontSize(x.GoPointer()) | ||
| 204 | return cret | 226 | return cret | ||
| 205 | } | 227 | } | ||
| @@ -208,6 +230,8 @@ var xSettingsGetDefaultMonospaceFontSize func(uintptr) uint32 | |||||
| 208 | 230 | ||||
| 209 | // Gets the #WebKitSettings:default-monospace-font-size property. | 231 | // Gets the #WebKitSettings:default-monospace-font-size property. | ||
| 210 | func (x *Settings) GetDefaultMonospaceFontSize() uint32 { | 232 | func (x *Settings) GetDefaultMonospaceFontSize() uint32 { | ||
| 233 | + | core.LazyRegister(&xSettingsGetDefaultMonospaceFontSize, "WEBKIT", "webkit_settings_get_default_monospace_font_size", false) | |||
| 234 | + | ||||
| 211 | cret := xSettingsGetDefaultMonospaceFontSize(x.GoPointer()) | 235 | cret := xSettingsGetDefaultMonospaceFontSize(x.GoPointer()) | ||
| 212 | return cret | 236 | return cret | ||
| 213 | } | 237 | } | ||
| @@ -216,6 +240,8 @@ var xSettingsGetDisableWebSecurity func(uintptr) bool | |||||
| 216 | 240 | ||||
| 217 | // Get the #WebKitSettings:disable-web-security property. | 241 | // Get the #WebKitSettings:disable-web-security property. | ||
| 218 | func (x *Settings) GetDisableWebSecurity() bool { | 242 | func (x *Settings) GetDisableWebSecurity() bool { | ||
| 243 | + | core.LazyRegister(&xSettingsGetDisableWebSecurity, "WEBKIT", "webkit_settings_get_disable_web_security", false) | |||
| 244 | + | ||||
| 219 | cret := xSettingsGetDisableWebSecurity(x.GoPointer()) | 245 | cret := xSettingsGetDisableWebSecurity(x.GoPointer()) | ||
| 220 | return cret | 246 | return cret | ||
| 221 | } | 247 | } | ||
| @@ -224,6 +250,8 @@ var xSettingsGetDrawCompositingIndicators func(uintptr) bool | |||||
| 224 | 250 | ||||
| 225 | // Get the #WebKitSettings:draw-compositing-indicators property. | 251 | // Get the #WebKitSettings:draw-compositing-indicators property. | ||
| 226 | func (x *Settings) GetDrawCompositingIndicators() bool { | 252 | func (x *Settings) GetDrawCompositingIndicators() bool { | ||
| 253 | + | core.LazyRegister(&xSettingsGetDrawCompositingIndicators, "WEBKIT", "webkit_settings_get_draw_compositing_indicators", false) | |||
| 254 | + | ||||
| 227 | cret := xSettingsGetDrawCompositingIndicators(x.GoPointer()) | 255 | cret := xSettingsGetDrawCompositingIndicators(x.GoPointer()) | ||
| 228 | return cret | 256 | return cret | ||
| 229 | } | 257 | } | ||
| @@ -232,6 +260,8 @@ var xSettingsGetEnable2dCanvasAcceleration func(uintptr) bool | |||||
| 232 | 260 | ||||
| 233 | // Get the #WebKitSettings:enable-2d-canvas-acceleration property. | 261 | // Get the #WebKitSettings:enable-2d-canvas-acceleration property. | ||
| 234 | func (x *Settings) GetEnable2dCanvasAcceleration() bool { | 262 | func (x *Settings) GetEnable2dCanvasAcceleration() bool { | ||
| 263 | + | core.LazyRegister(&xSettingsGetEnable2dCanvasAcceleration, "WEBKIT", "webkit_settings_get_enable_2d_canvas_acceleration", false) | |||
| 264 | + | ||||
| 235 | cret := xSettingsGetEnable2dCanvasAcceleration(x.GoPointer()) | 265 | cret := xSettingsGetEnable2dCanvasAcceleration(x.GoPointer()) | ||
| 236 | return cret | 266 | return cret | ||
| 237 | } | 267 | } | ||
| @@ -240,6 +270,8 @@ var xSettingsGetEnableBackForwardNavigationGestures func(uintptr) bool | |||||
| 240 | 270 | ||||
| 241 | // Get the #WebKitSettings:enable-back-forward-navigation-gestures property. | 271 | // Get the #WebKitSettings:enable-back-forward-navigation-gestures property. | ||
| 242 | func (x *Settings) GetEnableBackForwardNavigationGestures() bool { | 272 | func (x *Settings) GetEnableBackForwardNavigationGestures() bool { | ||
| 273 | + | core.LazyRegister(&xSettingsGetEnableBackForwardNavigationGestures, "WEBKIT", "webkit_settings_get_enable_back_forward_navigation_gestures", false) | |||
| 274 | + | ||||
| 243 | cret := xSettingsGetEnableBackForwardNavigationGestures(x.GoPointer()) | 275 | cret := xSettingsGetEnableBackForwardNavigationGestures(x.GoPointer()) | ||
| 244 | return cret | 276 | return cret | ||
| 245 | } | 277 | } | ||
| @@ -248,6 +280,8 @@ var xSettingsGetEnableCaretBrowsing func(uintptr) bool | |||||
| 248 | 280 | ||||
| 249 | // Get the #WebKitSettings:enable-caret-browsing property. | 281 | // Get the #WebKitSettings:enable-caret-browsing property. | ||
| 250 | func (x *Settings) GetEnableCaretBrowsing() bool { | 282 | func (x *Settings) GetEnableCaretBrowsing() bool { | ||
| 283 | + | core.LazyRegister(&xSettingsGetEnableCaretBrowsing, "WEBKIT", "webkit_settings_get_enable_caret_browsing", false) | |||
| 284 | + | ||||
| 251 | cret := xSettingsGetEnableCaretBrowsing(x.GoPointer()) | 285 | cret := xSettingsGetEnableCaretBrowsing(x.GoPointer()) | ||
| 252 | return cret | 286 | return cret | ||
| 253 | } | 287 | } | ||
| @@ -256,6 +290,8 @@ var xSettingsGetEnableDeveloperExtras func(uintptr) bool | |||||
| 256 | 290 | ||||
| 257 | // Get the #WebKitSettings:enable-developer-extras property. | 291 | // Get the #WebKitSettings:enable-developer-extras property. | ||
| 258 | func (x *Settings) GetEnableDeveloperExtras() bool { | 292 | func (x *Settings) GetEnableDeveloperExtras() bool { | ||
| 293 | + | core.LazyRegister(&xSettingsGetEnableDeveloperExtras, "WEBKIT", "webkit_settings_get_enable_developer_extras", false) | |||
| 294 | + | ||||
| 259 | cret := xSettingsGetEnableDeveloperExtras(x.GoPointer()) | 295 | cret := xSettingsGetEnableDeveloperExtras(x.GoPointer()) | ||
| 260 | return cret | 296 | return cret | ||
| 261 | } | 297 | } | ||
| @@ -264,6 +300,8 @@ var xSettingsGetEnableDnsPrefetching func(uintptr) bool | |||||
| 264 | 300 | ||||
| 265 | // Get the #WebKitSettings:enable-dns-prefetching property. | 301 | // Get the #WebKitSettings:enable-dns-prefetching property. | ||
| 266 | func (x *Settings) GetEnableDnsPrefetching() bool { | 302 | func (x *Settings) GetEnableDnsPrefetching() bool { | ||
| 303 | + | core.LazyRegister(&xSettingsGetEnableDnsPrefetching, "WEBKIT", "webkit_settings_get_enable_dns_prefetching", false) | |||
| 304 | + | ||||
| 267 | cret := xSettingsGetEnableDnsPrefetching(x.GoPointer()) | 305 | cret := xSettingsGetEnableDnsPrefetching(x.GoPointer()) | ||
| 268 | return cret | 306 | return cret | ||
| 269 | } | 307 | } | ||
| @@ -272,6 +310,8 @@ var xSettingsGetEnableEncryptedMedia func(uintptr) bool | |||||
| 272 | 310 | ||||
| 273 | // Get the #WebKitSettings:enable-encrypted-media property. | 311 | // Get the #WebKitSettings:enable-encrypted-media property. | ||
| 274 | func (x *Settings) GetEnableEncryptedMedia() bool { | 312 | func (x *Settings) GetEnableEncryptedMedia() bool { | ||
| 313 | + | core.LazyRegister(&xSettingsGetEnableEncryptedMedia, "WEBKIT", "webkit_settings_get_enable_encrypted_media", false) | |||
| 314 | + | ||||
| 275 | cret := xSettingsGetEnableEncryptedMedia(x.GoPointer()) | 315 | cret := xSettingsGetEnableEncryptedMedia(x.GoPointer()) | ||
| 276 | return cret | 316 | return cret | ||
| 277 | } | 317 | } | ||
| @@ -280,6 +320,8 @@ var xSettingsGetEnableFullscreen func(uintptr) bool | |||||
| 280 | 320 | ||||
| 281 | // Get the #WebKitSettings:enable-fullscreen property. | 321 | // Get the #WebKitSettings:enable-fullscreen property. | ||
| 282 | func (x *Settings) GetEnableFullscreen() bool { | 322 | func (x *Settings) GetEnableFullscreen() bool { | ||
| 323 | + | core.LazyRegister(&xSettingsGetEnableFullscreen, "WEBKIT", "webkit_settings_get_enable_fullscreen", false) | |||
| 324 | + | ||||
| 283 | cret := xSettingsGetEnableFullscreen(x.GoPointer()) | 325 | cret := xSettingsGetEnableFullscreen(x.GoPointer()) | ||
| 284 | return cret | 326 | return cret | ||
| 285 | } | 327 | } | ||
| @@ -288,6 +330,8 @@ var xSettingsGetEnableHtml5Database func(uintptr) bool | |||||
| 288 | 330 | ||||
| 289 | // Get the #WebKitSettings:enable-html5-database property. | 331 | // Get the #WebKitSettings:enable-html5-database property. | ||
| 290 | func (x *Settings) GetEnableHtml5Database() bool { | 332 | func (x *Settings) GetEnableHtml5Database() bool { | ||
| 333 | + | core.LazyRegister(&xSettingsGetEnableHtml5Database, "WEBKIT", "webkit_settings_get_enable_html5_database", false) | |||
| 334 | + | ||||
| 291 | cret := xSettingsGetEnableHtml5Database(x.GoPointer()) | 335 | cret := xSettingsGetEnableHtml5Database(x.GoPointer()) | ||
| 292 | return cret | 336 | return cret | ||
| 293 | } | 337 | } | ||
| @@ -296,6 +340,8 @@ var xSettingsGetEnableHtml5LocalStorage func(uintptr) bool | |||||
| 296 | 340 | ||||
| 297 | // Get the #WebKitSettings:enable-html5-local-storage property. | 341 | // Get the #WebKitSettings:enable-html5-local-storage property. | ||
| 298 | func (x *Settings) GetEnableHtml5LocalStorage() bool { | 342 | func (x *Settings) GetEnableHtml5LocalStorage() bool { | ||
| 343 | + | core.LazyRegister(&xSettingsGetEnableHtml5LocalStorage, "WEBKIT", "webkit_settings_get_enable_html5_local_storage", false) | |||
| 344 | + | ||||
| 299 | cret := xSettingsGetEnableHtml5LocalStorage(x.GoPointer()) | 345 | cret := xSettingsGetEnableHtml5LocalStorage(x.GoPointer()) | ||
| 300 | return cret | 346 | return cret | ||
| 301 | } | 347 | } | ||
| @@ -304,6 +350,8 @@ var xSettingsGetEnableHyperlinkAuditing func(uintptr) bool | |||||
| 304 | 350 | ||||
| 305 | // Get the #WebKitSettings:enable-hyperlink-auditing property. | 351 | // Get the #WebKitSettings:enable-hyperlink-auditing property. | ||
| 306 | func (x *Settings) GetEnableHyperlinkAuditing() bool { | 352 | func (x *Settings) GetEnableHyperlinkAuditing() bool { | ||
| 353 | + | core.LazyRegister(&xSettingsGetEnableHyperlinkAuditing, "WEBKIT", "webkit_settings_get_enable_hyperlink_auditing", false) | |||
| 354 | + | ||||
| 307 | cret := xSettingsGetEnableHyperlinkAuditing(x.GoPointer()) | 355 | cret := xSettingsGetEnableHyperlinkAuditing(x.GoPointer()) | ||
| 308 | return cret | 356 | return cret | ||
| 309 | } | 357 | } | ||
| @@ -312,6 +360,8 @@ var xSettingsGetEnableJavascript func(uintptr) bool | |||||
| 312 | 360 | ||||
| 313 | // Get the #WebKitSettings:enable-javascript property. | 361 | // Get the #WebKitSettings:enable-javascript property. | ||
| 314 | func (x *Settings) GetEnableJavascript() bool { | 362 | func (x *Settings) GetEnableJavascript() bool { | ||
| 363 | + | core.LazyRegister(&xSettingsGetEnableJavascript, "WEBKIT", "webkit_settings_get_enable_javascript", false) | |||
| 364 | + | ||||
| 315 | cret := xSettingsGetEnableJavascript(x.GoPointer()) | 365 | cret := xSettingsGetEnableJavascript(x.GoPointer()) | ||
| 316 | return cret | 366 | return cret | ||
| 317 | } | 367 | } | ||
| @@ -320,6 +370,8 @@ var xSettingsGetEnableJavascriptMarkup func(uintptr) bool | |||||
| 320 | 370 | ||||
| 321 | // Get the #WebKitSettings:enable-javascript-markup property. | 371 | // Get the #WebKitSettings:enable-javascript-markup property. | ||
| 322 | func (x *Settings) GetEnableJavascriptMarkup() bool { | 372 | func (x *Settings) GetEnableJavascriptMarkup() bool { | ||
| 373 | + | core.LazyRegister(&xSettingsGetEnableJavascriptMarkup, "WEBKIT", "webkit_settings_get_enable_javascript_markup", false) | |||
| 374 | + | ||||
| 323 | cret := xSettingsGetEnableJavascriptMarkup(x.GoPointer()) | 375 | cret := xSettingsGetEnableJavascriptMarkup(x.GoPointer()) | ||
| 324 | return cret | 376 | return cret | ||
| 325 | } | 377 | } | ||
| @@ -328,6 +380,8 @@ var xSettingsGetEnableMedia func(uintptr) bool | |||||
| 328 | 380 | ||||
| 329 | // Get the #WebKitSettings:enable-media property. | 381 | // Get the #WebKitSettings:enable-media property. | ||
| 330 | func (x *Settings) GetEnableMedia() bool { | 382 | func (x *Settings) GetEnableMedia() bool { | ||
| 383 | + | core.LazyRegister(&xSettingsGetEnableMedia, "WEBKIT", "webkit_settings_get_enable_media", false) | |||
| 384 | + | ||||
| 331 | cret := xSettingsGetEnableMedia(x.GoPointer()) | 385 | cret := xSettingsGetEnableMedia(x.GoPointer()) | ||
| 332 | return cret | 386 | return cret | ||
| 333 | } | 387 | } | ||
| @@ -336,6 +390,8 @@ var xSettingsGetEnableMediaCapabilities func(uintptr) bool | |||||
| 336 | 390 | ||||
| 337 | // Get the #WebKitSettings:enable-media-capabilities property. | 391 | // Get the #WebKitSettings:enable-media-capabilities property. | ||
| 338 | func (x *Settings) GetEnableMediaCapabilities() bool { | 392 | func (x *Settings) GetEnableMediaCapabilities() bool { | ||
| 393 | + | core.LazyRegister(&xSettingsGetEnableMediaCapabilities, "WEBKIT", "webkit_settings_get_enable_media_capabilities", false) | |||
| 394 | + | ||||
| 339 | cret := xSettingsGetEnableMediaCapabilities(x.GoPointer()) | 395 | cret := xSettingsGetEnableMediaCapabilities(x.GoPointer()) | ||
| 340 | return cret | 396 | return cret | ||
| 341 | } | 397 | } | ||
| @@ -344,6 +400,8 @@ var xSettingsGetEnableMediaStream func(uintptr) bool | |||||
| 344 | 400 | ||||
| 345 | // Get the #WebKitSettings:enable-media-stream property. | 401 | // Get the #WebKitSettings:enable-media-stream property. | ||
| 346 | func (x *Settings) GetEnableMediaStream() bool { | 402 | func (x *Settings) GetEnableMediaStream() bool { | ||
| 403 | + | core.LazyRegister(&xSettingsGetEnableMediaStream, "WEBKIT", "webkit_settings_get_enable_media_stream", false) | |||
| 404 | + | ||||
| 347 | cret := xSettingsGetEnableMediaStream(x.GoPointer()) | 405 | cret := xSettingsGetEnableMediaStream(x.GoPointer()) | ||
| 348 | return cret | 406 | return cret | ||
| 349 | } | 407 | } | ||
| @@ -352,6 +410,8 @@ var xSettingsGetEnableMediasource func(uintptr) bool | |||||
| 352 | 410 | ||||
| 353 | // Get the #WebKitSettings:enable-mediasource property. | 411 | // Get the #WebKitSettings:enable-mediasource property. | ||
| 354 | func (x *Settings) GetEnableMediasource() bool { | 412 | func (x *Settings) GetEnableMediasource() bool { | ||
| 413 | + | core.LazyRegister(&xSettingsGetEnableMediasource, "WEBKIT", "webkit_settings_get_enable_mediasource", false) | |||
| 414 | + | ||||
| 355 | cret := xSettingsGetEnableMediasource(x.GoPointer()) | 415 | cret := xSettingsGetEnableMediasource(x.GoPointer()) | ||
| 356 | return cret | 416 | return cret | ||
| 357 | } | 417 | } | ||
| @@ -360,6 +420,8 @@ var xSettingsGetEnableMockCaptureDevices func(uintptr) bool | |||||
| 360 | 420 | ||||
| 361 | // Get the #WebKitSettings:enable-mock-capture-devices property. | 421 | // Get the #WebKitSettings:enable-mock-capture-devices property. | ||
| 362 | func (x *Settings) GetEnableMockCaptureDevices() bool { | 422 | func (x *Settings) GetEnableMockCaptureDevices() bool { | ||
| 423 | + | core.LazyRegister(&xSettingsGetEnableMockCaptureDevices, "WEBKIT", "webkit_settings_get_enable_mock_capture_devices", false) | |||
| 424 | + | ||||
| 363 | cret := xSettingsGetEnableMockCaptureDevices(x.GoPointer()) | 425 | cret := xSettingsGetEnableMockCaptureDevices(x.GoPointer()) | ||
| 364 | return cret | 426 | return cret | ||
| 365 | } | 427 | } | ||
| @@ -368,6 +430,8 @@ var xSettingsGetEnableOfflineWebApplicationCache func(uintptr) bool | |||||
| 368 | 430 | ||||
| 369 | // Get the #WebKitSettings:enable-offline-web-application-cache property. | 431 | // Get the #WebKitSettings:enable-offline-web-application-cache property. | ||
| 370 | func (x *Settings) GetEnableOfflineWebApplicationCache() bool { | 432 | func (x *Settings) GetEnableOfflineWebApplicationCache() bool { | ||
| 433 | + | core.LazyRegister(&xSettingsGetEnableOfflineWebApplicationCache, "WEBKIT", "webkit_settings_get_enable_offline_web_application_cache", false) | |||
| 434 | + | ||||
| 371 | cret := xSettingsGetEnableOfflineWebApplicationCache(x.GoPointer()) | 435 | cret := xSettingsGetEnableOfflineWebApplicationCache(x.GoPointer()) | ||
| 372 | return cret | 436 | return cret | ||
| 373 | } | 437 | } | ||
| @@ -376,6 +440,8 @@ var xSettingsGetEnablePageCache func(uintptr) bool | |||||
| 376 | 440 | ||||
| 377 | // Get the #WebKitSettings:enable-page-cache property. | 441 | // Get the #WebKitSettings:enable-page-cache property. | ||
| 378 | func (x *Settings) GetEnablePageCache() bool { | 442 | func (x *Settings) GetEnablePageCache() bool { | ||
| 443 | + | core.LazyRegister(&xSettingsGetEnablePageCache, "WEBKIT", "webkit_settings_get_enable_page_cache", false) | |||
| 444 | + | ||||
| 379 | cret := xSettingsGetEnablePageCache(x.GoPointer()) | 445 | cret := xSettingsGetEnablePageCache(x.GoPointer()) | ||
| 380 | return cret | 446 | return cret | ||
| 381 | } | 447 | } | ||
| @@ -384,6 +450,8 @@ var xSettingsGetEnableResizableTextAreas func(uintptr) bool | |||||
| 384 | 450 | ||||
| 385 | // Get the #WebKitSettings:enable-resizable-text-areas property. | 451 | // Get the #WebKitSettings:enable-resizable-text-areas property. | ||
| 386 | func (x *Settings) GetEnableResizableTextAreas() bool { | 452 | func (x *Settings) GetEnableResizableTextAreas() bool { | ||
| 453 | + | core.LazyRegister(&xSettingsGetEnableResizableTextAreas, "WEBKIT", "webkit_settings_get_enable_resizable_text_areas", false) | |||
| 454 | + | ||||
| 387 | cret := xSettingsGetEnableResizableTextAreas(x.GoPointer()) | 455 | cret := xSettingsGetEnableResizableTextAreas(x.GoPointer()) | ||
| 388 | return cret | 456 | return cret | ||
| 389 | } | 457 | } | ||
| @@ -392,6 +460,8 @@ var xSettingsGetEnableSiteSpecificQuirks func(uintptr) bool | |||||
| 392 | 460 | ||||
| 393 | // Get the #WebKitSettings:enable-site-specific-quirks property. | 461 | // Get the #WebKitSettings:enable-site-specific-quirks property. | ||
| 394 | func (x *Settings) GetEnableSiteSpecificQuirks() bool { | 462 | func (x *Settings) GetEnableSiteSpecificQuirks() bool { | ||
| 463 | + | core.LazyRegister(&xSettingsGetEnableSiteSpecificQuirks, "WEBKIT", "webkit_settings_get_enable_site_specific_quirks", false) | |||
| 464 | + | ||||
| 395 | cret := xSettingsGetEnableSiteSpecificQuirks(x.GoPointer()) | 465 | cret := xSettingsGetEnableSiteSpecificQuirks(x.GoPointer()) | ||
| 396 | return cret | 466 | return cret | ||
| 397 | } | 467 | } | ||
| @@ -400,6 +470,8 @@ var xSettingsGetEnableSmoothScrolling func(uintptr) bool | |||||
| 400 | 470 | ||||
| 401 | // Get the #WebKitSettings:enable-smooth-scrolling property. | 471 | // Get the #WebKitSettings:enable-smooth-scrolling property. | ||
| 402 | func (x *Settings) GetEnableSmoothScrolling() bool { | 472 | func (x *Settings) GetEnableSmoothScrolling() bool { | ||
| 473 | + | core.LazyRegister(&xSettingsGetEnableSmoothScrolling, "WEBKIT", "webkit_settings_get_enable_smooth_scrolling", false) | |||
| 474 | + | ||||
| 403 | cret := xSettingsGetEnableSmoothScrolling(x.GoPointer()) | 475 | cret := xSettingsGetEnableSmoothScrolling(x.GoPointer()) | ||
| 404 | return cret | 476 | return cret | ||
| 405 | } | 477 | } | ||
| @@ -408,6 +480,8 @@ var xSettingsGetEnableSpatialNavigation func(uintptr) bool | |||||
| 408 | 480 | ||||
| 409 | // Get the #WebKitSettings:enable-spatial-navigation property. | 481 | // Get the #WebKitSettings:enable-spatial-navigation property. | ||
| 410 | func (x *Settings) GetEnableSpatialNavigation() bool { | 482 | func (x *Settings) GetEnableSpatialNavigation() bool { | ||
| 483 | + | core.LazyRegister(&xSettingsGetEnableSpatialNavigation, "WEBKIT", "webkit_settings_get_enable_spatial_navigation", false) | |||
| 484 | + | ||||
| 411 | cret := xSettingsGetEnableSpatialNavigation(x.GoPointer()) | 485 | cret := xSettingsGetEnableSpatialNavigation(x.GoPointer()) | ||
| 412 | return cret | 486 | return cret | ||
| 413 | } | 487 | } | ||
| @@ -416,6 +490,8 @@ var xSettingsGetEnableTabsToLinks func(uintptr) bool | |||||
| 416 | 490 | ||||
| 417 | // Get the #WebKitSettings:enable-tabs-to-links property. | 491 | // Get the #WebKitSettings:enable-tabs-to-links property. | ||
| 418 | func (x *Settings) GetEnableTabsToLinks() bool { | 492 | func (x *Settings) GetEnableTabsToLinks() bool { | ||
| 493 | + | core.LazyRegister(&xSettingsGetEnableTabsToLinks, "WEBKIT", "webkit_settings_get_enable_tabs_to_links", false) | |||
| 494 | + | ||||
| 419 | cret := xSettingsGetEnableTabsToLinks(x.GoPointer()) | 495 | cret := xSettingsGetEnableTabsToLinks(x.GoPointer()) | ||
| 420 | return cret | 496 | return cret | ||
| 421 | } | 497 | } | ||
| @@ -424,6 +500,8 @@ var xSettingsGetEnableWebaudio func(uintptr) bool | |||||
| 424 | 500 | ||||
| 425 | // Get the #WebKitSettings:enable-webaudio property. | 501 | // Get the #WebKitSettings:enable-webaudio property. | ||
| 426 | func (x *Settings) GetEnableWebaudio() bool { | 502 | func (x *Settings) GetEnableWebaudio() bool { | ||
| 503 | + | core.LazyRegister(&xSettingsGetEnableWebaudio, "WEBKIT", "webkit_settings_get_enable_webaudio", false) | |||
| 504 | + | ||||
| 427 | cret := xSettingsGetEnableWebaudio(x.GoPointer()) | 505 | cret := xSettingsGetEnableWebaudio(x.GoPointer()) | ||
| 428 | return cret | 506 | return cret | ||
| 429 | } | 507 | } | ||
| @@ -432,6 +510,8 @@ var xSettingsGetEnableWebgl func(uintptr) bool | |||||
| 432 | 510 | ||||
| 433 | // Get the #WebKitSettings:enable-webgl property. | 511 | // Get the #WebKitSettings:enable-webgl property. | ||
| 434 | func (x *Settings) GetEnableWebgl() bool { | 512 | func (x *Settings) GetEnableWebgl() bool { | ||
| 513 | + | core.LazyRegister(&xSettingsGetEnableWebgl, "WEBKIT", "webkit_settings_get_enable_webgl", false) | |||
| 514 | + | ||||
| 435 | cret := xSettingsGetEnableWebgl(x.GoPointer()) | 515 | cret := xSettingsGetEnableWebgl(x.GoPointer()) | ||
| 436 | return cret | 516 | return cret | ||
| 437 | } | 517 | } | ||
| @@ -440,6 +520,8 @@ var xSettingsGetEnableWebrtc func(uintptr) bool | |||||
| 440 | 520 | ||||
| 441 | // Get the [property@Settings:enable-webrtc] property. | 521 | // Get the [property@Settings:enable-webrtc] property. | ||
| 442 | func (x *Settings) GetEnableWebrtc() bool { | 522 | func (x *Settings) GetEnableWebrtc() bool { | ||
| 523 | + | core.LazyRegister(&xSettingsGetEnableWebrtc, "WEBKIT", "webkit_settings_get_enable_webrtc", false) | |||
| 524 | + | ||||
| 443 | cret := xSettingsGetEnableWebrtc(x.GoPointer()) | 525 | cret := xSettingsGetEnableWebrtc(x.GoPointer()) | ||
| 444 | return cret | 526 | return cret | ||
| 445 | } | 527 | } | ||
| @@ -448,6 +530,8 @@ var xSettingsGetEnableWriteConsoleMessagesToStdout func(uintptr) bool | |||||
| 448 | 530 | ||||
| 449 | // Get the #WebKitSettings:enable-write-console-messages-to-stdout property. | 531 | // Get the #WebKitSettings:enable-write-console-messages-to-stdout property. | ||
| 450 | func (x *Settings) GetEnableWriteConsoleMessagesToStdout() bool { | 532 | func (x *Settings) GetEnableWriteConsoleMessagesToStdout() bool { | ||
| 533 | + | core.LazyRegister(&xSettingsGetEnableWriteConsoleMessagesToStdout, "WEBKIT", "webkit_settings_get_enable_write_console_messages_to_stdout", false) | |||
| 534 | + | ||||
| 451 | cret := xSettingsGetEnableWriteConsoleMessagesToStdout(x.GoPointer()) | 535 | cret := xSettingsGetEnableWriteConsoleMessagesToStdout(x.GoPointer()) | ||
| 452 | return cret | 536 | return cret | ||
| 453 | } | 537 | } | ||
| @@ -456,6 +540,8 @@ var xSettingsGetFantasyFontFamily func(uintptr) string | |||||
| 456 | 540 | ||||
| 457 | // Gets the #WebKitSettings:fantasy-font-family property. | 541 | // Gets the #WebKitSettings:fantasy-font-family property. | ||
| 458 | func (x *Settings) GetFantasyFontFamily() string { | 542 | func (x *Settings) GetFantasyFontFamily() string { | ||
| 543 | + | core.LazyRegister(&xSettingsGetFantasyFontFamily, "WEBKIT", "webkit_settings_get_fantasy_font_family", false) | |||
| 544 | + | ||||
| 459 | cret := xSettingsGetFantasyFontFamily(x.GoPointer()) | 545 | cret := xSettingsGetFantasyFontFamily(x.GoPointer()) | ||
| 460 | return cret | 546 | return cret | ||
| 461 | } | 547 | } | ||
| @@ -464,6 +550,8 @@ var xSettingsGetFeatureEnabled func(uintptr, *Feature) bool | |||||
| 464 | 550 | ||||
| 465 | // Gets whether a feature is enabled. | 551 | // Gets whether a feature is enabled. | ||
| 466 | func (x *Settings) GetFeatureEnabled(FeatureVar *Feature) bool { | 552 | func (x *Settings) GetFeatureEnabled(FeatureVar *Feature) bool { | ||
| 553 | + | core.LazyRegister(&xSettingsGetFeatureEnabled, "WEBKIT", "webkit_settings_get_feature_enabled", false) | |||
| 554 | + | ||||
| 467 | cret := xSettingsGetFeatureEnabled(x.GoPointer(), FeatureVar) | 555 | cret := xSettingsGetFeatureEnabled(x.GoPointer(), FeatureVar) | ||
| 468 | return cret | 556 | return cret | ||
| 469 | } | 557 | } | ||
| @@ -472,6 +560,8 @@ var xSettingsGetHardwareAccelerationPolicy func(uintptr) HardwareAccelerationPol | |||||
| 472 | 560 | ||||
| 473 | // Get the #WebKitSettings:hardware-acceleration-policy property. | 561 | // Get the #WebKitSettings:hardware-acceleration-policy property. | ||
| 474 | func (x *Settings) GetHardwareAccelerationPolicy() HardwareAccelerationPolicy { | 562 | func (x *Settings) GetHardwareAccelerationPolicy() HardwareAccelerationPolicy { | ||
| 563 | + | core.LazyRegister(&xSettingsGetHardwareAccelerationPolicy, "WEBKIT", "webkit_settings_get_hardware_acceleration_policy", false) | |||
| 564 | + | ||||
| 475 | cret := xSettingsGetHardwareAccelerationPolicy(x.GoPointer()) | 565 | cret := xSettingsGetHardwareAccelerationPolicy(x.GoPointer()) | ||
| 476 | return cret | 566 | return cret | ||
| 477 | } | 567 | } | ||
| @@ -480,6 +570,8 @@ var xSettingsGetJavascriptCanAccessClipboard func(uintptr) bool | |||||
| 480 | 570 | ||||
| 481 | // Get the #WebKitSettings:javascript-can-access-clipboard property. | 571 | // Get the #WebKitSettings:javascript-can-access-clipboard property. | ||
| 482 | func (x *Settings) GetJavascriptCanAccessClipboard() bool { | 572 | func (x *Settings) GetJavascriptCanAccessClipboard() bool { | ||
| 573 | + | core.LazyRegister(&xSettingsGetJavascriptCanAccessClipboard, "WEBKIT", "webkit_settings_get_javascript_can_access_clipboard", false) | |||
| 574 | + | ||||
| 483 | cret := xSettingsGetJavascriptCanAccessClipboard(x.GoPointer()) | 575 | cret := xSettingsGetJavascriptCanAccessClipboard(x.GoPointer()) | ||
| 484 | return cret | 576 | return cret | ||
| 485 | } | 577 | } | ||
| @@ -488,6 +580,8 @@ var xSettingsGetJavascriptCanOpenWindowsAutomatically func(uintptr) bool | |||||
| 488 | 580 | ||||
| 489 | // Get the #WebKitSettings:javascript-can-open-windows-automatically property. | 581 | // Get the #WebKitSettings:javascript-can-open-windows-automatically property. | ||
| 490 | func (x *Settings) GetJavascriptCanOpenWindowsAutomatically() bool { | 582 | func (x *Settings) GetJavascriptCanOpenWindowsAutomatically() bool { | ||
| 583 | + | core.LazyRegister(&xSettingsGetJavascriptCanOpenWindowsAutomatically, "WEBKIT", "webkit_settings_get_javascript_can_open_windows_automatically", false) | |||
| 584 | + | ||||
| 491 | cret := xSettingsGetJavascriptCanOpenWindowsAutomatically(x.GoPointer()) | 585 | cret := xSettingsGetJavascriptCanOpenWindowsAutomatically(x.GoPointer()) | ||
| 492 | return cret | 586 | return cret | ||
| 493 | } | 587 | } | ||
| @@ -496,6 +590,8 @@ var xSettingsGetLoadIconsIgnoringImageLoadSetting func(uintptr) bool | |||||
| 496 | 590 | ||||
| 497 | // Setting no longer supported. This function returns %FALSE. | 591 | // Setting no longer supported. This function returns %FALSE. | ||
| 498 | func (x *Settings) GetLoadIconsIgnoringImageLoadSetting() bool { | 592 | func (x *Settings) GetLoadIconsIgnoringImageLoadSetting() bool { | ||
| 593 | + | core.LazyRegister(&xSettingsGetLoadIconsIgnoringImageLoadSetting, "WEBKIT", "webkit_settings_get_load_icons_ignoring_image_load_setting", false) | |||
| 594 | + | ||||
| 499 | cret := xSettingsGetLoadIconsIgnoringImageLoadSetting(x.GoPointer()) | 595 | cret := xSettingsGetLoadIconsIgnoringImageLoadSetting(x.GoPointer()) | ||
| 500 | return cret | 596 | return cret | ||
| 501 | } | 597 | } | ||
| @@ -504,6 +600,8 @@ var xSettingsGetMathFontFamily func(uintptr) string | |||||
| 504 | 600 | ||||
| 505 | // Gets the #WebKitSettings:math-font-family property. | 601 | // Gets the #WebKitSettings:math-font-family property. | ||
| 506 | func (x *Settings) GetMathFontFamily() string { | 602 | func (x *Settings) GetMathFontFamily() string { | ||
| 603 | + | core.LazyRegister(&xSettingsGetMathFontFamily, "WEBKIT", "webkit_settings_get_math_font_family", false) | |||
| 604 | + | ||||
| 507 | cret := xSettingsGetMathFontFamily(x.GoPointer()) | 605 | cret := xSettingsGetMathFontFamily(x.GoPointer()) | ||
| 508 | return cret | 606 | return cret | ||
| 509 | } | 607 | } | ||
| @@ -512,6 +610,8 @@ var xSettingsGetMediaContentTypesRequiringHardwareSupport func(uintptr) string | |||||
| 512 | 610 | ||||
| 513 | // Gets the #WebKitSettings:media-content-types-requiring-hardware-support property. | 611 | // Gets the #WebKitSettings:media-content-types-requiring-hardware-support property. | ||
| 514 | func (x *Settings) GetMediaContentTypesRequiringHardwareSupport() string { | 612 | func (x *Settings) GetMediaContentTypesRequiringHardwareSupport() string { | ||
| 613 | + | core.LazyRegister(&xSettingsGetMediaContentTypesRequiringHardwareSupport, "WEBKIT", "webkit_settings_get_media_content_types_requiring_hardware_support", false) | |||
| 614 | + | ||||
| 515 | cret := xSettingsGetMediaContentTypesRequiringHardwareSupport(x.GoPointer()) | 615 | cret := xSettingsGetMediaContentTypesRequiringHardwareSupport(x.GoPointer()) | ||
| 516 | return cret | 616 | return cret | ||
| 517 | } | 617 | } | ||
| @@ -520,6 +620,8 @@ var xSettingsGetMediaPlaybackAllowsInline func(uintptr) bool | |||||
| 520 | 620 | ||||
| 521 | // Get the #WebKitSettings:media-playback-allows-inline property. | 621 | // Get the #WebKitSettings:media-playback-allows-inline property. | ||
| 522 | func (x *Settings) GetMediaPlaybackAllowsInline() bool { | 622 | func (x *Settings) GetMediaPlaybackAllowsInline() bool { | ||
| 623 | + | core.LazyRegister(&xSettingsGetMediaPlaybackAllowsInline, "WEBKIT", "webkit_settings_get_media_playback_allows_inline", false) | |||
| 624 | + | ||||
| 523 | cret := xSettingsGetMediaPlaybackAllowsInline(x.GoPointer()) | 625 | cret := xSettingsGetMediaPlaybackAllowsInline(x.GoPointer()) | ||
| 524 | return cret | 626 | return cret | ||
| 525 | } | 627 | } | ||
| @@ -528,6 +630,8 @@ var xSettingsGetMediaPlaybackRequiresUserGesture func(uintptr) bool | |||||
| 528 | 630 | ||||
| 529 | // Get the #WebKitSettings:media-playback-requires-user-gesture property. | 631 | // Get the #WebKitSettings:media-playback-requires-user-gesture property. | ||
| 530 | func (x *Settings) GetMediaPlaybackRequiresUserGesture() bool { | 632 | func (x *Settings) GetMediaPlaybackRequiresUserGesture() bool { | ||
| 633 | + | core.LazyRegister(&xSettingsGetMediaPlaybackRequiresUserGesture, "WEBKIT", "webkit_settings_get_media_playback_requires_user_gesture", false) | |||
| 634 | + | ||||
| 531 | cret := xSettingsGetMediaPlaybackRequiresUserGesture(x.GoPointer()) | 635 | cret := xSettingsGetMediaPlaybackRequiresUserGesture(x.GoPointer()) | ||
| 532 | return cret | 636 | return cret | ||
| 533 | } | 637 | } | ||
| @@ -536,6 +640,8 @@ var xSettingsGetMinimumFontSize func(uintptr) uint32 | |||||
| 536 | 640 | ||||
| 537 | // Gets the #WebKitSettings:minimum-font-size property. | 641 | // Gets the #WebKitSettings:minimum-font-size property. | ||
| 538 | func (x *Settings) GetMinimumFontSize() uint32 { | 642 | func (x *Settings) GetMinimumFontSize() uint32 { | ||
| 643 | + | core.LazyRegister(&xSettingsGetMinimumFontSize, "WEBKIT", "webkit_settings_get_minimum_font_size", false) | |||
| 644 | + | ||||
| 539 | cret := xSettingsGetMinimumFontSize(x.GoPointer()) | 645 | cret := xSettingsGetMinimumFontSize(x.GoPointer()) | ||
| 540 | return cret | 646 | return cret | ||
| 541 | } | 647 | } | ||
| @@ -544,6 +650,8 @@ var xSettingsGetMonospaceFontFamily func(uintptr) string | |||||
| 544 | 650 | ||||
| 545 | // Gets the #WebKitSettings:monospace-font-family property. | 651 | // Gets the #WebKitSettings:monospace-font-family property. | ||
| 546 | func (x *Settings) GetMonospaceFontFamily() string { | 652 | func (x *Settings) GetMonospaceFontFamily() string { | ||
| 653 | + | core.LazyRegister(&xSettingsGetMonospaceFontFamily, "WEBKIT", "webkit_settings_get_monospace_font_family", false) | |||
| 654 | + | ||||
| 547 | cret := xSettingsGetMonospaceFontFamily(x.GoPointer()) | 655 | cret := xSettingsGetMonospaceFontFamily(x.GoPointer()) | ||
| 548 | return cret | 656 | return cret | ||
| 549 | } | 657 | } | ||
| @@ -552,6 +660,8 @@ var xSettingsGetPictographFontFamily func(uintptr) string | |||||
| 552 | 660 | ||||
| 553 | // Gets the #WebKitSettings:pictograph-font-family property. | 661 | // Gets the #WebKitSettings:pictograph-font-family property. | ||
| 554 | func (x *Settings) GetPictographFontFamily() string { | 662 | func (x *Settings) GetPictographFontFamily() string { | ||
| 663 | + | core.LazyRegister(&xSettingsGetPictographFontFamily, "WEBKIT", "webkit_settings_get_pictograph_font_family", false) | |||
| 664 | + | ||||
| 555 | cret := xSettingsGetPictographFontFamily(x.GoPointer()) | 665 | cret := xSettingsGetPictographFontFamily(x.GoPointer()) | ||
| 556 | return cret | 666 | return cret | ||
| 557 | } | 667 | } | ||
| @@ -560,6 +670,8 @@ var xSettingsGetPrintBackgrounds func(uintptr) bool | |||||
| 560 | 670 | ||||
| 561 | // Get the #WebKitSettings:print-backgrounds property. | 671 | // Get the #WebKitSettings:print-backgrounds property. | ||
| 562 | func (x *Settings) GetPrintBackgrounds() bool { | 672 | func (x *Settings) GetPrintBackgrounds() bool { | ||
| 673 | + | core.LazyRegister(&xSettingsGetPrintBackgrounds, "WEBKIT", "webkit_settings_get_print_backgrounds", false) | |||
| 674 | + | ||||
| 563 | cret := xSettingsGetPrintBackgrounds(x.GoPointer()) | 675 | cret := xSettingsGetPrintBackgrounds(x.GoPointer()) | ||
| 564 | return cret | 676 | return cret | ||
| 565 | } | 677 | } | ||
| @@ -568,6 +680,8 @@ var xSettingsGetSansSerifFontFamily func(uintptr) string | |||||
| 568 | 680 | ||||
| 569 | // Gets the #WebKitSettings:sans-serif-font-family property. | 681 | // Gets the #WebKitSettings:sans-serif-font-family property. | ||
| 570 | func (x *Settings) GetSansSerifFontFamily() string { | 682 | func (x *Settings) GetSansSerifFontFamily() string { | ||
| 683 | + | core.LazyRegister(&xSettingsGetSansSerifFontFamily, "WEBKIT", "webkit_settings_get_sans_serif_font_family", false) | |||
| 684 | + | ||||
| 571 | cret := xSettingsGetSansSerifFontFamily(x.GoPointer()) | 685 | cret := xSettingsGetSansSerifFontFamily(x.GoPointer()) | ||
| 572 | return cret | 686 | return cret | ||
| 573 | } | 687 | } | ||
| @@ -576,6 +690,8 @@ var xSettingsGetSerifFontFamily func(uintptr) string | |||||
| 576 | 690 | ||||
| 577 | // Gets the #WebKitSettings:serif-font-family property. | 691 | // Gets the #WebKitSettings:serif-font-family property. | ||
| 578 | func (x *Settings) GetSerifFontFamily() string { | 692 | func (x *Settings) GetSerifFontFamily() string { | ||
| 693 | + | core.LazyRegister(&xSettingsGetSerifFontFamily, "WEBKIT", "webkit_settings_get_serif_font_family", false) | |||
| 694 | + | ||||
| 579 | cret := xSettingsGetSerifFontFamily(x.GoPointer()) | 695 | cret := xSettingsGetSerifFontFamily(x.GoPointer()) | ||
| 580 | return cret | 696 | return cret | ||
| 581 | } | 697 | } | ||
| @@ -584,6 +700,8 @@ var xSettingsGetUserAgent func(uintptr) string | |||||
| 584 | 700 | ||||
| 585 | // Get the #WebKitSettings:user-agent property. | 701 | // Get the #WebKitSettings:user-agent property. | ||
| 586 | func (x *Settings) GetUserAgent() string { | 702 | func (x *Settings) GetUserAgent() string { | ||
| 703 | + | core.LazyRegister(&xSettingsGetUserAgent, "WEBKIT", "webkit_settings_get_user_agent", false) | |||
| 704 | + | ||||
| 587 | cret := xSettingsGetUserAgent(x.GoPointer()) | 705 | cret := xSettingsGetUserAgent(x.GoPointer()) | ||
| 588 | return cret | 706 | return cret | ||
| 589 | } | 707 | } | ||
| @@ -592,6 +710,8 @@ var xSettingsGetWebrtcUdpPortsRange func(uintptr) string | |||||
| 592 | 710 | ||||
| 593 | // Get the [property@Settings:webrtc-udp-ports-range] property. | 711 | // Get the [property@Settings:webrtc-udp-ports-range] property. | ||
| 594 | func (x *Settings) GetWebrtcUdpPortsRange() string { | 712 | func (x *Settings) GetWebrtcUdpPortsRange() string { | ||
| 713 | + | core.LazyRegister(&xSettingsGetWebrtcUdpPortsRange, "WEBKIT", "webkit_settings_get_webrtc_udp_ports_range", false) | |||
| 714 | + | ||||
| 595 | cret := xSettingsGetWebrtcUdpPortsRange(x.GoPointer()) | 715 | cret := xSettingsGetWebrtcUdpPortsRange(x.GoPointer()) | ||
| 596 | return cret | 716 | return cret | ||
| 597 | } | 717 | } | ||
| @@ -600,6 +720,8 @@ var xSettingsGetZoomTextOnly func(uintptr) bool | |||||
| 600 | 720 | ||||
| 601 | // Get the #WebKitSettings:zoom-text-only property. | 721 | // Get the #WebKitSettings:zoom-text-only property. | ||
| 602 | func (x *Settings) GetZoomTextOnly() bool { | 722 | func (x *Settings) GetZoomTextOnly() bool { | ||
| 723 | + | core.LazyRegister(&xSettingsGetZoomTextOnly, "WEBKIT", "webkit_settings_get_zoom_text_only", false) | |||
| 724 | + | ||||
| 603 | cret := xSettingsGetZoomTextOnly(x.GoPointer()) | 725 | cret := xSettingsGetZoomTextOnly(x.GoPointer()) | ||
| 604 | return cret | 726 | return cret | ||
| 605 | } | 727 | } | ||
| @@ -608,6 +730,8 @@ var xSettingsSetAllowFileAccessFromFileUrls func(uintptr, bool) | |||||
| 608 | 730 | ||||
| 609 | // Set the #WebKitSettings:allow-file-access-from-file-urls property. | 731 | // Set the #WebKitSettings:allow-file-access-from-file-urls property. | ||
| 610 | func (x *Settings) SetAllowFileAccessFromFileUrls(AllowedVar bool) { | 732 | func (x *Settings) SetAllowFileAccessFromFileUrls(AllowedVar bool) { | ||
| 733 | + | core.LazyRegister(&xSettingsSetAllowFileAccessFromFileUrls, "WEBKIT", "webkit_settings_set_allow_file_access_from_file_urls", false) | |||
| 734 | + | ||||
| 611 | xSettingsSetAllowFileAccessFromFileUrls(x.GoPointer(), AllowedVar) | 735 | xSettingsSetAllowFileAccessFromFileUrls(x.GoPointer(), AllowedVar) | ||
| 612 | } | 736 | } | ||
| 613 | 737 | ||||
| @@ -615,6 +739,8 @@ var xSettingsSetAllowModalDialogs func(uintptr, bool) | |||||
| 615 | 739 | ||||
| 616 | // Set the #WebKitSettings:allow-modal-dialogs property. | 740 | // Set the #WebKitSettings:allow-modal-dialogs property. | ||
| 617 | func (x *Settings) SetAllowModalDialogs(AllowedVar bool) { | 741 | func (x *Settings) SetAllowModalDialogs(AllowedVar bool) { | ||
| 742 | + | core.LazyRegister(&xSettingsSetAllowModalDialogs, "WEBKIT", "webkit_settings_set_allow_modal_dialogs", false) | |||
| 743 | + | ||||
| 618 | xSettingsSetAllowModalDialogs(x.GoPointer(), AllowedVar) | 744 | xSettingsSetAllowModalDialogs(x.GoPointer(), AllowedVar) | ||
| 619 | } | 745 | } | ||
| 620 | 746 | ||||
| @@ -622,6 +748,8 @@ var xSettingsSetAllowTopNavigationToDataUrls func(uintptr, bool) | |||||
| 622 | 748 | ||||
| 623 | // Set the #WebKitSettings:allow-top-navigation-to-data-urls property. | 749 | // Set the #WebKitSettings:allow-top-navigation-to-data-urls property. | ||
| 624 | func (x *Settings) SetAllowTopNavigationToDataUrls(AllowedVar bool) { | 750 | func (x *Settings) SetAllowTopNavigationToDataUrls(AllowedVar bool) { | ||
| 751 | + | core.LazyRegister(&xSettingsSetAllowTopNavigationToDataUrls, "WEBKIT", "webkit_settings_set_allow_top_navigation_to_data_urls", false) | |||
| 752 | + | ||||
| 625 | xSettingsSetAllowTopNavigationToDataUrls(x.GoPointer(), AllowedVar) | 753 | xSettingsSetAllowTopNavigationToDataUrls(x.GoPointer(), AllowedVar) | ||
| 626 | } | 754 | } | ||
| 627 | 755 | ||||
| @@ -629,6 +757,8 @@ var xSettingsSetAllowUniversalAccessFromFileUrls func(uintptr, bool) | |||||
| 629 | 757 | ||||
| 630 | // Set the #WebKitSettings:allow-universal-access-from-file-urls property. | 758 | // Set the #WebKitSettings:allow-universal-access-from-file-urls property. | ||
| 631 | func (x *Settings) SetAllowUniversalAccessFromFileUrls(AllowedVar bool) { | 759 | func (x *Settings) SetAllowUniversalAccessFromFileUrls(AllowedVar bool) { | ||
| 760 | + | core.LazyRegister(&xSettingsSetAllowUniversalAccessFromFileUrls, "WEBKIT", "webkit_settings_set_allow_universal_access_from_file_urls", false) | |||
| 761 | + | ||||
| 632 | xSettingsSetAllowUniversalAccessFromFileUrls(x.GoPointer(), AllowedVar) | 762 | xSettingsSetAllowUniversalAccessFromFileUrls(x.GoPointer(), AllowedVar) | ||
| 633 | } | 763 | } | ||
| 634 | 764 | ||||
| @@ -636,6 +766,8 @@ var xSettingsSetAutoLoadImages func(uintptr, bool) | |||||
| 636 | 766 | ||||
| 637 | // Set the #WebKitSettings:auto-load-images property. | 767 | // Set the #WebKitSettings:auto-load-images property. | ||
| 638 | func (x *Settings) SetAutoLoadImages(EnabledVar bool) { | 768 | func (x *Settings) SetAutoLoadImages(EnabledVar bool) { | ||
| 769 | + | core.LazyRegister(&xSettingsSetAutoLoadImages, "WEBKIT", "webkit_settings_set_auto_load_images", false) | |||
| 770 | + | ||||
| 639 | xSettingsSetAutoLoadImages(x.GoPointer(), EnabledVar) | 771 | xSettingsSetAutoLoadImages(x.GoPointer(), EnabledVar) | ||
| 640 | } | 772 | } | ||
| 641 | 773 | ||||
| @@ -643,6 +775,8 @@ var xSettingsSetCursiveFontFamily func(uintptr, string) | |||||
| 643 | 775 | ||||
| 644 | // Set the #WebKitSettings:cursive-font-family property. | 776 | // Set the #WebKitSettings:cursive-font-family property. | ||
| 645 | func (x *Settings) SetCursiveFontFamily(CursiveFontFamilyVar string) { | 777 | func (x *Settings) SetCursiveFontFamily(CursiveFontFamilyVar string) { | ||
| 778 | + | core.LazyRegister(&xSettingsSetCursiveFontFamily, "WEBKIT", "webkit_settings_set_cursive_font_family", false) | |||
| 779 | + | ||||
| 646 | xSettingsSetCursiveFontFamily(x.GoPointer(), CursiveFontFamilyVar) | 780 | xSettingsSetCursiveFontFamily(x.GoPointer(), CursiveFontFamilyVar) | ||
| 647 | } | 781 | } | ||
| 648 | 782 | ||||
| @@ -650,6 +784,8 @@ var xSettingsSetDefaultCharset func(uintptr, string) | |||||
| 650 | 784 | ||||
| 651 | // Set the #WebKitSettings:default-charset property. | 785 | // Set the #WebKitSettings:default-charset property. | ||
| 652 | func (x *Settings) SetDefaultCharset(DefaultCharsetVar string) { | 786 | func (x *Settings) SetDefaultCharset(DefaultCharsetVar string) { | ||
| 787 | + | core.LazyRegister(&xSettingsSetDefaultCharset, "WEBKIT", "webkit_settings_set_default_charset", false) | |||
| 788 | + | ||||
| 653 | xSettingsSetDefaultCharset(x.GoPointer(), DefaultCharsetVar) | 789 | xSettingsSetDefaultCharset(x.GoPointer(), DefaultCharsetVar) | ||
| 654 | } | 790 | } | ||
| 655 | 791 | ||||
| @@ -657,6 +793,8 @@ var xSettingsSetDefaultFontFamily func(uintptr, string) | |||||
| 657 | 793 | ||||
| 658 | // Set the #WebKitSettings:default-font-family property. | 794 | // Set the #WebKitSettings:default-font-family property. | ||
| 659 | func (x *Settings) SetDefaultFontFamily(DefaultFontFamilyVar string) { | 795 | func (x *Settings) SetDefaultFontFamily(DefaultFontFamilyVar string) { | ||
| 796 | + | core.LazyRegister(&xSettingsSetDefaultFontFamily, "WEBKIT", "webkit_settings_set_default_font_family", false) | |||
| 797 | + | ||||
| 660 | xSettingsSetDefaultFontFamily(x.GoPointer(), DefaultFontFamilyVar) | 798 | xSettingsSetDefaultFontFamily(x.GoPointer(), DefaultFontFamilyVar) | ||
| 661 | } | 799 | } | ||
| 662 | 800 | ||||
| @@ -664,6 +802,8 @@ var xSettingsSetDefaultFontSize func(uintptr, uint32) | |||||
| 664 | 802 | ||||
| 665 | // Set the #WebKitSettings:default-font-size property. | 803 | // Set the #WebKitSettings:default-font-size property. | ||
| 666 | func (x *Settings) SetDefaultFontSize(FontSizeVar uint32) { | 804 | func (x *Settings) SetDefaultFontSize(FontSizeVar uint32) { | ||
| 805 | + | core.LazyRegister(&xSettingsSetDefaultFontSize, "WEBKIT", "webkit_settings_set_default_font_size", false) | |||
| 806 | + | ||||
| 667 | xSettingsSetDefaultFontSize(x.GoPointer(), FontSizeVar) | 807 | xSettingsSetDefaultFontSize(x.GoPointer(), FontSizeVar) | ||
| 668 | } | 808 | } | ||
| 669 | 809 | ||||
| @@ -671,6 +811,8 @@ var xSettingsSetDefaultMonospaceFontSize func(uintptr, uint32) | |||||
| 671 | 811 | ||||
| 672 | // Set the #WebKitSettings:default-monospace-font-size property. | 812 | // Set the #WebKitSettings:default-monospace-font-size property. | ||
| 673 | func (x *Settings) SetDefaultMonospaceFontSize(FontSizeVar uint32) { | 813 | func (x *Settings) SetDefaultMonospaceFontSize(FontSizeVar uint32) { | ||
| 814 | + | core.LazyRegister(&xSettingsSetDefaultMonospaceFontSize, "WEBKIT", "webkit_settings_set_default_monospace_font_size", false) | |||
| 815 | + | ||||
| 674 | xSettingsSetDefaultMonospaceFontSize(x.GoPointer(), FontSizeVar) | 816 | xSettingsSetDefaultMonospaceFontSize(x.GoPointer(), FontSizeVar) | ||
| 675 | } | 817 | } | ||
| 676 | 818 | ||||
| @@ -678,6 +820,8 @@ var xSettingsSetDisableWebSecurity func(uintptr, bool) | |||||
| 678 | 820 | ||||
| 679 | // Set the #WebKitSettings:disable-web-security property. | 821 | // Set the #WebKitSettings:disable-web-security property. | ||
| 680 | func (x *Settings) SetDisableWebSecurity(DisabledVar bool) { | 822 | func (x *Settings) SetDisableWebSecurity(DisabledVar bool) { | ||
| 823 | + | core.LazyRegister(&xSettingsSetDisableWebSecurity, "WEBKIT", "webkit_settings_set_disable_web_security", false) | |||
| 824 | + | ||||
| 681 | xSettingsSetDisableWebSecurity(x.GoPointer(), DisabledVar) | 825 | xSettingsSetDisableWebSecurity(x.GoPointer(), DisabledVar) | ||
| 682 | } | 826 | } | ||
| 683 | 827 | ||||
| @@ -685,6 +829,8 @@ var xSettingsSetDrawCompositingIndicators func(uintptr, bool) | |||||
| 685 | 829 | ||||
| 686 | // Set the #WebKitSettings:draw-compositing-indicators property. | 830 | // Set the #WebKitSettings:draw-compositing-indicators property. | ||
| 687 | func (x *Settings) SetDrawCompositingIndicators(EnabledVar bool) { | 831 | func (x *Settings) SetDrawCompositingIndicators(EnabledVar bool) { | ||
| 832 | + | core.LazyRegister(&xSettingsSetDrawCompositingIndicators, "WEBKIT", "webkit_settings_set_draw_compositing_indicators", false) | |||
| 833 | + | ||||
| 688 | xSettingsSetDrawCompositingIndicators(x.GoPointer(), EnabledVar) | 834 | xSettingsSetDrawCompositingIndicators(x.GoPointer(), EnabledVar) | ||
| 689 | } | 835 | } | ||
| 690 | 836 | ||||
| @@ -692,6 +838,8 @@ var xSettingsSetEnable2dCanvasAcceleration func(uintptr, bool) | |||||
| 692 | 838 | ||||
| 693 | // Set the #WebKitSettings:enable-2d-canvas-acceleration property. | 839 | // Set the #WebKitSettings:enable-2d-canvas-acceleration property. | ||
| 694 | func (x *Settings) SetEnable2dCanvasAcceleration(EnabledVar bool) { | 840 | func (x *Settings) SetEnable2dCanvasAcceleration(EnabledVar bool) { | ||
| 841 | + | core.LazyRegister(&xSettingsSetEnable2dCanvasAcceleration, "WEBKIT", "webkit_settings_set_enable_2d_canvas_acceleration", false) | |||
| 842 | + | ||||
| 695 | xSettingsSetEnable2dCanvasAcceleration(x.GoPointer(), EnabledVar) | 843 | xSettingsSetEnable2dCanvasAcceleration(x.GoPointer(), EnabledVar) | ||
| 696 | } | 844 | } | ||
| 697 | 845 | ||||
| @@ -699,6 +847,8 @@ var xSettingsSetEnableBackForwardNavigationGestures func(uintptr, bool) | |||||
| 699 | 847 | ||||
| 700 | // Set the #WebKitSettings:enable-back-forward-navigation-gestures property. | 848 | // Set the #WebKitSettings:enable-back-forward-navigation-gestures property. | ||
| 701 | func (x *Settings) SetEnableBackForwardNavigationGestures(EnabledVar bool) { | 849 | func (x *Settings) SetEnableBackForwardNavigationGestures(EnabledVar bool) { | ||
| 850 | + | core.LazyRegister(&xSettingsSetEnableBackForwardNavigationGestures, "WEBKIT", "webkit_settings_set_enable_back_forward_navigation_gestures", false) | |||
| 851 | + | ||||
| 702 | xSettingsSetEnableBackForwardNavigationGestures(x.GoPointer(), EnabledVar) | 852 | xSettingsSetEnableBackForwardNavigationGestures(x.GoPointer(), EnabledVar) | ||
| 703 | } | 853 | } | ||
| 704 | 854 | ||||
| @@ -706,6 +856,8 @@ var xSettingsSetEnableCaretBrowsing func(uintptr, bool) | |||||
| 706 | 856 | ||||
| 707 | // Set the #WebKitSettings:enable-caret-browsing property. | 857 | // Set the #WebKitSettings:enable-caret-browsing property. | ||
| 708 | func (x *Settings) SetEnableCaretBrowsing(EnabledVar bool) { | 858 | func (x *Settings) SetEnableCaretBrowsing(EnabledVar bool) { | ||
| 859 | + | core.LazyRegister(&xSettingsSetEnableCaretBrowsing, "WEBKIT", "webkit_settings_set_enable_caret_browsing", false) | |||
| 860 | + | ||||
| 709 | xSettingsSetEnableCaretBrowsing(x.GoPointer(), EnabledVar) | 861 | xSettingsSetEnableCaretBrowsing(x.GoPointer(), EnabledVar) | ||
| 710 | } | 862 | } | ||
| 711 | 863 | ||||
| @@ -713,6 +865,8 @@ var xSettingsSetEnableDeveloperExtras func(uintptr, bool) | |||||
| 713 | 865 | ||||
| 714 | // Set the #WebKitSettings:enable-developer-extras property. | 866 | // Set the #WebKitSettings:enable-developer-extras property. | ||
| 715 | func (x *Settings) SetEnableDeveloperExtras(EnabledVar bool) { | 867 | func (x *Settings) SetEnableDeveloperExtras(EnabledVar bool) { | ||
| 868 | + | core.LazyRegister(&xSettingsSetEnableDeveloperExtras, "WEBKIT", "webkit_settings_set_enable_developer_extras", false) | |||
| 869 | + | ||||
| 716 | xSettingsSetEnableDeveloperExtras(x.GoPointer(), EnabledVar) | 870 | xSettingsSetEnableDeveloperExtras(x.GoPointer(), EnabledVar) | ||
| 717 | } | 871 | } | ||
| 718 | 872 | ||||
| @@ -720,6 +874,8 @@ var xSettingsSetEnableDnsPrefetching func(uintptr, bool) | |||||
| 720 | 874 | ||||
| 721 | // Set the #WebKitSettings:enable-dns-prefetching property. | 875 | // Set the #WebKitSettings:enable-dns-prefetching property. | ||
| 722 | func (x *Settings) SetEnableDnsPrefetching(EnabledVar bool) { | 876 | func (x *Settings) SetEnableDnsPrefetching(EnabledVar bool) { | ||
| 877 | + | core.LazyRegister(&xSettingsSetEnableDnsPrefetching, "WEBKIT", "webkit_settings_set_enable_dns_prefetching", false) | |||
| 878 | + | ||||
| 723 | xSettingsSetEnableDnsPrefetching(x.GoPointer(), EnabledVar) | 879 | xSettingsSetEnableDnsPrefetching(x.GoPointer(), EnabledVar) | ||
| 724 | } | 880 | } | ||
| 725 | 881 | ||||
| @@ -727,6 +883,8 @@ var xSettingsSetEnableEncryptedMedia func(uintptr, bool) | |||||
| 727 | 883 | ||||
| 728 | // Set the #WebKitSettings:enable-encrypted-media property. | 884 | // Set the #WebKitSettings:enable-encrypted-media property. | ||
| 729 | func (x *Settings) SetEnableEncryptedMedia(EnabledVar bool) { | 885 | func (x *Settings) SetEnableEncryptedMedia(EnabledVar bool) { | ||
| 886 | + | core.LazyRegister(&xSettingsSetEnableEncryptedMedia, "WEBKIT", "webkit_settings_set_enable_encrypted_media", false) | |||
| 887 | + | ||||
| 730 | xSettingsSetEnableEncryptedMedia(x.GoPointer(), EnabledVar) | 888 | xSettingsSetEnableEncryptedMedia(x.GoPointer(), EnabledVar) | ||
| 731 | } | 889 | } | ||
| 732 | 890 | ||||
| @@ -734,6 +892,8 @@ var xSettingsSetEnableFullscreen func(uintptr, bool) | |||||
| 734 | 892 | ||||
| 735 | // Set the #WebKitSettings:enable-fullscreen property. | 893 | // Set the #WebKitSettings:enable-fullscreen property. | ||
| 736 | func (x *Settings) SetEnableFullscreen(EnabledVar bool) { | 894 | func (x *Settings) SetEnableFullscreen(EnabledVar bool) { | ||
| 895 | + | core.LazyRegister(&xSettingsSetEnableFullscreen, "WEBKIT", "webkit_settings_set_enable_fullscreen", false) | |||
| 896 | + | ||||
| 737 | xSettingsSetEnableFullscreen(x.GoPointer(), EnabledVar) | 897 | xSettingsSetEnableFullscreen(x.GoPointer(), EnabledVar) | ||
| 738 | } | 898 | } | ||
| 739 | 899 | ||||
| @@ -741,6 +901,8 @@ var xSettingsSetEnableHtml5Database func(uintptr, bool) | |||||
| 741 | 901 | ||||
| 742 | // Set the #WebKitSettings:enable-html5-database property. | 902 | // Set the #WebKitSettings:enable-html5-database property. | ||
| 743 | func (x *Settings) SetEnableHtml5Database(EnabledVar bool) { | 903 | func (x *Settings) SetEnableHtml5Database(EnabledVar bool) { | ||
| 904 | + | core.LazyRegister(&xSettingsSetEnableHtml5Database, "WEBKIT", "webkit_settings_set_enable_html5_database", false) | |||
| 905 | + | ||||
| 744 | xSettingsSetEnableHtml5Database(x.GoPointer(), EnabledVar) | 906 | xSettingsSetEnableHtml5Database(x.GoPointer(), EnabledVar) | ||
| 745 | } | 907 | } | ||
| 746 | 908 | ||||
| @@ -748,6 +910,8 @@ var xSettingsSetEnableHtml5LocalStorage func(uintptr, bool) | |||||
| 748 | 910 | ||||
| 749 | // Set the #WebKitSettings:enable-html5-local-storage property. | 911 | // Set the #WebKitSettings:enable-html5-local-storage property. | ||
| 750 | func (x *Settings) SetEnableHtml5LocalStorage(EnabledVar bool) { | 912 | func (x *Settings) SetEnableHtml5LocalStorage(EnabledVar bool) { | ||
| 913 | + | core.LazyRegister(&xSettingsSetEnableHtml5LocalStorage, "WEBKIT", "webkit_settings_set_enable_html5_local_storage", false) | |||
| 914 | + | ||||
| 751 | xSettingsSetEnableHtml5LocalStorage(x.GoPointer(), EnabledVar) | 915 | xSettingsSetEnableHtml5LocalStorage(x.GoPointer(), EnabledVar) | ||
| 752 | } | 916 | } | ||
| 753 | 917 | ||||
| @@ -755,6 +919,8 @@ var xSettingsSetEnableHyperlinkAuditing func(uintptr, bool) | |||||
| 755 | 919 | ||||
| 756 | // Set the #WebKitSettings:enable-hyperlink-auditing property. | 920 | // Set the #WebKitSettings:enable-hyperlink-auditing property. | ||
| 757 | func (x *Settings) SetEnableHyperlinkAuditing(EnabledVar bool) { | 921 | func (x *Settings) SetEnableHyperlinkAuditing(EnabledVar bool) { | ||
| 922 | + | core.LazyRegister(&xSettingsSetEnableHyperlinkAuditing, "WEBKIT", "webkit_settings_set_enable_hyperlink_auditing", false) | |||
| 923 | + | ||||
| 758 | xSettingsSetEnableHyperlinkAuditing(x.GoPointer(), EnabledVar) | 924 | xSettingsSetEnableHyperlinkAuditing(x.GoPointer(), EnabledVar) | ||
| 759 | } | 925 | } | ||
| 760 | 926 | ||||
| @@ -762,6 +928,8 @@ var xSettingsSetEnableJavascript func(uintptr, bool) | |||||
| 762 | 928 | ||||
| 763 | // Set the #WebKitSettings:enable-javascript property. | 929 | // Set the #WebKitSettings:enable-javascript property. | ||
| 764 | func (x *Settings) SetEnableJavascript(EnabledVar bool) { | 930 | func (x *Settings) SetEnableJavascript(EnabledVar bool) { | ||
| 931 | + | core.LazyRegister(&xSettingsSetEnableJavascript, "WEBKIT", "webkit_settings_set_enable_javascript", false) | |||
| 932 | + | ||||
| 765 | xSettingsSetEnableJavascript(x.GoPointer(), EnabledVar) | 933 | xSettingsSetEnableJavascript(x.GoPointer(), EnabledVar) | ||
| 766 | } | 934 | } | ||
| 767 | 935 | ||||
| @@ -769,6 +937,8 @@ var xSettingsSetEnableJavascriptMarkup func(uintptr, bool) | |||||
| 769 | 937 | ||||
| 770 | // Set the #WebKitSettings:enable-javascript-markup property. | 938 | // Set the #WebKitSettings:enable-javascript-markup property. | ||
| 771 | func (x *Settings) SetEnableJavascriptMarkup(EnabledVar bool) { | 939 | func (x *Settings) SetEnableJavascriptMarkup(EnabledVar bool) { | ||
| 940 | + | core.LazyRegister(&xSettingsSetEnableJavascriptMarkup, "WEBKIT", "webkit_settings_set_enable_javascript_markup", false) | |||
| 941 | + | ||||
| 772 | xSettingsSetEnableJavascriptMarkup(x.GoPointer(), EnabledVar) | 942 | xSettingsSetEnableJavascriptMarkup(x.GoPointer(), EnabledVar) | ||
| 773 | } | 943 | } | ||
| 774 | 944 | ||||
| @@ -776,6 +946,8 @@ var xSettingsSetEnableMedia func(uintptr, bool) | |||||
| 776 | 946 | ||||
| 777 | // Set the #WebKitSettings:enable-media property. | 947 | // Set the #WebKitSettings:enable-media property. | ||
| 778 | func (x *Settings) SetEnableMedia(EnabledVar bool) { | 948 | func (x *Settings) SetEnableMedia(EnabledVar bool) { | ||
| 949 | + | core.LazyRegister(&xSettingsSetEnableMedia, "WEBKIT", "webkit_settings_set_enable_media", false) | |||
| 950 | + | ||||
| 779 | xSettingsSetEnableMedia(x.GoPointer(), EnabledVar) | 951 | xSettingsSetEnableMedia(x.GoPointer(), EnabledVar) | ||
| 780 | } | 952 | } | ||
| 781 | 953 | ||||
| @@ -783,6 +955,8 @@ var xSettingsSetEnableMediaCapabilities func(uintptr, bool) | |||||
| 783 | 955 | ||||
| 784 | // Set the #WebKitSettings:enable-media-capabilities property. | 956 | // Set the #WebKitSettings:enable-media-capabilities property. | ||
| 785 | func (x *Settings) SetEnableMediaCapabilities(EnabledVar bool) { | 957 | func (x *Settings) SetEnableMediaCapabilities(EnabledVar bool) { | ||
| 958 | + | core.LazyRegister(&xSettingsSetEnableMediaCapabilities, "WEBKIT", "webkit_settings_set_enable_media_capabilities", false) | |||
| 959 | + | ||||
| 786 | xSettingsSetEnableMediaCapabilities(x.GoPointer(), EnabledVar) | 960 | xSettingsSetEnableMediaCapabilities(x.GoPointer(), EnabledVar) | ||
| 787 | } | 961 | } | ||
| 788 | 962 | ||||
| @@ -790,6 +964,8 @@ var xSettingsSetEnableMediaStream func(uintptr, bool) | |||||
| 790 | 964 | ||||
| 791 | // Set the #WebKitSettings:enable-media-stream property. | 965 | // Set the #WebKitSettings:enable-media-stream property. | ||
| 792 | func (x *Settings) SetEnableMediaStream(EnabledVar bool) { | 966 | func (x *Settings) SetEnableMediaStream(EnabledVar bool) { | ||
| 967 | + | core.LazyRegister(&xSettingsSetEnableMediaStream, "WEBKIT", "webkit_settings_set_enable_media_stream", false) | |||
| 968 | + | ||||
| 793 | xSettingsSetEnableMediaStream(x.GoPointer(), EnabledVar) | 969 | xSettingsSetEnableMediaStream(x.GoPointer(), EnabledVar) | ||
| 794 | } | 970 | } | ||
| 795 | 971 | ||||
| @@ -797,6 +973,8 @@ var xSettingsSetEnableMediasource func(uintptr, bool) | |||||
| 797 | 973 | ||||
| 798 | // Set the #WebKitSettings:enable-mediasource property. | 974 | // Set the #WebKitSettings:enable-mediasource property. | ||
| 799 | func (x *Settings) SetEnableMediasource(EnabledVar bool) { | 975 | func (x *Settings) SetEnableMediasource(EnabledVar bool) { | ||
| 976 | + | core.LazyRegister(&xSettingsSetEnableMediasource, "WEBKIT", "webkit_settings_set_enable_mediasource", false) | |||
| 977 | + | ||||
| 800 | xSettingsSetEnableMediasource(x.GoPointer(), EnabledVar) | 978 | xSettingsSetEnableMediasource(x.GoPointer(), EnabledVar) | ||
| 801 | } | 979 | } | ||
| 802 | 980 | ||||
| @@ -804,6 +982,8 @@ var xSettingsSetEnableMockCaptureDevices func(uintptr, bool) | |||||
| 804 | 982 | ||||
| 805 | // Set the #WebKitSettings:enable-mock-capture-devices property. | 983 | // Set the #WebKitSettings:enable-mock-capture-devices property. | ||
| 806 | func (x *Settings) SetEnableMockCaptureDevices(EnabledVar bool) { | 984 | func (x *Settings) SetEnableMockCaptureDevices(EnabledVar bool) { | ||
| 985 | + | core.LazyRegister(&xSettingsSetEnableMockCaptureDevices, "WEBKIT", "webkit_settings_set_enable_mock_capture_devices", false) | |||
| 986 | + | ||||
| 807 | xSettingsSetEnableMockCaptureDevices(x.GoPointer(), EnabledVar) | 987 | xSettingsSetEnableMockCaptureDevices(x.GoPointer(), EnabledVar) | ||
| 808 | } | 988 | } | ||
| 809 | 989 | ||||
| @@ -811,6 +991,8 @@ var xSettingsSetEnableOfflineWebApplicationCache func(uintptr, bool) | |||||
| 811 | 991 | ||||
| 812 | // Setting no longer supported. This function does nothing. | 992 | // Setting no longer supported. This function does nothing. | ||
| 813 | func (x *Settings) SetEnableOfflineWebApplicationCache(EnabledVar bool) { | 993 | func (x *Settings) SetEnableOfflineWebApplicationCache(EnabledVar bool) { | ||
| 994 | + | core.LazyRegister(&xSettingsSetEnableOfflineWebApplicationCache, "WEBKIT", "webkit_settings_set_enable_offline_web_application_cache", false) | |||
| 995 | + | ||||
| 814 | xSettingsSetEnableOfflineWebApplicationCache(x.GoPointer(), EnabledVar) | 996 | xSettingsSetEnableOfflineWebApplicationCache(x.GoPointer(), EnabledVar) | ||
| 815 | } | 997 | } | ||
| 816 | 998 | ||||
| @@ -818,6 +1000,8 @@ var xSettingsSetEnablePageCache func(uintptr, bool) | |||||
| 818 | 1000 | ||||
| 819 | // Set the #WebKitSettings:enable-page-cache property. | 1001 | // Set the #WebKitSettings:enable-page-cache property. | ||
| 820 | func (x *Settings) SetEnablePageCache(EnabledVar bool) { | 1002 | func (x *Settings) SetEnablePageCache(EnabledVar bool) { | ||
| 1003 | + | core.LazyRegister(&xSettingsSetEnablePageCache, "WEBKIT", "webkit_settings_set_enable_page_cache", false) | |||
| 1004 | + | ||||
| 821 | xSettingsSetEnablePageCache(x.GoPointer(), EnabledVar) | 1005 | xSettingsSetEnablePageCache(x.GoPointer(), EnabledVar) | ||
| 822 | } | 1006 | } | ||
| 823 | 1007 | ||||
| @@ -825,6 +1009,8 @@ var xSettingsSetEnableResizableTextAreas func(uintptr, bool) | |||||
| 825 | 1009 | ||||
| 826 | // Set the #WebKitSettings:enable-resizable-text-areas property. | 1010 | // Set the #WebKitSettings:enable-resizable-text-areas property. | ||
| 827 | func (x *Settings) SetEnableResizableTextAreas(EnabledVar bool) { | 1011 | func (x *Settings) SetEnableResizableTextAreas(EnabledVar bool) { | ||
| 1012 | + | core.LazyRegister(&xSettingsSetEnableResizableTextAreas, "WEBKIT", "webkit_settings_set_enable_resizable_text_areas", false) | |||
| 1013 | + | ||||
| 828 | xSettingsSetEnableResizableTextAreas(x.GoPointer(), EnabledVar) | 1014 | xSettingsSetEnableResizableTextAreas(x.GoPointer(), EnabledVar) | ||
| 829 | } | 1015 | } | ||
| 830 | 1016 | ||||
| @@ -832,6 +1018,8 @@ var xSettingsSetEnableSiteSpecificQuirks func(uintptr, bool) | |||||
| 832 | 1018 | ||||
| 833 | // Set the #WebKitSettings:enable-site-specific-quirks property. | 1019 | // Set the #WebKitSettings:enable-site-specific-quirks property. | ||
| 834 | func (x *Settings) SetEnableSiteSpecificQuirks(EnabledVar bool) { | 1020 | func (x *Settings) SetEnableSiteSpecificQuirks(EnabledVar bool) { | ||
| 1021 | + | core.LazyRegister(&xSettingsSetEnableSiteSpecificQuirks, "WEBKIT", "webkit_settings_set_enable_site_specific_quirks", false) | |||
| 1022 | + | ||||
| 835 | xSettingsSetEnableSiteSpecificQuirks(x.GoPointer(), EnabledVar) | 1023 | xSettingsSetEnableSiteSpecificQuirks(x.GoPointer(), EnabledVar) | ||
| 836 | } | 1024 | } | ||
| 837 | 1025 | ||||
| @@ -839,6 +1027,8 @@ var xSettingsSetEnableSmoothScrolling func(uintptr, bool) | |||||
| 839 | 1027 | ||||
| 840 | // Set the #WebKitSettings:enable-smooth-scrolling property. | 1028 | // Set the #WebKitSettings:enable-smooth-scrolling property. | ||
| 841 | func (x *Settings) SetEnableSmoothScrolling(EnabledVar bool) { | 1029 | func (x *Settings) SetEnableSmoothScrolling(EnabledVar bool) { | ||
| 1030 | + | core.LazyRegister(&xSettingsSetEnableSmoothScrolling, "WEBKIT", "webkit_settings_set_enable_smooth_scrolling", false) | |||
| 1031 | + | ||||
| 842 | xSettingsSetEnableSmoothScrolling(x.GoPointer(), EnabledVar) | 1032 | xSettingsSetEnableSmoothScrolling(x.GoPointer(), EnabledVar) | ||
| 843 | } | 1033 | } | ||
| 844 | 1034 | ||||
| @@ -846,6 +1036,8 @@ var xSettingsSetEnableSpatialNavigation func(uintptr, bool) | |||||
| 846 | 1036 | ||||
| 847 | // Set the #WebKitSettings:enable-spatial-navigation property. | 1037 | // Set the #WebKitSettings:enable-spatial-navigation property. | ||
| 848 | func (x *Settings) SetEnableSpatialNavigation(EnabledVar bool) { | 1038 | func (x *Settings) SetEnableSpatialNavigation(EnabledVar bool) { | ||
| 1039 | + | core.LazyRegister(&xSettingsSetEnableSpatialNavigation, "WEBKIT", "webkit_settings_set_enable_spatial_navigation", false) | |||
| 1040 | + | ||||
| 849 | xSettingsSetEnableSpatialNavigation(x.GoPointer(), EnabledVar) | 1041 | xSettingsSetEnableSpatialNavigation(x.GoPointer(), EnabledVar) | ||
| 850 | } | 1042 | } | ||
| 851 | 1043 | ||||
| @@ -853,6 +1045,8 @@ var xSettingsSetEnableTabsToLinks func(uintptr, bool) | |||||
| 853 | 1045 | ||||
| 854 | // Set the #WebKitSettings:enable-tabs-to-links property. | 1046 | // Set the #WebKitSettings:enable-tabs-to-links property. | ||
| 855 | func (x *Settings) SetEnableTabsToLinks(EnabledVar bool) { | 1047 | func (x *Settings) SetEnableTabsToLinks(EnabledVar bool) { | ||
| 1048 | + | core.LazyRegister(&xSettingsSetEnableTabsToLinks, "WEBKIT", "webkit_settings_set_enable_tabs_to_links", false) | |||
| 1049 | + | ||||
| 856 | xSettingsSetEnableTabsToLinks(x.GoPointer(), EnabledVar) | 1050 | xSettingsSetEnableTabsToLinks(x.GoPointer(), EnabledVar) | ||
| 857 | } | 1051 | } | ||
| 858 | 1052 | ||||
| @@ -860,6 +1054,8 @@ var xSettingsSetEnableWebaudio func(uintptr, bool) | |||||
| 860 | 1054 | ||||
| 861 | // Set the #WebKitSettings:enable-webaudio property. | 1055 | // Set the #WebKitSettings:enable-webaudio property. | ||
| 862 | func (x *Settings) SetEnableWebaudio(EnabledVar bool) { | 1056 | func (x *Settings) SetEnableWebaudio(EnabledVar bool) { | ||
| 1057 | + | core.LazyRegister(&xSettingsSetEnableWebaudio, "WEBKIT", "webkit_settings_set_enable_webaudio", false) | |||
| 1058 | + | ||||
| 863 | xSettingsSetEnableWebaudio(x.GoPointer(), EnabledVar) | 1059 | xSettingsSetEnableWebaudio(x.GoPointer(), EnabledVar) | ||
| 864 | } | 1060 | } | ||
| 865 | 1061 | ||||
| @@ -867,6 +1063,8 @@ var xSettingsSetEnableWebgl func(uintptr, bool) | |||||
| 867 | 1063 | ||||
| 868 | // Set the #WebKitSettings:enable-webgl property. | 1064 | // Set the #WebKitSettings:enable-webgl property. | ||
| 869 | func (x *Settings) SetEnableWebgl(EnabledVar bool) { | 1065 | func (x *Settings) SetEnableWebgl(EnabledVar bool) { | ||
| 1066 | + | core.LazyRegister(&xSettingsSetEnableWebgl, "WEBKIT", "webkit_settings_set_enable_webgl", false) | |||
| 1067 | + | ||||
| 870 | xSettingsSetEnableWebgl(x.GoPointer(), EnabledVar) | 1068 | xSettingsSetEnableWebgl(x.GoPointer(), EnabledVar) | ||
| 871 | } | 1069 | } | ||
| 872 | 1070 | ||||
| @@ -876,6 +1074,8 @@ var xSettingsSetEnableWebrtc func(uintptr, bool) | |||||
| 876 | // | 1074 | // | ||
| 877 | // Setting this property to %TRUE implies the media-stream web-setting will also be enabled. | 1075 | // Setting this property to %TRUE implies the media-stream web-setting will also be enabled. | ||
| 878 | func (x *Settings) SetEnableWebrtc(EnabledVar bool) { | 1076 | func (x *Settings) SetEnableWebrtc(EnabledVar bool) { | ||
| 1077 | + | core.LazyRegister(&xSettingsSetEnableWebrtc, "WEBKIT", "webkit_settings_set_enable_webrtc", false) | |||
| 1078 | + | ||||
| 879 | xSettingsSetEnableWebrtc(x.GoPointer(), EnabledVar) | 1079 | xSettingsSetEnableWebrtc(x.GoPointer(), EnabledVar) | ||
| 880 | } | 1080 | } | ||
| 881 | 1081 | ||||
| @@ -883,6 +1083,8 @@ var xSettingsSetEnableWriteConsoleMessagesToStdout func(uintptr, bool) | |||||
| 883 | 1083 | ||||
| 884 | // Set the #WebKitSettings:enable-write-console-messages-to-stdout property. | 1084 | // Set the #WebKitSettings:enable-write-console-messages-to-stdout property. | ||
| 885 | func (x *Settings) SetEnableWriteConsoleMessagesToStdout(EnabledVar bool) { | 1085 | func (x *Settings) SetEnableWriteConsoleMessagesToStdout(EnabledVar bool) { | ||
| 1086 | + | core.LazyRegister(&xSettingsSetEnableWriteConsoleMessagesToStdout, "WEBKIT", "webkit_settings_set_enable_write_console_messages_to_stdout", false) | |||
| 1087 | + | ||||
| 886 | xSettingsSetEnableWriteConsoleMessagesToStdout(x.GoPointer(), EnabledVar) | 1088 | xSettingsSetEnableWriteConsoleMessagesToStdout(x.GoPointer(), EnabledVar) | ||
| 887 | } | 1089 | } | ||
| 888 | 1090 | ||||
| @@ -890,6 +1092,8 @@ var xSettingsSetFantasyFontFamily func(uintptr, string) | |||||
| 890 | 1092 | ||||
| 891 | // Set the #WebKitSettings:fantasy-font-family property. | 1093 | // Set the #WebKitSettings:fantasy-font-family property. | ||
| 892 | func (x *Settings) SetFantasyFontFamily(FantasyFontFamilyVar string) { | 1094 | func (x *Settings) SetFantasyFontFamily(FantasyFontFamilyVar string) { | ||
| 1095 | + | core.LazyRegister(&xSettingsSetFantasyFontFamily, "WEBKIT", "webkit_settings_set_fantasy_font_family", false) | |||
| 1096 | + | ||||
| 893 | xSettingsSetFantasyFontFamily(x.GoPointer(), FantasyFontFamilyVar) | 1097 | xSettingsSetFantasyFontFamily(x.GoPointer(), FantasyFontFamilyVar) | ||
| 894 | } | 1098 | } | ||
| 895 | 1099 | ||||
| @@ -902,6 +1106,8 @@ var xSettingsSetFeatureEnabled func(uintptr, *Feature, bool) | |||||
| 902 | // initial status, pass the value returned by | 1106 | // initial status, pass the value returned by | ||
| 903 | // [id@webkit_feature_get_default_value] as the @enabled parameter. | 1107 | // [id@webkit_feature_get_default_value] as the @enabled parameter. | ||
| 904 | func (x *Settings) SetFeatureEnabled(FeatureVar *Feature, EnabledVar bool) { | 1108 | func (x *Settings) SetFeatureEnabled(FeatureVar *Feature, EnabledVar bool) { | ||
| 1109 | + | core.LazyRegister(&xSettingsSetFeatureEnabled, "WEBKIT", "webkit_settings_set_feature_enabled", false) | |||
| 1110 | + | ||||
| 905 | xSettingsSetFeatureEnabled(x.GoPointer(), FeatureVar, EnabledVar) | 1111 | xSettingsSetFeatureEnabled(x.GoPointer(), FeatureVar, EnabledVar) | ||
| 906 | } | 1112 | } | ||
| 907 | 1113 | ||||
| @@ -909,6 +1115,8 @@ var xSettingsSetHardwareAccelerationPolicy func(uintptr, HardwareAccelerationPol | |||||
| 909 | 1115 | ||||
| 910 | // Set the #WebKitSettings:hardware-acceleration-policy property. | 1116 | // Set the #WebKitSettings:hardware-acceleration-policy property. | ||
| 911 | func (x *Settings) SetHardwareAccelerationPolicy(PolicyVar HardwareAccelerationPolicy) { | 1117 | func (x *Settings) SetHardwareAccelerationPolicy(PolicyVar HardwareAccelerationPolicy) { | ||
| 1118 | + | core.LazyRegister(&xSettingsSetHardwareAccelerationPolicy, "WEBKIT", "webkit_settings_set_hardware_acceleration_policy", false) | |||
| 1119 | + | ||||
| 912 | xSettingsSetHardwareAccelerationPolicy(x.GoPointer(), PolicyVar) | 1120 | xSettingsSetHardwareAccelerationPolicy(x.GoPointer(), PolicyVar) | ||
| 913 | } | 1121 | } | ||
| 914 | 1122 | ||||
| @@ -916,6 +1124,8 @@ var xSettingsSetJavascriptCanAccessClipboard func(uintptr, bool) | |||||
| 916 | 1124 | ||||
| 917 | // Set the #WebKitSettings:javascript-can-access-clipboard property. | 1125 | // Set the #WebKitSettings:javascript-can-access-clipboard property. | ||
| 918 | func (x *Settings) SetJavascriptCanAccessClipboard(EnabledVar bool) { | 1126 | func (x *Settings) SetJavascriptCanAccessClipboard(EnabledVar bool) { | ||
| 1127 | + | core.LazyRegister(&xSettingsSetJavascriptCanAccessClipboard, "WEBKIT", "webkit_settings_set_javascript_can_access_clipboard", false) | |||
| 1128 | + | ||||
| 919 | xSettingsSetJavascriptCanAccessClipboard(x.GoPointer(), EnabledVar) | 1129 | xSettingsSetJavascriptCanAccessClipboard(x.GoPointer(), EnabledVar) | ||
| 920 | } | 1130 | } | ||
| 921 | 1131 | ||||
| @@ -923,6 +1133,8 @@ var xSettingsSetJavascriptCanOpenWindowsAutomatically func(uintptr, bool) | |||||
| 923 | 1133 | ||||
| 924 | // Set the #WebKitSettings:javascript-can-open-windows-automatically property. | 1134 | // Set the #WebKitSettings:javascript-can-open-windows-automatically property. | ||
| 925 | func (x *Settings) SetJavascriptCanOpenWindowsAutomatically(EnabledVar bool) { | 1135 | func (x *Settings) SetJavascriptCanOpenWindowsAutomatically(EnabledVar bool) { | ||
| 1136 | + | core.LazyRegister(&xSettingsSetJavascriptCanOpenWindowsAutomatically, "WEBKIT", "webkit_settings_set_javascript_can_open_windows_automatically", false) | |||
| 1137 | + | ||||
| 926 | xSettingsSetJavascriptCanOpenWindowsAutomatically(x.GoPointer(), EnabledVar) | 1138 | xSettingsSetJavascriptCanOpenWindowsAutomatically(x.GoPointer(), EnabledVar) | ||
| 927 | } | 1139 | } | ||
| 928 | 1140 | ||||
| @@ -930,6 +1142,8 @@ var xSettingsSetLoadIconsIgnoringImageLoadSetting func(uintptr, bool) | |||||
| 930 | 1142 | ||||
| 931 | // Setting no longer supported. This function does nothing. | 1143 | // Setting no longer supported. This function does nothing. | ||
| 932 | func (x *Settings) SetLoadIconsIgnoringImageLoadSetting(EnabledVar bool) { | 1144 | func (x *Settings) SetLoadIconsIgnoringImageLoadSetting(EnabledVar bool) { | ||
| 1145 | + | core.LazyRegister(&xSettingsSetLoadIconsIgnoringImageLoadSetting, "WEBKIT", "webkit_settings_set_load_icons_ignoring_image_load_setting", false) | |||
| 1146 | + | ||||
| 933 | xSettingsSetLoadIconsIgnoringImageLoadSetting(x.GoPointer(), EnabledVar) | 1147 | xSettingsSetLoadIconsIgnoringImageLoadSetting(x.GoPointer(), EnabledVar) | ||
| 934 | } | 1148 | } | ||
| 935 | 1149 | ||||
| @@ -939,6 +1153,8 @@ var xSettingsSetMathFontFamily func(uintptr, uintptr) | |||||
| 939 | // | 1153 | // | ||
| 940 | // Since 2.52 | 1154 | // Since 2.52 | ||
| 941 | func (x *Settings) SetMathFontFamily(MathFontFamilyVar *string) { | 1155 | func (x *Settings) SetMathFontFamily(MathFontFamilyVar *string) { | ||
| 1156 | + | core.LazyRegister(&xSettingsSetMathFontFamily, "WEBKIT", "webkit_settings_set_math_font_family", false) | |||
| 1157 | + | ||||
| 942 | MathFontFamilyVarPtr := core.GStrdupNullable(MathFontFamilyVar) | 1158 | MathFontFamilyVarPtr := core.GStrdupNullable(MathFontFamilyVar) | ||
| 943 | defer core.GFreeNullable(MathFontFamilyVarPtr) | 1159 | defer core.GFreeNullable(MathFontFamilyVarPtr) | ||
| 944 | 1160 | ||||
| @@ -949,6 +1165,8 @@ var xSettingsSetMediaContentTypesRequiringHardwareSupport func(uintptr, uintptr) | |||||
| 949 | 1165 | ||||
| 950 | // Set the #WebKitSettings:media-content-types-requiring-hardware-support property. | 1166 | // Set the #WebKitSettings:media-content-types-requiring-hardware-support property. | ||
| 951 | func (x *Settings) SetMediaContentTypesRequiringHardwareSupport(ContentTypesVar *string) { | 1167 | func (x *Settings) SetMediaContentTypesRequiringHardwareSupport(ContentTypesVar *string) { | ||
| 1168 | + | core.LazyRegister(&xSettingsSetMediaContentTypesRequiringHardwareSupport, "WEBKIT", "webkit_settings_set_media_content_types_requiring_hardware_support", false) | |||
| 1169 | + | ||||
| 952 | ContentTypesVarPtr := core.GStrdupNullable(ContentTypesVar) | 1170 | ContentTypesVarPtr := core.GStrdupNullable(ContentTypesVar) | ||
| 953 | defer core.GFreeNullable(ContentTypesVarPtr) | 1171 | defer core.GFreeNullable(ContentTypesVarPtr) | ||
| 954 | 1172 | ||||
| @@ -959,6 +1177,8 @@ var xSettingsSetMediaPlaybackAllowsInline func(uintptr, bool) | |||||
| 959 | 1177 | ||||
| 960 | // Set the #WebKitSettings:media-playback-allows-inline property. | 1178 | // Set the #WebKitSettings:media-playback-allows-inline property. | ||
| 961 | func (x *Settings) SetMediaPlaybackAllowsInline(EnabledVar bool) { | 1179 | func (x *Settings) SetMediaPlaybackAllowsInline(EnabledVar bool) { | ||
| 1180 | + | core.LazyRegister(&xSettingsSetMediaPlaybackAllowsInline, "WEBKIT", "webkit_settings_set_media_playback_allows_inline", false) | |||
| 1181 | + | ||||
| 962 | xSettingsSetMediaPlaybackAllowsInline(x.GoPointer(), EnabledVar) | 1182 | xSettingsSetMediaPlaybackAllowsInline(x.GoPointer(), EnabledVar) | ||
| 963 | } | 1183 | } | ||
| 964 | 1184 | ||||
| @@ -966,6 +1186,8 @@ var xSettingsSetMediaPlaybackRequiresUserGesture func(uintptr, bool) | |||||
| 966 | 1186 | ||||
| 967 | // Set the #WebKitSettings:media-playback-requires-user-gesture property. | 1187 | // Set the #WebKitSettings:media-playback-requires-user-gesture property. | ||
| 968 | func (x *Settings) SetMediaPlaybackRequiresUserGesture(EnabledVar bool) { | 1188 | func (x *Settings) SetMediaPlaybackRequiresUserGesture(EnabledVar bool) { | ||
| 1189 | + | core.LazyRegister(&xSettingsSetMediaPlaybackRequiresUserGesture, "WEBKIT", "webkit_settings_set_media_playback_requires_user_gesture", false) | |||
| 1190 | + | ||||
| 969 | xSettingsSetMediaPlaybackRequiresUserGesture(x.GoPointer(), EnabledVar) | 1191 | xSettingsSetMediaPlaybackRequiresUserGesture(x.GoPointer(), EnabledVar) | ||
| 970 | } | 1192 | } | ||
| 971 | 1193 | ||||
| @@ -973,6 +1195,8 @@ var xSettingsSetMinimumFontSize func(uintptr, uint32) | |||||
| 973 | 1195 | ||||
| 974 | // Set the #WebKitSettings:minimum-font-size property. | 1196 | // Set the #WebKitSettings:minimum-font-size property. | ||
| 975 | func (x *Settings) SetMinimumFontSize(FontSizeVar uint32) { | 1197 | func (x *Settings) SetMinimumFontSize(FontSizeVar uint32) { | ||
| 1198 | + | core.LazyRegister(&xSettingsSetMinimumFontSize, "WEBKIT", "webkit_settings_set_minimum_font_size", false) | |||
| 1199 | + | ||||
| 976 | xSettingsSetMinimumFontSize(x.GoPointer(), FontSizeVar) | 1200 | xSettingsSetMinimumFontSize(x.GoPointer(), FontSizeVar) | ||
| 977 | } | 1201 | } | ||
| 978 | 1202 | ||||
| @@ -980,6 +1204,8 @@ var xSettingsSetMonospaceFontFamily func(uintptr, string) | |||||
| 980 | 1204 | ||||
| 981 | // Set the #WebKitSettings:monospace-font-family property. | 1205 | // Set the #WebKitSettings:monospace-font-family property. | ||
| 982 | func (x *Settings) SetMonospaceFontFamily(MonospaceFontFamilyVar string) { | 1206 | func (x *Settings) SetMonospaceFontFamily(MonospaceFontFamilyVar string) { | ||
| 1207 | + | core.LazyRegister(&xSettingsSetMonospaceFontFamily, "WEBKIT", "webkit_settings_set_monospace_font_family", false) | |||
| 1208 | + | ||||
| 983 | xSettingsSetMonospaceFontFamily(x.GoPointer(), MonospaceFontFamilyVar) | 1209 | xSettingsSetMonospaceFontFamily(x.GoPointer(), MonospaceFontFamilyVar) | ||
| 984 | } | 1210 | } | ||
| 985 | 1211 | ||||
| @@ -987,6 +1213,8 @@ var xSettingsSetPictographFontFamily func(uintptr, string) | |||||
| 987 | 1213 | ||||
| 988 | // Set the #WebKitSettings:pictograph-font-family property. | 1214 | // Set the #WebKitSettings:pictograph-font-family property. | ||
| 989 | func (x *Settings) SetPictographFontFamily(PictographFontFamilyVar string) { | 1215 | func (x *Settings) SetPictographFontFamily(PictographFontFamilyVar string) { | ||
| 1216 | + | core.LazyRegister(&xSettingsSetPictographFontFamily, "WEBKIT", "webkit_settings_set_pictograph_font_family", false) | |||
| 1217 | + | ||||
| 990 | xSettingsSetPictographFontFamily(x.GoPointer(), PictographFontFamilyVar) | 1218 | xSettingsSetPictographFontFamily(x.GoPointer(), PictographFontFamilyVar) | ||
| 991 | } | 1219 | } | ||
| 992 | 1220 | ||||
| @@ -994,6 +1222,8 @@ var xSettingsSetPrintBackgrounds func(uintptr, bool) | |||||
| 994 | 1222 | ||||
| 995 | // Set the #WebKitSettings:print-backgrounds property. | 1223 | // Set the #WebKitSettings:print-backgrounds property. | ||
| 996 | func (x *Settings) SetPrintBackgrounds(PrintBackgroundsVar bool) { | 1224 | func (x *Settings) SetPrintBackgrounds(PrintBackgroundsVar bool) { | ||
| 1225 | + | core.LazyRegister(&xSettingsSetPrintBackgrounds, "WEBKIT", "webkit_settings_set_print_backgrounds", false) | |||
| 1226 | + | ||||
| 997 | xSettingsSetPrintBackgrounds(x.GoPointer(), PrintBackgroundsVar) | 1227 | xSettingsSetPrintBackgrounds(x.GoPointer(), PrintBackgroundsVar) | ||
| 998 | } | 1228 | } | ||
| 999 | 1229 | ||||
| @@ -1001,6 +1231,8 @@ var xSettingsSetSansSerifFontFamily func(uintptr, string) | |||||
| 1001 | 1231 | ||||
| 1002 | // Set the #WebKitSettings:sans-serif-font-family property. | 1232 | // Set the #WebKitSettings:sans-serif-font-family property. | ||
| 1003 | func (x *Settings) SetSansSerifFontFamily(SansSerifFontFamilyVar string) { | 1233 | func (x *Settings) SetSansSerifFontFamily(SansSerifFontFamilyVar string) { | ||
| 1234 | + | core.LazyRegister(&xSettingsSetSansSerifFontFamily, "WEBKIT", "webkit_settings_set_sans_serif_font_family", false) | |||
| 1235 | + | ||||
| 1004 | xSettingsSetSansSerifFontFamily(x.GoPointer(), SansSerifFontFamilyVar) | 1236 | xSettingsSetSansSerifFontFamily(x.GoPointer(), SansSerifFontFamilyVar) | ||
| 1005 | } | 1237 | } | ||
| 1006 | 1238 | ||||
| @@ -1008,6 +1240,8 @@ var xSettingsSetSerifFontFamily func(uintptr, string) | |||||
| 1008 | 1240 | ||||
| 1009 | // Set the #WebKitSettings:serif-font-family property. | 1241 | // Set the #WebKitSettings:serif-font-family property. | ||
| 1010 | func (x *Settings) SetSerifFontFamily(SerifFontFamilyVar string) { | 1242 | func (x *Settings) SetSerifFontFamily(SerifFontFamilyVar string) { | ||
| 1243 | + | core.LazyRegister(&xSettingsSetSerifFontFamily, "WEBKIT", "webkit_settings_set_serif_font_family", false) | |||
| 1244 | + | ||||
| 1011 | xSettingsSetSerifFontFamily(x.GoPointer(), SerifFontFamilyVar) | 1245 | xSettingsSetSerifFontFamily(x.GoPointer(), SerifFontFamilyVar) | ||
| 1012 | } | 1246 | } | ||
| 1013 | 1247 | ||||
| @@ -1015,6 +1249,8 @@ var xSettingsSetUserAgent func(uintptr, uintptr) | |||||
| 1015 | 1249 | ||||
| 1016 | // Set the #WebKitSettings:user-agent property. | 1250 | // Set the #WebKitSettings:user-agent property. | ||
| 1017 | func (x *Settings) SetUserAgent(UserAgentVar *string) { | 1251 | func (x *Settings) SetUserAgent(UserAgentVar *string) { | ||
| 1252 | + | core.LazyRegister(&xSettingsSetUserAgent, "WEBKIT", "webkit_settings_set_user_agent", false) | |||
| 1253 | + | ||||
| 1018 | UserAgentVarPtr := core.GStrdupNullable(UserAgentVar) | 1254 | UserAgentVarPtr := core.GStrdupNullable(UserAgentVar) | ||
| 1019 | defer core.GFreeNullable(UserAgentVarPtr) | 1255 | defer core.GFreeNullable(UserAgentVarPtr) | ||
| 1020 | 1256 | ||||
| @@ -1029,6 +1265,8 @@ var xSettingsSetUserAgentWithApplicationDetails func(uintptr, uintptr, uintptr) | |||||
| 1029 | // agent. If no application name or version is given, the default user agent used will be used. If only | 1265 | // agent. If no application name or version is given, the default user agent used will be used. If only | ||
| 1030 | // the version is given, the default engine version is used with the given application name. | 1266 | // the version is given, the default engine version is used with the given application name. | ||
| 1031 | func (x *Settings) SetUserAgentWithApplicationDetails(ApplicationNameVar *string, ApplicationVersionVar *string) { | 1267 | func (x *Settings) SetUserAgentWithApplicationDetails(ApplicationNameVar *string, ApplicationVersionVar *string) { | ||
| 1268 | + | core.LazyRegister(&xSettingsSetUserAgentWithApplicationDetails, "WEBKIT", "webkit_settings_set_user_agent_with_application_details", false) | |||
| 1269 | + | ||||
| 1032 | ApplicationNameVarPtr := core.GStrdupNullable(ApplicationNameVar) | 1270 | ApplicationNameVarPtr := core.GStrdupNullable(ApplicationNameVar) | ||
| 1033 | defer core.GFreeNullable(ApplicationNameVarPtr) | 1271 | defer core.GFreeNullable(ApplicationNameVarPtr) | ||
| 1034 | 1272 | ||||
| @@ -1042,6 +1280,8 @@ var xSettingsSetWebrtcUdpPortsRange func(uintptr, string) | |||||
| 1042 | 1280 | ||||
| 1043 | // Set the [property@Settings:webrtc-udp-ports-range] property. | 1281 | // Set the [property@Settings:webrtc-udp-ports-range] property. | ||
| 1044 | func (x *Settings) SetWebrtcUdpPortsRange(UdpPortRangeVar string) { | 1282 | func (x *Settings) SetWebrtcUdpPortsRange(UdpPortRangeVar string) { | ||
| 1283 | + | core.LazyRegister(&xSettingsSetWebrtcUdpPortsRange, "WEBKIT", "webkit_settings_set_webrtc_udp_ports_range", false) | |||
| 1284 | + | ||||
| 1045 | xSettingsSetWebrtcUdpPortsRange(x.GoPointer(), UdpPortRangeVar) | 1285 | xSettingsSetWebrtcUdpPortsRange(x.GoPointer(), UdpPortRangeVar) | ||
| 1046 | } | 1286 | } | ||
| 1047 | 1287 | ||||
| @@ -1049,6 +1289,8 @@ var xSettingsSetZoomTextOnly func(uintptr, bool) | |||||
| 1049 | 1289 | ||||
| 1050 | // Set the #WebKitSettings:zoom-text-only property. | 1290 | // Set the #WebKitSettings:zoom-text-only property. | ||
| 1051 | func (x *Settings) SetZoomTextOnly(ZoomTextOnlyVar bool) { | 1291 | func (x *Settings) SetZoomTextOnly(ZoomTextOnlyVar bool) { | ||
| 1292 | + | core.LazyRegister(&xSettingsSetZoomTextOnly, "WEBKIT", "webkit_settings_set_zoom_text_only", false) | |||
| 1293 | + | ||||
| 1052 | xSettingsSetZoomTextOnly(x.GoPointer(), ZoomTextOnlyVar) | 1294 | xSettingsSetZoomTextOnly(x.GoPointer(), ZoomTextOnlyVar) | ||
| 1053 | } | 1295 | } | ||
| 1054 | 1296 | ||||
| @@ -2292,6 +2534,8 @@ var xSettingsFontSizeToPixels func(uint32) uint32 | |||||
| 2292 | // in points to font size values in pixels when setting the font size properties | 2534 | // in points to font size values in pixels when setting the font size properties | ||
| 2293 | // of #WebKitSettings. | 2535 | // of #WebKitSettings. | ||
| 2294 | func SettingsFontSizeToPixels(PointsVar uint32) uint32 { | 2536 | func SettingsFontSizeToPixels(PointsVar uint32) uint32 { | ||
| 2537 | + | core.LazyRegister(&xSettingsFontSizeToPixels, "WEBKIT", "webkit_settings_font_size_to_pixels", false) | |||
| 2538 | + | ||||
| 2295 | cret := xSettingsFontSizeToPixels(PointsVar) | 2539 | cret := xSettingsFontSizeToPixels(PointsVar) | ||
| 2296 | return cret | 2540 | return cret | ||
| 2297 | } | 2541 | } | ||
| @@ -2304,6 +2548,8 @@ var xSettingsFontSizeToPoints func(uint32) uint32 | |||||
| 2304 | // in pixels to font size values in points when getting the font size properties | 2548 | // in pixels to font size values in points when getting the font size properties | ||
| 2305 | // of #WebKitSettings. | 2549 | // of #WebKitSettings. | ||
| 2306 | func SettingsFontSizeToPoints(PixelsVar uint32) uint32 { | 2550 | func SettingsFontSizeToPoints(PixelsVar uint32) uint32 { | ||
| 2551 | + | core.LazyRegister(&xSettingsFontSizeToPoints, "WEBKIT", "webkit_settings_font_size_to_points", false) | |||
| 2552 | + | ||||
| 2307 | cret := xSettingsFontSizeToPoints(PixelsVar) | 2553 | cret := xSettingsFontSizeToPoints(PixelsVar) | ||
| 2308 | return cret | 2554 | return cret | ||
| 2309 | } | 2555 | } | ||
| @@ -2320,6 +2566,8 @@ var xSettingsGetAllFeatures func() uintptr | |||||
| 2320 | // [func@Settings.get_development_features] and | 2566 | // [func@Settings.get_development_features] and | ||
| 2321 | // [func@Settings.get_experimental_features] instead. | 2567 | // [func@Settings.get_experimental_features] instead. | ||
| 2322 | func SettingsGetAllFeatures() *FeatureList { | 2568 | func SettingsGetAllFeatures() *FeatureList { | ||
| 2569 | + | core.LazyRegister(&xSettingsGetAllFeatures, "WEBKIT", "webkit_settings_get_all_features", false) | |||
| 2570 | + | ||||
| 2323 | cret := xSettingsGetAllFeatures() | 2571 | cret := xSettingsGetAllFeatures() | ||
| 2324 | if cret == 0 { | 2572 | if cret == 0 { | ||
| 2325 | return nil | 2573 | return nil | ||
| @@ -2337,6 +2585,8 @@ var xSettingsGetDevelopmentFeatures func() uintptr | |||||
| 2337 | // *not* be exposed to end users; see [enum@FeatureStatus] for | 2585 | // *not* be exposed to end users; see [enum@FeatureStatus] for | ||
| 2338 | // more details. | 2586 | // more details. | ||
| 2339 | func SettingsGetDevelopmentFeatures() *FeatureList { | 2587 | func SettingsGetDevelopmentFeatures() *FeatureList { | ||
| 2588 | + | core.LazyRegister(&xSettingsGetDevelopmentFeatures, "WEBKIT", "webkit_settings_get_development_features", false) | |||
| 2589 | + | ||||
| 2340 | cret := xSettingsGetDevelopmentFeatures() | 2590 | cret := xSettingsGetDevelopmentFeatures() | ||
| 2341 | if cret == 0 { | 2591 | if cret == 0 { | ||
| 2342 | return nil | 2592 | return nil | ||
| @@ -2353,6 +2603,8 @@ var xSettingsGetExperimentalFeatures func() uintptr | |||||
| 2353 | // certain applications may want to expose to end users; see | 2603 | // certain applications may want to expose to end users; see | ||
| 2354 | // [enum@FeatureStatus] for more details. | 2604 | // [enum@FeatureStatus] for more details. | ||
| 2355 | func SettingsGetExperimentalFeatures() *FeatureList { | 2605 | func SettingsGetExperimentalFeatures() *FeatureList { | ||
| 2606 | + | core.LazyRegister(&xSettingsGetExperimentalFeatures, "WEBKIT", "webkit_settings_get_experimental_features", false) | |||
| 2607 | + | ||||
| 2356 | cret := xSettingsGetExperimentalFeatures() | 2608 | cret := xSettingsGetExperimentalFeatures() | ||
| 2357 | if cret == 0 { | 2609 | if cret == 0 { | ||
| 2358 | return nil | 2610 | return nil | ||
| @@ -2363,151 +2615,8 @@ func SettingsGetExperimentalFeatures() *FeatureList { | |||||
| 2363 | func init() { | 2615 | func init() { | ||
| 2364 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | 2616 | core.SetPackageName("WEBKIT", "webkitgtk-6.0") | ||
| 2365 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | 2617 | core.SetSharedLibraries("WEBKIT", []string{"libwebkitgtk-6.0.so.4", "libjavascriptcoregtk-6.0.so.1", "libwebkitgtk-6.0.4.dylib", "libjavascriptcoregtk-6.0.1.dylib"}) | ||
| 2366 | - | var libs []uintptr | |||
| 2367 | - | for _, libPath := range core.GetPaths("WEBKIT") { | |||
| 2368 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 2369 | - | if err != nil { | |||
| 2370 | - | panic(err) | |||
| 2371 | - | } | |||
| 2372 | - | libs = append(libs, lib) | |||
| 2373 | - | } | |||
| 2374 | 2618 | ||||
| 2375 | - | core.PuregoSafeRegister(&xHardwareAccelerationPolicyGLibType, libs, "webkit_hardware_acceleration_policy_get_type") | 2619 | + | // Manually register types since they aren't automatically registered when |
| 2376 | - | 2620 | + | // WebKit is loaded. See https://bugs.webkit.org/show_bug.cgi?id=175937. | |
| 2377 | - | core.PuregoSafeRegister(&xSettingsGLibType, libs, "webkit_settings_get_type") | |||
| 2378 | - | ||||
| 2379 | - | core.PuregoSafeRegister(&xNewSettings, libs, "webkit_settings_new") | |||
| 2380 | - | core.PuregoSafeRegister(&xNewSettingsWithSettings, libs, "webkit_settings_new_with_settings") | |||
| 2381 | - | ||||
| 2382 | - | core.PuregoSafeRegister(&xSettingsApplyFromKeyFile, libs, "webkit_settings_apply_from_key_file") | |||
| 2383 | - | core.PuregoSafeRegister(&xSettingsGetAllowFileAccessFromFileUrls, libs, "webkit_settings_get_allow_file_access_from_file_urls") | |||
| 2384 | - | core.PuregoSafeRegister(&xSettingsGetAllowModalDialogs, libs, "webkit_settings_get_allow_modal_dialogs") | |||
| 2385 | - | core.PuregoSafeRegister(&xSettingsGetAllowTopNavigationToDataUrls, libs, "webkit_settings_get_allow_top_navigation_to_data_urls") | |||
| 2386 | - | core.PuregoSafeRegister(&xSettingsGetAllowUniversalAccessFromFileUrls, libs, "webkit_settings_get_allow_universal_access_from_file_urls") | |||
| 2387 | - | core.PuregoSafeRegister(&xSettingsGetAutoLoadImages, libs, "webkit_settings_get_auto_load_images") | |||
| 2388 | - | core.PuregoSafeRegister(&xSettingsGetCursiveFontFamily, libs, "webkit_settings_get_cursive_font_family") | |||
| 2389 | - | core.PuregoSafeRegister(&xSettingsGetDefaultCharset, libs, "webkit_settings_get_default_charset") | |||
| 2390 | - | core.PuregoSafeRegister(&xSettingsGetDefaultFontFamily, libs, "webkit_settings_get_default_font_family") | |||
| 2391 | - | core.PuregoSafeRegister(&xSettingsGetDefaultFontSize, libs, "webkit_settings_get_default_font_size") | |||
| 2392 | - | core.PuregoSafeRegister(&xSettingsGetDefaultMonospaceFontSize, libs, "webkit_settings_get_default_monospace_font_size") | |||
| 2393 | - | core.PuregoSafeRegister(&xSettingsGetDisableWebSecurity, libs, "webkit_settings_get_disable_web_security") | |||
| 2394 | - | core.PuregoSafeRegister(&xSettingsGetDrawCompositingIndicators, libs, "webkit_settings_get_draw_compositing_indicators") | |||
| 2395 | - | core.PuregoSafeRegister(&xSettingsGetEnable2dCanvasAcceleration, libs, "webkit_settings_get_enable_2d_canvas_acceleration") | |||
| 2396 | - | core.PuregoSafeRegister(&xSettingsGetEnableBackForwardNavigationGestures, libs, "webkit_settings_get_enable_back_forward_navigation_gestures") | |||
| 2397 | - | core.PuregoSafeRegister(&xSettingsGetEnableCaretBrowsing, libs, "webkit_settings_get_enable_caret_browsing") | |||
| 2398 | - | core.PuregoSafeRegister(&xSettingsGetEnableDeveloperExtras, libs, "webkit_settings_get_enable_developer_extras") | |||
| 2399 | - | core.PuregoSafeRegister(&xSettingsGetEnableDnsPrefetching, libs, "webkit_settings_get_enable_dns_prefetching") | |||
| 2400 | - | core.PuregoSafeRegister(&xSettingsGetEnableEncryptedMedia, libs, "webkit_settings_get_enable_encrypted_media") | |||
| 2401 | - | core.PuregoSafeRegister(&xSettingsGetEnableFullscreen, libs, "webkit_settings_get_enable_fullscreen") | |||
| 2402 | - | core.PuregoSafeRegister(&xSettingsGetEnableHtml5Database, libs, "webkit_settings_get_enable_html5_database") | |||
| 2403 | - | core.PuregoSafeRegister(&xSettingsGetEnableHtml5LocalStorage, libs, "webkit_settings_get_enable_html5_local_storage") | |||
| 2404 | - | core.PuregoSafeRegister(&xSettingsGetEnableHyperlinkAuditing, libs, "webkit_settings_get_enable_hyperlink_auditing") | |||
| 2405 | - | core.PuregoSafeRegister(&xSettingsGetEnableJavascript, libs, "webkit_settings_get_enable_javascript") | |||
| 2406 | - | core.PuregoSafeRegister(&xSettingsGetEnableJavascriptMarkup, libs, "webkit_settings_get_enable_javascript_markup") | |||
| 2407 | - | core.PuregoSafeRegister(&xSettingsGetEnableMedia, libs, "webkit_settings_get_enable_media") | |||
| 2408 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediaCapabilities, libs, "webkit_settings_get_enable_media_capabilities") | |||
| 2409 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediaStream, libs, "webkit_settings_get_enable_media_stream") | |||
| 2410 | - | core.PuregoSafeRegister(&xSettingsGetEnableMediasource, libs, "webkit_settings_get_enable_mediasource") | |||
| 2411 | - | core.PuregoSafeRegister(&xSettingsGetEnableMockCaptureDevices, libs, "webkit_settings_get_enable_mock_capture_devices") | |||
| 2412 | - | core.PuregoSafeRegister(&xSettingsGetEnableOfflineWebApplicationCache, libs, "webkit_settings_get_enable_offline_web_application_cache") | |||
| 2413 | - | core.PuregoSafeRegister(&xSettingsGetEnablePageCache, libs, "webkit_settings_get_enable_page_cache") | |||
| 2414 | - | core.PuregoSafeRegister(&xSettingsGetEnableResizableTextAreas, libs, "webkit_settings_get_enable_resizable_text_areas") | |||
| 2415 | - | core.PuregoSafeRegister(&xSettingsGetEnableSiteSpecificQuirks, libs, "webkit_settings_get_enable_site_specific_quirks") | |||
| 2416 | - | core.PuregoSafeRegister(&xSettingsGetEnableSmoothScrolling, libs, "webkit_settings_get_enable_smooth_scrolling") | |||
| 2417 | - | core.PuregoSafeRegister(&xSettingsGetEnableSpatialNavigation, libs, "webkit_settings_get_enable_spatial_navigation") | |||
| 2418 | - | core.PuregoSafeRegister(&xSettingsGetEnableTabsToLinks, libs, "webkit_settings_get_enable_tabs_to_links") | |||
| 2419 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebaudio, libs, "webkit_settings_get_enable_webaudio") | |||
| 2420 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebgl, libs, "webkit_settings_get_enable_webgl") | |||
| 2421 | - | core.PuregoSafeRegister(&xSettingsGetEnableWebrtc, libs, "webkit_settings_get_enable_webrtc") | |||
| 2422 | - | core.PuregoSafeRegister(&xSettingsGetEnableWriteConsoleMessagesToStdout, libs, "webkit_settings_get_enable_write_console_messages_to_stdout") | |||
| 2423 | - | core.PuregoSafeRegister(&xSettingsGetFantasyFontFamily, libs, "webkit_settings_get_fantasy_font_family") | |||
| 2424 | - | core.PuregoSafeRegister(&xSettingsGetFeatureEnabled, libs, "webkit_settings_get_feature_enabled") | |||
| 2425 | - | core.PuregoSafeRegister(&xSettingsGetHardwareAccelerationPolicy, libs, "webkit_settings_get_hardware_acceleration_policy") | |||
| 2426 | - | core.PuregoSafeRegister(&xSettingsGetJavascriptCanAccessClipboard, libs, "webkit_settings_get_javascript_can_access_clipboard") | |||
| 2427 | - | core.PuregoSafeRegister(&xSettingsGetJavascriptCanOpenWindowsAutomatically, libs, "webkit_settings_get_javascript_can_open_windows_automatically") | |||
| 2428 | - | core.PuregoSafeRegister(&xSettingsGetLoadIconsIgnoringImageLoadSetting, libs, "webkit_settings_get_load_icons_ignoring_image_load_setting") | |||
| 2429 | - | core.PuregoSafeRegister(&xSettingsGetMathFontFamily, libs, "webkit_settings_get_math_font_family") | |||
| 2430 | - | core.PuregoSafeRegister(&xSettingsGetMediaContentTypesRequiringHardwareSupport, libs, "webkit_settings_get_media_content_types_requiring_hardware_support") | |||
| 2431 | - | core.PuregoSafeRegister(&xSettingsGetMediaPlaybackAllowsInline, libs, "webkit_settings_get_media_playback_allows_inline") | |||
| 2432 | - | core.PuregoSafeRegister(&xSettingsGetMediaPlaybackRequiresUserGesture, libs, "webkit_settings_get_media_playback_requires_user_gesture") | |||
| 2433 | - | core.PuregoSafeRegister(&xSettingsGetMinimumFontSize, libs, "webkit_settings_get_minimum_font_size") | |||
| 2434 | - | core.PuregoSafeRegister(&xSettingsGetMonospaceFontFamily, libs, "webkit_settings_get_monospace_font_family") | |||
| 2435 | - | core.PuregoSafeRegister(&xSettingsGetPictographFontFamily, libs, "webkit_settings_get_pictograph_font_family") | |||
| 2436 | - | core.PuregoSafeRegister(&xSettingsGetPrintBackgrounds, libs, "webkit_settings_get_print_backgrounds") | |||
| 2437 | - | core.PuregoSafeRegister(&xSettingsGetSansSerifFontFamily, libs, "webkit_settings_get_sans_serif_font_family") | |||
| 2438 | - | core.PuregoSafeRegister(&xSettingsGetSerifFontFamily, libs, "webkit_settings_get_serif_font_family") | |||
| 2439 | - | core.PuregoSafeRegister(&xSettingsGetUserAgent, libs, "webkit_settings_get_user_agent") | |||
| 2440 | - | core.PuregoSafeRegister(&xSettingsGetWebrtcUdpPortsRange, libs, "webkit_settings_get_webrtc_udp_ports_range") | |||
| 2441 | - | core.PuregoSafeRegister(&xSettingsGetZoomTextOnly, libs, "webkit_settings_get_zoom_text_only") | |||
| 2442 | - | core.PuregoSafeRegister(&xSettingsSetAllowFileAccessFromFileUrls, libs, "webkit_settings_set_allow_file_access_from_file_urls") | |||
| 2443 | - | core.PuregoSafeRegister(&xSettingsSetAllowModalDialogs, libs, "webkit_settings_set_allow_modal_dialogs") | |||
| 2444 | - | core.PuregoSafeRegister(&xSettingsSetAllowTopNavigationToDataUrls, libs, "webkit_settings_set_allow_top_navigation_to_data_urls") | |||
| 2445 | - | core.PuregoSafeRegister(&xSettingsSetAllowUniversalAccessFromFileUrls, libs, "webkit_settings_set_allow_universal_access_from_file_urls") | |||
| 2446 | - | core.PuregoSafeRegister(&xSettingsSetAutoLoadImages, libs, "webkit_settings_set_auto_load_images") | |||
| 2447 | - | core.PuregoSafeRegister(&xSettingsSetCursiveFontFamily, libs, "webkit_settings_set_cursive_font_family") | |||
| 2448 | - | core.PuregoSafeRegister(&xSettingsSetDefaultCharset, libs, "webkit_settings_set_default_charset") | |||
| 2449 | - | core.PuregoSafeRegister(&xSettingsSetDefaultFontFamily, libs, "webkit_settings_set_default_font_family") | |||
| 2450 | - | core.PuregoSafeRegister(&xSettingsSetDefaultFontSize, libs, "webkit_settings_set_default_font_size") | |||
| 2451 | - | core.PuregoSafeRegister(&xSettingsSetDefaultMonospaceFontSize, libs, "webkit_settings_set_default_monospace_font_size") | |||
| 2452 | - | core.PuregoSafeRegister(&xSettingsSetDisableWebSecurity, libs, "webkit_settings_set_disable_web_security") | |||
| 2453 | - | core.PuregoSafeRegister(&xSettingsSetDrawCompositingIndicators, libs, "webkit_settings_set_draw_compositing_indicators") | |||
| 2454 | - | core.PuregoSafeRegister(&xSettingsSetEnable2dCanvasAcceleration, libs, "webkit_settings_set_enable_2d_canvas_acceleration") | |||
| 2455 | - | core.PuregoSafeRegister(&xSettingsSetEnableBackForwardNavigationGestures, libs, "webkit_settings_set_enable_back_forward_navigation_gestures") | |||
| 2456 | - | core.PuregoSafeRegister(&xSettingsSetEnableCaretBrowsing, libs, "webkit_settings_set_enable_caret_browsing") | |||
| 2457 | - | core.PuregoSafeRegister(&xSettingsSetEnableDeveloperExtras, libs, "webkit_settings_set_enable_developer_extras") | |||
| 2458 | - | core.PuregoSafeRegister(&xSettingsSetEnableDnsPrefetching, libs, "webkit_settings_set_enable_dns_prefetching") | |||
| 2459 | - | core.PuregoSafeRegister(&xSettingsSetEnableEncryptedMedia, libs, "webkit_settings_set_enable_encrypted_media") | |||
| 2460 | - | core.PuregoSafeRegister(&xSettingsSetEnableFullscreen, libs, "webkit_settings_set_enable_fullscreen") | |||
| 2461 | - | core.PuregoSafeRegister(&xSettingsSetEnableHtml5Database, libs, "webkit_settings_set_enable_html5_database") | |||
| 2462 | - | core.PuregoSafeRegister(&xSettingsSetEnableHtml5LocalStorage, libs, "webkit_settings_set_enable_html5_local_storage") | |||
| 2463 | - | core.PuregoSafeRegister(&xSettingsSetEnableHyperlinkAuditing, libs, "webkit_settings_set_enable_hyperlink_auditing") | |||
| 2464 | - | core.PuregoSafeRegister(&xSettingsSetEnableJavascript, libs, "webkit_settings_set_enable_javascript") | |||
| 2465 | - | core.PuregoSafeRegister(&xSettingsSetEnableJavascriptMarkup, libs, "webkit_settings_set_enable_javascript_markup") | |||
| 2466 | - | core.PuregoSafeRegister(&xSettingsSetEnableMedia, libs, "webkit_settings_set_enable_media") | |||
| 2467 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediaCapabilities, libs, "webkit_settings_set_enable_media_capabilities") | |||
| 2468 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediaStream, libs, "webkit_settings_set_enable_media_stream") | |||
| 2469 | - | core.PuregoSafeRegister(&xSettingsSetEnableMediasource, libs, "webkit_settings_set_enable_mediasource") | |||
| 2470 | - | core.PuregoSafeRegister(&xSettingsSetEnableMockCaptureDevices, libs, "webkit_settings_set_enable_mock_capture_devices") | |||
| 2471 | - | core.PuregoSafeRegister(&xSettingsSetEnableOfflineWebApplicationCache, libs, "webkit_settings_set_enable_offline_web_application_cache") | |||
| 2472 | - | core.PuregoSafeRegister(&xSettingsSetEnablePageCache, libs, "webkit_settings_set_enable_page_cache") | |||
| 2473 | - | core.PuregoSafeRegister(&xSettingsSetEnableResizableTextAreas, libs, "webkit_settings_set_enable_resizable_text_areas") | |||
| 2474 | - | core.PuregoSafeRegister(&xSettingsSetEnableSiteSpecificQuirks, libs, "webkit_settings_set_enable_site_specific_quirks") | |||
| 2475 | - | core.PuregoSafeRegister(&xSettingsSetEnableSmoothScrolling, libs, "webkit_settings_set_enable_smooth_scrolling") | |||
| 2476 | - | core.PuregoSafeRegister(&xSettingsSetEnableSpatialNavigation, libs, "webkit_settings_set_enable_spatial_navigation") | |||
| 2477 | - | core.PuregoSafeRegister(&xSettingsSetEnableTabsToLinks, libs, "webkit_settings_set_enable_tabs_to_links") | |||
| 2478 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebaudio, libs, "webkit_settings_set_enable_webaudio") | |||
| 2479 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebgl, libs, "webkit_settings_set_enable_webgl") | |||
| 2480 | - | core.PuregoSafeRegister(&xSettingsSetEnableWebrtc, libs, "webkit_settings_set_enable_webrtc") | |||
| 2481 | - | core.PuregoSafeRegister(&xSettingsSetEnableWriteConsoleMessagesToStdout, libs, "webkit_settings_set_enable_write_console_messages_to_stdout") | |||
| 2482 | - | core.PuregoSafeRegister(&xSettingsSetFantasyFontFamily, libs, "webkit_settings_set_fantasy_font_family") | |||
| 2483 | - | core.PuregoSafeRegister(&xSettingsSetFeatureEnabled, libs, "webkit_settings_set_feature_enabled") | |||
| 2484 | - | core.PuregoSafeRegister(&xSettingsSetHardwareAccelerationPolicy, libs, "webkit_settings_set_hardware_acceleration_policy") | |||
| 2485 | - | core.PuregoSafeRegister(&xSettingsSetJavascriptCanAccessClipboard, libs, "webkit_settings_set_javascript_can_access_clipboard") | |||
| 2486 | - | core.PuregoSafeRegister(&xSettingsSetJavascriptCanOpenWindowsAutomatically, libs, "webkit_settings_set_javascript_can_open_windows_automatically") | |||
| 2487 | - | core.PuregoSafeRegister(&xSettingsSetLoadIconsIgnoringImageLoadSetting, libs, "webkit_settings_set_load_icons_ignoring_image_load_setting") | |||
| 2488 | - | core.PuregoSafeRegister(&xSettingsSetMathFontFamily, libs, "webkit_settings_set_math_font_family") | |||
| 2489 | - | core.PuregoSafeRegister(&xSettingsSetMediaContentTypesRequiringHardwareSupport, libs, "webkit_settings_set_media_content_types_requiring_hardware_support") | |||
| 2490 | - | core.PuregoSafeRegister(&xSettingsSetMediaPlaybackAllowsInline, libs, "webkit_settings_set_media_playback_allows_inline") | |||
| 2491 | - | core.PuregoSafeRegister(&xSettingsSetMediaPlaybackRequiresUserGesture, libs, "webkit_settings_set_media_playback_requires_user_gesture") | |||
| 2492 | - | core.PuregoSafeRegister(&xSettingsSetMinimumFontSize, libs, "webkit_settings_set_minimum_font_size") | |||
| 2493 | - | core.PuregoSafeRegister(&xSettingsSetMonospaceFontFamily, libs, "webkit_settings_set_monospace_font_family") | |||
| 2494 | - | core.PuregoSafeRegister(&xSettingsSetPictographFontFamily, libs, "webkit_settings_set_pictograph_font_family") | |||
| 2495 | - | core.PuregoSafeRegister(&xSettingsSetPrintBackgrounds, libs, "webkit_settings_set_print_backgrounds") | |||
| 2496 | - | core.PuregoSafeRegister(&xSettingsSetSansSerifFontFamily, libs, "webkit_settings_set_sans_serif_font_family") | |||
| 2497 | - | core.PuregoSafeRegister(&xSettingsSetSerifFontFamily, libs, "webkit_settings_set_serif_font_family") | |||
| 2498 | - | core.PuregoSafeRegister(&xSettingsSetUserAgent, libs, "webkit_settings_set_user_agent") | |||
| 2499 | - | core.PuregoSafeRegister(&xSettingsSetUserAgentWithApplicationDetails, libs, "webkit_settings_set_user_agent_with_application_details") | |||
| 2500 | - | core.PuregoSafeRegister(&xSettingsSetWebrtcUdpPortsRange, libs, "webkit_settings_set_webrtc_udp_ports_range") | |||
| 2501 | - | core.PuregoSafeRegister(&xSettingsSetZoomTextOnly, libs, "webkit_settings_set_zoom_text_only") | |||
| 2502 | - | ||||
| 2503 | - | core.PuregoSafeRegister(&xSettingsFontSizeToPixels, libs, "webkit_settings_font_size_to_pixels") | |||
| 2504 | - | core.PuregoSafeRegister(&xSettingsFontSizeToPoints, libs, "webkit_settings_font_size_to_points") | |||
| 2505 | - | core.PuregoSafeRegister(&xSettingsGetAllFeatures, libs, "webkit_settings_get_all_features") | |||
| 2506 | - | core.PuregoSafeRegister(&xSettingsGetDevelopmentFeatures, libs, "webkit_settings_get_development_features") | |||
| 2507 | - | core.PuregoSafeRegister(&xSettingsGetExperimentalFeatures, libs, "webkit_settings_get_experimental_features") | |||
| 2508 | - | ||||
| 2509 | - | // Manually register types since they aren't being automatically registered when | |||
| 2510 | - | // the library is loaded | |||
| 2511 | - | // See https://bugs.webkit.org/show_bug.cgi?id=175937 | |||
| 2512 | SettingsGLibType() | 2621 | SettingsGLibType() | ||
| 2513 | } | 2622 | } | ||