Merge pull request #349 from bnema/fix/rollback-lazy-puregotk
fix(deps): emergency rollback puregotk lazy registration regression
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 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetaddressmask.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginetsocketaddress.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginitable.go +18 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/ginputstream.go +48 -52 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioenums.go +1 -90 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioerror.go +13 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giomodule.go +29 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gioscheduler.go +12 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giostream.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giotypes.go +60 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/giptosmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gipv6tclassmessage.go +16 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/glistmodel.go +21 -33 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gliststore.go +24 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gloadableicon.go +23 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryinputstream.go +17 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemorymonitor.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmemoryoutputstream.go +19 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenu.go +50 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmenumodel.go +33 -31 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmount.go +86 -215 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gmountoperation.go +32 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativesocketaddress.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnativevolumemonitor.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkaddress.go +21 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworking.go +14 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkmonitor.go +31 -49 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gnetworkservice.go +19 -12 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 +72 -86 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 +22 -30 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableoutputstream.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpollableutils.go +15 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpowerprofilemonitor.go +16 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gpropertyaction.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxy.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddress.go +21 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyaddressenumerator.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gproxyresolver.go +27 -35 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gremoteactiongroup.go +15 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresolver.go +67 -75 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gresource.go +23 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gseekable.go +27 -41 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettings.go +67 -99 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsbackend.go +24 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsettingsschema.go +43 -48 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleaction.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleactiongroup.go +18 -9 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleasyncresult.go +40 -46 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleiostream.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimplepermission.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsimpleproxyresolver.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocket.go +72 -87 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddress.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketaddressenumerator.go +20 -13 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketclient.go +44 -54 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnectable.go +17 -19 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketconnection.go +21 -14 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketcontrolmessage.go +17 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketlistener.go +25 -18 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsocketservice.go +16 -8 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsrvtarget.go +11 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocess.go +39 -40 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gsubprocesslauncher.go +31 -34 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtask.go +52 -70 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpconnection.go +14 -5 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtcpwrapperconnection.go +15 -3 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtestdbus.go +22 -16 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthemedicon.go +19 -10 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedresolver.go +0 -7 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gthreadedsocketservice.go +12 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsbackend.go +33 -69 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlscertificate.go +29 -25 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsclientconnection.go +29 -55 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsconnection.go +46 -56 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsdatabase.go +48 -51 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsfiledatabase.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsinteraction.go +31 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlspassword.go +22 -20 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gtlsserverconnection.go +13 -2 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixconnection.go +20 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixcredentialsmessage.go +17 -6 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixfdlist.go +19 -11 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/gio/gunixsocketaddress.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvfs.go +24 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolume.go +58 -143 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gvolumemonitor.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibcompressor.go +18 -9 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/gzlibdecompressor.go +15 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gio/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gallocator.go +28 -32 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/garray.go +59 -82 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gasyncqueue.go +39 -56 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gatomic.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbacktrace.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbase64.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbitlock.go +24 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gbookmarkfile.go +61 -69 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcache.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcharset.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gchecksum.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gcompletion.go +17 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gconvert.go +28 -25 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdataset.go +28 -36 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdate.go +65 -103 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdatetime.go +66 -107 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gdir.go +19 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/genviron.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gerror.go +29 -30 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gfileutils.go +38 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ggettext.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghash.go +53 -81 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghmac.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghook.go +26 -28 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/ghostutils.go +18 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/giochannel.go +67 -83 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gkeyfile.go +62 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glib-types.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/glist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmain.go +117 -181 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmappedfile.go +21 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmarkup.go +43 -51 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmem.go +31 -44 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gmessages.go +45 -70 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gnode.go +35 -50 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/goption.go +43 -57 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpathbuf.go +24 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpattern.go +23 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gpoll.go +13 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprimes.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gprintf.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqsort.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gquark.go +19 -13 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gqueue.go +52 -84 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grand.go +30 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grcbox.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefcount.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grefstring.go +20 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gregex.go +57 -72 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/grel.go +21 -20 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gscanner.go +30 -40 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gsequence.go +49 -74 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gshell.go +16 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslice.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gslist.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gspawn.go +23 -12 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstdio.go +27 -33 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrfuncs.go +71 -115 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstring.go +51 -77 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstringchunk.go +15 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gstrvbuilder.go +22 -19 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtestutils.go +80 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthread.go +97 -146 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gthreadpool.go +25 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimer.go +20 -18 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtimezone.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtrashstack.go +14 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtree.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gtypes.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gunicode.go +85 -132 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guri.go +50 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gutils.go +41 -62 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/guuid.go +15 -5 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant-parser.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvariant.go +143 -242 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gvarianttype.go +45 -63 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/gversion.go +14 -3 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/glib/main.go +28 -31 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/gmodule.go +18 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gmodule/main.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbinding.go +22 -14 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gbindinggroup.go +19 -11 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gboxed.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gclosure.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/genums.go +22 -24 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/glib-types.go +11 -2 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gmarshal.go +35 -45 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gobject.go +82 -116 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparam.go +43 -54 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gparamspecs.go +79 -46 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignal.go +50 -79 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsignalgroup.go +24 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gsourceclosure.go +12 -4 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtype.go +82 -136 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypemodule.go +18 -15 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gtypeplugin.go +20 -26 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvalue.go +85 -141 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluearray.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/gvaluetypes.go +13 -6 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/main.go +1 -10 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/gobject/more.go +1 -8 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-box.go +44 -61 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-euler.go +34 -43 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-frustum.go +23 -21 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-matrix.go +80 -135 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-plane.go +27 -29 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point.go +25 -23 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-point3d.go +31 -35 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quad.go +21 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-quaternion.go +37 -49 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-ray.go +31 -37 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-rect.go +46 -67 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-size.go +22 -17 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-sphere.go +26 -27 collapsed to keep the page light
M vendor/github.com/bnema/puregotk/v4/graphene/graphene-triangle.go +29 -33
| @@ -5,6 +5,7 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | + | "github.com/bnema/purego" | |
| 8 | 9 | "github.com/bnema/puregotk/pkg/core" | |
| 9 | 10 | "github.com/bnema/puregotk/v4/gobject/types" | |
| 10 | 11 | ) | |
| @@ -23,7 +24,6 @@ type Triangle struct { | |||
| 23 | 24 | var xTriangleGLibType func() types.GType | |
| 24 | 25 | ||
| 25 | 26 | func TriangleGLibType() types.GType { | |
| 26 | - | core.LazyRegister(&xTriangleGLibType, "GRAPHENE", "graphene_triangle_get_type", false) | |
| 27 | 27 | return xTriangleGLibType() | |
| 28 | 28 | } | |
| 29 | 29 | ||
| @@ -45,8 +45,6 @@ var xTriangleAlloc func() uintptr | |||
| 45 | 45 | // | |
| 46 | 46 | // The contents of the returned structure are undefined. | |
| 47 | 47 | func TriangleAlloc() *Triangle { | |
| 48 | - | core.LazyRegister(&xTriangleAlloc, "GRAPHENE", "graphene_triangle_alloc", false) | |
| 49 | - | ||
| 50 | 48 | cret := xTriangleAlloc() | |
| 51 | 49 | if cret == 0 { | |
| 52 | 50 | return nil | |
| @@ -58,8 +56,6 @@ var xTriangleContainsPoint func(uintptr, *Point3D) bool | |||
| 58 | 56 | ||
| 59 | 57 | // Checks whether the given triangle @t contains the point @p. | |
| 60 | 58 | func (x *Triangle) ContainsPoint(PVar *Point3D) bool { | |
| 61 | - | core.LazyRegister(&xTriangleContainsPoint, "GRAPHENE", "graphene_triangle_contains_point", false) | |
| 62 | - | ||
| 63 | 59 | cret := xTriangleContainsPoint(x.GoPointer(), PVar) | |
| 64 | 60 | return cret | |
| 65 | 61 | } | |
| @@ -68,8 +64,6 @@ var xTriangleEqual func(uintptr, *Triangle) bool | |||
| 68 | 64 | ||
| 69 | 65 | // Checks whether the two given #graphene_triangle_t are equal. | |
| 70 | 66 | func (x *Triangle) Equal(BVar *Triangle) bool { | |
| 71 | - | core.LazyRegister(&xTriangleEqual, "GRAPHENE", "graphene_triangle_equal", false) | |
| 72 | - | ||
| 73 | 67 | cret := xTriangleEqual(x.GoPointer(), BVar) | |
| 74 | 68 | return cret | |
| 75 | 69 | } | |
| @@ -78,8 +72,6 @@ var xTriangleFree func(uintptr) | |||
| 78 | 72 | ||
| 79 | 73 | // Frees the resources allocated by graphene_triangle_alloc(). | |
| 80 | 74 | func (x *Triangle) Free() { | |
| 81 | - | core.LazyRegister(&xTriangleFree, "GRAPHENE", "graphene_triangle_free", false) | |
| 82 | - | ||
| 83 | 75 | xTriangleFree(x.GoPointer()) | |
| 84 | 76 | } | |
| 85 | 77 | ||
| @@ -87,8 +79,6 @@ var xTriangleGetArea func(uintptr) float32 | |||
| 87 | 79 | ||
| 88 | 80 | // Computes the area of the given #graphene_triangle_t. | |
| 89 | 81 | func (x *Triangle) GetArea() float32 { | |
| 90 | - | core.LazyRegister(&xTriangleGetArea, "GRAPHENE", "graphene_triangle_get_area", false) | |
| 91 | - | ||
| 92 | 82 | cret := xTriangleGetArea(x.GoPointer()) | |
| 93 | 83 | return cret | |
| 94 | 84 | } | |
| @@ -112,8 +102,6 @@ var xTriangleGetBarycoords func(uintptr, *Point3D, *Vec2) bool | |||
| 112 | 102 | // - `res.x = u` | |
| 113 | 103 | // - `res.y = v` | |
| 114 | 104 | func (x *Triangle) GetBarycoords(PVar *Point3D, ResVar *Vec2) bool { | |
| 115 | - | core.LazyRegister(&xTriangleGetBarycoords, "GRAPHENE", "graphene_triangle_get_barycoords", false) | |
| 116 | - | ||
| 117 | 105 | cret := xTriangleGetBarycoords(x.GoPointer(), PVar, ResVar) | |
| 118 | 106 | return cret | |
| 119 | 107 | } | |
| @@ -122,8 +110,6 @@ var xTriangleGetBoundingBox func(uintptr, *Box) | |||
| 122 | 110 | ||
| 123 | 111 | // Computes the bounding box of the given #graphene_triangle_t. | |
| 124 | 112 | func (x *Triangle) GetBoundingBox(ResVar *Box) { | |
| 125 | - | core.LazyRegister(&xTriangleGetBoundingBox, "GRAPHENE", "graphene_triangle_get_bounding_box", false) | |
| 126 | - | ||
| 127 | 113 | xTriangleGetBoundingBox(x.GoPointer(), ResVar) | |
| 128 | 114 | } | |
| 129 | 115 | ||
| @@ -134,8 +120,6 @@ var xTriangleGetMidpoint func(uintptr, *Point3D) | |||
| 134 | 120 | // The midpoint G is the [centroid](https://en.wikipedia.org/wiki/Centroid#Triangle_centroid) | |
| 135 | 121 | // of the triangle, i.e. the intersection of its medians. | |
| 136 | 122 | func (x *Triangle) GetMidpoint(ResVar *Point3D) { | |
| 137 | - | core.LazyRegister(&xTriangleGetMidpoint, "GRAPHENE", "graphene_triangle_get_midpoint", false) | |
| 138 | - | ||
| 139 | 123 | xTriangleGetMidpoint(x.GoPointer(), ResVar) | |
| 140 | 124 | } | |
| 141 | 125 | ||
| @@ -143,8 +127,6 @@ var xTriangleGetNormal func(uintptr, *Vec3) | |||
| 143 | 127 | ||
| 144 | 128 | // Computes the normal vector of the given #graphene_triangle_t. | |
| 145 | 129 | func (x *Triangle) GetNormal(ResVar *Vec3) { | |
| 146 | - | core.LazyRegister(&xTriangleGetNormal, "GRAPHENE", "graphene_triangle_get_normal", false) | |
| 147 | - | ||
| 148 | 130 | xTriangleGetNormal(x.GoPointer(), ResVar) | |
| 149 | 131 | } | |
| 150 | 132 | ||
| @@ -152,8 +134,6 @@ var xTriangleGetPlane func(uintptr, *Plane) | |||
| 152 | 134 | ||
| 153 | 135 | // Computes the plane based on the vertices of the given #graphene_triangle_t. | |
| 154 | 136 | func (x *Triangle) GetPlane(ResVar *Plane) { | |
| 155 | - | core.LazyRegister(&xTriangleGetPlane, "GRAPHENE", "graphene_triangle_get_plane", false) | |
| 156 | - | ||
| 157 | 137 | xTriangleGetPlane(x.GoPointer(), ResVar) | |
| 158 | 138 | } | |
| 159 | 139 | ||
| @@ -162,8 +142,6 @@ var xTriangleGetPoints func(uintptr, *Point3D, *Point3D, *Point3D) | |||
| 162 | 142 | // Retrieves the three vertices of the given #graphene_triangle_t and returns | |
| 163 | 143 | // their coordinates as #graphene_point3d_t. | |
| 164 | 144 | func (x *Triangle) GetPoints(AVar *Point3D, BVar *Point3D, CVar *Point3D) { | |
| 165 | - | core.LazyRegister(&xTriangleGetPoints, "GRAPHENE", "graphene_triangle_get_points", false) | |
| 166 | - | ||
| 167 | 145 | xTriangleGetPoints(x.GoPointer(), AVar, BVar, CVar) | |
| 168 | 146 | } | |
| 169 | 147 | ||
| @@ -182,8 +160,6 @@ var xTriangleGetUv func(uintptr, *Point3D, *Vec2, *Vec2, *Vec2, *Vec2) bool | |||
| 182 | 160 | // | |
| 183 | 161 | // See also: graphene_triangle_get_barycoords() | |
| 184 | 162 | func (x *Triangle) GetUv(PVar *Point3D, UvAVar *Vec2, UvBVar *Vec2, UvCVar *Vec2, ResVar *Vec2) bool { | |
| 185 | - | core.LazyRegister(&xTriangleGetUv, "GRAPHENE", "graphene_triangle_get_uv", false) | |
| 186 | - | ||
| 187 | 163 | cret := xTriangleGetUv(x.GoPointer(), PVar, UvAVar, UvBVar, UvCVar, ResVar) | |
| 188 | 164 | return cret | |
| 189 | 165 | } | |
| @@ -192,8 +168,6 @@ var xTriangleGetVertices func(uintptr, *Vec3, *Vec3, *Vec3) | |||
| 192 | 168 | ||
| 193 | 169 | // Retrieves the three vertices of the given #graphene_triangle_t. | |
| 194 | 170 | func (x *Triangle) GetVertices(AVar *Vec3, BVar *Vec3, CVar *Vec3) { | |
| 195 | - | core.LazyRegister(&xTriangleGetVertices, "GRAPHENE", "graphene_triangle_get_vertices", false) | |
| 196 | - | ||
| 197 | 171 | xTriangleGetVertices(x.GoPointer(), AVar, BVar, CVar) | |
| 198 | 172 | } | |
| 199 | 173 | ||
| @@ -203,8 +177,6 @@ var xTriangleInitFromFloat func(uintptr, [3]float32, [3]float32, [3]float32) uin | |||
| 203 | 177 | // of floating point values, each representing the coordinates of | |
| 204 | 178 | // a point in 3D space. | |
| 205 | 179 | func (x *Triangle) InitFromFloat(AVar [3]float32, BVar [3]float32, CVar [3]float32) *Triangle { | |
| 206 | - | core.LazyRegister(&xTriangleInitFromFloat, "GRAPHENE", "graphene_triangle_init_from_float", false) | |
| 207 | - | ||
| 208 | 180 | cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar) | |
| 209 | 181 | if cret == 0 { | |
| 210 | 182 | return nil | |
| @@ -216,8 +188,6 @@ var xTriangleInitFromPoint3d func(uintptr, *Point3D, *Point3D, *Point3D) uintptr | |||
| 216 | 188 | ||
| 217 | 189 | // Initializes a #graphene_triangle_t using the three given 3D points. | |
| 218 | 190 | func (x *Triangle) InitFromPoint3d(AVar *Point3D, BVar *Point3D, CVar *Point3D) *Triangle { | |
| 219 | - | core.LazyRegister(&xTriangleInitFromPoint3d, "GRAPHENE", "graphene_triangle_init_from_point3d", false) | |
| 220 | - | ||
| 221 | 191 | cret := xTriangleInitFromPoint3d(x.GoPointer(), AVar, BVar, CVar) | |
| 222 | 192 | if cret == 0 { | |
| 223 | 193 | return nil | |
| @@ -229,8 +199,6 @@ var xTriangleInitFromVec3 func(uintptr, *Vec3, *Vec3, *Vec3) uintptr | |||
| 229 | 199 | ||
| 230 | 200 | // Initializes a #graphene_triangle_t using the three given vectors. | |
| 231 | 201 | func (x *Triangle) InitFromVec3(AVar *Vec3, BVar *Vec3, CVar *Vec3) *Triangle { | |
| 232 | - | core.LazyRegister(&xTriangleInitFromVec3, "GRAPHENE", "graphene_triangle_init_from_vec3", false) | |
| 233 | - | ||
| 234 | 202 | cret := xTriangleInitFromVec3(x.GoPointer(), AVar, BVar, CVar) | |
| 235 | 203 | if cret == 0 { | |
| 236 | 204 | return nil | |
| @@ -241,4 +209,32 @@ func (x *Triangle) InitFromVec3(AVar *Vec3, BVar *Vec3, CVar *Vec3) *Triangle { | |||
| 241 | 209 | func init() { | |
| 242 | 210 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | |
| 243 | 211 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | |
| 212 | + | var libs []uintptr | |
| 213 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |
| 214 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 215 | + | if err != nil { | |
| 216 | + | panic(err) | |
| 217 | + | } | |
| 218 | + | libs = append(libs, lib) | |
| 219 | + | } | |
| 220 | + | ||
| 221 | + | core.PuregoSafeRegister(&xTriangleGLibType, libs, "graphene_triangle_get_type") | |
| 222 | + | ||
| 223 | + | core.PuregoSafeRegister(&xTriangleAlloc, libs, "graphene_triangle_alloc") | |
| 224 | + | ||
| 225 | + | core.PuregoSafeRegister(&xTriangleContainsPoint, libs, "graphene_triangle_contains_point") | |
| 226 | + | core.PuregoSafeRegister(&xTriangleEqual, libs, "graphene_triangle_equal") | |
| 227 | + | core.PuregoSafeRegister(&xTriangleFree, libs, "graphene_triangle_free") | |
| 228 | + | core.PuregoSafeRegister(&xTriangleGetArea, libs, "graphene_triangle_get_area") | |
| 229 | + | core.PuregoSafeRegister(&xTriangleGetBarycoords, libs, "graphene_triangle_get_barycoords") | |
| 230 | + | core.PuregoSafeRegister(&xTriangleGetBoundingBox, libs, "graphene_triangle_get_bounding_box") | |
| 231 | + | core.PuregoSafeRegister(&xTriangleGetMidpoint, libs, "graphene_triangle_get_midpoint") | |
| 232 | + | core.PuregoSafeRegister(&xTriangleGetNormal, libs, "graphene_triangle_get_normal") | |
| 233 | + | core.PuregoSafeRegister(&xTriangleGetPlane, libs, "graphene_triangle_get_plane") | |
| 234 | + | core.PuregoSafeRegister(&xTriangleGetPoints, libs, "graphene_triangle_get_points") | |
| 235 | + | core.PuregoSafeRegister(&xTriangleGetUv, libs, "graphene_triangle_get_uv") | |
| 236 | + | core.PuregoSafeRegister(&xTriangleGetVertices, libs, "graphene_triangle_get_vertices") | |
| 237 | + | core.PuregoSafeRegister(&xTriangleInitFromFloat, libs, "graphene_triangle_init_from_float") | |
| 238 | + | core.PuregoSafeRegister(&xTriangleInitFromPoint3d, libs, "graphene_triangle_init_from_point3d") | |
| 239 | + | core.PuregoSafeRegister(&xTriangleInitFromVec3, libs, "graphene_triangle_init_from_vec3") | |
| 244 | 240 | } | |
| @@ -5,6 +5,7 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | + | "github.com/bnema/purego" | |||
| 8 | "github.com/bnema/puregotk/pkg/core" | 9 | "github.com/bnema/puregotk/pkg/core" | ||
| 9 | "github.com/bnema/puregotk/v4/gobject/types" | 10 | "github.com/bnema/puregotk/v4/gobject/types" | ||
| 10 | ) | 11 | ) | ||
| @@ -23,7 +24,6 @@ type Triangle struct { | |||||
| 23 | var xTriangleGLibType func() types.GType | 24 | var xTriangleGLibType func() types.GType | ||
| 24 | 25 | ||||
| 25 | func TriangleGLibType() types.GType { | 26 | func TriangleGLibType() types.GType { | ||
| 26 | - | core.LazyRegister(&xTriangleGLibType, "GRAPHENE", "graphene_triangle_get_type", false) | |||
| 27 | return xTriangleGLibType() | 27 | return xTriangleGLibType() | ||
| 28 | } | 28 | } | ||
| 29 | 29 | ||||
| @@ -45,8 +45,6 @@ var xTriangleAlloc func() uintptr | |||||
| 45 | // | 45 | // | ||
| 46 | // The contents of the returned structure are undefined. | 46 | // The contents of the returned structure are undefined. | ||
| 47 | func TriangleAlloc() *Triangle { | 47 | func TriangleAlloc() *Triangle { | ||
| 48 | - | core.LazyRegister(&xTriangleAlloc, "GRAPHENE", "graphene_triangle_alloc", false) | |||
| 49 | - | ||||
| 50 | cret := xTriangleAlloc() | 48 | cret := xTriangleAlloc() | ||
| 51 | if cret == 0 { | 49 | if cret == 0 { | ||
| 52 | return nil | 50 | return nil | ||
| @@ -58,8 +56,6 @@ var xTriangleContainsPoint func(uintptr, *Point3D) bool | |||||
| 58 | 56 | ||||
| 59 | // Checks whether the given triangle @t contains the point @p. | 57 | // Checks whether the given triangle @t contains the point @p. | ||
| 60 | func (x *Triangle) ContainsPoint(PVar *Point3D) bool { | 58 | func (x *Triangle) ContainsPoint(PVar *Point3D) bool { | ||
| 61 | - | core.LazyRegister(&xTriangleContainsPoint, "GRAPHENE", "graphene_triangle_contains_point", false) | |||
| 62 | - | ||||
| 63 | cret := xTriangleContainsPoint(x.GoPointer(), PVar) | 59 | cret := xTriangleContainsPoint(x.GoPointer(), PVar) | ||
| 64 | return cret | 60 | return cret | ||
| 65 | } | 61 | } | ||
| @@ -68,8 +64,6 @@ var xTriangleEqual func(uintptr, *Triangle) bool | |||||
| 68 | 64 | ||||
| 69 | // Checks whether the two given #graphene_triangle_t are equal. | 65 | // Checks whether the two given #graphene_triangle_t are equal. | ||
| 70 | func (x *Triangle) Equal(BVar *Triangle) bool { | 66 | func (x *Triangle) Equal(BVar *Triangle) bool { | ||
| 71 | - | core.LazyRegister(&xTriangleEqual, "GRAPHENE", "graphene_triangle_equal", false) | |||
| 72 | - | ||||
| 73 | cret := xTriangleEqual(x.GoPointer(), BVar) | 67 | cret := xTriangleEqual(x.GoPointer(), BVar) | ||
| 74 | return cret | 68 | return cret | ||
| 75 | } | 69 | } | ||
| @@ -78,8 +72,6 @@ var xTriangleFree func(uintptr) | |||||
| 78 | 72 | ||||
| 79 | // Frees the resources allocated by graphene_triangle_alloc(). | 73 | // Frees the resources allocated by graphene_triangle_alloc(). | ||
| 80 | func (x *Triangle) Free() { | 74 | func (x *Triangle) Free() { | ||
| 81 | - | core.LazyRegister(&xTriangleFree, "GRAPHENE", "graphene_triangle_free", false) | |||
| 82 | - | ||||
| 83 | xTriangleFree(x.GoPointer()) | 75 | xTriangleFree(x.GoPointer()) | ||
| 84 | } | 76 | } | ||
| 85 | 77 | ||||
| @@ -87,8 +79,6 @@ var xTriangleGetArea func(uintptr) float32 | |||||
| 87 | 79 | ||||
| 88 | // Computes the area of the given #graphene_triangle_t. | 80 | // Computes the area of the given #graphene_triangle_t. | ||
| 89 | func (x *Triangle) GetArea() float32 { | 81 | func (x *Triangle) GetArea() float32 { | ||
| 90 | - | core.LazyRegister(&xTriangleGetArea, "GRAPHENE", "graphene_triangle_get_area", false) | |||
| 91 | - | ||||
| 92 | cret := xTriangleGetArea(x.GoPointer()) | 82 | cret := xTriangleGetArea(x.GoPointer()) | ||
| 93 | return cret | 83 | return cret | ||
| 94 | } | 84 | } | ||
| @@ -112,8 +102,6 @@ var xTriangleGetBarycoords func(uintptr, *Point3D, *Vec2) bool | |||||
| 112 | // - `res.x = u` | 102 | // - `res.x = u` | ||
| 113 | // - `res.y = v` | 103 | // - `res.y = v` | ||
| 114 | func (x *Triangle) GetBarycoords(PVar *Point3D, ResVar *Vec2) bool { | 104 | func (x *Triangle) GetBarycoords(PVar *Point3D, ResVar *Vec2) bool { | ||
| 115 | - | core.LazyRegister(&xTriangleGetBarycoords, "GRAPHENE", "graphene_triangle_get_barycoords", false) | |||
| 116 | - | ||||
| 117 | cret := xTriangleGetBarycoords(x.GoPointer(), PVar, ResVar) | 105 | cret := xTriangleGetBarycoords(x.GoPointer(), PVar, ResVar) | ||
| 118 | return cret | 106 | return cret | ||
| 119 | } | 107 | } | ||
| @@ -122,8 +110,6 @@ var xTriangleGetBoundingBox func(uintptr, *Box) | |||||
| 122 | 110 | ||||
| 123 | // Computes the bounding box of the given #graphene_triangle_t. | 111 | // Computes the bounding box of the given #graphene_triangle_t. | ||
| 124 | func (x *Triangle) GetBoundingBox(ResVar *Box) { | 112 | func (x *Triangle) GetBoundingBox(ResVar *Box) { | ||
| 125 | - | core.LazyRegister(&xTriangleGetBoundingBox, "GRAPHENE", "graphene_triangle_get_bounding_box", false) | |||
| 126 | - | ||||
| 127 | xTriangleGetBoundingBox(x.GoPointer(), ResVar) | 113 | xTriangleGetBoundingBox(x.GoPointer(), ResVar) | ||
| 128 | } | 114 | } | ||
| 129 | 115 | ||||
| @@ -134,8 +120,6 @@ var xTriangleGetMidpoint func(uintptr, *Point3D) | |||||
| 134 | // The midpoint G is the [centroid](https://en.wikipedia.org/wiki/Centroid#Triangle_centroid) | 120 | // The midpoint G is the [centroid](https://en.wikipedia.org/wiki/Centroid#Triangle_centroid) | ||
| 135 | // of the triangle, i.e. the intersection of its medians. | 121 | // of the triangle, i.e. the intersection of its medians. | ||
| 136 | func (x *Triangle) GetMidpoint(ResVar *Point3D) { | 122 | func (x *Triangle) GetMidpoint(ResVar *Point3D) { | ||
| 137 | - | core.LazyRegister(&xTriangleGetMidpoint, "GRAPHENE", "graphene_triangle_get_midpoint", false) | |||
| 138 | - | ||||
| 139 | xTriangleGetMidpoint(x.GoPointer(), ResVar) | 123 | xTriangleGetMidpoint(x.GoPointer(), ResVar) | ||
| 140 | } | 124 | } | ||
| 141 | 125 | ||||
| @@ -143,8 +127,6 @@ var xTriangleGetNormal func(uintptr, *Vec3) | |||||
| 143 | 127 | ||||
| 144 | // Computes the normal vector of the given #graphene_triangle_t. | 128 | // Computes the normal vector of the given #graphene_triangle_t. | ||
| 145 | func (x *Triangle) GetNormal(ResVar *Vec3) { | 129 | func (x *Triangle) GetNormal(ResVar *Vec3) { | ||
| 146 | - | core.LazyRegister(&xTriangleGetNormal, "GRAPHENE", "graphene_triangle_get_normal", false) | |||
| 147 | - | ||||
| 148 | xTriangleGetNormal(x.GoPointer(), ResVar) | 130 | xTriangleGetNormal(x.GoPointer(), ResVar) | ||
| 149 | } | 131 | } | ||
| 150 | 132 | ||||
| @@ -152,8 +134,6 @@ var xTriangleGetPlane func(uintptr, *Plane) | |||||
| 152 | 134 | ||||
| 153 | // Computes the plane based on the vertices of the given #graphene_triangle_t. | 135 | // Computes the plane based on the vertices of the given #graphene_triangle_t. | ||
| 154 | func (x *Triangle) GetPlane(ResVar *Plane) { | 136 | func (x *Triangle) GetPlane(ResVar *Plane) { | ||
| 155 | - | core.LazyRegister(&xTriangleGetPlane, "GRAPHENE", "graphene_triangle_get_plane", false) | |||
| 156 | - | ||||
| 157 | xTriangleGetPlane(x.GoPointer(), ResVar) | 137 | xTriangleGetPlane(x.GoPointer(), ResVar) | ||
| 158 | } | 138 | } | ||
| 159 | 139 | ||||
| @@ -162,8 +142,6 @@ var xTriangleGetPoints func(uintptr, *Point3D, *Point3D, *Point3D) | |||||
| 162 | // Retrieves the three vertices of the given #graphene_triangle_t and returns | 142 | // Retrieves the three vertices of the given #graphene_triangle_t and returns | ||
| 163 | // their coordinates as #graphene_point3d_t. | 143 | // their coordinates as #graphene_point3d_t. | ||
| 164 | func (x *Triangle) GetPoints(AVar *Point3D, BVar *Point3D, CVar *Point3D) { | 144 | func (x *Triangle) GetPoints(AVar *Point3D, BVar *Point3D, CVar *Point3D) { | ||
| 165 | - | core.LazyRegister(&xTriangleGetPoints, "GRAPHENE", "graphene_triangle_get_points", false) | |||
| 166 | - | ||||
| 167 | xTriangleGetPoints(x.GoPointer(), AVar, BVar, CVar) | 145 | xTriangleGetPoints(x.GoPointer(), AVar, BVar, CVar) | ||
| 168 | } | 146 | } | ||
| 169 | 147 | ||||
| @@ -182,8 +160,6 @@ var xTriangleGetUv func(uintptr, *Point3D, *Vec2, *Vec2, *Vec2, *Vec2) bool | |||||
| 182 | // | 160 | // | ||
| 183 | // See also: graphene_triangle_get_barycoords() | 161 | // See also: graphene_triangle_get_barycoords() | ||
| 184 | func (x *Triangle) GetUv(PVar *Point3D, UvAVar *Vec2, UvBVar *Vec2, UvCVar *Vec2, ResVar *Vec2) bool { | 162 | func (x *Triangle) GetUv(PVar *Point3D, UvAVar *Vec2, UvBVar *Vec2, UvCVar *Vec2, ResVar *Vec2) bool { | ||
| 185 | - | core.LazyRegister(&xTriangleGetUv, "GRAPHENE", "graphene_triangle_get_uv", false) | |||
| 186 | - | ||||
| 187 | cret := xTriangleGetUv(x.GoPointer(), PVar, UvAVar, UvBVar, UvCVar, ResVar) | 163 | cret := xTriangleGetUv(x.GoPointer(), PVar, UvAVar, UvBVar, UvCVar, ResVar) | ||
| 188 | return cret | 164 | return cret | ||
| 189 | } | 165 | } | ||
| @@ -192,8 +168,6 @@ var xTriangleGetVertices func(uintptr, *Vec3, *Vec3, *Vec3) | |||||
| 192 | 168 | ||||
| 193 | // Retrieves the three vertices of the given #graphene_triangle_t. | 169 | // Retrieves the three vertices of the given #graphene_triangle_t. | ||
| 194 | func (x *Triangle) GetVertices(AVar *Vec3, BVar *Vec3, CVar *Vec3) { | 170 | func (x *Triangle) GetVertices(AVar *Vec3, BVar *Vec3, CVar *Vec3) { | ||
| 195 | - | core.LazyRegister(&xTriangleGetVertices, "GRAPHENE", "graphene_triangle_get_vertices", false) | |||
| 196 | - | ||||
| 197 | xTriangleGetVertices(x.GoPointer(), AVar, BVar, CVar) | 171 | xTriangleGetVertices(x.GoPointer(), AVar, BVar, CVar) | ||
| 198 | } | 172 | } | ||
| 199 | 173 | ||||
| @@ -203,8 +177,6 @@ var xTriangleInitFromFloat func(uintptr, [3]float32, [3]float32, [3]float32) uin | |||||
| 203 | // of floating point values, each representing the coordinates of | 177 | // of floating point values, each representing the coordinates of | ||
| 204 | // a point in 3D space. | 178 | // a point in 3D space. | ||
| 205 | func (x *Triangle) InitFromFloat(AVar [3]float32, BVar [3]float32, CVar [3]float32) *Triangle { | 179 | func (x *Triangle) InitFromFloat(AVar [3]float32, BVar [3]float32, CVar [3]float32) *Triangle { | ||
| 206 | - | core.LazyRegister(&xTriangleInitFromFloat, "GRAPHENE", "graphene_triangle_init_from_float", false) | |||
| 207 | - | ||||
| 208 | cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar) | 180 | cret := xTriangleInitFromFloat(x.GoPointer(), AVar, BVar, CVar) | ||
| 209 | if cret == 0 { | 181 | if cret == 0 { | ||
| 210 | return nil | 182 | return nil | ||
| @@ -216,8 +188,6 @@ var xTriangleInitFromPoint3d func(uintptr, *Point3D, *Point3D, *Point3D) uintptr | |||||
| 216 | 188 | ||||
| 217 | // Initializes a #graphene_triangle_t using the three given 3D points. | 189 | // Initializes a #graphene_triangle_t using the three given 3D points. | ||
| 218 | func (x *Triangle) InitFromPoint3d(AVar *Point3D, BVar *Point3D, CVar *Point3D) *Triangle { | 190 | func (x *Triangle) InitFromPoint3d(AVar *Point3D, BVar *Point3D, CVar *Point3D) *Triangle { | ||
| 219 | - | core.LazyRegister(&xTriangleInitFromPoint3d, "GRAPHENE", "graphene_triangle_init_from_point3d", false) | |||
| 220 | - | ||||
| 221 | cret := xTriangleInitFromPoint3d(x.GoPointer(), AVar, BVar, CVar) | 191 | cret := xTriangleInitFromPoint3d(x.GoPointer(), AVar, BVar, CVar) | ||
| 222 | if cret == 0 { | 192 | if cret == 0 { | ||
| 223 | return nil | 193 | return nil | ||
| @@ -229,8 +199,6 @@ var xTriangleInitFromVec3 func(uintptr, *Vec3, *Vec3, *Vec3) uintptr | |||||
| 229 | 199 | ||||
| 230 | // Initializes a #graphene_triangle_t using the three given vectors. | 200 | // Initializes a #graphene_triangle_t using the three given vectors. | ||
| 231 | func (x *Triangle) InitFromVec3(AVar *Vec3, BVar *Vec3, CVar *Vec3) *Triangle { | 201 | func (x *Triangle) InitFromVec3(AVar *Vec3, BVar *Vec3, CVar *Vec3) *Triangle { | ||
| 232 | - | core.LazyRegister(&xTriangleInitFromVec3, "GRAPHENE", "graphene_triangle_init_from_vec3", false) | |||
| 233 | - | ||||
| 234 | cret := xTriangleInitFromVec3(x.GoPointer(), AVar, BVar, CVar) | 202 | cret := xTriangleInitFromVec3(x.GoPointer(), AVar, BVar, CVar) | ||
| 235 | if cret == 0 { | 203 | if cret == 0 { | ||
| 236 | return nil | 204 | return nil | ||
| @@ -241,4 +209,32 @@ func (x *Triangle) InitFromVec3(AVar *Vec3, BVar *Vec3, CVar *Vec3) *Triangle { | |||||
| 241 | func init() { | 209 | func init() { | ||
| 242 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | 210 | core.SetPackageName("GRAPHENE", "graphene-gobject-1.0") | ||
| 243 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | 211 | core.SetSharedLibraries("GRAPHENE", []string{"libgraphene-1.0.so.0", "libgraphene-1.0.0.dylib"}) | ||
| 212 | + | var libs []uintptr | |||
| 213 | + | for _, libPath := range core.GetPaths("GRAPHENE") { | |||
| 214 | + | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 215 | + | if err != nil { | |||
| 216 | + | panic(err) | |||
| 217 | + | } | |||
| 218 | + | libs = append(libs, lib) | |||
| 219 | + | } | |||
| 220 | + | ||||
| 221 | + | core.PuregoSafeRegister(&xTriangleGLibType, libs, "graphene_triangle_get_type") | |||
| 222 | + | ||||
| 223 | + | core.PuregoSafeRegister(&xTriangleAlloc, libs, "graphene_triangle_alloc") | |||
| 224 | + | ||||
| 225 | + | core.PuregoSafeRegister(&xTriangleContainsPoint, libs, "graphene_triangle_contains_point") | |||
| 226 | + | core.PuregoSafeRegister(&xTriangleEqual, libs, "graphene_triangle_equal") | |||
| 227 | + | core.PuregoSafeRegister(&xTriangleFree, libs, "graphene_triangle_free") | |||
| 228 | + | core.PuregoSafeRegister(&xTriangleGetArea, libs, "graphene_triangle_get_area") | |||
| 229 | + | core.PuregoSafeRegister(&xTriangleGetBarycoords, libs, "graphene_triangle_get_barycoords") | |||
| 230 | + | core.PuregoSafeRegister(&xTriangleGetBoundingBox, libs, "graphene_triangle_get_bounding_box") | |||
| 231 | + | core.PuregoSafeRegister(&xTriangleGetMidpoint, libs, "graphene_triangle_get_midpoint") | |||
| 232 | + | core.PuregoSafeRegister(&xTriangleGetNormal, libs, "graphene_triangle_get_normal") | |||
| 233 | + | core.PuregoSafeRegister(&xTriangleGetPlane, libs, "graphene_triangle_get_plane") | |||
| 234 | + | core.PuregoSafeRegister(&xTriangleGetPoints, libs, "graphene_triangle_get_points") | |||
| 235 | + | core.PuregoSafeRegister(&xTriangleGetUv, libs, "graphene_triangle_get_uv") | |||
| 236 | + | core.PuregoSafeRegister(&xTriangleGetVertices, libs, "graphene_triangle_get_vertices") | |||
| 237 | + | core.PuregoSafeRegister(&xTriangleInitFromFloat, libs, "graphene_triangle_init_from_float") | |||
| 238 | + | core.PuregoSafeRegister(&xTriangleInitFromPoint3d, libs, "graphene_triangle_init_from_point3d") | |||
| 239 | + | core.PuregoSafeRegister(&xTriangleInitFromVec3, libs, "graphene_triangle_init_from_vec3") | |||
| 244 | } | 240 | } | ||