Revert "chore(deps): pin puregotk nil-signal fix"
This reverts commit a161e348e2093172038390b0906448f0ae979a0d.
- commit
- 40378d5e4fd2372d054e49168ab2a6f67aedd0fd
- author
- brice · · 2026-07-14 17:59 UTC
- parent
- 8d647bb
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +25263 -27842
M go.mod +1 -1
| @@ -11,7 +11,7 @@ require ( | |||
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | |
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | + | github.com/bnema/puregotk v0.7.0 | |
| 15 | 15 | github.com/charmbracelet/bubbles v1.0.0 | |
| 16 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 17 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -11,7 +11,7 @@ require ( | |||||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | 13 | github.com/bnema/purego-webp v0.2.1-0.20260714152238-7bc9c402fdf6 | ||
| 14 | - | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | 14 | + | github.com/bnema/puregotk v0.7.0 |
| 15 | github.com/charmbracelet/bubbles v1.0.0 | 15 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 16 | github.com/charmbracelet/bubbletea v1.3.10 | 16 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 17 | github.com/charmbracelet/lipgloss v1.1.0 | 17 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +0 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +4 -197 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +0 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +64 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +62 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +29 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +47 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +27 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-avatar.go +25 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-banner.go +26 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bin.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-bottom-sheet.go +38 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint-bin.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-breakpoint.go +37 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-content.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-button-row.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-dots.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel-indicator-lines.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-carousel.go +37 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-layout.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp-scrollable.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-clamp.go +22 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-combo-row.go +33 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-dialog.go +38 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-easing.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-entry-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-enum-list-model.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-expander-row.go +33 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-flap.go +48 -61 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-fold-threshold-policy.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-header-bar.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-inline-view-switcher.go +24 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout-slot.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-layout.go +17 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-leaflet.go +56 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-length-unit.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-main.go +15 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-message-dialog.go +44 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-multi-layout-view.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-direction.go +1 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-split-view.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-navigation-view.go +49 -60 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-overlay-split-view.go +38 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-password-entry-row.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-dialog.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-group.go +26 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-page.go +33 -38 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-row.go +22 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-preferences-window.go +29 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcut-label.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-dialog.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-item.go +25 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-shortcuts-section.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-item.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar-section.go +27 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-sidebar.go +39 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spin-row.go +34 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner-paintable.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spinner.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-split-button.go +34 -39 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-animation.go +30 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-spring-params.go +21 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-squeezer.go +44 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-status-page.go +24 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-style-manager.go +28 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipe-tracker.go +30 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-swipeable.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-switch-row.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-bar.go +32 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-button.go +16 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-overview.go +37 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-tab-view.go +87 -123 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-timed-animation.go +28 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast-overlay.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toast.go +36 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toggle-group.go +51 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-toolbar-view.go +35 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-version.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-stack.go +62 -78 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-bar.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-sidebar.go +22 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher-title.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-view-switcher.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window-title.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-window.go +22 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-box.go +46 -66 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-wrap-layout.go +46 -57 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/cairo/main.go +79 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkapplaunchcontext.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairo.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcairocontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcicpparams.go +25 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkclipboard.go +32 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcolorstate.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentdeserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentformats.go +31 -28 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentprovider.go +28 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcontentserializer.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkcursor.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevice.go +33 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicepad.go +22 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdevicetool.go +18 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplay.go +43 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdisplaymanager.go +20 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexture.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdmabuftexturebuilder.go +41 -53 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrag.go +28 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurface.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdragsurfacesize.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrawcontext.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkdrop.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkenums.go +1 -21 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkevents.go +118 -120 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframeclock.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkframetimings.go +20 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkglcontext.go +36 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexture.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkgltexturebuilder.go +35 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkkeys.go +22 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexture.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkmemorytexturebuilder.go +35 -42 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 +33 -63 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpango.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpixbuf.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopup.go +26 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkpopuplayout.go +32 -36 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkrgba.go +21 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkseat.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksnapshot.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdksurface.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktexture.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevel.go +66 -157 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevellayout.go +25 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktoplevelsize.go +16 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdktypes.go +72 -95 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdk/gdkvulkancontext.go +13 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-animation.go +32 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-core.go +0 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-io.go +23 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-loader.go +22 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-simple-anim.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf-transform.go +1 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/gdk-pixbuf.go +79 -102 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gdkpixbuf/main.go +17 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gaction.go +31 -59 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactiongroup.go +39 -96 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gactionmap.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gappinfo.go +116 -244 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplication.go +55 -79 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gapplicationcommandline.go +27 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncinitable.go +22 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gasyncresult.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedinputstream.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbufferedoutputstream.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gbytesicon.go +15 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcancellable.go +27 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcharsetconverter.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcontenttype.go +26 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverter.go +20 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverterinputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gconverteroutputstream.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gcredentials.go +21 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatagrambased.go +30 -45 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdatainputstream.go +35 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdataoutputstream.go +23 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusactiongroup.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusaddress.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusauthobserver.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusconnection.go +66 -77 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbuserror.go +18 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterface.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusinterfaceskeleton.go +24 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusintrospection.go +56 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmenumodel.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmessage.go +64 -88 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusmethodinvocation.go +30 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnameowning.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusnamewatching.go +15 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobject.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanager.go +19 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerclient.go +23 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectmanagerserver.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectproxy.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusobjectskeleton.go +18 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusproxy.go +38 -42 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusserver.go +20 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdbusutils.go +22 -24 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontroller.go +16 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdebugcontrollerdbus.go +14 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdrive.go +82 -214 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsclientconnection.go +24 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsconnection.go +80 -207 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gdtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblem.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gemblemedicon.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfile.go +450 -1148 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileattribute.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileenumerator.go +35 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileicon.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinfo.go +84 -138 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileinputstream.go +23 -17 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileiostream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilemonitor.go +15 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilenamecompleter.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfileoutputstream.go +27 -23 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilterinputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gfilteroutputstream.go +14 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gicon.go +25 -32 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddress.go +34 -40
| @@ -112,7 +112,6 @@ type InetAddress struct { | |||
| 112 | 112 | var xInetAddressGLibType func() types.GType | |
| 113 | 113 | ||
| 114 | 114 | func InetAddressGLibType() types.GType { | |
| 115 | - | core.LazyRegister(&xInetAddressGLibType, "GIO", "g_inet_address_get_type", false) | |
| 116 | 115 | return xInetAddressGLibType() | |
| 117 | 116 | } | |
| 118 | 117 | ||
| @@ -127,7 +126,6 @@ var xNewInetAddressAny func(SocketFamily) uintptr | |||
| 127 | 126 | // Creates a #GInetAddress for the "any" address (unassigned/"don't | |
| 128 | 127 | // care") for @family. | |
| 129 | 128 | func NewInetAddressAny(FamilyVar SocketFamily) *InetAddress { | |
| 130 | - | core.LazyRegister(&xNewInetAddressAny, "GIO", "g_inet_address_new_any", false) | |
| 131 | 129 | var cls *InetAddress | |
| 132 | 130 | ||
| 133 | 131 | cret := xNewInetAddressAny(FamilyVar) | |
| @@ -146,7 +144,6 @@ var xNewInetAddressFromBytes func([]byte, SocketFamily) uintptr | |||
| 146 | 144 | // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for | |
| 147 | 145 | // %G_SOCKET_FAMILY_IPV6. | |
| 148 | 146 | func NewInetAddressFromBytes(BytesVar []byte, FamilyVar SocketFamily) *InetAddress { | |
| 149 | - | core.LazyRegister(&xNewInetAddressFromBytes, "GIO", "g_inet_address_new_from_bytes", false) | |
| 150 | 147 | var cls *InetAddress | |
| 151 | 148 | ||
| 152 | 149 | cret := xNewInetAddressFromBytes(BytesVar, FamilyVar) | |
| @@ -167,7 +164,6 @@ var xNewInetAddressFromBytesWithIpv6Info func([]byte, SocketFamily, uint32, uint | |||
| 167 | 164 | // @bytes must be 4 bytes for [enum@Gio.SocketFamily.IPV4] and 16 bytes for | |
| 168 | 165 | // [enum@Gio.SocketFamily.IPV6]. | |
| 169 | 166 | func NewInetAddressFromBytesWithIpv6Info(BytesVar []byte, FamilyVar SocketFamily, FlowinfoVar uint32, ScopeIdVar uint32) *InetAddress { | |
| 170 | - | core.LazyRegister(&xNewInetAddressFromBytesWithIpv6Info, "GIO", "g_inet_address_new_from_bytes_with_ipv6_info", false) | |
| 171 | 167 | var cls *InetAddress | |
| 172 | 168 | ||
| 173 | 169 | cret := xNewInetAddressFromBytesWithIpv6Info(BytesVar, FamilyVar, FlowinfoVar, ScopeIdVar) | |
| @@ -188,7 +184,6 @@ var xNewInetAddressFromString func(string) uintptr | |||
| 188 | 184 | // (separated from the address by a `%`). Note that currently this | |
| 189 | 185 | // behavior is platform specific. This may change in a future release. | |
| 190 | 186 | func NewInetAddressFromString(StringVar string) *InetAddress { | |
| 191 | - | core.LazyRegister(&xNewInetAddressFromString, "GIO", "g_inet_address_new_from_string", false) | |
| 192 | 187 | var cls *InetAddress | |
| 193 | 188 | ||
| 194 | 189 | cret := xNewInetAddressFromString(StringVar) | |
| @@ -205,7 +200,6 @@ var xNewInetAddressLoopback func(SocketFamily) uintptr | |||
| 205 | 200 | ||
| 206 | 201 | // Creates a #GInetAddress for the loopback address for @family. | |
| 207 | 202 | func NewInetAddressLoopback(FamilyVar SocketFamily) *InetAddress { | |
| 208 | - | core.LazyRegister(&xNewInetAddressLoopback, "GIO", "g_inet_address_new_loopback", false) | |
| 209 | 203 | var cls *InetAddress | |
| 210 | 204 | ||
| 211 | 205 | cret := xNewInetAddressLoopback(FamilyVar) | |
| @@ -222,8 +216,6 @@ var xInetAddressEqual func(uintptr, uintptr) bool | |||
| 222 | 216 | ||
| 223 | 217 | // Checks if two #GInetAddress instances are equal, e.g. the same address. | |
| 224 | 218 | func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool { | |
| 225 | - | core.LazyRegister(&xInetAddressEqual, "GIO", "g_inet_address_equal", false) | |
| 226 | - | ||
| 227 | 219 | cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer()) | |
| 228 | 220 | return cret | |
| 229 | 221 | } | |
| @@ -232,8 +224,6 @@ var xInetAddressGetFamily func(uintptr) SocketFamily | |||
| 232 | 224 | ||
| 233 | 225 | // Gets @address's family | |
| 234 | 226 | func (x *InetAddress) GetFamily() SocketFamily { | |
| 235 | - | core.LazyRegister(&xInetAddressGetFamily, "GIO", "g_inet_address_get_family", false) | |
| 236 | - | ||
| 237 | 227 | cret := xInetAddressGetFamily(x.GoPointer()) | |
| 238 | 228 | return cret | |
| 239 | 229 | } | |
| @@ -242,8 +232,6 @@ var xInetAddressGetFlowinfo func(uintptr) uint32 | |||
| 242 | 232 | ||
| 243 | 233 | // Gets the value of [property@Gio.InetAddress:flowinfo]. | |
| 244 | 234 | func (x *InetAddress) GetFlowinfo() uint32 { | |
| 245 | - | core.LazyRegister(&xInetAddressGetFlowinfo, "GIO", "g_inet_address_get_flowinfo", false) | |
| 246 | - | ||
| 247 | 235 | cret := xInetAddressGetFlowinfo(x.GoPointer()) | |
| 248 | 236 | return cret | |
| 249 | 237 | } | |
| @@ -252,8 +240,6 @@ var xInetAddressGetIsAny func(uintptr) bool | |||
| 252 | 240 | ||
| 253 | 241 | // Tests whether @address is the "any" address for its family. | |
| 254 | 242 | func (x *InetAddress) GetIsAny() bool { | |
| 255 | - | core.LazyRegister(&xInetAddressGetIsAny, "GIO", "g_inet_address_get_is_any", false) | |
| 256 | - | ||
| 257 | 243 | cret := xInetAddressGetIsAny(x.GoPointer()) | |
| 258 | 244 | return cret | |
| 259 | 245 | } | |
| @@ -264,8 +250,6 @@ var xInetAddressGetIsLinkLocal func(uintptr) bool | |||
| 264 | 250 | // identifies a host on a local network that is not connected to the | |
| 265 | 251 | // Internet). | |
| 266 | 252 | func (x *InetAddress) GetIsLinkLocal() bool { | |
| 267 | - | core.LazyRegister(&xInetAddressGetIsLinkLocal, "GIO", "g_inet_address_get_is_link_local", false) | |
| 268 | - | ||
| 269 | 253 | cret := xInetAddressGetIsLinkLocal(x.GoPointer()) | |
| 270 | 254 | return cret | |
| 271 | 255 | } | |
| @@ -274,8 +258,6 @@ var xInetAddressGetIsLoopback func(uintptr) bool | |||
| 274 | 258 | ||
| 275 | 259 | // Tests whether @address is the loopback address for its family. | |
| 276 | 260 | func (x *InetAddress) GetIsLoopback() bool { | |
| 277 | - | core.LazyRegister(&xInetAddressGetIsLoopback, "GIO", "g_inet_address_get_is_loopback", false) | |
| 278 | - | ||
| 279 | 261 | cret := xInetAddressGetIsLoopback(x.GoPointer()) | |
| 280 | 262 | return cret | |
| 281 | 263 | } | |
| @@ -284,8 +266,6 @@ var xInetAddressGetIsMcGlobal func(uintptr) bool | |||
| 284 | 266 | ||
| 285 | 267 | // Tests whether @address is a global multicast address. | |
| 286 | 268 | func (x *InetAddress) GetIsMcGlobal() bool { | |
| 287 | - | core.LazyRegister(&xInetAddressGetIsMcGlobal, "GIO", "g_inet_address_get_is_mc_global", false) | |
| 288 | - | ||
| 289 | 269 | cret := xInetAddressGetIsMcGlobal(x.GoPointer()) | |
| 290 | 270 | return cret | |
| 291 | 271 | } | |
| @@ -294,8 +274,6 @@ var xInetAddressGetIsMcLinkLocal func(uintptr) bool | |||
| 294 | 274 | ||
| 295 | 275 | // Tests whether @address is a link-local multicast address. | |
| 296 | 276 | func (x *InetAddress) GetIsMcLinkLocal() bool { | |
| 297 | - | core.LazyRegister(&xInetAddressGetIsMcLinkLocal, "GIO", "g_inet_address_get_is_mc_link_local", false) | |
| 298 | - | ||
| 299 | 277 | cret := xInetAddressGetIsMcLinkLocal(x.GoPointer()) | |
| 300 | 278 | return cret | |
| 301 | 279 | } | |
| @@ -304,8 +282,6 @@ var xInetAddressGetIsMcNodeLocal func(uintptr) bool | |||
| 304 | 282 | ||
| 305 | 283 | // Tests whether @address is a node-local multicast address. | |
| 306 | 284 | func (x *InetAddress) GetIsMcNodeLocal() bool { | |
| 307 | - | core.LazyRegister(&xInetAddressGetIsMcNodeLocal, "GIO", "g_inet_address_get_is_mc_node_local", false) | |
| 308 | - | ||
| 309 | 285 | cret := xInetAddressGetIsMcNodeLocal(x.GoPointer()) | |
| 310 | 286 | return cret | |
| 311 | 287 | } | |
| @@ -314,8 +290,6 @@ var xInetAddressGetIsMcOrgLocal func(uintptr) bool | |||
| 314 | 290 | ||
| 315 | 291 | // Tests whether @address is an organization-local multicast address. | |
| 316 | 292 | func (x *InetAddress) GetIsMcOrgLocal() bool { | |
| 317 | - | core.LazyRegister(&xInetAddressGetIsMcOrgLocal, "GIO", "g_inet_address_get_is_mc_org_local", false) | |
| 318 | - | ||
| 319 | 293 | cret := xInetAddressGetIsMcOrgLocal(x.GoPointer()) | |
| 320 | 294 | return cret | |
| 321 | 295 | } | |
| @@ -324,8 +298,6 @@ var xInetAddressGetIsMcSiteLocal func(uintptr) bool | |||
| 324 | 298 | ||
| 325 | 299 | // Tests whether @address is a site-local multicast address. | |
| 326 | 300 | func (x *InetAddress) GetIsMcSiteLocal() bool { | |
| 327 | - | core.LazyRegister(&xInetAddressGetIsMcSiteLocal, "GIO", "g_inet_address_get_is_mc_site_local", false) | |
| 328 | - | ||
| 329 | 301 | cret := xInetAddressGetIsMcSiteLocal(x.GoPointer()) | |
| 330 | 302 | return cret | |
| 331 | 303 | } | |
| @@ -334,8 +306,6 @@ var xInetAddressGetIsMulticast func(uintptr) bool | |||
| 334 | 306 | ||
| 335 | 307 | // Tests whether @address is a multicast address. | |
| 336 | 308 | func (x *InetAddress) GetIsMulticast() bool { | |
| 337 | - | core.LazyRegister(&xInetAddressGetIsMulticast, "GIO", "g_inet_address_get_is_multicast", false) | |
| 338 | - | ||
| 339 | 309 | cret := xInetAddressGetIsMulticast(x.GoPointer()) | |
| 340 | 310 | return cret | |
| 341 | 311 | } | |
| @@ -347,8 +317,6 @@ var xInetAddressGetIsSiteLocal func(uintptr) bool | |||
| 347 | 317 | // not be reached directly from the Internet, but which may have | |
| 348 | 318 | // outgoing Internet connectivity via a NAT or firewall). | |
| 349 | 319 | func (x *InetAddress) GetIsSiteLocal() bool { | |
| 350 | - | core.LazyRegister(&xInetAddressGetIsSiteLocal, "GIO", "g_inet_address_get_is_site_local", false) | |
| 351 | - | ||
| 352 | 320 | cret := xInetAddressGetIsSiteLocal(x.GoPointer()) | |
| 353 | 321 | return cret | |
| 354 | 322 | } | |
| @@ -358,8 +326,6 @@ var xInetAddressGetNativeSize func(uintptr) uint | |||
| 358 | 326 | // Gets the size of the native raw binary address for @address. This | |
| 359 | 327 | // is the size of the data that you get from g_inet_address_to_bytes(). | |
| 360 | 328 | func (x *InetAddress) GetNativeSize() uint { | |
| 361 | - | core.LazyRegister(&xInetAddressGetNativeSize, "GIO", "g_inet_address_get_native_size", false) | |
| 362 | - | ||
| 363 | 329 | cret := xInetAddressGetNativeSize(x.GoPointer()) | |
| 364 | 330 | return cret | |
| 365 | 331 | } | |
| @@ -368,8 +334,6 @@ var xInetAddressGetScopeId func(uintptr) uint32 | |||
| 368 | 334 | ||
| 369 | 335 | // Gets the value of [property@Gio.InetAddress:scope-id]. | |
| 370 | 336 | func (x *InetAddress) GetScopeId() uint32 { | |
| 371 | - | core.LazyRegister(&xInetAddressGetScopeId, "GIO", "g_inet_address_get_scope_id", false) | |
| 372 | - | ||
| 373 | 337 | cret := xInetAddressGetScopeId(x.GoPointer()) | |
| 374 | 338 | return cret | |
| 375 | 339 | } | |
| @@ -378,8 +342,6 @@ var xInetAddressToBytes func(uintptr) byte | |||
| 378 | 342 | ||
| 379 | 343 | // Gets the raw binary address data from @address. | |
| 380 | 344 | func (x *InetAddress) ToBytes() byte { | |
| 381 | - | core.LazyRegister(&xInetAddressToBytes, "GIO", "g_inet_address_to_bytes", false) | |
| 382 | - | ||
| 383 | 345 | cret := xInetAddressToBytes(x.GoPointer()) | |
| 384 | 346 | return cret | |
| 385 | 347 | } | |
| @@ -388,8 +350,6 @@ var xInetAddressToString func(uintptr) string | |||
| 388 | 350 | ||
| 389 | 351 | // Converts @address to string form. | |
| 390 | 352 | func (x *InetAddress) ToString() string { | |
| 391 | - | core.LazyRegister(&xInetAddressToString, "GIO", "g_inet_address_to_string", false) | |
| 392 | - | ||
| 393 | 353 | cret := xInetAddressToString(x.GoPointer()) | |
| 394 | 354 | return cret | |
| 395 | 355 | } | |
| @@ -553,4 +513,38 @@ func (x *InetAddress) GetPropertyScopeId() uint { | |||
| 553 | 513 | func init() { | |
| 554 | 514 | core.SetPackageName("GIO", "gio-2.0") | |
| 555 | 515 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | |
| 516 | + | var libs []uintptr | |
| 517 | + | for _, libPath := range core.GetPaths("GIO") { | |
| 518 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 519 | + | if err != nil { | |
| 520 | + | panic(err) | |
| 521 | + | } | |
| 522 | + | libs = append(libs, lib) | |
| 523 | + | } | |
| 524 | + | ||
| 525 | + | core.PuregoSafeRegister(&xInetAddressGLibType, libs, "g_inet_address_get_type") | |
| 526 | + | ||
| 527 | + | core.PuregoSafeRegister(&xNewInetAddressAny, libs, "g_inet_address_new_any") | |
| 528 | + | core.PuregoSafeRegister(&xNewInetAddressFromBytes, libs, "g_inet_address_new_from_bytes") | |
| 529 | + | core.PuregoSafeRegister(&xNewInetAddressFromBytesWithIpv6Info, libs, "g_inet_address_new_from_bytes_with_ipv6_info") | |
| 530 | + | core.PuregoSafeRegister(&xNewInetAddressFromString, libs, "g_inet_address_new_from_string") | |
| 531 | + | core.PuregoSafeRegister(&xNewInetAddressLoopback, libs, "g_inet_address_new_loopback") | |
| 532 | + | ||
| 533 | + | core.PuregoSafeRegister(&xInetAddressEqual, libs, "g_inet_address_equal") | |
| 534 | + | core.PuregoSafeRegister(&xInetAddressGetFamily, libs, "g_inet_address_get_family") | |
| 535 | + | core.PuregoSafeRegister(&xInetAddressGetFlowinfo, libs, "g_inet_address_get_flowinfo") | |
| 536 | + | core.PuregoSafeRegister(&xInetAddressGetIsAny, libs, "g_inet_address_get_is_any") | |
| 537 | + | core.PuregoSafeRegister(&xInetAddressGetIsLinkLocal, libs, "g_inet_address_get_is_link_local") | |
| 538 | + | core.PuregoSafeRegister(&xInetAddressGetIsLoopback, libs, "g_inet_address_get_is_loopback") | |
| 539 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcGlobal, libs, "g_inet_address_get_is_mc_global") | |
| 540 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcLinkLocal, libs, "g_inet_address_get_is_mc_link_local") | |
| 541 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcNodeLocal, libs, "g_inet_address_get_is_mc_node_local") | |
| 542 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcOrgLocal, libs, "g_inet_address_get_is_mc_org_local") | |
| 543 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcSiteLocal, libs, "g_inet_address_get_is_mc_site_local") | |
| 544 | + | core.PuregoSafeRegister(&xInetAddressGetIsMulticast, libs, "g_inet_address_get_is_multicast") | |
| 545 | + | core.PuregoSafeRegister(&xInetAddressGetIsSiteLocal, libs, "g_inet_address_get_is_site_local") | |
| 546 | + | core.PuregoSafeRegister(&xInetAddressGetNativeSize, libs, "g_inet_address_get_native_size") | |
| 547 | + | core.PuregoSafeRegister(&xInetAddressGetScopeId, libs, "g_inet_address_get_scope_id") | |
| 548 | + | core.PuregoSafeRegister(&xInetAddressToBytes, libs, "g_inet_address_to_bytes") | |
| 549 | + | core.PuregoSafeRegister(&xInetAddressToString, libs, "g_inet_address_to_string") | |
| 556 | 550 | } | |
| @@ -112,7 +112,6 @@ type InetAddress struct { | |||||
| 112 | var xInetAddressGLibType func() types.GType | 112 | var xInetAddressGLibType func() types.GType | ||
| 113 | 113 | ||||
| 114 | func InetAddressGLibType() types.GType { | 114 | func InetAddressGLibType() types.GType { | ||
| 115 | - | core.LazyRegister(&xInetAddressGLibType, "GIO", "g_inet_address_get_type", false) | |||
| 116 | return xInetAddressGLibType() | 115 | return xInetAddressGLibType() | ||
| 117 | } | 116 | } | ||
| 118 | 117 | ||||
| @@ -127,7 +126,6 @@ var xNewInetAddressAny func(SocketFamily) uintptr | |||||
| 127 | // Creates a #GInetAddress for the "any" address (unassigned/"don't | 126 | // Creates a #GInetAddress for the "any" address (unassigned/"don't | ||
| 128 | // care") for @family. | 127 | // care") for @family. | ||
| 129 | func NewInetAddressAny(FamilyVar SocketFamily) *InetAddress { | 128 | func NewInetAddressAny(FamilyVar SocketFamily) *InetAddress { | ||
| 130 | - | core.LazyRegister(&xNewInetAddressAny, "GIO", "g_inet_address_new_any", false) | |||
| 131 | var cls *InetAddress | 129 | var cls *InetAddress | ||
| 132 | 130 | ||||
| 133 | cret := xNewInetAddressAny(FamilyVar) | 131 | cret := xNewInetAddressAny(FamilyVar) | ||
| @@ -146,7 +144,6 @@ var xNewInetAddressFromBytes func([]byte, SocketFamily) uintptr | |||||
| 146 | // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for | 144 | // @bytes should be 4 bytes for %G_SOCKET_FAMILY_IPV4 and 16 bytes for | ||
| 147 | // %G_SOCKET_FAMILY_IPV6. | 145 | // %G_SOCKET_FAMILY_IPV6. | ||
| 148 | func NewInetAddressFromBytes(BytesVar []byte, FamilyVar SocketFamily) *InetAddress { | 146 | func NewInetAddressFromBytes(BytesVar []byte, FamilyVar SocketFamily) *InetAddress { | ||
| 149 | - | core.LazyRegister(&xNewInetAddressFromBytes, "GIO", "g_inet_address_new_from_bytes", false) | |||
| 150 | var cls *InetAddress | 147 | var cls *InetAddress | ||
| 151 | 148 | ||||
| 152 | cret := xNewInetAddressFromBytes(BytesVar, FamilyVar) | 149 | cret := xNewInetAddressFromBytes(BytesVar, FamilyVar) | ||
| @@ -167,7 +164,6 @@ var xNewInetAddressFromBytesWithIpv6Info func([]byte, SocketFamily, uint32, uint | |||||
| 167 | // @bytes must be 4 bytes for [enum@Gio.SocketFamily.IPV4] and 16 bytes for | 164 | // @bytes must be 4 bytes for [enum@Gio.SocketFamily.IPV4] and 16 bytes for | ||
| 168 | // [enum@Gio.SocketFamily.IPV6]. | 165 | // [enum@Gio.SocketFamily.IPV6]. | ||
| 169 | func NewInetAddressFromBytesWithIpv6Info(BytesVar []byte, FamilyVar SocketFamily, FlowinfoVar uint32, ScopeIdVar uint32) *InetAddress { | 166 | func NewInetAddressFromBytesWithIpv6Info(BytesVar []byte, FamilyVar SocketFamily, FlowinfoVar uint32, ScopeIdVar uint32) *InetAddress { | ||
| 170 | - | core.LazyRegister(&xNewInetAddressFromBytesWithIpv6Info, "GIO", "g_inet_address_new_from_bytes_with_ipv6_info", false) | |||
| 171 | var cls *InetAddress | 167 | var cls *InetAddress | ||
| 172 | 168 | ||||
| 173 | cret := xNewInetAddressFromBytesWithIpv6Info(BytesVar, FamilyVar, FlowinfoVar, ScopeIdVar) | 169 | cret := xNewInetAddressFromBytesWithIpv6Info(BytesVar, FamilyVar, FlowinfoVar, ScopeIdVar) | ||
| @@ -188,7 +184,6 @@ var xNewInetAddressFromString func(string) uintptr | |||||
| 188 | // (separated from the address by a `%`). Note that currently this | 184 | // (separated from the address by a `%`). Note that currently this | ||
| 189 | // behavior is platform specific. This may change in a future release. | 185 | // behavior is platform specific. This may change in a future release. | ||
| 190 | func NewInetAddressFromString(StringVar string) *InetAddress { | 186 | func NewInetAddressFromString(StringVar string) *InetAddress { | ||
| 191 | - | core.LazyRegister(&xNewInetAddressFromString, "GIO", "g_inet_address_new_from_string", false) | |||
| 192 | var cls *InetAddress | 187 | var cls *InetAddress | ||
| 193 | 188 | ||||
| 194 | cret := xNewInetAddressFromString(StringVar) | 189 | cret := xNewInetAddressFromString(StringVar) | ||
| @@ -205,7 +200,6 @@ var xNewInetAddressLoopback func(SocketFamily) uintptr | |||||
| 205 | 200 | ||||
| 206 | // Creates a #GInetAddress for the loopback address for @family. | 201 | // Creates a #GInetAddress for the loopback address for @family. | ||
| 207 | func NewInetAddressLoopback(FamilyVar SocketFamily) *InetAddress { | 202 | func NewInetAddressLoopback(FamilyVar SocketFamily) *InetAddress { | ||
| 208 | - | core.LazyRegister(&xNewInetAddressLoopback, "GIO", "g_inet_address_new_loopback", false) | |||
| 209 | var cls *InetAddress | 203 | var cls *InetAddress | ||
| 210 | 204 | ||||
| 211 | cret := xNewInetAddressLoopback(FamilyVar) | 205 | cret := xNewInetAddressLoopback(FamilyVar) | ||
| @@ -222,8 +216,6 @@ var xInetAddressEqual func(uintptr, uintptr) bool | |||||
| 222 | 216 | ||||
| 223 | // Checks if two #GInetAddress instances are equal, e.g. the same address. | 217 | // Checks if two #GInetAddress instances are equal, e.g. the same address. | ||
| 224 | func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool { | 218 | func (x *InetAddress) Equal(OtherAddressVar *InetAddress) bool { | ||
| 225 | - | core.LazyRegister(&xInetAddressEqual, "GIO", "g_inet_address_equal", false) | |||
| 226 | - | ||||
| 227 | cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer()) | 219 | cret := xInetAddressEqual(x.GoPointer(), OtherAddressVar.GoPointer()) | ||
| 228 | return cret | 220 | return cret | ||
| 229 | } | 221 | } | ||
| @@ -232,8 +224,6 @@ var xInetAddressGetFamily func(uintptr) SocketFamily | |||||
| 232 | 224 | ||||
| 233 | // Gets @address's family | 225 | // Gets @address's family | ||
| 234 | func (x *InetAddress) GetFamily() SocketFamily { | 226 | func (x *InetAddress) GetFamily() SocketFamily { | ||
| 235 | - | core.LazyRegister(&xInetAddressGetFamily, "GIO", "g_inet_address_get_family", false) | |||
| 236 | - | ||||
| 237 | cret := xInetAddressGetFamily(x.GoPointer()) | 227 | cret := xInetAddressGetFamily(x.GoPointer()) | ||
| 238 | return cret | 228 | return cret | ||
| 239 | } | 229 | } | ||
| @@ -242,8 +232,6 @@ var xInetAddressGetFlowinfo func(uintptr) uint32 | |||||
| 242 | 232 | ||||
| 243 | // Gets the value of [property@Gio.InetAddress:flowinfo]. | 233 | // Gets the value of [property@Gio.InetAddress:flowinfo]. | ||
| 244 | func (x *InetAddress) GetFlowinfo() uint32 { | 234 | func (x *InetAddress) GetFlowinfo() uint32 { | ||
| 245 | - | core.LazyRegister(&xInetAddressGetFlowinfo, "GIO", "g_inet_address_get_flowinfo", false) | |||
| 246 | - | ||||
| 247 | cret := xInetAddressGetFlowinfo(x.GoPointer()) | 235 | cret := xInetAddressGetFlowinfo(x.GoPointer()) | ||
| 248 | return cret | 236 | return cret | ||
| 249 | } | 237 | } | ||
| @@ -252,8 +240,6 @@ var xInetAddressGetIsAny func(uintptr) bool | |||||
| 252 | 240 | ||||
| 253 | // Tests whether @address is the "any" address for its family. | 241 | // Tests whether @address is the "any" address for its family. | ||
| 254 | func (x *InetAddress) GetIsAny() bool { | 242 | func (x *InetAddress) GetIsAny() bool { | ||
| 255 | - | core.LazyRegister(&xInetAddressGetIsAny, "GIO", "g_inet_address_get_is_any", false) | |||
| 256 | - | ||||
| 257 | cret := xInetAddressGetIsAny(x.GoPointer()) | 243 | cret := xInetAddressGetIsAny(x.GoPointer()) | ||
| 258 | return cret | 244 | return cret | ||
| 259 | } | 245 | } | ||
| @@ -264,8 +250,6 @@ var xInetAddressGetIsLinkLocal func(uintptr) bool | |||||
| 264 | // identifies a host on a local network that is not connected to the | 250 | // identifies a host on a local network that is not connected to the | ||
| 265 | // Internet). | 251 | // Internet). | ||
| 266 | func (x *InetAddress) GetIsLinkLocal() bool { | 252 | func (x *InetAddress) GetIsLinkLocal() bool { | ||
| 267 | - | core.LazyRegister(&xInetAddressGetIsLinkLocal, "GIO", "g_inet_address_get_is_link_local", false) | |||
| 268 | - | ||||
| 269 | cret := xInetAddressGetIsLinkLocal(x.GoPointer()) | 253 | cret := xInetAddressGetIsLinkLocal(x.GoPointer()) | ||
| 270 | return cret | 254 | return cret | ||
| 271 | } | 255 | } | ||
| @@ -274,8 +258,6 @@ var xInetAddressGetIsLoopback func(uintptr) bool | |||||
| 274 | 258 | ||||
| 275 | // Tests whether @address is the loopback address for its family. | 259 | // Tests whether @address is the loopback address for its family. | ||
| 276 | func (x *InetAddress) GetIsLoopback() bool { | 260 | func (x *InetAddress) GetIsLoopback() bool { | ||
| 277 | - | core.LazyRegister(&xInetAddressGetIsLoopback, "GIO", "g_inet_address_get_is_loopback", false) | |||
| 278 | - | ||||
| 279 | cret := xInetAddressGetIsLoopback(x.GoPointer()) | 261 | cret := xInetAddressGetIsLoopback(x.GoPointer()) | ||
| 280 | return cret | 262 | return cret | ||
| 281 | } | 263 | } | ||
| @@ -284,8 +266,6 @@ var xInetAddressGetIsMcGlobal func(uintptr) bool | |||||
| 284 | 266 | ||||
| 285 | // Tests whether @address is a global multicast address. | 267 | // Tests whether @address is a global multicast address. | ||
| 286 | func (x *InetAddress) GetIsMcGlobal() bool { | 268 | func (x *InetAddress) GetIsMcGlobal() bool { | ||
| 287 | - | core.LazyRegister(&xInetAddressGetIsMcGlobal, "GIO", "g_inet_address_get_is_mc_global", false) | |||
| 288 | - | ||||
| 289 | cret := xInetAddressGetIsMcGlobal(x.GoPointer()) | 269 | cret := xInetAddressGetIsMcGlobal(x.GoPointer()) | ||
| 290 | return cret | 270 | return cret | ||
| 291 | } | 271 | } | ||
| @@ -294,8 +274,6 @@ var xInetAddressGetIsMcLinkLocal func(uintptr) bool | |||||
| 294 | 274 | ||||
| 295 | // Tests whether @address is a link-local multicast address. | 275 | // Tests whether @address is a link-local multicast address. | ||
| 296 | func (x *InetAddress) GetIsMcLinkLocal() bool { | 276 | func (x *InetAddress) GetIsMcLinkLocal() bool { | ||
| 297 | - | core.LazyRegister(&xInetAddressGetIsMcLinkLocal, "GIO", "g_inet_address_get_is_mc_link_local", false) | |||
| 298 | - | ||||
| 299 | cret := xInetAddressGetIsMcLinkLocal(x.GoPointer()) | 277 | cret := xInetAddressGetIsMcLinkLocal(x.GoPointer()) | ||
| 300 | return cret | 278 | return cret | ||
| 301 | } | 279 | } | ||
| @@ -304,8 +282,6 @@ var xInetAddressGetIsMcNodeLocal func(uintptr) bool | |||||
| 304 | 282 | ||||
| 305 | // Tests whether @address is a node-local multicast address. | 283 | // Tests whether @address is a node-local multicast address. | ||
| 306 | func (x *InetAddress) GetIsMcNodeLocal() bool { | 284 | func (x *InetAddress) GetIsMcNodeLocal() bool { | ||
| 307 | - | core.LazyRegister(&xInetAddressGetIsMcNodeLocal, "GIO", "g_inet_address_get_is_mc_node_local", false) | |||
| 308 | - | ||||
| 309 | cret := xInetAddressGetIsMcNodeLocal(x.GoPointer()) | 285 | cret := xInetAddressGetIsMcNodeLocal(x.GoPointer()) | ||
| 310 | return cret | 286 | return cret | ||
| 311 | } | 287 | } | ||
| @@ -314,8 +290,6 @@ var xInetAddressGetIsMcOrgLocal func(uintptr) bool | |||||
| 314 | 290 | ||||
| 315 | // Tests whether @address is an organization-local multicast address. | 291 | // Tests whether @address is an organization-local multicast address. | ||
| 316 | func (x *InetAddress) GetIsMcOrgLocal() bool { | 292 | func (x *InetAddress) GetIsMcOrgLocal() bool { | ||
| 317 | - | core.LazyRegister(&xInetAddressGetIsMcOrgLocal, "GIO", "g_inet_address_get_is_mc_org_local", false) | |||
| 318 | - | ||||
| 319 | cret := xInetAddressGetIsMcOrgLocal(x.GoPointer()) | 293 | cret := xInetAddressGetIsMcOrgLocal(x.GoPointer()) | ||
| 320 | return cret | 294 | return cret | ||
| 321 | } | 295 | } | ||
| @@ -324,8 +298,6 @@ var xInetAddressGetIsMcSiteLocal func(uintptr) bool | |||||
| 324 | 298 | ||||
| 325 | // Tests whether @address is a site-local multicast address. | 299 | // Tests whether @address is a site-local multicast address. | ||
| 326 | func (x *InetAddress) GetIsMcSiteLocal() bool { | 300 | func (x *InetAddress) GetIsMcSiteLocal() bool { | ||
| 327 | - | core.LazyRegister(&xInetAddressGetIsMcSiteLocal, "GIO", "g_inet_address_get_is_mc_site_local", false) | |||
| 328 | - | ||||
| 329 | cret := xInetAddressGetIsMcSiteLocal(x.GoPointer()) | 301 | cret := xInetAddressGetIsMcSiteLocal(x.GoPointer()) | ||
| 330 | return cret | 302 | return cret | ||
| 331 | } | 303 | } | ||
| @@ -334,8 +306,6 @@ var xInetAddressGetIsMulticast func(uintptr) bool | |||||
| 334 | 306 | ||||
| 335 | // Tests whether @address is a multicast address. | 307 | // Tests whether @address is a multicast address. | ||
| 336 | func (x *InetAddress) GetIsMulticast() bool { | 308 | func (x *InetAddress) GetIsMulticast() bool { | ||
| 337 | - | core.LazyRegister(&xInetAddressGetIsMulticast, "GIO", "g_inet_address_get_is_multicast", false) | |||
| 338 | - | ||||
| 339 | cret := xInetAddressGetIsMulticast(x.GoPointer()) | 309 | cret := xInetAddressGetIsMulticast(x.GoPointer()) | ||
| 340 | return cret | 310 | return cret | ||
| 341 | } | 311 | } | ||
| @@ -347,8 +317,6 @@ var xInetAddressGetIsSiteLocal func(uintptr) bool | |||||
| 347 | // not be reached directly from the Internet, but which may have | 317 | // not be reached directly from the Internet, but which may have | ||
| 348 | // outgoing Internet connectivity via a NAT or firewall). | 318 | // outgoing Internet connectivity via a NAT or firewall). | ||
| 349 | func (x *InetAddress) GetIsSiteLocal() bool { | 319 | func (x *InetAddress) GetIsSiteLocal() bool { | ||
| 350 | - | core.LazyRegister(&xInetAddressGetIsSiteLocal, "GIO", "g_inet_address_get_is_site_local", false) | |||
| 351 | - | ||||
| 352 | cret := xInetAddressGetIsSiteLocal(x.GoPointer()) | 320 | cret := xInetAddressGetIsSiteLocal(x.GoPointer()) | ||
| 353 | return cret | 321 | return cret | ||
| 354 | } | 322 | } | ||
| @@ -358,8 +326,6 @@ var xInetAddressGetNativeSize func(uintptr) uint | |||||
| 358 | // Gets the size of the native raw binary address for @address. This | 326 | // Gets the size of the native raw binary address for @address. This | ||
| 359 | // is the size of the data that you get from g_inet_address_to_bytes(). | 327 | // is the size of the data that you get from g_inet_address_to_bytes(). | ||
| 360 | func (x *InetAddress) GetNativeSize() uint { | 328 | func (x *InetAddress) GetNativeSize() uint { | ||
| 361 | - | core.LazyRegister(&xInetAddressGetNativeSize, "GIO", "g_inet_address_get_native_size", false) | |||
| 362 | - | ||||
| 363 | cret := xInetAddressGetNativeSize(x.GoPointer()) | 329 | cret := xInetAddressGetNativeSize(x.GoPointer()) | ||
| 364 | return cret | 330 | return cret | ||
| 365 | } | 331 | } | ||
| @@ -368,8 +334,6 @@ var xInetAddressGetScopeId func(uintptr) uint32 | |||||
| 368 | 334 | ||||
| 369 | // Gets the value of [property@Gio.InetAddress:scope-id]. | 335 | // Gets the value of [property@Gio.InetAddress:scope-id]. | ||
| 370 | func (x *InetAddress) GetScopeId() uint32 { | 336 | func (x *InetAddress) GetScopeId() uint32 { | ||
| 371 | - | core.LazyRegister(&xInetAddressGetScopeId, "GIO", "g_inet_address_get_scope_id", false) | |||
| 372 | - | ||||
| 373 | cret := xInetAddressGetScopeId(x.GoPointer()) | 337 | cret := xInetAddressGetScopeId(x.GoPointer()) | ||
| 374 | return cret | 338 | return cret | ||
| 375 | } | 339 | } | ||
| @@ -378,8 +342,6 @@ var xInetAddressToBytes func(uintptr) byte | |||||
| 378 | 342 | ||||
| 379 | // Gets the raw binary address data from @address. | 343 | // Gets the raw binary address data from @address. | ||
| 380 | func (x *InetAddress) ToBytes() byte { | 344 | func (x *InetAddress) ToBytes() byte { | ||
| 381 | - | core.LazyRegister(&xInetAddressToBytes, "GIO", "g_inet_address_to_bytes", false) | |||
| 382 | - | ||||
| 383 | cret := xInetAddressToBytes(x.GoPointer()) | 345 | cret := xInetAddressToBytes(x.GoPointer()) | ||
| 384 | return cret | 346 | return cret | ||
| 385 | } | 347 | } | ||
| @@ -388,8 +350,6 @@ var xInetAddressToString func(uintptr) string | |||||
| 388 | 350 | ||||
| 389 | // Converts @address to string form. | 351 | // Converts @address to string form. | ||
| 390 | func (x *InetAddress) ToString() string { | 352 | func (x *InetAddress) ToString() string { | ||
| 391 | - | core.LazyRegister(&xInetAddressToString, "GIO", "g_inet_address_to_string", false) | |||
| 392 | - | ||||
| 393 | cret := xInetAddressToString(x.GoPointer()) | 353 | cret := xInetAddressToString(x.GoPointer()) | ||
| 394 | return cret | 354 | return cret | ||
| 395 | } | 355 | } | ||
| @@ -553,4 +513,38 @@ func (x *InetAddress) GetPropertyScopeId() uint { | |||||
| 553 | func init() { | 513 | func init() { | ||
| 554 | core.SetPackageName("GIO", "gio-2.0") | 514 | core.SetPackageName("GIO", "gio-2.0") | ||
| 555 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | 515 | core.SetSharedLibraries("GIO", []string{"libgio-2.0.so.0", "libgio-2.0.0.dylib"}) | ||
| 516 | + | var libs []uintptr | |||
| 517 | + | for _, libPath := range core.GetPaths("GIO") { | |||
| 518 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 519 | + | if err != nil { | |||
| 520 | + | panic(err) | |||
| 521 | + | } | |||
| 522 | + | libs = append(libs, lib) | |||
| 523 | + | } | |||
| 524 | + | ||||
| 525 | + | core.PuregoSafeRegister(&xInetAddressGLibType, libs, "g_inet_address_get_type") | |||
| 526 | + | ||||
| 527 | + | core.PuregoSafeRegister(&xNewInetAddressAny, libs, "g_inet_address_new_any") | |||
| 528 | + | core.PuregoSafeRegister(&xNewInetAddressFromBytes, libs, "g_inet_address_new_from_bytes") | |||
| 529 | + | core.PuregoSafeRegister(&xNewInetAddressFromBytesWithIpv6Info, libs, "g_inet_address_new_from_bytes_with_ipv6_info") | |||
| 530 | + | core.PuregoSafeRegister(&xNewInetAddressFromString, libs, "g_inet_address_new_from_string") | |||
| 531 | + | core.PuregoSafeRegister(&xNewInetAddressLoopback, libs, "g_inet_address_new_loopback") | |||
| 532 | + | ||||
| 533 | + | core.PuregoSafeRegister(&xInetAddressEqual, libs, "g_inet_address_equal") | |||
| 534 | + | core.PuregoSafeRegister(&xInetAddressGetFamily, libs, "g_inet_address_get_family") | |||
| 535 | + | core.PuregoSafeRegister(&xInetAddressGetFlowinfo, libs, "g_inet_address_get_flowinfo") | |||
| 536 | + | core.PuregoSafeRegister(&xInetAddressGetIsAny, libs, "g_inet_address_get_is_any") | |||
| 537 | + | core.PuregoSafeRegister(&xInetAddressGetIsLinkLocal, libs, "g_inet_address_get_is_link_local") | |||
| 538 | + | core.PuregoSafeRegister(&xInetAddressGetIsLoopback, libs, "g_inet_address_get_is_loopback") | |||
| 539 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcGlobal, libs, "g_inet_address_get_is_mc_global") | |||
| 540 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcLinkLocal, libs, "g_inet_address_get_is_mc_link_local") | |||
| 541 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcNodeLocal, libs, "g_inet_address_get_is_mc_node_local") | |||
| 542 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcOrgLocal, libs, "g_inet_address_get_is_mc_org_local") | |||
| 543 | + | core.PuregoSafeRegister(&xInetAddressGetIsMcSiteLocal, libs, "g_inet_address_get_is_mc_site_local") | |||
| 544 | + | core.PuregoSafeRegister(&xInetAddressGetIsMulticast, libs, "g_inet_address_get_is_multicast") | |||
| 545 | + | core.PuregoSafeRegister(&xInetAddressGetIsSiteLocal, libs, "g_inet_address_get_is_site_local") | |||
| 546 | + | core.PuregoSafeRegister(&xInetAddressGetNativeSize, libs, "g_inet_address_get_native_size") | |||
| 547 | + | core.PuregoSafeRegister(&xInetAddressGetScopeId, libs, "g_inet_address_get_scope_id") | |||
| 548 | + | core.PuregoSafeRegister(&xInetAddressToBytes, libs, "g_inet_address_to_bytes") | |||
| 549 | + | core.PuregoSafeRegister(&xInetAddressToString, libs, "g_inet_address_to_string") | |||
| 556 | } | 550 | } | ||