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
| @@ -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" | |
| @@ -41,6 +40,7 @@ type LayoutIter struct { | |||
| 41 | 40 | var xLayoutIterGLibType func() types.GType | |
| 42 | 41 | ||
| 43 | 42 | func LayoutIterGLibType() types.GType { | |
| 43 | + | core.LazyRegister(&xLayoutIterGLibType, "PANGO", "pango_layout_iter_get_type", false) | |
| 44 | 44 | return xLayoutIterGLibType() | |
| 45 | 45 | } | |
| 46 | 46 | ||
| @@ -60,6 +60,8 @@ var xLayoutIterAtLastLine func(uintptr) bool | |||
| 60 | 60 | ||
| 61 | 61 | // Determines whether @iter is on the last line of the layout. | |
| 62 | 62 | func (x *LayoutIter) AtLastLine() bool { | |
| 63 | + | core.LazyRegister(&xLayoutIterAtLastLine, "PANGO", "pango_layout_iter_at_last_line", false) | |
| 64 | + | ||
| 63 | 65 | cret := xLayoutIterAtLastLine(x.GoPointer()) | |
| 64 | 66 | return cret | |
| 65 | 67 | } | |
| @@ -68,6 +70,8 @@ var xLayoutIterCopy func(uintptr) uintptr | |||
| 68 | 70 | ||
| 69 | 71 | // Copies a `PangoLayoutIter`. | |
| 70 | 72 | func (x *LayoutIter) Copy() *LayoutIter { | |
| 73 | + | core.LazyRegister(&xLayoutIterCopy, "PANGO", "pango_layout_iter_copy", false) | |
| 74 | + | ||
| 71 | 75 | cret := xLayoutIterCopy(x.GoPointer()) | |
| 72 | 76 | if cret == 0 { | |
| 73 | 77 | return nil | |
| @@ -79,6 +83,8 @@ var xLayoutIterFree func(uintptr) | |||
| 79 | 83 | ||
| 80 | 84 | // Frees an iterator that's no longer in use. | |
| 81 | 85 | func (x *LayoutIter) Free() { | |
| 86 | + | core.LazyRegister(&xLayoutIterFree, "PANGO", "pango_layout_iter_free", false) | |
| 87 | + | ||
| 82 | 88 | xLayoutIterFree(x.GoPointer()) | |
| 83 | 89 | } | |
| 84 | 90 | ||
| @@ -89,6 +95,8 @@ var xLayoutIterGetBaseline func(uintptr) int | |||
| 89 | 95 | // | |
| 90 | 96 | // Layout coordinates have the origin at the top left of the entire layout. | |
| 91 | 97 | func (x *LayoutIter) GetBaseline() int { | |
| 98 | + | core.LazyRegister(&xLayoutIterGetBaseline, "PANGO", "pango_layout_iter_get_baseline", false) | |
| 99 | + | ||
| 92 | 100 | cret := xLayoutIterGetBaseline(x.GoPointer()) | |
| 93 | 101 | return cret | |
| 94 | 102 | } | |
| @@ -102,6 +110,8 @@ var xLayoutIterGetCharExtents func(uintptr, *Rectangle) | |||
| 102 | 110 | // Only logical extents can sensibly be obtained for characters; | |
| 103 | 111 | // ink extents make sense only down to the level of clusters. | |
| 104 | 112 | func (x *LayoutIter) GetCharExtents(LogicalRectVar *Rectangle) { | |
| 113 | + | core.LazyRegister(&xLayoutIterGetCharExtents, "PANGO", "pango_layout_iter_get_char_extents", false) | |
| 114 | + | ||
| 105 | 115 | xLayoutIterGetCharExtents(x.GoPointer(), LogicalRectVar) | |
| 106 | 116 | } | |
| 107 | 117 | ||
| @@ -111,6 +121,8 @@ var xLayoutIterGetClusterExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 111 | 121 | // | |
| 112 | 122 | // Layout coordinates have the origin at the top left of the entire layout. | |
| 113 | 123 | func (x *LayoutIter) GetClusterExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 124 | + | core.LazyRegister(&xLayoutIterGetClusterExtents, "PANGO", "pango_layout_iter_get_cluster_extents", false) | |
| 125 | + | ||
| 114 | 126 | xLayoutIterGetClusterExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 115 | 127 | } | |
| 116 | 128 | ||
| @@ -123,6 +135,8 @@ var xLayoutIterGetIndex func(uintptr) int | |||
| 123 | 135 | // the index may be equal to the length of the text in the | |
| 124 | 136 | // layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]). | |
| 125 | 137 | func (x *LayoutIter) GetIndex() int { | |
| 138 | + | core.LazyRegister(&xLayoutIterGetIndex, "PANGO", "pango_layout_iter_get_index", false) | |
| 139 | + | ||
| 126 | 140 | cret := xLayoutIterGetIndex(x.GoPointer()) | |
| 127 | 141 | return cret | |
| 128 | 142 | } | |
| @@ -131,6 +145,7 @@ var xLayoutIterGetLayout func(uintptr) uintptr | |||
| 131 | 145 | ||
| 132 | 146 | // Gets the layout associated with a `PangoLayoutIter`. | |
| 133 | 147 | func (x *LayoutIter) GetLayout() *Layout { | |
| 148 | + | core.LazyRegister(&xLayoutIterGetLayout, "PANGO", "pango_layout_iter_get_layout", false) | |
| 134 | 149 | var cls *Layout | |
| 135 | 150 | ||
| 136 | 151 | cret := xLayoutIterGetLayout(x.GoPointer()) | |
| @@ -148,6 +163,8 @@ var xLayoutIterGetLayoutExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 148 | 163 | ||
| 149 | 164 | // Obtains the extents of the `PangoLayout` being iterated over. | |
| 150 | 165 | func (x *LayoutIter) GetLayoutExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 166 | + | core.LazyRegister(&xLayoutIterGetLayoutExtents, "PANGO", "pango_layout_iter_get_layout_extents", false) | |
| 167 | + | ||
| 151 | 168 | xLayoutIterGetLayoutExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 152 | 169 | } | |
| 153 | 170 | ||
| @@ -159,6 +176,8 @@ var xLayoutIterGetLine func(uintptr) uintptr | |||
| 159 | 176 | // you do not plan to modify the contents of the line (glyphs, | |
| 160 | 177 | // glyph widths, etc.). | |
| 161 | 178 | func (x *LayoutIter) GetLine() *LayoutLine { | |
| 179 | + | core.LazyRegister(&xLayoutIterGetLine, "PANGO", "pango_layout_iter_get_line", false) | |
| 180 | + | ||
| 162 | 181 | cret := xLayoutIterGetLine(x.GoPointer()) | |
| 163 | 182 | if cret == 0 { | |
| 164 | 183 | return nil | |
| @@ -175,6 +194,8 @@ var xLayoutIterGetLineExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 175 | 194 | // function will be the same width/height but not at the same x/y | |
| 176 | 195 | // as the extents returned from [method@Pango.LayoutLine.get_extents]. | |
| 177 | 196 | func (x *LayoutIter) GetLineExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 197 | + | core.LazyRegister(&xLayoutIterGetLineExtents, "PANGO", "pango_layout_iter_get_line_extents", false) | |
| 198 | + | ||
| 178 | 199 | xLayoutIterGetLineExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 179 | 200 | } | |
| 180 | 201 | ||
| @@ -186,6 +207,8 @@ var xLayoutIterGetLineReadonly func(uintptr) uintptr | |||
| 186 | 207 | // but the user is not expected to modify the contents of the line | |
| 187 | 208 | // (glyphs, glyph widths, etc.). | |
| 188 | 209 | func (x *LayoutIter) GetLineReadonly() *LayoutLine { | |
| 210 | + | core.LazyRegister(&xLayoutIterGetLineReadonly, "PANGO", "pango_layout_iter_get_line_readonly", false) | |
| 211 | + | ||
| 189 | 212 | cret := xLayoutIterGetLineReadonly(x.GoPointer()) | |
| 190 | 213 | if cret == 0 { | |
| 191 | 214 | return nil | |
| @@ -207,6 +230,8 @@ var xLayoutIterGetLineYrange func(uintptr, *int, *int) | |||
| 207 | 230 | // Note: Since 1.44, Pango uses line heights for placing lines, and there | |
| 208 | 231 | // may be gaps between the ranges returned by this function. | |
| 209 | 232 | func (x *LayoutIter) GetLineYrange(Y0Var *int, Y1Var *int) { | |
| 233 | + | core.LazyRegister(&xLayoutIterGetLineYrange, "PANGO", "pango_layout_iter_get_line_yrange", false) | |
| 234 | + | ||
| 210 | 235 | xLayoutIterGetLineYrange(x.GoPointer(), Y0Var, Y1Var) | |
| 211 | 236 | } | |
| 212 | 237 | ||
| @@ -222,6 +247,8 @@ var xLayoutIterGetRun func(uintptr) uintptr | |||
| 222 | 247 | // Use the faster [method@Pango.LayoutIter.get_run_readonly] if you do not | |
| 223 | 248 | // plan to modify the contents of the run (glyphs, glyph widths, etc.). | |
| 224 | 249 | func (x *LayoutIter) GetRun() *LayoutRun { | |
| 250 | + | core.LazyRegister(&xLayoutIterGetRun, "PANGO", "pango_layout_iter_get_run", false) | |
| 251 | + | ||
| 225 | 252 | cret := xLayoutIterGetRun(x.GoPointer()) | |
| 226 | 253 | if cret == 0 { | |
| 227 | 254 | return nil | |
| @@ -239,6 +266,8 @@ var xLayoutIterGetRunBaseline func(uintptr) int | |||
| 239 | 266 | // The run baseline can be different from the line baseline, for | |
| 240 | 267 | // example due to superscript or subscript positioning. | |
| 241 | 268 | func (x *LayoutIter) GetRunBaseline() int { | |
| 269 | + | core.LazyRegister(&xLayoutIterGetRunBaseline, "PANGO", "pango_layout_iter_get_run_baseline", false) | |
| 270 | + | ||
| 242 | 271 | cret := xLayoutIterGetRunBaseline(x.GoPointer()) | |
| 243 | 272 | return cret | |
| 244 | 273 | } | |
| @@ -249,6 +278,8 @@ var xLayoutIterGetRunExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 249 | 278 | // | |
| 250 | 279 | // Layout coordinates have the origin at the top left of the entire layout. | |
| 251 | 280 | func (x *LayoutIter) GetRunExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 281 | + | core.LazyRegister(&xLayoutIterGetRunExtents, "PANGO", "pango_layout_iter_get_run_extents", false) | |
| 282 | + | ||
| 252 | 283 | xLayoutIterGetRunExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 253 | 284 | } | |
| 254 | 285 | ||
| @@ -265,6 +296,8 @@ var xLayoutIterGetRunReadonly func(uintptr) uintptr | |||
| 265 | 296 | // but the user is not expected to modify the contents of the run (glyphs, | |
| 266 | 297 | // glyph widths, etc.). | |
| 267 | 298 | func (x *LayoutIter) GetRunReadonly() *LayoutRun { | |
| 299 | + | core.LazyRegister(&xLayoutIterGetRunReadonly, "PANGO", "pango_layout_iter_get_run_readonly", false) | |
| 300 | + | ||
| 268 | 301 | cret := xLayoutIterGetRunReadonly(x.GoPointer()) | |
| 269 | 302 | if cret == 0 { | |
| 270 | 303 | return nil | |
| @@ -278,6 +311,8 @@ var xLayoutIterNextChar func(uintptr) bool | |||
| 278 | 311 | // | |
| 279 | 312 | // If @iter was already at the end of the layout, returns %FALSE. | |
| 280 | 313 | func (x *LayoutIter) NextChar() bool { | |
| 314 | + | core.LazyRegister(&xLayoutIterNextChar, "PANGO", "pango_layout_iter_next_char", false) | |
| 315 | + | ||
| 281 | 316 | cret := xLayoutIterNextChar(x.GoPointer()) | |
| 282 | 317 | return cret | |
| 283 | 318 | } | |
| @@ -288,6 +323,8 @@ var xLayoutIterNextCluster func(uintptr) bool | |||
| 288 | 323 | // | |
| 289 | 324 | // If @iter was already at the end of the layout, returns %FALSE. | |
| 290 | 325 | func (x *LayoutIter) NextCluster() bool { | |
| 326 | + | core.LazyRegister(&xLayoutIterNextCluster, "PANGO", "pango_layout_iter_next_cluster", false) | |
| 327 | + | ||
| 291 | 328 | cret := xLayoutIterNextCluster(x.GoPointer()) | |
| 292 | 329 | return cret | |
| 293 | 330 | } | |
| @@ -298,6 +335,8 @@ var xLayoutIterNextLine func(uintptr) bool | |||
| 298 | 335 | // | |
| 299 | 336 | // If @iter is already on the last line, returns %FALSE. | |
| 300 | 337 | func (x *LayoutIter) NextLine() bool { | |
| 338 | + | core.LazyRegister(&xLayoutIterNextLine, "PANGO", "pango_layout_iter_next_line", false) | |
| 339 | + | ||
| 301 | 340 | cret := xLayoutIterNextLine(x.GoPointer()) | |
| 302 | 341 | return cret | |
| 303 | 342 | } | |
| @@ -308,6 +347,8 @@ var xLayoutIterNextRun func(uintptr) bool | |||
| 308 | 347 | // | |
| 309 | 348 | // If @iter was already at the end of the layout, returns %FALSE. | |
| 310 | 349 | func (x *LayoutIter) NextRun() bool { | |
| 350 | + | core.LazyRegister(&xLayoutIterNextRun, "PANGO", "pango_layout_iter_next_run", false) | |
| 351 | + | ||
| 311 | 352 | cret := xLayoutIterNextRun(x.GoPointer()) | |
| 312 | 353 | return cret | |
| 313 | 354 | } | |
| @@ -337,6 +378,7 @@ type LayoutLine struct { | |||
| 337 | 378 | var xLayoutLineGLibType func() types.GType | |
| 338 | 379 | ||
| 339 | 380 | func LayoutLineGLibType() types.GType { | |
| 381 | + | core.LazyRegister(&xLayoutLineGLibType, "PANGO", "pango_layout_line_get_type", false) | |
| 340 | 382 | return xLayoutLineGLibType() | |
| 341 | 383 | } | |
| 342 | 384 | ||
| @@ -359,6 +401,8 @@ var xLayoutLineGetExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 359 | 401 | // See [method@Pango.Font.get_glyph_extents] for details | |
| 360 | 402 | // about the interpretation of the rectangles. | |
| 361 | 403 | func (x *LayoutLine) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 404 | + | core.LazyRegister(&xLayoutLineGetExtents, "PANGO", "pango_layout_line_get_extents", false) | |
| 405 | + | ||
| 362 | 406 | xLayoutLineGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 363 | 407 | } | |
| 364 | 408 | ||
| @@ -372,6 +416,8 @@ var xLayoutLineGetHeight func(uintptr, *int) | |||
| 372 | 416 | // [method@Pango.Layout.set_spacing] and | |
| 373 | 417 | // [method@Pango.Layout.set_line_spacing]. | |
| 374 | 418 | func (x *LayoutLine) GetHeight(HeightVar *int) { | |
| 419 | + | core.LazyRegister(&xLayoutLineGetHeight, "PANGO", "pango_layout_line_get_height", false) | |
| 420 | + | ||
| 375 | 421 | xLayoutLineGetHeight(x.GoPointer(), HeightVar) | |
| 376 | 422 | } | |
| 377 | 423 | ||
| @@ -379,6 +425,8 @@ var xLayoutLineGetLength func(uintptr) int | |||
| 379 | 425 | ||
| 380 | 426 | // Returns the length of the line, in bytes. | |
| 381 | 427 | func (x *LayoutLine) GetLength() int { | |
| 428 | + | core.LazyRegister(&xLayoutLineGetLength, "PANGO", "pango_layout_line_get_length", false) | |
| 429 | + | ||
| 382 | 430 | cret := xLayoutLineGetLength(x.GoPointer()) | |
| 383 | 431 | return cret | |
| 384 | 432 | } | |
| @@ -392,6 +440,8 @@ var xLayoutLineGetPixelExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 392 | 440 | // such that the rounded rectangles fully contain the unrounded one (that is, | |
| 393 | 441 | // passes them as first argument to [func@extents_to_pixels]). | |
| 394 | 442 | func (x *LayoutLine) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 443 | + | core.LazyRegister(&xLayoutLineGetPixelExtents, "PANGO", "pango_layout_line_get_pixel_extents", false) | |
| 444 | + | ||
| 395 | 445 | xLayoutLineGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 396 | 446 | } | |
| 397 | 447 | ||
| @@ -399,6 +449,8 @@ var xLayoutLineGetResolvedDirection func(uintptr) Direction | |||
| 399 | 449 | ||
| 400 | 450 | // Returns the resolved direction of the line. | |
| 401 | 451 | func (x *LayoutLine) GetResolvedDirection() Direction { | |
| 452 | + | core.LazyRegister(&xLayoutLineGetResolvedDirection, "PANGO", "pango_layout_line_get_resolved_direction", false) | |
| 453 | + | ||
| 402 | 454 | cret := xLayoutLineGetResolvedDirection(x.GoPointer()) | |
| 403 | 455 | return cret | |
| 404 | 456 | } | |
| @@ -408,6 +460,8 @@ var xLayoutLineGetStartIndex func(uintptr) int | |||
| 408 | 460 | // Returns the start index of the line, as byte index | |
| 409 | 461 | // into the text of the layout. | |
| 410 | 462 | func (x *LayoutLine) GetStartIndex() int { | |
| 463 | + | core.LazyRegister(&xLayoutLineGetStartIndex, "PANGO", "pango_layout_line_get_start_index", false) | |
| 464 | + | ||
| 411 | 465 | cret := xLayoutLineGetStartIndex(x.GoPointer()) | |
| 412 | 466 | return cret | |
| 413 | 467 | } | |
| @@ -421,6 +475,8 @@ var xLayoutLineGetXRanges func(uintptr, int, int, *[]int, *int) | |||
| 421 | 475 | // right. The ranges are with respect to the left edge of the entire | |
| 422 | 476 | // layout, not with respect to the line. | |
| 423 | 477 | func (x *LayoutLine) GetXRanges(StartIndexVar int, EndIndexVar int, RangesVar *[]int, NRangesVar *int) { | |
| 478 | + | core.LazyRegister(&xLayoutLineGetXRanges, "PANGO", "pango_layout_line_get_x_ranges", false) | |
| 479 | + | ||
| 424 | 480 | xLayoutLineGetXRanges(x.GoPointer(), StartIndexVar, EndIndexVar, RangesVar, NRangesVar) | |
| 425 | 481 | } | |
| 426 | 482 | ||
| @@ -428,6 +484,8 @@ var xLayoutLineIndexToX func(uintptr, int, bool, *int) | |||
| 428 | 484 | ||
| 429 | 485 | // Converts an index within a line to a X position. | |
| 430 | 486 | func (x *LayoutLine) IndexToX(IndexVar int, TrailingVar bool, XPosVar *int) { | |
| 487 | + | core.LazyRegister(&xLayoutLineIndexToX, "PANGO", "pango_layout_line_index_to_x", false) | |
| 488 | + | ||
| 431 | 489 | xLayoutLineIndexToX(x.GoPointer(), IndexVar, TrailingVar, XPosVar) | |
| 432 | 490 | } | |
| 433 | 491 | ||
| @@ -435,6 +493,8 @@ var xLayoutLineIsParagraphStartFn func(uintptr) bool | |||
| 435 | 493 | ||
| 436 | 494 | // Returns whether this is the first line of the paragraph. | |
| 437 | 495 | func (x *LayoutLine) IsParagraphStartFn() bool { | |
| 496 | + | core.LazyRegister(&xLayoutLineIsParagraphStartFn, "PANGO", "pango_layout_line_is_paragraph_start", false) | |
| 497 | + | ||
| 438 | 498 | cret := xLayoutLineIsParagraphStartFn(x.GoPointer()) | |
| 439 | 499 | return cret | |
| 440 | 500 | } | |
| @@ -443,6 +503,8 @@ var xLayoutLineRef func(uintptr) uintptr | |||
| 443 | 503 | ||
| 444 | 504 | // Increase the reference count of a `PangoLayoutLine` by one. | |
| 445 | 505 | func (x *LayoutLine) Ref() *LayoutLine { | |
| 506 | + | core.LazyRegister(&xLayoutLineRef, "PANGO", "pango_layout_line_ref", false) | |
| 507 | + | ||
| 446 | 508 | cret := xLayoutLineRef(x.GoPointer()) | |
| 447 | 509 | if cret == 0 { | |
| 448 | 510 | return nil | |
| @@ -457,6 +519,8 @@ var xLayoutLineUnref func(uintptr) | |||
| 457 | 519 | // If the result is zero, the line and all associated memory | |
| 458 | 520 | // will be freed. | |
| 459 | 521 | func (x *LayoutLine) Unref() { | |
| 522 | + | core.LazyRegister(&xLayoutLineUnref, "PANGO", "pango_layout_line_unref", false) | |
| 523 | + | ||
| 460 | 524 | xLayoutLineUnref(x.GoPointer()) | |
| 461 | 525 | } | |
| 462 | 526 | ||
| @@ -474,6 +538,8 @@ var xLayoutLineXToIndex func(uintptr, int, *int, *int) bool | |||
| 474 | 538 | // in the line and @trailing being set to the number of characters in that | |
| 475 | 539 | // grapheme. The reverse is true for a left-to-right line. | |
| 476 | 540 | func (x *LayoutLine) XToIndex(XPosVar int, IndexVar *int, TrailingVar *int) bool { | |
| 541 | + | core.LazyRegister(&xLayoutLineXToIndex, "PANGO", "pango_layout_line_x_to_index", false) | |
| 542 | + | ||
| 477 | 543 | cret := xLayoutLineXToIndex(x.GoPointer(), XPosVar, IndexVar, TrailingVar) | |
| 478 | 544 | return cret | |
| 479 | 545 | } | |
| @@ -492,6 +558,7 @@ type LayoutDeserializeFlags int | |||
| 492 | 558 | var xLayoutDeserializeFlagsGLibType func() types.GType | |
| 493 | 559 | ||
| 494 | 560 | func LayoutDeserializeFlagsGLibType() types.GType { | |
| 561 | + | core.LazyRegister(&xLayoutDeserializeFlagsGLibType, "PANGO", "pango_layout_deserialize_flags_get_type", false) | |
| 495 | 562 | return xLayoutDeserializeFlagsGLibType() | |
| 496 | 563 | } | |
| 497 | 564 | ||
| @@ -512,6 +579,7 @@ type LayoutSerializeFlags int | |||
| 512 | 579 | var xLayoutSerializeFlagsGLibType func() types.GType | |
| 513 | 580 | ||
| 514 | 581 | func LayoutSerializeFlagsGLibType() types.GType { | |
| 582 | + | core.LazyRegister(&xLayoutSerializeFlagsGLibType, "PANGO", "pango_layout_serialize_flags_get_type", false) | |
| 515 | 583 | return xLayoutSerializeFlagsGLibType() | |
| 516 | 584 | } | |
| 517 | 585 | ||
| @@ -538,6 +606,7 @@ type Alignment int | |||
| 538 | 606 | var xAlignmentGLibType func() types.GType | |
| 539 | 607 | ||
| 540 | 608 | func AlignmentGLibType() types.GType { | |
| 609 | + | core.LazyRegister(&xAlignmentGLibType, "PANGO", "pango_alignment_get_type", false) | |
| 541 | 610 | return xAlignmentGLibType() | |
| 542 | 611 | } | |
| 543 | 612 | ||
| @@ -562,6 +631,7 @@ type EllipsizeMode int | |||
| 562 | 631 | var xEllipsizeModeGLibType func() types.GType | |
| 563 | 632 | ||
| 564 | 633 | func EllipsizeModeGLibType() types.GType { | |
| 634 | + | core.LazyRegister(&xEllipsizeModeGLibType, "PANGO", "pango_ellipsize_mode_get_type", false) | |
| 565 | 635 | return xEllipsizeModeGLibType() | |
| 566 | 636 | } | |
| 567 | 637 | ||
| @@ -583,6 +653,7 @@ type LayoutDeserializeError int | |||
| 583 | 653 | var xLayoutDeserializeErrorGLibType func() types.GType | |
| 584 | 654 | ||
| 585 | 655 | func LayoutDeserializeErrorGLibType() types.GType { | |
| 656 | + | core.LazyRegister(&xLayoutDeserializeErrorGLibType, "PANGO", "pango_layout_deserialize_error_get_type", false) | |
| 586 | 657 | return xLayoutDeserializeErrorGLibType() | |
| 587 | 658 | } | |
| 588 | 659 | ||
| @@ -610,6 +681,7 @@ type WrapMode int | |||
| 610 | 681 | var xWrapModeGLibType func() types.GType | |
| 611 | 682 | ||
| 612 | 683 | func WrapModeGLibType() types.GType { | |
| 684 | + | core.LazyRegister(&xWrapModeGLibType, "PANGO", "pango_wrap_mode_get_type", false) | |
| 613 | 685 | return xWrapModeGLibType() | |
| 614 | 686 | } | |
| 615 | 687 | ||
| @@ -672,6 +744,7 @@ type Layout struct { | |||
| 672 | 744 | var xLayoutGLibType func() types.GType | |
| 673 | 745 | ||
| 674 | 746 | func LayoutGLibType() types.GType { | |
| 747 | + | core.LazyRegister(&xLayoutGLibType, "PANGO", "pango_layout_get_type", false) | |
| 675 | 748 | return xLayoutGLibType() | |
| 676 | 749 | } | |
| 677 | 750 | ||
| @@ -686,6 +759,7 @@ var xNewLayout func(uintptr) uintptr | |||
| 686 | 759 | // Create a new `PangoLayout` object with attributes initialized to | |
| 687 | 760 | // default values for a particular `PangoContext`. | |
| 688 | 761 | func NewLayout(ContextVar *Context) *Layout { | |
| 762 | + | core.LazyRegister(&xNewLayout, "PANGO", "pango_layout_new", false) | |
| 689 | 763 | var cls *Layout | |
| 690 | 764 | ||
| 691 | 765 | cret := xNewLayout(ContextVar.GoPointer()) | |
| @@ -706,6 +780,8 @@ var xLayoutContextChanged func(uintptr) | |||
| 706 | 780 | // This function should be called if you make changes to the context | |
| 707 | 781 | // subsequent to creating the layout. | |
| 708 | 782 | func (x *Layout) ContextChanged() { | |
| 783 | + | core.LazyRegister(&xLayoutContextChanged, "PANGO", "pango_layout_context_changed", false) | |
| 784 | + | ||
| 709 | 785 | xLayoutContextChanged(x.GoPointer()) | |
| 710 | 786 | } | |
| 711 | 787 | ||
| @@ -716,6 +792,7 @@ var xLayoutCopy func(uintptr) uintptr | |||
| 716 | 792 | // The attribute list, tab array, and text from the original layout | |
| 717 | 793 | // are all copied by value. | |
| 718 | 794 | func (x *Layout) Copy() *Layout { | |
| 795 | + | core.LazyRegister(&xLayoutCopy, "PANGO", "pango_layout_copy", false) | |
| 719 | 796 | var cls *Layout | |
| 720 | 797 | ||
| 721 | 798 | cret := xLayoutCopy(x.GoPointer()) | |
| @@ -733,6 +810,8 @@ var xLayoutGetAlignment func(uintptr) Alignment | |||
| 733 | 810 | // Gets the alignment for the layout: how partial lines are | |
| 734 | 811 | // positioned within the horizontal space available. | |
| 735 | 812 | func (x *Layout) GetAlignment() Alignment { | |
| 813 | + | core.LazyRegister(&xLayoutGetAlignment, "PANGO", "pango_layout_get_alignment", false) | |
| 814 | + | ||
| 736 | 815 | cret := xLayoutGetAlignment(x.GoPointer()) | |
| 737 | 816 | return cret | |
| 738 | 817 | } | |
| @@ -741,6 +820,8 @@ var xLayoutGetAttributes func(uintptr) uintptr | |||
| 741 | 820 | ||
| 742 | 821 | // Gets the attribute list for the layout, if any. | |
| 743 | 822 | func (x *Layout) GetAttributes() *AttrList { | |
| 823 | + | core.LazyRegister(&xLayoutGetAttributes, "PANGO", "pango_layout_get_attributes", false) | |
| 824 | + | ||
| 744 | 825 | cret := xLayoutGetAttributes(x.GoPointer()) | |
| 745 | 826 | if cret == 0 { | |
| 746 | 827 | return nil | |
| @@ -755,6 +836,8 @@ var xLayoutGetAutoDir func(uintptr) bool | |||
| 755 | 836 | // | |
| 756 | 837 | // See [method@Pango.Layout.set_auto_dir]. | |
| 757 | 838 | func (x *Layout) GetAutoDir() bool { | |
| 839 | + | core.LazyRegister(&xLayoutGetAutoDir, "PANGO", "pango_layout_get_auto_dir", false) | |
| 840 | + | ||
| 758 | 841 | cret := xLayoutGetAutoDir(x.GoPointer()) | |
| 759 | 842 | return cret | |
| 760 | 843 | } | |
| @@ -763,6 +846,8 @@ var xLayoutGetBaseline func(uintptr) int | |||
| 763 | 846 | ||
| 764 | 847 | // Gets the Y position of baseline of the first line in @layout. | |
| 765 | 848 | func (x *Layout) GetBaseline() int { | |
| 849 | + | core.LazyRegister(&xLayoutGetBaseline, "PANGO", "pango_layout_get_baseline", false) | |
| 850 | + | ||
| 766 | 851 | cret := xLayoutGetBaseline(x.GoPointer()) | |
| 767 | 852 | return cret | |
| 768 | 853 | } | |
| @@ -783,6 +868,8 @@ var xLayoutGetCaretPos func(uintptr, int, *Rectangle, *Rectangle) | |||
| 783 | 868 | // | |
| 784 | 869 | // </picture> | |
| 785 | 870 | func (x *Layout) GetCaretPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | |
| 871 | + | core.LazyRegister(&xLayoutGetCaretPos, "PANGO", "pango_layout_get_caret_pos", false) | |
| 872 | + | ||
| 786 | 873 | xLayoutGetCaretPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | |
| 787 | 874 | } | |
| 788 | 875 | ||
| @@ -791,6 +878,8 @@ var xLayoutGetCharacterCount func(uintptr) int | |||
| 791 | 878 | // Returns the number of Unicode characters in the | |
| 792 | 879 | // the text of @layout. | |
| 793 | 880 | func (x *Layout) GetCharacterCount() int { | |
| 881 | + | core.LazyRegister(&xLayoutGetCharacterCount, "PANGO", "pango_layout_get_character_count", false) | |
| 882 | + | ||
| 794 | 883 | cret := xLayoutGetCharacterCount(x.GoPointer()) | |
| 795 | 884 | return cret | |
| 796 | 885 | } | |
| @@ -799,6 +888,7 @@ var xLayoutGetContext func(uintptr) uintptr | |||
| 799 | 888 | ||
| 800 | 889 | // Retrieves the `PangoContext` used for this layout. | |
| 801 | 890 | func (x *Layout) GetContext() *Context { | |
| 891 | + | core.LazyRegister(&xLayoutGetContext, "PANGO", "pango_layout_get_context", false) | |
| 802 | 892 | var cls *Context | |
| 803 | 893 | ||
| 804 | 894 | cret := xLayoutGetContext(x.GoPointer()) | |
| @@ -846,6 +936,8 @@ var xLayoutGetCursorPos func(uintptr, int, *Rectangle, *Rectangle) | |||
| 846 | 936 | // character after the 'b', and typing another Hebrew character, like 'ג', | |
| 847 | 937 | // will insert it at the end. | |
| 848 | 938 | func (x *Layout) GetCursorPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | |
| 939 | + | core.LazyRegister(&xLayoutGetCursorPos, "PANGO", "pango_layout_get_cursor_pos", false) | |
| 940 | + | ||
| 849 | 941 | xLayoutGetCursorPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | |
| 850 | 942 | } | |
| 851 | 943 | ||
| @@ -853,6 +945,8 @@ var xLayoutGetDirection func(uintptr, int) Direction | |||
| 853 | 945 | ||
| 854 | 946 | // Gets the text direction at the given character position in @layout. | |
| 855 | 947 | func (x *Layout) GetDirection(IndexVar int) Direction { | |
| 948 | + | core.LazyRegister(&xLayoutGetDirection, "PANGO", "pango_layout_get_direction", false) | |
| 949 | + | ||
| 856 | 950 | cret := xLayoutGetDirection(x.GoPointer(), IndexVar) | |
| 857 | 951 | return cret | |
| 858 | 952 | } | |
| @@ -866,6 +960,8 @@ var xLayoutGetEllipsize func(uintptr) EllipsizeMode | |||
| 866 | 960 | // Use [method@Pango.Layout.is_ellipsized] to query whether any | |
| 867 | 961 | // paragraphs were actually ellipsized. | |
| 868 | 962 | func (x *Layout) GetEllipsize() EllipsizeMode { | |
| 963 | + | core.LazyRegister(&xLayoutGetEllipsize, "PANGO", "pango_layout_get_ellipsize", false) | |
| 964 | + | ||
| 869 | 965 | cret := xLayoutGetEllipsize(x.GoPointer()) | |
| 870 | 966 | return cret | |
| 871 | 967 | } | |
| @@ -883,6 +979,8 @@ var xLayoutGetExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 883 | 979 | // The extents are given in layout coordinates and in Pango units; layout | |
| 884 | 980 | // coordinates begin at the top left corner of the layout. | |
| 885 | 981 | func (x *Layout) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 982 | + | core.LazyRegister(&xLayoutGetExtents, "PANGO", "pango_layout_get_extents", false) | |
| 983 | + | ||
| 886 | 984 | xLayoutGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 887 | 985 | } | |
| 888 | 986 | ||
| @@ -890,6 +988,8 @@ var xLayoutGetFontDescription func(uintptr) uintptr | |||
| 890 | 988 | ||
| 891 | 989 | // Gets the font description for the layout, if any. | |
| 892 | 990 | func (x *Layout) GetFontDescription() *FontDescription { | |
| 991 | + | core.LazyRegister(&xLayoutGetFontDescription, "PANGO", "pango_layout_get_font_description", false) | |
| 992 | + | ||
| 893 | 993 | cret := xLayoutGetFontDescription(x.GoPointer()) | |
| 894 | 994 | if cret == 0 { | |
| 895 | 995 | return nil | |
| @@ -903,6 +1003,8 @@ var xLayoutGetHeight func(uintptr) int | |||
| 903 | 1003 | // | |
| 904 | 1004 | // See [method@Pango.Layout.set_height] for details. | |
| 905 | 1005 | func (x *Layout) GetHeight() int { | |
| 1006 | + | core.LazyRegister(&xLayoutGetHeight, "PANGO", "pango_layout_get_height", false) | |
| 1007 | + | ||
| 906 | 1008 | cret := xLayoutGetHeight(x.GoPointer()) | |
| 907 | 1009 | return cret | |
| 908 | 1010 | } | |
| @@ -913,6 +1015,8 @@ var xLayoutGetIndent func(uintptr) int | |||
| 913 | 1015 | // | |
| 914 | 1016 | // A negative value indicates a hanging indentation. | |
| 915 | 1017 | func (x *Layout) GetIndent() int { | |
| 1018 | + | core.LazyRegister(&xLayoutGetIndent, "PANGO", "pango_layout_get_indent", false) | |
| 1019 | + | ||
| 916 | 1020 | cret := xLayoutGetIndent(x.GoPointer()) | |
| 917 | 1021 | return cret | |
| 918 | 1022 | } | |
| @@ -921,6 +1025,8 @@ var xLayoutGetIter func(uintptr) uintptr | |||
| 921 | 1025 | ||
| 922 | 1026 | // Returns an iterator to iterate over the visual extents of the layout. | |
| 923 | 1027 | func (x *Layout) GetIter() *LayoutIter { | |
| 1028 | + | core.LazyRegister(&xLayoutGetIter, "PANGO", "pango_layout_get_iter", false) | |
| 1029 | + | ||
| 924 | 1030 | cret := xLayoutGetIter(x.GoPointer()) | |
| 925 | 1031 | if cret == 0 { | |
| 926 | 1032 | return nil | |
| @@ -933,6 +1039,8 @@ var xLayoutGetJustify func(uintptr) bool | |||
| 933 | 1039 | // Gets whether each complete line should be stretched to fill the entire | |
| 934 | 1040 | // width of the layout. | |
| 935 | 1041 | func (x *Layout) GetJustify() bool { | |
| 1042 | + | core.LazyRegister(&xLayoutGetJustify, "PANGO", "pango_layout_get_justify", false) | |
| 1043 | + | ||
| 936 | 1044 | cret := xLayoutGetJustify(x.GoPointer()) | |
| 937 | 1045 | return cret | |
| 938 | 1046 | } | |
| @@ -942,6 +1050,8 @@ var xLayoutGetJustifyLastLine func(uintptr) bool | |||
| 942 | 1050 | // Gets whether the last line should be stretched | |
| 943 | 1051 | // to fill the entire width of the layout. | |
| 944 | 1052 | func (x *Layout) GetJustifyLastLine() bool { | |
| 1053 | + | core.LazyRegister(&xLayoutGetJustifyLastLine, "PANGO", "pango_layout_get_justify_last_line", false) | |
| 1054 | + | ||
| 945 | 1055 | cret := xLayoutGetJustifyLastLine(x.GoPointer()) | |
| 946 | 1056 | return cret | |
| 947 | 1057 | } | |
| @@ -953,6 +1063,8 @@ var xLayoutGetLine func(uintptr, int) uintptr | |||
| 953 | 1063 | // Use the faster [method@Pango.Layout.get_line_readonly] if you do not | |
| 954 | 1064 | // plan to modify the contents of the line (glyphs, glyph widths, etc.). | |
| 955 | 1065 | func (x *Layout) GetLine(LineVar int) *LayoutLine { | |
| 1066 | + | core.LazyRegister(&xLayoutGetLine, "PANGO", "pango_layout_get_line", false) | |
| 1067 | + | ||
| 956 | 1068 | cret := xLayoutGetLine(x.GoPointer(), LineVar) | |
| 957 | 1069 | if cret == 0 { | |
| 958 | 1070 | return nil | |
| @@ -964,6 +1076,8 @@ var xLayoutGetLineCount func(uintptr) int | |||
| 964 | 1076 | ||
| 965 | 1077 | // Retrieves the count of lines for the @layout. | |
| 966 | 1078 | func (x *Layout) GetLineCount() int { | |
| 1079 | + | core.LazyRegister(&xLayoutGetLineCount, "PANGO", "pango_layout_get_line_count", false) | |
| 1080 | + | ||
| 967 | 1081 | cret := xLayoutGetLineCount(x.GoPointer()) | |
| 968 | 1082 | return cret | |
| 969 | 1083 | } | |
| @@ -976,6 +1090,8 @@ var xLayoutGetLineReadonly func(uintptr, int) uintptr | |||
| 976 | 1090 | // but the user is not expected to modify the contents of the line | |
| 977 | 1091 | // (glyphs, glyph widths, etc.). | |
| 978 | 1092 | func (x *Layout) GetLineReadonly(LineVar int) *LayoutLine { | |
| 1093 | + | core.LazyRegister(&xLayoutGetLineReadonly, "PANGO", "pango_layout_get_line_readonly", false) | |
| 1094 | + | ||
| 979 | 1095 | cret := xLayoutGetLineReadonly(x.GoPointer(), LineVar) | |
| 980 | 1096 | if cret == 0 { | |
| 981 | 1097 | return nil | |
| @@ -989,6 +1105,8 @@ var xLayoutGetLineSpacing func(uintptr) float32 | |||
| 989 | 1105 | // | |
| 990 | 1106 | // See [method@Pango.Layout.set_line_spacing]. | |
| 991 | 1107 | func (x *Layout) GetLineSpacing() float32 { | |
| 1108 | + | core.LazyRegister(&xLayoutGetLineSpacing, "PANGO", "pango_layout_get_line_spacing", false) | |
| 1109 | + | ||
| 992 | 1110 | cret := xLayoutGetLineSpacing(x.GoPointer()) | |
| 993 | 1111 | return cret | |
| 994 | 1112 | } | |
| @@ -1000,6 +1118,8 @@ var xLayoutGetLines func(uintptr) uintptr | |||
| 1000 | 1118 | // Use the faster [method@Pango.Layout.get_lines_readonly] if you do not | |
| 1001 | 1119 | // plan to modify the contents of the lines (glyphs, glyph widths, etc.). | |
| 1002 | 1120 | func (x *Layout) GetLines() *glib.SList { | |
| 1121 | + | core.LazyRegister(&xLayoutGetLines, "PANGO", "pango_layout_get_lines", false) | |
| 1122 | + | ||
| 1003 | 1123 | cret := xLayoutGetLines(x.GoPointer()) | |
| 1004 | 1124 | if cret == 0 { | |
| 1005 | 1125 | return nil | |
| @@ -1015,6 +1135,8 @@ var xLayoutGetLinesReadonly func(uintptr) uintptr | |||
| 1015 | 1135 | // but the user is not expected to modify the contents of the lines | |
| 1016 | 1136 | // (glyphs, glyph widths, etc.). | |
| 1017 | 1137 | func (x *Layout) GetLinesReadonly() *glib.SList { | |
| 1138 | + | core.LazyRegister(&xLayoutGetLinesReadonly, "PANGO", "pango_layout_get_lines_readonly", false) | |
| 1139 | + | ||
| 1018 | 1140 | cret := xLayoutGetLinesReadonly(x.GoPointer()) | |
| 1019 | 1141 | if cret == 0 { | |
| 1020 | 1142 | return nil | |
| @@ -1027,6 +1149,8 @@ var xLayoutGetLogAttrs func(uintptr, *uintptr, *int) | |||
| 1027 | 1149 | // Retrieves an array of logical attributes for each character in | |
| 1028 | 1150 | // the @layout. | |
| 1029 | 1151 | func (x *Layout) GetLogAttrs(AttrsVar *uintptr, NAttrsVar *int) { | |
| 1152 | + | core.LazyRegister(&xLayoutGetLogAttrs, "PANGO", "pango_layout_get_log_attrs", false) | |
| 1153 | + | ||
| 1030 | 1154 | xLayoutGetLogAttrs(x.GoPointer(), AttrsVar, NAttrsVar) | |
| 1031 | 1155 | } | |
| 1032 | 1156 | ||
| @@ -1044,6 +1168,8 @@ var xLayoutGetLogAttrsReadonly func(uintptr, *int) uintptr | |||
| 1044 | 1168 | // need to be attributes corresponding to both the position before | |
| 1045 | 1169 | // the first character and the position after the last character. | |
| 1046 | 1170 | func (x *Layout) GetLogAttrsReadonly(NAttrsVar *int) uintptr { | |
| 1171 | + | core.LazyRegister(&xLayoutGetLogAttrsReadonly, "PANGO", "pango_layout_get_log_attrs_readonly", false) | |
| 1172 | + | ||
| 1047 | 1173 | cret := xLayoutGetLogAttrsReadonly(x.GoPointer(), NAttrsVar) | |
| 1048 | 1174 | return cret | |
| 1049 | 1175 | } | |
| @@ -1057,6 +1183,8 @@ var xLayoutGetPixelExtents func(uintptr, *Rectangle, *Rectangle) | |||
| 1057 | 1183 | // such that the rounded rectangles fully contain the unrounded one (that is, | |
| 1058 | 1184 | // passes them as first argument to [func@Pango.extents_to_pixels]). | |
| 1059 | 1185 | func (x *Layout) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | |
| 1186 | + | core.LazyRegister(&xLayoutGetPixelExtents, "PANGO", "pango_layout_get_pixel_extents", false) | |
| 1187 | + | ||
| 1060 | 1188 | xLayoutGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | |
| 1061 | 1189 | } | |
| 1062 | 1190 | ||
| @@ -1069,6 +1197,8 @@ var xLayoutGetPixelSize func(uintptr, *int, *int) | |||
| 1069 | 1197 | // scaled by %PANGO_SCALE. This is simply a convenience function | |
| 1070 | 1198 | // around [method@Pango.Layout.get_pixel_extents]. | |
| 1071 | 1199 | func (x *Layout) GetPixelSize(WidthVar *int, HeightVar *int) { | |
| 1200 | + | core.LazyRegister(&xLayoutGetPixelSize, "PANGO", "pango_layout_get_pixel_size", false) | |
| 1201 | + | ||
| 1072 | 1202 | xLayoutGetPixelSize(x.GoPointer(), WidthVar, HeightVar) | |
| 1073 | 1203 | } | |
| 1074 | 1204 | ||
| @@ -1087,6 +1217,8 @@ var xLayoutGetSerial func(uintptr) uint | |||
| 1087 | 1217 | // To force the serial to be increased, use | |
| 1088 | 1218 | // [method@Pango.Layout.context_changed]. | |
| 1089 | 1219 | func (x *Layout) GetSerial() uint { | |
| 1220 | + | core.LazyRegister(&xLayoutGetSerial, "PANGO", "pango_layout_get_serial", false) | |
| 1221 | + | ||
| 1090 | 1222 | cret := xLayoutGetSerial(x.GoPointer()) | |
| 1091 | 1223 | return cret | |
| 1092 | 1224 | } | |
| @@ -1097,6 +1229,8 @@ var xLayoutGetSingleParagraphMode func(uintptr) bool | |||
| 1097 | 1229 | // | |
| 1098 | 1230 | // See [method@Pango.Layout.set_single_paragraph_mode]. | |
| 1099 | 1231 | func (x *Layout) GetSingleParagraphMode() bool { | |
| 1232 | + | core.LazyRegister(&xLayoutGetSingleParagraphMode, "PANGO", "pango_layout_get_single_paragraph_mode", false) | |
| 1233 | + | ||
| 1100 | 1234 | cret := xLayoutGetSingleParagraphMode(x.GoPointer()) | |
| 1101 | 1235 | return cret | |
| 1102 | 1236 | } | |
| @@ -1108,6 +1242,8 @@ var xLayoutGetSize func(uintptr, *int, *int) | |||
| 1108 | 1242 | // | |
| 1109 | 1243 | // This is simply a convenience function around [method@Pango.Layout.get_extents]. | |
| 1110 | 1244 | func (x *Layout) GetSize(WidthVar *int, HeightVar *int) { | |
| 1245 | + | core.LazyRegister(&xLayoutGetSize, "PANGO", "pango_layout_get_size", false) | |
| 1246 | + | ||
| 1111 | 1247 | xLayoutGetSize(x.GoPointer(), WidthVar, HeightVar) | |
| 1112 | 1248 | } | |
| 1113 | 1249 | ||
| @@ -1115,6 +1251,8 @@ var xLayoutGetSpacing func(uintptr) int | |||
| 1115 | 1251 | ||
| 1116 | 1252 | // Gets the amount of spacing between the lines of the layout. | |
| 1117 | 1253 | func (x *Layout) GetSpacing() int { | |
| 1254 | + | core.LazyRegister(&xLayoutGetSpacing, "PANGO", "pango_layout_get_spacing", false) | |
| 1255 | + | ||
| 1118 | 1256 | cret := xLayoutGetSpacing(x.GoPointer()) | |
| 1119 | 1257 | return cret | |
| 1120 | 1258 | } | |
| @@ -1128,6 +1266,8 @@ var xLayoutGetTabs func(uintptr) uintptr | |||
| 1128 | 1266 | // | |
| 1129 | 1267 | // The return value should be freed with [method@Pango.TabArray.free]. | |
| 1130 | 1268 | func (x *Layout) GetTabs() *TabArray { | |
| 1269 | + | core.LazyRegister(&xLayoutGetTabs, "PANGO", "pango_layout_get_tabs", false) | |
| 1270 | + | ||
| 1131 | 1271 | cret := xLayoutGetTabs(x.GoPointer()) | |
| 1132 | 1272 | if cret == 0 { | |
| 1133 | 1273 | return nil | |
| @@ -1141,6 +1281,8 @@ var xLayoutGetText func(uintptr) string | |||
| 1141 | 1281 | // | |
| 1142 | 1282 | // The returned text should not be freed or modified. | |
| 1143 | 1283 | func (x *Layout) GetText() string { | |
| 1284 | + | core.LazyRegister(&xLayoutGetText, "PANGO", "pango_layout_get_text", false) | |
| 1285 | + | ||
| 1144 | 1286 | cret := xLayoutGetText(x.GoPointer()) | |
| 1145 | 1287 | return cret | |
| 1146 | 1288 | } | |
| @@ -1154,6 +1296,8 @@ var xLayoutGetUnknownGlyphsCount func(uintptr) int | |||
| 1154 | 1296 | // used in combination with %PANGO_ATTR_FALLBACK, to check if a | |
| 1155 | 1297 | // certain font supports all the characters in the string. | |
| 1156 | 1298 | func (x *Layout) GetUnknownGlyphsCount() int { | |
| 1299 | + | core.LazyRegister(&xLayoutGetUnknownGlyphsCount, "PANGO", "pango_layout_get_unknown_glyphs_count", false) | |
| 1300 | + | ||
| 1157 | 1301 | cret := xLayoutGetUnknownGlyphsCount(x.GoPointer()) | |
| 1158 | 1302 | return cret | |
| 1159 | 1303 | } | |
| @@ -1162,6 +1306,8 @@ var xLayoutGetWidth func(uintptr) int | |||
| 1162 | 1306 | ||
| 1163 | 1307 | // Gets the width to which the lines of the `PangoLayout` should wrap. | |
| 1164 | 1308 | func (x *Layout) GetWidth() int { | |
| 1309 | + | core.LazyRegister(&xLayoutGetWidth, "PANGO", "pango_layout_get_width", false) | |
| 1310 | + | ||
| 1165 | 1311 | cret := xLayoutGetWidth(x.GoPointer()) | |
| 1166 | 1312 | return cret | |
| 1167 | 1313 | } | |
| @@ -1173,6 +1319,8 @@ var xLayoutGetWrap func(uintptr) WrapMode | |||
| 1173 | 1319 | // Use [method@Pango.Layout.is_wrapped] to query whether | |
| 1174 | 1320 | // any paragraphs were actually wrapped. | |
| 1175 | 1321 | func (x *Layout) GetWrap() WrapMode { | |
| 1322 | + | core.LazyRegister(&xLayoutGetWrap, "PANGO", "pango_layout_get_wrap", false) | |
| 1323 | + | ||
| 1176 | 1324 | cret := xLayoutGetWrap(x.GoPointer()) | |
| 1177 | 1325 | return cret | |
| 1178 | 1326 | } | |
| @@ -1183,6 +1331,8 @@ var xLayoutIndexToLineX func(uintptr, int, bool, *int, *int) | |||
| 1183 | 1331 | // | |
| 1184 | 1332 | // The X position is measured from the left edge of the line. | |
| 1185 | 1333 | func (x *Layout) IndexToLineX(IndexVar int, TrailingVar bool, LineVar *int, XPosVar *int) { | |
| 1334 | + | core.LazyRegister(&xLayoutIndexToLineX, "PANGO", "pango_layout_index_to_line_x", false) | |
| 1335 | + | ||
| 1186 | 1336 | xLayoutIndexToLineX(x.GoPointer(), IndexVar, TrailingVar, LineVar, XPosVar) | |
| 1187 | 1337 | } | |
| 1188 | 1338 | ||
| @@ -1196,6 +1346,8 @@ var xLayoutIndexToPos func(uintptr, int, *Rectangle) | |||
| 1196 | 1346 | // trailing edge of the grapheme. If the directionality of the grapheme | |
| 1197 | 1347 | // is right-to-left, then `pos->width` will be negative. | |
| 1198 | 1348 | func (x *Layout) IndexToPos(IndexVar int, PosVar *Rectangle) { | |
| 1349 | + | core.LazyRegister(&xLayoutIndexToPos, "PANGO", "pango_layout_index_to_pos", false) | |
| 1350 | + | ||
| 1199 | 1351 | xLayoutIndexToPos(x.GoPointer(), IndexVar, PosVar) | |
| 1200 | 1352 | } | |
| 1201 | 1353 | ||
| @@ -1208,6 +1360,8 @@ var xLayoutIsEllipsized func(uintptr) bool | |||
| 1208 | 1360 | // and there are paragraphs exceeding that width that have to be | |
| 1209 | 1361 | // ellipsized. | |
| 1210 | 1362 | func (x *Layout) IsEllipsized() bool { | |
| 1363 | + | core.LazyRegister(&xLayoutIsEllipsized, "PANGO", "pango_layout_is_ellipsized", false) | |
| 1364 | + | ||
| 1211 | 1365 | cret := xLayoutIsEllipsized(x.GoPointer()) | |
| 1212 | 1366 | return cret | |
| 1213 | 1367 | } | |
| @@ -1220,6 +1374,8 @@ var xLayoutIsWrapped func(uintptr) bool | |||
| 1220 | 1374 | // and there are paragraphs exceeding the layout width that have | |
| 1221 | 1375 | // to be wrapped. | |
| 1222 | 1376 | func (x *Layout) IsWrapped() bool { | |
| 1377 | + | core.LazyRegister(&xLayoutIsWrapped, "PANGO", "pango_layout_is_wrapped", false) | |
| 1378 | + | ||
| 1223 | 1379 | cret := xLayoutIsWrapped(x.GoPointer()) | |
| 1224 | 1380 | return cret | |
| 1225 | 1381 | } | |
| @@ -1242,6 +1398,8 @@ var xLayoutMoveCursorVisually func(uintptr, bool, int, int, int, *int, *int) | |||
| 1242 | 1398 | // call to this function may move the cursor over multiple characters | |
| 1243 | 1399 | // when multiple characters combine to form a single grapheme. | |
| 1244 | 1400 | func (x *Layout) MoveCursorVisually(StrongVar bool, OldIndexVar int, OldTrailingVar int, DirectionVar int, NewIndexVar *int, NewTrailingVar *int) { | |
| 1401 | + | core.LazyRegister(&xLayoutMoveCursorVisually, "PANGO", "pango_layout_move_cursor_visually", false) | |
| 1402 | + | ||
| 1245 | 1403 | xLayoutMoveCursorVisually(x.GoPointer(), StrongVar, OldIndexVar, OldTrailingVar, DirectionVar, NewIndexVar, NewTrailingVar) | |
| 1246 | 1404 | } | |
| 1247 | 1405 | ||
| @@ -1256,6 +1414,8 @@ var xLayoutSerialize func(uintptr, LayoutSerializeFlags) uintptr | |||
| 1256 | 1414 | // The intended use of this function is testing, benchmarking and debugging. | |
| 1257 | 1415 | // The format is not meant as a permanent storage format. | |
| 1258 | 1416 | func (x *Layout) Serialize(FlagsVar LayoutSerializeFlags) *glib.Bytes { | |
| 1417 | + | core.LazyRegister(&xLayoutSerialize, "PANGO", "pango_layout_serialize", false) | |
| 1418 | + | ||
| 1259 | 1419 | cret := xLayoutSerialize(x.GoPointer(), FlagsVar) | |
| 1260 | 1420 | if cret == 0 { | |
| 1261 | 1421 | return nil | |
| @@ -1270,6 +1430,8 @@ var xLayoutSetAlignment func(uintptr, Alignment) | |||
| 1270 | 1430 | // | |
| 1271 | 1431 | // The default alignment is %PANGO_ALIGN_LEFT. | |
| 1272 | 1432 | func (x *Layout) SetAlignment(AlignmentVar Alignment) { | |
| 1433 | + | core.LazyRegister(&xLayoutSetAlignment, "PANGO", "pango_layout_set_alignment", false) | |
| 1434 | + | ||
| 1273 | 1435 | xLayoutSetAlignment(x.GoPointer(), AlignmentVar) | |
| 1274 | 1436 | } | |
| 1275 | 1437 | ||
| @@ -1279,6 +1441,8 @@ var xLayoutSetAttributes func(uintptr, *AttrList) | |||
| 1279 | 1441 | // | |
| 1280 | 1442 | // References @attrs, so the caller can unref its reference. | |
| 1281 | 1443 | func (x *Layout) SetAttributes(AttrsVar *AttrList) { | |
| 1444 | + | core.LazyRegister(&xLayoutSetAttributes, "PANGO", "pango_layout_set_attributes", false) | |
| 1445 | + | ||
| 1282 | 1446 | xLayoutSetAttributes(x.GoPointer(), AttrsVar) | |
| 1283 | 1447 | } | |
| 1284 | 1448 | ||
| @@ -1301,6 +1465,8 @@ var xLayoutSetAutoDir func(uintptr, bool) | |||
| 1301 | 1465 | // base direction of the context, the interpretation of | |
| 1302 | 1466 | // %PANGO_ALIGN_LEFT and %PANGO_ALIGN_RIGHT are swapped. | |
| 1303 | 1467 | func (x *Layout) SetAutoDir(AutoDirVar bool) { | |
| 1468 | + | core.LazyRegister(&xLayoutSetAutoDir, "PANGO", "pango_layout_set_auto_dir", false) | |
| 1469 | + | ||
| 1304 | 1470 | xLayoutSetAutoDir(x.GoPointer(), AutoDirVar) | |
| 1305 | 1471 | } | |
| 1306 | 1472 | ||
| @@ -1322,6 +1488,8 @@ var xLayoutSetEllipsize func(uintptr, EllipsizeMode) | |||
| 1322 | 1488 | // | |
| 1323 | 1489 | // See [method@Pango.Layout.set_height] for details. | |
| 1324 | 1490 | func (x *Layout) SetEllipsize(EllipsizeVar EllipsizeMode) { | |
| 1491 | + | core.LazyRegister(&xLayoutSetEllipsize, "PANGO", "pango_layout_set_ellipsize", false) | |
| 1492 | + | ||
| 1325 | 1493 | xLayoutSetEllipsize(x.GoPointer(), EllipsizeVar) | |
| 1326 | 1494 | } | |
| 1327 | 1495 | ||
| @@ -1332,6 +1500,8 @@ var xLayoutSetFontDescription func(uintptr, *FontDescription) | |||
| 1332 | 1500 | // If no font description is set on the layout, the | |
| 1333 | 1501 | // font description from the layout's context is used. | |
| 1334 | 1502 | func (x *Layout) SetFontDescription(DescVar *FontDescription) { | |
| 1503 | + | core.LazyRegister(&xLayoutSetFontDescription, "PANGO", "pango_layout_set_font_description", false) | |
| 1504 | + | ||
| 1335 | 1505 | xLayoutSetFontDescription(x.GoPointer(), DescVar) | |
| 1336 | 1506 | } | |
| 1337 | 1507 | ||
| @@ -1363,6 +1533,8 @@ var xLayoutSetHeight func(uintptr, int) | |||
| 1363 | 1533 | // ellipsization mode is set to %PANGO_ELLIPSIZE_NONE, and may change in the | |
| 1364 | 1534 | // future. | |
| 1365 | 1535 | func (x *Layout) SetHeight(HeightVar int) { | |
| 1536 | + | core.LazyRegister(&xLayoutSetHeight, "PANGO", "pango_layout_set_height", false) | |
| 1537 | + | ||
| 1366 | 1538 | xLayoutSetHeight(x.GoPointer(), HeightVar) | |
| 1367 | 1539 | } | |
| 1368 | 1540 | ||
| @@ -1379,6 +1551,8 @@ var xLayoutSetIndent func(uintptr, int) | |||
| 1379 | 1551 | // | |
| 1380 | 1552 | // The default value is 0. | |
| 1381 | 1553 | func (x *Layout) SetIndent(IndentVar int) { | |
| 1554 | + | core.LazyRegister(&xLayoutSetIndent, "PANGO", "pango_layout_set_indent", false) | |
| 1555 | + | ||
| 1382 | 1556 | xLayoutSetIndent(x.GoPointer(), IndentVar) | |
| 1383 | 1557 | } | |
| 1384 | 1558 | ||
| @@ -1402,6 +1576,8 @@ var xLayoutSetJustify func(uintptr, bool) | |||
| 1402 | 1576 | // | |
| 1403 | 1577 | // Also see [method@Pango.Layout.set_justify_last_line]. | |
| 1404 | 1578 | func (x *Layout) SetJustify(JustifyVar bool) { | |
| 1579 | + | core.LazyRegister(&xLayoutSetJustify, "PANGO", "pango_layout_set_justify", false) | |
| 1580 | + | ||
| 1405 | 1581 | xLayoutSetJustify(x.GoPointer(), JustifyVar) | |
| 1406 | 1582 | } | |
| 1407 | 1583 | ||
| @@ -1415,6 +1591,8 @@ var xLayoutSetJustifyLastLine func(uintptr, bool) | |||
| 1415 | 1591 | // | |
| 1416 | 1592 | // The default value is %FALSE. | |
| 1417 | 1593 | func (x *Layout) SetJustifyLastLine(JustifyVar bool) { | |
| 1594 | + | core.LazyRegister(&xLayoutSetJustifyLastLine, "PANGO", "pango_layout_set_justify_last_line", false) | |
| 1595 | + | ||
| 1418 | 1596 | xLayoutSetJustifyLastLine(x.GoPointer(), JustifyVar) | |
| 1419 | 1597 | } | |
| 1420 | 1598 | ||
| @@ -1437,6 +1615,8 @@ var xLayoutSetLineSpacing func(uintptr, float32) | |||
| 1437 | 1615 | // Note: for semantics that are closer to the CSS line-height | |
| 1438 | 1616 | // property, see [func@Pango.attr_line_height_new]. | |
| 1439 | 1617 | func (x *Layout) SetLineSpacing(FactorVar float32) { | |
| 1618 | + | core.LazyRegister(&xLayoutSetLineSpacing, "PANGO", "pango_layout_set_line_spacing", false) | |
| 1619 | + | ||
| 1440 | 1620 | xLayoutSetLineSpacing(x.GoPointer(), FactorVar) | |
| 1441 | 1621 | } | |
| 1442 | 1622 | ||
| @@ -1451,6 +1631,8 @@ var xLayoutSetMarkup func(uintptr, string, int) | |||
| 1451 | 1631 | // This is the same as [method@Pango.Layout.set_markup_with_accel], | |
| 1452 | 1632 | // but the markup text isn't scanned for accelerators. | |
| 1453 | 1633 | func (x *Layout) SetMarkup(MarkupVar string, LengthVar int) { | |
| 1634 | + | core.LazyRegister(&xLayoutSetMarkup, "PANGO", "pango_layout_set_markup", false) | |
| 1635 | + | ||
| 1454 | 1636 | xLayoutSetMarkup(x.GoPointer(), MarkupVar, LengthVar) | |
| 1455 | 1637 | } | |
| 1456 | 1638 | ||
| @@ -1470,6 +1652,8 @@ var xLayoutSetMarkupWithAccel func(uintptr, string, int, uint32, *uint32) | |||
| 1470 | 1652 | // Two @accel_marker characters following each other produce a single | |
| 1471 | 1653 | // literal @accel_marker character. | |
| 1472 | 1654 | func (x *Layout) SetMarkupWithAccel(MarkupVar string, LengthVar int, AccelMarkerVar uint32, AccelCharVar *uint32) { | |
| 1655 | + | core.LazyRegister(&xLayoutSetMarkupWithAccel, "PANGO", "pango_layout_set_markup_with_accel", false) | |
| 1656 | + | ||
| 1473 | 1657 | xLayoutSetMarkupWithAccel(x.GoPointer(), MarkupVar, LengthVar, AccelMarkerVar, AccelCharVar) | |
| 1474 | 1658 | } | |
| 1475 | 1659 | ||
| @@ -1484,6 +1668,8 @@ var xLayoutSetSingleParagraphMode func(uintptr, bool) | |||
| 1484 | 1668 | // | |
| 1485 | 1669 | // The default value is %FALSE. | |
| 1486 | 1670 | func (x *Layout) SetSingleParagraphMode(SettingVar bool) { | |
| 1671 | + | core.LazyRegister(&xLayoutSetSingleParagraphMode, "PANGO", "pango_layout_set_single_paragraph_mode", false) | |
| 1672 | + | ||
| 1487 | 1673 | xLayoutSetSingleParagraphMode(x.GoPointer(), SettingVar) | |
| 1488 | 1674 | } | |
| 1489 | 1675 | ||
| @@ -1506,6 +1692,8 @@ var xLayoutSetSpacing func(uintptr, int) | |||
| 1506 | 1692 | // Note: for semantics that are closer to the CSS line-height | |
| 1507 | 1693 | // property, see [func@Pango.attr_line_height_new]. | |
| 1508 | 1694 | func (x *Layout) SetSpacing(SpacingVar int) { | |
| 1695 | + | core.LazyRegister(&xLayoutSetSpacing, "PANGO", "pango_layout_set_spacing", false) | |
| 1696 | + | ||
| 1509 | 1697 | xLayoutSetSpacing(x.GoPointer(), SpacingVar) | |
| 1510 | 1698 | } | |
| 1511 | 1699 | ||
| @@ -1525,6 +1713,8 @@ var xLayoutSetTabs func(uintptr, *TabArray) | |||
| 1525 | 1713 | // positions. The same is true for alignments other than | |
| 1526 | 1714 | // %PANGO_ALIGN_LEFT. | |
| 1527 | 1715 | func (x *Layout) SetTabs(TabsVar *TabArray) { | |
| 1716 | + | core.LazyRegister(&xLayoutSetTabs, "PANGO", "pango_layout_set_tabs", false) | |
| 1717 | + | ||
| 1528 | 1718 | xLayoutSetTabs(x.GoPointer(), TabsVar) | |
| 1529 | 1719 | } | |
| 1530 | 1720 | ||
| @@ -1541,6 +1731,8 @@ var xLayoutSetText func(uintptr, string, int) | |||
| 1541 | 1731 | // attributes set on the layout from the markup as this function does | |
| 1542 | 1732 | // not clear attributes. | |
| 1543 | 1733 | func (x *Layout) SetText(TextVar string, LengthVar int) { | |
| 1734 | + | core.LazyRegister(&xLayoutSetText, "PANGO", "pango_layout_set_text", false) | |
| 1735 | + | ||
| 1544 | 1736 | xLayoutSetText(x.GoPointer(), TextVar, LengthVar) | |
| 1545 | 1737 | } | |
| 1546 | 1738 | ||
| @@ -1551,6 +1743,8 @@ var xLayoutSetWidth func(uintptr, int) | |||
| 1551 | 1743 | // | |
| 1552 | 1744 | // The default value is -1: no width set. | |
| 1553 | 1745 | func (x *Layout) SetWidth(WidthVar int) { | |
| 1746 | + | core.LazyRegister(&xLayoutSetWidth, "PANGO", "pango_layout_set_width", false) | |
| 1747 | + | ||
| 1554 | 1748 | xLayoutSetWidth(x.GoPointer(), WidthVar) | |
| 1555 | 1749 | } | |
| 1556 | 1750 | ||
| @@ -1564,6 +1758,8 @@ var xLayoutSetWrap func(uintptr, WrapMode) | |||
| 1564 | 1758 | // | |
| 1565 | 1759 | // The default value is %PANGO_WRAP_WORD. | |
| 1566 | 1760 | func (x *Layout) SetWrap(WrapVar WrapMode) { | |
| 1761 | + | core.LazyRegister(&xLayoutSetWrap, "PANGO", "pango_layout_set_wrap", false) | |
| 1762 | + | ||
| 1567 | 1763 | xLayoutSetWrap(x.GoPointer(), WrapVar) | |
| 1568 | 1764 | } | |
| 1569 | 1765 | ||
| @@ -1579,6 +1775,7 @@ var xLayoutWriteToFile func(uintptr, LayoutSerializeFlags, string, **glib.Error) | |||
| 1579 | 1775 | // It is mostly intended for use inside a debugger to quickly dump | |
| 1580 | 1776 | // a layout to a file for later inspection. | |
| 1581 | 1777 | func (x *Layout) WriteToFile(FlagsVar LayoutSerializeFlags, FilenameVar string) (bool, error) { | |
| 1778 | + | core.LazyRegister(&xLayoutWriteToFile, "PANGO", "pango_layout_write_to_file", false) | |
| 1582 | 1779 | var cerr *glib.Error | |
| 1583 | 1780 | ||
| 1584 | 1781 | cret := xLayoutWriteToFile(x.GoPointer(), FlagsVar, FilenameVar, &cerr) | |
| @@ -1600,6 +1797,8 @@ var xLayoutXyToIndex func(uintptr, int, int, *int, *int) bool | |||
| 1600 | 1797 | // the X or Y positions were not inside the layout, then the function returns | |
| 1601 | 1798 | // %FALSE; on an exact hit, it returns %TRUE. | |
| 1602 | 1799 | func (x *Layout) XyToIndex(XVar int, YVar int, IndexVar *int, TrailingVar *int) bool { | |
| 1800 | + | core.LazyRegister(&xLayoutXyToIndex, "PANGO", "pango_layout_xy_to_index", false) | |
| 1801 | + | ||
| 1603 | 1802 | cret := xLayoutXyToIndex(x.GoPointer(), XVar, YVar, IndexVar, TrailingVar) | |
| 1604 | 1803 | return cret | |
| 1605 | 1804 | } | |
| @@ -1625,6 +1824,7 @@ var xLayoutDeserialize func(uintptr, *glib.Bytes, LayoutDeserializeFlags, **glib | |||
| 1625 | 1824 | // the one that was serialized, you can compare @bytes to the | |
| 1626 | 1825 | // result of serializing the layout again. | |
| 1627 | 1826 | func LayoutDeserialize(ContextVar *Context, BytesVar *glib.Bytes, FlagsVar LayoutDeserializeFlags) (*Layout, error) { | |
| 1827 | + | core.LazyRegister(&xLayoutDeserialize, "PANGO", "pango_layout_deserialize", false) | |
| 1628 | 1828 | var cls *Layout | |
| 1629 | 1829 | var cerr *glib.Error | |
| 1630 | 1830 | ||
| @@ -1644,134 +1844,4 @@ func LayoutDeserialize(ContextVar *Context, BytesVar *glib.Bytes, FlagsVar Layou | |||
| 1644 | 1844 | func init() { | |
| 1645 | 1845 | core.SetPackageName("PANGO", "pango") | |
| 1646 | 1846 | core.SetSharedLibraries("PANGO", []string{"libpango-1.0.so.0", "libpango-1.0.0.dylib"}) | |
| 1647 | - | var libs []uintptr | |
| 1648 | - | for _, libPath := range core.GetPaths("PANGO") { | |
| 1649 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 1650 | - | if err != nil { | |
| 1651 | - | panic(err) | |
| 1652 | - | } | |
| 1653 | - | libs = append(libs, lib) | |
| 1654 | - | } | |
| 1655 | - | ||
| 1656 | - | core.PuregoSafeRegister(&xLayoutDeserializeFlagsGLibType, libs, "pango_layout_deserialize_flags_get_type") | |
| 1657 | - | ||
| 1658 | - | core.PuregoSafeRegister(&xLayoutSerializeFlagsGLibType, libs, "pango_layout_serialize_flags_get_type") | |
| 1659 | - | ||
| 1660 | - | core.PuregoSafeRegister(&xAlignmentGLibType, libs, "pango_alignment_get_type") | |
| 1661 | - | ||
| 1662 | - | core.PuregoSafeRegister(&xEllipsizeModeGLibType, libs, "pango_ellipsize_mode_get_type") | |
| 1663 | - | ||
| 1664 | - | core.PuregoSafeRegister(&xLayoutDeserializeErrorGLibType, libs, "pango_layout_deserialize_error_get_type") | |
| 1665 | - | ||
| 1666 | - | core.PuregoSafeRegister(&xWrapModeGLibType, libs, "pango_wrap_mode_get_type") | |
| 1667 | - | ||
| 1668 | - | core.PuregoSafeRegister(&xLayoutIterGLibType, libs, "pango_layout_iter_get_type") | |
| 1669 | - | ||
| 1670 | - | core.PuregoSafeRegister(&xLayoutIterAtLastLine, libs, "pango_layout_iter_at_last_line") | |
| 1671 | - | core.PuregoSafeRegister(&xLayoutIterCopy, libs, "pango_layout_iter_copy") | |
| 1672 | - | core.PuregoSafeRegister(&xLayoutIterFree, libs, "pango_layout_iter_free") | |
| 1673 | - | core.PuregoSafeRegister(&xLayoutIterGetBaseline, libs, "pango_layout_iter_get_baseline") | |
| 1674 | - | core.PuregoSafeRegister(&xLayoutIterGetCharExtents, libs, "pango_layout_iter_get_char_extents") | |
| 1675 | - | core.PuregoSafeRegister(&xLayoutIterGetClusterExtents, libs, "pango_layout_iter_get_cluster_extents") | |
| 1676 | - | core.PuregoSafeRegister(&xLayoutIterGetIndex, libs, "pango_layout_iter_get_index") | |
| 1677 | - | core.PuregoSafeRegister(&xLayoutIterGetLayout, libs, "pango_layout_iter_get_layout") | |
| 1678 | - | core.PuregoSafeRegister(&xLayoutIterGetLayoutExtents, libs, "pango_layout_iter_get_layout_extents") | |
| 1679 | - | core.PuregoSafeRegister(&xLayoutIterGetLine, libs, "pango_layout_iter_get_line") | |
| 1680 | - | core.PuregoSafeRegister(&xLayoutIterGetLineExtents, libs, "pango_layout_iter_get_line_extents") | |
| 1681 | - | core.PuregoSafeRegister(&xLayoutIterGetLineReadonly, libs, "pango_layout_iter_get_line_readonly") | |
| 1682 | - | core.PuregoSafeRegister(&xLayoutIterGetLineYrange, libs, "pango_layout_iter_get_line_yrange") | |
| 1683 | - | core.PuregoSafeRegister(&xLayoutIterGetRun, libs, "pango_layout_iter_get_run") | |
| 1684 | - | core.PuregoSafeRegister(&xLayoutIterGetRunBaseline, libs, "pango_layout_iter_get_run_baseline") | |
| 1685 | - | core.PuregoSafeRegister(&xLayoutIterGetRunExtents, libs, "pango_layout_iter_get_run_extents") | |
| 1686 | - | core.PuregoSafeRegister(&xLayoutIterGetRunReadonly, libs, "pango_layout_iter_get_run_readonly") | |
| 1687 | - | core.PuregoSafeRegister(&xLayoutIterNextChar, libs, "pango_layout_iter_next_char") | |
| 1688 | - | core.PuregoSafeRegister(&xLayoutIterNextCluster, libs, "pango_layout_iter_next_cluster") | |
| 1689 | - | core.PuregoSafeRegister(&xLayoutIterNextLine, libs, "pango_layout_iter_next_line") | |
| 1690 | - | core.PuregoSafeRegister(&xLayoutIterNextRun, libs, "pango_layout_iter_next_run") | |
| 1691 | - | ||
| 1692 | - | core.PuregoSafeRegister(&xLayoutLineGLibType, libs, "pango_layout_line_get_type") | |
| 1693 | - | ||
| 1694 | - | core.PuregoSafeRegister(&xLayoutLineGetExtents, libs, "pango_layout_line_get_extents") | |
| 1695 | - | core.PuregoSafeRegister(&xLayoutLineGetHeight, libs, "pango_layout_line_get_height") | |
| 1696 | - | core.PuregoSafeRegister(&xLayoutLineGetLength, libs, "pango_layout_line_get_length") | |
| 1697 | - | core.PuregoSafeRegister(&xLayoutLineGetPixelExtents, libs, "pango_layout_line_get_pixel_extents") | |
| 1698 | - | core.PuregoSafeRegister(&xLayoutLineGetResolvedDirection, libs, "pango_layout_line_get_resolved_direction") | |
| 1699 | - | core.PuregoSafeRegister(&xLayoutLineGetStartIndex, libs, "pango_layout_line_get_start_index") | |
| 1700 | - | core.PuregoSafeRegister(&xLayoutLineGetXRanges, libs, "pango_layout_line_get_x_ranges") | |
| 1701 | - | core.PuregoSafeRegister(&xLayoutLineIndexToX, libs, "pango_layout_line_index_to_x") | |
| 1702 | - | core.PuregoSafeRegister(&xLayoutLineIsParagraphStartFn, libs, "pango_layout_line_is_paragraph_start") | |
| 1703 | - | core.PuregoSafeRegister(&xLayoutLineRef, libs, "pango_layout_line_ref") | |
| 1704 | - | core.PuregoSafeRegister(&xLayoutLineUnref, libs, "pango_layout_line_unref") | |
| 1705 | - | core.PuregoSafeRegister(&xLayoutLineXToIndex, libs, "pango_layout_line_x_to_index") | |
| 1706 | - | ||
| 1707 | - | core.PuregoSafeRegister(&xLayoutGLibType, libs, "pango_layout_get_type") | |
| 1708 | - | ||
| 1709 | - | core.PuregoSafeRegister(&xNewLayout, libs, "pango_layout_new") | |
| 1710 | - | ||
| 1711 | - | core.PuregoSafeRegister(&xLayoutContextChanged, libs, "pango_layout_context_changed") | |
| 1712 | - | core.PuregoSafeRegister(&xLayoutCopy, libs, "pango_layout_copy") | |
| 1713 | - | core.PuregoSafeRegister(&xLayoutGetAlignment, libs, "pango_layout_get_alignment") | |
| 1714 | - | core.PuregoSafeRegister(&xLayoutGetAttributes, libs, "pango_layout_get_attributes") | |
| 1715 | - | core.PuregoSafeRegister(&xLayoutGetAutoDir, libs, "pango_layout_get_auto_dir") | |
| 1716 | - | core.PuregoSafeRegister(&xLayoutGetBaseline, libs, "pango_layout_get_baseline") | |
| 1717 | - | core.PuregoSafeRegister(&xLayoutGetCaretPos, libs, "pango_layout_get_caret_pos") | |
| 1718 | - | core.PuregoSafeRegister(&xLayoutGetCharacterCount, libs, "pango_layout_get_character_count") | |
| 1719 | - | core.PuregoSafeRegister(&xLayoutGetContext, libs, "pango_layout_get_context") | |
| 1720 | - | core.PuregoSafeRegister(&xLayoutGetCursorPos, libs, "pango_layout_get_cursor_pos") | |
| 1721 | - | core.PuregoSafeRegister(&xLayoutGetDirection, libs, "pango_layout_get_direction") | |
| 1722 | - | core.PuregoSafeRegister(&xLayoutGetEllipsize, libs, "pango_layout_get_ellipsize") | |
| 1723 | - | core.PuregoSafeRegister(&xLayoutGetExtents, libs, "pango_layout_get_extents") | |
| 1724 | - | core.PuregoSafeRegister(&xLayoutGetFontDescription, libs, "pango_layout_get_font_description") | |
| 1725 | - | core.PuregoSafeRegister(&xLayoutGetHeight, libs, "pango_layout_get_height") | |
| 1726 | - | core.PuregoSafeRegister(&xLayoutGetIndent, libs, "pango_layout_get_indent") | |
| 1727 | - | core.PuregoSafeRegister(&xLayoutGetIter, libs, "pango_layout_get_iter") | |
| 1728 | - | core.PuregoSafeRegister(&xLayoutGetJustify, libs, "pango_layout_get_justify") | |
| 1729 | - | core.PuregoSafeRegister(&xLayoutGetJustifyLastLine, libs, "pango_layout_get_justify_last_line") | |
| 1730 | - | core.PuregoSafeRegister(&xLayoutGetLine, libs, "pango_layout_get_line") | |
| 1731 | - | core.PuregoSafeRegister(&xLayoutGetLineCount, libs, "pango_layout_get_line_count") | |
| 1732 | - | core.PuregoSafeRegister(&xLayoutGetLineReadonly, libs, "pango_layout_get_line_readonly") | |
| 1733 | - | core.PuregoSafeRegister(&xLayoutGetLineSpacing, libs, "pango_layout_get_line_spacing") | |
| 1734 | - | core.PuregoSafeRegister(&xLayoutGetLines, libs, "pango_layout_get_lines") | |
| 1735 | - | core.PuregoSafeRegister(&xLayoutGetLinesReadonly, libs, "pango_layout_get_lines_readonly") | |
| 1736 | - | core.PuregoSafeRegister(&xLayoutGetLogAttrs, libs, "pango_layout_get_log_attrs") | |
| 1737 | - | core.PuregoSafeRegister(&xLayoutGetLogAttrsReadonly, libs, "pango_layout_get_log_attrs_readonly") | |
| 1738 | - | core.PuregoSafeRegister(&xLayoutGetPixelExtents, libs, "pango_layout_get_pixel_extents") | |
| 1739 | - | core.PuregoSafeRegister(&xLayoutGetPixelSize, libs, "pango_layout_get_pixel_size") | |
| 1740 | - | core.PuregoSafeRegister(&xLayoutGetSerial, libs, "pango_layout_get_serial") | |
| 1741 | - | core.PuregoSafeRegister(&xLayoutGetSingleParagraphMode, libs, "pango_layout_get_single_paragraph_mode") | |
| 1742 | - | core.PuregoSafeRegister(&xLayoutGetSize, libs, "pango_layout_get_size") | |
| 1743 | - | core.PuregoSafeRegister(&xLayoutGetSpacing, libs, "pango_layout_get_spacing") | |
| 1744 | - | core.PuregoSafeRegister(&xLayoutGetTabs, libs, "pango_layout_get_tabs") | |
| 1745 | - | core.PuregoSafeRegister(&xLayoutGetText, libs, "pango_layout_get_text") | |
| 1746 | - | core.PuregoSafeRegister(&xLayoutGetUnknownGlyphsCount, libs, "pango_layout_get_unknown_glyphs_count") | |
| 1747 | - | core.PuregoSafeRegister(&xLayoutGetWidth, libs, "pango_layout_get_width") | |
| 1748 | - | core.PuregoSafeRegister(&xLayoutGetWrap, libs, "pango_layout_get_wrap") | |
| 1749 | - | core.PuregoSafeRegister(&xLayoutIndexToLineX, libs, "pango_layout_index_to_line_x") | |
| 1750 | - | core.PuregoSafeRegister(&xLayoutIndexToPos, libs, "pango_layout_index_to_pos") | |
| 1751 | - | core.PuregoSafeRegister(&xLayoutIsEllipsized, libs, "pango_layout_is_ellipsized") | |
| 1752 | - | core.PuregoSafeRegister(&xLayoutIsWrapped, libs, "pango_layout_is_wrapped") | |
| 1753 | - | core.PuregoSafeRegister(&xLayoutMoveCursorVisually, libs, "pango_layout_move_cursor_visually") | |
| 1754 | - | core.PuregoSafeRegister(&xLayoutSerialize, libs, "pango_layout_serialize") | |
| 1755 | - | core.PuregoSafeRegister(&xLayoutSetAlignment, libs, "pango_layout_set_alignment") | |
| 1756 | - | core.PuregoSafeRegister(&xLayoutSetAttributes, libs, "pango_layout_set_attributes") | |
| 1757 | - | core.PuregoSafeRegister(&xLayoutSetAutoDir, libs, "pango_layout_set_auto_dir") | |
| 1758 | - | core.PuregoSafeRegister(&xLayoutSetEllipsize, libs, "pango_layout_set_ellipsize") | |
| 1759 | - | core.PuregoSafeRegister(&xLayoutSetFontDescription, libs, "pango_layout_set_font_description") | |
| 1760 | - | core.PuregoSafeRegister(&xLayoutSetHeight, libs, "pango_layout_set_height") | |
| 1761 | - | core.PuregoSafeRegister(&xLayoutSetIndent, libs, "pango_layout_set_indent") | |
| 1762 | - | core.PuregoSafeRegister(&xLayoutSetJustify, libs, "pango_layout_set_justify") | |
| 1763 | - | core.PuregoSafeRegister(&xLayoutSetJustifyLastLine, libs, "pango_layout_set_justify_last_line") | |
| 1764 | - | core.PuregoSafeRegister(&xLayoutSetLineSpacing, libs, "pango_layout_set_line_spacing") | |
| 1765 | - | core.PuregoSafeRegister(&xLayoutSetMarkup, libs, "pango_layout_set_markup") | |
| 1766 | - | core.PuregoSafeRegister(&xLayoutSetMarkupWithAccel, libs, "pango_layout_set_markup_with_accel") | |
| 1767 | - | core.PuregoSafeRegister(&xLayoutSetSingleParagraphMode, libs, "pango_layout_set_single_paragraph_mode") | |
| 1768 | - | core.PuregoSafeRegister(&xLayoutSetSpacing, libs, "pango_layout_set_spacing") | |
| 1769 | - | core.PuregoSafeRegister(&xLayoutSetTabs, libs, "pango_layout_set_tabs") | |
| 1770 | - | core.PuregoSafeRegister(&xLayoutSetText, libs, "pango_layout_set_text") | |
| 1771 | - | core.PuregoSafeRegister(&xLayoutSetWidth, libs, "pango_layout_set_width") | |
| 1772 | - | core.PuregoSafeRegister(&xLayoutSetWrap, libs, "pango_layout_set_wrap") | |
| 1773 | - | core.PuregoSafeRegister(&xLayoutWriteToFile, libs, "pango_layout_write_to_file") | |
| 1774 | - | core.PuregoSafeRegister(&xLayoutXyToIndex, libs, "pango_layout_xy_to_index") | |
| 1775 | - | ||
| 1776 | - | core.PuregoSafeRegister(&xLayoutDeserialize, libs, "pango_layout_deserialize") | |
| 1777 | 1847 | } | |
| @@ -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" | ||
| @@ -41,6 +40,7 @@ type LayoutIter struct { | |||||
| 41 | var xLayoutIterGLibType func() types.GType | 40 | var xLayoutIterGLibType func() types.GType | ||
| 42 | 41 | ||||
| 43 | func LayoutIterGLibType() types.GType { | 42 | func LayoutIterGLibType() types.GType { | ||
| 43 | + | core.LazyRegister(&xLayoutIterGLibType, "PANGO", "pango_layout_iter_get_type", false) | |||
| 44 | return xLayoutIterGLibType() | 44 | return xLayoutIterGLibType() | ||
| 45 | } | 45 | } | ||
| 46 | 46 | ||||
| @@ -60,6 +60,8 @@ var xLayoutIterAtLastLine func(uintptr) bool | |||||
| 60 | 60 | ||||
| 61 | // Determines whether @iter is on the last line of the layout. | 61 | // Determines whether @iter is on the last line of the layout. | ||
| 62 | func (x *LayoutIter) AtLastLine() bool { | 62 | func (x *LayoutIter) AtLastLine() bool { | ||
| 63 | + | core.LazyRegister(&xLayoutIterAtLastLine, "PANGO", "pango_layout_iter_at_last_line", false) | |||
| 64 | + | ||||
| 63 | cret := xLayoutIterAtLastLine(x.GoPointer()) | 65 | cret := xLayoutIterAtLastLine(x.GoPointer()) | ||
| 64 | return cret | 66 | return cret | ||
| 65 | } | 67 | } | ||
| @@ -68,6 +70,8 @@ var xLayoutIterCopy func(uintptr) uintptr | |||||
| 68 | 70 | ||||
| 69 | // Copies a `PangoLayoutIter`. | 71 | // Copies a `PangoLayoutIter`. | ||
| 70 | func (x *LayoutIter) Copy() *LayoutIter { | 72 | func (x *LayoutIter) Copy() *LayoutIter { | ||
| 73 | + | core.LazyRegister(&xLayoutIterCopy, "PANGO", "pango_layout_iter_copy", false) | |||
| 74 | + | ||||
| 71 | cret := xLayoutIterCopy(x.GoPointer()) | 75 | cret := xLayoutIterCopy(x.GoPointer()) | ||
| 72 | if cret == 0 { | 76 | if cret == 0 { | ||
| 73 | return nil | 77 | return nil | ||
| @@ -79,6 +83,8 @@ var xLayoutIterFree func(uintptr) | |||||
| 79 | 83 | ||||
| 80 | // Frees an iterator that's no longer in use. | 84 | // Frees an iterator that's no longer in use. | ||
| 81 | func (x *LayoutIter) Free() { | 85 | func (x *LayoutIter) Free() { | ||
| 86 | + | core.LazyRegister(&xLayoutIterFree, "PANGO", "pango_layout_iter_free", false) | |||
| 87 | + | ||||
| 82 | xLayoutIterFree(x.GoPointer()) | 88 | xLayoutIterFree(x.GoPointer()) | ||
| 83 | } | 89 | } | ||
| 84 | 90 | ||||
| @@ -89,6 +95,8 @@ var xLayoutIterGetBaseline func(uintptr) int | |||||
| 89 | // | 95 | // | ||
| 90 | // Layout coordinates have the origin at the top left of the entire layout. | 96 | // Layout coordinates have the origin at the top left of the entire layout. | ||
| 91 | func (x *LayoutIter) GetBaseline() int { | 97 | func (x *LayoutIter) GetBaseline() int { | ||
| 98 | + | core.LazyRegister(&xLayoutIterGetBaseline, "PANGO", "pango_layout_iter_get_baseline", false) | |||
| 99 | + | ||||
| 92 | cret := xLayoutIterGetBaseline(x.GoPointer()) | 100 | cret := xLayoutIterGetBaseline(x.GoPointer()) | ||
| 93 | return cret | 101 | return cret | ||
| 94 | } | 102 | } | ||
| @@ -102,6 +110,8 @@ var xLayoutIterGetCharExtents func(uintptr, *Rectangle) | |||||
| 102 | // Only logical extents can sensibly be obtained for characters; | 110 | // Only logical extents can sensibly be obtained for characters; | ||
| 103 | // ink extents make sense only down to the level of clusters. | 111 | // ink extents make sense only down to the level of clusters. | ||
| 104 | func (x *LayoutIter) GetCharExtents(LogicalRectVar *Rectangle) { | 112 | func (x *LayoutIter) GetCharExtents(LogicalRectVar *Rectangle) { | ||
| 113 | + | core.LazyRegister(&xLayoutIterGetCharExtents, "PANGO", "pango_layout_iter_get_char_extents", false) | |||
| 114 | + | ||||
| 105 | xLayoutIterGetCharExtents(x.GoPointer(), LogicalRectVar) | 115 | xLayoutIterGetCharExtents(x.GoPointer(), LogicalRectVar) | ||
| 106 | } | 116 | } | ||
| 107 | 117 | ||||
| @@ -111,6 +121,8 @@ var xLayoutIterGetClusterExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 111 | // | 121 | // | ||
| 112 | // Layout coordinates have the origin at the top left of the entire layout. | 122 | // Layout coordinates have the origin at the top left of the entire layout. | ||
| 113 | func (x *LayoutIter) GetClusterExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 123 | func (x *LayoutIter) GetClusterExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 124 | + | core.LazyRegister(&xLayoutIterGetClusterExtents, "PANGO", "pango_layout_iter_get_cluster_extents", false) | |||
| 125 | + | ||||
| 114 | xLayoutIterGetClusterExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 126 | xLayoutIterGetClusterExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 115 | } | 127 | } | ||
| 116 | 128 | ||||
| @@ -123,6 +135,8 @@ var xLayoutIterGetIndex func(uintptr) int | |||||
| 123 | // the index may be equal to the length of the text in the | 135 | // the index may be equal to the length of the text in the | ||
| 124 | // layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]). | 136 | // layout, if on the %NULL run (see [method@Pango.LayoutIter.get_run]). | ||
| 125 | func (x *LayoutIter) GetIndex() int { | 137 | func (x *LayoutIter) GetIndex() int { | ||
| 138 | + | core.LazyRegister(&xLayoutIterGetIndex, "PANGO", "pango_layout_iter_get_index", false) | |||
| 139 | + | ||||
| 126 | cret := xLayoutIterGetIndex(x.GoPointer()) | 140 | cret := xLayoutIterGetIndex(x.GoPointer()) | ||
| 127 | return cret | 141 | return cret | ||
| 128 | } | 142 | } | ||
| @@ -131,6 +145,7 @@ var xLayoutIterGetLayout func(uintptr) uintptr | |||||
| 131 | 145 | ||||
| 132 | // Gets the layout associated with a `PangoLayoutIter`. | 146 | // Gets the layout associated with a `PangoLayoutIter`. | ||
| 133 | func (x *LayoutIter) GetLayout() *Layout { | 147 | func (x *LayoutIter) GetLayout() *Layout { | ||
| 148 | + | core.LazyRegister(&xLayoutIterGetLayout, "PANGO", "pango_layout_iter_get_layout", false) | |||
| 134 | var cls *Layout | 149 | var cls *Layout | ||
| 135 | 150 | ||||
| 136 | cret := xLayoutIterGetLayout(x.GoPointer()) | 151 | cret := xLayoutIterGetLayout(x.GoPointer()) | ||
| @@ -148,6 +163,8 @@ var xLayoutIterGetLayoutExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 148 | 163 | ||||
| 149 | // Obtains the extents of the `PangoLayout` being iterated over. | 164 | // Obtains the extents of the `PangoLayout` being iterated over. | ||
| 150 | func (x *LayoutIter) GetLayoutExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 165 | func (x *LayoutIter) GetLayoutExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 166 | + | core.LazyRegister(&xLayoutIterGetLayoutExtents, "PANGO", "pango_layout_iter_get_layout_extents", false) | |||
| 167 | + | ||||
| 151 | xLayoutIterGetLayoutExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 168 | xLayoutIterGetLayoutExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 152 | } | 169 | } | ||
| 153 | 170 | ||||
| @@ -159,6 +176,8 @@ var xLayoutIterGetLine func(uintptr) uintptr | |||||
| 159 | // you do not plan to modify the contents of the line (glyphs, | 176 | // you do not plan to modify the contents of the line (glyphs, | ||
| 160 | // glyph widths, etc.). | 177 | // glyph widths, etc.). | ||
| 161 | func (x *LayoutIter) GetLine() *LayoutLine { | 178 | func (x *LayoutIter) GetLine() *LayoutLine { | ||
| 179 | + | core.LazyRegister(&xLayoutIterGetLine, "PANGO", "pango_layout_iter_get_line", false) | |||
| 180 | + | ||||
| 162 | cret := xLayoutIterGetLine(x.GoPointer()) | 181 | cret := xLayoutIterGetLine(x.GoPointer()) | ||
| 163 | if cret == 0 { | 182 | if cret == 0 { | ||
| 164 | return nil | 183 | return nil | ||
| @@ -175,6 +194,8 @@ var xLayoutIterGetLineExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 175 | // function will be the same width/height but not at the same x/y | 194 | // function will be the same width/height but not at the same x/y | ||
| 176 | // as the extents returned from [method@Pango.LayoutLine.get_extents]. | 195 | // as the extents returned from [method@Pango.LayoutLine.get_extents]. | ||
| 177 | func (x *LayoutIter) GetLineExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 196 | func (x *LayoutIter) GetLineExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 197 | + | core.LazyRegister(&xLayoutIterGetLineExtents, "PANGO", "pango_layout_iter_get_line_extents", false) | |||
| 198 | + | ||||
| 178 | xLayoutIterGetLineExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 199 | xLayoutIterGetLineExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 179 | } | 200 | } | ||
| 180 | 201 | ||||
| @@ -186,6 +207,8 @@ var xLayoutIterGetLineReadonly func(uintptr) uintptr | |||||
| 186 | // but the user is not expected to modify the contents of the line | 207 | // but the user is not expected to modify the contents of the line | ||
| 187 | // (glyphs, glyph widths, etc.). | 208 | // (glyphs, glyph widths, etc.). | ||
| 188 | func (x *LayoutIter) GetLineReadonly() *LayoutLine { | 209 | func (x *LayoutIter) GetLineReadonly() *LayoutLine { | ||
| 210 | + | core.LazyRegister(&xLayoutIterGetLineReadonly, "PANGO", "pango_layout_iter_get_line_readonly", false) | |||
| 211 | + | ||||
| 189 | cret := xLayoutIterGetLineReadonly(x.GoPointer()) | 212 | cret := xLayoutIterGetLineReadonly(x.GoPointer()) | ||
| 190 | if cret == 0 { | 213 | if cret == 0 { | ||
| 191 | return nil | 214 | return nil | ||
| @@ -207,6 +230,8 @@ var xLayoutIterGetLineYrange func(uintptr, *int, *int) | |||||
| 207 | // Note: Since 1.44, Pango uses line heights for placing lines, and there | 230 | // Note: Since 1.44, Pango uses line heights for placing lines, and there | ||
| 208 | // may be gaps between the ranges returned by this function. | 231 | // may be gaps between the ranges returned by this function. | ||
| 209 | func (x *LayoutIter) GetLineYrange(Y0Var *int, Y1Var *int) { | 232 | func (x *LayoutIter) GetLineYrange(Y0Var *int, Y1Var *int) { | ||
| 233 | + | core.LazyRegister(&xLayoutIterGetLineYrange, "PANGO", "pango_layout_iter_get_line_yrange", false) | |||
| 234 | + | ||||
| 210 | xLayoutIterGetLineYrange(x.GoPointer(), Y0Var, Y1Var) | 235 | xLayoutIterGetLineYrange(x.GoPointer(), Y0Var, Y1Var) | ||
| 211 | } | 236 | } | ||
| 212 | 237 | ||||
| @@ -222,6 +247,8 @@ var xLayoutIterGetRun func(uintptr) uintptr | |||||
| 222 | // Use the faster [method@Pango.LayoutIter.get_run_readonly] if you do not | 247 | // Use the faster [method@Pango.LayoutIter.get_run_readonly] if you do not | ||
| 223 | // plan to modify the contents of the run (glyphs, glyph widths, etc.). | 248 | // plan to modify the contents of the run (glyphs, glyph widths, etc.). | ||
| 224 | func (x *LayoutIter) GetRun() *LayoutRun { | 249 | func (x *LayoutIter) GetRun() *LayoutRun { | ||
| 250 | + | core.LazyRegister(&xLayoutIterGetRun, "PANGO", "pango_layout_iter_get_run", false) | |||
| 251 | + | ||||
| 225 | cret := xLayoutIterGetRun(x.GoPointer()) | 252 | cret := xLayoutIterGetRun(x.GoPointer()) | ||
| 226 | if cret == 0 { | 253 | if cret == 0 { | ||
| 227 | return nil | 254 | return nil | ||
| @@ -239,6 +266,8 @@ var xLayoutIterGetRunBaseline func(uintptr) int | |||||
| 239 | // The run baseline can be different from the line baseline, for | 266 | // The run baseline can be different from the line baseline, for | ||
| 240 | // example due to superscript or subscript positioning. | 267 | // example due to superscript or subscript positioning. | ||
| 241 | func (x *LayoutIter) GetRunBaseline() int { | 268 | func (x *LayoutIter) GetRunBaseline() int { | ||
| 269 | + | core.LazyRegister(&xLayoutIterGetRunBaseline, "PANGO", "pango_layout_iter_get_run_baseline", false) | |||
| 270 | + | ||||
| 242 | cret := xLayoutIterGetRunBaseline(x.GoPointer()) | 271 | cret := xLayoutIterGetRunBaseline(x.GoPointer()) | ||
| 243 | return cret | 272 | return cret | ||
| 244 | } | 273 | } | ||
| @@ -249,6 +278,8 @@ var xLayoutIterGetRunExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 249 | // | 278 | // | ||
| 250 | // Layout coordinates have the origin at the top left of the entire layout. | 279 | // Layout coordinates have the origin at the top left of the entire layout. | ||
| 251 | func (x *LayoutIter) GetRunExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 280 | func (x *LayoutIter) GetRunExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 281 | + | core.LazyRegister(&xLayoutIterGetRunExtents, "PANGO", "pango_layout_iter_get_run_extents", false) | |||
| 282 | + | ||||
| 252 | xLayoutIterGetRunExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 283 | xLayoutIterGetRunExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 253 | } | 284 | } | ||
| 254 | 285 | ||||
| @@ -265,6 +296,8 @@ var xLayoutIterGetRunReadonly func(uintptr) uintptr | |||||
| 265 | // but the user is not expected to modify the contents of the run (glyphs, | 296 | // but the user is not expected to modify the contents of the run (glyphs, | ||
| 266 | // glyph widths, etc.). | 297 | // glyph widths, etc.). | ||
| 267 | func (x *LayoutIter) GetRunReadonly() *LayoutRun { | 298 | func (x *LayoutIter) GetRunReadonly() *LayoutRun { | ||
| 299 | + | core.LazyRegister(&xLayoutIterGetRunReadonly, "PANGO", "pango_layout_iter_get_run_readonly", false) | |||
| 300 | + | ||||
| 268 | cret := xLayoutIterGetRunReadonly(x.GoPointer()) | 301 | cret := xLayoutIterGetRunReadonly(x.GoPointer()) | ||
| 269 | if cret == 0 { | 302 | if cret == 0 { | ||
| 270 | return nil | 303 | return nil | ||
| @@ -278,6 +311,8 @@ var xLayoutIterNextChar func(uintptr) bool | |||||
| 278 | // | 311 | // | ||
| 279 | // If @iter was already at the end of the layout, returns %FALSE. | 312 | // If @iter was already at the end of the layout, returns %FALSE. | ||
| 280 | func (x *LayoutIter) NextChar() bool { | 313 | func (x *LayoutIter) NextChar() bool { | ||
| 314 | + | core.LazyRegister(&xLayoutIterNextChar, "PANGO", "pango_layout_iter_next_char", false) | |||
| 315 | + | ||||
| 281 | cret := xLayoutIterNextChar(x.GoPointer()) | 316 | cret := xLayoutIterNextChar(x.GoPointer()) | ||
| 282 | return cret | 317 | return cret | ||
| 283 | } | 318 | } | ||
| @@ -288,6 +323,8 @@ var xLayoutIterNextCluster func(uintptr) bool | |||||
| 288 | // | 323 | // | ||
| 289 | // If @iter was already at the end of the layout, returns %FALSE. | 324 | // If @iter was already at the end of the layout, returns %FALSE. | ||
| 290 | func (x *LayoutIter) NextCluster() bool { | 325 | func (x *LayoutIter) NextCluster() bool { | ||
| 326 | + | core.LazyRegister(&xLayoutIterNextCluster, "PANGO", "pango_layout_iter_next_cluster", false) | |||
| 327 | + | ||||
| 291 | cret := xLayoutIterNextCluster(x.GoPointer()) | 328 | cret := xLayoutIterNextCluster(x.GoPointer()) | ||
| 292 | return cret | 329 | return cret | ||
| 293 | } | 330 | } | ||
| @@ -298,6 +335,8 @@ var xLayoutIterNextLine func(uintptr) bool | |||||
| 298 | // | 335 | // | ||
| 299 | // If @iter is already on the last line, returns %FALSE. | 336 | // If @iter is already on the last line, returns %FALSE. | ||
| 300 | func (x *LayoutIter) NextLine() bool { | 337 | func (x *LayoutIter) NextLine() bool { | ||
| 338 | + | core.LazyRegister(&xLayoutIterNextLine, "PANGO", "pango_layout_iter_next_line", false) | |||
| 339 | + | ||||
| 301 | cret := xLayoutIterNextLine(x.GoPointer()) | 340 | cret := xLayoutIterNextLine(x.GoPointer()) | ||
| 302 | return cret | 341 | return cret | ||
| 303 | } | 342 | } | ||
| @@ -308,6 +347,8 @@ var xLayoutIterNextRun func(uintptr) bool | |||||
| 308 | // | 347 | // | ||
| 309 | // If @iter was already at the end of the layout, returns %FALSE. | 348 | // If @iter was already at the end of the layout, returns %FALSE. | ||
| 310 | func (x *LayoutIter) NextRun() bool { | 349 | func (x *LayoutIter) NextRun() bool { | ||
| 350 | + | core.LazyRegister(&xLayoutIterNextRun, "PANGO", "pango_layout_iter_next_run", false) | |||
| 351 | + | ||||
| 311 | cret := xLayoutIterNextRun(x.GoPointer()) | 352 | cret := xLayoutIterNextRun(x.GoPointer()) | ||
| 312 | return cret | 353 | return cret | ||
| 313 | } | 354 | } | ||
| @@ -337,6 +378,7 @@ type LayoutLine struct { | |||||
| 337 | var xLayoutLineGLibType func() types.GType | 378 | var xLayoutLineGLibType func() types.GType | ||
| 338 | 379 | ||||
| 339 | func LayoutLineGLibType() types.GType { | 380 | func LayoutLineGLibType() types.GType { | ||
| 381 | + | core.LazyRegister(&xLayoutLineGLibType, "PANGO", "pango_layout_line_get_type", false) | |||
| 340 | return xLayoutLineGLibType() | 382 | return xLayoutLineGLibType() | ||
| 341 | } | 383 | } | ||
| 342 | 384 | ||||
| @@ -359,6 +401,8 @@ var xLayoutLineGetExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 359 | // See [method@Pango.Font.get_glyph_extents] for details | 401 | // See [method@Pango.Font.get_glyph_extents] for details | ||
| 360 | // about the interpretation of the rectangles. | 402 | // about the interpretation of the rectangles. | ||
| 361 | func (x *LayoutLine) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 403 | func (x *LayoutLine) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 404 | + | core.LazyRegister(&xLayoutLineGetExtents, "PANGO", "pango_layout_line_get_extents", false) | |||
| 405 | + | ||||
| 362 | xLayoutLineGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 406 | xLayoutLineGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 363 | } | 407 | } | ||
| 364 | 408 | ||||
| @@ -372,6 +416,8 @@ var xLayoutLineGetHeight func(uintptr, *int) | |||||
| 372 | // [method@Pango.Layout.set_spacing] and | 416 | // [method@Pango.Layout.set_spacing] and | ||
| 373 | // [method@Pango.Layout.set_line_spacing]. | 417 | // [method@Pango.Layout.set_line_spacing]. | ||
| 374 | func (x *LayoutLine) GetHeight(HeightVar *int) { | 418 | func (x *LayoutLine) GetHeight(HeightVar *int) { | ||
| 419 | + | core.LazyRegister(&xLayoutLineGetHeight, "PANGO", "pango_layout_line_get_height", false) | |||
| 420 | + | ||||
| 375 | xLayoutLineGetHeight(x.GoPointer(), HeightVar) | 421 | xLayoutLineGetHeight(x.GoPointer(), HeightVar) | ||
| 376 | } | 422 | } | ||
| 377 | 423 | ||||
| @@ -379,6 +425,8 @@ var xLayoutLineGetLength func(uintptr) int | |||||
| 379 | 425 | ||||
| 380 | // Returns the length of the line, in bytes. | 426 | // Returns the length of the line, in bytes. | ||
| 381 | func (x *LayoutLine) GetLength() int { | 427 | func (x *LayoutLine) GetLength() int { | ||
| 428 | + | core.LazyRegister(&xLayoutLineGetLength, "PANGO", "pango_layout_line_get_length", false) | |||
| 429 | + | ||||
| 382 | cret := xLayoutLineGetLength(x.GoPointer()) | 430 | cret := xLayoutLineGetLength(x.GoPointer()) | ||
| 383 | return cret | 431 | return cret | ||
| 384 | } | 432 | } | ||
| @@ -392,6 +440,8 @@ var xLayoutLineGetPixelExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 392 | // such that the rounded rectangles fully contain the unrounded one (that is, | 440 | // such that the rounded rectangles fully contain the unrounded one (that is, | ||
| 393 | // passes them as first argument to [func@extents_to_pixels]). | 441 | // passes them as first argument to [func@extents_to_pixels]). | ||
| 394 | func (x *LayoutLine) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 442 | func (x *LayoutLine) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 443 | + | core.LazyRegister(&xLayoutLineGetPixelExtents, "PANGO", "pango_layout_line_get_pixel_extents", false) | |||
| 444 | + | ||||
| 395 | xLayoutLineGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 445 | xLayoutLineGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 396 | } | 446 | } | ||
| 397 | 447 | ||||
| @@ -399,6 +449,8 @@ var xLayoutLineGetResolvedDirection func(uintptr) Direction | |||||
| 399 | 449 | ||||
| 400 | // Returns the resolved direction of the line. | 450 | // Returns the resolved direction of the line. | ||
| 401 | func (x *LayoutLine) GetResolvedDirection() Direction { | 451 | func (x *LayoutLine) GetResolvedDirection() Direction { | ||
| 452 | + | core.LazyRegister(&xLayoutLineGetResolvedDirection, "PANGO", "pango_layout_line_get_resolved_direction", false) | |||
| 453 | + | ||||
| 402 | cret := xLayoutLineGetResolvedDirection(x.GoPointer()) | 454 | cret := xLayoutLineGetResolvedDirection(x.GoPointer()) | ||
| 403 | return cret | 455 | return cret | ||
| 404 | } | 456 | } | ||
| @@ -408,6 +460,8 @@ var xLayoutLineGetStartIndex func(uintptr) int | |||||
| 408 | // Returns the start index of the line, as byte index | 460 | // Returns the start index of the line, as byte index | ||
| 409 | // into the text of the layout. | 461 | // into the text of the layout. | ||
| 410 | func (x *LayoutLine) GetStartIndex() int { | 462 | func (x *LayoutLine) GetStartIndex() int { | ||
| 463 | + | core.LazyRegister(&xLayoutLineGetStartIndex, "PANGO", "pango_layout_line_get_start_index", false) | |||
| 464 | + | ||||
| 411 | cret := xLayoutLineGetStartIndex(x.GoPointer()) | 465 | cret := xLayoutLineGetStartIndex(x.GoPointer()) | ||
| 412 | return cret | 466 | return cret | ||
| 413 | } | 467 | } | ||
| @@ -421,6 +475,8 @@ var xLayoutLineGetXRanges func(uintptr, int, int, *[]int, *int) | |||||
| 421 | // right. The ranges are with respect to the left edge of the entire | 475 | // right. The ranges are with respect to the left edge of the entire | ||
| 422 | // layout, not with respect to the line. | 476 | // layout, not with respect to the line. | ||
| 423 | func (x *LayoutLine) GetXRanges(StartIndexVar int, EndIndexVar int, RangesVar *[]int, NRangesVar *int) { | 477 | func (x *LayoutLine) GetXRanges(StartIndexVar int, EndIndexVar int, RangesVar *[]int, NRangesVar *int) { | ||
| 478 | + | core.LazyRegister(&xLayoutLineGetXRanges, "PANGO", "pango_layout_line_get_x_ranges", false) | |||
| 479 | + | ||||
| 424 | xLayoutLineGetXRanges(x.GoPointer(), StartIndexVar, EndIndexVar, RangesVar, NRangesVar) | 480 | xLayoutLineGetXRanges(x.GoPointer(), StartIndexVar, EndIndexVar, RangesVar, NRangesVar) | ||
| 425 | } | 481 | } | ||
| 426 | 482 | ||||
| @@ -428,6 +484,8 @@ var xLayoutLineIndexToX func(uintptr, int, bool, *int) | |||||
| 428 | 484 | ||||
| 429 | // Converts an index within a line to a X position. | 485 | // Converts an index within a line to a X position. | ||
| 430 | func (x *LayoutLine) IndexToX(IndexVar int, TrailingVar bool, XPosVar *int) { | 486 | func (x *LayoutLine) IndexToX(IndexVar int, TrailingVar bool, XPosVar *int) { | ||
| 487 | + | core.LazyRegister(&xLayoutLineIndexToX, "PANGO", "pango_layout_line_index_to_x", false) | |||
| 488 | + | ||||
| 431 | xLayoutLineIndexToX(x.GoPointer(), IndexVar, TrailingVar, XPosVar) | 489 | xLayoutLineIndexToX(x.GoPointer(), IndexVar, TrailingVar, XPosVar) | ||
| 432 | } | 490 | } | ||
| 433 | 491 | ||||
| @@ -435,6 +493,8 @@ var xLayoutLineIsParagraphStartFn func(uintptr) bool | |||||
| 435 | 493 | ||||
| 436 | // Returns whether this is the first line of the paragraph. | 494 | // Returns whether this is the first line of the paragraph. | ||
| 437 | func (x *LayoutLine) IsParagraphStartFn() bool { | 495 | func (x *LayoutLine) IsParagraphStartFn() bool { | ||
| 496 | + | core.LazyRegister(&xLayoutLineIsParagraphStartFn, "PANGO", "pango_layout_line_is_paragraph_start", false) | |||
| 497 | + | ||||
| 438 | cret := xLayoutLineIsParagraphStartFn(x.GoPointer()) | 498 | cret := xLayoutLineIsParagraphStartFn(x.GoPointer()) | ||
| 439 | return cret | 499 | return cret | ||
| 440 | } | 500 | } | ||
| @@ -443,6 +503,8 @@ var xLayoutLineRef func(uintptr) uintptr | |||||
| 443 | 503 | ||||
| 444 | // Increase the reference count of a `PangoLayoutLine` by one. | 504 | // Increase the reference count of a `PangoLayoutLine` by one. | ||
| 445 | func (x *LayoutLine) Ref() *LayoutLine { | 505 | func (x *LayoutLine) Ref() *LayoutLine { | ||
| 506 | + | core.LazyRegister(&xLayoutLineRef, "PANGO", "pango_layout_line_ref", false) | |||
| 507 | + | ||||
| 446 | cret := xLayoutLineRef(x.GoPointer()) | 508 | cret := xLayoutLineRef(x.GoPointer()) | ||
| 447 | if cret == 0 { | 509 | if cret == 0 { | ||
| 448 | return nil | 510 | return nil | ||
| @@ -457,6 +519,8 @@ var xLayoutLineUnref func(uintptr) | |||||
| 457 | // If the result is zero, the line and all associated memory | 519 | // If the result is zero, the line and all associated memory | ||
| 458 | // will be freed. | 520 | // will be freed. | ||
| 459 | func (x *LayoutLine) Unref() { | 521 | func (x *LayoutLine) Unref() { | ||
| 522 | + | core.LazyRegister(&xLayoutLineUnref, "PANGO", "pango_layout_line_unref", false) | |||
| 523 | + | ||||
| 460 | xLayoutLineUnref(x.GoPointer()) | 524 | xLayoutLineUnref(x.GoPointer()) | ||
| 461 | } | 525 | } | ||
| 462 | 526 | ||||
| @@ -474,6 +538,8 @@ var xLayoutLineXToIndex func(uintptr, int, *int, *int) bool | |||||
| 474 | // in the line and @trailing being set to the number of characters in that | 538 | // in the line and @trailing being set to the number of characters in that | ||
| 475 | // grapheme. The reverse is true for a left-to-right line. | 539 | // grapheme. The reverse is true for a left-to-right line. | ||
| 476 | func (x *LayoutLine) XToIndex(XPosVar int, IndexVar *int, TrailingVar *int) bool { | 540 | func (x *LayoutLine) XToIndex(XPosVar int, IndexVar *int, TrailingVar *int) bool { | ||
| 541 | + | core.LazyRegister(&xLayoutLineXToIndex, "PANGO", "pango_layout_line_x_to_index", false) | |||
| 542 | + | ||||
| 477 | cret := xLayoutLineXToIndex(x.GoPointer(), XPosVar, IndexVar, TrailingVar) | 543 | cret := xLayoutLineXToIndex(x.GoPointer(), XPosVar, IndexVar, TrailingVar) | ||
| 478 | return cret | 544 | return cret | ||
| 479 | } | 545 | } | ||
| @@ -492,6 +558,7 @@ type LayoutDeserializeFlags int | |||||
| 492 | var xLayoutDeserializeFlagsGLibType func() types.GType | 558 | var xLayoutDeserializeFlagsGLibType func() types.GType | ||
| 493 | 559 | ||||
| 494 | func LayoutDeserializeFlagsGLibType() types.GType { | 560 | func LayoutDeserializeFlagsGLibType() types.GType { | ||
| 561 | + | core.LazyRegister(&xLayoutDeserializeFlagsGLibType, "PANGO", "pango_layout_deserialize_flags_get_type", false) | |||
| 495 | return xLayoutDeserializeFlagsGLibType() | 562 | return xLayoutDeserializeFlagsGLibType() | ||
| 496 | } | 563 | } | ||
| 497 | 564 | ||||
| @@ -512,6 +579,7 @@ type LayoutSerializeFlags int | |||||
| 512 | var xLayoutSerializeFlagsGLibType func() types.GType | 579 | var xLayoutSerializeFlagsGLibType func() types.GType | ||
| 513 | 580 | ||||
| 514 | func LayoutSerializeFlagsGLibType() types.GType { | 581 | func LayoutSerializeFlagsGLibType() types.GType { | ||
| 582 | + | core.LazyRegister(&xLayoutSerializeFlagsGLibType, "PANGO", "pango_layout_serialize_flags_get_type", false) | |||
| 515 | return xLayoutSerializeFlagsGLibType() | 583 | return xLayoutSerializeFlagsGLibType() | ||
| 516 | } | 584 | } | ||
| 517 | 585 | ||||
| @@ -538,6 +606,7 @@ type Alignment int | |||||
| 538 | var xAlignmentGLibType func() types.GType | 606 | var xAlignmentGLibType func() types.GType | ||
| 539 | 607 | ||||
| 540 | func AlignmentGLibType() types.GType { | 608 | func AlignmentGLibType() types.GType { | ||
| 609 | + | core.LazyRegister(&xAlignmentGLibType, "PANGO", "pango_alignment_get_type", false) | |||
| 541 | return xAlignmentGLibType() | 610 | return xAlignmentGLibType() | ||
| 542 | } | 611 | } | ||
| 543 | 612 | ||||
| @@ -562,6 +631,7 @@ type EllipsizeMode int | |||||
| 562 | var xEllipsizeModeGLibType func() types.GType | 631 | var xEllipsizeModeGLibType func() types.GType | ||
| 563 | 632 | ||||
| 564 | func EllipsizeModeGLibType() types.GType { | 633 | func EllipsizeModeGLibType() types.GType { | ||
| 634 | + | core.LazyRegister(&xEllipsizeModeGLibType, "PANGO", "pango_ellipsize_mode_get_type", false) | |||
| 565 | return xEllipsizeModeGLibType() | 635 | return xEllipsizeModeGLibType() | ||
| 566 | } | 636 | } | ||
| 567 | 637 | ||||
| @@ -583,6 +653,7 @@ type LayoutDeserializeError int | |||||
| 583 | var xLayoutDeserializeErrorGLibType func() types.GType | 653 | var xLayoutDeserializeErrorGLibType func() types.GType | ||
| 584 | 654 | ||||
| 585 | func LayoutDeserializeErrorGLibType() types.GType { | 655 | func LayoutDeserializeErrorGLibType() types.GType { | ||
| 656 | + | core.LazyRegister(&xLayoutDeserializeErrorGLibType, "PANGO", "pango_layout_deserialize_error_get_type", false) | |||
| 586 | return xLayoutDeserializeErrorGLibType() | 657 | return xLayoutDeserializeErrorGLibType() | ||
| 587 | } | 658 | } | ||
| 588 | 659 | ||||
| @@ -610,6 +681,7 @@ type WrapMode int | |||||
| 610 | var xWrapModeGLibType func() types.GType | 681 | var xWrapModeGLibType func() types.GType | ||
| 611 | 682 | ||||
| 612 | func WrapModeGLibType() types.GType { | 683 | func WrapModeGLibType() types.GType { | ||
| 684 | + | core.LazyRegister(&xWrapModeGLibType, "PANGO", "pango_wrap_mode_get_type", false) | |||
| 613 | return xWrapModeGLibType() | 685 | return xWrapModeGLibType() | ||
| 614 | } | 686 | } | ||
| 615 | 687 | ||||
| @@ -672,6 +744,7 @@ type Layout struct { | |||||
| 672 | var xLayoutGLibType func() types.GType | 744 | var xLayoutGLibType func() types.GType | ||
| 673 | 745 | ||||
| 674 | func LayoutGLibType() types.GType { | 746 | func LayoutGLibType() types.GType { | ||
| 747 | + | core.LazyRegister(&xLayoutGLibType, "PANGO", "pango_layout_get_type", false) | |||
| 675 | return xLayoutGLibType() | 748 | return xLayoutGLibType() | ||
| 676 | } | 749 | } | ||
| 677 | 750 | ||||
| @@ -686,6 +759,7 @@ var xNewLayout func(uintptr) uintptr | |||||
| 686 | // Create a new `PangoLayout` object with attributes initialized to | 759 | // Create a new `PangoLayout` object with attributes initialized to | ||
| 687 | // default values for a particular `PangoContext`. | 760 | // default values for a particular `PangoContext`. | ||
| 688 | func NewLayout(ContextVar *Context) *Layout { | 761 | func NewLayout(ContextVar *Context) *Layout { | ||
| 762 | + | core.LazyRegister(&xNewLayout, "PANGO", "pango_layout_new", false) | |||
| 689 | var cls *Layout | 763 | var cls *Layout | ||
| 690 | 764 | ||||
| 691 | cret := xNewLayout(ContextVar.GoPointer()) | 765 | cret := xNewLayout(ContextVar.GoPointer()) | ||
| @@ -706,6 +780,8 @@ var xLayoutContextChanged func(uintptr) | |||||
| 706 | // This function should be called if you make changes to the context | 780 | // This function should be called if you make changes to the context | ||
| 707 | // subsequent to creating the layout. | 781 | // subsequent to creating the layout. | ||
| 708 | func (x *Layout) ContextChanged() { | 782 | func (x *Layout) ContextChanged() { | ||
| 783 | + | core.LazyRegister(&xLayoutContextChanged, "PANGO", "pango_layout_context_changed", false) | |||
| 784 | + | ||||
| 709 | xLayoutContextChanged(x.GoPointer()) | 785 | xLayoutContextChanged(x.GoPointer()) | ||
| 710 | } | 786 | } | ||
| 711 | 787 | ||||
| @@ -716,6 +792,7 @@ var xLayoutCopy func(uintptr) uintptr | |||||
| 716 | // The attribute list, tab array, and text from the original layout | 792 | // The attribute list, tab array, and text from the original layout | ||
| 717 | // are all copied by value. | 793 | // are all copied by value. | ||
| 718 | func (x *Layout) Copy() *Layout { | 794 | func (x *Layout) Copy() *Layout { | ||
| 795 | + | core.LazyRegister(&xLayoutCopy, "PANGO", "pango_layout_copy", false) | |||
| 719 | var cls *Layout | 796 | var cls *Layout | ||
| 720 | 797 | ||||
| 721 | cret := xLayoutCopy(x.GoPointer()) | 798 | cret := xLayoutCopy(x.GoPointer()) | ||
| @@ -733,6 +810,8 @@ var xLayoutGetAlignment func(uintptr) Alignment | |||||
| 733 | // Gets the alignment for the layout: how partial lines are | 810 | // Gets the alignment for the layout: how partial lines are | ||
| 734 | // positioned within the horizontal space available. | 811 | // positioned within the horizontal space available. | ||
| 735 | func (x *Layout) GetAlignment() Alignment { | 812 | func (x *Layout) GetAlignment() Alignment { | ||
| 813 | + | core.LazyRegister(&xLayoutGetAlignment, "PANGO", "pango_layout_get_alignment", false) | |||
| 814 | + | ||||
| 736 | cret := xLayoutGetAlignment(x.GoPointer()) | 815 | cret := xLayoutGetAlignment(x.GoPointer()) | ||
| 737 | return cret | 816 | return cret | ||
| 738 | } | 817 | } | ||
| @@ -741,6 +820,8 @@ var xLayoutGetAttributes func(uintptr) uintptr | |||||
| 741 | 820 | ||||
| 742 | // Gets the attribute list for the layout, if any. | 821 | // Gets the attribute list for the layout, if any. | ||
| 743 | func (x *Layout) GetAttributes() *AttrList { | 822 | func (x *Layout) GetAttributes() *AttrList { | ||
| 823 | + | core.LazyRegister(&xLayoutGetAttributes, "PANGO", "pango_layout_get_attributes", false) | |||
| 824 | + | ||||
| 744 | cret := xLayoutGetAttributes(x.GoPointer()) | 825 | cret := xLayoutGetAttributes(x.GoPointer()) | ||
| 745 | if cret == 0 { | 826 | if cret == 0 { | ||
| 746 | return nil | 827 | return nil | ||
| @@ -755,6 +836,8 @@ var xLayoutGetAutoDir func(uintptr) bool | |||||
| 755 | // | 836 | // | ||
| 756 | // See [method@Pango.Layout.set_auto_dir]. | 837 | // See [method@Pango.Layout.set_auto_dir]. | ||
| 757 | func (x *Layout) GetAutoDir() bool { | 838 | func (x *Layout) GetAutoDir() bool { | ||
| 839 | + | core.LazyRegister(&xLayoutGetAutoDir, "PANGO", "pango_layout_get_auto_dir", false) | |||
| 840 | + | ||||
| 758 | cret := xLayoutGetAutoDir(x.GoPointer()) | 841 | cret := xLayoutGetAutoDir(x.GoPointer()) | ||
| 759 | return cret | 842 | return cret | ||
| 760 | } | 843 | } | ||
| @@ -763,6 +846,8 @@ var xLayoutGetBaseline func(uintptr) int | |||||
| 763 | 846 | ||||
| 764 | // Gets the Y position of baseline of the first line in @layout. | 847 | // Gets the Y position of baseline of the first line in @layout. | ||
| 765 | func (x *Layout) GetBaseline() int { | 848 | func (x *Layout) GetBaseline() int { | ||
| 849 | + | core.LazyRegister(&xLayoutGetBaseline, "PANGO", "pango_layout_get_baseline", false) | |||
| 850 | + | ||||
| 766 | cret := xLayoutGetBaseline(x.GoPointer()) | 851 | cret := xLayoutGetBaseline(x.GoPointer()) | ||
| 767 | return cret | 852 | return cret | ||
| 768 | } | 853 | } | ||
| @@ -783,6 +868,8 @@ var xLayoutGetCaretPos func(uintptr, int, *Rectangle, *Rectangle) | |||||
| 783 | // | 868 | // | ||
| 784 | // </picture> | 869 | // </picture> | ||
| 785 | func (x *Layout) GetCaretPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | 870 | func (x *Layout) GetCaretPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | ||
| 871 | + | core.LazyRegister(&xLayoutGetCaretPos, "PANGO", "pango_layout_get_caret_pos", false) | |||
| 872 | + | ||||
| 786 | xLayoutGetCaretPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | 873 | xLayoutGetCaretPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | ||
| 787 | } | 874 | } | ||
| 788 | 875 | ||||
| @@ -791,6 +878,8 @@ var xLayoutGetCharacterCount func(uintptr) int | |||||
| 791 | // Returns the number of Unicode characters in the | 878 | // Returns the number of Unicode characters in the | ||
| 792 | // the text of @layout. | 879 | // the text of @layout. | ||
| 793 | func (x *Layout) GetCharacterCount() int { | 880 | func (x *Layout) GetCharacterCount() int { | ||
| 881 | + | core.LazyRegister(&xLayoutGetCharacterCount, "PANGO", "pango_layout_get_character_count", false) | |||
| 882 | + | ||||
| 794 | cret := xLayoutGetCharacterCount(x.GoPointer()) | 883 | cret := xLayoutGetCharacterCount(x.GoPointer()) | ||
| 795 | return cret | 884 | return cret | ||
| 796 | } | 885 | } | ||
| @@ -799,6 +888,7 @@ var xLayoutGetContext func(uintptr) uintptr | |||||
| 799 | 888 | ||||
| 800 | // Retrieves the `PangoContext` used for this layout. | 889 | // Retrieves the `PangoContext` used for this layout. | ||
| 801 | func (x *Layout) GetContext() *Context { | 890 | func (x *Layout) GetContext() *Context { | ||
| 891 | + | core.LazyRegister(&xLayoutGetContext, "PANGO", "pango_layout_get_context", false) | |||
| 802 | var cls *Context | 892 | var cls *Context | ||
| 803 | 893 | ||||
| 804 | cret := xLayoutGetContext(x.GoPointer()) | 894 | cret := xLayoutGetContext(x.GoPointer()) | ||
| @@ -846,6 +936,8 @@ var xLayoutGetCursorPos func(uintptr, int, *Rectangle, *Rectangle) | |||||
| 846 | // character after the 'b', and typing another Hebrew character, like 'ג', | 936 | // character after the 'b', and typing another Hebrew character, like 'ג', | ||
| 847 | // will insert it at the end. | 937 | // will insert it at the end. | ||
| 848 | func (x *Layout) GetCursorPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | 938 | func (x *Layout) GetCursorPos(IndexVar int, StrongPosVar *Rectangle, WeakPosVar *Rectangle) { | ||
| 939 | + | core.LazyRegister(&xLayoutGetCursorPos, "PANGO", "pango_layout_get_cursor_pos", false) | |||
| 940 | + | ||||
| 849 | xLayoutGetCursorPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | 941 | xLayoutGetCursorPos(x.GoPointer(), IndexVar, StrongPosVar, WeakPosVar) | ||
| 850 | } | 942 | } | ||
| 851 | 943 | ||||
| @@ -853,6 +945,8 @@ var xLayoutGetDirection func(uintptr, int) Direction | |||||
| 853 | 945 | ||||
| 854 | // Gets the text direction at the given character position in @layout. | 946 | // Gets the text direction at the given character position in @layout. | ||
| 855 | func (x *Layout) GetDirection(IndexVar int) Direction { | 947 | func (x *Layout) GetDirection(IndexVar int) Direction { | ||
| 948 | + | core.LazyRegister(&xLayoutGetDirection, "PANGO", "pango_layout_get_direction", false) | |||
| 949 | + | ||||
| 856 | cret := xLayoutGetDirection(x.GoPointer(), IndexVar) | 950 | cret := xLayoutGetDirection(x.GoPointer(), IndexVar) | ||
| 857 | return cret | 951 | return cret | ||
| 858 | } | 952 | } | ||
| @@ -866,6 +960,8 @@ var xLayoutGetEllipsize func(uintptr) EllipsizeMode | |||||
| 866 | // Use [method@Pango.Layout.is_ellipsized] to query whether any | 960 | // Use [method@Pango.Layout.is_ellipsized] to query whether any | ||
| 867 | // paragraphs were actually ellipsized. | 961 | // paragraphs were actually ellipsized. | ||
| 868 | func (x *Layout) GetEllipsize() EllipsizeMode { | 962 | func (x *Layout) GetEllipsize() EllipsizeMode { | ||
| 963 | + | core.LazyRegister(&xLayoutGetEllipsize, "PANGO", "pango_layout_get_ellipsize", false) | |||
| 964 | + | ||||
| 869 | cret := xLayoutGetEllipsize(x.GoPointer()) | 965 | cret := xLayoutGetEllipsize(x.GoPointer()) | ||
| 870 | return cret | 966 | return cret | ||
| 871 | } | 967 | } | ||
| @@ -883,6 +979,8 @@ var xLayoutGetExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 883 | // The extents are given in layout coordinates and in Pango units; layout | 979 | // The extents are given in layout coordinates and in Pango units; layout | ||
| 884 | // coordinates begin at the top left corner of the layout. | 980 | // coordinates begin at the top left corner of the layout. | ||
| 885 | func (x *Layout) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 981 | func (x *Layout) GetExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 982 | + | core.LazyRegister(&xLayoutGetExtents, "PANGO", "pango_layout_get_extents", false) | |||
| 983 | + | ||||
| 886 | xLayoutGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 984 | xLayoutGetExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 887 | } | 985 | } | ||
| 888 | 986 | ||||
| @@ -890,6 +988,8 @@ var xLayoutGetFontDescription func(uintptr) uintptr | |||||
| 890 | 988 | ||||
| 891 | // Gets the font description for the layout, if any. | 989 | // Gets the font description for the layout, if any. | ||
| 892 | func (x *Layout) GetFontDescription() *FontDescription { | 990 | func (x *Layout) GetFontDescription() *FontDescription { | ||
| 991 | + | core.LazyRegister(&xLayoutGetFontDescription, "PANGO", "pango_layout_get_font_description", false) | |||
| 992 | + | ||||
| 893 | cret := xLayoutGetFontDescription(x.GoPointer()) | 993 | cret := xLayoutGetFontDescription(x.GoPointer()) | ||
| 894 | if cret == 0 { | 994 | if cret == 0 { | ||
| 895 | return nil | 995 | return nil | ||
| @@ -903,6 +1003,8 @@ var xLayoutGetHeight func(uintptr) int | |||||
| 903 | // | 1003 | // | ||
| 904 | // See [method@Pango.Layout.set_height] for details. | 1004 | // See [method@Pango.Layout.set_height] for details. | ||
| 905 | func (x *Layout) GetHeight() int { | 1005 | func (x *Layout) GetHeight() int { | ||
| 1006 | + | core.LazyRegister(&xLayoutGetHeight, "PANGO", "pango_layout_get_height", false) | |||
| 1007 | + | ||||
| 906 | cret := xLayoutGetHeight(x.GoPointer()) | 1008 | cret := xLayoutGetHeight(x.GoPointer()) | ||
| 907 | return cret | 1009 | return cret | ||
| 908 | } | 1010 | } | ||
| @@ -913,6 +1015,8 @@ var xLayoutGetIndent func(uintptr) int | |||||
| 913 | // | 1015 | // | ||
| 914 | // A negative value indicates a hanging indentation. | 1016 | // A negative value indicates a hanging indentation. | ||
| 915 | func (x *Layout) GetIndent() int { | 1017 | func (x *Layout) GetIndent() int { | ||
| 1018 | + | core.LazyRegister(&xLayoutGetIndent, "PANGO", "pango_layout_get_indent", false) | |||
| 1019 | + | ||||
| 916 | cret := xLayoutGetIndent(x.GoPointer()) | 1020 | cret := xLayoutGetIndent(x.GoPointer()) | ||
| 917 | return cret | 1021 | return cret | ||
| 918 | } | 1022 | } | ||
| @@ -921,6 +1025,8 @@ var xLayoutGetIter func(uintptr) uintptr | |||||
| 921 | 1025 | ||||
| 922 | // Returns an iterator to iterate over the visual extents of the layout. | 1026 | // Returns an iterator to iterate over the visual extents of the layout. | ||
| 923 | func (x *Layout) GetIter() *LayoutIter { | 1027 | func (x *Layout) GetIter() *LayoutIter { | ||
| 1028 | + | core.LazyRegister(&xLayoutGetIter, "PANGO", "pango_layout_get_iter", false) | |||
| 1029 | + | ||||
| 924 | cret := xLayoutGetIter(x.GoPointer()) | 1030 | cret := xLayoutGetIter(x.GoPointer()) | ||
| 925 | if cret == 0 { | 1031 | if cret == 0 { | ||
| 926 | return nil | 1032 | return nil | ||
| @@ -933,6 +1039,8 @@ var xLayoutGetJustify func(uintptr) bool | |||||
| 933 | // Gets whether each complete line should be stretched to fill the entire | 1039 | // Gets whether each complete line should be stretched to fill the entire | ||
| 934 | // width of the layout. | 1040 | // width of the layout. | ||
| 935 | func (x *Layout) GetJustify() bool { | 1041 | func (x *Layout) GetJustify() bool { | ||
| 1042 | + | core.LazyRegister(&xLayoutGetJustify, "PANGO", "pango_layout_get_justify", false) | |||
| 1043 | + | ||||
| 936 | cret := xLayoutGetJustify(x.GoPointer()) | 1044 | cret := xLayoutGetJustify(x.GoPointer()) | ||
| 937 | return cret | 1045 | return cret | ||
| 938 | } | 1046 | } | ||
| @@ -942,6 +1050,8 @@ var xLayoutGetJustifyLastLine func(uintptr) bool | |||||
| 942 | // Gets whether the last line should be stretched | 1050 | // Gets whether the last line should be stretched | ||
| 943 | // to fill the entire width of the layout. | 1051 | // to fill the entire width of the layout. | ||
| 944 | func (x *Layout) GetJustifyLastLine() bool { | 1052 | func (x *Layout) GetJustifyLastLine() bool { | ||
| 1053 | + | core.LazyRegister(&xLayoutGetJustifyLastLine, "PANGO", "pango_layout_get_justify_last_line", false) | |||
| 1054 | + | ||||
| 945 | cret := xLayoutGetJustifyLastLine(x.GoPointer()) | 1055 | cret := xLayoutGetJustifyLastLine(x.GoPointer()) | ||
| 946 | return cret | 1056 | return cret | ||
| 947 | } | 1057 | } | ||
| @@ -953,6 +1063,8 @@ var xLayoutGetLine func(uintptr, int) uintptr | |||||
| 953 | // Use the faster [method@Pango.Layout.get_line_readonly] if you do not | 1063 | // Use the faster [method@Pango.Layout.get_line_readonly] if you do not | ||
| 954 | // plan to modify the contents of the line (glyphs, glyph widths, etc.). | 1064 | // plan to modify the contents of the line (glyphs, glyph widths, etc.). | ||
| 955 | func (x *Layout) GetLine(LineVar int) *LayoutLine { | 1065 | func (x *Layout) GetLine(LineVar int) *LayoutLine { | ||
| 1066 | + | core.LazyRegister(&xLayoutGetLine, "PANGO", "pango_layout_get_line", false) | |||
| 1067 | + | ||||
| 956 | cret := xLayoutGetLine(x.GoPointer(), LineVar) | 1068 | cret := xLayoutGetLine(x.GoPointer(), LineVar) | ||
| 957 | if cret == 0 { | 1069 | if cret == 0 { | ||
| 958 | return nil | 1070 | return nil | ||
| @@ -964,6 +1076,8 @@ var xLayoutGetLineCount func(uintptr) int | |||||
| 964 | 1076 | ||||
| 965 | // Retrieves the count of lines for the @layout. | 1077 | // Retrieves the count of lines for the @layout. | ||
| 966 | func (x *Layout) GetLineCount() int { | 1078 | func (x *Layout) GetLineCount() int { | ||
| 1079 | + | core.LazyRegister(&xLayoutGetLineCount, "PANGO", "pango_layout_get_line_count", false) | |||
| 1080 | + | ||||
| 967 | cret := xLayoutGetLineCount(x.GoPointer()) | 1081 | cret := xLayoutGetLineCount(x.GoPointer()) | ||
| 968 | return cret | 1082 | return cret | ||
| 969 | } | 1083 | } | ||
| @@ -976,6 +1090,8 @@ var xLayoutGetLineReadonly func(uintptr, int) uintptr | |||||
| 976 | // but the user is not expected to modify the contents of the line | 1090 | // but the user is not expected to modify the contents of the line | ||
| 977 | // (glyphs, glyph widths, etc.). | 1091 | // (glyphs, glyph widths, etc.). | ||
| 978 | func (x *Layout) GetLineReadonly(LineVar int) *LayoutLine { | 1092 | func (x *Layout) GetLineReadonly(LineVar int) *LayoutLine { | ||
| 1093 | + | core.LazyRegister(&xLayoutGetLineReadonly, "PANGO", "pango_layout_get_line_readonly", false) | |||
| 1094 | + | ||||
| 979 | cret := xLayoutGetLineReadonly(x.GoPointer(), LineVar) | 1095 | cret := xLayoutGetLineReadonly(x.GoPointer(), LineVar) | ||
| 980 | if cret == 0 { | 1096 | if cret == 0 { | ||
| 981 | return nil | 1097 | return nil | ||
| @@ -989,6 +1105,8 @@ var xLayoutGetLineSpacing func(uintptr) float32 | |||||
| 989 | // | 1105 | // | ||
| 990 | // See [method@Pango.Layout.set_line_spacing]. | 1106 | // See [method@Pango.Layout.set_line_spacing]. | ||
| 991 | func (x *Layout) GetLineSpacing() float32 { | 1107 | func (x *Layout) GetLineSpacing() float32 { | ||
| 1108 | + | core.LazyRegister(&xLayoutGetLineSpacing, "PANGO", "pango_layout_get_line_spacing", false) | |||
| 1109 | + | ||||
| 992 | cret := xLayoutGetLineSpacing(x.GoPointer()) | 1110 | cret := xLayoutGetLineSpacing(x.GoPointer()) | ||
| 993 | return cret | 1111 | return cret | ||
| 994 | } | 1112 | } | ||
| @@ -1000,6 +1118,8 @@ var xLayoutGetLines func(uintptr) uintptr | |||||
| 1000 | // Use the faster [method@Pango.Layout.get_lines_readonly] if you do not | 1118 | // Use the faster [method@Pango.Layout.get_lines_readonly] if you do not | ||
| 1001 | // plan to modify the contents of the lines (glyphs, glyph widths, etc.). | 1119 | // plan to modify the contents of the lines (glyphs, glyph widths, etc.). | ||
| 1002 | func (x *Layout) GetLines() *glib.SList { | 1120 | func (x *Layout) GetLines() *glib.SList { | ||
| 1121 | + | core.LazyRegister(&xLayoutGetLines, "PANGO", "pango_layout_get_lines", false) | |||
| 1122 | + | ||||
| 1003 | cret := xLayoutGetLines(x.GoPointer()) | 1123 | cret := xLayoutGetLines(x.GoPointer()) | ||
| 1004 | if cret == 0 { | 1124 | if cret == 0 { | ||
| 1005 | return nil | 1125 | return nil | ||
| @@ -1015,6 +1135,8 @@ var xLayoutGetLinesReadonly func(uintptr) uintptr | |||||
| 1015 | // but the user is not expected to modify the contents of the lines | 1135 | // but the user is not expected to modify the contents of the lines | ||
| 1016 | // (glyphs, glyph widths, etc.). | 1136 | // (glyphs, glyph widths, etc.). | ||
| 1017 | func (x *Layout) GetLinesReadonly() *glib.SList { | 1137 | func (x *Layout) GetLinesReadonly() *glib.SList { | ||
| 1138 | + | core.LazyRegister(&xLayoutGetLinesReadonly, "PANGO", "pango_layout_get_lines_readonly", false) | |||
| 1139 | + | ||||
| 1018 | cret := xLayoutGetLinesReadonly(x.GoPointer()) | 1140 | cret := xLayoutGetLinesReadonly(x.GoPointer()) | ||
| 1019 | if cret == 0 { | 1141 | if cret == 0 { | ||
| 1020 | return nil | 1142 | return nil | ||
| @@ -1027,6 +1149,8 @@ var xLayoutGetLogAttrs func(uintptr, *uintptr, *int) | |||||
| 1027 | // Retrieves an array of logical attributes for each character in | 1149 | // Retrieves an array of logical attributes for each character in | ||
| 1028 | // the @layout. | 1150 | // the @layout. | ||
| 1029 | func (x *Layout) GetLogAttrs(AttrsVar *uintptr, NAttrsVar *int) { | 1151 | func (x *Layout) GetLogAttrs(AttrsVar *uintptr, NAttrsVar *int) { | ||
| 1152 | + | core.LazyRegister(&xLayoutGetLogAttrs, "PANGO", "pango_layout_get_log_attrs", false) | |||
| 1153 | + | ||||
| 1030 | xLayoutGetLogAttrs(x.GoPointer(), AttrsVar, NAttrsVar) | 1154 | xLayoutGetLogAttrs(x.GoPointer(), AttrsVar, NAttrsVar) | ||
| 1031 | } | 1155 | } | ||
| 1032 | 1156 | ||||
| @@ -1044,6 +1168,8 @@ var xLayoutGetLogAttrsReadonly func(uintptr, *int) uintptr | |||||
| 1044 | // need to be attributes corresponding to both the position before | 1168 | // need to be attributes corresponding to both the position before | ||
| 1045 | // the first character and the position after the last character. | 1169 | // the first character and the position after the last character. | ||
| 1046 | func (x *Layout) GetLogAttrsReadonly(NAttrsVar *int) uintptr { | 1170 | func (x *Layout) GetLogAttrsReadonly(NAttrsVar *int) uintptr { | ||
| 1171 | + | core.LazyRegister(&xLayoutGetLogAttrsReadonly, "PANGO", "pango_layout_get_log_attrs_readonly", false) | |||
| 1172 | + | ||||
| 1047 | cret := xLayoutGetLogAttrsReadonly(x.GoPointer(), NAttrsVar) | 1173 | cret := xLayoutGetLogAttrsReadonly(x.GoPointer(), NAttrsVar) | ||
| 1048 | return cret | 1174 | return cret | ||
| 1049 | } | 1175 | } | ||
| @@ -1057,6 +1183,8 @@ var xLayoutGetPixelExtents func(uintptr, *Rectangle, *Rectangle) | |||||
| 1057 | // such that the rounded rectangles fully contain the unrounded one (that is, | 1183 | // such that the rounded rectangles fully contain the unrounded one (that is, | ||
| 1058 | // passes them as first argument to [func@Pango.extents_to_pixels]). | 1184 | // passes them as first argument to [func@Pango.extents_to_pixels]). | ||
| 1059 | func (x *Layout) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | 1185 | func (x *Layout) GetPixelExtents(InkRectVar *Rectangle, LogicalRectVar *Rectangle) { | ||
| 1186 | + | core.LazyRegister(&xLayoutGetPixelExtents, "PANGO", "pango_layout_get_pixel_extents", false) | |||
| 1187 | + | ||||
| 1060 | xLayoutGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | 1188 | xLayoutGetPixelExtents(x.GoPointer(), InkRectVar, LogicalRectVar) | ||
| 1061 | } | 1189 | } | ||
| 1062 | 1190 | ||||
| @@ -1069,6 +1197,8 @@ var xLayoutGetPixelSize func(uintptr, *int, *int) | |||||
| 1069 | // scaled by %PANGO_SCALE. This is simply a convenience function | 1197 | // scaled by %PANGO_SCALE. This is simply a convenience function | ||
| 1070 | // around [method@Pango.Layout.get_pixel_extents]. | 1198 | // around [method@Pango.Layout.get_pixel_extents]. | ||
| 1071 | func (x *Layout) GetPixelSize(WidthVar *int, HeightVar *int) { | 1199 | func (x *Layout) GetPixelSize(WidthVar *int, HeightVar *int) { | ||
| 1200 | + | core.LazyRegister(&xLayoutGetPixelSize, "PANGO", "pango_layout_get_pixel_size", false) | |||
| 1201 | + | ||||
| 1072 | xLayoutGetPixelSize(x.GoPointer(), WidthVar, HeightVar) | 1202 | xLayoutGetPixelSize(x.GoPointer(), WidthVar, HeightVar) | ||
| 1073 | } | 1203 | } | ||
| 1074 | 1204 | ||||
| @@ -1087,6 +1217,8 @@ var xLayoutGetSerial func(uintptr) uint | |||||
| 1087 | // To force the serial to be increased, use | 1217 | // To force the serial to be increased, use | ||
| 1088 | // [method@Pango.Layout.context_changed]. | 1218 | // [method@Pango.Layout.context_changed]. | ||
| 1089 | func (x *Layout) GetSerial() uint { | 1219 | func (x *Layout) GetSerial() uint { | ||
| 1220 | + | core.LazyRegister(&xLayoutGetSerial, "PANGO", "pango_layout_get_serial", false) | |||
| 1221 | + | ||||
| 1090 | cret := xLayoutGetSerial(x.GoPointer()) | 1222 | cret := xLayoutGetSerial(x.GoPointer()) | ||
| 1091 | return cret | 1223 | return cret | ||
| 1092 | } | 1224 | } | ||
| @@ -1097,6 +1229,8 @@ var xLayoutGetSingleParagraphMode func(uintptr) bool | |||||
| 1097 | // | 1229 | // | ||
| 1098 | // See [method@Pango.Layout.set_single_paragraph_mode]. | 1230 | // See [method@Pango.Layout.set_single_paragraph_mode]. | ||
| 1099 | func (x *Layout) GetSingleParagraphMode() bool { | 1231 | func (x *Layout) GetSingleParagraphMode() bool { | ||
| 1232 | + | core.LazyRegister(&xLayoutGetSingleParagraphMode, "PANGO", "pango_layout_get_single_paragraph_mode", false) | |||
| 1233 | + | ||||
| 1100 | cret := xLayoutGetSingleParagraphMode(x.GoPointer()) | 1234 | cret := xLayoutGetSingleParagraphMode(x.GoPointer()) | ||
| 1101 | return cret | 1235 | return cret | ||
| 1102 | } | 1236 | } | ||
| @@ -1108,6 +1242,8 @@ var xLayoutGetSize func(uintptr, *int, *int) | |||||
| 1108 | // | 1242 | // | ||
| 1109 | // This is simply a convenience function around [method@Pango.Layout.get_extents]. | 1243 | // This is simply a convenience function around [method@Pango.Layout.get_extents]. | ||
| 1110 | func (x *Layout) GetSize(WidthVar *int, HeightVar *int) { | 1244 | func (x *Layout) GetSize(WidthVar *int, HeightVar *int) { | ||
| 1245 | + | core.LazyRegister(&xLayoutGetSize, "PANGO", "pango_layout_get_size", false) | |||
| 1246 | + | ||||
| 1111 | xLayoutGetSize(x.GoPointer(), WidthVar, HeightVar) | 1247 | xLayoutGetSize(x.GoPointer(), WidthVar, HeightVar) | ||
| 1112 | } | 1248 | } | ||
| 1113 | 1249 | ||||
| @@ -1115,6 +1251,8 @@ var xLayoutGetSpacing func(uintptr) int | |||||
| 1115 | 1251 | ||||
| 1116 | // Gets the amount of spacing between the lines of the layout. | 1252 | // Gets the amount of spacing between the lines of the layout. | ||
| 1117 | func (x *Layout) GetSpacing() int { | 1253 | func (x *Layout) GetSpacing() int { | ||
| 1254 | + | core.LazyRegister(&xLayoutGetSpacing, "PANGO", "pango_layout_get_spacing", false) | |||
| 1255 | + | ||||
| 1118 | cret := xLayoutGetSpacing(x.GoPointer()) | 1256 | cret := xLayoutGetSpacing(x.GoPointer()) | ||
| 1119 | return cret | 1257 | return cret | ||
| 1120 | } | 1258 | } | ||
| @@ -1128,6 +1266,8 @@ var xLayoutGetTabs func(uintptr) uintptr | |||||
| 1128 | // | 1266 | // | ||
| 1129 | // The return value should be freed with [method@Pango.TabArray.free]. | 1267 | // The return value should be freed with [method@Pango.TabArray.free]. | ||
| 1130 | func (x *Layout) GetTabs() *TabArray { | 1268 | func (x *Layout) GetTabs() *TabArray { | ||
| 1269 | + | core.LazyRegister(&xLayoutGetTabs, "PANGO", "pango_layout_get_tabs", false) | |||
| 1270 | + | ||||
| 1131 | cret := xLayoutGetTabs(x.GoPointer()) | 1271 | cret := xLayoutGetTabs(x.GoPointer()) | ||
| 1132 | if cret == 0 { | 1272 | if cret == 0 { | ||
| 1133 | return nil | 1273 | return nil | ||
| @@ -1141,6 +1281,8 @@ var xLayoutGetText func(uintptr) string | |||||
| 1141 | // | 1281 | // | ||
| 1142 | // The returned text should not be freed or modified. | 1282 | // The returned text should not be freed or modified. | ||
| 1143 | func (x *Layout) GetText() string { | 1283 | func (x *Layout) GetText() string { | ||
| 1284 | + | core.LazyRegister(&xLayoutGetText, "PANGO", "pango_layout_get_text", false) | |||
| 1285 | + | ||||
| 1144 | cret := xLayoutGetText(x.GoPointer()) | 1286 | cret := xLayoutGetText(x.GoPointer()) | ||
| 1145 | return cret | 1287 | return cret | ||
| 1146 | } | 1288 | } | ||
| @@ -1154,6 +1296,8 @@ var xLayoutGetUnknownGlyphsCount func(uintptr) int | |||||
| 1154 | // used in combination with %PANGO_ATTR_FALLBACK, to check if a | 1296 | // used in combination with %PANGO_ATTR_FALLBACK, to check if a | ||
| 1155 | // certain font supports all the characters in the string. | 1297 | // certain font supports all the characters in the string. | ||
| 1156 | func (x *Layout) GetUnknownGlyphsCount() int { | 1298 | func (x *Layout) GetUnknownGlyphsCount() int { | ||
| 1299 | + | core.LazyRegister(&xLayoutGetUnknownGlyphsCount, "PANGO", "pango_layout_get_unknown_glyphs_count", false) | |||
| 1300 | + | ||||
| 1157 | cret := xLayoutGetUnknownGlyphsCount(x.GoPointer()) | 1301 | cret := xLayoutGetUnknownGlyphsCount(x.GoPointer()) | ||
| 1158 | return cret | 1302 | return cret | ||
| 1159 | } | 1303 | } | ||
| @@ -1162,6 +1306,8 @@ var xLayoutGetWidth func(uintptr) int | |||||
| 1162 | 1306 | ||||
| 1163 | // Gets the width to which the lines of the `PangoLayout` should wrap. | 1307 | // Gets the width to which the lines of the `PangoLayout` should wrap. | ||
| 1164 | func (x *Layout) GetWidth() int { | 1308 | func (x *Layout) GetWidth() int { | ||
| 1309 | + | core.LazyRegister(&xLayoutGetWidth, "PANGO", "pango_layout_get_width", false) | |||
| 1310 | + | ||||
| 1165 | cret := xLayoutGetWidth(x.GoPointer()) | 1311 | cret := xLayoutGetWidth(x.GoPointer()) | ||
| 1166 | return cret | 1312 | return cret | ||
| 1167 | } | 1313 | } | ||
| @@ -1173,6 +1319,8 @@ var xLayoutGetWrap func(uintptr) WrapMode | |||||
| 1173 | // Use [method@Pango.Layout.is_wrapped] to query whether | 1319 | // Use [method@Pango.Layout.is_wrapped] to query whether | ||
| 1174 | // any paragraphs were actually wrapped. | 1320 | // any paragraphs were actually wrapped. | ||
| 1175 | func (x *Layout) GetWrap() WrapMode { | 1321 | func (x *Layout) GetWrap() WrapMode { | ||
| 1322 | + | core.LazyRegister(&xLayoutGetWrap, "PANGO", "pango_layout_get_wrap", false) | |||
| 1323 | + | ||||
| 1176 | cret := xLayoutGetWrap(x.GoPointer()) | 1324 | cret := xLayoutGetWrap(x.GoPointer()) | ||
| 1177 | return cret | 1325 | return cret | ||
| 1178 | } | 1326 | } | ||
| @@ -1183,6 +1331,8 @@ var xLayoutIndexToLineX func(uintptr, int, bool, *int, *int) | |||||
| 1183 | // | 1331 | // | ||
| 1184 | // The X position is measured from the left edge of the line. | 1332 | // The X position is measured from the left edge of the line. | ||
| 1185 | func (x *Layout) IndexToLineX(IndexVar int, TrailingVar bool, LineVar *int, XPosVar *int) { | 1333 | func (x *Layout) IndexToLineX(IndexVar int, TrailingVar bool, LineVar *int, XPosVar *int) { | ||
| 1334 | + | core.LazyRegister(&xLayoutIndexToLineX, "PANGO", "pango_layout_index_to_line_x", false) | |||
| 1335 | + | ||||
| 1186 | xLayoutIndexToLineX(x.GoPointer(), IndexVar, TrailingVar, LineVar, XPosVar) | 1336 | xLayoutIndexToLineX(x.GoPointer(), IndexVar, TrailingVar, LineVar, XPosVar) | ||
| 1187 | } | 1337 | } | ||
| 1188 | 1338 | ||||
| @@ -1196,6 +1346,8 @@ var xLayoutIndexToPos func(uintptr, int, *Rectangle) | |||||
| 1196 | // trailing edge of the grapheme. If the directionality of the grapheme | 1346 | // trailing edge of the grapheme. If the directionality of the grapheme | ||
| 1197 | // is right-to-left, then `pos->width` will be negative. | 1347 | // is right-to-left, then `pos->width` will be negative. | ||
| 1198 | func (x *Layout) IndexToPos(IndexVar int, PosVar *Rectangle) { | 1348 | func (x *Layout) IndexToPos(IndexVar int, PosVar *Rectangle) { | ||
| 1349 | + | core.LazyRegister(&xLayoutIndexToPos, "PANGO", "pango_layout_index_to_pos", false) | |||
| 1350 | + | ||||
| 1199 | xLayoutIndexToPos(x.GoPointer(), IndexVar, PosVar) | 1351 | xLayoutIndexToPos(x.GoPointer(), IndexVar, PosVar) | ||
| 1200 | } | 1352 | } | ||
| 1201 | 1353 | ||||
| @@ -1208,6 +1360,8 @@ var xLayoutIsEllipsized func(uintptr) bool | |||||
| 1208 | // and there are paragraphs exceeding that width that have to be | 1360 | // and there are paragraphs exceeding that width that have to be | ||
| 1209 | // ellipsized. | 1361 | // ellipsized. | ||
| 1210 | func (x *Layout) IsEllipsized() bool { | 1362 | func (x *Layout) IsEllipsized() bool { | ||
| 1363 | + | core.LazyRegister(&xLayoutIsEllipsized, "PANGO", "pango_layout_is_ellipsized", false) | |||
| 1364 | + | ||||
| 1211 | cret := xLayoutIsEllipsized(x.GoPointer()) | 1365 | cret := xLayoutIsEllipsized(x.GoPointer()) | ||
| 1212 | return cret | 1366 | return cret | ||
| 1213 | } | 1367 | } | ||
| @@ -1220,6 +1374,8 @@ var xLayoutIsWrapped func(uintptr) bool | |||||
| 1220 | // and there are paragraphs exceeding the layout width that have | 1374 | // and there are paragraphs exceeding the layout width that have | ||
| 1221 | // to be wrapped. | 1375 | // to be wrapped. | ||
| 1222 | func (x *Layout) IsWrapped() bool { | 1376 | func (x *Layout) IsWrapped() bool { | ||
| 1377 | + | core.LazyRegister(&xLayoutIsWrapped, "PANGO", "pango_layout_is_wrapped", false) | |||
| 1378 | + | ||||
| 1223 | cret := xLayoutIsWrapped(x.GoPointer()) | 1379 | cret := xLayoutIsWrapped(x.GoPointer()) | ||
| 1224 | return cret | 1380 | return cret | ||
| 1225 | } | 1381 | } | ||
| @@ -1242,6 +1398,8 @@ var xLayoutMoveCursorVisually func(uintptr, bool, int, int, int, *int, *int) | |||||
| 1242 | // call to this function may move the cursor over multiple characters | 1398 | // call to this function may move the cursor over multiple characters | ||
| 1243 | // when multiple characters combine to form a single grapheme. | 1399 | // when multiple characters combine to form a single grapheme. | ||
| 1244 | func (x *Layout) MoveCursorVisually(StrongVar bool, OldIndexVar int, OldTrailingVar int, DirectionVar int, NewIndexVar *int, NewTrailingVar *int) { | 1400 | func (x *Layout) MoveCursorVisually(StrongVar bool, OldIndexVar int, OldTrailingVar int, DirectionVar int, NewIndexVar *int, NewTrailingVar *int) { | ||
| 1401 | + | core.LazyRegister(&xLayoutMoveCursorVisually, "PANGO", "pango_layout_move_cursor_visually", false) | |||
| 1402 | + | ||||
| 1245 | xLayoutMoveCursorVisually(x.GoPointer(), StrongVar, OldIndexVar, OldTrailingVar, DirectionVar, NewIndexVar, NewTrailingVar) | 1403 | xLayoutMoveCursorVisually(x.GoPointer(), StrongVar, OldIndexVar, OldTrailingVar, DirectionVar, NewIndexVar, NewTrailingVar) | ||
| 1246 | } | 1404 | } | ||
| 1247 | 1405 | ||||
| @@ -1256,6 +1414,8 @@ var xLayoutSerialize func(uintptr, LayoutSerializeFlags) uintptr | |||||
| 1256 | // The intended use of this function is testing, benchmarking and debugging. | 1414 | // The intended use of this function is testing, benchmarking and debugging. | ||
| 1257 | // The format is not meant as a permanent storage format. | 1415 | // The format is not meant as a permanent storage format. | ||
| 1258 | func (x *Layout) Serialize(FlagsVar LayoutSerializeFlags) *glib.Bytes { | 1416 | func (x *Layout) Serialize(FlagsVar LayoutSerializeFlags) *glib.Bytes { | ||
| 1417 | + | core.LazyRegister(&xLayoutSerialize, "PANGO", "pango_layout_serialize", false) | |||
| 1418 | + | ||||
| 1259 | cret := xLayoutSerialize(x.GoPointer(), FlagsVar) | 1419 | cret := xLayoutSerialize(x.GoPointer(), FlagsVar) | ||
| 1260 | if cret == 0 { | 1420 | if cret == 0 { | ||
| 1261 | return nil | 1421 | return nil | ||
| @@ -1270,6 +1430,8 @@ var xLayoutSetAlignment func(uintptr, Alignment) | |||||
| 1270 | // | 1430 | // | ||
| 1271 | // The default alignment is %PANGO_ALIGN_LEFT. | 1431 | // The default alignment is %PANGO_ALIGN_LEFT. | ||
| 1272 | func (x *Layout) SetAlignment(AlignmentVar Alignment) { | 1432 | func (x *Layout) SetAlignment(AlignmentVar Alignment) { | ||
| 1433 | + | core.LazyRegister(&xLayoutSetAlignment, "PANGO", "pango_layout_set_alignment", false) | |||
| 1434 | + | ||||
| 1273 | xLayoutSetAlignment(x.GoPointer(), AlignmentVar) | 1435 | xLayoutSetAlignment(x.GoPointer(), AlignmentVar) | ||
| 1274 | } | 1436 | } | ||
| 1275 | 1437 | ||||
| @@ -1279,6 +1441,8 @@ var xLayoutSetAttributes func(uintptr, *AttrList) | |||||
| 1279 | // | 1441 | // | ||
| 1280 | // References @attrs, so the caller can unref its reference. | 1442 | // References @attrs, so the caller can unref its reference. | ||
| 1281 | func (x *Layout) SetAttributes(AttrsVar *AttrList) { | 1443 | func (x *Layout) SetAttributes(AttrsVar *AttrList) { | ||
| 1444 | + | core.LazyRegister(&xLayoutSetAttributes, "PANGO", "pango_layout_set_attributes", false) | |||
| 1445 | + | ||||
| 1282 | xLayoutSetAttributes(x.GoPointer(), AttrsVar) | 1446 | xLayoutSetAttributes(x.GoPointer(), AttrsVar) | ||
| 1283 | } | 1447 | } | ||
| 1284 | 1448 | ||||
| @@ -1301,6 +1465,8 @@ var xLayoutSetAutoDir func(uintptr, bool) | |||||
| 1301 | // base direction of the context, the interpretation of | 1465 | // base direction of the context, the interpretation of | ||
| 1302 | // %PANGO_ALIGN_LEFT and %PANGO_ALIGN_RIGHT are swapped. | 1466 | // %PANGO_ALIGN_LEFT and %PANGO_ALIGN_RIGHT are swapped. | ||
| 1303 | func (x *Layout) SetAutoDir(AutoDirVar bool) { | 1467 | func (x *Layout) SetAutoDir(AutoDirVar bool) { | ||
| 1468 | + | core.LazyRegister(&xLayoutSetAutoDir, "PANGO", "pango_layout_set_auto_dir", false) | |||
| 1469 | + | ||||
| 1304 | xLayoutSetAutoDir(x.GoPointer(), AutoDirVar) | 1470 | xLayoutSetAutoDir(x.GoPointer(), AutoDirVar) | ||
| 1305 | } | 1471 | } | ||
| 1306 | 1472 | ||||
| @@ -1322,6 +1488,8 @@ var xLayoutSetEllipsize func(uintptr, EllipsizeMode) | |||||
| 1322 | // | 1488 | // | ||
| 1323 | // See [method@Pango.Layout.set_height] for details. | 1489 | // See [method@Pango.Layout.set_height] for details. | ||
| 1324 | func (x *Layout) SetEllipsize(EllipsizeVar EllipsizeMode) { | 1490 | func (x *Layout) SetEllipsize(EllipsizeVar EllipsizeMode) { | ||
| 1491 | + | core.LazyRegister(&xLayoutSetEllipsize, "PANGO", "pango_layout_set_ellipsize", false) | |||
| 1492 | + | ||||
| 1325 | xLayoutSetEllipsize(x.GoPointer(), EllipsizeVar) | 1493 | xLayoutSetEllipsize(x.GoPointer(), EllipsizeVar) | ||
| 1326 | } | 1494 | } | ||
| 1327 | 1495 | ||||
| @@ -1332,6 +1500,8 @@ var xLayoutSetFontDescription func(uintptr, *FontDescription) | |||||
| 1332 | // If no font description is set on the layout, the | 1500 | // If no font description is set on the layout, the | ||
| 1333 | // font description from the layout's context is used. | 1501 | // font description from the layout's context is used. | ||
| 1334 | func (x *Layout) SetFontDescription(DescVar *FontDescription) { | 1502 | func (x *Layout) SetFontDescription(DescVar *FontDescription) { | ||
| 1503 | + | core.LazyRegister(&xLayoutSetFontDescription, "PANGO", "pango_layout_set_font_description", false) | |||
| 1504 | + | ||||
| 1335 | xLayoutSetFontDescription(x.GoPointer(), DescVar) | 1505 | xLayoutSetFontDescription(x.GoPointer(), DescVar) | ||
| 1336 | } | 1506 | } | ||
| 1337 | 1507 | ||||
| @@ -1363,6 +1533,8 @@ var xLayoutSetHeight func(uintptr, int) | |||||
| 1363 | // ellipsization mode is set to %PANGO_ELLIPSIZE_NONE, and may change in the | 1533 | // ellipsization mode is set to %PANGO_ELLIPSIZE_NONE, and may change in the | ||
| 1364 | // future. | 1534 | // future. | ||
| 1365 | func (x *Layout) SetHeight(HeightVar int) { | 1535 | func (x *Layout) SetHeight(HeightVar int) { | ||
| 1536 | + | core.LazyRegister(&xLayoutSetHeight, "PANGO", "pango_layout_set_height", false) | |||
| 1537 | + | ||||
| 1366 | xLayoutSetHeight(x.GoPointer(), HeightVar) | 1538 | xLayoutSetHeight(x.GoPointer(), HeightVar) | ||
| 1367 | } | 1539 | } | ||
| 1368 | 1540 | ||||
| @@ -1379,6 +1551,8 @@ var xLayoutSetIndent func(uintptr, int) | |||||
| 1379 | // | 1551 | // | ||
| 1380 | // The default value is 0. | 1552 | // The default value is 0. | ||
| 1381 | func (x *Layout) SetIndent(IndentVar int) { | 1553 | func (x *Layout) SetIndent(IndentVar int) { | ||
| 1554 | + | core.LazyRegister(&xLayoutSetIndent, "PANGO", "pango_layout_set_indent", false) | |||
| 1555 | + | ||||
| 1382 | xLayoutSetIndent(x.GoPointer(), IndentVar) | 1556 | xLayoutSetIndent(x.GoPointer(), IndentVar) | ||
| 1383 | } | 1557 | } | ||
| 1384 | 1558 | ||||
| @@ -1402,6 +1576,8 @@ var xLayoutSetJustify func(uintptr, bool) | |||||
| 1402 | // | 1576 | // | ||
| 1403 | // Also see [method@Pango.Layout.set_justify_last_line]. | 1577 | // Also see [method@Pango.Layout.set_justify_last_line]. | ||
| 1404 | func (x *Layout) SetJustify(JustifyVar bool) { | 1578 | func (x *Layout) SetJustify(JustifyVar bool) { | ||
| 1579 | + | core.LazyRegister(&xLayoutSetJustify, "PANGO", "pango_layout_set_justify", false) | |||
| 1580 | + | ||||
| 1405 | xLayoutSetJustify(x.GoPointer(), JustifyVar) | 1581 | xLayoutSetJustify(x.GoPointer(), JustifyVar) | ||
| 1406 | } | 1582 | } | ||
| 1407 | 1583 | ||||
| @@ -1415,6 +1591,8 @@ var xLayoutSetJustifyLastLine func(uintptr, bool) | |||||
| 1415 | // | 1591 | // | ||
| 1416 | // The default value is %FALSE. | 1592 | // The default value is %FALSE. | ||
| 1417 | func (x *Layout) SetJustifyLastLine(JustifyVar bool) { | 1593 | func (x *Layout) SetJustifyLastLine(JustifyVar bool) { | ||
| 1594 | + | core.LazyRegister(&xLayoutSetJustifyLastLine, "PANGO", "pango_layout_set_justify_last_line", false) | |||
| 1595 | + | ||||
| 1418 | xLayoutSetJustifyLastLine(x.GoPointer(), JustifyVar) | 1596 | xLayoutSetJustifyLastLine(x.GoPointer(), JustifyVar) | ||
| 1419 | } | 1597 | } | ||
| 1420 | 1598 | ||||
| @@ -1437,6 +1615,8 @@ var xLayoutSetLineSpacing func(uintptr, float32) | |||||
| 1437 | // Note: for semantics that are closer to the CSS line-height | 1615 | // Note: for semantics that are closer to the CSS line-height | ||
| 1438 | // property, see [func@Pango.attr_line_height_new]. | 1616 | // property, see [func@Pango.attr_line_height_new]. | ||
| 1439 | func (x *Layout) SetLineSpacing(FactorVar float32) { | 1617 | func (x *Layout) SetLineSpacing(FactorVar float32) { | ||
| 1618 | + | core.LazyRegister(&xLayoutSetLineSpacing, "PANGO", "pango_layout_set_line_spacing", false) | |||
| 1619 | + | ||||
| 1440 | xLayoutSetLineSpacing(x.GoPointer(), FactorVar) | 1620 | xLayoutSetLineSpacing(x.GoPointer(), FactorVar) | ||
| 1441 | } | 1621 | } | ||
| 1442 | 1622 | ||||
| @@ -1451,6 +1631,8 @@ var xLayoutSetMarkup func(uintptr, string, int) | |||||
| 1451 | // This is the same as [method@Pango.Layout.set_markup_with_accel], | 1631 | // This is the same as [method@Pango.Layout.set_markup_with_accel], | ||
| 1452 | // but the markup text isn't scanned for accelerators. | 1632 | // but the markup text isn't scanned for accelerators. | ||
| 1453 | func (x *Layout) SetMarkup(MarkupVar string, LengthVar int) { | 1633 | func (x *Layout) SetMarkup(MarkupVar string, LengthVar int) { | ||
| 1634 | + | core.LazyRegister(&xLayoutSetMarkup, "PANGO", "pango_layout_set_markup", false) | |||
| 1635 | + | ||||
| 1454 | xLayoutSetMarkup(x.GoPointer(), MarkupVar, LengthVar) | 1636 | xLayoutSetMarkup(x.GoPointer(), MarkupVar, LengthVar) | ||
| 1455 | } | 1637 | } | ||
| 1456 | 1638 | ||||
| @@ -1470,6 +1652,8 @@ var xLayoutSetMarkupWithAccel func(uintptr, string, int, uint32, *uint32) | |||||
| 1470 | // Two @accel_marker characters following each other produce a single | 1652 | // Two @accel_marker characters following each other produce a single | ||
| 1471 | // literal @accel_marker character. | 1653 | // literal @accel_marker character. | ||
| 1472 | func (x *Layout) SetMarkupWithAccel(MarkupVar string, LengthVar int, AccelMarkerVar uint32, AccelCharVar *uint32) { | 1654 | func (x *Layout) SetMarkupWithAccel(MarkupVar string, LengthVar int, AccelMarkerVar uint32, AccelCharVar *uint32) { | ||
| 1655 | + | core.LazyRegister(&xLayoutSetMarkupWithAccel, "PANGO", "pango_layout_set_markup_with_accel", false) | |||
| 1656 | + | ||||
| 1473 | xLayoutSetMarkupWithAccel(x.GoPointer(), MarkupVar, LengthVar, AccelMarkerVar, AccelCharVar) | 1657 | xLayoutSetMarkupWithAccel(x.GoPointer(), MarkupVar, LengthVar, AccelMarkerVar, AccelCharVar) | ||
| 1474 | } | 1658 | } | ||
| 1475 | 1659 | ||||
| @@ -1484,6 +1668,8 @@ var xLayoutSetSingleParagraphMode func(uintptr, bool) | |||||
| 1484 | // | 1668 | // | ||
| 1485 | // The default value is %FALSE. | 1669 | // The default value is %FALSE. | ||
| 1486 | func (x *Layout) SetSingleParagraphMode(SettingVar bool) { | 1670 | func (x *Layout) SetSingleParagraphMode(SettingVar bool) { | ||
| 1671 | + | core.LazyRegister(&xLayoutSetSingleParagraphMode, "PANGO", "pango_layout_set_single_paragraph_mode", false) | |||
| 1672 | + | ||||
| 1487 | xLayoutSetSingleParagraphMode(x.GoPointer(), SettingVar) | 1673 | xLayoutSetSingleParagraphMode(x.GoPointer(), SettingVar) | ||
| 1488 | } | 1674 | } | ||
| 1489 | 1675 | ||||
| @@ -1506,6 +1692,8 @@ var xLayoutSetSpacing func(uintptr, int) | |||||
| 1506 | // Note: for semantics that are closer to the CSS line-height | 1692 | // Note: for semantics that are closer to the CSS line-height | ||
| 1507 | // property, see [func@Pango.attr_line_height_new]. | 1693 | // property, see [func@Pango.attr_line_height_new]. | ||
| 1508 | func (x *Layout) SetSpacing(SpacingVar int) { | 1694 | func (x *Layout) SetSpacing(SpacingVar int) { | ||
| 1695 | + | core.LazyRegister(&xLayoutSetSpacing, "PANGO", "pango_layout_set_spacing", false) | |||
| 1696 | + | ||||
| 1509 | xLayoutSetSpacing(x.GoPointer(), SpacingVar) | 1697 | xLayoutSetSpacing(x.GoPointer(), SpacingVar) | ||
| 1510 | } | 1698 | } | ||
| 1511 | 1699 | ||||
| @@ -1525,6 +1713,8 @@ var xLayoutSetTabs func(uintptr, *TabArray) | |||||
| 1525 | // positions. The same is true for alignments other than | 1713 | // positions. The same is true for alignments other than | ||
| 1526 | // %PANGO_ALIGN_LEFT. | 1714 | // %PANGO_ALIGN_LEFT. | ||
| 1527 | func (x *Layout) SetTabs(TabsVar *TabArray) { | 1715 | func (x *Layout) SetTabs(TabsVar *TabArray) { | ||
| 1716 | + | core.LazyRegister(&xLayoutSetTabs, "PANGO", "pango_layout_set_tabs", false) | |||
| 1717 | + | ||||
| 1528 | xLayoutSetTabs(x.GoPointer(), TabsVar) | 1718 | xLayoutSetTabs(x.GoPointer(), TabsVar) | ||
| 1529 | } | 1719 | } | ||
| 1530 | 1720 | ||||
| @@ -1541,6 +1731,8 @@ var xLayoutSetText func(uintptr, string, int) | |||||
| 1541 | // attributes set on the layout from the markup as this function does | 1731 | // attributes set on the layout from the markup as this function does | ||
| 1542 | // not clear attributes. | 1732 | // not clear attributes. | ||
| 1543 | func (x *Layout) SetText(TextVar string, LengthVar int) { | 1733 | func (x *Layout) SetText(TextVar string, LengthVar int) { | ||
| 1734 | + | core.LazyRegister(&xLayoutSetText, "PANGO", "pango_layout_set_text", false) | |||
| 1735 | + | ||||
| 1544 | xLayoutSetText(x.GoPointer(), TextVar, LengthVar) | 1736 | xLayoutSetText(x.GoPointer(), TextVar, LengthVar) | ||
| 1545 | } | 1737 | } | ||
| 1546 | 1738 | ||||
| @@ -1551,6 +1743,8 @@ var xLayoutSetWidth func(uintptr, int) | |||||
| 1551 | // | 1743 | // | ||
| 1552 | // The default value is -1: no width set. | 1744 | // The default value is -1: no width set. | ||
| 1553 | func (x *Layout) SetWidth(WidthVar int) { | 1745 | func (x *Layout) SetWidth(WidthVar int) { | ||
| 1746 | + | core.LazyRegister(&xLayoutSetWidth, "PANGO", "pango_layout_set_width", false) | |||
| 1747 | + | ||||
| 1554 | xLayoutSetWidth(x.GoPointer(), WidthVar) | 1748 | xLayoutSetWidth(x.GoPointer(), WidthVar) | ||
| 1555 | } | 1749 | } | ||
| 1556 | 1750 | ||||
| @@ -1564,6 +1758,8 @@ var xLayoutSetWrap func(uintptr, WrapMode) | |||||
| 1564 | // | 1758 | // | ||
| 1565 | // The default value is %PANGO_WRAP_WORD. | 1759 | // The default value is %PANGO_WRAP_WORD. | ||
| 1566 | func (x *Layout) SetWrap(WrapVar WrapMode) { | 1760 | func (x *Layout) SetWrap(WrapVar WrapMode) { | ||
| 1761 | + | core.LazyRegister(&xLayoutSetWrap, "PANGO", "pango_layout_set_wrap", false) | |||
| 1762 | + | ||||
| 1567 | xLayoutSetWrap(x.GoPointer(), WrapVar) | 1763 | xLayoutSetWrap(x.GoPointer(), WrapVar) | ||
| 1568 | } | 1764 | } | ||
| 1569 | 1765 | ||||
| @@ -1579,6 +1775,7 @@ var xLayoutWriteToFile func(uintptr, LayoutSerializeFlags, string, **glib.Error) | |||||
| 1579 | // It is mostly intended for use inside a debugger to quickly dump | 1775 | // It is mostly intended for use inside a debugger to quickly dump | ||
| 1580 | // a layout to a file for later inspection. | 1776 | // a layout to a file for later inspection. | ||
| 1581 | func (x *Layout) WriteToFile(FlagsVar LayoutSerializeFlags, FilenameVar string) (bool, error) { | 1777 | func (x *Layout) WriteToFile(FlagsVar LayoutSerializeFlags, FilenameVar string) (bool, error) { | ||
| 1778 | + | core.LazyRegister(&xLayoutWriteToFile, "PANGO", "pango_layout_write_to_file", false) | |||
| 1582 | var cerr *glib.Error | 1779 | var cerr *glib.Error | ||
| 1583 | 1780 | ||||
| 1584 | cret := xLayoutWriteToFile(x.GoPointer(), FlagsVar, FilenameVar, &cerr) | 1781 | cret := xLayoutWriteToFile(x.GoPointer(), FlagsVar, FilenameVar, &cerr) | ||
| @@ -1600,6 +1797,8 @@ var xLayoutXyToIndex func(uintptr, int, int, *int, *int) bool | |||||
| 1600 | // the X or Y positions were not inside the layout, then the function returns | 1797 | // the X or Y positions were not inside the layout, then the function returns | ||
| 1601 | // %FALSE; on an exact hit, it returns %TRUE. | 1798 | // %FALSE; on an exact hit, it returns %TRUE. | ||
| 1602 | func (x *Layout) XyToIndex(XVar int, YVar int, IndexVar *int, TrailingVar *int) bool { | 1799 | func (x *Layout) XyToIndex(XVar int, YVar int, IndexVar *int, TrailingVar *int) bool { | ||
| 1800 | + | core.LazyRegister(&xLayoutXyToIndex, "PANGO", "pango_layout_xy_to_index", false) | |||
| 1801 | + | ||||
| 1603 | cret := xLayoutXyToIndex(x.GoPointer(), XVar, YVar, IndexVar, TrailingVar) | 1802 | cret := xLayoutXyToIndex(x.GoPointer(), XVar, YVar, IndexVar, TrailingVar) | ||
| 1604 | return cret | 1803 | return cret | ||
| 1605 | } | 1804 | } | ||
| @@ -1625,6 +1824,7 @@ var xLayoutDeserialize func(uintptr, *glib.Bytes, LayoutDeserializeFlags, **glib | |||||
| 1625 | // the one that was serialized, you can compare @bytes to the | 1824 | // the one that was serialized, you can compare @bytes to the | ||
| 1626 | // result of serializing the layout again. | 1825 | // result of serializing the layout again. | ||
| 1627 | func LayoutDeserialize(ContextVar *Context, BytesVar *glib.Bytes, FlagsVar LayoutDeserializeFlags) (*Layout, error) { | 1826 | func LayoutDeserialize(ContextVar *Context, BytesVar *glib.Bytes, FlagsVar LayoutDeserializeFlags) (*Layout, error) { | ||
| 1827 | + | core.LazyRegister(&xLayoutDeserialize, "PANGO", "pango_layout_deserialize", false) | |||
| 1628 | var cls *Layout | 1828 | var cls *Layout | ||
| 1629 | var cerr *glib.Error | 1829 | var cerr *glib.Error | ||
| 1630 | 1830 | ||||
| @@ -1644,134 +1844,4 @@ func LayoutDeserialize(ContextVar *Context, BytesVar *glib.Bytes, FlagsVar Layou | |||||
| 1644 | func init() { | 1844 | func init() { | ||
| 1645 | core.SetPackageName("PANGO", "pango") | 1845 | core.SetPackageName("PANGO", "pango") | ||
| 1646 | core.SetSharedLibraries("PANGO", []string{"libpango-1.0.so.0", "libpango-1.0.0.dylib"}) | 1846 | core.SetSharedLibraries("PANGO", []string{"libpango-1.0.so.0", "libpango-1.0.0.dylib"}) | ||
| 1647 | - | var libs []uintptr | |||
| 1648 | - | for _, libPath := range core.GetPaths("PANGO") { | |||
| 1649 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 1650 | - | if err != nil { | |||
| 1651 | - | panic(err) | |||
| 1652 | - | } | |||
| 1653 | - | libs = append(libs, lib) | |||
| 1654 | - | } | |||
| 1655 | - | ||||
| 1656 | - | core.PuregoSafeRegister(&xLayoutDeserializeFlagsGLibType, libs, "pango_layout_deserialize_flags_get_type") | |||
| 1657 | - | ||||
| 1658 | - | core.PuregoSafeRegister(&xLayoutSerializeFlagsGLibType, libs, "pango_layout_serialize_flags_get_type") | |||
| 1659 | - | ||||
| 1660 | - | core.PuregoSafeRegister(&xAlignmentGLibType, libs, "pango_alignment_get_type") | |||
| 1661 | - | ||||
| 1662 | - | core.PuregoSafeRegister(&xEllipsizeModeGLibType, libs, "pango_ellipsize_mode_get_type") | |||
| 1663 | - | ||||
| 1664 | - | core.PuregoSafeRegister(&xLayoutDeserializeErrorGLibType, libs, "pango_layout_deserialize_error_get_type") | |||
| 1665 | - | ||||
| 1666 | - | core.PuregoSafeRegister(&xWrapModeGLibType, libs, "pango_wrap_mode_get_type") | |||
| 1667 | - | ||||
| 1668 | - | core.PuregoSafeRegister(&xLayoutIterGLibType, libs, "pango_layout_iter_get_type") | |||
| 1669 | - | ||||
| 1670 | - | core.PuregoSafeRegister(&xLayoutIterAtLastLine, libs, "pango_layout_iter_at_last_line") | |||
| 1671 | - | core.PuregoSafeRegister(&xLayoutIterCopy, libs, "pango_layout_iter_copy") | |||
| 1672 | - | core.PuregoSafeRegister(&xLayoutIterFree, libs, "pango_layout_iter_free") | |||
| 1673 | - | core.PuregoSafeRegister(&xLayoutIterGetBaseline, libs, "pango_layout_iter_get_baseline") | |||
| 1674 | - | core.PuregoSafeRegister(&xLayoutIterGetCharExtents, libs, "pango_layout_iter_get_char_extents") | |||
| 1675 | - | core.PuregoSafeRegister(&xLayoutIterGetClusterExtents, libs, "pango_layout_iter_get_cluster_extents") | |||
| 1676 | - | core.PuregoSafeRegister(&xLayoutIterGetIndex, libs, "pango_layout_iter_get_index") | |||
| 1677 | - | core.PuregoSafeRegister(&xLayoutIterGetLayout, libs, "pango_layout_iter_get_layout") | |||
| 1678 | - | core.PuregoSafeRegister(&xLayoutIterGetLayoutExtents, libs, "pango_layout_iter_get_layout_extents") | |||
| 1679 | - | core.PuregoSafeRegister(&xLayoutIterGetLine, libs, "pango_layout_iter_get_line") | |||
| 1680 | - | core.PuregoSafeRegister(&xLayoutIterGetLineExtents, libs, "pango_layout_iter_get_line_extents") | |||
| 1681 | - | core.PuregoSafeRegister(&xLayoutIterGetLineReadonly, libs, "pango_layout_iter_get_line_readonly") | |||
| 1682 | - | core.PuregoSafeRegister(&xLayoutIterGetLineYrange, libs, "pango_layout_iter_get_line_yrange") | |||
| 1683 | - | core.PuregoSafeRegister(&xLayoutIterGetRun, libs, "pango_layout_iter_get_run") | |||
| 1684 | - | core.PuregoSafeRegister(&xLayoutIterGetRunBaseline, libs, "pango_layout_iter_get_run_baseline") | |||
| 1685 | - | core.PuregoSafeRegister(&xLayoutIterGetRunExtents, libs, "pango_layout_iter_get_run_extents") | |||
| 1686 | - | core.PuregoSafeRegister(&xLayoutIterGetRunReadonly, libs, "pango_layout_iter_get_run_readonly") | |||
| 1687 | - | core.PuregoSafeRegister(&xLayoutIterNextChar, libs, "pango_layout_iter_next_char") | |||
| 1688 | - | core.PuregoSafeRegister(&xLayoutIterNextCluster, libs, "pango_layout_iter_next_cluster") | |||
| 1689 | - | core.PuregoSafeRegister(&xLayoutIterNextLine, libs, "pango_layout_iter_next_line") | |||
| 1690 | - | core.PuregoSafeRegister(&xLayoutIterNextRun, libs, "pango_layout_iter_next_run") | |||
| 1691 | - | ||||
| 1692 | - | core.PuregoSafeRegister(&xLayoutLineGLibType, libs, "pango_layout_line_get_type") | |||
| 1693 | - | ||||
| 1694 | - | core.PuregoSafeRegister(&xLayoutLineGetExtents, libs, "pango_layout_line_get_extents") | |||
| 1695 | - | core.PuregoSafeRegister(&xLayoutLineGetHeight, libs, "pango_layout_line_get_height") | |||
| 1696 | - | core.PuregoSafeRegister(&xLayoutLineGetLength, libs, "pango_layout_line_get_length") | |||
| 1697 | - | core.PuregoSafeRegister(&xLayoutLineGetPixelExtents, libs, "pango_layout_line_get_pixel_extents") | |||
| 1698 | - | core.PuregoSafeRegister(&xLayoutLineGetResolvedDirection, libs, "pango_layout_line_get_resolved_direction") | |||
| 1699 | - | core.PuregoSafeRegister(&xLayoutLineGetStartIndex, libs, "pango_layout_line_get_start_index") | |||
| 1700 | - | core.PuregoSafeRegister(&xLayoutLineGetXRanges, libs, "pango_layout_line_get_x_ranges") | |||
| 1701 | - | core.PuregoSafeRegister(&xLayoutLineIndexToX, libs, "pango_layout_line_index_to_x") | |||
| 1702 | - | core.PuregoSafeRegister(&xLayoutLineIsParagraphStartFn, libs, "pango_layout_line_is_paragraph_start") | |||
| 1703 | - | core.PuregoSafeRegister(&xLayoutLineRef, libs, "pango_layout_line_ref") | |||
| 1704 | - | core.PuregoSafeRegister(&xLayoutLineUnref, libs, "pango_layout_line_unref") | |||
| 1705 | - | core.PuregoSafeRegister(&xLayoutLineXToIndex, libs, "pango_layout_line_x_to_index") | |||
| 1706 | - | ||||
| 1707 | - | core.PuregoSafeRegister(&xLayoutGLibType, libs, "pango_layout_get_type") | |||
| 1708 | - | ||||
| 1709 | - | core.PuregoSafeRegister(&xNewLayout, libs, "pango_layout_new") | |||
| 1710 | - | ||||
| 1711 | - | core.PuregoSafeRegister(&xLayoutContextChanged, libs, "pango_layout_context_changed") | |||
| 1712 | - | core.PuregoSafeRegister(&xLayoutCopy, libs, "pango_layout_copy") | |||
| 1713 | - | core.PuregoSafeRegister(&xLayoutGetAlignment, libs, "pango_layout_get_alignment") | |||
| 1714 | - | core.PuregoSafeRegister(&xLayoutGetAttributes, libs, "pango_layout_get_attributes") | |||
| 1715 | - | core.PuregoSafeRegister(&xLayoutGetAutoDir, libs, "pango_layout_get_auto_dir") | |||
| 1716 | - | core.PuregoSafeRegister(&xLayoutGetBaseline, libs, "pango_layout_get_baseline") | |||
| 1717 | - | core.PuregoSafeRegister(&xLayoutGetCaretPos, libs, "pango_layout_get_caret_pos") | |||
| 1718 | - | core.PuregoSafeRegister(&xLayoutGetCharacterCount, libs, "pango_layout_get_character_count") | |||
| 1719 | - | core.PuregoSafeRegister(&xLayoutGetContext, libs, "pango_layout_get_context") | |||
| 1720 | - | core.PuregoSafeRegister(&xLayoutGetCursorPos, libs, "pango_layout_get_cursor_pos") | |||
| 1721 | - | core.PuregoSafeRegister(&xLayoutGetDirection, libs, "pango_layout_get_direction") | |||
| 1722 | - | core.PuregoSafeRegister(&xLayoutGetEllipsize, libs, "pango_layout_get_ellipsize") | |||
| 1723 | - | core.PuregoSafeRegister(&xLayoutGetExtents, libs, "pango_layout_get_extents") | |||
| 1724 | - | core.PuregoSafeRegister(&xLayoutGetFontDescription, libs, "pango_layout_get_font_description") | |||
| 1725 | - | core.PuregoSafeRegister(&xLayoutGetHeight, libs, "pango_layout_get_height") | |||
| 1726 | - | core.PuregoSafeRegister(&xLayoutGetIndent, libs, "pango_layout_get_indent") | |||
| 1727 | - | core.PuregoSafeRegister(&xLayoutGetIter, libs, "pango_layout_get_iter") | |||
| 1728 | - | core.PuregoSafeRegister(&xLayoutGetJustify, libs, "pango_layout_get_justify") | |||
| 1729 | - | core.PuregoSafeRegister(&xLayoutGetJustifyLastLine, libs, "pango_layout_get_justify_last_line") | |||
| 1730 | - | core.PuregoSafeRegister(&xLayoutGetLine, libs, "pango_layout_get_line") | |||
| 1731 | - | core.PuregoSafeRegister(&xLayoutGetLineCount, libs, "pango_layout_get_line_count") | |||
| 1732 | - | core.PuregoSafeRegister(&xLayoutGetLineReadonly, libs, "pango_layout_get_line_readonly") | |||
| 1733 | - | core.PuregoSafeRegister(&xLayoutGetLineSpacing, libs, "pango_layout_get_line_spacing") | |||
| 1734 | - | core.PuregoSafeRegister(&xLayoutGetLines, libs, "pango_layout_get_lines") | |||
| 1735 | - | core.PuregoSafeRegister(&xLayoutGetLinesReadonly, libs, "pango_layout_get_lines_readonly") | |||
| 1736 | - | core.PuregoSafeRegister(&xLayoutGetLogAttrs, libs, "pango_layout_get_log_attrs") | |||
| 1737 | - | core.PuregoSafeRegister(&xLayoutGetLogAttrsReadonly, libs, "pango_layout_get_log_attrs_readonly") | |||
| 1738 | - | core.PuregoSafeRegister(&xLayoutGetPixelExtents, libs, "pango_layout_get_pixel_extents") | |||
| 1739 | - | core.PuregoSafeRegister(&xLayoutGetPixelSize, libs, "pango_layout_get_pixel_size") | |||
| 1740 | - | core.PuregoSafeRegister(&xLayoutGetSerial, libs, "pango_layout_get_serial") | |||
| 1741 | - | core.PuregoSafeRegister(&xLayoutGetSingleParagraphMode, libs, "pango_layout_get_single_paragraph_mode") | |||
| 1742 | - | core.PuregoSafeRegister(&xLayoutGetSize, libs, "pango_layout_get_size") | |||
| 1743 | - | core.PuregoSafeRegister(&xLayoutGetSpacing, libs, "pango_layout_get_spacing") | |||
| 1744 | - | core.PuregoSafeRegister(&xLayoutGetTabs, libs, "pango_layout_get_tabs") | |||
| 1745 | - | core.PuregoSafeRegister(&xLayoutGetText, libs, "pango_layout_get_text") | |||
| 1746 | - | core.PuregoSafeRegister(&xLayoutGetUnknownGlyphsCount, libs, "pango_layout_get_unknown_glyphs_count") | |||
| 1747 | - | core.PuregoSafeRegister(&xLayoutGetWidth, libs, "pango_layout_get_width") | |||
| 1748 | - | core.PuregoSafeRegister(&xLayoutGetWrap, libs, "pango_layout_get_wrap") | |||
| 1749 | - | core.PuregoSafeRegister(&xLayoutIndexToLineX, libs, "pango_layout_index_to_line_x") | |||
| 1750 | - | core.PuregoSafeRegister(&xLayoutIndexToPos, libs, "pango_layout_index_to_pos") | |||
| 1751 | - | core.PuregoSafeRegister(&xLayoutIsEllipsized, libs, "pango_layout_is_ellipsized") | |||
| 1752 | - | core.PuregoSafeRegister(&xLayoutIsWrapped, libs, "pango_layout_is_wrapped") | |||
| 1753 | - | core.PuregoSafeRegister(&xLayoutMoveCursorVisually, libs, "pango_layout_move_cursor_visually") | |||
| 1754 | - | core.PuregoSafeRegister(&xLayoutSerialize, libs, "pango_layout_serialize") | |||
| 1755 | - | core.PuregoSafeRegister(&xLayoutSetAlignment, libs, "pango_layout_set_alignment") | |||
| 1756 | - | core.PuregoSafeRegister(&xLayoutSetAttributes, libs, "pango_layout_set_attributes") | |||
| 1757 | - | core.PuregoSafeRegister(&xLayoutSetAutoDir, libs, "pango_layout_set_auto_dir") | |||
| 1758 | - | core.PuregoSafeRegister(&xLayoutSetEllipsize, libs, "pango_layout_set_ellipsize") | |||
| 1759 | - | core.PuregoSafeRegister(&xLayoutSetFontDescription, libs, "pango_layout_set_font_description") | |||
| 1760 | - | core.PuregoSafeRegister(&xLayoutSetHeight, libs, "pango_layout_set_height") | |||
| 1761 | - | core.PuregoSafeRegister(&xLayoutSetIndent, libs, "pango_layout_set_indent") | |||
| 1762 | - | core.PuregoSafeRegister(&xLayoutSetJustify, libs, "pango_layout_set_justify") | |||
| 1763 | - | core.PuregoSafeRegister(&xLayoutSetJustifyLastLine, libs, "pango_layout_set_justify_last_line") | |||
| 1764 | - | core.PuregoSafeRegister(&xLayoutSetLineSpacing, libs, "pango_layout_set_line_spacing") | |||
| 1765 | - | core.PuregoSafeRegister(&xLayoutSetMarkup, libs, "pango_layout_set_markup") | |||
| 1766 | - | core.PuregoSafeRegister(&xLayoutSetMarkupWithAccel, libs, "pango_layout_set_markup_with_accel") | |||
| 1767 | - | core.PuregoSafeRegister(&xLayoutSetSingleParagraphMode, libs, "pango_layout_set_single_paragraph_mode") | |||
| 1768 | - | core.PuregoSafeRegister(&xLayoutSetSpacing, libs, "pango_layout_set_spacing") | |||
| 1769 | - | core.PuregoSafeRegister(&xLayoutSetTabs, libs, "pango_layout_set_tabs") | |||
| 1770 | - | core.PuregoSafeRegister(&xLayoutSetText, libs, "pango_layout_set_text") | |||
| 1771 | - | core.PuregoSafeRegister(&xLayoutSetWidth, libs, "pango_layout_set_width") | |||
| 1772 | - | core.PuregoSafeRegister(&xLayoutSetWrap, libs, "pango_layout_set_wrap") | |||
| 1773 | - | core.PuregoSafeRegister(&xLayoutWriteToFile, libs, "pango_layout_write_to_file") | |||
| 1774 | - | core.PuregoSafeRegister(&xLayoutXyToIndex, libs, "pango_layout_xy_to_index") | |||
| 1775 | - | ||||
| 1776 | - | core.PuregoSafeRegister(&xLayoutDeserialize, libs, "pango_layout_deserialize") | |||
| 1777 | } | 1847 | } | ||