Lea Anthony
9ce0ddb4f8
[chore] lint fixes
2023-11-12 12:30:49 +11:00
4257decf30
Bump postcss from 8.4.18 to 8.4.31 in /v2/internal/frontend/runtime ( #2962 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.18 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/8.4.18...8.4.31 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 20:43:09 +11:00
Mohamed Gharib and GitHub
8acbdc246c
[v2] Add smart default context-menu functionality (backported from v3) ( #2748 )
...
* [v2] Add smart default context-menu functionality (backported from v3)
* Update changelog
2023-06-28 06:35:02 +10:00
Mohamed Gharib and GitHub
5292ced731
[v2, runtime] Separate runtime js debug build ( #2745 )
2023-06-27 21:31:08 +10:00
stffabi and GitHub
47af68a8cb
[windows] Allow single-clicks on wails-draggable items ( #2482 )
...
* [runtime] Make it possible to restore old drag behaviour on windows with window.wails.flags.deferDragToMouseMove
* [runtime] Use deferDragToMouseMove as new default
This enhanced version should work well in all cases for Windows:
- No lag/delayed start of dragging
- Double-Clicks and Single-Click events still work in JavaScript on elements
* [docs] Add changelog
2023-03-20 08:45:21 +01:00
stffabi and GitHub
c11c32940e
[events] Fix race condition and missing unlock of mutex ( #2453 )
2023-03-07 10:40:33 +01:00
Rachel Chen and GitHub
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper ( #2434 )
2023-03-01 07:37:09 +01:00
0212698714
Patch 1 ( #2352 )
...
* update function notifyListeners in events.js
newEventListenerList will delete wrong listener if it call splice method in for-loop.
* Update events.js
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-25 12:58:59 +11:00
stffabi and GitHub
0a98efeea9
[runtime] Improve —wails-draggable by starting a drag immediately but only for the first click in a series ( #2302 )
...
This removes the sometime lagging experience when
starting to drag on Windows. But it's still possible to use
double-click events for adding e.g. a WindowToggleMaximise.
2023-01-16 20:56:13 +11:00
stffabi and GitHub
05679e70d0
[runtime] Frameless resize now sets the cursor on documentElement ( #2289 )
...
Otherwise if the body does not cover the full viewport the cursor won't
be shown outside of its rectangle.
2023-01-10 13:19:09 +01:00
Zámbó, Levente and GitHub
0a32c1124e
Add common text clipboard support ( #2228 )
2023-01-05 16:41:07 +11:00
Lea Anthony and GitHub
d3b4105f75
Chore/refactor assetserver ( #2250 )
...
* Remove context from API calls
* Remove logger dependency
* Remove fs dependency
* Remove runtime dependency
* Update Windows/Linux calls to NewAssetServerMainPage
* Add missing imports
* fix runtime import clash
2022-12-31 10:36:07 +11:00
Dieter Zhu and GitHub
011d8e3094
Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js ( #2128 )
2022-11-24 06:08:15 +11:00
Lea Anthony
0a7293d6b6
Update runtime
2022-11-09 21:22:32 +11:00
9f751d66e0
Add single listener deregistration ( #1969 )
...
* Add single listener deregistration
* Return function to stop listening, updates types
* Add missing returns, improve documentation
* Duplicate interface in go
* Define eventName
* Use lo instead for filtering
* Move logger to Interface. Add sample test.
* Add vite test for events
* Add js test workflow
* Add corresponding go method to remove all events
* Update documentation
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-23 09:03:37 +11:00
stffabi and GitHub
39addf2011
[dragging] Trim the css property value ( #1989 )
...
Webview2 on Windows returns a potential whitespace when defining the
style like this `style="--wails-draggable: drag"`. Whereas Darwin already
trims the value and returns "drag" and not " drag".
2022-10-18 10:28:59 +02:00
Zámbó, Levente and GitHub
b1e04772d9
bugfix/linux framless window drag ( #1916 )
2022-09-30 00:06:11 +10:00
052b9222c1
Add garble support ( #1793 )
...
Co-authored-by: AlbinoDrought <sean@albinodrought.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-13 10:05:37 +10:00
Lea Anthony and GitHub
583b3cd1c3
New Crowdin updates ( #1800 )
...
* New translations markdown-page.md (Acholi)
[ci skip]
* New translations stats.mdx (Acholi)
[ci skip]
* New translations code.json (Acholi)
[ci skip]
* New translations options.json (Acholi)
[ci skip]
* New translations current.json (Acholi)
[ci skip]
* New translations version-v2.0.0-beta.43.json (Acholi)
[ci skip]
* New translations helloworld.mdx (Acholi)
[ci skip]
* New translations footer.json (Acholi)
[ci skip]
* New translations navbar.json (Acholi)
[ci skip]
* New translations emailit.mdx (Acholi)
[ci skip]
* New translations modalfilemanager.mdx (Acholi)
[ci skip]
* New translations linux.mdx (Acholi)
[ci skip]
* New translations scriptbar.mdx (Acholi)
[ci skip]
* New translations minecraftupdater.mdx (Acholi)
[ci skip]
* New translations faq.mdx (Acholi)
[ci skip]
* New translations community-guide.mdx (Acholi)
[ci skip]
* New translations vscode.mdx (Acholi)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations templates.mdx (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations troubleshooting.mdx (Acholi)
[ci skip]
* New translations windows-installer.mdx (Acholi)
[ci skip]
* New translations windows.mdx (Acholi)
[ci skip]
* New translations howdoesitwork.mdx (Acholi)
[ci skip]
* New translations introduction.mdx (Acholi)
[ci skip]
* New translations cli.mdx (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations window.mdx (Acholi)
[ci skip]
* New translations menus.mdx (Acholi)
[ci skip]
* New translations options.mdx (Acholi)
[ci skip]
* New translations project-config.mdx (Acholi)
[ci skip]
* New translations _category_.json (Acholi)
[ci skip]
* New translations browser.mdx (Acholi)
[ci skip]
* New translations dialog.mdx (Acholi)
[ci skip]
* New translations events.mdx (Acholi)
[ci skip]
* New translations intro.mdx (Acholi)
[ci skip]
* New translations log.mdx (Acholi)
[ci skip]
* New translations menu.mdx (Acholi)
[ci skip]
* New translations dogsapi.mdx (Acholi)
[ci skip]
* New translations templates.mdx (Chinese Simplified)
[ci skip]
* New translations templates.mdx (Russian)
[ci skip]
* New translations templates.mdx (Japanese)
[ci skip]
* New translations templates.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations templates.mdx (Acholi)
[ci skip]
* New translations encrypteasy.mdx (Japanese)
[ci skip]
* New translations wally.mdx (Korean)
[ci skip]
* New translations wally.mdx (Japanese)
[ci skip]
* New translations wally.mdx (Russian)
[ci skip]
* New translations wally.mdx (Chinese Simplified)
[ci skip]
* New translations wombat.mdx (Japanese)
[ci skip]
* New translations wombat.mdx (Korean)
[ci skip]
* New translations wombat.mdx (Russian)
[ci skip]
* New translations wombat.mdx (Chinese Simplified)
[ci skip]
* New translations ytd.mdx (Japanese)
[ci skip]
* New translations ytd.mdx (Korean)
[ci skip]
* New translations ytd.mdx (Russian)
[ci skip]
* New translations ytd.mdx (Chinese Simplified)
[ci skip]
* New translations encrypteasy.mdx (Korean)
[ci skip]
* New translations october.mdx (Japanese)
[ci skip]
* New translations encrypteasy.mdx (Russian)
[ci skip]
* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]
* New translations filehound.mdx (Japanese)
[ci skip]
* New translations filehound.mdx (Korean)
[ci skip]
* New translations filehound.mdx (Russian)
[ci skip]
* New translations filehound.mdx (Chinese Simplified)
[ci skip]
* New translations mollywallet.mdx (Japanese)
[ci skip]
* New translations mollywallet.mdx (Korean)
[ci skip]
* New translations mollywallet.mdx (Russian)
[ci skip]
* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]
* New translations october.mdx (Korean)
[ci skip]
* New translations october.mdx (Russian)
[ci skip]
* New translations october.mdx (Chinese Simplified)
[ci skip]
* New translations optimus.mdx (Japanese)
[ci skip]
* New translations optimus.mdx (Korean)
[ci skip]
* New translations optimus.mdx (Russian)
[ci skip]
* New translations optimus.mdx (Chinese Simplified)
[ci skip]
* New translations portfall.mdx (Japanese)
[ci skip]
* New translations portfall.mdx (Korean)
[ci skip]
* New translations portfall.mdx (Russian)
[ci skip]
* New translations portfall.mdx (Chinese Simplified)
[ci skip]
* New translations scriptbar.mdx (Russian)
[ci skip]
* New translations emailit.mdx (Japanese)
[ci skip]
* New translations emailit.mdx (Korean)
[ci skip]
* New translations emailit.mdx (Russian)
[ci skip]
* New translations emailit.mdx (Chinese Simplified)
[ci skip]
* New translations modalfilemanager.mdx (Japanese)
[ci skip]
* New translations modalfilemanager.mdx (Korean)
[ci skip]
* New translations modalfilemanager.mdx (Russian)
[ci skip]
* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]
* New translations scriptbar.mdx (Japanese)
[ci skip]
* New translations scriptbar.mdx (Korean)
[ci skip]
* New translations scriptbar.mdx (Chinese Simplified)
[ci skip]
* New translations minecraftupdater.mdx (Japanese)
[ci skip]
* New translations minecraftupdater.mdx (Korean)
[ci skip]
* New translations minecraftupdater.mdx (Russian)
[ci skip]
* New translations minecraftupdater.mdx (Chinese Simplified)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations optimus.mdx (Acholi)
[ci skip]
* New translations portfall.mdx (Acholi)
[ci skip]
* New translations wally.mdx (Acholi)
[ci skip]
* New translations october.mdx (Acholi)
[ci skip]
* New translations mollywallet.mdx (Acholi)
[ci skip]
* New translations filehound.mdx (Acholi)
[ci skip]
* New translations encrypteasy.mdx (Acholi)
[ci skip]
* New translations wombat.mdx (Acholi)
[ci skip]
* New translations ytd.mdx (Acholi)
[ci skip]
* New translations scriptbar.mdx (Acholi)
[ci skip]
* New translations minecraftupdater.mdx (Acholi)
[ci skip]
* New translations modalfilemanager.mdx (Acholi)
[ci skip]
* New translations emailit.mdx (Acholi)
[ci skip]
* New translations troubleshooting.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Russian)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations troubleshooting.mdx (Acholi)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations building.mdx (Japanese)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
[ci skip]
* New translations howdoesitwork.mdx (Chinese Simplified)
[ci skip]
* New translations introduction.mdx (Japanese)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations introduction.mdx (Russian)
[ci skip]
* New translations introduction.mdx (Chinese Simplified)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]
* New translations howdoesitwork.mdx (Korean)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]
* New translations dogsapi.mdx (Japanese)
[ci skip]
* New translations dogsapi.mdx (Korean)
[ci skip]
* New translations dogsapi.mdx (Russian)
[ci skip]
* New translations dogsapi.mdx (Chinese Simplified)
[ci skip]
* New translations howdoesitwork.mdx (Russian)
[ci skip]
* New translations howdoesitwork.mdx (Japanese)
[ci skip]
* New translations building.mdx (Korean)
[ci skip]
* New translations ides.mdx (Chinese Simplified)
[ci skip]
* New translations building.mdx (Russian)
[ci skip]
* New translations building.mdx (Chinese Simplified)
[ci skip]
* New translations installation.mdx (Korean)
[ci skip]
* New translations dynamic-assets.mdx (Japanese)
[ci skip]
* New translations dynamic-assets.mdx (Korean)
[ci skip]
* New translations dynamic-assets.mdx (Russian)
[ci skip]
* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]
* New translations ides.mdx (Japanese)
[ci skip]
* New translations ides.mdx (Korean)
[ci skip]
* New translations ides.mdx (Russian)
[ci skip]
* New translations windows-installer.mdx (Japanese)
[ci skip]
* New translations helloworld.mdx (Chinese Simplified)
[ci skip]
* New translations windows-installer.mdx (Korean)
[ci skip]
* New translations windows-installer.mdx (Russian)
[ci skip]
* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]
* New translations options.mdx (Japanese)
[ci skip]
* New translations options.mdx (Korean)
[ci skip]
* New translations options.mdx (Russian)
[ci skip]
* New translations options.mdx (Chinese Simplified)
[ci skip]
* New translations helloworld.mdx (Japanese)
[ci skip]
* New translations helloworld.mdx (Korean)
[ci skip]
* New translations helloworld.mdx (Russian)
[ci skip]
* New translations building.mdx (Acholi)
[ci skip]
* New translations dynamic-assets.mdx (Acholi)
[ci skip]
* New translations ides.mdx (Acholi)
[ci skip]
* New translations windows-installer.mdx (Acholi)
[ci skip]
* New translations howdoesitwork.mdx (Acholi)
[ci skip]
* New translations introduction.mdx (Acholi)
[ci skip]
* New translations options.mdx (Acholi)
[ci skip]
* New translations helloworld.mdx (Acholi)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Acholi)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Acholi)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Acholi)
[ci skip]
* New translations dogsapi.mdx (Acholi)
[ci skip]
* New translations troubleshooting.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Russian)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations window.mdx (Japanese)
[ci skip]
* New translations window.mdx (Korean)
[ci skip]
* New translations window.mdx (Russian)
[ci skip]
* New translations window.mdx (Chinese Simplified)
[ci skip]
* New translations troubleshooting.mdx (Acholi)
[ci skip]
* New translations window.mdx (Acholi)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations installation.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Russian)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations window.mdx (Japanese)
[ci skip]
* New translations window.mdx (Korean)
[ci skip]
* New translations window.mdx (Russian)
[ci skip]
* New translations window.mdx (Chinese Simplified)
[ci skip]
* New translations navbar.json (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Acholi)
[ci skip]
* New translations navbar.json (Chinese Simplified)
[ci skip]
* New translations navbar.json (Russian)
[ci skip]
* New translations navbar.json (Korean)
[ci skip]
* New translations navbar.json (Acholi)
[ci skip]
* New translations events.mdx (Japanese)
[ci skip]
* New translations events.mdx (Korean)
[ci skip]
* New translations events.mdx (Russian)
[ci skip]
* New translations events.mdx (Chinese Simplified)
[ci skip]
* New translations events.mdx (Acholi)
[ci skip]
* New translations howdoesitwork.mdx (Japanese)
[ci skip]
* New translations building.mdx (Korean)
[ci skip]
* New translations development.mdx (Korean)
[ci skip]
* New translations overscroll.mdx (Japanese)
[ci skip]
* New translations overscroll.mdx (Korean)
[ci skip]
* New translations overscroll.mdx (Russian)
[ci skip]
* New translations overscroll.mdx (Chinese Simplified)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations overscroll.mdx (Acholi)
[ci skip]
* New translations bleeding-edge.mdx (Japanese)
[ci skip]
* New translations bleeding-edge.mdx (Korean)
[ci skip]
* New translations bleeding-edge.mdx (Russian)
[ci skip]
* New translations bleeding-edge.mdx (Chinese Simplified)
[ci skip]
* New translations bleeding-edge.mdx (Acholi)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Russian)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations howdoesitwork.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Acholi)
[ci skip]
* New translations frameless.mdx (Japanese)
[ci skip]
* New translations frameless.mdx (Korean)
[ci skip]
* New translations frameless.mdx (Russian)
[ci skip]
* New translations frameless.mdx (Chinese Simplified)
[ci skip]
* New translations options.mdx (Japanese)
[ci skip]
* New translations options.mdx (Korean)
[ci skip]
* New translations options.mdx (Russian)
[ci skip]
* New translations options.mdx (Chinese Simplified)
[ci skip]
* New translations frameless.mdx (Acholi)
[ci skip]
* New translations options.mdx (Acholi)
[ci skip]
* Fix issues again
2022-09-12 21:56:43 +10:00
d23108a49e
Make draggable CSS property customisable ( #1828 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-10 14:33:35 +10:00
Zámbó, Levente and GitHub
7816b0b67f
[v2] feature: make EventsOff capable of removing multiple listeners ( #1822 )
...
[v2] feature: add missing wrapper
2022-09-02 07:34:59 +10:00
Lea Anthony and GitHub
01e46f0c24
Fix vue-ts template ( #1813 )
2022-08-31 23:28:55 +10:00
70c484f603
Add Some WindowState ( #1349 )
...
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflicts
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.m
# v2/internal/frontend/desktop/darwin/frontend.go
# v2/internal/frontend/desktop/linux/window.go
# v2/internal/frontend/desktop/windows/window.go
* Add Check for WindowState IsMaximised, IsMinimized, IsNormal and IsFullscreen
Solve conflict
# Conflicts:
# v2/pkg/runtime/window.go
* Forgot some function to use it
# Conflicts:
# v2/internal/frontend/desktop/darwin/WailsContext.h
# v2/internal/frontend/desktop/windows/win32/consts.go
# v2/internal/frontend/desktop/windows/win32/window.go
* Modify the instructions
# Conflicts:
# v2/internal/frontend/devserver/devserver.go
* Add Functions to DevServer
# Conflicts:
# v2/internal/frontend/dispatcher/systemcalls.go
# v2/internal/frontend/runtime/desktop/window.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_prod_desktop.js
# v2/internal/frontend/runtime/wrapper/runtime.d.ts
# v2/internal/frontend/runtime/wrapper/runtime.js
* Add Callback and JavaScript Functions
# Conflicts:
# v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js
# v2/internal/frontend/runtime/package-lock.json
# v2/internal/frontend/runtime/runtime_dev_desktop.js
* Remove Merge lines
* Fix IsMaximised
* Add WindowState Docs
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-30 06:52:01 +10:00
Lea Anthony and GitHub
317e0a6fef
Preact templates for vite 3 ( #1770 )
2022-08-20 14:55:07 +10:00
Lea Anthony and GitHub
f2568f1899
Experimental support for CSS Drag detection ( #1750 )
...
* Support CSS Drag
* Support CSS Drag as experimental option
2022-08-18 20:39:05 +10:00