* Do not attempt to export fields that cannot be json-encoded
* update changelog w/ PR
* also skip UnsafePointers
* WIP to allow conversion from Go generic types to typescript
* support for non-primitive generics also :)
* fix generic types in parameters / return args
* fixes a namespacing bug when mapping to pointer to struct
* fixing invalid knownstructs
* found a place it mattered, pushing the star replacement to the generate side
* descend as much as necessary to find structs
caught these examples in http.Request.TLS:
PeerCertificates []*x509.Certificate
VerifiedChains [][]*x509.Certificate
* accidently reverted other fix
* switch syntax for typescript record outputs
prior syntax is primarily useful for naming keys
so not useful here, and this syntax avoids square
brackets in output which greatly simplifies
generation for Go generics
* better handle edge cases for nested arrays and slices
* lots o tests
* update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* Do not attempt to export fields that cannot be json-encoded
* update changelog w/ PR
* also skip UnsafePointers
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* fix: prevent unnecessary redraws during window minimize/restore
This fixes the window flickering issue when minimizing/restoring by:
1. Adding isMinimizing flag to track window state
2. Adding SetPadding filter to prevent redundant redraws
3. Properly handling minimize/restore window states
Fixes#3951
* docs: improve comments and changelog for frameless window flickering fix
- Add detailed comments about frameless window fix
- Update changelog to clarify this is a frameless window issue
- Add bilingual comments for better understanding
Fixes#3951
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Bumps the go_modules group with 1 update in the /v2/examples/customlayout directory: [golang.org/x/net](https://github.com/golang/net).
Bumps the go_modules group with 1 update in the /v2/internal/staticanalysis/test/standard directory: [golang.org/x/net](https://github.com/golang/net).
Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)
Updates `golang.org/x/net` from 0.17.0 to 0.23.0
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
- dependency-name: golang.org/x/net
dependency-type: indirect
dependency-group: go_modules
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix#3542
* Pipeline updates
* More Pipeline updates
* Test against 1.21
* Add build tag for 24.04
* Update test for 24.04
* Update test for 24.04
* Update test for 24.04
* Update build for 24.04
* Cache apt packages
* Fix test in PR pipeline
* Feature/1090 native drag and drop for file and folder (#3203)
* implement basic dnd for linux
* implemented windows
* progress changed linux handling and added coordinates to drop
* progress fix drop coordinates on windows
* progress remove log from windows
* progress move js
* update js after merge
* fix event listener registration
* fix segfault on non file drag
* remove logs, fix coordinates
* minor changes, simplify to drop only
* rename EnableWails -> EnableFileDrop
* add documentation (PR id missing)
* add PR id to changelog
* fix remove casting from malloc
* fix nil check for OnFileDrop's callback
* fix nil check for OnFileDrop skip event when nil
* add error message for nil callback in OnFileDrop
---------
Co-authored-by: lyimmi <lelvente.zambo@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* implement native drag and drop for macOS (#3250)
* implement native drag and drop for macOS
* update docs
* add to changelog
* update docs (macOS is supported)
* Fix windows DragAndDrop options
* Fix class unset on dragleave for full frame elements
* improve class unset (nested elements and borders case)
* Fix runtime drop target detection and CSS class assignment
* Edit changelog
* Fix drag-and-drop options in references
* Update v2/internal/frontend/desktop/darwin/WailsWebView.m
* Update v2/internal/frontend/desktop/darwin/WailsWebView.m
---------
Co-authored-by: Zámbó, Levente <levente.zambo@gmail.com>
Co-authored-by: lyimmi <lelvente.zambo@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
Co-authored-by: Andrey Pshenkin <andrey.pshenkin@gmail.com>
Co-authored-by: Pavel Binar <pavel@beamtransfer.io>
* Update check for Array-like variables
* Updated binding tests to reflect changes
* Update documentation to reflect changes
* Fixed PR number in changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
To reproduce:
- Use Windows
- Set your default browser to Firefox (Settings -> Apps -> Default Apps -> Web Browser)
- Rename your firefox.exe to something.else
The BrowserOpenURL before this commit silently fails.
The BrowserOpenURL after this commit tries to use a hardcoded fallback browser.
If successful, a warning message is logged.
If unsuccessful (default browser and fallback browsers fail), an error message is logged.
Co-authored-by: Sean <sean@malonetuning.com>
* update go minimum version
V2.7.1 Go 1.20 is now the minimum supported Go version.
* Update go build min version
* update go build min version
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>