* 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>
* Adding notes for latest linux version and libwebkit issue
* adding change log details
* updating document changes to website/docs folder
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
* mod : added OutputFilename field to assetData \n mod : modified resolveProjectData to export OutputFilename \n mod : modified CFBundleExecutable values to .OutputFilename in info.dev.plist, info.plist
* mod : update changelog.mdx
---------
Co-authored-by: nick-bae <nick.bae@ddkakaoenterprise.com>
* fix(pkg): Fixed an issue where wails new would throw an error if the author name contained non-JSON legal characters.
* refactor(pkg): Incorporating coderabbit's suggestions
* docs: write changelog.mdx
* Escape using json package. Add tests.
* Update test.
---------
Co-authored-by: Lea O'Anthony <lea.anthony@gmail.com>
* Update `windows.mdx`
Specify to the user that the WebView dependency must be extracted before being used.
* Update no versioned `windows.mdx`
* Update `changelog.mdx`
* 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>
* docs: add guide for routing in Svelte
* chore: add svelte routing guide example change to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>