Atterpac
9c4b412aea
fix react template css ( #3477 )
...
changelog
2024-05-14 06:39:20 +10:00
Atterpac
71b2edc0fe
[V3-Linux] Upgrade to Webkitgtk4.1 ( #3461 )
...
* webkitgtk4.0->webkitgtk4.1
changelog
* Update mkdocs-website/docs/en/changelog.md
* Update deps in pipeline
* Update deps in pipeline
* Install 4.1 only when v3
* Install 4.1 only when v3
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-05-08 18:08:14 +10:00
Lea Anthony
7661cd189f
Fix Go version
2024-05-08 08:27:38 +10:00
Mike D Pilsbury
0833a6d6d3
[v3] Correct detection of npm with acceptable version ( #3458 )
...
* Correct detection of npm with acceptable version
* Update changelog
2024-05-06 08:29:28 +10:00
Lea Anthony
7d851d8434
Fix disable min/max buttons on windows
2024-05-06 08:26:41 +10:00
Atterpac
2c29e1ca76
update devmode to use types and yaml ( #3454 )
...
go mod update
2024-05-05 17:27:53 +10:00
Travis McLane
5a57ee99ac
example: environment - change css
...
text was colored white and therefore invisible.
2024-05-03 12:52:15 -05:00
Travis McLane
735b6b6c87
noop: remove Println for events.Linux.ApplicationStartup
2024-05-02 15:31:49 -05:00
Travis McLane
7ea0601fc6
remove Println
...
unknown key codes shouldn't print out to stdout
2024-05-02 11:02:21 -05:00
Travis McLane
99537f2816
remove Register/UnregisterWindow functionality
...
- this is no longer needed
2024-05-02 09:37:23 -05:00
Harry Fox
b384bb885b
add missing map init from application.init() ( #3426 )
...
* add missing map init from `application.init()`
* add changelog entry for #3426
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-05-02 21:57:51 +10:00
abichinger
2255af1c45
[v3] Add port flag to dev command ( #3429 )
...
* Add `port` flag to dev command, ...
Add support for environment variable WAILS_VITE_PORT
* Check if port is already in use
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-05-02 21:48:50 +10:00
Fabio Massaioli
f55b781d86
[v3] Binding runtime fixes ( #3431 )
...
* Unmarshal arguments to appropriate type in binding calls
* Marshal multiple return values to arrays in binding calls
* Improve logging of remote method calls
* Add tests for `BoundMethod.Call`
* Fix return value if error is nil
* Update changelog
---------
Co-authored-by: Andreas Bichinger <andreas.bichinger@gmail.com >
2024-05-02 21:46:07 +10:00
Lea Anthony
38d9a9551f
Add -trimpath for production build in project taskfile
2024-04-29 17:58:48 +10:00
Lea Anthony
c38cee0a4a
More optimised production build in project taskfile
2024-04-29 17:40:46 +10:00
Lea Anthony
0f9c7b1bbf
Fix nanoid dep for npm package
2024-04-28 19:43:37 +10:00
Lea Anthony
32ddbd8e05
set target branch to v3-alpha
2024-04-28 17:13:59 +10:00
Lea Anthony
67c493f1a8
Fix example building
2024-04-27 17:43:58 +10:00
Lea Anthony
69c513e33d
Fix pipeline tests
2024-04-27 17:38:10 +10:00
Lea Anthony
82b910dd6d
Fix pipeline tests
2024-04-27 17:16:21 +10:00
Lea Anthony
5d0a58cc6a
Update GetRelative/AbsolutePosition to take border size into account
2024-04-25 15:59:33 +10:00
Lea Anthony
368ca13314
Update window interface
2024-04-25 15:26:31 +10:00
Lea Anthony
2cee1edcb5
Add window.GetBorderSizes
2024-04-25 15:22:01 +10:00
Travis McLane
1b288a0a1a
removing experimental server plugin
2024-04-23 09:32:21 -05:00
Harry Fox
81aba310d0
update Taskfile.tmpl.yml to include darwin run task ( #3417 )
...
* update Taskfile.tmpl.yml to include darwin run task
* add changelog line for #3417
2024-04-23 18:19:25 +10:00
Atterpac
b050a07362
dev mode adapt to OS ( #3412 )
...
changelog
2024-04-22 12:44:10 +10:00
Travis McLane
021efab84d
allow for non-Window WailsEvent listeners ( #3406 )
...
* allow for non-Window WailsEvent listeners
- adds a RegisterListener function on the App struct such
that code can listen for WailsEvent(s) even if it isn't a Window
- rename dispatchEventToWindows -> dispatchEventToListeners
- add all windows and WailsEventListeners to slice before emitting
* Update v3/pkg/application/application.go
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-04-20 09:39:57 +10:00
Atterpac
0a42a050bd
fix dev mode windows pipe ( #3402 )
2024-04-18 23:14:20 +10:00
abichinger
9ca1b30da1
[v3 alpha] Fix drag-n-drop on some linux distros ( #3346 )
...
* Fix drag and drop on linux
- Move C code
* Use GTK_DEST_DEFAULT_DROP
* Update changelog
* Move C code back into `linux_cgo.go`
2024-04-15 10:05:23 -05:00
Atterpac
220d5535f7
revert dialog channel close ( #3395 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-04-15 18:03:35 +10:00
Atterpac
0895e6a508
refresh version up ( #3391 )
2024-04-15 16:57:19 +10:00
Lea Anthony
ed5532a535
Update plugin docs
2024-04-14 21:47:37 +10:00
Lea Anthony
6f41dbf954
Merge branch 'refs/heads/v3-alpha-feature/plugin-updates' into v3-alpha
2024-04-14 21:42:16 +10:00
Lea Anthony
c7ed7e72d4
Major plugin updates
2024-04-14 21:41:33 +10:00
abichinger
a7208f5262
Update changelog ( #3389 )
2024-04-11 23:50:04 +10:00
Travis McLane
09f6680aa9
restore: run tests only after approval
2024-04-10 09:11:36 -05:00
Travis McLane
9261130fed
chore: workflow update to run tests on correct directory
2024-04-09 16:57:04 -05:00
Travis McLane
fec22e0052
chore: bump staticanalysis to v2.8.0
2024-04-09 16:37:50 -05:00
abichinger
7c921d6a81
[v3 alpha] implement setIcon on linux ( #3354 )
...
* implement `linuxApp.setIcon`
* Move code into `linux_cgo.go`
2024-04-09 11:04:54 -05:00
Travis McLane
16a029754f
disable 'server' example
...
Doesn't compile currently.
Disabling such that the workflow succeeds
2024-04-08 13:29:42 -05:00
Travis McLane
3c9fd67fd0
doctor: correct compilation errors
2024-04-08 13:23:12 -05:00
Travis McLane
724ca386e7
Merge remote-tracking branch 'origin/v3-alpha-linux-dialogs' into v3-alpha
2024-04-08 11:17:56 -05:00
atterpac
6f75b00463
Proper syncing and canceling of dialogs
...
s
s
s
2024-04-08 11:17:05 -05:00
Travis McLane
105d9f0d3a
allow directory selection
2024-04-07 16:42:33 -05:00
atterpac
38f6b1297d
Call linux dialog on main thread
2024-04-07 16:42:33 -05:00
Lea Anthony
cf130a6e25
[windows] Fix directory select in Open Dialog
2024-04-06 14:38:43 +11:00
Lea Anthony
e91c30fad0
Small doctor improvements
2024-04-03 20:48:55 +11:00
Lea Anthony
3e3f7b9273
Update discord link
2024-04-03 08:27:32 +11:00
Lea Anthony
88ff84f5a5
[windows] Improve Set window icon when in debug mode
2024-04-01 05:02:39 +11:00
Lea Anthony
eee373f15a
[windows] Set window icon when in debug mode
2024-04-01 04:55:34 +11:00
Lea Anthony
c839c053cb
[windows] Fix min/max buttons
2024-03-29 21:44:59 +11:00
Lea Anthony
238b9ede78
Update plugin example
2024-03-26 21:11:35 +11:00
Lea Anthony
c7bd39abc7
Update plugin example
2024-03-26 21:02:26 +11:00
Lea Anthony
85b1f909a7
Plugin updates
2024-03-26 20:56:58 +11:00
Calle Gustafsson
675f502802
wails3 alpha windows: fix crash when systray icon is clicked without an attached window ( #3271 )
...
* Fix : #3270
removes an unnessecary check which returned a double nil wich in turned causes a crash if systray doesn't have an attached window.
* Add iconIsInFlyout method to systray_windows
and use it to determine if the icon is in the
flyout or not when positioning an attached window.
* optimize the windows systray window positioning
we only need to get the systray bounds if
the icon is in the flyout area.
* Use correct behavior for placing the window
if the systray icon is visible in the taskbar the
window should be centered on the systray icon
otherwise the icon is in a flyout are and the
window should be placed in the corner.
Added comments to explain placement logic
* consistent placing of systray menu on right vs left click
* add PR info in changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-24 17:04:40 +11:00
abichinger
db5553ec75
[linux] fix closing of custom context menu #3329 ( #3330 )
...
* [linux] fix closing of custom context menu
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-24 16:51:45 +11:00
Fabio Massaioli
413191411f
Remove class fields ( #3333 )
2024-03-24 16:42:41 +11:00
Fabio Massaioli
45b2681dfc
[v3] Fix binding generator output and import paths ( #3334 )
...
* Fix relative import path computation
* Fix models output path
* Add option to generate bindings using bundled runtime
* Update binding example
* Fix testdata
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-22 21:18:04 +11:00
Travis McLane
f0986a6441
chore: version.txt == v3.0.0-alpha.4
2024-03-21 14:16:39 -05:00
stffabi
e6645136f9
[windows] Set HiDPI size scaling before setting up chromium
2024-03-21 09:42:23 +01:00
stffabi
189820135a
[windows] Use options for window name
2024-03-21 09:42:23 +01:00
Lea Anthony
f19cc528d4
Fix context menu example
2024-03-20 21:18:46 +11:00
Fabio Massaioli
2b9891da2c
[v3] Update and fix runtime JS API ( #3295 )
...
* Cleanup bundled runtime entry point
* Fix JS representation of Screen struct
* Expose IsFocused method in Window interface
* Update JS window API
* Fix cleanup of WML listeners
* Bundle runtime as ES module
* Update runtime dependencies
* Update runtime types and events
* Update bundled runtime
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-20 20:30:14 +11:00
Lea Anthony
a5c843f5c6
Disable social plugin in docs
2024-03-20 08:32:24 +11:00
Lea Anthony
aa8e74539c
Rebuild docs
2024-03-20 07:52:31 +11:00
Lea Anthony
d1968489b7
Don't build server plugin
2024-03-20 07:43:27 +11:00
Lea Anthony
33946a7aac
Don't build server plugin
2024-03-19 21:56:54 +11:00
Lea Anthony
ddf74d3793
Update go version in pipelines
2024-03-19 21:45:52 +11:00
Lea Anthony
1b3b8178ec
Update node version in pipelines
...
(cherry picked from commit c451adc424 )
2024-03-19 21:35:38 +11:00
Lea Anthony
bf3bdadd90
Update changelog
2024-03-19 21:07:14 +11:00
Lea Anthony
aba82cc527
Update system.Environment
2024-03-19 20:37:03 +11:00
atterpac
e92994d2e7
Refresh Version Update (CPU Thread Leak Fix) ( #3322 )
...
* Fix appimage file sourcing
Add findGTKFiles to source webkit files for appimage generation
s
* Update refresh version to fix CPU usage
s
* update changelong
* refresh version up
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2024-03-19 08:41:47 +11:00
Lea Anthony
26d9b3a832
Update docs config
2024-03-19 08:36:57 +11:00
Lea Anthony
bfabaa50bc
Add Cymraeg
2024-03-18 21:52:39 +11:00
Lea Anthony
7fcd172387
Update first steps
2024-03-18 20:57:56 +11:00
Lea Anthony
c5bb4c7405
Refactor docs
2024-03-18 20:47:33 +11:00
Lea Anthony
98aff7778e
Support ProgramName on linux
2024-03-17 21:09:20 +11:00
Lea Anthony
4ab6352504
Set default size for linux windows
2024-03-17 20:57:46 +11:00
Lea Anthony
b325381ca0
Normalise app/webview options
...
Update deps
2024-03-17 20:57:46 +11:00
Lea Anthony
bc0a9b2e52
Add BundledAssetFileServer for bundled /wails/runtime.js. Update examples.
2024-03-17 15:08:30 +11:00
atterpac
75c0236a04
[v3] Fix Dev mode <defunct> processes ( #3320 )
...
* Fix appimage file sourcing
Add findGTKFiles to source webkit files for appimage generation
s
* Update refresh version to fix CPU usage
s
* update changelong
2024-03-17 14:17:21 +11:00
atterpac
ec2ce3fcfb
Fix appimage file sourcing ( #3306 )
...
Add findGTKFiles to source webkit files for appimage generation
s
2024-03-17 11:17:17 +11:00
Lea Anthony
e9a9420e5c
Refactor options.
...
Update deps
2024-03-17 09:42:27 +11:00
Travis McLane
209e097ba6
rename linux options file
...
`linux` suffix means it won't compile on non-Linux platforms.
Shorten the name to avoid:
../../pkg/application/options_webview_window.go:104:8: undefined: LinuxWindow
../../pkg/application/options_application.go:28:8: undefined: LinuxOptions
../../pkg/application/options_webview_window.go:104:8: undefined: LinuxWindow
2024-03-14 13:25:23 -05:00
Lea Anthony
8d234cc842
Update execjs signature
2024-03-14 08:57:10 +11:00
Lea Anthony
e6805707d8
Fix mac compilation issues
2024-03-14 08:52:10 +11:00
Lea Anthony
acd6f7af5b
Merge remote-tracking branch 'origin/v3-alpha-linux' into v3-alpha
2024-03-14 08:39:19 +11:00
Josh Drake
f38532bcf5
Correctly compute 'startURL' when using a frontend development server. ( #3299 )
...
* Fix computing 'startURL' when 'FRONTEND_DEVSERVER_URL' is present.
* Respect provided URL when computing 'startURL' and 'FRONTEND_DEVSERVER_URL' is present.
* Update changelog.
* Correctly produce absolute URI in 'GetStartURL' when input is provided.
2024-03-08 18:06:14 +11:00
Travis McLane
4b2189ba51
allow keypress propagation
...
- this allows the webkit to add values to the `input` when typed
FIXME: does this need to be configurable?
2024-03-07 09:03:47 -06:00
Travis McLane
fb46cce963
simplify key handling logic
2024-03-07 09:03:32 -06:00
Travis McLane
eedd5eb7d2
reuse the 'wv' variable
2024-03-07 09:02:39 -06:00
Travis McLane
716f4af808
[linux] add missing implementations
2024-03-06 17:10:41 -06:00
Travis McLane
c21784037d
wip: fixing rebase issue
2024-03-06 16:59:13 -06:00
Lea Anthony
0fde6c9922
Latest status
2024-03-06 16:59:13 -06:00
Travis McLane
6d90c1678c
move install_signal_handlers to proper location
2024-03-06 16:59:13 -06:00
Lea Anthony
a7fb568aff
Fix signal handlers
2024-03-06 16:59:13 -06:00
Lea Anthony
065ca5f6d3
Move to latest webkit2 and remove older code.
...
Fix screen demo.
Update examples.
2024-03-06 16:59:13 -06:00
Lea Anthony
ab9eec12eb
Update status. Make wml demo non-drag
2024-03-06 16:59:13 -06:00
Lea Anthony
430736a4f2
Remove need for javascriptcore
2024-03-06 16:59:13 -06:00
Lea Anthony
161444107a
Support linux systrays, of sorts...
2024-03-06 16:59:13 -06:00
Lea Anthony
12e2e2101a
fix screens
2024-03-06 16:59:13 -06:00
Lea Anthony
e39097a17e
fix min/max
2024-03-06 16:59:13 -06:00
Lea Anthony
be7c723c47
Fix window close issues
...
Update docs
Make uri scheme registration thread safe
2024-03-06 16:59:13 -06:00
Lea Anthony
a60b198b03
Fix window close issues
2024-03-06 16:59:13 -06:00
Lea Anthony
e06df85f02
WindowID now correctly processed by postMessage calls.
2024-03-06 16:59:13 -06:00
Lea Anthony
288a4757f8
WindowID now correctly passed with webview request.
2024-03-06 16:59:13 -06:00
Lea Anthony
29363fc07f
ToggleDevTools -> OpenDevTools
...
More refactor CGO methods.
2024-03-06 16:59:13 -06:00
Lea Anthony
02a1b540ce
[WIP] refactor CGO methods
2024-03-06 15:43:50 -06:00
Lea Anthony
a048233f4c
Added menu cloning.
...
Introduced the ability to clone a menu, along with its submenus, in Linux-based web applications to create a full deep copy. This fixes reusing the application menu for window menus.
2024-03-06 15:40:28 -06:00
Lea Anthony
758c4c2c8d
Refactor Linux application handling in webview
...
This update introduces a LinuxOptions struct for Linux-specific application configurations and refines webview for Linux. The 'windows' map has been renamed to 'windowMap' to avoid confusion. Moreover, a method to unregister Windows has been added to ensure the Linux application automatically quits when the last window closes, unless explicitly disabled in the new LinuxOptions structure. Reset Window position after hiding. Some debug output has been removed.
2024-03-06 11:52:06 -06:00
Lea Anthony
adae39efee
Add webview GPU policy and update Linux options
...
The commit introduces a set of webview GPU policies to control hardware acceleration. These policies define when hardware acceleration is enabled on the webview. An option for this has been added to the LinuxWindow struct for Linux specific windows. Additional code modification was carried out to use this new GPU policy option when calling `windowNew` function. Finally, the sequence of the GPU Policies in the const declaration has been updated for better readability.
2024-03-06 11:49:11 -06:00
Lea Anthony
84e1bb4d9b
Improve Linux application events and refactor app method receivers
...
This commit includes the addition of common events for the Linux platform. Refactored and standardized the method receivers for the application from 'm' to 'l'. Also, the application startup events in the window example have been updated according to the new naming scheme.
2024-03-06 11:48:26 -06:00
Lea Anthony
6b0daf3da9
Update windowSetupSignalHandlers & linux events
2024-03-06 11:44:55 -06:00
Lea Anthony
b6c5d90c9d
Window Flash for Linux
...
Set Min/Max window buttons
2024-03-06 11:43:16 -06:00
Lea Anthony
a34ccbff33
ToggleDevTools -> OpenDevTools
...
More refactor CGO methods.
2024-03-06 11:43:12 -06:00
Lea Anthony
4cd4b46772
[WIP] refactor CGO methods
2024-03-06 11:42:19 -06:00
Lea Anthony
3d93c83920
Added menu cloning.
...
Introduced the ability to clone a menu, along with its submenus, in Linux-based web applications to create a full deep copy. This fixes reusing the application menu for window menus.
2024-03-06 11:42:19 -06:00
Lea Anthony
809863d61a
Refactor Linux application handling in webview
...
This update introduces a LinuxOptions struct for Linux-specific application configurations and refines webview for Linux. The 'windows' map has been renamed to 'windowMap' to avoid confusion. Moreover, a method to unregister Windows has been added to ensure the Linux application automatically quits when the last window closes, unless explicitly disabled in the new LinuxOptions structure. Reset Window position after hiding. Some debug output has been removed.
2024-03-06 11:42:19 -06:00
Lea Anthony
4c7b643295
Add webview GPU policy and update Linux options
...
The commit introduces a set of webview GPU policies to control hardware acceleration. These policies define when hardware acceleration is enabled on the webview. An option for this has been added to the LinuxWindow struct for Linux specific windows. Additional code modification was carried out to use this new GPU policy option when calling `windowNew` function. Finally, the sequence of the GPU Policies in the const declaration has been updated for better readability.
2024-03-06 11:42:19 -06:00
Lea Anthony
05b16f1d63
Improve Linux application events and refactor app method receivers
...
This commit includes the addition of common events for the Linux platform. Refactored and standardized the method receivers for the application from 'm' to 'l'. Also, the application startup events in the window example have been updated according to the new naming scheme.
2024-03-06 11:42:19 -06:00
Lea Anthony
bfa53dfd6c
Update windowSetupSignalHandlers & linux events
2024-03-06 11:42:19 -06:00
stffabi
4467a1ffa2
[parser] Move context tests into a separate file
2024-03-04 12:38:21 +01:00
stffabi
bfe9a9d015
[runtime] Add cancelation of bound method calls and context passing
2024-03-04 10:34:14 +01:00
Fabio Massaioli
7e687750b2
[v3] Add option for showing the toolbar in fullscreen mode on macOS ( #3282 )
...
* Add option for showing the toolbar in fullscreen mode on macOS
* Add an example demonstrating the ShowToolbarWhenFullscreen option
* Update docs
* Add changelog entry
* Run go mod tidy
2024-03-02 20:10:25 +11:00
Fabio Massaioli
0c3025d695
[v3] Fix ordering of if branches in WebviewWindow.Restore method ( #3279 )
...
* Add JS Window API example
* Fix ordering of if branches in Window.Restore method
* Add changelog entry
2024-03-02 16:04:02 +11:00
5aaee9
a9c22f0588
fix: wrong baseURL if open window twice ( #3273 )
2024-02-29 08:47:25 +11:00
Fabio Massaioli
b8537d1c96
[v3] Restore ToggleMaximise method in Window interface ( #3281 )
...
* Add JS Window API example
* Add ToggleMaximise button to Window API example
* Restore ToggleMaximise method in Window interface
* Update docs and changelog
2024-02-29 08:42:57 +11:00
stffabi
12d12a33de
[v3, assetServer] Update docs
2024-02-21 13:40:32 +01:00
stffabi
1956f95f9f
[templates] Update templates to latest assetserver options
2024-02-16 08:04:16 +01:00
stffabi
723dd976b4
[v3, assetServer] Use middlewares for runtime, caps and falgs instead of having the implementation in the assetserver
2024-02-16 07:38:28 +01:00
stffabi
65251cdafa
[v3, assetServer] Remove fs.FS from options and always use a http.Handler
2024-02-16 07:38:27 +01:00
Lea Anthony
471d626043
Add control to disable window buttons on Mac
...
Three new options have been introduced in the application options for MacOS to disable the minimize, maximize, and close buttons on the window. Corresponding functionality has been added in the webview window for darwin to handle these new options. These changes have been showcased in the window example main.go file.
2024-02-08 08:31:58 +11:00
Lea Anthony
0b82968c0f
Add option to disable min/max windows buttons
...
This commit introduces the functionality to disable the minimise and maximise buttons on windows. These options have been added to the `application.WebviewWindowOptions` and integrated in the Windows application logic. Effectively, developers can now control the availability of these buttons in their windows applications.
2024-02-07 10:06:07 +11:00
ALMAS
0584a3929d
Fix docs ( #3228 )
2024-02-03 07:01:57 +11:00
Lea Anthony
09815e6035
Update runtime.md
2024-02-02 17:14:09 +11:00
Lea Anthony
9a01650622
Update runtime.md
2024-02-02 17:10:33 +11:00
Lea Anthony
fb5afbd394
Fix docs
2024-02-02 17:01:41 +11:00
Lea Anthony
fc105cee2b
Update docs
2024-02-01 21:39:32 +11:00
Lea Anthony
1ec3b4ecab
v3.0.0-alpha.4
2024-02-01 21:09:03 +11:00
Lea Anthony
6e2bbe31ac
[windows] fix frameless resize
2024-02-01 06:47:49 +11:00
Lea Anthony
5670c1e655
Update compiled runtime
2024-01-31 21:39:46 +11:00
Lea Anthony
7f5d836916
Fix feedback text
2024-01-31 17:55:21 +11:00
Lea Anthony
cbaf859103
@wailsio/runtime@3.0.0-alpha.20
...
This fixes dragging by working around Vite's aggressive tree shaking
2024-01-30 21:01:32 +11:00
Lea Anthony
5115b294ee
Fixed runtime. cp tool.
2024-01-29 21:29:16 +11:00
Lea Anthony
c01bc4dbd7
Update runtime
2024-01-29 19:07:44 +11:00
Lea Anthony
7674f8eb2b
Fixed dialogs on macOS. Update WML example to use compiled runtime.
2024-01-25 21:00:33 +11:00
Lea Anthony
773bdf8ea2
Fix small bugs in assetserver
2024-01-21 21:46:45 +11:00
Lea Anthony
b249f0d0ce
Bring linux up to date with dev changes
2024-01-21 21:24:30 +11:00
Lea Anthony
6522657893
Refactor menu functions and streamline devtools toggle across systems
...
This update adds implementation to several menu item functions, replacing their previous 'not implemented' state. This includes actions for close, reload, forcing reload, toggling of fullscreen, reset zoom, and others. The update also includes modifications for the handling of developer tools toggle under different build configurations. This refactoring is aimed to standardize devtools configuration across different operating systems.
2024-01-21 20:52:32 +11:00
Lea Anthony
c82facd6ff
Move startURL calculation to assetserver
2024-01-20 11:50:20 +11:00
Lea Anthony
bcb390f611
@wailsio/runtime v3.0.0-alpha.16
2024-01-20 11:38:56 +11:00
Lea Anthony
a805d6c2b1
@wailsio/runtime v3.0.0-alpha.15
2024-01-20 11:34:36 +11:00
Lea Anthony
3d08f92705
Update status. Fix dev task.
2024-01-20 08:45:44 +11:00
Lea Anthony
2436229145
Fix feedback page
2024-01-19 21:37:37 +11:00
Lea Anthony
e5c14d24ae
Initial implementation of dev mode.
...
Huge thanks to @atterpac!
2024-01-19 21:34:49 +11:00
Thomas Sénéchal
23c1a7d1d8
[v3/Windows] Fix failing Windows build due to undefined options ( #3208 )
...
* Fix failing Windows build due to undefined options
* Update changelog
2024-01-18 05:33:51 +11:00
Thomas Sénéchal
44bbce125b
[V3/macos] Fix systray click handling when no attached window ( #3207 )
...
* Fix systray click handling
* Open Menu if no window is attached in defaultClickHandler()
* Remove systemTraySetMenu function
* Fix a crash in hide-window example
* Update changelog
2024-01-17 22:36:22 +11:00
Lea Anthony
dff47263d5
Set default extension for save dialog file filter
...
The code update sets the default extension to the first pattern in the save dialog file filter when options.Filters is populated. This improvement applies to Windows platform interface function for 'Save File Dialog' and provides a more intuitive user experience.
2024-01-17 22:35:58 +11:00
Lea Anthony
861ddea1b2
Add option to prevent application shutdown
...
This update allows the application shutdown to be cancelled. It implements the shouldQuit function, which can prevent the application from quitting if it returns false. Additional checks have been added to ensure cleanup and quit processes are performed only if required. The darwin delegate and linux and windows applications were modified to include this new functionality.
2024-01-17 20:45:30 +11:00
Lea Anthony
ab22ea1f27
Update alpha docs
2024-01-14 09:22:27 +11:00
Lea Anthony
a6757c352f
Add shutdown tasks functionality to application
...
A new method OnShutdown was introduced to allow adding tasks to be run when the application shuts down. The shutdown tasks are run on the main thread and in the order they were added, with the application option `OnShutdown` being run first. This allows more controlled and managed shutdown of the application.
2024-01-14 08:17:17 +11:00
Lea Anthony
2d97776caa
[bindings] Support aliases in package imports
2024-01-14 08:07:47 +11:00
ALMAS
3cd26a2220
[v3] Improve OnShutdown ( #3190 )
...
* [v3] Improve OnShutdown
* add change log
2024-01-10 23:28:15 +11:00
Lea Anthony
f759162fd1
Update alpha.3 status
2024-01-10 08:51:29 +11:00
Lea Anthony
6c3bd124ce
Added option to disable AssetServer logging.
...
An option to disable AssetServer logging has been introduced in the application options. This will suppress every request log from the AssetServer if set to true. This adjustment is useful for preventing log saturation in certain scenarios or environments.
2024-01-09 22:15:42 +11:00
Lea Anthony
68b12d4fff
Refactored application shutdown process to streamline app termination.
...
The application shutdown process has been significantly reworked to be more efficient and robust. The refactored code removes the event listener for the 'ApplicationTerminate' event. Instead, an in-process flag is added to the 'Quit' method to prevent recursive calls. Additionally, an optional 'OnShutdown' function variable is introduced to allow custom cleanup operations upon app termination.
2024-01-09 18:19:09 +11:00
Lea Anthony
1195464acb
Improve window teardown on termination
...
This commit adds a robust teardown process for windows on application shutdown. It introduces a field to track the destruction state of each window and checks such before performing window operations. Also, it enhances the destroy functions within application for thorough clean up. Finally, redundant event handlers related to application termination were removed while fixing file generating challenge in go tasks.
2024-01-09 07:45:56 +11:00
Lea Anthony
68e779d64e
[darwin] add support for quitting app
2024-01-08 21:22:33 +11:00
Lea Anthony
df0419a7d6
@wails/runtime@v3.0.0-alpha.14
2024-01-08 21:21:24 +11:00
Lea Anthony
3dff6c6875
Update alpha.3 support table
2024-01-07 21:26:35 +11:00
Lea Anthony
07421ead41
@wailsio/runtime@3.0.0-alpha.13
2024-01-07 20:12:17 +11:00
Lea Anthony
b6dc199993
Update bindings tests
2024-01-07 20:11:34 +11:00
Lea Anthony
6d8a004f4a
Fixed Call.ByID JSDoc + TS type
2024-01-07 10:44:18 +11:00
Lea Anthony
1dae9f613f
Improved templates
2024-01-07 08:19:07 +11:00
Lea Anthony
34f7f24e7e
Support Vite 5 templates + @wailsio/runtime module
2024-01-06 16:38:51 +11:00
Lea Anthony
40bd6125f5
Better pass through of args to task
2024-01-02 21:25:09 +11:00
stffabi
012eeab3aa
[windows] Fix #2359 by not redirecting the accelerators to wndproc
...
If someone wants to handle accelerators they could use the key
bindings in a cross-platform way.
2023-12-30 23:34:54 +01:00
stffabi
2f3eb70a4d
[windows] Use msWebView2BrowserHitTransparent for non working NC area clicks on unfocused window
...
Without this patch there's a really strange behaviour if there are
multiple windows.
Having two windows with a webview open with an input field.
Focusing the input field on one window, then focusing the input
field on the second one. Then clicking directly on the non client
area of the first one, e.g. to trigger a minimze, the minimize is
not executed until the mouse is getting moved. As long as the
mouse is not moved the event for the click is blocked and not
executed.
Using this new mode fixes that problem, but we need to handle
‘alt+f4’ on our own.
2023-12-30 23:34:54 +01:00
stffabi
b37d0f1cf4
[windows] Improved focus handling
...
Make sure the webview is focused on initial show if the window
is focused and make behaviour consistent with macOS
2023-12-30 23:34:53 +01:00
Lea Anthony
6262a4fac7
Update @wailsio/runtime version to 3.0.0-alpha.10
2023-12-31 07:24:40 +11:00
Lea Anthony
c531c714d4
Update vanilla+js template and dependencies
...
The frontend interaction has been significantly updated, including improvements to the Greet function and the addition of an ongoing time display. Additionally, dependencies in package.json have been updated to their latest versions. Also, redundant print statement was removed from messageprocessor_call.go and changes were made to layout structure and styles in the main.go.tmpl and index.html files.
2023-12-30 21:11:38 +11:00
Lea Anthony
d423c1c366
Fix drag logic
2023-12-30 21:05:17 +11:00
Lea Anthony
5b51e0fad3
@wailsio/runtime alpha.9 - Fix call responses.
2023-12-30 15:49:23 +11:00
Lea Anthony
4151deb9f6
Update milestones
2023-12-30 13:49:27 +11:00
Lea Anthony
d8f9ea7a33
Add NSIS to doctor checks
2023-12-29 20:13:23 +11:00
Lea Anthony
46127c8d4d
Support Typescript in JS Runtime module
2023-12-29 18:12:01 +11:00
Lea Anthony
8a12a32d31
Vanilla template: Update to use runtime module
2023-12-29 12:50:25 +11:00
Lea Anthony
9f567fe2bc
Application: increase message buffer sizes, process all messages in goroutine, Add IsDebug to environment info.
2023-12-29 12:48:26 +11:00
Lea Anthony
7f8c1c8a68
Remove redundant IPC endpoint.
...
Don't auto-inject runtime.
2023-12-29 12:42:03 +11:00
Lea Anthony
4a910a7197
Update Bindings Generation
...
Better flow for improved CLI output
Fixed number of methods calculation
2023-12-29 12:39:11 +11:00
Lea Anthony
4c3cbc3535
Update Wails runtime and increase version
...
The Wails runtime has been updated to correctly handle debug checks and the version in the package.json has been bumped to 3.0.0-alpha.6. Fixed reference to global wails object in WML.
2023-12-29 11:15:40 +11:00
Lea Anthony
0974a3ad18
Use relative paths in go.mod for replace line.
2023-12-28 19:33:37 +11:00
Lea Anthony
b08126d745
Radical JS runtime overhaul. New @wailsio/runtime package
2023-12-28 19:18:26 +11:00
Lea Anthony
d1255d3a9d
Support TS bindings. Update tests. Tidy up.
2023-12-23 08:49:58 +11:00
Lea Anthony
cf7537df01
Update roadmap documentation
2023-12-22 20:38:03 +11:00
Lea Anthony
3e419de86b
Add permalink to doc headers
2023-12-22 20:34:11 +11:00
Lea Anthony
2bb25b12ff
Update bindings generator to generate bindings in packages and files.
...
Remove unused JavaScript files
Update tests.
Update v3 docs
2023-12-22 20:01:42 +11:00
Lea Anthony
cdf4bdd2ba
Support generating enums from imported package
2023-12-20 08:06:35 +11:00
ALMAS
e0b8da86ed
[v3] export SetIcon method ( #3147 )
...
* export `SetIcon` method
* add change log
2023-12-19 23:43:28 +11:00
Lea Anthony
472288b2e3
Support generating bindings by name
2023-12-19 21:28:23 +11:00
ALMAS
51afac4f22
[v3/windows] Fix dpi scaling on start up ( #3145 )
...
* [v3/windows] Fix dpi scaling on start up
* add change log
2023-12-19 19:31:38 +11:00
Marcus Crane
daed4141f5
(v3/linux): Add Taskfile template entry for run:linux ( #3146 )
...
* Add Taskfile entry for run:linux, used by task dev
Signed-off-by: Marcus Crane <marcus@utf9k.net >
* Add updated CHANGELOG entry
Signed-off-by: Marcus Crane <marcus@utf9k.net >
* Correct CHANGELOG entry
---------
Signed-off-by: Marcus Crane <marcus@utf9k.net >
2023-12-19 19:29:46 +11:00
Lea Anthony
157c5e91fc
Move v3 updates into v3 changelog
2023-12-19 05:58:31 +11:00
Lea Anthony
e51e184cca
Merge branch 'master' into v3-alpha
...
# Conflicts:
# v2/internal/app/app_devtools_not.go
# website/src/pages/changelog.mdx
2023-12-19 05:55:08 +11:00
Lea Anthony
2b3c96ab3d
Fix hex keys5 ( #3140 )
...
* [v3 darwin] change hex values for arrow keys pulled from "Key Codes" app
* Update changelog
---------
Co-authored-by: Josh <josh@nerdy.co.nz >
2023-12-18 08:54:55 +11:00
Dmytro Manchynskyi
946b6020c9
Fix -compiler flag for build, dev and generate commands ( #3121 )
...
* Fix -compiler flag for build, dev and generate commands
* Update changelog and docs
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-12-18 07:54:44 +11:00
Lea Anthony
49a6b1aa3c
Update Test Go version. Update PR template.
2023-12-18 07:53:48 +11:00
Light
4b4fcdd47c
Added possibility to specify platform for dev command ( #3117 )
...
* Added possibility to specify platform for dev command
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-12-18 07:30:05 +11:00
Lea Anthony
5c1d62bb6a
Fixed IsZoomControlEnabled and ZoomFactor option docs ( #3137 )
...
* Fixed IsZoomControlEnabled and ZoomFactor options
* Update changelog
2023-12-17 20:14:14 +11:00
mJehanno
97e60e181e
Update templates.mdx ( #3135 )
...
add a new angular template in the list
2023-12-17 09:11:21 +11:00
Mark Snyder
1683e240d9
add gstreamer error documentation ( #3134 )
...
* add gstreamer error documentation
* add info to changelog
* add profile url
2023-12-17 09:09:58 +11:00
Lea Anthony
371e57588f
Update bindings example
2023-12-16 20:57:00 +11:00
Lea Anthony
182f43004a
Improved bindings generation: support JS Models.
2023-12-16 14:02:19 +11:00
Lea Anthony
dc5f0b6e7b
Update Changelog
2023-12-15 20:31:33 +11:00
Lea Anthony
772f0215a6
Remove quarantine attribute from bindings + compiled binary ( #3118 )
...
* Remove quarantine attribute from bindings + compiled binary
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2023-12-15 20:26:30 +11:00
Dilshod Fayzullayev
435aa99656
Add Uzbek README ( #3123 )
...
* 📝 Added README.uz-oz.md link
2023-12-15 20:22:51 +11:00
Yong Hui
8efaaffadb
feat: add windows options supports DisablePinchZoom configuration( #2021 ) ( #3115 )
...
* feat: add windows options supports `IsPinchZoomEnabled` configuration(#2021 )
* refactor: modify `IsPinchZoomEnabled` to `DisablePinchZoom` ensure default behavior is consistent
* docs: add `DisablePinchZoom` to changelog
* docs: update the description of `DisablePinchZoom` attributes in the document
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-12-15 20:21:50 +11:00
ALMAS
5f457dba8e
[v2/Mac] Add Apple Silicon hardware detection to wails doctor ( #3129 )
...
* [v2/Mac] Add Apple Silicon hardware detection to `wails doctor`
* add change log
2023-12-15 20:14:15 +11:00
github-actions[bot]
3aaa1f8e34
chore: update sponsors.svg ( #3122 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-12-13 23:15:03 +11:00
Lea Anthony
23c2660fb0
Fix relative links
2023-12-13 22:46:33 +11:00
Lea Anthony
ea409a2cb2
Improve documentation
2023-12-13 22:40:35 +11:00
Lea Anthony
984db8620a
Support enums in interface generation
2023-12-12 22:25:51 +11:00
Lea Anthony
995d9fdc9b
Update alpha 3 docs
2023-12-12 22:10:22 +11:00
Lea Anthony
4b04c10f14
Support bindings, model & enum generation
2023-12-12 21:51:40 +11:00
Yong Hui
aaa65ff7c2
docs: fix doc typos ( #3119 )
...
(cherry picked from commit acf55033e2e7dabb480fa3c00e18f945fcc18d93)
2023-12-12 20:38:30 +11:00
imgbot[bot]
5f412d0bfb
[ImgBot] Optimize images ( #3094 )
...
*Total -- 454.86kb -> 406.40kb (10.65%)
/website/static/img/showcase/snippetexpandergui-select-snippet.png -- 140.27kb -> 113.72kb (18.93%)
/website/static/img/showcase/snippetexpandergui-search-and-paste.png -- 86.16kb -> 70.75kb (17.88%)
/website/static/img/showcase/snippetexpandergui-add-snippet.png -- 36.61kb -> 30.74kb (16.04%)
/website/static/img/icon-linux-dark.svg -- 2.56kb -> 2.38kb (7.02%)
/v2/pkg/templates/templates/preact/frontend/src/assets/preact.svg -- 1.54kb -> 1.49kb (3.54%)
/website/static/img/sponsors.svg -- 187.71kb -> 187.32kb (0.21%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
2023-12-12 20:33:21 +11:00
Light
43c4966873
Update Alpha3 bindings status ( #3116 )
...
* Update alpha3-models.csv
* Update alpha3-bindings.csv
2023-12-11 21:34:34 +11:00
Lea Anthony
85fc3a3af6
Update csv status
2023-12-11 19:56:19 +11:00
Ali Torabi
aa8cd7ce67
Add the esp studio show case ( #3114 )
2023-12-11 19:05:27 +11:00
Lea Anthony
85d68cec55
Update csv status
2023-12-11 18:33:27 +11:00
Lea Anthony
89b5f0af20
v3.0.0-alpha.3
2023-12-11 08:43:32 +11:00
Lea Anthony
ae99d7a973
Update version in changelog
2023-12-10 10:41:14 +11:00
Lea Anthony
a632ac5068
v2.7.1
2023-12-10 10:25:14 +11:00
atterpac
e3af0945d0
Fix Nil pointer if GPU does not provide device info ( #3108 )
...
* Fix Nil pointer if GPU does not provide device info
* Updated changelog format
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-12-10 10:21:21 +11:00
Lea Anthony
975c55a3d5
Add better macos guard for elementFullscreenEnabled ( #3111 )
...
* Add better macos guard for elementFullscreenEnabled
* Disable go linters as they constantly error
* Run full check on bugfix branches
* Update to Go 1.20+1.21
* Update github.com/tc-hib/winres to v0.2.1
* Update setup-go to v4
* Try fix for Go 1.20
* Fix go.mod
* Update go sum
* Revert to builds on Go 1.18 + 1.19
* Update Go version to 1.19 for all workflows and modules
The Go version is updated to 1.19 across all GitHub Actions workflows and go.mod files. All builds and tests will now only run on Go 1.19, simplifying our build matrix, and ensuring we're testing on the latest stable Go version.
* Update build-and-test workflow for MacOS version and Go version
The build-and-test workflow has been updated to run tests on 'macos-11' in addition to 'macos-latest'. Furthermore, Go version for the tests has been set to '1.19' only.
* Update actions versions
* Move to go 1.20 and improve caching
* Move to go 1.20 and improve caching
* Add additional guards
2023-12-10 10:12:14 +11:00
Lea Anthony
c3d57d05c3
Update github.com/tc-hib/winres to v0.2.1
2023-12-10 07:40:00 +11:00
Lea Anthony
e9cc68fe3a
Update to Go 1.20+1.21
2023-12-10 07:34:49 +11:00
Lea Anthony
5d9fe49cf9
Include macos-11 build
2023-12-10 07:33:53 +11:00
Lea Anthony
fd3d1801ed
Run full check on bugfix branches
2023-12-10 07:32:48 +11:00
Lea Anthony
f517c8b980
Update README.md
...
Use updated starchart
2023-12-09 20:45:02 +11:00
YOSHIKI HIDAKA
73b547a730
update Star History Chart url ( #3106 )
2023-12-09 20:43:08 +11:00
Lea Anthony
6a8322cdb5
v2.7.0
2023-12-09 17:29:56 +11:00
github-actions[bot]
07fc8e3707
chore: update sponsors.svg ( #3105 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-12-09 11:20:45 +11:00
Light
659f3fa8e2
Update WSL alpha2 support ( #3097 )
...
* Update WSL alpha2 support
* fixed missing colons
* change dev to partial support and fix more typos
2023-12-05 21:21:20 +11:00
venkadeshshiva
4cbc7f3eec
added wails-template-nextjs-app-router under react ( #3082 )
2023-12-04 18:51:27 +11:00
gurshan
a1f067377f
add .gitignore modification to sveltekit doc ( #3074 )
...
* add gitignore modification to sveltekit doc
* Fix Typo
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-12-04 18:49:34 +11:00
github-actions[bot]
3c5d850a30
chore: update sponsors.svg ( #3088 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-12-04 18:47:20 +11:00
semgrep.dev on behalf of @leaanthony
92c9f546eb
Add Semgrep CI
2023-12-03 21:42:21 +00:00
github-actions[bot]
7d14a75ff3
chore: update sponsors.svg ( #3085 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-29 19:25:54 +11:00
Lea Anthony
8242834fbd
[windows] improvements to dev
2023-11-27 21:24:58 +11:00
Lea Anthony
814e1ec059
[windows] initial wails dev support
2023-11-27 20:38:42 +11:00
Marcus Crane
5547792b68
Update Gon usage to reflect Bearer fork ( #3063 )
...
Signed-off-by: Marcus Crane <marcus@utf9k.net >
2023-11-27 19:27:32 +11:00
Andrey Pshenkin
b2839ed719
Pass obfuscation settings from wails.json ( #3080 )
...
* pass obfuscation settings from wails.json
* add to changelog
2023-11-26 23:14:50 +11:00
Andrey Pshenkin
674042df36
fix obfuscated build binding ordering ( #3071 )
...
* fix obfuscated build binding ordering
* remove unused string method
* add to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-11-26 07:16:24 +11:00
Andrey Pshenkin
b9de31e38e
Add support for interface generation and enums ( #3047 )
...
* Add support to output ts models as interfaces
* Add support to generate enums from golang
* cleanup logs
* add missing documentation
* fix package names for enum. Fix processing enums that are in separate packages
* revert golang 1.21
* Fix spelling
* Add support for simplified version of Enum for typescriptify
* update docs
* removed unused logs
* Add tests. Fix imported enums types in models
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-11-26 06:50:49 +11:00
Ian M. Jones
929dfb4123
docs: add Snippet Expander to Showcase ( #3079 )
...
* docs: add Snippet Expander to Showcase
* Remove package-lock.json
2023-11-26 05:05:02 +11:00
github-actions[bot]
11fdc6a558
chore: update sponsors.svg ( #3072 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-23 22:14:48 +11:00
Lea Anthony
12efb8b981
Update default taskfile. WIP linux packaging
2023-11-20 20:41:17 +11:00
Lea Anthony
b9558cc3cb
Update default taskfile. WIP linux packaging
2023-11-18 13:08:59 +11:00
Lea Anthony
022baad9e5
Update default taskfile. Update copyright symbol
2023-11-17 21:53:45 +11:00
dependabot[bot]
801cf3c84a
Bump sharp and sponsorkit in /scripts/sponsors ( #3060 )
...
Bumps [sharp](https://github.com/lovell/sharp ) to 0.32.6 and updates ancestor dependency [sponsorkit](https://github.com/antfu/sponsorkit ). These dependencies need to be updated together.
Updates `sharp` from 0.31.3 to 0.32.6
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.31.3...v0.32.6 )
Updates `sponsorkit` from 0.8.2 to 0.8.9
- [Release notes](https://github.com/antfu/sponsorkit/releases )
- [Commits](https://github.com/antfu/sponsorkit/compare/v0.8.2...v0.8.9 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: indirect
- dependency-name: sponsorkit
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-17 20:04:22 +11:00
Lea Anthony
9629b1414e
Improve default taskfile
2023-11-16 22:59:04 +11:00
Lea Anthony
ea44cf850c
Improve default taskfile
2023-11-16 22:53:52 +11:00
Lea Anthony
61c8c9eac0
Improve default taskfile
2023-11-16 22:48:08 +11:00
Lea Anthony
c89f59dc7c
Update nav
2023-11-16 09:00:39 +11:00
Lea Anthony
1fed110afd
Update bug reporting docs
2023-11-16 08:52:00 +11:00
Lea Anthony
4ea6a2d120
Support wails package on Windows
2023-11-15 20:45:38 +11:00
Travis McLane
f84bb6a287
chore: update alpha2 status linux
2023-11-13 09:18:27 -06:00
Lea Anthony
869a6f761a
[docs] Update alpha2 status
2023-11-12 21:47:00 +11:00
Lea Anthony
2d3029482d
[docs] Update alpha2 status
2023-11-12 21:45:57 +11:00
Lea Anthony
250e9f91ba
[darwin] Wrappers for init, build, dev, package. Refactored default Taskfile.
2023-11-12 21:41:10 +11:00
Lea Anthony
df49f49c60
v3.0.0-alpha.2
2023-11-12 21:37:09 +11:00
Lea Anthony
3e0ff5edbd
[darwin] Update docs
2023-11-12 20:16:19 +11:00
Lea Anthony
1142e81348
[darwin] fix CATransaction errors. Update docs.
2023-11-12 17:06:11 +11:00
Lea Anthony
ae38d1e020
Fix taskfile in templates. Sanitize the project name
2023-11-12 16:36:01 +11:00
Lea Anthony
eefeadc018
[darwin] fix hiding in window example
2023-11-12 16:13:09 +11:00
Lea Anthony
4593b52863
Include javascriptcore lib for build
2023-11-12 15:59:56 +11:00
Lea Anthony
7333ca6c61
Change order of steps for build
2023-11-12 15:51:17 +11:00
Lea Anthony
5b5a4ba4cc
Fix windows build
2023-11-12 14:23:13 +11:00
Lea Anthony
9af14015e4
[chore] add javascriptcoregtk dep in actions
2023-11-12 14:07:11 +11:00
Lea Anthony
4efc8e358d
[chore] fix go.mod
2023-11-12 14:04:48 +11:00
Lea Anthony
ef80562a0f
[chore] fix go.mod
2023-11-12 14:01:48 +11:00
Lea Anthony
9ce0ddb4f8
[chore] lint fixes
2023-11-12 12:30:49 +11:00
github-actions[bot]
d88a741ce7
chore: update sponsors.svg ( #3053 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-12 11:45:55 +11:00
Lea Anthony
0b48c3456b
[linux] Add webkit version detection + capabilities
2023-11-12 08:21:31 +11:00
Lea Anthony
1f16655769
[linux] Allow devtools by default
2023-11-11 19:05:03 +11:00
Travis McLane
b8d780ba4a
Feature/template consolidation ( #3046 )
...
* remove 'test' project
* dynamic template list generation
- uses a single fs.Embed to contain all templates
- walks and rebuilds the list of TemplateData using the cached data
- pulls the `description` out of the required `template.json` file in
the template directory
* [v3] template handling update
- move "common" template files to a _common directory
- update generator to render from _common/* first
- render selected template last to overwrite anything provided by
_common if needed
- remove duplicate files from all templates that do not change
* cleanup template project directory after test
* add linux to _common/Taskfile.yaml
* noop: whitespace cleanup _common/Taskfile.yaml
2023-11-11 12:26:28 +11:00
github-actions[bot]
c76ced7daa
docs: sync translations ( #3041 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-10 14:23:47 +11:00
Travis McLane
965460edb7
[v3 linux] update status matrix
2023-11-09 21:12:56 -06:00
Travis McLane
53ea6511fc
[v3 linux] correct bug in getScreenByIndex
2023-11-09 21:11:35 -06:00
dependabot[bot]
fc46455526
Bump golang.org/x/image from 0.5.0 to 0.10.0 in /v2 ( #3023 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.5.0 to 0.10.0.
- [Commits](https://github.com/golang/image/compare/v0.5.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 10:27:33 +11:00
Lykin
70b7aa1ec2
add Tiny RDM to showcase ( #3030 )
2023-11-09 22:08:02 +11:00
Light
eae73dfa18
Update roadmap.md ( #3044 )
...
Fix weird characters on roadmap page, seems funky to me.
2023-11-09 21:55:19 +11:00
Travis McLane
27c4c5e6f6
[v3 linux] bail early if bad dbus message
...
Need at least two elements to decide what theme it is and if it is
a theme message at all.
Addresses #3040
2023-11-08 22:41:35 -06:00
Travis McLane
6f197f67f1
[linux] remove deprecated version of webkit callback handling
2023-11-08 22:31:05 -06:00
Light
412c3a5ed1
update windows drag and drop to working ( #3039 )
...
* update windows drag and drop to working
* add pr to changelog
2023-11-08 22:36:47 +11:00
github-actions[bot]
03545e33d9
docs: sync translations ( #3001 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-11-08 21:06:11 +11:00
github-actions[bot]
e32c2b05e4
chore: update sponsors.svg ( #3038 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-08 20:00:03 +11:00
Travis McLane
385b1dbfd4
[linux] implement 'script-message-received' handling
...
- use unsafe.Pointers for 'signal_connect'
- add handler for 'script-message-received::external'
need to update this to handle older versions of webkit2gtk better
currently removed the ifdef guards (since they don't work in Go code
directly) - need to reimplement using build tags if required.
2023-11-06 23:29:03 -06:00
Travis McLane
0a4c596ecb
[v3 darwin] typecast as ApplicationEventType
2023-11-06 12:20:10 -06:00
Travis McLane
d2e0e0ed81
[v3 windows] avoid casting ApplicationEvent as int
2023-11-06 12:14:18 -06:00
Travis McLane
f787cf4bc2
[v3 linux] show dev tools if OpenInspectorAtStartup=true
2023-11-06 12:04:20 -06:00
Travis McLane
ca21a3b79d
[v3 linux] initial pass at event generation
2023-11-06 10:49:14 -06:00
Travis McLane
a773da2651
[v3 linux] use dbus for monitoring theme changes
2023-11-06 10:49:14 -06:00
Travis McLane
1a90b45f18
add linux status for examples
2023-11-06 10:49:14 -06:00
Travis McLane
9f6cd35155
[v3 linux] stop key-press event propagation
2023-11-06 10:49:14 -06:00
atterpac
f122db2e7b
Linux Keybinds
...
- Adds getKeyboardState into linux_cgo to parse keypress event and transfer it into
an accelerator for the handleKeyEvent using GDK keycodes
2023-11-06 10:49:11 -06:00
Travis McLane
d65f1b1647
[v3 docs] update status.md
2023-11-06 10:48:42 -06:00
Travis McLane
0fc535f2f1
[v3 linux] contextMenus
2023-11-06 10:41:14 -06:00
Travis McLane
e420900e55
[v3 examples] go.* update
2023-11-06 10:41:14 -06:00
Travis McLane
0cd64d1fbc
[v3 linux] noop: remove commented code
2023-11-06 10:41:14 -06:00
Travis McLane
46a0030387
[v3] noop: gofmt changes
2023-11-06 10:41:14 -06:00
Travis McLane
495da9b292
[v3 linux] implement logPlatformInfo
2023-11-06 10:41:14 -06:00
Travis McLane
efb300c9f0
[v3] update go.sum
2023-11-06 10:41:14 -06:00
Travis McLane
7f1706fc74
[v3 examples/build] Taskfile update
...
- add Linux production build
- remove OS X env from basic build
2023-11-06 10:41:14 -06:00
Travis McLane
8dbbdc4bf2
[v3 linux] sanitize appId more thoroughly
2023-11-06 10:41:14 -06:00
Light
7c15f9098c
Add extra check for GPU device info for null pointer ( #3032 )
...
* add check for GPU device info
* add changelog note
* change return to continue
* Small refactor
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-11-06 20:51:03 +11:00
github-actions[bot]
57c04ba740
chore: update sponsors.svg ( #3034 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-06 20:46:14 +11:00
Lea Anthony
36a3e90b1d
Small doc fixes
2023-11-05 19:34:22 +11:00
Lea Anthony
3882201434
Add mkdocs-static-i18n dep
2023-11-05 18:13:20 +11:00
Lea Anthony
857bf40072
Update parser and bindings generation
...
Update tests
2023-11-05 18:06:11 +11:00
Lea Anthony
075eb1fa3f
Update parser and bindings generation
...
Update tests
2023-11-05 18:02:36 +11:00
Lea Anthony
dbb7c6e7d0
Update docs workflow
2023-11-05 15:05:44 +11:00
Lea Anthony
947d429688
Build status table from CSV
2023-11-05 14:42:32 +11:00
Andrey Pshenkin
426a569c89
Fix single instance lock for macOS sandbox app ( #3029 )
...
* fix single instance lock for sandbox app
* fix single instance lock for sandbox app
2023-11-05 14:10:01 +11:00
Denis Bernard
08e12de2a0
linux: workaround for #2977 ( #3027 )
...
In NewWindow, set options.Linux.WebviewGpuPolicy to WebviewGpuPolicyNever
if options.Linux is nil, disabling GPU acceleration by default on linux
until the upstream bugs https://bugs.webkit.org/show_bug.cgi?id=228268
and https://bugs.webkit.org/show_bug.cgi?id=261874 are fixed.
2023-11-04 18:03:12 +11:00
Bruno Borges
0a63215cde
Resource efficient will often mean CPU/memory. Here, it saves download size. ( #3028 )
2023-11-04 06:55:03 +11:00
Lea Anthony
f49d42678b
Add todo project list
2023-11-03 15:41:17 +11:00
Lea Anthony
f28c9515ad
Update installation instructions
2023-11-02 20:53:59 +11:00
Andrey Pshenkin
ae688aa07d
Implement custom protocol association support ( #3000 )
...
* implement MacOS openFile/openFiles events
* wip: windows file association
* fix macro import
* add file icon copy
* try copy icon
* keep only required part of scripts
* update config schema
* fix json
* set fileAssociation for mac via config
* proper iconName handling
* add fileAssociation icon generator
* fix file association icons bundle
* don't break compatibility
* remove mimeType as not supported linux for now
* add documentation
* adjust config schema
* restore formatting
* try implement single instance lock with params passing
* fix focusing
* fix focusing
* formatting
* use channel buffer for second instance events
* handle errors
* add comment
* remove unused option in file association
* wip: linux single instance lock
* wip: linux single instance
* some experiments with making window active
* try to use unminimise
* remove unused
* try present for window
* try present for window
* fix build
* cleanup
* cleanup
* implement single instance lock on mac os
* implement proper show for windows
* proper unmimimise
* get rid of openFiles mac os. change configuration structure
* remove unused channel
* remove unused function
* add documentation for single instance lock
* add PR link
* wip mac os deeplinks
* put custom url listner on top to catch link on app opening
* put custom url listner on top to catch link on app opening
* try add custom url windows
* adjust custom url
* add docs
* merge master
* update documentation
* add comment for darwin
* add PR link
* change naming
* change naming
* change naming
* change naming
* fix formatting
* fix naming
* Fix typo
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-11-02 20:26:05 +11:00
github-actions[bot]
e960798e85
chore: update sponsors.svg ( #3019 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-11-01 20:02:59 +11:00
Travis McLane
c6ecbd56e5
[v3 examples/bindings] correct binding output + example
...
- disable output of `import <model> from models` line
- update README to generate bindings in usable location for HTML
- update HTML to reference bindings correctly
- update javascript to call and process the bound Greet function
2023-10-31 17:24:00 -05:00
Travis McLane
144567410d
[v3 linux] disable noisy onKeyPressEvent handler
2023-10-31 17:22:36 -05:00
Travis McLane
1b850662ed
[v3 example/bindings] enable DevTools
2023-10-31 17:15:16 -05:00
Travis McLane
c7c4cacc29
[v3 linux] auto-toggle devtools (if enabled)
2023-10-31 17:15:16 -05:00
Travis McLane
7e63355353
[v3 linux] correct type of window
2023-10-31 17:08:12 -05:00
Lea Anthony
93335d7661
update docs
2023-11-01 08:05:17 +11:00
Travis McLane
01652c7940
[v3 linux] update devtools behavior to match win/mac
2023-10-31 14:02:36 -05:00
Travis McLane
b379e3b0eb
Revert "Merge branch 'linux-keycodes' into v3-alpha"
...
This reverts commit a2fde7f2c3 , reversing
changes made to 985c5bf8e2 .
2023-10-31 11:09:11 -05:00
github-actions[bot]
d96ec5d332
chore: update sponsors.svg ( #3016 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-31 20:55:47 +11:00
Travis McLane
a2fde7f2c3
Merge branch 'linux-keycodes' into v3-alpha
2023-10-30 10:31:11 -05:00
Atterpac
2beb452207
Update changelog.md
2023-10-30 10:28:24 -05:00
Michael Capretta
73384a562b
Add Linux Keycodes that match existing strings for keybinds
2023-10-30 10:27:21 -05:00
biuaxia
0533d2e208
Update options.mdx ( #3013 )
...
Change the ZoomFactor and IsZoomControlEnabled in the document to the location of the new version
2023-10-30 23:54:03 +11:00
biuaxia
b328f60172
Update changelog.mdx ( #3014 )
2023-10-30 23:53:21 +11:00
github-actions[bot]
ac560a6526
chore: update sponsors.svg ( #3010 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-30 19:49:25 +11:00
Lea Anthony
985c5bf8e2
[darwin] Support Ignore mouse events
...
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
多啦b梦
2693de6822
I developed a window designer software that I hope can be added to the template window designer free open source designed specifically for wails ( #3006 )
2023-10-29 19:16:33 +11:00
github-actions[bot]
3c39b674d3
chore: update sponsors.svg ( #3005 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-29 18:53:59 +11:00
Lea Anthony
daec8a9a64
Update installation instructions
2023-10-29 15:40:06 +11:00
Lea Anthony
f88a7a6f99
Update installation instructions
2023-10-29 15:34:12 +11:00
Lea Anthony
dc16d145c2
Update installation instructions
2023-10-29 15:31:26 +11:00
Lea Anthony
8432ddc2a8
Update installation instructions
2023-10-29 15:25:34 +11:00
Lea Anthony
d072393149
Add another CNAME file (thanks ghpages :/)
2023-10-29 10:03:33 +11:00
Lea Anthony
a8e95bf7f1
Add another CNAME file (thanks ghpages :/)
2023-10-29 09:57:38 +11:00
Lea Anthony
1735bdc9a2
Update roadmap link
2023-10-29 09:49:30 +11:00
Lea Anthony
f00685d592
Add CNAME
2023-10-29 09:48:37 +11:00
Lea Anthony
ee194f3e46
Update docs
2023-10-29 09:39:47 +11:00
Lea Anthony
82a9c5b1dd
Update docs
2023-10-28 17:26:29 +11:00
Lea Anthony
fdd8875986
Update docs
2023-10-28 15:54:42 +11:00
Lea Anthony
3b50e0cbc5
Update docs
2023-10-28 15:44:36 +11:00
Lea Anthony
fb7fda2256
Upgrade mkdocs
2023-10-28 12:22:21 +11:00
Lea Anthony
d9beb6126e
Add CNAME
2023-10-28 11:54:03 +11:00
Travis McLane
a81581129a
[v3 linux] menu bitmap update handling
2023-10-27 16:45:10 -05:00
Travis McLane
e95a91861a
[v3 linux] noop: cleanup
2023-10-27 16:45:10 -05:00
Travis McLane
fa5948f40e
use windowId to avoid miscompilation
2023-10-27 15:46:25 -05:00
Travis McLane
ad4c8aacfb
[v3 linux] keypress handling stubout
2023-10-27 14:41:22 -05:00
Travis McLane
afbc09f1e7
[v3 linux] menuItem.setBitmap support
2023-10-26 16:56:06 -05:00
Travis McLane
1a1e5b743a
[v3 linux] dbus menu icon support
2023-10-26 16:56:06 -05:00
Lea Anthony
24853a7e3b
Add events README.md
2023-10-25 20:17:41 +11:00
Lea Anthony
1ce83913bd
Fix permissions build issues
2023-10-25 20:06:53 +11:00
Lea Anthony
1650e26da7
[windows] dnd fixes
2023-10-25 20:04:00 +11:00
Travis McLane
bc01fd8ea3
[v3 windows] hide go-webview2 from non-windows
2023-10-24 15:40:58 -05:00
stffabi
afe922a4e3
[go-webview2] Bump to 1.0.10 ( #3002 )
2023-10-24 17:59:39 +11:00
Andrey Pshenkin
c24bd5e3e8
Implement Single instance lock feature with passing arguments to initial instance ( #2951 )
...
* implement MacOS openFile/openFiles events
* wip: windows file association
* fix macro import
* add file icon copy
* try copy icon
* keep only required part of scripts
* update config schema
* fix json
* set fileAssociation for mac via config
* proper iconName handling
* add fileAssociation icon generator
* fix file association icons bundle
* don't break compatibility
* remove mimeType as not supported linux for now
* add documentation
* adjust config schema
* restore formatting
* try implement single instance lock with params passing
* fix focusing
* fix focusing
* formatting
* use channel buffer for second instance events
* handle errors
* add comment
* remove unused option in file association
* wip: linux single instance lock
* wip: linux single instance
* some experiments with making window active
* try to use unminimise
* remove unused
* try present for window
* try present for window
* fix build
* cleanup
* cleanup
* implement single instance lock on mac os
* implement proper show for windows
* proper unmimimise
* get rid of openFiles mac os. change configuration structure
* remove unused channel
* remove unused function
* add documentation for single instance lock
* add PR link
* changes after review
* update docs
* changes after review
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-23 21:31:56 +11:00
Lea Anthony
3422c40e19
[windows] ignore mouse events
2023-10-23 20:58:55 +11:00
Lea Anthony
e661052c89
[windows] support permissions
2023-10-23 20:50:25 +11:00
Lea Anthony
ff08a5ca2b
[windows] html fullscreen support
2023-10-23 20:49:21 +11:00
github-actions[bot]
a59f8b2cf3
docs: sync translations ( #2893 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-23 20:38:03 +11:00
stffabi
30d17a760d
[assetserver] Inject runtime/IPC into all index html files ( #2203 )
...
It will also be injected into all html files returned when requesting a folder path.
2023-10-23 20:35:18 +11:00
5aaee9
f8250fb0d8
darwin: add event ApplicationShouldHandleReopen ( #2991 )
...
* darwin: add ApplicationShouldHandleReopen
* docs: update changelog with mr id
* events: update id
* feat: always return true
* Merge v3-alpha and regenerate events
* darwin: allow pass nsdirectory to processApplicationEvent
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-22 21:12:12 +11:00
Lea Anthony
d1c3f8af7a
[darwin] Fix menu icon
2023-10-22 14:34:04 +11:00
Lea Anthony
36b4b3695b
Initial menu item bitmap support
2023-10-22 09:32:04 +11:00
Andrey Pshenkin
6c46f6b41c
Implement file association Open a file from Finder/Explorer ( #2918 )
...
* implement MacOS openFile/openFiles events
* wip: windows file association
* fix macro import
* add file icon copy
* try copy icon
* keep only required part of scripts
* update config schema
* fix json
* set fileAssociation for mac via config
* proper iconName handling
* add fileAssociation icon generator
* fix file association icons bundle
* don't break compatibility
* remove mimeType as not supported linux for now
* add documentation
* adjust config schema
* restore formatting
* remove unused option in file association
* get rid of openFiles mac os. change configuration structure
* remove unused channel
* fix documentation
* fix typo
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-22 06:44:38 +11:00
Yuki Shindo
42708e7f40
Update README.ja.md ( #2764 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 20:50:39 +11:00
多啦b梦
63c9baa466
Add tips to solve the problem that macos cannot be compiled. ( #2925 )
...
* Add tips to solve the problem that macos cannot be compiled.
* Add tips to solve the problem that macos cannot be compiled.
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 20:29:29 +11:00
Lea Anthony
ee4ce1d3ef
Add mac compile error troubleshooting tip
2023-10-21 20:24:56 +11:00
TuffenDuffen
a9fb0713a1
Update zypper.go ( #2941 )
...
* Update zypper.go
* Update changelog.mdx
2023-10-21 16:50:02 +11:00
Mike
b42a18be6b
feat: add golangci workflow with some linters ( #2957 )
...
This implements the golangci-lint workflow to new PRs.
It includes a limited number of enabled linters including:
- errcheck
- errname
- gofmt
- gofumpt
- gosimple
- misspell
Signed-off-by: mikeee <hey@mike.ee >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 16:47:02 +11:00
dependabot[bot]
3e938a10aa
Bump undici from 5.21.0 to 5.26.3 in /scripts/sponsors ( #2987 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.21.0 to 5.26.3.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.21.0...v5.26.3 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 16:43:21 +11:00
dependabot[bot]
b9fc72bbc8
Bump @babel/traverse from 7.21.4 to 7.23.2 in /website ( #2992 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.21.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 16:33:39 +11:00
Atterpac
fb17ec8064
Allow Wails3 Doctor recognize globally installed apt packages ( #2972 )
...
* Fixes doctor bug for apt package manager
* Actually fix it
* Pad the text " all"
Adding a space to ensure checking against "all" doesn't always catch "install" or "not-installed" etc
* Update changelog.md
Doctor Apt Verify
---------
Co-authored-by: atterpac <michael@atterpac.dev >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 16:32:50 +11:00
Carl Seleborg
b5406cb13e
Add missing runtime.UnlockOSThread() ( #2994 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-21 16:30:48 +11:00
Lea Anthony
51f52656cc
Update go-webview2 version
2023-10-21 12:02:19 +11:00
Travis McLane
18746c7819
V3 alpha linux dbus ( #2996 )
...
* [v3 linux/systray] dbus generation
* [v3 linux] systemtray dbus implementation
* [v3] add 'id' for MenuSeparator
This is needed in order to have a unique value for all
menuItem(s) such that the Linux implementation doesn't have to
generate new identifiers.
Allowing the reuse keeps a 1-1 mapping in place without any extra effort.
* [v3 example/systray] add radio group to example
* [v3 linux] stub out ExportStatusNotifierItem callbacks
Can only seem to get the `SecondaryActivate` to fire when doing a
3-finger click! I was expecting a right-click interaction to trigger it.
2023-10-21 11:39:46 +11:00
Lea Anthony
8463c01123
[windows] Drag-n-drop support
2023-10-21 11:21:10 +11:00
Lea Anthony
8e0671306a
Mac examples + readme updated
2023-10-17 20:25:36 +11:00
Lea Anthony
131a6da554
Fix resize on windows
2023-10-16 19:29:42 +11:00
Lea Anthony
d51268b8d0
Add basic hardware detection to wails doctor
2023-10-15 20:15:19 +11:00
Lea Anthony
59273fcdab
Add basic hardware detection to wails doctor
2023-10-15 20:02:29 +11:00
Lea Anthony
7795a2a46f
Fix modifier processing on windows.
...
Move info logs to debug.
2023-10-15 13:53:31 +11:00
Lea Anthony
2269f64b0a
Fix build output name
2023-10-15 12:52:13 +11:00
Lea Anthony
439da97573
Fix go version
2023-10-15 12:48:11 +11:00
Lea Anthony
2b478a4608
More workflow improvements
2023-10-15 12:42:49 +11:00
Lea Anthony
3b95725f09
Try caching in workflow
2023-10-15 10:48:42 +11:00
Lea Anthony
3a23ad1382
Fix example building. Update workflow
2023-10-15 10:43:39 +11:00
Lea Anthony
61a7f1fba5
Reformat changelog
2023-10-15 09:33:48 +11:00
5aaee9
a8641672cd
[v3] fix deadlock when quit ( #2982 )
...
* fix: dead lock when quit
* docs: update changelog
2023-10-14 20:34:00 +11:00
Light
4b376bcf0d
Add new htmx/templ template ( #2984 )
...
* Add new htmx/templ template
* update template name
* Add new template changelog item
2023-10-14 17:10:33 +11:00
dependabot[bot]
8efa4698cf
Bump golang.org/x/net from 0.10.0 to 0.17.0 in /v2/examples/customlayout ( #2980 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
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-14 11:43:38 +11:00
dependabot[bot]
45c6f73132
Bump golang.org/x/net in /v2/internal/staticanalysis/test/standard ( #2981 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
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-14 11:43:16 +11:00
dependabot[bot]
d4500e89e2
Bump golang.org/x/net from 0.10.0 to 0.17.0 in /v2 ( #2979 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 11:43:03 +11:00
github-actions[bot]
7637833898
chore: update sponsors.svg ( #2974 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-14 08:34:15 +11:00
资深菜鸟
a774459cd7
Update templates.mdx ( #2976 )
...
Add a template for Wails with Vite + Vue + TypeScript + NavieUI + Pinia.
2023-10-12 23:20:11 +11:00
Lea Anthony
320fc20461
Add example build test windows fix
2023-10-12 21:18:42 +11:00
Lea Anthony
69f05c39ec
Add example build test
2023-10-12 21:15:41 +11:00
Lea Anthony
e55ffedc35
Add example build test
2023-10-12 21:13:53 +11:00
Lea Anthony
0577fefd75
Remove Browser plugin. Update plugin example
2023-10-12 08:41:18 +11:00
Lea Anthony
02713670c9
Custom icon shows app icon
2023-10-11 21:29:40 +11:00
Lea Anthony
e6de878395
Move server plugin to experimental dir
2023-10-11 20:25:56 +11:00
Lea Anthony
4c75b288bb
Add BrowserOpenURL and BrowserOpenFile to App.
...
Better WML assets for demo
Fix dialog responses.
Add `wml-openurl`
Rename: data-wml -> wml
Fix Alpha Feedback URL
2023-10-11 20:23:59 +11:00
Travis McLane
263e1b527a
[v3 linux] lower signal memory usage
...
- drop the gtkSignalHandlers map entirely (wasn't used)
- use 'uint' for mapping signal IDs to MenuItem
- store and retrieve the menuitem identifier to/from the menu item widget
2023-10-10 12:38:10 -05:00
Lea Anthony
3d88bf8795
Fix context menu issues.
...
Fix WindowID for requests on windows.
Add `Windows.ApplicationStarted` event
2023-10-10 21:48:47 +11:00
Lea Anthony
740b2b0979
Fix windows icon for about box.
...
Add NewRGBA and NewRGB methods.
Added README.md to all examples.
Add roadmap.md to docs
2023-10-09 20:56:19 +11:00
github-actions[bot]
90c9186dc6
chore: update sponsors.svg ( #2967 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-09 19:15:14 +11:00
Lea Anthony
2b843fc12e
Update contextmenus/dev example
2023-10-09 17:38:46 +11:00
Lea Anthony
473cf1cae3
Update window example
2023-10-09 17:38:22 +11:00
Lea Anthony
65d4266400
Update systray example
2023-10-09 17:38:11 +11:00
Lea Anthony
8d5b86fff7
Update dialogs example
2023-10-09 17:38:03 +11:00
Lea Anthony
92843c8237
Update clipboard example
2023-10-09 17:37:50 +11:00
Lea Anthony
13b588b555
Update build example
2023-10-09 17:37:40 +11:00
Lea Anthony
839a9ff498
Update bindings example
2023-10-09 17:37:21 +11:00
Lea Anthony
ef8c16d773
Fix bindings help text
2023-10-09 17:36:58 +11:00
Lea Anthony
602fafafea
[windows] Better corner detection for frameless windows
2023-10-09 17:36:32 +11:00
Lea Anthony
83ed7fd2df
[windows] Fix production logger. Add alpha assets
2023-10-09 17:36:06 +11:00
Lea Anthony
f07e4093be
[windows] Don't show menu for frameless window
2023-10-09 17:35:28 +11:00
Lea Anthony
bf13afd895
[windows] Fix dialog icon
2023-10-09 17:34:56 +11:00
Lea Anthony
9ffc06d42e
Update Task to v3.31.0. Update deps.
2023-10-09 10:39:09 +11:00
Sean
79db5a4657
docs: troubleshooting tips for cross-account admin perms and "Microsoft Edge can't read or write to its data directory" error ( #2931 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-08 20:45:13 +11:00
dependabot[bot]
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
dependabot[bot]
1f4b578bce
Bump postcss from 8.4.21 to 8.4.31 in /website ( #2963 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 8.4.21 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.21...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:42:57 +11:00
Lea Anthony
ebe91ba11d
[darwin] Disable listener caching. Run execJS on main thread.
2023-10-07 20:08:22 +11:00
Lea Anthony
48aef46f57
[darwin] Quick event fix
2023-10-07 12:28:50 +11:00
Lea Anthony
c77c823c3c
Revert "[linux] Implement events"
...
This reverts commit 8ddd29d285 .
2023-10-07 12:21:49 +11:00
Nenba Jonathan
d0b0b5d594
Add French README page ( #2943 )
...
* add french readme to the projet
* add french link to the other readme
* fix some typo in the table of contents
* fix markdown auto correct
* added change in changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-10-07 08:57:03 +11:00
Travis McLane
ccccea1e50
[v3] go mod tidy
2023-10-06 15:03:36 -05:00
Travis McLane
a6163849c6
[v3 linux] match windows transparency logic
2023-10-06 14:38:38 -05:00
Travis McLane
130aab3598
[v3 linux] systray stubout
...
slim down the printouts and fix compilation
2023-10-05 17:25:45 -05:00
Travis McLane
78b85ce0cc
[v3 linux] systray not implemented
2023-10-05 14:04:13 -05:00
Travis McLane
dbcf65b2d6
Revert "Merge branch 'v3-alpha-linux-systray' into v3-alpha"
...
This reverts commit 92b26488da , reversing
changes made to 1c48d567e1 .
2023-10-05 08:34:12 -05:00
Lea Anthony
d8e27aa5f9
Fix svelte template
2023-10-05 21:12:01 +11:00
Lea Anthony
ce6d587771
Fix multiple window weirdness. Update deps
2023-10-05 20:54:12 +11:00
Lea Anthony
81d7bc2d68
Fix vue templates
2023-10-05 20:13:50 +11:00
Lea Anthony
a49350f300
[windows] Remove unused code.
2023-10-05 20:12:28 +11:00
Lea Anthony
9ac6359e56
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
2023-10-05 19:19:26 +11:00
Lea Anthony
5958d9c646
[windows] Serve assets async
2023-10-05 19:18:32 +11:00
github-actions[bot]
c0d2c0447c
chore: update sponsors.svg ( #2961 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-10-04 22:30:09 +11:00
Lea Anthony
9b88c8afda
Merge branch 'master' into v3-alpha
...
# Conflicts:
# v2/internal/app/app_devtools.go
# v2/internal/app/app_devtools_not.go
2023-10-04 20:23:23 +11:00
Lea Anthony
1b71fef89f
Update v3 website frontpage
2023-10-04 20:22:20 +11:00
Lea Anthony
8ddd29d285
[linux] Implement events
2023-10-03 08:37:11 +11:00
Lea Anthony
dc8cbcf410
[darwin] Refactor events into mac specific files
2023-10-03 08:33:58 +11:00
Travis McLane
757a4383e6
[v3] send dialog results over channels
2023-10-02 11:07:12 -05:00
Travis McLane
7c98ee329a
[v3] move linux clipboard logic to linux_cgo
2023-10-02 11:07:12 -05:00
Lea Anthony
9d615463f4
[linux] support clipboard
2023-10-02 20:47:04 +11:00
Fadi Khadra
f6c82dcaba
[v2 mac] add fullscreen option to preference ( #2953 )
...
* [v2 mac] add fullscreen option to preference
* update changelog
* replace space by tabs
2023-10-02 07:05:25 +11:00
Lea Anthony
1c9765096d
Add webview2 error message to troubleshooting
2023-10-01 23:45:30 +11:00
Lea Anthony
aea0db5919
[linux] Fix packagemap
2023-09-30 21:17:30 +10:00
Lea Anthony
fc593d90cf
Export Package map
2023-09-30 21:09:35 +10:00
Lea Anthony
2524f7b5a0
Remove old KitchenSink example
2023-09-30 21:09:10 +10:00
Lea Anthony
5a0cb1baef
Fix svelte-ts template
2023-09-30 21:04:00 +10:00
ALMAS
18ee469c47
[v2/Mac] Change Window Level ( #2944 )
...
* Change Window Level in Mac
2023-09-30 20:59:50 +10:00
Lea Anthony
255690eee0
[darwin] Add webview preferences
2023-09-30 15:23:56 +10:00
Lea Anthony
86b6e10620
[darwin]AlwaysOnTop: NSStatusWindowLevel -> NSFloatingWindowLevel
2023-09-30 14:27:48 +10:00
Travis McLane
b757292211
[v3 darwin] use NativeWindowHandle
2023-09-29 12:13:51 -05:00
Travis McLane
af54419a0b
[v3] use concrete *WebviewWindow
2023-09-29 11:40:43 -05:00
Travis McLane
7b84b1c79c
[v3] Window fallout
2023-09-28 17:17:11 -05:00
Travis McLane
d047c22526
[v3] change window back to *WebviewWindow
2023-09-28 17:10:17 -05:00
Travis McLane
6feab70a72
[v3 workflow] add libayatana dependency
2023-09-28 17:00:33 -05:00
Travis McLane
5e1b5ca4e8
[v3] typo - missing comma
2023-09-28 16:55:52 -05:00
Travis McLane
1726cdb0ad
[v3] add ubuntu-latest to workflow
2023-09-28 16:48:23 -05:00
Travis McLane
2b2828ea41
[v3] goformat fixes
2023-09-28 16:47:04 -05:00
Travis McLane
29859ceedf
[v3] correct return types for CurrentWindow
...
this shouldn't have been changed to Window
2023-09-28 16:46:19 -05:00
Travis McLane
8e2527ad35
[v3 linux] implement single_instance plugin
2023-09-28 15:53:28 -05:00
Travis McLane
92b26488da
Merge branch 'v3-alpha-linux-systray' into v3-alpha
2023-09-28 14:52:12 -05:00
Travis McLane
efa67cb01c
[v3 linux] systray implementation
...
Linux requires a `gtk_menu_bar` for a gtk_window to display a menu.
For the `systray` a `gtk_menu` is needed instead.
This change creates the correct type of `impl` for the `Menu`
depending on how it is being used.
2023-09-28 14:50:38 -05:00
Travis McLane
71fc222059
[v3 linux] systray: cleanup + add basic menu
2023-09-28 13:31:09 -05:00
Travis McLane
fa6adad4ab
[v3 linux] wip: systray implementation
2023-09-28 13:31:09 -05:00
Travis McLane
1c48d567e1
[v3] NewWebviewWindow* return *WebviewWindow
2023-09-28 13:30:47 -05:00
Travis McLane
2c3216ba36
Merge branch 'v3-alpha-plugin-server' into v3-alpha
2023-09-28 12:15:11 -05:00
Travis McLane
74e2a7e225
[v3 examples] add server plugin to 'plugins' example
2023-09-28 12:14:54 -05:00
Travis McLane
ff2c92451d
[v3] go.* update
2023-09-28 12:14:54 -05:00
Travis McLane
2a83402d4a
[v3 example/server] initial implementation
2023-09-28 12:14:54 -05:00
Travis McLane
2449b473c0
[v3 plugin/server] initial implementation
2023-09-28 12:14:54 -05:00
Travis McLane
60c44c44ff
[v3 runtime] updated javascript
2023-09-28 12:14:54 -05:00
Travis McLane
7e1d685167
[v3 js] add and send x-wails-client-id
...
The constant x-wails-client-id is generated once on startup and then
sent with each request to the Wails host. It is used primarily by
the server plugin to distinguish different remote sessions.
2023-09-28 12:14:54 -05:00
Travis McLane
a9d4a393ba
[v3 linux] add non-functional activeInstance implementation
2023-09-28 12:10:17 -05:00
Travis McLane
a0953fea93
[v3] Merge feature Window interface
2023-09-28 11:52:23 -05:00
Travis McLane
02d76835c9
[v3 linux] noop: remove spurious print
2023-09-28 11:48:46 -05:00
Travis McLane
dfe03f1347
[v3] WailsEvent expose ToJSON
2023-09-28 11:39:44 -05:00
Travis McLane
c87489adf3
[v3] implement Window interface
2023-09-28 11:39:39 -05:00
Travis McLane
a428a730d5
[v3] define Window interface
...
Define an interface that all Window(s) need to define.
Currently copies the WebviewWindow public api
2023-09-28 11:37:48 -05:00
Travis McLane
7f7c642339
[v3 linux] systray.openMenu
2023-09-28 10:02:44 -05:00
Travis McLane
03b79e9a67
[v3 linux] noop: handleKeyEvent skeleton
2023-09-27 16:31:59 -05:00
Travis McLane
56b0fcebba
[v3 linux] use ifdef for APPLICATION_DEFAULT_FLAGS
2023-09-27 09:53:53 -05:00
stffabi
e31ad83472
[docs] Merge changed section ( #2940 )
2023-09-26 19:12:57 +10:00
Mohamed Gharib
3f9067c815
[v2] Devtools tag doesn't enable default context-menu ( #2923 )
...
* Devtools tag doesn't enable default context-menu
* Update changelog
2023-09-26 07:43:18 +10:00
Lea Anthony
d9a5130311
Use prettier on docs source
2023-09-25 20:56:29 +10:00
Lea Anthony
4663a45e59
Add raw API docs
2023-09-25 20:50:53 +10:00
David Haukeness
ab0b0f8a7f
filter the base directory from ignoreDirs ( #2869 )
...
* filter the base directory from ignoreDirs
* added PR 2869
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-25 19:50:17 +10:00
github-actions[bot]
6d1489bf8e
chore: update sponsors.svg ( #2938 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-25 19:25:51 +10:00
Fadi Khadra
05eddc65b1
[v2 mac] Allow to specify webview preferences ( #2937 )
...
* [mac] allow to specify webview preferences
2023-09-25 08:15:55 +10:00
Lea Anthony
fb820bcdad
Add some more API docs. Small refactors.
2023-09-24 17:23:24 +10:00
Lea Anthony
31c167b412
Add some more API docs.
2023-09-24 17:03:42 +10:00
Lea Anthony
7cdab16ba9
Add API docs. Do small refactors
2023-09-24 08:57:40 +10:00
FarDawn
787ca80770
Add minimal React template ( #2935 )
2023-09-23 19:06:31 +10:00
github-actions[bot]
d228b2ad37
chore: update sponsors.svg ( #2930 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-21 19:36:33 +10:00
Lea Anthony
05262134ca
[darwin] Add systray.OpenMenu
2023-09-21 19:24:30 +10:00
Lea Anthony
fe48b9d03d
[windows] Add systray.OpenMenu
2023-09-21 19:14:44 +10:00
stffabi
e9519269ca
[v2] Bump go-webview2 to 1.0.7 ( #2929 )
2023-09-21 06:43:28 +10:00
Lea Anthony
013ec1d726
Fix compiler error. Add test.
2023-09-21 06:33:08 +10:00
Travis McLane
27b4a984d5
[v3] process pointer and non-pointer receiver functions
2023-09-20 15:09:15 -05:00
Travis McLane
d6b6111395
noop: import sort
2023-09-20 15:09:15 -05:00
Mohamed Gharib
5a7b868e80
[Github] Exclude /website from language stats ( #2927 )
2023-09-21 05:48:19 +10:00
stffabi
d370f72ede
[v2, windows] Support async request processing on AssetServer ( #2926 )
2023-09-20 19:28:18 +02:00
Lea Anthony
af8ee6703e
[darwin] Support keybindings
2023-09-20 21:34:50 +10:00
Lea Anthony
3369327ad2
[v2] Support Enabling/Disabling swipe gestures ( #2878 )
...
* [v2] Support Enabling/Disabling swipe gestures
* [v2] Update change log
* [v2] Remove old call to PutIsSwipeNavigationEnabled
* Use latest webview2
* Update go-webview2 mod version
2023-09-20 08:23:38 +10:00
Denis Dvornikov
eca6afc18c
Describe a guide to build an app for all platforms in github actions ( #2879 )
...
* Describe a guide to build an app for all platforms in github actions
* Update changelog, remove tabs from an added guide
---------
Co-authored-by: Denis <denis@Deniss-Mac-mini.fritz.box >
2023-09-20 08:12:57 +10:00
Mohamed Gharib
34c725231c
[v2] Refactor devtools (better naming to remove confusion) ( #2921 )
2023-09-19 20:56:49 +10:00
github-actions[bot]
db519de1cd
chore: update sponsors.svg ( #2922 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-19 18:50:35 +10:00
Lea Anthony
6aa6762f12
Devtools hotkey ( #2915 )
...
* Add Ctrl/Cmd+Shift+F12 Hotkey to open devtools when `-devtools` flag used.
2023-09-19 05:56:14 +10:00
Lea Anthony
64e44b1b51
[docs] Add wrong webview2 architecture section in troubleshooting guide
2023-09-18 20:15:54 +10:00
Lea Anthony
793191a479
Initial key binding support
2023-09-17 20:48:30 +10:00
Lea Anthony
efc86c1056
Delete wails binary
2023-09-16 15:00:20 +10:00
Lea Anthony
39d44d2644
Merge latest website changes
2023-09-16 14:58:24 +10:00
Lea Anthony
9584a2ce5a
Merge latest v2 changes
2023-09-16 14:56:23 +10:00
Lea Anthony
95b8ceb87a
Merge remote-tracking branch 'origin/master' into v3-alpha
2023-09-16 14:44:57 +10:00
ALMAS
37b99b9cb8
Update webview_window.go ( #2912 )
2023-09-16 07:20:49 +10:00
Lea Anthony
3116c1a622
Update favicon.ico
2023-09-15 20:47:14 +10:00
Lea Anthony
86354e9fc0
Support IsDarkMode in application event context. Fix bug with event mapping.
2023-09-15 20:10:09 +10:00
Lea Anthony
b49f135e31
Add context to application/common events
2023-09-15 17:12:35 +10:00
github-actions[bot]
c26f3ad7d1
chore: update sponsors.svg ( #2909 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-15 16:35:00 +10:00
github-actions[bot]
40f645a864
chore: update sponsors.svg ( #2903 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-14 08:33:15 +10:00
Travis McLane
fff266f50d
[v3 linux] remove unused dialog callbacks
...
If it turns out these are needed in the future
we can add them back in then.
2023-09-13 13:12:22 -05:00
Travis McLane
7cfea7c22c
[v3 linux] file/directory dialogs
2023-09-13 13:12:22 -05:00
Travis McLane
6141e5a8ce
[linux v3] purego: updates
...
- file/directory chooser dialog logic
- add name + css so that menu isn't transparent
2023-09-13 13:12:22 -05:00
Lea Anthony
ed58949d24
try logging in goroutine
2023-09-13 16:47:14 +10:00
Lea Anthony
c1d85bd3d9
Add generate constants tool
2023-09-13 16:45:19 +10:00
Lea Anthony
8d3324465e
Revert flags change
2023-09-13 16:11:23 +10:00
Lea Anthony
8c72746edb
Update log plugin to have log levels.
2023-09-13 09:45:26 +10:00
Lea Anthony
ea3509d2e7
Add LogLevel application option. Update log plugin to have log levels.
2023-09-13 09:44:37 +10:00
Lea Anthony
bb3a0cc54f
Add WebviewWindow.IsFocused()
2023-09-13 08:57:20 +10:00
Travis McLane
d808654d99
[v3 linux] update purego replace
2023-09-11 17:27:21 -05:00
Travis McLane
a6cfdbb403
[v3 linux] const -> var
2023-09-11 17:26:59 -05:00
Travis McLane
2f7c6834d0
[v3 linux] use invokeSync
2023-09-11 17:12:57 -05:00
Travis McLane
ebdd57a7c4
remove cmd/wails/wails binary
2023-09-11 17:12:57 -05:00
Lea Anthony
4ff6d74054
Remove plain template
2023-09-09 20:08:26 +10:00
Lea Anthony
0d8b4aafd5
Better vanilla taskfile. Better asset generation at init.
2023-09-09 17:31:48 +10:00
Lea Anthony
0cca7e9189
Fix syso tests. Add precommit task
2023-09-09 16:27:51 +10:00
Lea Anthony
a5812578c5
Add generate build-assets. Update Taskfile for vanilla template
2023-09-09 10:25:56 +10:00
github-actions[bot]
a419721dcd
docs: sync translations ( #2699 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-08 23:25:21 +10:00
Light
e731e2591a
Fix typo on https://wails.io/docs/reference/options#application-options ( #2887 )
...
* Update options.mdx
* Update changelog.mdx
2023-09-08 23:23:33 +10:00
Lea Anthony
350b411afe
Update what's new section
2023-09-08 20:18:50 +10:00
Lea Anthony
9ca86c6093
Fix template versions
2023-09-08 18:51:39 +10:00
Lea Anthony
01729ae22a
Add what's new section
2023-09-08 18:45:42 +10:00
Lea Anthony
9196dc2216
Remove ci flag
2023-09-08 14:49:50 +10:00
Lea Anthony
b925335bbb
Fix tests
2023-09-08 14:37:07 +10:00
Duoc Nguyen
59b25edb5c
docs: make the install command easier to copy ( #2891 )
2023-09-08 13:56:40 +10:00
Lea Anthony
965f939967
Fix parser/generator tests
2023-09-08 12:03:55 +10:00
Lea Anthony
00feccbb77
Add MACOSX_DEPLOYMENT_TARGET to taskfiles
2023-09-08 11:23:38 +10:00
Lea Anthony
b6fc66ba0d
Improve workflow
2023-09-08 11:09:32 +10:00
Lea Anthony
c40debc0e9
Disable linux tests
2023-09-08 11:04:59 +10:00
Lea Anthony
3b31d70865
Update doc dependencies
2023-09-08 11:00:15 +10:00
Lea Anthony
afa8b62de7
Update doc dependencies
2023-09-08 10:57:47 +10:00
Lea Anthony
70fd15de2d
fix workflow
2023-09-08 10:42:13 +10:00
Lea Anthony
c54d330f89
fix workflow
2023-09-08 10:39:29 +10:00
Lea Anthony
4028560d12
fix workflow
2023-09-08 10:37:45 +10:00
Lea Anthony
3c28c28623
fix workflow
2023-09-08 10:36:48 +10:00
Lea Anthony
a958fa06e7
Update docs
2023-09-08 10:31:16 +10:00
Lea Anthony
4d39e9e15a
Update v3-docs.yml
2023-09-08 10:27:32 +10:00
Lea Anthony
679ec49e64
add v3 docs workflow
2023-09-08 10:24:01 +10:00
Travis McLane
d98e1d3693
[v3 linux] Packagemap -> packagemap
2023-09-07 12:16:20 -05:00
Lea Anthony
be3b7d754e
add netlify config
2023-09-07 21:55:45 +10:00
Lea Anthony
ae524c4f84
add workflow for v3 alpha
2023-09-07 21:37:50 +10:00
Lea Anthony
d390cac8db
Fix EnableFraudulentWebsiteWarnings for mac
2023-09-07 21:33:11 +10:00
Zámbó, Levente
647bc87600
[v2, Linux] fix menu background color ( #2873 )
...
* fix menu background color
* remove commented line
* handle transparent window and background color
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-07 21:25:02 +10:00
dependabot[bot]
ebf56f6585
Bump semver from 5.7.1 to 5.7.2 in /website ( #2808 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 21:22:43 +10:00
Lea Anthony
17e20ab029
[v3] Fix requirements.txt
2023-09-07 07:52:18 +10:00
Lea Anthony
34b9b9b508
Add status table to docs.
2023-09-06 20:59:45 +10:00
Lea Anthony
1644ee152e
v2.6.0
2023-09-06 19:45:08 +10:00
David Haukeness
069fe18b9d
Move watcher init to doWatcherLoop and implement -reloaddirs ( #2871 )
...
* remove random print statement
* move watcher into loop and implement reloaddirs
* Fixed -reloaddirs for issue #2829
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-06 19:33:22 +10:00
Lea Anthony
acf8dea170
[chore] Big tidy up. Fix bullet point output.
2023-09-06 19:27:29 +10:00
github-actions[bot]
7a87b0476e
chore: update sponsors.svg ( #2885 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-09-06 19:16:31 +10:00
Lea Anthony
47fd06a445
More doc changes
2023-09-06 19:15:52 +10:00
Andreas Christou
886bcc7b47
Add print functionality to v2 ( #2822 )
...
* Add print functionality to v2
* Update changelog
* Update runtime docs
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-06 07:55:36 +10:00
Lea Anthony
b140ce546f
Add CPU detection in mac
2023-09-05 23:14:18 +10:00
Lea Anthony
08ec2beb7c
Move menu to Windows window options.
2023-09-05 22:27:47 +10:00
Lea Anthony
5833f0f109
More docs.
2023-09-05 18:26:10 +10:00
Lea Anthony
eb2ad258ed
More docs.
2023-09-04 22:51:21 +10:00
ALMAS
708aef53e4
[v3] completing missing build tags ( #2884 )
...
* Update image.go
* Update popupmenu.go
2023-09-04 22:43:28 +10:00
Lea Anthony
e893c1c205
More docs.
2023-09-04 22:40:40 +10:00
Lea Anthony
3e74255127
Update docs.
2023-09-04 21:27:59 +10:00
Lea Anthony
b8d7eed607
Add awful CallByName method and update docs with warning.
2023-09-04 21:19:10 +10:00
Lea Anthony
8eb62fb483
Update bindings example
2023-09-04 21:01:00 +10:00
Lea Anthony
ee67bff9e3
Docs update
2023-09-04 20:50:32 +10:00
Lea Anthony
21e47dcccf
Fix version in debug build
2023-09-04 19:51:48 +10:00
Lea Anthony
38ddcf59f8
Support linux in doctor
2023-09-04 19:46:07 +10:00
Lea Anthony
4a62b6a5c7
Support Mac in wails doctor
2023-09-03 10:30:31 +10:00
Lea Anthony
6afbcb69f3
Improve doctor
2023-09-03 10:09:16 +10:00
Lea Anthony
4bb522d303
Add doctor.
2023-09-03 08:42:12 +10:00
Lea Anthony
f107173a73
Update README.md
2023-09-03 06:53:10 +10:00
Lea Anthony
eb5aff755f
Update docs
2023-09-02 15:12:35 +10:00
Lea Anthony
2384ae0819
Improve docs tooling
2023-09-02 09:10:35 +10:00
Lea Anthony
4a5663c1cb
Merge branch 'master' into v3-alpha
2023-09-02 08:38:48 +10:00
Travis McLane
9416e01042
[v3 linux] start_at_login initial implementation
2023-09-01 16:04:25 -05:00
Travis McLane
54fcacfed1
[v3 linux] correct transparency setting
2023-09-01 15:57:13 -05:00
Lea Anthony
69ac5caa4b
Fix production build
2023-09-01 22:06:43 +10:00
Lea Anthony
cecbc156d5
Update deps
2023-09-01 20:14:06 +10:00
Oleg Gulevskyy
d599fd80cb
POC of mkdocs barebones ( #2769 )
...
* POC of mkdocs barebones
* Add more stuff!
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-09-01 20:11:43 +10:00
David Haukeness
2e9f57a60d
No go rebuild ( #2870 )
...
* add flag option for NoGoRebuild
2023-08-30 21:24:05 +10:00
Lea Anthony
8ca550cc9e
[v3] Add swipe gesture support
2023-08-30 20:57:12 +10:00
stffabi
44c291b297
[v2, build] Fixed support for Go 1.21 go.mod files ( #2876 )
2023-08-30 18:24:41 +10:00
Nobleman
4ad4d7c7e3
postbuild hook fix ( #2839 )
...
postbuildhook should only run if application was built
2023-08-29 18:47:14 +10:00
Nobleman
dab762937b
Update changelog.mdx ( #2868 )
...
Added changes for https://github.com/wailsapp/wails/pull/2836
2023-08-29 18:46:12 +10:00
IAFEnvoy
4e539188e0
Update window.mdx ( #2859 )
2023-08-29 08:12:10 +10:00
Александр
e705e539c6
Add Russian README.md ( #2840 )
2023-08-29 08:05:42 +10:00
Lea Anthony
d44c8eba1c
[v3] Use system logger instead of println
2023-08-28 20:30:40 +10:00
Lea Anthony
6edd667bdf
[v3] Fix application runtime mappings
2023-08-28 20:29:25 +10:00
Vilsol
499ff50903
fix: use string formatting in gtk_message_dialog_new ( #2865 )
2023-08-28 19:34:24 +10:00
Miclle Zheng
fcfe278f95
Fix typo ( #2795 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-08-28 08:52:56 +10:00
Nobleman
93a616ceef
[bugfix] build hook command parsing ( #2836 )
...
* fix build hook command parsing
use `shlex`, rather than `strings` package, to split build command
* fix compiler error
2023-08-28 08:50:13 +10:00
Diógenes Rodrigues
7bc4d5f7e8
feat: add readme pt-br ( #2835 )
...
* feat: add readme pt-br
* update READMEs with link to the Portuguese version
* update the readmes with the Portuguese
2023-08-28 08:43:15 +10:00
Light
63b9cab96f
Add updated svelte template ( #2858 )
...
* Add new svelte template
Added an updated svelte template
* Update changelog.mdx
2023-08-28 08:41:21 +10:00
Zámbó, Levente
427e41f190
fix disable window resize ( #2863 )
...
* fix disable window resize
* change issue number in changelog
* change pull request number in changelog
2023-08-28 08:40:28 +10:00
Lea Anthony
5e1f29eda3
[v3] Support //wails:methodID <uint32> directive in bound method comments.
2023-08-27 21:16:30 +10:00
Lea Anthony
e5571defb7
[v3] Support bound methodID aliases. Support []any for bindings generation. Use CallByID in bindings.
2023-08-27 20:39:35 +10:00
Lea Anthony
125d8a6f78
[v3] Update Task to v3.29.1.
2023-08-27 17:14:36 +10:00
Kermout Ayoub
72290a2d58
Added wails-qwik-template to 3rd party templates ( #2860 )
...
* Added wails-qwik-template to 3rd party templates
* fix typo
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-08-27 17:13:49 +10:00
github-actions[bot]
92470f262e
chore: update sponsors.svg ( #2843 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-08-27 17:10:19 +10:00
Lea Anthony
21790dc3ee
[v3] Add CallByID method to runtime.
2023-08-27 16:59:18 +10:00
Lea Anthony
cdf48e0589
[v3] Fix bindings
2023-08-27 15:54:01 +10:00
stffabi
761efed84d
[v2] Introduce size and physical size of screens ( #2856 )
2023-08-26 10:11:01 +10:00
Phil Richards
427fe7e8d3
Init GTK in NewFrontend, not init ( #2841 )
...
* Init GTK in `NewFrontend`, not `init`
So apps that have a headless / non-gui mode will be able to run, since
they needn't call `NewFrontend` (which is called by `CreateApp`).
Previously, `init` would call `C.gtk_init` regardless of whether
CreateApp was called.
Also change to call `C.gtk_init_check` with a panic, instead of
`C.gtk_init`, since `gtk_init` just exits the process if it fails,
without a sensible error message.
Fixes #2628 .
* Update changelog
2023-08-26 06:41:53 +10:00
Oussama Sethoum
98bb3b6361
add instructions to run wails v3 examples. ( #2854 )
...
* add instructions to run wails v3 examples.
* Update README.md
2023-08-26 06:40:40 +10:00
Travis McLane
2f9f63771b
[v3 examples] add README
2023-08-25 09:39:24 -05:00
Zámbó, Levente
5a4eae968f
set the background color for window ( #2853 )
...
* set the background color for window
* update changelog for #2853
2023-08-25 08:27:52 +10:00
Lea Anthony
93335b3843
[v3] Support ANSI label on Mac. Update example.
2023-08-25 06:53:08 +10:00
Zámbó, Levente
9085e1edbb
Bugfix/2848 window set position timing ( #2850 )
...
* run WindowSetPosition on main thread
* remove wait group from SetPosition it is not neaded
* update changelog
2023-08-25 05:50:26 +10:00
David Haukeness
8700d225c1
add wails-sveltekit-ts ( #2851 )
...
* add wails-sveltekit-ts
* add clog entry
2023-08-25 05:49:12 +10:00
Travis McLane
f50c8f447e
[v3 assetserver] cleanup logging
...
- remove type assertions
- update contentTypeSniffer to capture the status code
- move logic in ServeHTTP to serveHTTP
- wrap serveHTTP with ServeHTTP adding logging & duration calculation
2023-08-24 12:44:13 -05:00
Travis McLane
bd9f7deb98
[v3 linux] correct minimum zoom
2023-08-23 14:10:22 -05:00
Travis McLane
2171192934
[v3 linux] noop: remove println
2023-08-23 14:09:44 -05:00
github-actions[bot]
c2b36de510
chore: update sponsors.svg ( #2827 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-08-19 20:42:05 +10:00
Lea Anthony
3352ebef6e
[v3] Tidy up logging
2023-08-19 17:15:15 +10:00
Lea Anthony
2a51ddadfc
[v3] Tidy up plugin init
2023-08-19 17:09:38 +10:00
Lea Anthony
0745aea4d6
[v3] Move to integer call ids for bound methods.
2023-08-19 14:25:36 +10:00
Travis McLane
4804b34208
[v3 linux] api changes ( #2830 )
2023-08-19 06:12:34 +10:00
Lea Anthony
841289f1d1
[v3 windows] Support isDarkMode. Add common application event mapping
2023-08-18 19:50:57 +10:00
Lea Anthony
c367ef461e
[v3 windows] Support isDarkMode
2023-08-18 19:45:59 +10:00
Lea Anthony
ffed41553a
[v3 mac] Add IsDarkMode to application and JS runtime. Add Common.ThemeChanged event
2023-08-18 17:36:14 +10:00
Lea Anthony
79deb37675
Fix return code in logging
2023-08-18 11:15:02 +10:00
Lea Anthony
77ca8fe9e6
Move webview2 options to application. Improve logging.
2023-08-18 11:06:25 +10:00
Lea Anthony
25e58edf28
[v3] Add dev example
2023-08-18 10:51:02 +10:00
Lea Anthony
0f2d19c56e
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
...
# Conflicts:
# v3/internal/operatingsystem/os.go
# v3/internal/operatingsystem/os_darwin.go
2023-08-18 10:36:01 +10:00
Lea Anthony
8bde3d7522
[v3 mac] Improved operating system detection
2023-08-18 10:34:32 +10:00
Lea Anthony
c169d26d95
[v3] Port operating system detection
2023-08-18 10:24:45 +10:00
Lea Anthony
946a4c56a0
[v3 mac] Better logging
2023-08-18 09:58:43 +10:00
Lea Anthony
23e87e0ad7
Add dev tasks to Taskfile template
2023-08-15 21:48:04 +10:00
Lea Anthony
7d678154c6
Example prod/debug options
2023-08-15 21:40:50 +10:00
Lea Anthony
0b9fec3f87
Add checkport tool for checking open ports
2023-08-15 21:40:01 +10:00
Lea Anthony
763c7708f4
Fix HMR. Better logging.
2023-08-15 20:19:02 +10:00
Lea Anthony
5f2c1f4534
Remove optional prod options - use build tags instead
2023-08-15 20:19:02 +10:00
Lea Anthony
3ac557ccb1
[v3] plugin.toml -> plugin.yaml
2023-08-15 06:39:55 +10:00
Lea Anthony
e6c691a376
Support external asset server
2023-08-14 20:49:09 +10:00
Lea Anthony
ee8eb001c2
Merge branch 'master' into v3-alpha
...
# Conflicts:
# v2/internal/frontend/desktop/windows/go-webview2/webviewloader/env_create.go
2023-08-14 18:08:52 +10:00
Lea Anthony
db836b7a48
Move assetserver to internal
2023-08-14 08:31:55 +10:00
Lea Anthony
543b18dd54
Revert v3 changes in v2 asset server
2023-08-14 08:28:32 +10:00
Lea Anthony
ec0731d5d8
Use slog.Logged in assethandler_external.go. Refactor runtime handler.
2023-08-14 08:28:31 +10:00
Lea Anthony
cc5c7d1d29
Log git hash if using replaced module
2023-08-14 08:28:25 +10:00
Lea Anthony
e79c1b7ea3
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
2023-08-13 20:43:07 +10:00
Lea Anthony
6cbead5bfe
Improved logging++
2023-08-13 16:52:39 +10:00
Lea Anthony
429bb2bf17
Refactor application creation. Remove internal logger package.
2023-08-13 15:28:30 +10:00
Lea Anthony
c03c41cb21
Add version command
2023-08-13 15:13:01 +10:00
Lea Anthony
ee29faecbf
Log if native Go webview loader is used
2023-08-12 16:36:08 +10:00
Lea Anthony
d1d0105276
Remove jsonBindings option. Only add ipc in debug mode.
2023-08-12 14:57:01 +10:00
Lea Anthony
1059e36b52
Run go mod tidy on project creation. Use better method of relative module location.
2023-08-12 14:32:52 +10:00
Lea Anthony
15f602f867
Move v2 assetserver to v3
2023-08-12 14:16:53 +10:00
github-actions[bot]
7fae22b50c
chore: update sponsors.svg ( #2819 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-08-12 13:07:09 +10:00
Lea Anthony
13be4a333f
Move to slog logger for application and log plugin
2023-08-10 22:04:13 +10:00
Lea Anthony
2553fa1f74
Update templates to use Go 1.21
2023-08-10 21:32:18 +10:00
Lea Anthony
f0f5011484
Remove log from runtime (there's a plugin for that)
2023-08-10 21:29:42 +10:00
Lea Anthony
5671f3527b
Add ProductionOverrides option so any option can be overridden in production builds
2023-08-10 20:42:25 +10:00
Lea Anthony
adb26fa99f
Add Hook doc
2023-08-10 19:57:12 +10:00
Kin NG
7b098fd522
Docs: add spanish readme translation ( #2812 )
...
* spanish readme translation
add spanish to readme
remove line
* change Spanish to Español
* Add links to README.es.md to the other language translations
2023-08-10 07:52:29 +10:00
Zámbó, Levente
e72e4aa179
add new programName option to linux options ( #2817 )
...
* add new programName option to linux options
* modify changelog
* free program name string
2023-08-10 07:48:09 +10:00
Lea Anthony
805429a7c6
Support remote templates
2023-08-09 21:53:10 +10:00
Lea Anthony
39af86e59d
Improve project creation.
...
Add `template.json` to templates.
Update dependencies.
2023-08-09 21:30:06 +10:00
Lea Anthony
b48579892b
[docs] Add mac flash troubleshooting guide
2023-08-05 17:45:08 +10:00
Lea Anthony
ecf970d6fe
[v3 mac] ANSI systray label [WIP]
2023-08-05 14:04:49 +10:00
Lea Anthony
083e6b03f3
Update Screen docs
2023-08-04 08:18:34 +10:00
Lea Anthony
2859143b2f
Add Screen docs
2023-08-03 08:35:34 +10:00
Andreas Christou
027edad51b
Create-React-App documentation updates ( #2805 )
...
* Add documentation for running a create-react-app project in watch mode
* Fix build warning
2023-08-02 08:58:05 +10:00
Lea Anthony
a96d51be02
Update project-config.mdx
2023-07-29 12:04:41 +10:00
github-actions[bot]
fe479876c5
chore: update sponsors.svg ( #2794 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-07-28 08:15:00 +10:00
Li Yang
84d2576e06
Update README.zh-Hans.md ( #2791 )
...
Fixed a link error
2023-07-26 20:32:43 +10:00
Aranggi J. Toar
48b35aaafe
chore: update npm and docker package names for dnf package manager ( #2790 )
...
* chore: update package names for dnf package manager
* chore: update changelog
2023-07-24 19:53:24 +10:00
Lea Anthony
c9ce17a4d5
[v3] Fix Assets options in templates
2023-07-21 08:24:38 +10:00
github-actions[bot]
7f402bf0c4
chore: update sponsors.svg ( #2778 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-07-18 23:04:16 +10:00
Lea Anthony
1e76b0b52e
Remove markdown formatter
2023-07-18 21:47:26 +10:00
stffabi
a6e279f0d3
[v3 panicHandler] Let the default go panic handler handle the panic if there's no panicHandler set in options
2023-07-15 23:57:19 +02:00
stffabi
842bc3733e
[v3 windows] Fix missing panic stacktraces during message loop
2023-07-15 23:56:26 +02:00
figuerom16
e0a92712fe
SvelteKit Guide: Manual installation, Bash installation, Usage Notes. ( #2771 )
...
* Create SvelteKit.mdx
* Rename SvelteKit.mdx to sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update sveltekit.mdx
* Update changelog.mdx
2023-07-15 23:52:33 +10:00
guangwu
150dac9ead
chore: slice replace loop ( #2757 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com >
2023-07-13 23:13:47 +10:00
Ethan Reesor
22cfcbd5a1
Override error formatting ( #2717 )
2023-07-13 20:40:22 +10:00
Lea Anthony
5e76a5e76a
[v3 mac] Fix event callback signatures
2023-07-12 21:29:01 +10:00
Lea Anthony
52c3c49f25
[v3] Add window close hook example
2023-07-12 21:27:58 +10:00
Lea Anthony
705239ad7d
[v3] Use WindowEvent rather than WindowEventContext
2023-07-12 20:50:01 +10:00
Lea Anthony
dc865404a9
[v3] Initial hooks implementation
2023-07-12 20:31:13 +10:00
Lea Anthony
ba7ab2e607
[v3 windows] Fix translucency. Update example.
2023-07-11 23:04:22 +10:00
Lea Anthony
d6cfe4414d
[v3 Windows] Add WebviewWindow.Flash()
2023-07-11 20:10:18 +10:00
Lea Anthony
61f7b10f36
[v2 templates] Add explicit style import ( #2721 )
...
* [v2 templates] Add explicit style import
* [v2] Remove style import
2023-07-10 21:27:41 +02:00
Lea Anthony
ecbb135949
[v3] Update plugin.js
2023-07-10 20:56:07 +10:00
Lea Anthony
fcb98e6523
[v3] Update docs
2023-07-10 20:46:08 +10:00
Lea Anthony
e7e5597c95
[v3 mac] Fix right click. Slight refactor.
2023-07-10 20:44:30 +10:00
Lea Anthony
7f0479d8b4
[v3 mac] Fix right click menu when window attached.
2023-07-10 20:21:19 +10:00
Lea Anthony
f5c78f365d
[v3] Fix oauth bug. Added logout capability
2023-07-09 20:13:29 +10:00
Lea Anthony
1fc5f9b12d
[v3] Update readme for oauth plugin
2023-07-09 12:33:57 +10:00
Lea Anthony
3f55ce6dfc
[v3] Add provider methods, provide default login window, update readme for oauth plugin
2023-07-09 12:30:36 +10:00
Lea Anthony
1d562d3c27
[v3] Add oauth plugin
2023-07-08 22:56:25 +10:00
Lea Anthony
f3974deb88
[v3] Add Get for application instance
2023-07-08 22:51:33 +10:00
Lea Anthony
1945616328
[v3 windows] Fix WindowClose defaults
2023-07-08 20:28:19 +10:00
Lea Anthony
7db6604227
[v3 windows] Add HideOnTaskbar flag to WebviewWindow
2023-07-08 11:27:36 +10:00
Marcus Crane
f150d25152
Update October showcase image ( #2762 )
2023-07-06 20:51:40 +10:00
Lea Anthony
12ce6c5ac3
[v3] Add systray.AttachWindow
2023-07-06 20:43:08 +10:00
Lea Anthony
5d9bc4ca81
[v3 mac] Fix systray example toggle
2023-07-05 21:09:48 +10:00
Lea Anthony
c0b4a3ff35
[v3] Fix generation of common events
2023-07-05 20:39:35 +10:00
Lea Anthony
f0bf8cd827
[v3 windows] Refactor events + mappings. Fix app.Quit(). Make systray example work slightly better
2023-07-05 20:35:45 +10:00
Lea Anthony
10144adf61
[v3 windows] Fix window lose focus events.
2023-07-04 20:43:21 +10:00
Lea Anthony
3efab5ba23
[v3 windows] Prevent window close events when the window was just opened
2023-07-04 20:01:06 +10:00
Lea Anthony
3d323ab9d2
[v3] Fix systray example. PositionWindow now takes an offset. EventApplicationDidResignActive -> EventApplicationDidResignActiveNotification
2023-07-04 19:26:00 +10:00
Lea Anthony
16ce9e562f
[v3 mac] Window alignment to systray
2023-07-03 20:15:45 +10:00
Lea Anthony
90e66a7ad4
[v3] Add PanicHandler application option.
2023-07-03 19:52:50 +10:00
Lea Anthony
6b59216b32
[v3] Better panic support for methods run on mainthread
2023-07-01 21:56:21 +10:00
Lea Anthony
9764ba6334
[v3] Add CHANGELOG.md. Add instructions for PRs in DEVELOPMENT.md.
2023-07-01 11:09:09 +10:00
Mohamed Gharib
da5929ff34
[v3] Fix examples background color ( #2750 )
2023-07-01 10:55:10 +10:00
Mohamed Gharib
e419822c77
[v3] Fix default context-menu in selected disabled inputs ( #2753 )
...
* [v3] Fix default context-menu in selected disabled inputs
* [v3] Update Task to v3.27.1. Add `wails3 task -version` and `wails3 task taskfile:update`.
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-07-01 10:52:55 +10:00
Lea Anthony
b62ce4440e
[v3 windows] Setup chromium sooner
2023-07-01 09:23:19 +10:00
Lea Anthony
3c81fb06e8
[v3 windows] Position window above systray
2023-06-30 21:17:50 +10:00
Lea Anthony
c27366a270
[v3] rename cli to wails3
2023-06-29 18:26:04 +10:00
Lea Anthony
5b6f6c1bff
[v3] Default context menu always shows in debug/dev
2023-06-28 18:47:39 +10:00
Mohamed Gharib
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
dependabot[bot]
cdbe77a0fc
Bump semver from 7.3.8 to 7.5.3 in /scripts/sponsors ( #2747 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 7.3.8 to 7.5.3.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v7.3.8...v7.5.3 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 06:25:00 +10:00
Mohamed Gharib
5292ced731
[v2, runtime] Separate runtime js debug build ( #2745 )
2023-06-27 21:31:08 +10:00
Lea Anthony
3fcac435b2
[v3] Support window events in JS. Fix ExecJS blocking issues.
2023-06-26 22:10:31 +10:00
Mahcks
abbbf05a79
added shadcn-ui template ( #2744 )
2023-06-26 08:50:52 +10:00
Lea Anthony
03a3edcdc9
[v3] Create experimental plugin directory
2023-06-26 08:39:02 +10:00
Lea Anthony
5737b3cc7b
[v3 mac] Fix merge issues
2023-06-25 10:13:20 +10:00
Lea Anthony
b898b79aaf
[v3 windows] Initial support for start_on_login plugin for windows
2023-06-24 21:12:24 +10:00
Lea Anthony
3827ca2d78
[v3] Move dialogs out of application
2023-06-24 13:57:51 +10:00
Lea Anthony
4de5e1b9f1
[v3] Add WindowUnFocus event
2023-06-24 13:23:50 +10:00
Travis McLane
eb18f02fd2
Merge branch 'v3-alpha-linux' into v3-alpha
2023-06-23 21:51:21 -05:00
Travis McLane
1a7d105917
[v3 linux] GetAbsolutePosition
2023-06-23 21:50:51 -05:00
Travis McLane
de5cff799e
[v3 linux] setEnabled
2023-06-23 21:50:51 -05:00
Travis McLane
67cada78f6
[v3 linux] purego: windowGetRelativePosition
2023-06-23 21:50:51 -05:00
Travis McLane
5a40f25d03
[v3 linux] webview setAbsolutePosition
2023-06-23 21:50:51 -05:00
Travis McLane
1a09a8a4c8
[v3 linux/cgo] open/save file dialog stub
2023-06-23 21:50:51 -05:00
Travis McLane
daa0cf83d9
[v3 linux] noop: remove fmt.Println
2023-06-23 21:50:51 -05:00
Travis McLane
e92858f64d
[v3 linux/purego] initial file/directory dialogs impl
2023-06-23 21:50:51 -05:00
Travis McLane
d52c26e82f
[v3 linux] implement missing functions
2023-06-23 21:50:51 -05:00
Travis McLane
83900b03d4
[v3 linux] purego cleanup + dialog images
2023-06-23 21:50:51 -05:00
Travis McLane
c123430f22
[v3 linux] dialog fixes
2023-06-23 21:50:51 -05:00
Travis McLane
33e20cbc77
[v3 linux] allow menu setting on Linux
2023-06-23 21:50:51 -05:00
Travis McLane
e942312c4c
[v3 menuitem] bug: avoid setting if nil
2023-06-23 21:50:51 -05:00
Travis McLane
de2e78b507
[v3 linux] purego implementation
2023-06-23 21:50:51 -05:00
Travis McLane
da4a7ac64b
[v2] assetserver/webview purego implementation
2023-06-23 21:50:51 -05:00
Travis McLane
e44fbc26ba
[v3 linux] STATUS.md
2023-06-23 21:50:51 -05:00
Travis McLane
bef454f950
[v3 linux] initial linux implementation
2023-06-23 21:50:51 -05:00
Travis McLane
94e1ec91ad
Revert "Merge branch 'v3-alpha_linux' into v3-alpha"
...
This reverts commit b317efaf2c , reversing
changes made to 29b9c5200f .
2023-06-23 21:50:51 -05:00
Lea Anthony
56d11ab419
[v3] Update Wails API
2023-06-24 12:11:48 +10:00
Lea Anthony
c96cccab2e
[v3] Add Window AbsolutePosition/SetAbsolutePosition
2023-06-23 21:14:26 +10:00
Lea Anthony
989ef1b4a8
[v3] Update STATUS.md
2023-06-23 20:50:54 +10:00
Lea Anthony
45cfbe917e
[v3] Position/GetPosition -> RelativePosition/GetRelativePosition
2023-06-23 20:49:27 +10:00
Lea Anthony
2e313005e0
[v3] Add window attachment for open/save dialogs. Fix filter bug.
2023-06-23 20:33:35 +10:00
Lea Anthony
722c3a653c
[v3] Allow message dialogs to be attached to windows. JS dialogs default attached. wml confirm dialog attached.
2023-06-23 20:19:29 +10:00
Lea Anthony
76672facfe
[v3] Add window Enabled method. Fix dialog attachment
2023-06-23 19:48:04 +10:00
Lea Anthony
8f075b5d8d
[v3] Fix merge issues
2023-06-22 19:56:35 +10:00
Lea Anthony
b317efaf2c
Merge branch 'v3-alpha_linux' into v3-alpha
...
# Conflicts:
# v3/STATUS.md
# v3/examples/menu/main.go
# v3/go.mod
# v3/pkg/application/application.go
# v3/pkg/application/webview_window.go
2023-06-22 19:46:10 +10:00
github-actions[bot]
4c7c3d9d82
chore: update sponsors.svg ( #2738 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-21 21:52:55 +10:00
Lea Anthony
29b9c5200f
[v3] Update context menu example. Allow menu for disabled/read only iputs
2023-06-21 20:21:10 +10:00
Lea Anthony
4d2b4b4ee7
[v3] Update dev guide. Remove implLock.
2023-06-21 19:37:39 +10:00
Lea Anthony
9f8f095a78
[v3] Update dev guide.
2023-06-21 19:23:14 +10:00
Lea Anthony
59c09ebee1
[v3] Better default context menu. Started dev guide.
2023-06-21 19:21:41 +10:00
Lea Anthony
5f81a87912
[v3] Add smart context menu example
2023-06-20 21:35:41 +10:00
Lea Anthony
7f6151d573
[v3] Enable default context menu for certain elements. Use CSS to customise.
2023-06-20 21:11:37 +10:00
Lea Anthony
9816960995
[v3] Support "--default-contextmenu" style. Fix URL handling in Windows.
2023-06-20 19:44:01 +10:00
stffabi
8fd16d4be3
[assetServer] Make WebView request URL and RequestURI RFC and Go docs compliant ( #2722 )
...
* [v2 dev] Improve logging of external AssetHandler
* [assetServer] Make WebView request URL and RequestURI RFC and Go docs conforme
2023-06-20 08:06:42 +02:00
Lea Anthony
3355d5f0af
[v3] Add EnableDevTools option
2023-06-20 08:49:25 +10:00
Lea Anthony
ab38b20444
[v3] Status Update
2023-06-20 08:36:39 +10:00
Lea Anthony
f278229179
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
2023-06-20 08:12:42 +10:00
Mohamed Gharib
4162f097f1
[v2, options] Add EnableDefaultContextMenu option ( #2733 )
...
* [v2, options] Add EnableDefaultContextMenu option
* Update changelog & docs
* go mod tidy (./v2)
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-06-20 06:31:47 +10:00
github-actions[bot]
07c971476d
chore: update sponsors.svg ( #2729 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-19 20:54:20 +10:00
Lea Anthony
552390fb84
[v3 mac] Tidy up
2023-06-19 17:53:16 +10:00
Lea Anthony
68573cdc48
[v3 windows] Focus webview on Show/Restore/Maximise/FullScreen
2023-06-19 07:35:11 +10:00
Lea Anthony
cdf397aaa9
[v3 mac] Implement print()
2023-06-19 07:15:53 +10:00
Mohamed Gharib
fa851f29c5
[v2] Add -devtools production build flag ( #2725 )
...
* [v2] Add devtools production build flag
* Update changelog
* Fix changelog spacing
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-06-19 06:45:01 +10:00
Lea Anthony
ed27558011
[v3 windows] Add WebviewWindow.Print()
2023-06-18 17:13:07 +10:00
Lea Anthony
50387948df
[v3 mac] Refactor drag to use common code
2023-06-18 12:24:44 +10:00
Lea Anthony
9b48cc1799
[v3 mac] Fix window drag example
2023-06-18 12:12:01 +10:00
Lea Anthony
86f2ac0e96
[v3 mac] Fix WindowShouldClose bug
2023-06-18 11:25:38 +10:00
Lea Anthony
1537a002cc
[v3] Add ShouldClose window method. Remove hideOnClose flag.
2023-06-18 11:12:53 +10:00
Lea Anthony
ae9b158b04
[v3 windows] improve main thread calls
2023-06-16 21:04:44 +10:00
Lea Anthony
72ec10b181
[v3 mac] Fix window close bug
2023-06-16 21:01:17 +10:00
Lea Anthony
eed4002a4a
[v3 mac] Fix GetPosition Y coordinate
2023-06-16 20:54:53 +10:00
Lea Anthony
155e34c7a8
[v3 mac] Better main thread calls
2023-06-16 20:48:57 +10:00
Lea Anthony
22cc649e81
[v3 mac] translate window position for SetPosition
2023-06-16 20:20:18 +10:00
Lea Anthony
367ca745c3
[v3 windows] Fix frameless window drag. Add better resize for corners.
2023-06-15 21:06:14 +10:00
Lea Anthony
01e2e46e0d
[v3 windows] Support frameless drag. Add /wails/flags endpoint.
2023-06-15 19:08:08 +10:00
Lea Anthony
c03078ca16
[v3] Add capabilities, move to app-region css for drag, support native drag on Windows
2023-06-14 18:12:37 +10:00
Lea Anthony
31a5c90673
Update bug_report.yml
2023-06-13 20:27:57 +10:00
Lea Anthony
49e62aebe3
[v3 windows] Support frameless drag
2023-06-13 17:44:07 +10:00
Lea Anthony
dc4daaebac
[v3 windows] Support title bar button events
2023-06-13 17:42:14 +10:00
stffabi
f855b30c9f
[v3 windows] Consolidate WM_SIZE/WM_SIZING message handling
2023-06-12 08:26:09 +02:00
stffabi
b614e2b100
[v3 windows] An initially hidden window should show chromium when it is getting unhidden
2023-06-12 05:41:55 +02:00
stffabi
eafbbab233
[v3 windows] Do not Hide/Show chromium on every load of the frontend
2023-06-12 05:12:49 +02:00
Lea Anthony
72a4e9cf6e
[v3] Update STATUS.md
2023-06-12 10:46:31 +10:00
Lea Anthony
1dbe100a43
[v3] Restore window example
2023-06-12 10:45:26 +10:00
Lea Anthony
287d3d066c
[v3] Update WML demo to include restore
2023-06-12 10:45:03 +10:00
Lea Anthony
9387d18e88
[v3 windows] Change how chromium redraw works
2023-06-12 10:44:33 +10:00
Lea Anthony
1600bcb1d0
[v3] Add Restore to JS runtime
2023-06-12 10:44:05 +10:00
Lea Anthony
2b2defb7c0
[v3 windows] Fix chromium redraw bug
2023-06-12 10:28:35 +10:00
Lea Anthony
6d786902eb
[v3] Add some common window events
2023-06-12 10:27:30 +10:00
Lea Anthony
286ce206f0
[v3 windows] Prevent crash when nulls in strings
2023-06-12 09:10:47 +10:00
Lea Anthony
7535f098bd
[v3 windows] Fix clipboard example
2023-06-11 11:57:47 +10:00
Lea Anthony
b517461fbe
[v3 windows] Fix screen example
2023-06-11 11:54:32 +10:00
Lea Anthony
ffbe67e21f
[v3 windows] Fix clipboard js runtime call
2023-06-11 11:47:50 +10:00
Lea Anthony
f2ab205415
[chore] Use webview2 package ( #2687 )
...
* [v2 windows] Use external webview2 package
* Update CHANGELOG
2023-06-10 17:04:31 +10:00
Lea Anthony
41edd78953
Update format-markdown-files.yml
2023-06-10 17:01:01 +10:00
Lea Anthony
833671d30c
[v3 windows] Add clipboard support
2023-06-10 13:01:10 +10:00
Lea Anthony
ae691b8e52
[v3 windows] Small icon updates
2023-06-10 10:19:33 +10:00
Lea Anthony
2b56b7b6b9
[v3] Update status and log plugin readme
2023-06-09 20:44:24 +10:00
Lea Anthony
81a5380f67
[v3 windows] Handle null result from callbacks. Call results should respond on main thread.
2023-06-09 20:34:11 +10:00
Lea Anthony
7c45e3ac13
[v3 mac] Fixed drag
2023-06-09 17:00:07 +10:00
github-actions[bot]
3dbe6e96c1
chore: update sponsors.svg ( #2701 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-09 10:40:39 +10:00
Lea Anthony
28a2b4fbd9
[v2] Update go mod dependency versions
2023-06-09 10:15:21 +10:00
Lea Anthony
d1932c36ce
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
...
# Conflicts:
# v2/internal/app/app_dev.go
# v3/STATUS.md
# v3/Taskfile.yaml
# v3/examples/binding/go.mod
# v3/examples/binding/go.sum
# v3/examples/menu/main.go
# v3/examples/window/main.go
# v3/go.mod
# v3/go.sum
# v3/pkg/application/application_windows.go
# v3/pkg/application/dialogs_windows.go
# v3/pkg/application/menuitem_windows.go
# v3/pkg/application/options_webview_window.go
# v3/pkg/application/options_win.go
# v3/pkg/application/popupmenu_windows.go
# v3/pkg/application/systemtray_windows.go
# v3/pkg/application/webview_window.go
# v3/pkg/application/webview_window_windows.go
# v3/pkg/events/events.go
# v3/pkg/events/events.txt
# v3/pkg/w32/constants.go
# v3/pkg/w32/popupmenu.go
# v3/pkg/w32/screen.go
# v3/pkg/w32/typedef.go
# v3/pkg/w32/user32.go
# website/src/pages/changelog.mdx
2023-06-07 08:19:25 +10:00
Lea Anthony
adb7ddf8d2
[v3] Update go mod for plugins examples
2023-06-06 21:07:28 +10:00
Lea Anthony
3b0a57ca6d
[v3 plugins] Support single-instance on Windows
2023-06-06 21:06:52 +10:00
Lea Anthony
4ee75e93c9
[v3] Improve examples
2023-06-06 20:41:28 +10:00
Lea Anthony
ff218e5323
[v3 windows] Support systray.Destroy()
2023-06-06 20:40:56 +10:00
Lea Anthony
df0969d1c6
[v3 windows] Support About box. Improve app menu handling.
2023-06-06 20:40:38 +10:00
Lea Anthony
23d7ac0e58
[v3 windows] Add MessageBoxIndirect
2023-06-06 20:39:24 +10:00
Lea Anthony
f9a87944cf
[v3] icons.ico -> icon.ico
2023-06-06 20:38:45 +10:00
Lea Anthony
eff456aa1a
[v3 windows] Improve systray locking
2023-06-06 20:38:01 +10:00
Lea Anthony
1ce07cd67c
[v3 windows] Update Taskfile in templates
2023-06-06 20:37:15 +10:00
Lea Anthony
fc7952ff3b
[v3 windows] Update examples. Add example table to STATUS.md
2023-06-05 20:34:52 +10:00
Lea Anthony
bb28bdf565
[v3 windows] Fix resize bug when using setSize
2023-06-05 20:33:45 +10:00
Lea Anthony
04d5842124
[v3 windows] Add package:windows task
2023-06-05 19:57:40 +10:00
Lea Anthony
1a12890556
[v3 windows] Add Webview2NavigationCompleted event. Support CSS + JS injection
2023-06-05 08:58:53 +10:00
Lea Anthony
d021d885ca
[v3 windows] Update STATUS.md
2023-06-04 14:08:27 +10:00
Lea Anthony
3433b8ce8f
[v3 windows] Support context menus
2023-06-04 14:05:19 +10:00
5aaee9
6d857bf61a
windows/nsis: add hidpi support for nsis installer ( #2694 )
...
* feat(windows/nsis): add hidpi support for nsis installer
* website: add changelog
2023-06-04 07:26:24 +10:00
github-actions[bot]
4814e65da2
docs: sync translations ( #2685 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-03 17:20:10 +10:00
github-actions[bot]
644dc653a9
chore: update sponsors.svg ( #2698 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-06-03 17:18:59 +10:00
Lea Anthony
6092730acc
[v3 windows] Support Close and take into account HideOnClose option
2023-06-03 15:23:10 +10:00
Lea Anthony
ba4ffe4ecc
[v3 windows] Support devtools on startup
2023-06-03 15:19:38 +10:00
Lea Anthony
55b3e2d35a
[v3 windows] Update STATUS.md
2023-06-03 15:08:50 +10:00
Lea Anthony
6b926ec463
[v3 windows] Support setURL, execJS, reload, zoomIn/Out/Reset, get/setZoom, setHTML,
2023-06-03 15:03:26 +10:00
dependabot[bot]
19932bf3ad
Bump @antfu/utils and unconfig in /scripts/sponsors ( #2696 )
...
Bumps [@antfu/utils](https://github.com/antfu/utils ) and [unconfig](https://github.com/antfu/unconfig ). These dependencies needed to be updated together.
Updates `@antfu/utils` from 0.5.2 to 0.7.4
- [Release notes](https://github.com/antfu/utils/releases )
- [Commits](https://github.com/antfu/utils/compare/v0.5.2...v0.7.4 )
Updates `unconfig` from 0.3.7 to 0.3.9
- [Release notes](https://github.com/antfu/unconfig/releases )
- [Commits](https://github.com/antfu/unconfig/compare/v0.3.7...v0.3.9 )
---
updated-dependencies:
- dependency-name: "@antfu/utils"
dependency-type: indirect
- dependency-name: unconfig
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-03 07:52:41 +10:00
Lea Anthony
9b686b5417
[v3 windows] Support Application Menu, hiding menu items
2023-06-01 22:52:04 +10:00
Lea Anthony
82ec56bc7d
[v3 windows] Support GetScreens and GetPrimaryScreen
2023-06-01 22:52:03 +10:00
Lea Anthony
798e51d4d3
[v3 windows] Fix window ID processing
2023-06-01 22:52:02 +10:00
Lea Anthony
35c41552de
[v3 mac] Basic common event support. Taskfile refactor
2023-06-01 22:51:25 +10:00
Lea Anthony
19be7f61ac
[v3 windows] Fix resizing. Add resize debouncing
2023-05-30 16:36:00 +08:00
Misite Bao
bbf0e8cdad
chore: split Taskfile ( #2654 )
2023-05-30 16:35:59 +08:00
Lea Anthony
7e2d2a29a1
[v3 windows] Initial webview2 working
2023-05-30 16:33:34 +08:00
Lea Anthony
671dc2aa3a
[v3 windows] Implement start x/y + parent window for dialogs
2023-05-30 16:33:34 +08:00
Lea Anthony
294a2c701e
[v3] Update esbuild
2023-05-30 16:33:34 +08:00
Lea Anthony
01f03c552d
[v3] Improve invoke
2023-05-30 16:33:33 +08:00
Lea Anthony
dc46154d94
[v3 mac] Support drag
2023-05-30 16:33:33 +08:00
Lea Anthony
87737c23eb
[v3 mac] DisableWindowShadow -> DisableShadow
2023-05-30 16:33:33 +08:00
Lea Anthony
6e6f099a99
[v3 mac] Basic common event support. Taskfile refactor
2023-05-30 16:33:32 +08:00
Lea Anthony
4cb3321c39
[v3 mac] Update README
2023-05-30 16:32:02 +08:00
Lea Anthony
6a2343a1a0
[v3 mac] Add DisableWindowShadow option
2023-05-30 16:32:01 +08:00
Lea Anthony
f2d6dba2cf
[v3 windows] initial dialog support. Refactor button callback name
2023-05-30 16:32:01 +08:00
stffabi
dd1ef7fae9
[v3 darwin] Add darwin identifier darwin only file
2023-05-30 16:32:01 +08:00
stffabi
527cff9ec3
[v3 darwin] Add darwin identifier to all C files of darwin
2023-05-30 16:32:00 +08:00
stffabi
ba150eccae
[v3 windows] Add close handling: HideOnClose, QuitOnLastWindowClosed and DisableQuitOnLastWindowClosed
2023-05-30 16:32:00 +08:00
Travis McLane
fa74986f1e
[v3 example] menu text toggle
2023-05-30 16:32:00 +08:00
Travis McLane
d1085b5bea
[v3 example] add menuitem.Hidden / setHidden example
2023-05-30 16:31:59 +08:00
Travis McLane
4d0a14d2eb
[v3 darwin] menuitem.setHidden implementation
2023-05-30 16:31:59 +08:00
Travis McLane
8c3439b733
[dialogs] remove default title
...
without this removal a user would have to call `SetTitle("")` in order to
erase the default if they desire a title-less dialog.
2023-05-30 16:31:59 +08:00
stffabi
a0534d527a
[v3 application] Fix race conditions between starting a window/systray and starting the application
...
Make sure a window is never run before the windowCreated hooks have been executed.
2023-05-30 16:31:59 +08:00
Lea Anthony
a5b52f2795
[v3 windows] initial systray support
2023-05-30 16:31:58 +08:00
Lea Anthony
b526ebd679
[v3 mac] Update api. New template icon.
2023-05-30 16:31:58 +08:00
Lea Anthony
51b9315ae9
[v3 windows] update status
2023-05-30 16:31:58 +08:00
Lea Anthony
8edf44dc31
[v3 windows] New icons
2023-05-30 16:31:57 +08:00
Lea Anthony
9b7626e59e
[v3 windows] Move icons to own package, systray dark mode icon, window.Focus(),
2023-05-30 16:31:57 +08:00
Lea Anthony
6dd092c7a9
[v3 windows] Rename systray callback handlers
2023-05-30 16:31:57 +08:00
Lea Anthony
46a0d467c0
[v3 windows] Dialogs to use invokeSync
2023-05-30 16:31:56 +08:00
Lea Anthony
e3b164ae93
[v3 windows] Systray callback handlers
2023-05-30 16:31:56 +08:00
stffabi
d8f58ab20f
[v3 windows] Fix wndproc default case with WMMessageToString
2023-05-30 16:31:56 +08:00
stffabi
0de2bccd28
[v3 windows] Do not disable WndProc messaging for systray when updating icon
2023-05-30 16:31:55 +08:00
Lea Anthony
2eaf724710
[v3 windows] Fix systray icon size
2023-05-30 16:31:55 +08:00
Lea Anthony
58138ac09b
[v3 windows] Initial systray support
2023-05-30 16:31:55 +08:00
Lea Anthony
143f090422
[v3] Use invokeSync for systray methods
2023-05-30 16:31:55 +08:00
Lea Anthony
f8f466ba7e
[v3 windows] Support irregular shaped windows. Centered option.
2023-05-30 16:31:54 +08:00
Lea Anthony
cb28de47f8
[v3 windows] Support irregular shaped windows
2023-05-30 16:31:54 +08:00
stffabi
4ad2475ed6
[v3] Add some missing methods for darwin and windows
2023-05-30 16:31:54 +08:00
Travis McLane
0172078536
[w32] move windows specific code to impl file
2023-05-30 16:31:53 +08:00
Travis McLane
0bb1fb512a
[w32] add missing build constraint
2023-05-30 16:31:53 +08:00
Lea Anthony
b6940d95a2
[v3 windows] Add frameless resize
2023-05-30 16:31:53 +08:00
stffabi
75f0457375
[v3 windows] Add HiDPI awareness
2023-05-30 16:31:52 +08:00
stffabi
ffe31b6265
[v3 windows] Add frameless support
2023-05-30 16:31:52 +08:00
Lea Anthony
8963610722
[v3 windows] Implement getScreen
2023-05-30 16:31:52 +08:00
Lea Anthony
66bfcf0e36
[v3] Ensure impl calls from WebvieWindow are on the main thread. Support size.
2023-05-30 16:31:52 +08:00
Lea Anthony
0b3559abfe
[v3] Fix examples
2023-05-30 16:31:51 +08:00
Lea Anthony
773389ee5e
[v3] Update examples to use correct options.
2023-05-30 16:31:51 +08:00
Lea Anthony
4c04991d4d
[v3] Change WebviewWindow options to be a value, not a pointer. Support Un/Fullscreen. Remove main thread switching. Use parent options instead of local variables.
2023-05-30 16:31:51 +08:00
Lea Anthony
d56bb59b72
[v3 Windows] Support application hide/show. Add WebviewWindow.IsVisible().
2023-05-30 16:31:50 +08:00
Lea Anthony
6e92a4f71e
[v3 Windows] Support setMin/MaxSize, setPosition
2023-05-30 16:31:50 +08:00
Lea Anthony
1f6217c0d8
[v3 Windows] Add Support for SetTitle, Center, Un/Minimise/Maximise, IsMin/Maximised, IsNormal, Show/Hide
2023-05-30 16:31:50 +08:00
Lea Anthony
17204bebd0
[v3 Breaking Change] Add NativeWindowHandle method to WebviewWindow.
2023-05-30 16:31:49 +08:00
Lea Anthony
728e2019d8
[v3 windows] Moved w32 from internal to pkg so it may be used by applications
2023-05-30 16:31:49 +08:00
Lea Anthony
7f3fdd6977
[v3 windows] Add WndProcInterceptor for custom message processing
2023-05-30 16:31:49 +08:00
Lea Anthony
e8798f8371
[v3 windows] Rename options_windows.go -> options_win.go
2023-05-30 16:31:48 +08:00
Lea Anthony
402b743553
[v3 windows] Add APM Events
2023-05-30 16:31:48 +08:00
Lea Anthony
f08ae2fc62
[v3] Update application.On and window.On to return functions that unregister the listener. WebviewWindow.onApplicationEvent is a helper which will manage the unregistering for you on window destroy.
2023-05-30 16:31:48 +08:00
Lea Anthony
178ea9c8c5
[windows] Split out wndProc. Generate windows events, support per-window themes
2023-05-30 16:31:48 +08:00
Lea Anthony
7c63cee9e8
[windows] Support AlwaysOnTop, EnableResize at runtime. Added Solid/Transparent/Translucent options.
2023-05-30 16:31:47 +08:00
stffabi
4a60dfc373
[v3, windows] Add MainThread dispatching and fixes the blocking window
2023-05-30 16:31:47 +08:00
Lea Anthony
829a829cb4
[windows] WIP
2023-05-30 16:31:47 +08:00
Travis McLane
34896ccb4e
[darwin] add getPrimaryScreen/getScreens to impl ( #2618 )
2023-05-30 16:31:46 +08:00
Lea Anthony
5df5eb6a04
Fix module path for non-modified repo
2023-05-30 16:31:46 +08:00
Lea Anthony
31ba36baf3
[windows] Initial commit
2023-05-30 16:31:46 +08:00
Lea Anthony
bf10f71760
[windows] Fix paths for wails init
2023-05-30 16:31:45 +08:00
Lea Anthony
8aa61fff6d
Intial STATUS.md commit
2023-05-30 16:31:45 +08:00
Misite Bao
d3a4d89786
chore: add Prettier as format tool ( #2689 )
2023-05-30 07:40:54 +10:00
Lea Anthony
84919468ba
[v2 docs] Fix cli.mdx
2023-05-27 13:30:24 +10:00
Misite Bao
bd5b7e5e3f
feat(website): update the Crowdin branch ( #2688 )
2023-05-27 12:51:43 +10:00
Lea Anthony
4f3dc1b0e1
[v2 docs] Fix changelog + cli options.
2023-05-27 12:49:10 +10:00
Marvin Wendt
65c68301a0
Change style of doctor command ( #2660 )
...
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Refactor doctor command
* Added changelog entry
2023-05-26 17:55:53 +10:00
Misite Bao
37e43dabc0
docs: improve documentation ( #2686 )
...
* docs: fix changelog format
* fix: fix release tools
* chore: set sync translated documents as a scheduled task
2023-05-26 17:49:50 +10:00
github-actions[bot]
ec19458c1b
docs: sync translations ( #2616 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-05-25 18:43:31 +10:00
Amin Yahyaabadi
35eb1e0160
fix: avoid app crashing when the Linux GTK key is empty ( #2672 )
...
* fix: avoid app crash when the Linux GTK key is empty
Fixes this error:
```
DEBUG | Log dir is: /root/.config/surrealdb_explorer/log.txt
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
panic: runtime error: index out of range [0] with length 0
goroutine 1 [running, locked to thread]:
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.parseKey({0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:87 +0xa5
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.acceleratorToGTK(0xc0001c5f20)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/keys.go:72 +0x2c
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenuItem(0x866bc0?, 0xc0001c8a80, 0xc0001c8a80?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:159 +0x40b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processSubmenu(0xc0001c8a20, 0x79a2a9?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:99 +0xdc
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.processMenu(0xc00021f6c0, 0x12?)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:82 +0x46
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.(*Window).SetApplicationMenu(0xc00021f6c0, 0xc000128dc8)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/menu.go:75 +0x1b6
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewWindow(0xc00011ba40, 0x0)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/window.go:126 +0x37b
github.com/wailsapp/wails/v2/internal/frontend/desktop/linux.NewFrontend({0x1cea4e8?, 0xc00023b890}, 0xc00011ba40, 0xc000128e40, 0xc0001c8b40, {0x1ce7480?, 0xc000139840})
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/linux/frontend.go:182 +0x5c5
github.com/wailsapp/wails/v2/internal/frontend/desktop.NewFrontend(...)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/frontend/desktop/desktop_linux.go:16
github.com/wailsapp/wails/v2/internal/app.CreateApp(0xc00011ba40)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/internal/app/app_production.go:84 +0x5a5
github.com/wailsapp/wails/v2/pkg/application.(*Application).Run(0xc000131940)
/home/aminya/go/pkg/mod/github.com/wailsapp/wails/v2@v2.5.1/pkg/application/application.go:57 +0x29
wails_vue/backend.BootApplication(0xc000131640, 0xc000138a40, 0xc0001c5320, 0xc0001c55c0, 0xc000128b40, 0xc00012ec30, 0xc000131880)
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/backend/Application.go:103 +0x718
reflect.Value.call({0x874160?, 0x1c761f0?, 0xc000138a00?}, {0x8e263d, 0x4}, {0xc0001584d0, 0x7, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:586 +0xb0b
reflect.Value.Call({0x874160?, 0x1c761f0?, 0x1c761f0?}, {0xc0001584d0?, 0x0?, 0x1c761f0?})
/usr/local/go/src/reflect/value.go:370 +0xbc
github.com/Envuso/go-ioc-container.(*Invocable).CallMethodWith(0xc000138a00, 0x1c761f0?, {0x0?, 0x1cef290?, 0x8bd180?})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/invocable.go:149 +0xad
github.com/Envuso/go-ioc-container.(*ContainerInstance).Call(0xc00011c630?, {0x874160?, 0x1c761f0?}, {0x0, 0x0, 0x0})
/home/aminya/go/pkg/mod/github.com/!envuso/go-ioc-container@v0.0.5/container_invocation.go:30 +0x6c
main.main()
/home/aminya/Documents/GitHub/teamnoon/SurrealDB-Explorer/main.go:34 +0x112
```
* fix: merge the key length comparison
2023-05-25 18:40:37 +10:00
github-actions[bot]
12a9ff17d6
chore: update sponsors.svg ( #2683 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-25 17:05:48 +10:00
Lea Anthony
a7116ff5e7
[website] Add windows icon troubleshooting guide
2023-05-21 17:55:38 +10:00
Lea Anthony
f645b530da
[v3] Update esbuild
2023-05-19 07:58:25 +10:00
Lea Anthony
27573d191e
[v3] Improve invoke
2023-05-18 19:18:20 +10:00
Lea Anthony
d6b4fdf979
[v3 mac] Support drag
2023-05-17 21:09:27 +10:00
Lea Anthony
39c834b83f
[v3 mac] DisableWindowShadow -> DisableShadow
2023-05-17 08:13:05 +10:00
Lea Anthony
f210357bfe
[v3 mac] Basic common event support. Taskfile refactor
2023-05-17 07:58:40 +10:00
Lea Anthony
62d97f85ec
v2.5.1
2023-05-16 19:43:41 +10:00
Lea Anthony
3094c19cf3
[v3 mac] Update README
2023-05-16 18:00:17 +10:00
Lea Anthony
225437f1e8
[v3 mac] Add DisableWindowShadow option
2023-05-16 17:54:34 +10:00
stffabi
496461920f
[v2] DevServer improvements and fixes ( #2664 )
...
* [assetserver, darwin] Fix copying request headers by using strdup
* [assetserver, linux] Fake some basic http headers for legacy webkit2 versions to support proxying requests to other servers
This fixes the devserver on v2 for newer vite versions that use the custom
scheme.
* [v2, windows] 304 responses are going to hang the WebView2 so prevent them by removing cache related headers in the request.
* [v2, dev] Now uses the custom schemes `wails://` on macOS and Linux for all Vite versions.
Prevent missing reload after fast multiple savings on Linux and Windows.
2023-05-16 09:35:48 +02:00
stffabi
22b53192e6
[v2, webview2loader] Prevent env and registry overrides when using the go loader ( #2668 )
2023-05-15 21:12:16 +02:00
Lea Anthony
c1a0e1338f
Add PR template
2023-05-14 08:46:57 +10:00
Lea Anthony
7266f2a78a
Add PR template
2023-05-14 08:42:03 +10:00
Lea Anthony
774cbdec38
Update changelog.mdx
2023-05-13 14:49:07 +10:00
Lea Anthony
ba6b28b3c2
v2.5.0
2023-05-13 14:18:06 +10:00
Misite Bao
3d68ef0115
chore: update channel ( #2648 )
2023-05-13 13:48:11 +10:00
github-actions[bot]
0342023990
chore: update sponsors.svg ( #2656 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-13 13:44:15 +10:00
Lea Anthony
a23bb1e350
[v3 windows] initial dialog support. Refactor button callback name
2023-05-12 20:56:22 +10:00
stffabi
2fbb21a84e
[v3 darwin] Add darwin identifier darwin only file
2023-05-12 11:02:15 +02:00
stffabi
5c08fcb43e
[v3 darwin] Add darwin identifier to all C files of darwin
2023-05-12 09:25:50 +02:00
stffabi
cc59655cb1
[v3 windows] Add close handling: HideOnClose, QuitOnLastWindowClosed and DisableQuitOnLastWindowClosed
2023-05-12 08:06:05 +02:00
Travis McLane
8ff0a2b0ff
[v3 example] menu text toggle
2023-05-11 11:10:17 -05:00
Travis McLane
fe549af784
[v3 example] add menuitem.Hidden / setHidden example
2023-05-11 10:56:19 -05:00
Travis McLane
a4549c94c1
[v3 darwin] menuitem.setHidden implementation
2023-05-11 10:51:52 -05:00
Travis McLane
706256d3f0
[dialogs] remove default title
...
without this removal a user would have to call `SetTitle("")` in order to
erase the default if they desire a title-less dialog.
2023-05-11 08:54:38 -05:00
stffabi
3049773e7f
[v3 application] Fix race conditions between starting a window/systray and starting the application
...
Make sure a window is never run before the windowCreated hooks have been executed.
2023-05-11 07:00:42 +02:00
Travis McLane
9da5df354e
make it compilable again
2023-05-10 09:10:03 -05:00
Travis McLane
54ba6d47f4
Revert "[linux] dispatchOnMainThread"
...
This reverts commit 346517a185640aa40bc8710b815cf3e5ff7dc4a8.
2023-05-10 09:10:03 -05:00
Travis McLane
17647e2c2f
[linux/cgo] hide/show implementation
2023-05-10 09:10:03 -05:00
Travis McLane
9da5cea88d
[linux/cgo] bugfix
2023-05-10 09:10:03 -05:00
Travis McLane
3784746ddb
[linux] STATUS.md
2023-05-10 09:10:03 -05:00
Travis McLane
281f6335c1
[linux] dispatchOnMainThread
2023-05-10 09:10:03 -05:00
Travis McLane
5129c0f4e2
[fixup] remove 'activate'
2023-05-10 09:10:03 -05:00
Travis McLane
5078e89a71
[darwin] implement isNormal
2023-05-10 09:10:03 -05:00
Travis McLane
41aef27631
[linux] use getNativeApplication
2023-05-10 09:10:03 -05:00
Travis McLane
754d0934bf
[darwin] systray basic darkmode implementation
2023-05-10 09:10:03 -05:00
Travis McLane
be2d616190
[linux] getNativeApplication
2023-05-10 09:10:03 -05:00
Travis McLane
ba34e47c4b
[linux/purego] updates
2023-05-10 09:10:03 -05:00
Travis McLane
a485b188b3
[linux/cgo] updates
2023-05-10 09:10:03 -05:00
Travis McLane
718e89ad1e
[core/menu] prevent nil impl crash
2023-05-10 09:10:03 -05:00
Travis McLane
9453a60254
[linux] window registration + default menu
2023-05-10 09:10:03 -05:00
Travis McLane
f87ec9d401
[purego]
2023-05-10 09:10:03 -05:00
Travis McLane
cb1859a710
[cgo] registerWindow
2023-05-10 09:10:03 -05:00
Travis McLane
1ed95164db
[purego]
2023-05-10 09:10:03 -05:00
Travis McLane
ac5d0e54f0
[purego] assethandler updates
2023-05-10 09:10:03 -05:00
Travis McLane
b1e79411e7
[examples] update label on click
2023-05-10 09:10:03 -05:00
Travis McLane
a9d834d715
[examples] update label on click
2023-05-10 09:10:03 -05:00
Travis McLane
68cfd130d3
[linux/cgo] initial implementation
2023-05-10 09:10:03 -05:00
Travis McLane
93a4b823c8
[linux/purego] initial port
2023-05-10 09:10:03 -05:00
Travis McLane
769662d77a
[v2] assetserver/webview purego implementation
2023-05-10 09:10:03 -05:00
Lea Anthony
7fd627f169
[v3 windows] initial systray support
2023-05-10 19:35:40 +10:00
Lea Anthony
b91468b6f2
[v3 mac] Update api. New template icon.
2023-05-09 21:55:17 +10:00
Lea Anthony
0b9cd4be5d
[v3 windows] update status
2023-05-09 21:47:22 +10:00
Lea Anthony
4c587ee1b8
[v3 windows] New icons
2023-05-09 19:53:01 +10:00
Lea Anthony
19e1e8b8a6
[v3 windows] Move icons to own package, systray dark mode icon, window.Focus(),
2023-05-09 19:52:33 +10:00
Lea Anthony
67e9522c67
[v3 windows] Rename systray callback handlers
2023-05-08 20:16:25 +10:00
Lea Anthony
a829b38a34
[v3 windows] Dialogs to use invokeSync
2023-05-08 20:11:51 +10:00
Lea Anthony
c8dae94b5b
[v3 windows] Systray callback handlers
2023-05-08 19:43:58 +10:00
stffabi
87267758ac
[v3 windows] Fix wndproc default case with WMMessageToString
2023-05-07 22:17:43 +02:00
stffabi
5f72df81fb
[v3 windows] Do not disable WndProc messaging for systray when updating icon
2023-05-07 21:40:40 +02:00
Lea Anthony
1ed270fe05
[v3 windows] Fix systray icon size
2023-05-07 20:19:37 +10:00
Lea Anthony
19a654a2b1
[v3 windows] Initial systray support
2023-05-07 19:13:07 +10:00
Lea Anthony
f9bbc11711
[v3] Use invokeSync for systray methods
2023-05-07 10:34:08 +10:00
Lea Anthony
42b1807c36
[v3 windows] Support irregular shaped windows. Centered option.
2023-05-06 20:22:28 +10:00
Lea Anthony
647982de1a
[v3 windows] Support irregular shaped windows
2023-05-06 15:05:00 +10:00
github-actions[bot]
2922a98f7c
chore: update sponsors.svg ( #2650 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-06 11:16:28 +10:00
Lea Anthony
f5557c612a
Merge remote-tracking branch 'origin/v3-alpha' into v3-alpha
2023-05-05 06:41:04 +10:00
Misite Bao
b82be31d7e
chore: remove the v1 content ( #2641 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-05-04 18:36:01 +10:00
github-actions[bot]
8d7c033a66
chore: update sponsors.svg ( #2643 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-05-03 19:52:34 +10:00
stffabi
f4749db8b3
[v3] Add some missing methods for darwin and windows
2023-05-02 21:56:40 +02:00
Travis McLane
86a1de6788
[w32] move windows specific code to impl file
2023-05-02 10:52:21 -05:00
Travis McLane
792c5e2d95
[w32] add missing build constraint
2023-05-02 10:52:09 -05:00
Lea Anthony
6758580be9
[v3 windows] Add frameless resize
2023-05-02 23:18:22 +10:00
stffabi
6f246eed4a
[v3 windows] Add HiDPI awareness
2023-05-02 09:45:21 +02:00
stffabi
fc3725d3f4
[v3 windows] Add frameless support
2023-05-02 09:29:47 +02:00
Misite Bao
516c4853f9
feat(cli): use Spinner instead of Print ( #2637 )
2023-05-01 22:57:10 +10:00
Lea Anthony
00c6f0dfdb
[v3 windows] Implement getScreen
2023-05-01 21:11:40 +10:00
Lea Anthony
cf7b4e2458
[v3] Ensure impl calls from WebvieWindow are on the main thread. Support size.
2023-05-01 20:28:46 +10:00
Lea Anthony
f682e44367
[v3] Fix examples
2023-05-01 18:24:24 +10:00
Lea Anthony
9d1f86c410
[v3] Update examples to use correct options.
2023-05-01 18:21:22 +10:00
Lea Anthony
dac281ac32
[v3] Change WebviewWindow options to be a value, not a pointer. Support Un/Fullscreen. Remove main thread switching. Use parent options instead of local variables.
2023-05-01 18:20:28 +10:00
Lea Anthony
29a58086a3
[v3 Windows] Support application hide/show. Add WebviewWindow.IsVisible().
2023-05-01 11:34:06 +10:00
Lea Anthony
cb8eb755a7
[v3 Windows] Support setMin/MaxSize, setPosition
2023-05-01 10:52:46 +10:00
Lea Anthony
1e8fc29ee4
[v3 Windows] Add Support for SetTitle, Center, Un/Minimise/Maximise, IsMin/Maximised, IsNormal, Show/Hide
2023-04-30 20:55:51 +10:00
Lea Anthony
9a05b49e3d
[v3 Breaking Change] Add NativeWindowHandle method to WebviewWindow.
2023-04-30 10:17:03 +10:00
Lea Anthony
79f8d92084
[v3 windows] Moved w32 from internal to pkg so it may be used by applications
2023-04-30 10:02:00 +10:00
Lea Anthony
6e56542586
[v3 windows] Add WndProcInterceptor for custom message processing
2023-04-30 09:49:50 +10:00
Lea Anthony
c53443b62b
[v3 windows] Rename options_windows.go -> options_win.go
2023-04-30 09:10:00 +10:00
LGiki
832d6bc4d3
[v2, linux] Fix StartHidden option not working on Linux ( #2624 )
...
* fix: StartHidden option not working on Linux
* chore: add an entry to the changelog
2023-04-30 01:20:39 +10:00
dependabot[bot]
fa0afe92f0
Bump yaml from 2.2.1 to 2.2.2 in /v3/internal/runtime ( #2623 )
...
Bumps [yaml](https://github.com/eemeli/yaml ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: yaml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-29 20:42:50 +10:00
Lea Anthony
1128662c89
[v3 windows] Add APM Events
2023-04-29 20:33:33 +10:00
Lea Anthony
676787417f
[v3] Update application.On and window.On to return functions that unregister the listener. WebviewWindow.onApplicationEvent is a helper which will manage the unregistering for you on window destroy.
2023-04-29 19:39:05 +10:00
Lea Anthony
57422dccf3
[windows] Split out wndProc. Generate windows events, support per-window themes
2023-04-29 12:14:12 +10:00
Lea Anthony
7f3f51e36b
[windows] Support AlwaysOnTop, EnableResize at runtime. Added Solid/Transparent/Translucent options.
2023-04-28 21:11:49 +10:00
github-actions[bot]
ea40cf8705
chore: update sponsors.svg ( #2630 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-28 18:27:29 +10:00
stffabi
3853d2d1bf
[v2, windows] Handle webview2 process crashes and add DisableWebViewRendererCodeIntegrity flag ( #2627 )
...
* Add flag to disable webview RendererCodeIntegrity checks
* Handle webview2 process crashes
2023-04-27 23:03:26 +02:00
stffabi
ef184ec8bf
[v3, windows] Add MainThread dispatching and fixes the blocking window
2023-04-26 21:06:54 +02:00
Dominic Lee
d249c2207b
fix: parse struct references for type generation ( #2552 )
...
* fix: parse struct references for type generation
* chore: update changelog for typescript generation fix
2023-04-26 23:23:39 +10:00
Lea Anthony
9bfe3094dd
[windows] WIP
2023-04-26 21:07:04 +10:00
stffabi
3547b4d010
[v2, darwin] Add some missing default shortcuts ( #2586 )
...
* [v2, darwin] Add "Hide, Hide Others, Show All“ to appmenu
This also includes shortcuts support for those commands.
Arrange the menu items in the well known MacOS order.
* [v2, darwin] Add Window menu with well known shortcuts Minimize, Full-Screen and Zoom.
2023-04-26 21:07:04 +10:00
stffabi
1222e3aa1b
[v2, dev] Use custom schemes for in-app dev mode ( #2610 )
...
This fixes some long-standing inconsistencies between
dev mode builds and production builds but is a breaking
change. Dev mode uses custom scheme for Vite versions >= 3.0.0
and for older it still behaves in the old way.
2023-04-26 21:07:03 +10:00
stffabi
cff3ee5079
[assetServer] Improve release/close handling of webview requests ( #2612 )
2023-04-26 21:07:03 +10:00
Travis McLane
c91aa462aa
[darwin] add getPrimaryScreen/getScreens to impl ( #2618 )
2023-04-24 09:34:44 +10:00
stffabi
0bf41090b0
[v2, darwin] Add some missing default shortcuts ( #2586 )
...
* [v2, darwin] Add "Hide, Hide Others, Show All“ to appmenu
This also includes shortcuts support for those commands.
Arrange the menu items in the well known MacOS order.
* [v2, darwin] Add Window menu with well known shortcuts Minimize, Full-Screen and Zoom.
2023-04-20 12:38:32 +02:00
stffabi
529ec569f7
[v2, dev] Use custom schemes for in-app dev mode ( #2610 )
...
This fixes some long-standing inconsistencies between
dev mode builds and production builds but is a breaking
change. Dev mode uses custom scheme for Vite versions >= 3.0.0
and for older it still behaves in the old way.
2023-04-20 12:37:40 +02:00
stffabi
7c1490a8b1
[assetServer] Improve release/close handling of webview requests ( #2612 )
2023-04-20 12:06:37 +02:00
Lea Anthony
62b3775e2f
Fix module path for non-modified repo
2023-04-19 08:22:58 +10:00
Lea Anthony
54bf8c1142
[windows] Initial commit
2023-04-18 21:27:09 +10:00
Lea Anthony
c4f613e4c5
[windows] Fix paths for wails init
2023-04-18 20:41:59 +10:00
Lea Anthony
a66d9ab0b1
Intial STATUS.md commit
2023-04-18 18:53:39 +10:00
github-actions[bot]
c7e5608a60
docs: sync translations ( #2581 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-04-17 23:48:27 +10:00
Misite Bao
d8d4997532
chore: optimize website building process ( #2601 )
...
* chore: remove pnpm from dependencies
* chore: upgrade devDependencies
* chore: set Nodejs version
2023-04-17 20:54:06 +10:00
github-actions[bot]
a1cc41c926
chore: update sponsors.svg ( #2603 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-17 20:51:33 +10:00
stffabi
767bfcff89
[v2, windows] Make sure to open the CommonFileDialogs on the main thread ( #2606 )
...
Otherwise it might have some strange side-effects like blocking
the completion of Deferrals in WebView2 when using custom
IStreams.
2023-04-17 20:50:27 +10:00
Lea Anthony
46bcce7566
[website] Upgrade pnpm-lock.yaml
2023-04-16 20:58:19 +10:00
Lea Anthony
c4609efe01
[website] Upgrade pnpm
2023-04-16 20:26:43 +10:00
Lea Anthony
cc6518f984
Remove label-sponsors workflow for now
2023-04-16 20:22:56 +10:00
Lea Anthony
69d3a3f639
Remove generate-contributors workflow for now
2023-04-16 20:21:45 +10:00
Joshua Hull
489689b477
Use json.Marshal instead of strconv.Quote to correctly support unicode ( #2509 )
...
* Use json.Marshal instead of strconv.Quote to correctly support unicode
* Add fix to changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-16 10:19:40 +10:00
George Wang
eaca3d06f6
Update zypper.go ( #2593 )
...
Add package(webkit2gtk3-soup2-devel) for `libwebkit`.
Change environment variable before running command to query information
of the package.
2023-04-16 10:00:39 +10:00
Matthew Davis
b302064f2f
Feature/templates/angular15 ( #2595 )
...
* added new angular template
* removed 2-year old template
* renamed to wails-template-angular from wails-angular-template
* added previous template back
2023-04-16 09:58:36 +10:00
Lea Anthony
67063d419c
Update generate-contributors.yml
2023-04-15 20:40:45 +10:00
github-actions[bot]
03cef1887f
chore: update sponsors.svg ( #2596 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-15 18:14:43 +10:00
Lea Anthony
929593c5b8
Update generate-contributors.yml
2023-04-14 20:16:01 +10:00
Lea Anthony
57e718af68
Update generate-contributors.yml
2023-04-14 20:10:29 +10:00
github-actions[bot]
f96aab0d44
chore: update sponsors.svg ( #2591 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-14 20:08:52 +10:00
Lea Anthony
140e3b5947
Update generate-contributors.yml
2023-04-14 20:05:45 +10:00
Lea Anthony
a8339c9e93
Update generate-contributors.yml
2023-04-14 20:04:12 +10:00
stffabi
39a7ab5856
[assetserver, linux] Add support for WebKit2GTK 2.40+ features ( #2592 )
2023-04-14 11:16:27 +02:00
stffabi
ec3da8b7ef
[v2, darwin] Fix updating the menu on runtime ( #2588 )
2023-04-14 00:14:19 +10:00
stffabi
b64b2a8da1
[v2, dev] Fix skipbindings flag in wails dev ( #2584 )
2023-04-13 07:45:49 +10:00
Misite Bao
1979bca0f5
chore: fix pnpm environment settings ( #2580 )
2023-04-12 22:21:25 +10:00
Misite Bao
0f791c71f4
fix: fix website build and add taskfile ( #2577 )
...
* chore: update dependencies
* docs: update source documents
* chore: use Taskfile instead of scripts
2023-04-12 21:36:01 +10:00
Travis McLane
fbe7d4de6b
Bugfix/remove miniaturize ( #2579 )
...
* remove duplicate 'minimize' from interface
already covered by 'minimise'
* [darwin] remove windowMiniaturize
duplicates the logic in windowMinimise
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-12 21:34:31 +10:00
stffabi
c8d203d4d6
[v3, darwin] Fix leaking WebKit processes on Window close ( #2574 )
...
* [v3, darwin] Fix leaking WebKit processes on Window close
* [v3] Remove window from window map if closed
[v3] Implement `HideOnClose` and ensure it isn't removed when closed
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-12 21:33:00 +10:00
Lea Anthony
f335cbd608
Update generate-contributors.yml
2023-04-12 08:44:17 +10:00
Lea Anthony
b67d1e72a7
Update generate-contributors.yml
2023-04-12 08:41:28 +10:00
Misite Bao
5e3c736bee
feat(cli): add Nodejs version in wails doctor ( #2546 )
...
* feat(cli): add Nodejs version in `wails doctor`
* Added check for output length
* docs: update changelog.mdx
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-12 07:11:37 +10:00
Lea Anthony
abc8f71a8d
Update generate-contributors.yml
2023-04-11 21:29:41 +10:00
Lea Anthony
cf8bb49093
Update generate-contributors.yml
2023-04-11 21:25:36 +10:00
Lea Anthony
3f62fa0d86
Update credits.mdx
2023-04-11 20:46:45 +10:00
Lea Anthony
8b977bcab4
Update generate-contributors.yml
2023-04-11 20:46:28 +10:00
Lea Anthony
3a1aeaab94
Update generate-contributors.yml
2023-04-11 20:22:27 +10:00
Travis McLane
a7bf359930
update wml events to be parseable ( #2561 )
...
* update wml events to be parseable
* [v3] Rename `CustomEvent` to `WailsEvent` to prevent clashing with the standard JS `CustomEvent` object
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-11 18:28:06 +10:00
github-actions[bot]
9574bfc054
chore: update sponsors.svg ( #2566 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-11 18:26:28 +10:00
希嘉嘉
739ca98597
Update templates.mdx ( #2571 )
2023-04-10 22:00:04 +10:00
Lea Anthony
424e4fc2e8
[v3] Add ability to get window by name
2023-04-07 19:47:01 +10:00
Misite Bao
7f1093dc51
chore: update auto workflows ( #2555 )
...
* chore: update workflows
* chore: update Taskfile
* chore: add lable to auto-sync pr
2023-04-07 18:19:14 +10:00
Lea Anthony
a998465034
[v3] Update start_at_login plugin to allow better compilation on Linux
2023-04-06 08:29:20 +10:00
Lea Anthony
755e869fe7
[v3] Add start_at_login plugin
...
[v3] Fix plugin startup/shutdown order
2023-04-05 21:22:02 +10:00
Lea Anthony
7ecbc846b4
[v3] Improved plugin shutdown
2023-04-04 18:01:49 +10:00
Lea Anthony
767b7d6026
Check out repo for contributors workflow
2023-04-03 08:43:57 +10:00
Lea Anthony
086953bbe9
Do not directly commit contributors sag
2023-04-03 08:39:42 +10:00
Lea Anthony
c51df752a1
Create PR for contributors SVG
2023-04-03 08:37:46 +10:00
Lea Anthony
ea3b7ed9dd
Generate Contributors SVG
2023-04-03 08:33:55 +10:00
dependabot[bot]
ef6366af61
Bump webpack from 5.75.0 to 5.76.2 in /website ( #2503 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.2 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:02:24 +11:00
dependabot[bot]
488666f407
Bump undici from 5.13.0 to 5.21.0 in /scripts/sponsors ( #2502 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 5.13.0 to 5.21.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v5.13.0...v5.21.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-01 22:00:55 +11:00
Simon Shutter
34fd76617e
annotated menu example and updated runtime.Quit call ( #2539 )
2023-04-01 21:50:29 +11:00
憧憬Licoy
1e8b938d15
fix obfuscate build param name ( #2542 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-04-01 21:48:03 +11:00
Lea Anthony
3404250ac8
[v3] Add single_instance plugin
2023-04-01 20:36:55 +11:00
Misite Bao
eddc949295
fix: fix console printing ( #2483 )
2023-04-01 18:22:27 +11:00
Misite Bao
49bd33e642
docs: update routing.mdx ( #2547 )
2023-04-01 16:05:09 +11:00
github-actions[bot]
78f638a9bc
docs: sync documents ( #2514 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-04-01 16:04:43 +11:00
github-actions[bot]
fef6e2a616
chore: update sponsors.svg ( #2535 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-04-01 16:03:09 +11:00
Noah Gorstein
2a22933220
docs: fix broken link for react router HashRouter ( #2544 )
2023-04-01 08:43:15 +11:00
Lea Anthony
eae4fe62cd
Merge branch 'v3/api-package'
2023-03-31 20:39:41 +11:00
stffabi
b3a9332a5b
[assetserver] Add linux platform implementation ( #2543 )
2023-03-31 20:39:13 +11:00
Lea Anthony
e91b7832ee
Provide types to runtime api
2023-03-31 20:37:50 +11:00
stffabi
db527c0fc2
[assetserver] Add linux platform implementation ( #2543 )
2023-03-31 10:08:31 +02:00
Lea Anthony
0d25edc0c4
Improved api package
2023-03-30 12:51:43 +11:00
Lea Anthony
eb36258c73
Merge branch 'master' into v3/plugins
2023-03-27 20:58:00 +11:00
Misite Bao
bdb138d42c
chore: fix push.yml ( #2530 )
2023-03-27 07:37:38 +11:00
Arpit Jain
abe6f520b4
Fix dates in changelog ( #2527 )
2023-03-26 16:19:12 +11:00
Adam Tenderholt
130fab6c01
Feature/v3 parser: expand TS model generation tests & some fixes ( #2485 )
...
* v3 parser: add tests for model generation
* v3 parser: use single quotes for got model.ts
* v3 parser: fixes for some failing tests
* v3 parser: misc simplification and cleanup
* v3 parser: fix model tests when no structs returned
* v3 parser: fix last failing test case
* Update contributors list
* v3 parser: update README
* Revert "Update contributors list"
This reverts commit f429d2ba890020d7ff0772e6207830508261b489.
* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
Lea Anthony
365aaf6bb1
Add sqlite plugin
2023-03-25 09:39:59 +11:00
github-actions[bot]
b5f1eab59b
chore: update sponsors.svg ( #2525 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-24 23:20:18 +11:00
Lea Anthony
5949e305ea
Reorder startup sequence
...
Add plugin scripts to asset server
Add InjectJS support in plugins
2023-03-24 08:43:00 +11:00
github-actions[bot]
5988cdca9a
chore: update sponsors.svg ( #2517 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-23 19:33:04 +11:00
Lea Anthony
bf86b0d9c1
Add Window creation hooks
...
Add InjectJS() to plugins interface
2023-03-23 06:51:24 +11:00
Misite Bao
93d7c6b5f3
docs: optimize code block display style ( #2520 )
2023-03-22 21:54:08 +11:00
Lea Anthony
d5808fde59
Simple logging plugin
2023-03-22 20:56:45 +11:00
Lea Anthony
3ae604e474
Exported() -> CallableByJS()
2023-03-22 20:42:20 +11:00
Lea Anthony
42fb91bc73
Fix for variadic args in bound methods
2023-03-22 20:36:46 +11:00
github-actions[bot]
7d28ad1a3b
docs: sync documents ( #2510 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-21 17:47:23 +11:00
Lea Anthony
4165caa02e
Add Exported() []string to plugin API
2023-03-21 08:55:55 +11:00
Lea Anthony
b656bd2194
Prevent beeps when pressing a key in Mac window
2023-03-20 20:48:22 +11:00
Lea Anthony
a7278b4224
Update docs
2023-03-20 20:32:25 +11:00
Lea Anthony
e2b7b68ec9
v2.4.1
2023-03-20 20:31:35 +11:00
Lea Anthony
ba82f27534
Fix Bug with nil parameters.
...
Added browser and kvstore plugins.
2023-03-20 20:28:33 +11:00
stffabi
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
github-actions[bot]
77f053068c
docs: sync documents ( #2504 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-19 20:37:06 +11:00
Lea Anthony
13f620ae54
Add plugin init. Update plugin signature.
2023-03-19 09:13:05 +11:00
github-actions[bot]
e3edea1cb3
chore: update sponsors.svg ( #2498 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-18 11:48:23 +11:00
Lea Anthony
c774af48b7
Extend call subsystem to support plugins
2023-03-18 09:12:44 +11:00
Lea Anthony
4300521064
Initial implementation
2023-03-18 08:11:36 +11:00
Filip Borkiewicz
a0b7eb4ab6
Fix incorrect rendering of FAQ section header ( #2497 )
2023-03-18 07:37:21 +11:00
Lea Anthony
86aaa3a956
Merge branch 'v3/central-assetserver' into v3/plugins
2023-03-17 17:03:21 +11:00
stffabi
6ed0eb217d
[webview2] Fix error handling in CreateWebResourceResponse ( #2496 )
...
The old error handling fails on WebView2Runtimes > 110.0.1587.69 and
will show a "connection refused" page and reloads after a short time.
After the reload everything worked as expected again.
2023-03-16 10:49:59 +01:00
github-actions[bot]
a2c1c507e1
chore: update sponsors.svg ( #2492 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-16 19:27:23 +11:00
stffabi
74f349862e
[v3] AssetServer options update comments
2023-03-16 06:49:46 +01:00
stffabi
0e614b0194
[v3] Centralize the AssetServer and move it to the application
2023-03-16 06:49:45 +01:00
github-actions[bot]
4bffc57cb5
chore: update sponsors.svg ( #2488 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-14 17:32:25 +11:00
stffabi
5dba18c853
[dev] Fix panic in devserver when using the logger ( #2481 )
2023-03-13 08:12:09 +01:00
github-actions[bot]
4cd873fecb
docs: sync documents ( #2443 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2023-03-11 17:57:56 +11:00
Misite Bao
e339c40e85
feat: update sync translated document script ( #2479 )
2023-03-11 14:09:48 +11:00
github-actions[bot]
050ac9e613
chore: update sponsors.svg ( #2478 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-11 12:54:20 +11:00
Lea Anthony
58986237b9
[v3] Minor fixes to templates + improved Taskfile
2023-03-11 12:48:10 +11:00
Lea Anthony
7cb4c7b505
[v3] Improve init command
2023-03-10 08:05:13 +11:00
dependabot[bot]
e3816e714e
Bump golang.org/x/net in /v3/examples/binding ( #2472 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 20:07:11 +11:00
github-actions[bot]
1684894b52
chore: update sponsors.svg ( #2474 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-09 20:06:35 +11:00
Lea Anthony
e302d11f12
Update module deps
2023-03-09 08:23:20 +11:00
Lea Anthony
eb670f4ba1
Merge branch 'master' into feature/v3-parser
...
# Conflicts:
# v3/go.mod
# v3/go.sum
2023-03-09 08:22:47 +11:00
Lea Anthony
5e0ce40b41
Update TODO
2023-03-09 08:21:37 +11:00
Lea Anthony
ebc14debdf
Release/v2.4.0 ( #2470 )
...
* Release v2.4.0
* Add docs
2023-03-08 23:27:23 +11:00
github-actions[bot]
66bd24e184
chore: update sponsors.svg ( #2455 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-08 08:31:23 +11:00
dependabot[bot]
5e88d8d8cf
Bump golang.org/x/net in /v2/internal/staticanalysis/test/standard ( #2458 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20221014081412-f15817d10f9b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:51 +11:00
dependabot[bot]
5c7bfc3557
Bump golang.org/x/crypto in /v2 ( #2459 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:35 +11:00
dependabot[bot]
8f27685ebd
Bump golang.org/x/crypto in /v2/examples/customlayout ( #2466 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:30:10 +11:00
dependabot[bot]
30efebd76a
Bump golang.org/x/image from 0.0.0-20200430140353-33d19683fad8 to 0.5.0 ( #2467 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20200430140353-33d19683fad8 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:29:38 +11:00
dependabot[bot]
fdda3d2238
Bump golang.org/x/image in /v3 ( #2460 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20201208152932-35266b937fa6 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:25:36 +11:00
dependabot[bot]
f59ce04ac2
Bump golang.org/x/image in /v2 ( #2463 )
...
Bumps [golang.org/x/image](https://github.com/golang/image ) from 0.0.0-20201208152932-35266b937fa6 to 0.5.0.
- [Release notes](https://github.com/golang/image/releases )
- [Commits](https://github.com/golang/image/commits/v0.5.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/image
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-03-08 08:25:07 +11:00
dependabot[bot]
1d9bb20584
Bump golang.org/x/net in /v2/examples/customlayout ( #2465 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:24:26 +11:00
dependabot[bot]
f551ebdffa
Bump github.com/tidwall/gjson from 1.8.0 to 1.9.3 in /v2 ( #2464 )
...
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson ) from 1.8.0 to 1.9.3.
- [Release notes](https://github.com/tidwall/gjson/releases )
- [Commits](https://github.com/tidwall/gjson/compare/v1.8.0...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:22:32 +11:00
dependabot[bot]
3afc7f7763
Bump golang.org/x/net in /v2 ( #2457 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20220722155237-a158d28d115b to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 08:09:59 +11:00
stffabi
c11c32940e
[events] Fix race condition and missing unlock of mutex ( #2453 )
2023-03-07 10:40:33 +01:00
Lea Anthony
26530a0f5a
Fix reserve word check.
...
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
Lea Anthony
7340247e25
Create bindings file per package
...
Improved bindings tests
2023-03-07 18:22:33 +11:00
stffabi
d7a8406640
[options] Mergo doesn't play well with reference types ( #2452 )
...
Remove mergo and just use a simple hardcoded defaults approach.
2023-03-07 07:04:37 +01:00
Lea Anthony
f1a7f1b781
Improved bindings generation
2023-03-06 20:54:04 +11:00
github-actions[bot]
17ff16c1ad
chore: update sponsors.svg ( #2449 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-06 19:10:57 +11:00
github-actions[bot]
ac4de2289a
chore: update sponsors.svg ( #2440 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-03-05 11:18:33 +11:00
Lea Anthony
71aa7c9731
Initial bindings.js generation
2023-03-03 19:54:12 +11:00
Lea Anthony
41860ade10
Update all-contributosrc
2023-03-02 08:22:33 +11:00
Lea Anthony
868b769e7f
Initial bindings generation
2023-03-01 21:31:29 +11:00
wander
29a4c28da4
add showcase ( #2435 )
2023-03-01 19:49:11 +11:00
Rachel Chen
ad2fed8f08
[v2] frontend/runtime/wrapper: return function return value in runtime wrapper ( #2434 )
2023-03-01 07:37:09 +01:00
Lea Anthony
8dc8c8e15e
Merge remote-tracking branch 'origin/feature/v3-parser' into feature/v3-parser
2023-02-28 20:35:39 +11:00
Adam Tenderholt
da90e74268
v3 parser: initial work on model generation w/ templates ( #2428 )
...
* v3 parser: initial work on model generation w/ templates
* v3 parser: expand models to namespaces
2023-02-28 20:35:18 +11:00
stffabi
c6146ccbf8
[darwin] Fix undo/redo ( #2430 )
2023-02-28 19:41:18 +11:00
Lea Anthony
443ea46d1d
Example bindings
2023-02-27 20:05:54 +11:00
github-actions[bot]
d66e75c456
chore: update sponsors.svg ( #2429 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-27 19:54:00 +11:00
Lea Anthony
00c458f948
Implement basic binding
2023-02-26 20:49:29 +11:00
Lea Anthony
33855ff01d
Add tests for bound structs returned by function calls.
2023-02-26 19:18:47 +11:00
Lea Anthony
bcde850bac
Revert changes to file output
2023-02-26 15:11:24 +11:00
Lea Anthony
f9ffe915f2
Add bindings hook
2023-02-26 15:06:05 +11:00
github-actions[bot]
393a4c9251
chore: update sponsors.svg ( #2424 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-26 13:14:25 +11:00
Lea Anthony
91676080eb
Support binding variables that were assigned by functions
2023-02-26 13:12:30 +11:00
Lea Anthony
6afb5260a7
Refactor parsing functions
2023-02-26 08:56:27 +11:00
Adam Tenderholt
0f80f031fd
v3 parser: add some more test cases (functions) ( #2422 )
...
* [v3] add test case for parser (create struct from func)
* [v3] add another test case for parser (func in other pkg) + misc
2023-02-26 07:46:26 +11:00
Lea Anthony
76371fcb27
Refactor recent mac updates ( #2419 )
2023-02-25 20:28:27 +11:00
dependabot[bot]
9b35926789
Bump cacheable-request from 10.2.5 to 10.2.7 in /v3/internal/runtime ( #2368 )
...
Bumps [cacheable-request](https://github.com/jaredwray/cacheable-request ) from 10.2.5 to 10.2.7.
- [Release notes](https://github.com/jaredwray/cacheable-request/releases )
- [Commits](https://github.com/jaredwray/cacheable-request/commits )
---
updated-dependencies:
- dependency-name: cacheable-request
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-25 13:01:23 +11:00
Hao
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
Watson-Sei
dcfd525dd1
ja translation of tutorials ( #2393 )
...
* ja translation of tutorials
* reset v2.3.1 md and moved translate md to current
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-25 12:52:16 +11:00
github-actions[bot]
01820d0e8e
chore: update sponsors.svg ( #2418 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-25 12:32:22 +11:00
Lea Anthony
3eaaf31803
Upgrade sponsorkit
2023-02-25 12:29:46 +11:00
github-actions[bot]
64ff075302
chore: update sponsors.svg ( #2416 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-25 10:02:34 +11:00
Lea Anthony
ecc1791420
Support bound variables (struct literals)
...
Factor out unaryexpression parsing
Fix package bleed between tests
2023-02-25 09:47:50 +11:00
Lea Anthony
4a8917ecbc
Add nested anonymous struct test
2023-02-25 08:27:36 +11:00
Lea Anthony
cc1a6a3d50
Support anonymous struct fields
2023-02-25 08:24:58 +11:00
Gwyn
017ce1e33e
The outputFile was only being set for darwin universal builds. I move… ( #2358 )
...
* The outputFile was only being set for darwin universal builds. I moved the
variable assignment to a location where it will take place for all builds.
The ProjectData entries are used in generating the .app plist file, so
setting them here ensures that the app will run with the custom binary name.
* Increases the reach of the output flag.
* Updates the changelog with a record of this fix.
2023-02-25 06:13:27 +11:00
Lea Anthony
cd11c0a83c
Support references to structs in other packages
2023-02-24 21:15:39 +11:00
Lea Anthony
8fd0e06c24
Use package path instead of name
2023-02-23 20:26:15 +11:00
dependabot[bot]
c20ccfb9a6
Bump golang.org/x/text from 0.3.0 to 0.3.8 ( #2404 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.0 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.0...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-23 20:05:25 +11:00
dependabot[bot]
2686d5c61a
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2/examples/customlayout ( #2409 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-02-23 20:04:29 +11:00
github-actions[bot]
6c2b0fcb02
chore: update sponsors.svg ( #2403 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-23 20:03:16 +11:00
dependabot[bot]
42f43462e8
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /v2 ( #2408 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 20:02:19 +11:00
stffabi
0f57292555
[darwin] Add a macOS version guard for opening the web inspector ( #2397 )
...
Log if the inspector could not be opened due to missing or
incorrect private API.
2023-02-22 20:55:40 +11:00
Lea Anthony
4e5be36459
Parse structs bound from other packages
2023-02-22 20:36:30 +11:00
stffabi
cccd708b2b
[assetserver] Add more builtin mimetypes by extension ( #2391 )
2023-02-21 18:20:01 +11:00
Lea Anthony
6bfd654ec8
Tidy up. More tests.
2023-02-21 17:10:36 +11:00
Lea Anthony
dc0d99a8e9
Cover all type combinations
...
Fix bug in pointer type resolution
2023-02-21 07:52:29 +11:00
Lea Anthony
b606561f8d
Move struct cache into parsed package
...
Fix bug in package path calculation
2023-02-21 07:18:08 +11:00
Lea Anthony
d0769ecd1c
Parse Models
...
Support recursive fields
Add loads of tests
2023-02-20 20:36:58 +11:00
Lea Anthony
95bb15eef4
[v3] MUCH Improved parser for bound structs
2023-02-19 20:59:03 +11:00
Lea Anthony
93aa8345dc
[v3] Improved parser for bound structs
2023-02-17 21:01:16 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs
2023-02-17 20:57:31 +11:00
Lea Anthony
bd184cab85
[v3] Improve plain example
2023-02-16 20:28:24 +11:00
Lea Anthony
94f0f6ff82
wml refresh -> wml reload
2023-02-16 20:19:53 +11:00
Lea Anthony
af5e383905
Add wml demo
2023-02-16 20:16:20 +11:00
Lea Anthony
0881914244
Support data-wml-trigger attribute
2023-02-16 20:15:06 +11:00
github-actions[bot]
c9492ec258
chore: update sponsors.svg ( #2379 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-16 19:56:42 +11:00
Lea Anthony
c415c1b321
Added Wails ML experiment
...
added Window.Close to js runtime
2023-02-15 20:58:57 +11:00
Lea Anthony
a5e10557c5
Support Screens API
2023-02-15 18:56:52 +11:00
Lea Anthony
045a830fbc
Add "DragAndDropEnabled" option for window
...
Add "FileDraggingExited" event
2023-02-15 18:56:52 +11:00
stffabi
260fd061f6
[nsis] Adjust template to install shortcuts for all users ( #2373 )
2023-02-13 18:40:42 +11:00
Lea Anthony
d86e11cef1
Fix bad merge
2023-02-12 13:36:58 +11:00
Lea Anthony
9c42049c6a
Merge remote-tracking branch 'origin/master'
2023-02-12 12:38:36 +11:00
Lea Anthony
b16b263820
Merge branch 'feature/asset-server-runtime'
...
# Conflicts:
# v3/V3 Changes.md
# v3/examples/events/assets/index.html
# v3/examples/events/main.go
# v3/internal/runtime/desktop/main.js
# v3/internal/runtime/package-lock.json
# v3/internal/runtime/package.json
# v3/internal/runtime/runtime_debug_desktop_darwin.js
# v3/internal/runtime/runtime_debug_desktop_linux.js
# v3/internal/runtime/runtime_debug_desktop_windows.js
# v3/internal/runtime/runtime_production_desktop_darwin.js
# v3/internal/runtime/runtime_production_desktop_linux.js
# v3/internal/runtime/runtime_production_desktop_windows.js
# v3/pkg/application/application.go
# v3/pkg/application/messageprocessor.go
# v3/pkg/application/messageprocessor_window.go
# v3/pkg/application/options_webview_window.go
# v3/pkg/application/webview_window.go
# v3/pkg/application/webview_window_darwin.go
# v3/pkg/options/application.go
2023-02-12 12:35:46 +11:00
github-actions[bot]
adca2150d4
chore: update sponsors.svg ( #2370 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-12 12:33:08 +11:00
Lea Anthony
24b639646a
Merge master
2023-02-12 09:14:23 +11:00
Lea Anthony
2c4c0b4b6b
Add dnd window event + demo
2023-02-12 08:54:08 +11:00
Lea Anthony
23bfeac02a
Window event callbacks now take a WindowEventContext
...
Improved event example
2023-02-12 07:58:14 +11:00
Lea Anthony
a2528fd066
data-contextmenu-id -> data-contextmenu
2023-02-12 06:58:51 +11:00
dependabot[bot]
40ab0d3983
Bump json5 from 1.0.1 to 1.0.2 in /runtime/js ( #2274 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-11 15:00:27 +11:00
Joshua Mangiola
fa33e5d2bc
Update to Mac App Store Guide ( #2369 )
2023-02-11 15:00:03 +11:00
Lea Anthony
9b25e639f5
Support context menus
2023-02-10 08:25:52 +11:00
Lea Anthony
23d2c9a741
Refactor main.tmpl.go -> main.go.tmpl
2023-02-09 21:14:16 +11:00
github-actions[bot]
3fde885d34
chore: update sponsors.svg ( #2361 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-09 18:41:47 +11:00
Lea Anthony
f951b51c11
Context menu WIP
...
options refactor
2023-02-09 18:35:26 +11:00
Lea Anthony
5dbda4aead
Feature: AssetServer Runtime ( #2335 )
...
* Tidy up runtime JS
* Initial implementation of runtime over http
* Update runtime deps. Fix test task.
* Support Clipboard.
Message Processor refactor.
* Add `Window.Screen()`
Clipboard `GetText` -> `Text`
* Support most dialogs
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
* Support SaveFile dialog
* Remove go.work
* Tidy up
* Event->CustomEvent to prevent potential clash with native JS Event object
Support Eventing
* Support application calls
* Support logging
* Support named windows
Remove debug info
* Update v3 changes
2023-02-06 20:50:11 +11:00
Lea Anthony
cd1e3f5bb0
Update v3 changes
2023-02-06 20:45:50 +11:00
Lea Anthony
00ee79ecdc
Support named windows
...
Remove debug info
2023-02-06 20:43:11 +11:00
Lea Anthony
f94e798c50
Support logging
2023-02-06 20:29:33 +11:00
Lea Anthony
3bd6c34ae6
Support application calls
2023-02-04 19:49:30 +11:00
github-actions[bot]
88e79f2598
chore: update sponsors.svg ( #2346 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-04 11:35:16 +11:00
Lea Anthony
f26756be9c
Event->CustomEvent to prevent potential clash with native JS Event object
...
Support Eventing
2023-02-04 11:27:27 +11:00
github-actions[bot]
522a634b86
chore: update sponsors.svg ( #2341 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-03 08:54:12 +11:00
github-actions[bot]
0fed83ec21
chore: update sponsors.svg ( #2337 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-02-01 20:18:16 +11:00
David Walton
709244c3a2
Fix #2280 - code block highlights ( #2338 )
...
* Fix #2280 ; code highlight & minor linter change
* Fix #2280 ; adjust code highlight
2023-02-01 17:52:43 +11:00
David Florness
e1bd841be3
fix grammar ( #2334 )
2023-01-31 17:51:51 +11:00
Lea Anthony
0e8144e52f
Tidy up
2023-01-30 19:52:53 +11:00
Lea Anthony
00e585e864
Remove go.work
2023-01-30 19:22:39 +11:00
Lea Anthony
c46c0c335c
Support SaveFile dialog
2023-01-30 19:21:49 +11:00
Lea Anthony
73b08a45de
Support most dialogs
...
Better JS->Go object mapping
Implement Go->JS callback mechanism
Rename `window.runtime` -> `window.wails` to better reflect the Go API
2023-01-29 21:01:54 +11:00
Lea Anthony
226572a1df
Add Window.Screen()
...
Clipboard `GetText` -> `Text`
2023-01-28 09:11:06 +11:00
Lea Anthony
25577b7655
Support Clipboard.
...
Message Processor refactor.
2023-01-28 08:59:44 +11:00
Lea Anthony
c0ec5af18a
Update runtime deps. Fix test task.
2023-01-28 08:51:34 +11:00
Lea Anthony
14b201bb65
Initial implementation of runtime over http
2023-01-27 21:05:53 +11:00
Lea Anthony
8534b32a9f
Tidy up runtime JS
2023-01-27 15:47:23 +11:00
Lea Anthony
368f0e48bc
Fix build and test workflow
2023-01-27 11:55:59 +11:00
Richard Guay
5a747e75f1
The title was still wrong ( #2331 )
...
Fixing the title to properly reflect the page. Somehow I messed up the merge.
2023-01-26 21:42:47 +11:00
Lea Anthony
1c72e1fa33
[v3] Add gowork.sum
2023-01-26 20:43:51 +11:00
Lea Anthony
293d730708
[v3] Updated runtime to take window id into consideration
...
[v3] Ported most of the window functions for JS
2023-01-26 20:43:26 +11:00
Lea Anthony
2a68fae55e
[v3] Remove 'assets.URL'
2023-01-26 20:43:26 +11:00
Richard Guay
3148154308
Fixing BulletinBoard page ( #2328 )
...
* Adding Tutorial link
* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard
* Fixing BulletinBoard page
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-26 18:40:53 +11:00
Adam Tenderholt
88549a14ac
Fix differeng bugs when generating bindings ( #2326 )
...
* Bindings: work in better typescript generation
* More work on generating typescript
* Bindings: fix a couple of failing tests
* Binding: fix map bindings
* Bindings: comment out debug statement
* Bindings: misc cleanup
2023-01-26 18:40:05 +11:00
Sebastian Bauer
180eef34a2
Remove all systray related for v2. ( #2329 )
...
Possible fix for #2265 . Close systray separately after the application ran.
2023-01-26 18:11:31 +11:00
Lea Anthony
c34c761c5f
[v3] Fix crash when calling window.Show() before application.Run()
2023-01-26 07:34:25 +11:00
Oleg Gulevskyy
651a1a5d66
Bugfix: Include ts pref & suffixes in module generation ( #2227 )
...
* include ts gen pref and suff in class fields
* fix nested namespaces not prefixed
* add basic unit test for parent child
* test for diff namespaces imports
* make entityReturn type func more generic
* get full entity name for TS args list
* fix failing test on empty struct
* wire up gen tests
* remove comment
* remove redundant line
2023-01-23 21:18:17 +11:00
Lea Anthony
4bb7b80d62
[v3] Add wails build info
2023-01-23 21:11:19 +11:00
Lea Anthony
82287a4758
[v3] Support task flags pass through
...
[v3] `wails build` -> `wails task build`
2023-01-23 21:08:03 +11:00
github-actions[bot]
8239964c28
chore: update sponsors.svg ( #2327 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-23 17:16:01 +11:00
Lea Anthony
428584d583
[v3] Add TODO
2023-01-22 16:52:26 +11:00
Lea Anthony
ee1978aa42
[v3] Initial template support (likely to change)
2023-01-22 15:39:57 +11:00
Sebastian Bauer
895d6d4b80
Size() calculates DPIs back to default space. ( #2325 )
2023-01-22 15:25:26 +11:00
github-actions[bot]
a5ddce2c7c
chore: update sponsors.svg ( #2317 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-22 15:25:04 +11:00
Richard Guay
e4789750c8
Updating and Adding ( #2324 )
...
* Adding Tutorial link
* Fixed EmailIt, Modal File Manager, and ScriptBar descriptions and added BulletinBoard
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-22 07:28:51 +11:00
Brian Dwyer
f8c673874b
Fix memory leak on Darwin when toggling system tray icon ( #2322 )
2023-01-21 15:46:06 +11:00
Lea Anthony
5ef32760f0
Update task
2023-01-18 22:08:25 +11:00
Lea Anthony
81645190f0
merge exp branch
2023-01-18 21:42:49 +11:00
Lea Anthony
18d0ed890a
Merge branch 'blog/v3-roadmap'
2023-01-18 20:59:38 +11:00
Lea Anthony
2479603143
Add github issue link
2023-01-18 17:41:33 +11:00
Lea Anthony
dbf6b3a718
updated
2023-01-18 07:57:10 +11:00
stffabi
45c3a501d9
[cli] Fix applying default arch to platform flag ( #2309 )
2023-01-17 20:39:15 +01:00
Lea Anthony
401165ce30
blog
2023-01-17 21:19:17 +11:00
stffabi
caa0b6c804
[assetServer, darwin] Use AssetServer native WKWebView request handling ( #2283 )
2023-01-16 13:02:18 +01:00
stffabi
8f92cf1074
[assetHandler] Allow middleware to set the content-type for an assets file ( #2286 )
2023-01-16 21:05:25 +11:00
Gwyn
8c7fa4cf4c
Updates all default gitignore templates to be newline terminated. ( #2306 )
...
This allows echoing new patterns to the end of the file without
causing a string concatenation error.
2023-01-16 21:02:52 +11:00
Oussama Sethoum
d0bd849be6
Update events.mdx ( #2300 )
...
* Update events.mdx
* Add doc update to docs dir
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-16 20:59:58 +11:00
stffabi
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
github-actions[bot]
93cfc777f9
chore: update sponsors.svg ( #2293 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-16 20:53:31 +11:00
stffabi
d15e673a19
[windows] Some improvements to fullscreen ( #2299 )
2023-01-15 06:14:15 +01:00
Supian M
ec8e9b2715
Fix Broken Badge ( #2292 )
2023-01-12 20:01:56 +11:00
stffabi
aaf039bcff
[windows] Disable frameless decorations during fullscreen ( #2288 )
...
Otherwise this leads to thin transparent lines on the window borders on older Windows versions.
2023-01-11 15:22:48 +01:00
stffabi
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
stffabi
8e4606d104
[windows] Improve fullscreen mode for frameless windows ( #2279 )
...
* Improve fullscreen mode for frameless windows
* Set Window background color in addition to WebView2 background color
2023-01-09 12:15:43 +01:00
Lea Anthony
54ca6c7059
Refactor assetserver into pkg ( #2260 )
2023-01-08 11:25:21 +01:00
Lea Anthony
6e3b4cf1a1
Add Warmine to showcase
2023-01-08 12:53:14 +11:00
Zámbó, Levente
c3011813b0
linux separate window c and go file ( #2275 )
2023-01-07 16:20:11 +11:00
Johannes Haseitl
ccceadbd24
Replace more slack links with discord invites ( #2256 )
...
* Add Discord link and deprecate slack links
* More slack -> discord changes
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-07 16:19:33 +11:00
Noah Hsu
e1fc7119bc
docs: fix admonitions syntax ( #2263 )
2023-01-07 15:36:37 +11:00
Zámbó, Levente
add10df5ff
fix missing bin dir on build hook ( #2273 )
...
* fix missing bin dir on build hook
* add fix to changelog
2023-01-07 06:51:01 +11:00
stffabi
284e20a290
Add EnableFraudulentWebsiteDetection to options ( #2269 )
...
This allows to explicitly opt-in to scan services for fraudulent
content, such as malware or phishing attempts.
2023-01-06 00:06:26 +11:00
Zámbó, Levente
0a32c1124e
Add common text clipboard support ( #2228 )
2023-01-05 16:41:07 +11:00
Igor Sementsov
fc9dd99dea
Update troubleshooting.mdx ( #2252 )
...
* Update troubleshooting.mdx
https://github.com/wailsapp/wails/issues/2249
* Move guide to docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2023-01-05 16:19:49 +11:00
希嘉嘉
2727af43d4
Update templates.mdx ( #2230 )
...
添加 solid 模版的中文描述信息。
2023-01-05 16:09:53 +11:00
github-actions[bot]
4d0163d8af
chore: update sponsors.svg ( #2271 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2023-01-05 15:12:13 +11:00
stffabi
ebc653a584
[windows] Add support for AdditionalBrowserArgs to the legacy Webview2Loader ( #2267 )
2023-01-02 22:41:56 +01:00
Zámbó, Levente
ef5f547d27
Support GPU acceleration settings on Windows & Linux ( #2266 )
...
* support GPU acceleration settings Window & Linux
* fix linux empty option crash
* fix change linux gpu policy switch case
* add PR to changelog
2023-01-02 09:38:53 +11:00
Lea Anthony
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
stffabi
66bc258f81
[windows] Fix compile error for 386 platform ( #2257 )
2022-12-30 21:33:39 +01:00
Lea Anthony
908aecfd1c
Update Changelog
2022-12-30 15:58:11 +11:00
Lea Anthony
0aa056fcc5
Bump version to v2.3.1
2022-12-30 07:38:22 +11:00
Lea Anthony
1b2bc8ee27
Remove old docs
2022-12-29 16:00:10 +11:00
Lea Anthony
f01e1e5bda
Update docs to v2.3.0
2022-12-29 15:59:38 +11:00
Lea Anthony
5c0f1e409d
Fix crowdin client code
2022-12-29 12:34:43 +11:00
Oleg Gulevskyy
fff0fd4d07
Website / Documentation - Slack to Discord ( #2200 )
...
* change slack to discord in footer
* change Slack to Discord in community guideline
2022-12-29 11:54:18 +11:00
Oleg Gulevskyy
d11b459486
refactor crowdin init to not throw without key ( #2231 )
2022-12-29 10:51:49 +11:00
Adam Tenderholt
52f872b65c
[binding] TS returns Promise<void> when go returns error ( #2247 )
2022-12-28 22:32:29 +11:00
github-actions[bot]
0474a9e89a
chore: update sponsors.svg ( #2236 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-26 16:00:25 +11:00
stffabi
2345d3b3c2
[assetHandler] Add request path checks ( #2235 )
2022-12-24 18:45:07 +11:00
stffabi
a312c0ffcb
[darwin] Add support for Request/Response streaming ( #2219 )
2022-12-20 13:44:33 +01:00
Vadim Shchepotev
e2f1429c67
Fix issue with anonymous structures ( #2186 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:54:11 +11:00
NullCode
04e92a813b
Update libwebkit package name for Fedora ( #2218 )
...
* Update libwebkit package name for Fedora
Fixes issue with `wails doctor` not detecting updated version of libwebkit on Fedora
* Keep existing libwebkit package
...for backwards compatibility
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-20 22:53:36 +11:00
Lea Anthony
d588c7a4d2
Bugfix/sync go mod ( #2222 )
...
* Add nosyncgomod flag
* Fix tests on unix
* Fix tests on unix
2022-12-20 22:15:36 +11:00
Lea Anthony
8067a1cedb
Add nosyncgomod flag ( #2215 )
...
* Add nosyncgomod flag
* Fix tests on unix
2022-12-20 22:08:02 +11:00
stffabi
7d61971f86
[darwin] Add support for file input selection ( #2209 )
...
This will show a message on the console
"+[CATransaction synchronize] called within transaction"
but there's seem no way to mitigate that. Still everything
works as expected.
2022-12-15 11:18:13 +01:00
github-actions[bot]
aa5875e8ca
chore: update sponsors.svg ( #2207 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-15 20:57:34 +11:00
Oleg Gulevskyy
6b110c83e9
basic check if a specific commit is in use ( #2107 )
2022-12-14 23:06:37 +11:00
stffabi
006b0c65b4
[webview2loader] Add missing windows build constraint ( #2201 )
2022-12-13 13:51:01 +01:00
stffabi
55ca6c0bf3
[dev] Remove redundant steps that are also executed during build.Build ( #2196 )
...
* Remove redundant generation of bindings
* Remove redundant CreateEmbedDirectories
2022-12-13 13:44:00 +01:00
stffabi
4aab1e6b93
[webview2loader] Promote go loader from experimental to stable ( #2199 )
...
Default webview2loader is now the go loader
2022-12-13 23:27:50 +11:00
Lea Anthony
e57bfe002a
Fix right mouse button event ( #2190 )
2022-12-13 07:09:45 +11:00
Matt Holt
38ffbb3161
Trim spaces around version ( #2197 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-12 20:40:02 +01:00
stffabi
eb2d929824
[bindings] Pass ts_generation flags as env variable ( #2194 )
...
Otherwise this will clash if an app also uses flags internally
2022-12-11 07:38:06 +11:00
Vadim Shchepotev
7a22e0f885
Add dummy systray_mac to fix unit tests ( #2187 )
2022-12-10 19:57:11 +01:00
tk
3f077d9bdb
Update templates.mdx ( #2184 )
...
Add wails-template-naive
2022-12-07 18:50:22 +11:00
Lea Anthony
b84a2e5255
Windows tray menus ( #2181 )
...
* Add example
* Add windows systray
* Add gitkeep
* use windows.GUID
2022-12-06 20:55:56 +11:00
dependabot[bot]
0581ad03b1
Bump minimatch from 3.0.4 to 3.1.2 in /runtime/js ( #2164 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 08:29:08 +11:00
dependabot[bot]
81aa376b09
Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js ( #2179 )
...
* Bump decode-uri-component from 0.2.0 to 0.2.2 in /runtime/js
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update build-and-test.yml
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 08:28:36 +11:00
Travis McLane
d2339de5ff
chore: remove unreachable code ( #2182 )
...
pkg/menu/styledlabel.go:255:2: unreachable code
2022-12-06 08:27:48 +11:00
Misite Bao
f70d9de366
fix: fix go test errors ( #2169 )
...
* fix: fix go test errors
* Add flags to mac test
* Run on all branches
* Update PR workflow
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-06 06:45:06 +11:00
github-actions[bot]
606ce3de1d
chore: update sponsors.svg ( #2180 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-04 14:05:37 +11:00
Lea Anthony
76f68aa392
Update sponsor-image workflow
2022-12-04 14:03:43 +11:00
Misite Bao
6d6e74e7f0
chore: fix-generate-sponsor ( #2177 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-12-04 13:58:08 +11:00
Lea Anthony
51b3488eac
Update build-and-test.yml
2022-12-04 13:26:58 +11:00
希嘉嘉
026bb7c02c
Added templates ( #2178 )
...
* Added templates
vite + solid + js
vite + solid + ts
* Update templates.mdx
Co-authored-by: Misite Bao <i@misitebao.com >
2022-12-04 09:30:28 +11:00
github-actions[bot]
5262153fa8
docs: sync documents ( #2170 )
...
Co-authored-by: misitebao <misitebao@users.noreply.github.com >
2022-12-03 22:32:08 +11:00
Fredrik Holmqvist
53f63f71a0
examples/customlayout: feature: add event listener for enter key ( #2176 )
2022-12-03 10:16:46 +11:00
Lea Anthony
dc209d1462
Fix build and test pipeline
2022-12-02 07:52:13 +11:00
Misite Bao
c1c1b8b8e6
chore: update-workflows ( #2154 )
...
* chore: merge test workflow
* chore: simplify sponsors image generation workflow
* chore: merge PR check workflow
* chore: merge push workflow
* chore: add auto sync translation document workflow
* chore: remove PR branch name check job
* chore: update go test job
2022-12-02 07:05:22 +11:00
stffabi
5cc012d763
[darwin] Inspector tools should also be included into a debug build ( #2162 )
2022-12-01 09:20:18 +01:00
Misite Bao
bd66451dd9
docs: fix and sync documents ( #2140 )
2022-12-01 19:18:59 +11:00
Lea Anthony
ea6aee91f1
Refactored build command ( #2123 )
...
* Refactored build command
* Update v2/cmd/wails/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* WIP
* Refactor `wails doctor`
* Refactor `wails dev`
* Refactor `wails dev`
* Fix merge conflict
* Fix test
* Update build_and_test.yml
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-12-01 18:18:02 +11:00
github-actions[bot]
9d53db4281
chore: update sponsors.svg ( #2150 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-12-01 12:27:11 +11:00
stffabi
5418b879c4
[linux] Add support for WebKit2GTK 2.36+ features ( #2151 )
2022-11-30 11:04:12 +01:00
Lea Anthony
7f8952ebe5
Fix signal handler ( #2152 )
...
* Fix signal handler
* Update changelog
2022-11-30 20:37:55 +11:00
Aman
ac1e150315
Initial Mac App Store Guide ( #2142 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-29 20:03:45 +11:00
stffabi
3fb9169196
Fix compile error ( #2147 )
2022-11-29 20:01:42 +11:00
stffabi
993f87af97
[assetserver] Add support for serving the index.html file when requesting a directory ( #2110 )
...
* [assets] Improve error message if no `index.html` could be found in the assets
* [assetoptions] Valide options that at least one property has been set
* [assetserver] Move defaultHTML handling for 404 from assethandler to assetserver
* [assetserver] Add support for serving the index.html file when requesting a directory
* [docs] Update changelog
2022-11-29 09:29:08 +01:00
Misite Bao
15b7d291f3
fix(cli): fix install error ( #2146 )
...
Fixed: https://github.com/wailsapp/wails/issues/2145
2022-11-29 19:26:49 +11:00
Misite Bao
73caeb9793
docs: fix and sync documents ( #2135 )
...
* docs: standardize JavaScript and TypeScript name writing
* docs: sync translated documents
* docs: fix broken link
* docs: sync translated documents
2022-11-28 20:13:22 +11:00
github-actions[bot]
6d975b965b
chore: update sponsors.svg ( #2131 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-28 12:55:39 +11:00
Lea Anthony
6cd5edcc4d
More clarity around bug reports
2022-11-25 14:50:05 +11:00
Lea Anthony
3e8ae9835b
Small update to Mac troubleshooting guide
2022-11-24 21:38:16 +11:00
Oleg Gulevskyy
ca8a1fab36
Ability to define prefix / suffix for TS module ( #2101 )
...
* add tspostfix and tsprefix flags + organise under struct
* postifx -> suffix
* tsPrefix options on bindings struct
* pass prefix and suffix to the executable
* add support for CLI flags for generating module
* method to set TSpref/suff to bindings
* use passed ts prefix for typescriptify
* add brief Readme udpate to include new flags
* create reusable common flags
* use common flags instead of hardcoded text
* support tsprefix & suffix for dev
* add tsPrefix & tsSuffix for build cmd
* take pref & suff in account when gen d.ts
* export colorsful log functions into utils for reuse
* detect and warn the user about usage of reserved keyword
* fmt
* add TrimSpace on fn input
* refactor utils -> logutils
* add bindings -> ts_generation options to wailsjson parse
* use wailsjson for ts generation
* update warning message + extract to func
* remove suff/pref info from readme
* update json schema
* add tests for prefix and suffix case
* rename suffix method
* Update v2/internal/typescriptify/typescriptify.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Update website/static/schemas/config.v2.json
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* update changelog
* Minor tweaks
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-24 21:33:58 +11:00
Lea Anthony
c1c1bff7a4
Update changelog.mdx
2022-11-24 06:13:24 +11:00
Dieter Zhu
011d8e3094
Supplement the missing WindowSetAlwaysOnTop in runtime.d.ts and runtime.js ( #2128 )
2022-11-24 06:08:15 +11:00
stffabi
72aef804ef
[windows] Prevent a thin white line at the bottom of a frameless window ( #2111 )
...
This seems to be only a problem on some Windows versions.
2022-11-22 20:37:45 +11:00
Misite Bao
d0b403b9b8
docs: fix and sync documents ( #2119 )
...
* docs: fix Russian documents
* docs: sync French documents
2022-11-22 18:34:04 +11:00
dependabot[bot]
a1bff912a0
Bump loader-utils from 1.4.1 to 1.4.2 in /runtime/js ( #2115 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 05:34:10 +11:00
Misite Bao
51a12131a4
feat(website): add translation progress ( #2113 )
...
* feat(website): add translation progress
* feat(website): add French and Portuguese to language list
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-21 22:19:34 +11:00
Misite Bao
91de3ab0c5
docs: update and sync documents ( #2112 )
...
* docs: update options documentation
* docs: sync documents
* docs: sync Korean, Russian, French and Portuguese documents
* docs: sync Chinese, Japanese and Korean documents
2022-11-21 22:13:43 +11:00
Oleg Gulevskyy
b3d7682efc
Fix multiple nested build/bin folders in dev mode ( #2103 )
...
* stop circular assigning to OutputFilename
* update changelog
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-19 10:04:46 +11:00
Misite Bao
ec56f8807f
docs: sync documents ( #2083 )
2022-11-18 22:11:25 +11:00
github-actions[bot]
8850b453d9
chore: update sponsors.svg ( #2106 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-18 22:10:45 +11:00
Marvin Collins Hosea
a8bbce6a12
React Hash Router Links returns 404 ( #2050 )
...
The linked Hash Router link is not valid anymore and returns a 404.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-11-17 20:19:24 +11:00
Christian Kilb
66dd310823
Update obfuscated.mdx ( #2102 )
...
Fixed a typo.
2022-11-17 20:01:54 +11:00
juju
29acbe3079
Update events.mdx ( #2105 )
2022-11-17 20:01:02 +11:00
cybertramp
ec82739df1
docs: Add README.ko.md ( #2093 )
...
* docs: Add README.ko.md
- Add korean version README
- Update 'README.ko.md' link in README.md
* Update README.zh-Hans.md
* Update README.ja.md
Co-authored-by: Misite Bao <i@misitebao.com >
2022-11-17 05:40:59 +11:00
stffabi
177d90497a
[assetserver] Add support for range requests if the fs.FS provides an io.Seeker ( #2091 )
...
This allows streaming audio and videos with range requests if the
platform webview supports it.
2022-11-15 07:19:25 +11:00
stffabi
efd209b7c5
[darwin] Show Xcode version in wails doctor ( #2089 )
2022-11-14 20:11:07 +11:00
Lea Anthony
236570909c
Rename bleeding edge -> local development ( #2086 )
2022-11-13 22:44:50 +11:00
stffabi
0607777bec
[darwin, inspector] Fix build ( #2082 )
2022-11-12 21:02:53 +11:00
stffabi
f6e46ac1c3
[debug] Introducing debug options for debug builds to allow opening the inspector on startup ( #2080 )
2022-11-12 19:51:54 +11:00
Antonio Cheong
e3e20bdb42
Reference NSIS as optional dependency and provide more info ( #2070 )
...
* Update system.go
* Update installation.mdx
* Update base docs
2022-11-12 18:36:57 +11:00
stffabi
6d0ae669f9
[dev] Fix noreload flag and only skip reloads triggered by assetdir ( #2081 )
2022-11-12 17:08:54 +11:00
Misite Bao
8c4c4a9df3
docs: sync documents ( #2073 )
...
* docs: fix document formatting
* docs: sync documents
2022-11-12 08:30:16 +11:00
github-actions[bot]
fc312a5f04
chore: update sponsors.svg ( #2077 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-11 23:46:30 +11:00
Lea Anthony
d77b920ed5
Merge branch 'release/v2.2.0'
2022-11-09 22:33:01 +11:00
dependabot[bot]
4b57d55db2
Bump loader-utils from 1.4.0 to 1.4.1 in /runtime/js ( #2068 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 22:29:37 +11:00
Lea Anthony
67e2a4bdeb
Update docs and changelog
2022-11-09 22:26:22 +11:00
Lea Anthony
f7c602c212
Update docs and changelog
2022-11-09 22:06:10 +11:00
Lea Anthony
0a7293d6b6
Update runtime
2022-11-09 21:22:32 +11:00
Misite Bao
4c840c07f2
docs: sync documents ( #2063 )
...
* docs: sync documents
* docs: fix document escape syntax
2022-11-09 06:25:18 +11:00
Sean Gosiaco
8ee493f48d
Added quasar-js and quasar-ts templates ( #2062 )
2022-11-08 20:34:05 +11:00
github-actions[bot]
95116912a2
chore: update sponsors.svg ( #2054 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-06 15:32:15 +11:00
github-actions[bot]
55f76a291b
chore: update sponsors.svg ( #2051 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-05 14:34:14 +11:00
github-actions[bot]
928bc75602
chore: update sponsors.svg ( #2049 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-11-04 18:32:17 +11:00
Lea Anthony
18b2d315dd
Modularize wails ( #2009 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-11-03 21:21:40 +11:00
stffabi
0a1c05df16
[windows] Fix frameless maximizing in multi monitor setup ( #2043 )
2022-11-03 19:14:00 +11:00
github-actions[bot]
3d62681450
chore: update sponsors.svg ( #2022 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-30 19:27:08 +11:00
stffabi
638caf72f0
[assetserver] Introduce middleware and extract options ( #2016 )
...
* [assetserver] Add support for HTTP Middlewares
* [dev] Disable frontend DevServer if no Assets has been defined and inform user
* [dev] Consistent WebSocket behaviour in dev and prod mode for assets handler and middleware
In prod mode we can't support WebSockets so make sure the
assets handler and middleware never see WebSockets in dev mode.
* [templates] Migrate to new AssetServer option
* [docs] Add assetserver.Options to the reference
2022-10-29 23:15:15 +02:00
Lea Anthony
4cd89e1507
Add Angular docs
2022-10-29 19:35:41 +11:00
github-actions[bot]
ac8ed94ae6
chore: update sponsors.svg ( #2018 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-26 18:29:36 +11:00
Lea Anthony
52238f0fdd
Update Mac troubleshooting guide
2022-10-26 08:23:00 +11:00
Lea Anthony
6a12d01624
Update v2.1.0 release notes
2022-10-26 08:19:46 +11:00
Misite Bao
00864fa14f
docs: sync documents ( #2013 )
2022-10-26 08:02:36 +11:00
Lea Anthony
6d94cb4afe
Add installation error docs
2022-10-25 06:06:53 +11:00
Joshua Hull
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
Binyamin Aron Green
4bff4af2b0
Add JSON schema for config file ( #1864 )
...
* Add JSON schema for config file
* Fix typo in wails config schema
* Update wails.tmpl.json
* Update wails.tmpl.json
* Add reference to schema in docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:07:37 +11:00
ParkourLiu
dc65f77baf
repair panic ( #1999 )
...
* repair panic
* Add empty struct field test
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:04:49 +11:00
Will Andrews
c55f94a3dc
[Docs] Add troubleshooting guide for unable to start service ( #2001 )
...
* add troubleshooting
* moved
* Added to the docs repo
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-22 21:04:18 +11:00
Lea Anthony
b32069e4e4
Fix call in checkWebView2
2022-10-22 17:45:23 +11:00
github-actions[bot]
2fd704e47c
chore: update sponsors.svg ( #2003 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-22 00:40:09 +11:00
stffabi
0a20c8db96
[webview2loader] Add full featured go implementation ( #1974 )
...
* [webview2loader] Add full featured go implementation
The new go loader can be activated with the exp_gowebview2loader build tag.
* [build] Add information for using the new webvie2loader
2022-10-22 00:29:16 +11:00
Will Andrews
38f6b8787f
[Docs] Add troubleshooting guide for unable to start service ( #2000 )
...
* add troubleshooting
* moved
2022-10-21 07:42:57 +11:00
Scott Opell
7fcb537f85
feature/turn off color terminal output of dev command ( #1947 )
...
* feat: Adds option to dev command to turn off color terminal output
* Update docs
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-20 21:11:20 +11:00
Misite Bao
8b07a0f582
chore: update workflows ( #1977 )
...
* chore: remove useless files
* chore: fix check path
* chore: add workflow to auto push to crowdin after website update
* fix: fix workflow config
2022-10-20 20:51:59 +11:00
Lea Anthony
3e73368540
Remove issue translator
2022-10-20 08:45:03 +11:00
github-actions[bot]
789a4e9bba
chore: update sponsors.svg ( #1991 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-19 20:34:17 +11:00
stffabi
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
Lea Anthony
d9e077389c
Update changelog
2022-10-18 07:28:41 +11:00
Lea Anthony
94a936e3ad
Update changelog
2022-10-18 07:26:59 +11:00
Lea Anthony
639389022b
Update date
2022-10-18 07:24:10 +11:00
Lea Anthony
a5fba5b218
Release/v2.1.0 ( #1988 )
...
* Add changelog. Fix zoom docs. Add Info.dev.plist info
* Update build assets README.md
* Update changelog
* actions/checkout@v2 => v3
* Docs
2022-10-18 07:21:07 +11:00
Lea Anthony
96fa18846c
Feature/static analysis ( #1983 )
...
* Support parsing embed directives from package
* Validate `embed` directives on build
* `.gitkeep` -> `gitkeep`
* Make step silent. Fix for `wails dev`
2022-10-16 23:08:34 +11:00
Lyon
4d7959dd5b
fix: init command not listed in wails help message ( #1976 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-15 20:13:07 +11:00
cuigege
ef6263c164
Update events.mdx ( #1979 )
2022-10-15 20:08:25 +11:00
Misite Bao
7b501a8fd1
docs: sync documents ( #1968 )
...
* docs: update template description
* docs: sync documents
2022-10-15 10:29:31 +11:00
github-actions[bot]
24dbd71be0
chore: update sponsors.svg ( #1973 )
...
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-15 10:28:58 +11:00
Pierre Joye
f4adff1cb3
#1057 expose ZoomFactor get/set and add the respective windows only options ( #1463 )
...
* #1057 expose ZoomFactor get/set and add the respective windows only options
* Remove debug log, use IsZoomControlEnabled as well
* use math.float to/from 64bits functions instead
* Add new windows options ZoomFactor and IsZoomControlEnabled doc
* Grammar
* Update options.mdx
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-14 08:46:14 +11:00
Lea Anthony
7effede62b
Add support for Info.dev.plist ( #1960 )
2022-10-14 07:58:43 +11:00
stffabi
7f733d787f
[dev] Do not try to infer assetdir from fs.FS when a frontend dev server is in use ( #1972 )
2022-10-14 07:52:52 +11:00
Lea Anthony
2d4f7f4de8
Sort structs in models.ts. Fixes #1958 ( #1961 )
2022-10-14 07:50:22 +11:00
Lea Anthony
de1d032f10
Use swc + pnpm ( #1966 )
...
* Use swc + pnpm
* Upgrade deps
2022-10-13 21:22:57 +11:00
Lea Anthony
4ca0580ced
Chore/generate sponsors ( #1965 )
...
* Create PR
* chore: update sponsors.svg (#1964 )
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
* Delete branch after merge
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: leaanthony <leaanthony@users.noreply.github.com >
2022-10-13 20:10:12 +11:00
Lea Anthony
855c74ff30
Make highlighted code line easier to read. Fixes #1951 .
2022-10-12 21:43:28 +11:00
Lea Anthony
c62c915fdc
Run tests on approval
2022-10-12 21:12:16 +11:00
Rob Nice
c78f59bbc1
Add Elm Tailwind CSS community template ( #1939 )
...
* add link/description
* rename project
2022-10-11 19:22:24 +11:00
Valentin Trinqué
2a20049ea7
fix: Prevent type parsing to interfere with package name in typescript generation ( #1942 )
...
Before that fix:
The method...
```go
func (h *Handler) RespondToInteraction(interaction interactor.Interaction) {}
```
... would generate...
```ts
export function RespondToInteraction(arg1:number):Promise<Error>;
```
... because the `interaction` package starts with `int` and anything starting with `int` is interpreted as `number`.
2022-10-10 23:50:55 +11:00
Alex
504531f340
Update README.zh-Hans.md ( #1949 )
...
replace the star history chart with star-history.com
2022-10-10 00:15:36 +11:00
Scott Opell
eae90df323
fix for dev file watching missing some file updates due to platform oddities ( #1946 )
2022-10-09 20:27:24 +11:00
Lea Anthony
eee6797907
Add WindowExecJS method ( #1927 )
...
* Add WindowExecJS
* [devserver] Embed the base frontend into the DevServer struct
* Update docs
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-10-05 08:44:23 +11:00
JulioDRF
bd378b2e0f
Fix wails dev ( #1931 )
...
* Fix wails dev
* Pass wg as pointer to both goroutines in DevWebServer.Run
* Remove shutdown goroutine
2022-10-05 06:47:37 +11:00
Misite Bao
130f4cc36a
docs: sync documents ( #1936 )
2022-10-04 19:22:35 +11:00
Artur S
f3cbd383a3
add react-ts-vite-tailwind template ( #1930 )
2022-10-02 22:38:58 +11:00
Misite Bao
ef32ea2575
fix: remove the .git directory in the template ( #1929 )
...
fixed: https://github.com/wailsapp/wails/issues/1928
2022-10-02 21:03:11 +11:00
Lea Anthony
6a3b89d212
fix: exemption typo
2022-10-01 19:03:20 +10:00
JulioDRF
40e326a708
Fix binding generation special cases ( #1902 )
...
* Make binding.go easier to test
* Fix non-deterministic namespace order for bindings
* Add binding tests
* Fix nested import structs, non-string map keys, and escape invalid variable names
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-01 15:49:51 +10:00
Zámbó, Levente
de49b1f125
fix gtk_window_begin_resize_drag's mouse button ( #1920 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-10-01 15:45:37 +10:00
Zámbó, Levente
2690250378
Add window transparency for linux ( #1926 )
2022-10-01 15:44:38 +10:00
dependabot[bot]
32e9cb30bf
Bump github.com/labstack/echo/v4 from 4.7.2 to 4.9.0 in /v2 ( #1924 )
2022-09-30 22:00:01 +02:00
Zámbó, Levente
13532e00a0
add missing resize for framless window on linux ( #1918 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-30 08:51:08 +10:00
Lea Anthony
3ed0d69d61
Update generate-sponsor-image.yml
2022-09-30 08:41:49 +10:00
Richard Guay
d92e8d43c8
Adding Tutorial link ( #1903 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-30 08:40:30 +10:00
Lea Anthony
c05666af7b
Fix asset handler on linux
2022-09-30 08:34:32 +10:00
Lea Anthony
e7188e877f
Update build and test workflow
2022-09-30 08:27:22 +10:00
Lea Anthony
37954141cc
Update build_and_test.yml
2022-09-30 08:25:03 +10:00
Lea Anthony
d699e77c33
Update build and test workflow
2022-09-30 08:22:22 +10:00
Lea Anthony
60a59f12b2
Update build and test workflow
2022-09-30 08:15:20 +10:00
Misite Bao
5421f559df
docs: sync documents ( #1907 )
...
* fix(website): fix command flag name
* feat(website): sync translations
2022-09-30 07:17:34 +10:00
Zámbó, Levente
b1e04772d9
bugfix/linux framless window drag ( #1916 )
2022-09-30 00:06:11 +10:00
Lea Anthony
941218d1c8
Update README.md
2022-09-29 20:51:41 +10:00
Lea Anthony
b2069c871d
Refactor app ( #1909 )
...
* Application refactor
* [windows] refactor out main loop. Create new application struct. Refactor assethandler/assetserver signatures.
* Refactor darwin app
* Refactor app for linux
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assethandler.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Update v2/internal/frontend/assetserver/assetserver.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-29 18:43:35 +10:00
Lea Anthony
e22cfc18c9
Update howdoesitwork.mdx
2022-09-28 08:32:14 +10:00
ALMAS
2d61278125
Update Chinese translation ( #1894 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-26 20:43:28 +10:00
Lea Anthony
9f81013530
chore: Update workflows
2022-09-26 18:00:38 +10:00
Lea Anthony
52845a7ca5
chore: Update release workflow
2022-09-26 17:54:56 +10:00
Lea Anthony
1571b10b84
Quote command arguments if they have a space ( #1892 )
2022-09-25 22:20:01 +10:00
stffabi
f5549db85d
[dev] Do not generate bindings in the dev app itself ( #1899 )
...
* [dev] Pass skip bindings to the building process
* [dev] Do not generate bindings in the dev app itself
This is done outside during `wails dev` bootstrapping and
fast regeneration seems to sometime cause locking problems
on Windows.
2022-09-25 21:21:41 +10:00
stffabi
953e67e7ed
[assetHandler] Remove redundant log prefix ( #1896 )
2022-09-24 18:03:16 +10:00
Arif Ali
73b9dead5d
obfuscated instead of obfuscate in the docs ( #1895 )
...
the option in the docs is the wrong flag you have to add a d at the end
2022-09-24 15:05:18 +10:00
Misite Bao
211eb52747
chore: update the label name in the issue template ( #1893 )
2022-09-24 11:50:57 +10:00
Lea Anthony
91d0d96359
Add issue translator ( #1891 )
2022-09-24 07:52:19 +10:00
Lea Anthony
fbf11aa088
Auto label project cards ( #1881 )
2022-09-23 14:16:34 +10:00
Lea Anthony
fd32734382
Add support for default No button ( #1875 )
...
* Add support for default No button
* Fix tests
2022-09-23 10:50:54 +10:00
Lea Anthony
48b3fb0f51
Add PR checks ( #1879 )
...
* Add PR checks
* Update PR workflow
* Update PR workflow
* Update PR workflow
* Add branch name check + doc check
* Update PR branch check
* Update PR branch check
* Update PR branch check
2022-09-23 08:52:01 +10:00
Lea Anthony
8bbbb0f148
Fix i18n blog
2022-09-22 18:34:04 +10:00
Lea Anthony
495c129ec6
Update blog
2022-09-22 11:27:40 +10:00
Lea Anthony
74133c9ae3
v2.0.0
2022-09-22 11:00:57 +10:00
Misite Bao
e9b2c15664
feat: optimize documentation website ( #1849 )
...
* fix(website): fix i18n configuration
* feat: add i18n file to auto generate code
* feat: move the crowdin configuration file to the website directory
* feat(website): add crowdin dependencies and scripts
* feat: add COC
* feat: use escape hatch syntax to wrap JSX code in MDX files
* feat: remove ach language
* feat: generate default language configuration
* feat: remove compare link
* feat: add COC link
* feat(website): update documentation
* feat: use escape hatch syntax to wrap JSX code in MDX files
* style: add prettier
* style: format mdx files
* chore: remove prettier command
* feat: update en docs
* feat: sync Chinese documents
* feat: update doc
* Update website/src/pages/coc.mdx
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-18 22:01:50 +10:00
Lea Anthony
d0a39349d4
Update release workflow
2022-09-18 08:56:13 +10:00
Lea Anthony
b93cdcd942
Releasetest/release workflow ( #1869 )
...
* Test release workflow
* Update release.yml
* Update release.yml
* add linux deps
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Update release.yml
* Fix: Misc tests
* Fix: Misc tests + linux build tags
* Fix: Bindings tests + move templates to pkg. Add json schema for templates
* Fix: template tests
* Add tests to release workflow. Test for go 1.18 + go 1.19
Fix: ignore .m files for non darwin builds. Fix watcher test. Fix warning in clilogger.
* Fix release pipeline
* Matrix for tests
* Rename templates to make tests work
* Update template test
* Debug template test
* Debug template test
* Debug template test
* Fix gitignore
* Update release.yml
2022-09-18 08:55:21 +10:00
Parvin Eyvazov
96ffe5b7b2
Update introduction.mdx ( #1863 )
2022-09-17 06:09:00 +10:00
stffabi
1026119eca
[templates] Use embed all to include all files ( #1862 )
...
Otherwise files prefixed with `.` and `_` won't get embedded.
2022-09-17 00:37:30 +10:00
Lea Anthony
f78476e051
Fix: lit template
2022-09-16 17:48:48 +10:00
Lea Anthony
124295a79c
Remove support for < Go 1.18 in wails doctor
2022-09-16 13:36:33 +10:00
Misite Bao
14adbc12aa
chore: update README and workflows ( #1848 )
...
* Update README
* Update crowdin.yml
* chore: update workflows and README
* fix: fix error
* feat: remove unnecessary content
* Update .github/workflows/build.yml
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-15 21:49:35 +10:00
Lea Anthony
28fd3cdba1
Fix link to runtime docs in introduction page
2022-09-15 21:11:12 +10:00
stffabi
f97f5bb602
[build] Fix buildtags parsing if only one tag is specified ( #1858 )
...
* [build] Fix buildtags parsing if only one tag is specified
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-15 17:04:00 +10:00
stffabi
f1dc9eb4ef
[cli] Add check for minimum required go version ( #1853 )
...
- Update out of sync go.mod with minimum go version
- Check for minimum go version during build with build constraint
“internal/goversion/build_constraint.go:9:2: MinGoVersionRequired (constant "You need Go 1.18 or newer to compile this program" of type string) is not used”
2022-09-15 07:28:28 +10:00
stffabi
854bd9433d
[go] Bump minimum required go version to 1.18 ( #1854 )
2022-09-14 23:47:15 +10:00
Lea Anthony
e75fb53fa5
Fix version text v2.0.0-rc.1.1
2022-09-13 12:06:54 +10:00
Lea Anthony
847cd67077
v2.0.0-rc.1 ( #1846 )
...
* v2.0.0-rc.1
* Fix changelog jsx errors. Can't wait to get rid of jsx.
2022-09-13 11:47:13 +10:00
Lea Anthony
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
imgbot[bot]
eef99ee577
[ImgBot] Optimize images ( #1812 )
...
*Total -- 5,696.04kb -> 5,003.34kb (12.16%)
/v2/pkg/commands/build/internal/packager/icon32.png -- 7.95kb -> 2.95kb (62.83%)
/v2/internal/frontend/desktop/windows/winc/dock_topbottom.png -- 4.27kb -> 1.82kb (57.31%)
/assets/images/jetbrains-grayscale.png -- 102.85kb -> 52.29kb (49.16%)
/v2/internal/frontend/desktop/windows/winc/dock_topleft.png -- 3.47kb -> 1.88kb (45.81%)
/cmd/templates/svelte/frontend/public/favicon.png -- 3.05kb -> 1.91kb (37.45%)
/website/static/img/icon-windows-dark.svg -- 0.63kb -> 0.45kb (28.35%)
/v2/pkg/buildassets/build/appicon.png -- 174.74kb -> 129.52kb (25.88%)
/website/static/img/favicon.svg -- 0.99kb -> 0.76kb (23.37%)
/website/static/img/go_js.svg -- 4.49kb -> 3.45kb (23.14%)
/website/static/img/go_js_dark.svg -- 4.54kb -> 3.50kb (22.97%)
/cmd/templates/vuetify2-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuetify-basic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/create-react-app/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/vuebasic/frontend/src/assets/images/logo.png -- 300.95kb -> 234.35kb (22.13%)
/cmd/templates/svelte/frontend/src/logo.png -- 300.95kb -> 234.35kb (22.13%)
/website/static/img/architecture.svg -- 3.83kb -> 3.04kb (20.6%)
/website/static/img/Terminal-icon-dark.svg -- 0.99kb -> 0.79kb (20.37%)
/website/static/img/Terminal-icon.svg -- 0.99kb -> 0.79kb (19.84%)
/website/static/img/wails-logo-textless.svg -- 4.11kb -> 3.40kb (17.31%)
/assets/images/pace.jpeg -- 3.06kb -> 2.55kb (16.57%)
/website/static/img/icon-apple-dark.svg -- 1.10kb -> 0.92kb (16.33%)
/website/static/img/Go_Logo_Blue.svg -- 2.20kb -> 1.86kb (15.21%)
/website/static/img/logo-dark.svg -- 7.19kb -> 6.18kb (14.12%)
/website/static/img/wails-logo-horizontal-dark.svg -- 6.29kb -> 5.41kb (14.02%)
/website/static/img/logo-light.svg -- 7.12kb -> 6.13kb (14%)
/website/static/img/wails-logo-horizontal.svg -- 6.22kb -> 5.36kb (13.87%)
/website/static/img/icon-windows.svg -- 0.42kb -> 0.39kb (8.14%)
/v2/cmd/wails/internal/commands/generate/template/base/frontend/dist/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/preact/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/plain/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/react/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/vue/frontend/src/assets/images/logo-universal.png -- 146.83kb -> 136.42kb (7.09%)
/cmd/templates/vue3-js/frontend/src/assets/logo.png -- 6.69kb -> 6.33kb (5.4%)
/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/src/assets/preact.svg -- 1.57kb -> 1.49kb (4.99%)
/website/static/img/icon-apple.svg -- 0.76kb -> 0.72kb (4.52%)
/website/static/img/desktop-application-app-dark.svg -- 4.56kb -> 4.37kb (4.34%)
/website/static/img/desktop-application-app.svg -- 4.54kb -> 4.35kb (4.34%)
/website/static/img/logo.svg -- 6.55kb -> 6.29kb (4.05%)
/website/static/img/vitejs.svg -- 3.76kb -> 3.62kb (3.79%)
/cmd/templates/create-react-app/frontend/public/logo512.png -- 175.92kb -> 169.55kb (3.62%)
/v2/pkg/commands/build/internal/packager/icon128.png -- 16.10kb -> 15.52kb (3.58%)
/cmd/templates/vue3-full/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/darwin/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/vue3-js/frontend/src/assets/appicon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/packages/windows/icon.png -- 105.56kb -> 101.81kb (3.56%)
/cmd/templates/create-react-app/frontend/public/logo192.png -- 37.41kb -> 36.24kb (3.14%)
/cmd/templates/vuebasic/frontend/src/assets/fonts/roboto/roboto-v18-latin-regular.svg -- 47.83kb -> 46.81kb (2.13%)
/v2/pkg/commands/build/internal/packager/icon256.png -- 26.46kb -> 25.99kb (1.79%)
/website/static/img/icon-linux.svg -- 2.94kb -> 2.92kb (0.4%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-09-12 21:57:07 +10:00
Lea Anthony
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
Lea Anthony
dae1388f3b
Update docusaurus version
2022-09-12 21:13:13 +10:00
Lea Anthony
d23108a49e
Make draggable CSS property customisable ( #1828 )
...
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-09-10 14:33:35 +10:00
Lea Anthony
ec0e1cca58
Add macOS build failure help
2022-09-08 21:51:29 +10:00
Sean
85b8c3025d
fix: remove duplicate defs in win32/window.go ( #1832 )
...
Introduced in 70c484f603
2022-09-07 05:43:47 +10:00
Lea Anthony
6e35e9a3e4
Update PR testing docs
2022-09-06 08:04:51 +10:00
Lea Anthony
3920402017
Update overscroll CSS
2022-09-04 11:33:47 +10:00
Lea Anthony
58a2dbb42a
Update overscroll CSS
2022-09-04 11:33:08 +10:00
Lea Anthony
fca6e9e3d4
Better watcher ( #1827 )
...
* Better watcher
* Delete rogue code
2022-09-04 07:47:27 +10:00
SheetJSDev
53ebb67b72
Use Promise<void> when Go routine does not output ( #1821 )
2022-09-03 09:56:18 +10:00
Zámbó, Levente
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
01e46f0c24
Fix vue-ts template ( #1813 )
2022-08-31 23:28:55 +10:00
Misite Bao
3a7ef4c26d
fix: fix bugs in website ( #1810 )
...
* feat: remove useless configuration files
* fix: fix image tags
* fix: delete unnecessary files and fix file names
* fix: automatically generate translations using official tools
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-31 22:32:34 +10:00
Lea Anthony
961dc4ded6
Remove stats page
2022-08-31 20:00:22 +10:00
Kevin MacMartin
27f36a8edd
Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland" ( #1811 )
...
* Only set GDK_BACKEND to "x11" if GDK_BACKEND is unset and XDG_SESSION_TYPE is not "wayland"
* GDK_BACKEND should only be set if XDG_SESSION_TYPE is unset, "unspecified" or "x11"
2022-08-31 17:31:52 +10:00
Lea Anthony
ffb4a1360b
Add too many open files guide
2022-08-30 07:41:46 +10:00
ZanderCodes
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
d70d8055cc
Update README
2022-08-29 20:51:14 +10:00
Lea Anthony
cdf4927e58
Optimise images part 2
2022-08-29 20:19:43 +10:00
Lea Anthony
96bf669d62
Optimise images
2022-08-28 20:55:36 +10:00
KiddoV
9287649e0b
Update templates.mdx ( #1799 )
...
* Update templates.mdx
* Update templates.mdx
2022-08-28 17:01:27 +10:00
Lea Anthony
92e85cd9b2
Update sponsors
2022-08-28 07:05:11 +10:00
Lea Anthony
c283c47be4
Update Sponsors
2022-08-27 20:45:07 +10:00
Lea Anthony
b5e98d5780
New Crowdin updates ( #1726 )
...
* New translations minecraftupdater.mdx (Korean)
[ci skip]
* New translations links.mdx (Korean)
[ci skip]
* New translations templates.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations developing-new-features.mdx (Korean)
[ci skip]
* New translations documenting.mdx (Korean)
[ci skip]
* New translations troubleshooting.mdx (Korean)
[ci skip]
* New translations windows-installer.mdx (Korean)
[ci skip]
* New translations faq.mdx (Korean)
[ci skip]
* New translations 2021-11-08-v2-beta2-release-notes.mdx (Korean)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Korean)
[ci skip]
* New translations authors.yml (Korean)
[ci skip]
* New translations credits.mdx (Korean)
[ci skip]
* New translations markdown-page.md (Korean)
[ci skip]
* New translations stats.mdx (Korean)
[ci skip]
* New translations faq.mdx (Japanese)
[ci skip]
* New translations faq.mdx (Russian)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations faq.mdx (Chinese Simplified)
[ci skip]
* New translations options.json (Korean)
[ci skip]
* New translations current.json (Korean)
[ci skip]
* New translations version-v2.0.0-beta.38.json (Korean)
[ci skip]
* New translations version-v2.0.0-beta.39.json (Korean)
[ci skip]
* New translations footer.json (Korean)
[ci skip]
* New translations navbar.json (Korean)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Korean)
[ci skip]
* New translations howdoesitwork.mdx (Korean)
[ci skip]
* New translations windows.mdx (Korean)
[ci skip]
* New translations log.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations linux.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations browser.mdx (Korean)
[ci skip]
* New translations dialog.mdx (Korean)
[ci skip]
* New translations events.mdx (Korean)
[ci skip]
* New translations intro.mdx (Korean)
[ci skip]
* New translations menu.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations window.mdx (Korean)
[ci skip]
* New translations cli.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations menus.mdx (Korean)
[ci skip]
* New translations options.mdx (Korean)
[ci skip]
* New translations project-config.mdx (Korean)
[ci skip]
* New translations _category_.json (Korean)
[ci skip]
* New translations helloworld.mdx (Korean)
[ci skip]
* New translations code.json (Korean)
[ci skip]
* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]
* New translations firstproject.mdx (Japanese)
[ci skip]
* New translations firstproject.mdx (Russian)
[ci skip]
* New translations firstproject.mdx (Chinese Simplified)
[ci skip]
* New translations installation.mdx (Japanese)
[ci skip]
* New translations installation.mdx (Russian)
[ci skip]
* New translations installation.mdx (Chinese Simplified)
[ci skip]
* New translations dynamic-assets.mdx (Japanese)
[ci skip]
* New translations dynamic-assets.mdx (Russian)
[ci skip]
* New translations dynamic-assets.mdx (Chinese Simplified)
[ci skip]
* New translations frameless.mdx (Japanese)
[ci skip]
* New translations frameless.mdx (Russian)
[ci skip]
* New translations frameless.mdx (Chinese Simplified)
[ci skip]
* New translations documenting.mdx (Japanese)
[ci skip]
* New translations documenting.mdx (Russian)
[ci skip]
* New translations frontend.mdx (Japanese)
[ci skip]
* New translations frontend.mdx (Russian)
[ci skip]
* New translations windows.mdx (Chinese Simplified)
[ci skip]
* New translations troubleshooting.mdx (Japanese)
[ci skip]
* New translations troubleshooting.mdx (Russian)
[ci skip]
* New translations troubleshooting.mdx (Chinese Simplified)
[ci skip]
* New translations windows-installer.mdx (Japanese)
[ci skip]
* New translations windows-installer.mdx (Russian)
[ci skip]
* New translations windows-installer.mdx (Chinese Simplified)
[ci skip]
* New translations dialog.mdx (Japanese)
[ci skip]
* New translations dialog.mdx (Russian)
[ci skip]
* New translations signing.mdx (Chinese Simplified)
[ci skip]
* New translations migrating.mdx (Russian)
[ci skip]
* New translations ides.mdx (Japanese)
[ci skip]
* New translations ides.mdx (Russian)
[ci skip]
* New translations ides.mdx (Chinese Simplified)
[ci skip]
* New translations migrating.mdx (Japanese)
[ci skip]
* New translations migrating.mdx (Chinese Simplified)
[ci skip]
* New translations signing.mdx (Russian)
[ci skip]
* New translations mouse-buttons.mdx (Japanese)
[ci skip]
* New translations mouse-buttons.mdx (Russian)
[ci skip]
* New translations mouse-buttons.mdx (Chinese Simplified)
[ci skip]
* New translations overscroll.mdx (Japanese)
[ci skip]
* New translations overscroll.mdx (Russian)
[ci skip]
* New translations routing.mdx (Japanese)
[ci skip]
* New translations routing.mdx (Russian)
[ci skip]
* New translations routing.mdx (Chinese Simplified)
[ci skip]
* New translations signing.mdx (Japanese)
[ci skip]
* New translations dialog.mdx (Chinese Simplified)
[ci skip]
* New translations project-config.mdx (Chinese Simplified)
[ci skip]
* New translations options.mdx (Chinese Simplified)
[ci skip]
* New translations howdoesitwork.mdx (Japanese)
[ci skip]
* New translations howdoesitwork.mdx (Russian)
[ci skip]
* New translations howdoesitwork.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 (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 (Japanese)
[ci skip]
* New translations options.mdx (Russian)
[ci skip]
* New translations window.mdx (Japanese)
[ci skip]
* New translations menu.mdx (Japanese)
[ci skip]
* New translations menu.mdx (Russian)
[ci skip]
* New translations menu.mdx (Chinese Simplified)
[ci skip]
* New translations window.mdx (Russian)
[ci skip]
* New translations options.mdx (Japanese)
[ci skip]
* New translations cli.mdx (Chinese Simplified)
[ci skip]
* New translations menus.mdx (Japanese)
[ci skip]
* New translations menus.mdx (Russian)
[ci skip]
* New translations menus.mdx (Chinese Simplified)
[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 emailit.mdx (Chinese Simplified)
[ci skip]
* New translations modalfilemanager.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 (Russian)
[ci skip]
* New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
[ci skip]
* New translations credits.mdx (Japanese)
[ci skip]
* New translations credits.mdx (Russian)
[ci skip]
* New translations credits.mdx (Chinese Simplified)
[ci skip]
* New translations code.json (Korean)
[ci skip]
* New translations developing-new-features.mdx (Japanese)
[ci skip]
* New translations developing-new-features.mdx (Russian)
[ci skip]
* New translations ways-of-contributing.mdx (Japanese)
[ci skip]
* New translations documenting.mdx (Japanese)
[ci skip]
* New translations testing.mdx (Japanese)
[ci skip]
* New translations setting-up-a-dev-environment.mdx (Japanese)
[ci skip]
* New translations fixing-bugs.mdx (Japanese)
[ci skip]
* New translations helping-others.mdx (Japanese)
[ci skip]
* New translations ways-of-contributing.mdx (Russian)
[ci skip]
* New translations fixing-bugs.mdx (Chinese Simplified)
[ci skip]
* New translations documenting.mdx (Russian)
[ci skip]
* New translations documenting.mdx (Chinese Simplified)
[ci skip]
* New translations testing.mdx (Chinese Simplified)
[ci skip]
* New translations fixing-bugs.mdx (Russian)
[ci skip]
* New translations ways-of-contributing.mdx (Chinese Simplified)
[ci skip]
* New translations testing.mdx (Russian)
[ci skip]
* New translations helping-others.mdx (Russian)
[ci skip]
* New translations helping-others.mdx (Chinese Simplified)
[ci skip]
* New translations setting-up-a-dev-environment.mdx (Chinese Simplified)
[ci skip]
* New translations setting-up-a-dev-environment.mdx (Russian)
[ci skip]
* New translations developing-new-features.mdx (Chinese Simplified)
[ci skip]
* New translations current.json (Japanese)
[ci skip]
* New translations current.json (Russian)
[ci skip]
* New translations current.json (Chinese Simplified)
[ci skip]
* New translations version-v2.0.0-beta.44.json (Japanese)
[ci skip]
* New translations version-v2.0.0-beta.44.json (Russian)
[ci skip]
* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]
* New translations version-v2.0.0-beta.43.json (Japanese)
[ci skip]
* New translations version-v2.0.0-beta.43.json (Russian)
[ci skip]
* New translations version-v2.0.0-beta.43.json (Chinese Simplified)
[ci skip]
* New translations installation.mdx (Korean)
[ci skip]
* New translations ways-of-contributing.mdx (Korean)
[ci skip]
* New translations testing.mdx (Korean)
[ci skip]
* New translations developing-new-features.mdx (Korean)
[ci skip]
* New translations documenting.mdx (Korean)
[ci skip]
* New translations fixing-bugs.mdx (Korean)
[ci skip]
* New translations helping-others.mdx (Korean)
[ci skip]
* New translations setting-up-a-dev-environment.mdx (Korean)
[ci skip]
* New translations current.json (Korean)
[ci skip]
* New translations options.json (Korean)
[ci skip]
* New translations version-v2.0.0-beta.44.json (Korean)
[ci skip]
* New translations version-v2.0.0-beta.43.json (Korean)
[ci skip]
* New translations footer.json (Korean)
[ci skip]
* New translations navbar.json (Korean)
[ci skip]
* New translations code.json (Korean)
[ci skip]
* New translations community-guide.mdx (Japanese)
[ci skip]
* New translations community-guide.mdx (Korean)
[ci skip]
* New translations community-guide.mdx (Russian)
[ci skip]
* New translations community-guide.mdx (Chinese Simplified)
[ci skip]
* New translations current.json (Japanese)
[ci skip]
* New translations current.json (Russian)
[ci skip]
* New translations current.json (Chinese Simplified)
[ci skip]
* New translations code.json (Japanese)
[ci skip]
* New translations code.json (Russian)
[ci skip]
* New translations code.json (Chinese Simplified)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations current.json (Korean)
[ci skip]
* New translations code.json (Korean)
[ci skip]
* New translations community-guide.mdx (Japanese)
[ci skip]
* New translations community-guide.mdx (Korean)
[ci skip]
* New translations community-guide.mdx (Russian)
[ci skip]
* New translations community-guide.mdx (Chinese Simplified)
[ci skip]
* New translations community-guide.mdx (Chinese Simplified)
[ci skip]
* New translations vscode.mdx (Japanese)
[ci skip]
* New translations vscode.mdx (Korean)
[ci skip]
* New translations vscode.mdx (Russian)
[ci skip]
* New translations vscode.mdx (Chinese Simplified)
[ci skip]
* New translations current.json (Chinese Simplified)
[ci skip]
* New translations riftshare.mdx (Chinese Simplified)
[ci skip]
* New translations surge.mdx (Chinese Simplified)
[ci skip]
* New translations wally.mdx (Chinese Simplified)
[ci skip]
* New translations encrypteasy.mdx (Chinese Simplified)
[ci skip]
* New translations filehound.mdx (Chinese Simplified)
[ci skip]
* New translations mollywallet.mdx (Chinese Simplified)
[ci skip]
* New translations optimus.mdx (Chinese Simplified)
[ci skip]
* New translations _category_.json (Chinese Simplified)
[ci skip]
* New translations emailit.mdx (Chinese Simplified)
[ci skip]
* New translations modalfilemanager.mdx (Chinese Simplified)
[ci skip]
* New translations browser.mdx (Chinese Simplified)
[ci skip]
* New translations vscode.mdx (Russian)
[ci skip]
* New translations vscode.mdx (Chinese Simplified)
[ci skip]
* New translations browser.mdx (Japanese)
[ci skip]
* New translations browser.mdx (Korean)
[ci skip]
* New translations browser.mdx (Russian)
[ci skip]
* New translations dialog.mdx (Japanese)
[ci skip]
* New translations vscode.mdx (Japanese)
[ci skip]
* New translations dialog.mdx (Korean)
[ci skip]
* New translations dialog.mdx (Russian)
[ci skip]
* New translations dialog.mdx (Chinese Simplified)
[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 intro.mdx (Japanese)
[ci skip]
* New translations intro.mdx (Korean)
[ci skip]
* New translations intro.mdx (Russian)
[ci skip]
* New translations vscode.mdx (Korean)
[ci skip]
* New translations intro.mdx (Chinese Simplified)
[ci skip]
* New translations log.mdx (Japanese)
[ci skip]
* New translations options.mdx (Russian)
[ci skip]
* New translations introduction.mdx (Japanese)
[ci skip]
* New translations options.mdx (Chinese Simplified)
[ci skip]
* New translations options.mdx (Korean)
[ci skip]
* New translations log.mdx (Korean)
[ci skip]
* New translations log.mdx (Russian)
[ci skip]
* New translations log.mdx (Chinese Simplified)
[ci skip]
* New translations menu.mdx (Japanese)
[ci skip]
* New translations menu.mdx (Korean)
[ci skip]
* New translations menu.mdx (Russian)
[ci skip]
* New translations menu.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 options.mdx (Japanese)
[ci skip]
* New translations introduction.mdx (Korean)
[ci skip]
* New translations introduction.mdx (Russian)
[ci skip]
* New translations community-guide.mdx (Chinese Simplified)
[ci skip]
* New translations stats.mdx (Chinese Simplified)
[ci skip]
* New translations faq.mdx (Chinese Simplified)
[ci skip]
* New translations markdown-page.md (Chinese Simplified)
[ci skip]
* New translations introduction.mdx (Chinese Simplified)
[ci skip]
* New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
[ci skip]
* New translations version-v2.0.0-beta.44.json (Chinese Simplified)
[ci skip]
* Empty-Commit
* Fix crowdin screwups again
2022-08-27 20:17:15 +10:00
Debdut Karmakar
6c3418d199
preact-ts template build fix ( #1781 )
...
* preact imports
* Copy fix to template template(!). Remove unused Fragment.
* Fix template template!
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-27 16:42:33 +10:00
Lea Anthony
e67980ee39
Add dogs-api tutorial. Thanks @tatadan!
2022-08-27 16:27:23 +10:00
Lea Anthony
5a3af94772
Documentation update + refactor
2022-08-27 11:17:03 +10:00
stffabi
3632ef9dc8
[webviewloader] Use go implementation to retrieve the version of a fixed runtime ( #1790 )
...
* [webview2loader] Start porting of OpenWebView2Loader to go
* [webviewloader] Use go implementation to retrieve the version of a fixed runtime
This fixes a problem with the go-winloader and using GetAvailableCoreWebView2BrowserVersionString
Fixes #1569
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-27 09:29:09 +10:00
Zámbó, Levente
bbfb64a965
fix frontend/tsconfig.js ( #1795 )
...
change frontend/tsconfig.js to frontend/tsconfig.json.
2022-08-27 06:55:49 +10:00
Lea Anthony
e6c9b1350c
Vetur documentation
2022-08-26 20:25:29 +10:00
Misite Bao
5f7a413cf3
fix(website): fix link ( #1785 )
2022-08-24 06:22:48 +10:00
Misite Bao
18dae3c5f0
Reorganized contribution guidelines page ( #1784 )
...
* feat(website): update dependencies
* docs: reorganized contribution guidelines page
* feat(website): modify the side directory configuration
* chore: update issue documentation template and configuration
2022-08-23 23:49:23 +10:00
Yuki Shindo
fba9411235
Add README.ja.md ( #1783 )
...
* Add README.ja.md
* Fix text
2022-08-23 23:46:04 +10:00
Misite Bao
250c97e6a2
feat(website): change contribution guide type from "doc" to "page" ( #1777 )
2022-08-23 20:52:56 +10:00
Jae-Sung Lee
7da8b28d0b
Add Korean to doc ( #1774 )
...
* Add Korean
* remove other content
2022-08-22 20:42:00 +10:00
Misite Bao
791c13f29f
chore: sort out files ( #1776 )
...
* chore: organize resources and delete useless files
* chore: add CONTRIBUTING.md
* chore: update doc issue template
* docs: update and sync README
2022-08-22 20:02:27 +10:00
Misite Bao
cb6064ff39
feat(website): repair document content ( #1775 )
...
* docs: update changelog
* feat: update website config
* feat(website): add formatting configuration
* docs: fix image resource paths and format documents
* feat(website): update community guide page
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-22 19:59:28 +10:00
stffabi
7e030f3f2b
[webviewloader] Prevent env variables and registry overrides from changing behaviour ( #1771 )
2022-08-22 07:37:00 +02:00
Lea Anthony
3c69289013
Update generate.go
2022-08-20 15:01:33 +10:00
Lea Anthony
2de1421d83
Update preact template
2022-08-20 15:00:05 +10:00
Lea Anthony
317e0a6fef
Preact templates for vite 3 ( #1770 )
2022-08-20 14:55:07 +10:00
Lea Anthony
a9fcdd705e
Support vite3 for Vue ( #1746 )
2022-08-20 14:54:48 +10:00
Lea Anthony
4d51d9b742
Upgrade Lit to use Vite v3 ( #1745 )
...
* Upgrade Lit to use Vite v3
* Remove unused files
2022-08-20 14:54:27 +10:00
Lea Anthony
d9a535c393
Upgrade React to use Vite v3 ( #1744 )
2022-08-20 14:54:06 +10:00
Lea Anthony
3474d4e1e1
v2.0.0-beta.44.2
2022-08-20 13:51:26 +10:00
Lea Anthony
2466bb1fac
v2.0.0-beta.44.1
2022-08-20 13:47:50 +10:00
Niklas
f73c394010
doc: added minecraft updater as showcase ( #1768 )
2022-08-20 12:35:49 +10:00
Lea Anthony
c11c769c04
v2.0.0-beta.44 (updated)
2022-08-20 09:59:34 +10:00
Lea Anthony
58d3ffd241
v2.0.0-beta.44
2022-08-20 09:58:18 +10:00
Lea Anthony
ff52d4d5f0
Fix: tutorial.mdx styling
2022-08-20 09:05:30 +10:00
Giovanni Palma
c1c950e98c
Text outside style's brackets ( #1765 )
...
I deleted some text that was written outside the img tag
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-20 09:04:08 +10:00
Lea Anthony
2651d5d01a
Fix: Do not generate bindings for OnBeforeClose
2022-08-20 08:59:43 +10:00
stffabi
e353b49784
[docs] Link to general webview2 runtime download page and not to a specific language ( #1764 )
2022-08-18 21:58:21 +10:00
Lea Anthony
9ee3157780
Update website. Show deprecation notice for
2022-08-18 20:55:05 +10:00
Lea Anthony
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
Lea Anthony
a0c4c1ea58
Fix Crowdin screw ups again
2022-08-18 20:30:50 +10:00
Lea Anthony
5e2fd56bc9
Fix: Set file permissions for generated files ( #1763 )
2022-08-18 20:07:18 +10:00
Richard Guay
a93a3a2f60
Adding my ScriptBar program ( #1761 )
...
* Added EmailIt and Modal File Manager
* Added EmailIt and Modal File Manager
* Adding ScriptBar
2022-08-18 18:22:19 +10:00
Maicarons J
1e8ab4b2c1
doc: add react-router to routing.mdx ( #1755 )
2022-08-16 21:15:41 +10:00
allcontributors[bot]
24c45ee488
docs: add Maicarons2022 as a contributor for doc ( #1756 )
...
* docs: update website/src/pages/credits.mdx [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-16 21:15:30 +10:00
Lea Anthony
35aaf096d7
doc: Update licenses
2022-08-15 19:45:09 +10:00
Lea Anthony
35e961df12
doc: fix headers
2022-08-15 08:33:33 +10:00
Lea Anthony
07ec9fc0ec
New translations installation.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony
9167b8b2de
New translations credits.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony
04d19ea0cf
New translations modalfilemanager.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony
ceb747327b
New translations modalfilemanager.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:20 +10:00
Lea Anthony
c501210c1b
New translations modalfilemanager.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
e5c89cc8e1
New translations emailit.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
f437f283bb
New translations emailit.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
1ee1b717f6
New translations emailit.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
76d94fb497
New translations navbar.json (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
1b2eefe2aa
New translations changelog.md (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:19 +10:00
Lea Anthony
534ddf2b14
New translations 2022-02-22-v2-beta3-release-notes.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
b255eb9306
New translations 2022-02-22-v2-beta3-release-notes.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
844149cbe2
New translations 2022-02-22-v2-beta3-release-notes.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
756002eb46
New translations 2021-11-08-v2-beta2-release-notes.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
a791a0c5f2
New translations 2021-11-08-v2-beta2-release-notes.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
3dc681de17
New translations cli.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:18 +10:00
Lea Anthony
68c8bee24e
New translations options.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony
b920e718ab
New translations intro.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony
22f05248f7
New translations options.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony
54d3bf22a3
New translations 2021-11-08-v2-beta2-release-notes.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony
a6c79d559e
New translations 2021-09-27-v2-beta1-release-notes.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:17 +10:00
Lea Anthony
4b2762c356
New translations 2021-09-27-v2-beta1-release-notes.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
80ef3dc3cb
New translations 2021-09-27-v2-beta1-release-notes.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
31ca5ac9ed
New translations options.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
25adfc9f51
New translations project-config.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
61c9c4d685
New translations dialog.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
d5d1fbc591
New translations signing.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:16 +10:00
Lea Anthony
1d857b2980
New translations signing.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
9f45a80523
New translations migrating.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
144f6c906e
New translations ides.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
cdb73a2134
New translations migrating.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
bcaf75851c
New translations signing.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
b25a3c853e
New translations dialog.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:15 +10:00
Lea Anthony
2efab049f0
New translations dialog.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony
102f91ca7b
New translations windows-installer.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony
d1f71a2b20
New translations troubleshooting.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony
f9c8dd1d2d
New translations windows.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony
d7ebb383e6
New translations building.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:14 +10:00
Lea Anthony
ede69f8df9
New translations building.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
226335e566
New translations building.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
86f76f0de6
New translations dynamic-assets.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
81c2e7cbb2
New translations bleeding-edge.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
182a67b805
New translations installation.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
a890f3148c
New translations installation.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
41291b4cb7
New translations installation.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:13 +10:00
Lea Anthony
4d5d212e1b
New translations firstproject.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony
f358fe410f
New translations firstproject.mdx (Russian)
...
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony
8ea167af21
New translations firstproject.mdx (Japanese)
...
[ci skip]
2022-08-13 22:25:12 +10:00
Lea Anthony
75e58d43e8
New translations developing-new-features.mdx (Chinese Simplified)
...
[ci skip]
2022-08-13 22:25:11 +10:00
Lea Anthony
6e85560817
doc: linux workaround for ended event in video tag
2022-08-13 17:04:41 +10:00
Lea Anthony
add21f6411
fix: handling of default folder for windows dialogs
2022-08-13 16:52:35 +10:00
Lea Anthony
4e05b2b8e8
docs: add guide to hide spawned windows
2022-08-13 16:43:04 +10:00
Richard Guay
57e4964a12
Added EmailIt and Modal File Manager ( #1728 )
...
* Added EmailIt and Modal File Manager
* Added EmailIt and Modal File Manager
2022-08-11 21:02:23 +10:00
Valentin Trinqué
cf3c65f0cc
Fix registration of exposed fields ( #1727 )
2022-08-11 08:41:37 +10:00
Lea Anthony
04094ddf19
New Crowdin updates ( #1720 )
2022-08-10 18:41:22 +10:00
Ryo TAGAMI
3f813aeb41
Add Japanese ( #1716 )
...
Co-authored-by: 田上 諒 <tagami@4thapp.jp >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-10 07:26:10 +10:00
Lea Anthony
0e2696f648
Update crowdin config
2022-08-10 07:22:10 +10:00
Lea Anthony
4385fea49b
skip ci on crowdin translations
2022-08-10 07:19:11 +10:00
Lea Anthony
9eea492928
Fixup translations
...
Fixup translations
2022-08-09 21:05:20 +10:00
Lea Anthony
ab37d633ed
New Crowdin updates ( #1719 )
2022-08-09 20:48:29 +10:00
Lea Anthony
a07cbf8685
Update Crowdin configuration file
2022-08-09 20:24:14 +10:00
Lea Anthony
ff86bbc471
Update Crowdin configuration file
2022-08-09 19:47:01 +10:00
Lea Anthony
4e49852bdb
Update crowdin.yml
2022-08-09 19:37:38 +10:00
Ian M. Jones
48cf03cb0d
Fix column widths for doctor command dependencies. ( #1717 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-09 17:54:03 +10:00
Lea Anthony
57c9158551
Chore/tidy up ( #1713 )
...
* Tidy up dev mode output
* Rename `appng` package to `app`
* Remove `crypto`,`parse`,`messagedispatcher`,`servicebus`,`runtime`,`subsystem`,`ffenestri` packages and `.vscode` dir
* Remove misc `fs` functions
* Remove `str` package
* Fix redundant alias
2022-08-09 07:42:11 +10:00
stffabi
c13c4a29f5
[v2, build] Bug fix collecting of output binaries for platforms ( #1715 )
2022-08-09 07:41:26 +10:00
Lea Anthony
ba11e5c6d6
Fix version number
2022-08-08 20:28:38 +10:00
Lea Anthony
62526a3e2b
Update release.go to auto-patch paths
2022-08-08 20:26:06 +10:00
Lea Anthony
fb7f84a033
docs fix
2022-08-08 20:11:39 +10:00
Lea Anthony
1955570264
v2.0.0-beta.43
2022-08-08 20:08:32 +10:00
Lea Anthony
d86daaa211
Allow frameless window to be miniturisable ( #1705 )
2022-08-08 17:28:11 +10:00
Lea Anthony
b6dee773c5
Attempted fix for both drag and doubleclick ( #1704 )
...
* Attempted fix for both drag and doubleclick
* Shameful hack for windows doubleclick events
* Handle end of drag
* Remove dbClickInterval
2022-08-08 17:27:23 +10:00
stffabi
833b6bdbb8
Merge pull request #1711
...
* [v2, dev] Improve error message for auto dev server discovery without…
2022-08-08 17:25:36 +10:00
stffabi
501f7a129e
[v2, dev] Build frontend only before starting the dev watcher command ( #1694 )
...
* [v2, dev] Improve logging of dev watcher command during stop
* [v2, dev] Build frontend only before starting the dev watcher command
Breaking Change: Ignore flags take precedence over Force flag.
2022-08-05 20:01:47 +10:00
Lea Anthony
0bb1c0202b
Update troubleshooting.mdx
2022-08-04 18:32:41 +10:00
LGiki
b33211495e
Change frontend:dev to frontend:dev:build ( #1691 )
2022-08-03 21:19:06 +10:00
Lea Anthony
baff28bb20
Bugfix/linux warnings ( #1656 )
...
* Use scaling when setting min/max window
* Fix compile issue. Add debug
* Fix scaling issue
* Fix window widget warnings & shutdown issue. Remove debug lines for linux
* Update dev build with shutdown fix
2022-08-03 21:17:38 +10:00
stffabi
42ef125fb4
[v2, build] gcflags don't need to be quoted ( #1689 )
...
This seemed to work for Go < 1.19 but since 1.19 this gives
an error.
2022-08-03 17:15:56 +10:00
LGiki
568015972a
Add frontend:dev:install configuration ( #1666 )
...
* Add frontend:dev:install configuration
* When building the frontend in dev mode, use `frontend:dev:install` (if it has been defined) to install the dependencies
* Simplified logic for determining installation command
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-08-03 17:15:22 +10:00
Lea Anthony
224f7c0c56
Move SetMin/Max calls to main thread ( #1684 )
...
* Move SetMin/MAx calls to main thread
* Move setsize back to original location
* Remove debug
2022-08-02 06:51:20 +10:00
Lea Anthony
6154bdac90
Add wails generate module to docs.
2022-08-01 20:11:49 +10:00
Lea Anthony
e9fc5c9d5c
Add support for retrieving the release notes from Github. ( #1679 )
...
* New command `show`. Adds support for retrieving the release notes from Github. Shown automatically after update.
* Improve code
* Don't show release notes by default, but show how to view them
* Add version flag for release notes
* Escape path
2022-08-01 20:05:05 +10:00
Sam Hennessy
cf985cacee
Update application-development.mdx ( #1682 )
2022-08-01 18:59:40 +10:00
stffabi
3d24a9b4c4
[v2, darwin] Assign a unique requestId to every WKWebView request ( #1681 )
...
This makes sure we always use the correct WKURLSchemeTask during
processURLResponse. Only using the URL is not unique enough and
might result in pending requests if two requests with the same URL
are getting processed.
2022-08-01 18:55:25 +10:00
Lea Anthony
d5574ba9d7
Improve colour scheme for light mode terminals
2022-07-31 09:15:20 +10:00
Lea Anthony
c58071be92
Improve template README
2022-07-30 12:31:19 +10:00
Lea Anthony
57f506fa66
Better "context is nil" errors
2022-07-30 09:20:18 +10:00
stffabi
de36477ddc
[v2, darwin] Use kern.osversion for os id in doctor ( #1673 )
...
It seems like kern.osrevision is always 199506 since several years
and kern.osversion maps to the official documented build id.
Example: MacOS 12.5 with ID 21G72
2022-07-29 05:43:48 +10:00
hiroki yagi
a224236b22
add wails-sveltekit-template ( #1671 )
2022-07-28 17:53:25 +10:00
stffabi
53e875d96f
[v2, darwin] Make sure to copy the uri during processURLRequest ( #1668 )
...
There's no guarantee that the pointer is still valid when
processURLRequest is finished. So we might end up with an
invalid pointer when the request is asynchronously processed.
2022-07-28 08:56:11 +02:00
Lea Anthony
17b17558e6
Update events.mdx
2022-07-28 05:20:19 +10:00
Lea Anthony
a229e04e3e
Windows dialogs - Handle scenario when window is not visible yet. ( #1662 )
...
* Handle scenario when window is not visible yet.
* Handle scenario when window is not visible yet for all dialogs
2022-07-27 19:38:56 +10:00
stffabi
229d36207c
[v2] Fix formatting of some error messages ( #1665 )
2022-07-27 19:20:30 +10:00
Lea Anthony
b9882eabe2
Update sponsors
2022-07-26 20:50:34 +10:00
Lea Anthony
6e0c2f7f79
Update Crowdin configuration file
2022-07-26 08:50:04 +10:00
Lea Anthony
8e21061e78
Remove debug info for linux
2022-07-26 08:29:00 +10:00
Lea Anthony
87b1d1d2aa
Updated changelog
2022-07-25 22:15:30 +10:00
Lea Anthony
6a474cec53
v2.0.0-beta.42
2022-07-25 22:13:25 +10:00
Lea Anthony
59cfe88628
v2.0.0-beta.41.2
2022-07-25 22:09:07 +10:00
Lea Anthony
e68b419cc8
Update changelog and version
2022-07-25 22:06:21 +10:00
stffabi
11d50c32bd
[dev] Ignore empty install command, we also do ignore it during the build step ( #1651 )
...
Otherwise we can't use `wails dev` for projects where `wails build` works, e.g. on the plain template.
2022-07-25 22:03:39 +10:00
Lea Anthony
a0b06c4700
Bugfix/devwatcher error ( #1650 )
...
* Fix error logging
* Fix building frontend on initial run of wails dev
2022-07-25 21:47:45 +10:00
Lea Anthony
7ea6f6d28e
Fix BackgroundColour documentation. Update changelog. Move contributors into website. Create changelog link.
2022-07-25 20:11:04 +10:00
Antonio Cheong
63b47cc852
Generalize manual compile steps ( #1644 )
...
`go build -tags desktop,production -ldflags "-w -s -H windowsgui"` returns an error on MacOS/Linux.
It is referenced in Wails CLI that manually only `-w -s` are passed by default.
2022-07-24 22:12:45 +10:00
Lea Anthony
ebb76d85ed
Update deprecation notice
2022-07-24 20:49:16 +10:00
Lea Anthony
8f431aa314
Add deprecation notice
2022-07-24 20:47:10 +10:00
Lea Anthony
cf01d7f2f7
Update credits
2022-07-24 20:43:23 +10:00
Lea Anthony
a43c077423
v2.0.0-beta.40
2022-07-24 20:33:23 +10:00
Lea Anthony
0f7bd65815
Update Svelte to Vite 3 ( #1643 )
...
Updates to svelte template.
Refactor url detector to strip ANSI codes at point of source
Ignore frontend if external dev server used.
[AssetServer] WebSockets can always directly be forwarded to the handler
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-07-24 20:20:02 +10:00
Lea Anthony
7b656c49c2
Add -s support for wails dev ( #1632 )
...
* Add -s support for wails dev
* Ignore frontend if external dev server used.
2022-07-24 19:19:48 +10:00
Lea Anthony
ae756a8409
Use scaling when setting min/max window ( #1557 )
...
* Use scaling when setting min/max window
* Fix compile issue. Add debug
* Fix scaling issue
2022-07-23 17:15:22 +10:00
Antonio Cheong
f3516d0810
Deprecate Fullscreen appoption ( #1640 )
...
Add comments and notes to recommend WindowStartState: options.Fullscreen instead
2022-07-23 17:12:45 +10:00
allcontributors[bot]
f0b8ab2fb8
docs: add MyNameIsAres as a contributor for doc ( #1638 )
...
* docs: update README.md [skip ci]
* docs: update README.zh-Hans.md [skip ci]
* docs: update website/src/pages/credits.mdx [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-23 16:52:53 +10:00
MyNameIsAres
fad453da9c
📝 Fixed typo in documentation page howdoesitwork ( #1636 )
2022-07-23 10:54:35 +10:00
Lea Anthony
5a3d45b535
Override platform with GOOS and GOARCH ( #1618 )
...
* Override platform with GOOS and GOARCH
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Only use GOOS and GOARCH env vars for default target
* Update docs. Add dryrun flag for testing
* Update v2/cmd/wails/internal/commands/build/build.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Fix scenario where no arch specified
* Fixed banner
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-07-21 21:25:57 +10:00
Misite Bao
ecdda0154f
docs: translate and correct documents ( #1525 )
...
* feat(website): write english translations
* docs(website): delete unnecessary files
* feat(website): update term translations
* docs(website): add Chinese documents
* chore(crowdin): update crowdin config
* docs(filename): keep the new document filename consistent with the old filename style
* chore: add documentation issue template
2022-07-21 20:51:48 +10:00
dependabot[bot]
b9a62b0224
Bump terser from 5.12.0 to 5.14.2 in /website ( #1627 )
...
Bumps [terser](https://github.com/terser/terser ) from 5.12.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 07:49:09 +10:00
dependabot[bot]
d945e02f62
Bump terser from 4.8.0 to 4.8.1 in /runtime/js ( #1625 )
...
Bumps [terser](https://github.com/terser/terser ) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 07:41:43 +10:00
Lea Anthony
9516a81e5d
Update Crowdin configuration file
2022-07-20 23:41:57 +10:00
Lea Anthony
c0800e362d
Update Crowdin configuration file
2022-07-20 23:36:21 +10:00
Lea Anthony
73de035915
Update Crowdin configuration file
2022-07-20 23:27:05 +10:00
Lea Anthony
c9a7d3f520
Fix container size ( #1616 )
2022-07-20 21:28:53 +10:00
Lea Anthony
29912785fa
Add Show() and Hide() to runtime to show/hide application ( #1599 )
...
* Add Show() and Hide() to runtime to show/hide application
* Fix devserver
* Update API docs
2022-07-20 20:59:49 +10:00
Lea Anthony
b21a92ecdb
Install dev dependencies before starting dev mode ( #1615 )
2022-07-20 20:52:35 +10:00
stffabi
1f62b5773d
[v2] Fix plain template ( #1609 )
...
* [template] Add missing main.go file to plain template
* [dev] If wails could not be find in go.mod output a gracefull error message
2022-07-20 08:45:48 +10:00
Lea Anthony
848eee5a7c
v2.0.0-beta.39.2
2022-07-20 07:23:25 +10:00
Lea Anthony
461d0c4448
Add compatibility for Go1.17 ( #1605 )
2022-07-20 07:10:05 +10:00
Antonio
41126759cf
Update example for macOS Menu ( #1600 )
...
* Update example for macOS compatibility
Reference https://github.com/wailsapp/wails/issues/1588
* Add comments, remove duplicates
2022-07-20 05:32:31 +10:00
Lea Anthony
072c56da0d
Fix Varly link
2022-07-19 23:37:02 +10:00
Lea Anthony
b6713d4ce0
Fix Varly link
2022-07-19 23:35:51 +10:00
Lea Anthony
eea519224e
Fix docs again!
2022-07-19 21:51:37 +10:00
Lea Anthony
e9ae3e7655
Docs FTLOG
2022-07-19 21:38:31 +10:00
Lea Anthony
4f7c94e380
Fix docs for good
2022-07-19 21:33:05 +10:00
Lea Anthony
6effdf3fa8
fix docs again
...
(cherry picked from commit 0a9ae0dff3 )
2022-07-19 21:07:48 +10:00
Lea Anthony
f7976a5c85
v2.0.0-beta.39
2022-07-19 20:58:11 +10:00
Lea Anthony
1c1eb89a53
Update sponsors. Improve website for mobile.
2022-07-19 18:53:10 +10:00
Lea Anthony
ab2a6f1d2d
use secondary button
2022-07-19 07:56:25 +10:00
Lea Anthony
14a4a05fc5
Docs/better homepage ( #1591 )
...
* Better carousel width
* Learn more button
* Learn more button
* Fix button/width
* Update introduction
* Fix outline colour
* remove custom css
* remove default css
2022-07-19 07:38:23 +10:00
stffabi
1247c8aa28
[windows] Fix stack corruption when using ICoreWebView2HttpHeadersCollectionIterator ( #1589 )
...
The API expects a `BOOL *` with `typedef int BOOL` therefore
we need to use a `int32` on the stack.
2022-07-18 18:57:30 +10:00
Lea Anthony
af1c530442
Remove usage of unsafe.Pointer in winc ( #1556 )
...
* Remove usage of unsafe.Pointer
* [windows] Remove MakeIntResource and add overloads for Load functions
* Fix `EnumProc` race condition.
* Refactor `EnumDisplayMonitors` to use `unsafe.Pointer` instead of `uintptr`
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-07-18 18:22:46 +10:00
Antonio
463f5b3cb7
Add troubleshooting for Not Found error ( #1586 )
...
Issues with Vite's optimizer
2022-07-18 18:20:14 +10:00
Lea Anthony
f46e825d24
Add pre-build hooks. Print command output when verbosity flag set. ( #1578 )
...
* Add pre-build hooks. Print command output when verbosity flag set.
* Refactor build hooks
2022-07-17 22:08:55 +10:00
Lea Anthony
8e43206ae5
Add restic-browser to showcase
2022-07-17 20:04:28 +10:00
Lea Anthony
ee988dfb9e
Update runtime
2022-07-16 12:37:56 +10:00
skamensky
04d35410de
Expose screen dimensions ( #1519 )
...
* get dimensions working for linux
* Cleaning up some GTK code
I was getting the following errors due to some bad casts.
Gdk-CRITICAL **: 18:58:51.943: gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed
Gdk-CRITICAL **: 18:58:51.943: gdk_display_get_monitor_at_window: assertion 'GDK_IS_DISPLAY (display)' failed
This commit fixes these errors
* Adding Screen namespace along with linux implementation
* moving ScreenGetAll into a more appropriate place
* Fixing typescript definition mistake, documentation, ordering of functions, and formatting
* add ScreenGetAll to more templates
* moving screen into its own javascript file
* fixing bug where screen objects are not returned from the runtime function
* rebuilding frontend wrapper package
* adding windows implementation of ScreenGetAll
* adding screen get all implementation for darwin
* reverting a change that is unrelated to the work on expose-dimensions
* removing duplicate comparison
* changing GetNthScreen in screen API on macos
To use frame instead of visibleframe to keep into account the space the the dock takes up
We want to include that space in the calculation in order to keep the sizes of screens consistent across platforms
* Correcting screen jsdoc
It used to say it returned a single screen object. Now it says that it returns an array of screen objects
* Fixing typo in function name
* reverting pointless spacing change
* reverting pointless spacing change
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: shmuel.kamensky <shmuel.kamensky@shutterfly.com >
2022-07-16 12:33:37 +10:00
Lea Anthony
6579cc3ce7
Fix all contributors section
2022-07-16 12:25:58 +10:00
Lea Anthony
aea482c221
Fix all contributors section
2022-07-16 12:11:18 +10:00
Lea Anthony
29a059a20f
Update all contributors section ( #1575 )
2022-07-16 12:07:36 +10:00
Lea Anthony
a098d3a071
Update all contributors section
2022-07-16 10:29:53 +10:00
Lea Anthony
c3f1f626f9
Fix badge
2022-07-16 10:22:38 +10:00
allcontributors[bot]
984dcda775
docs: add skamensky as a contributor for code, ideas, doc ( #1574 )
...
* docs: update README.md [skip ci]
* docs: create .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-16 10:20:42 +10:00
Lea Anthony
1121991e31
Add all contributors section
2022-07-16 10:18:28 +10:00
dependabot[bot]
60e4127b24
Bump svelte from 3.42.5 to 3.49.0 in /v2/internal/frontend/runtime ( #1573 )
...
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.42.5 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.5...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 03:58:15 +10:00
dependabot[bot]
db7f24ff93
Bump svelte from 3.42.2 to 3.49.0 in /v2/internal/frontend/runtime/dev ( #1572 )
...
Bumps [svelte](https://github.com/sveltejs/svelte ) from 3.42.2 to 3.49.0.
- [Release notes](https://github.com/sveltejs/svelte/releases )
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sveltejs/svelte/compare/v3.42.2...v3.49.0 )
---
updated-dependencies:
- dependency-name: svelte
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-16 03:58:05 +10:00
Lea Anthony
743d7cc4dd
Add stargazers
2022-07-15 17:19:01 +10:00
Lea Anthony
dedd2864f0
Update sponsors
2022-07-14 22:49:36 +10:00
Lea Anthony
12e6445a30
Fix loglevel for wails build -debug
2022-07-14 22:40:27 +10:00
Lea Anthony
931913a1d3
Update mouse-buttons.mdx
2022-07-14 22:27:48 +10:00
Lea Anthony
5987f17cca
Check for line length when scanning for local devserver url ( #1566 )
2022-07-14 22:22:26 +10:00
Lea Anthony
f068c33dcf
Add support for production log levels ( #1555 )
2022-07-14 21:45:13 +10:00
Lea Anthony
77db50a76a
Add mouse buttons guide
2022-07-14 21:35:21 +10:00
Lea Anthony
3ecd72d6c9
Add navigation from index.html troubleshooting guide
2022-07-14 21:13:02 +10:00
Lea Anthony
69016c6c6f
Fix OnBeforeClose code for Mac ( #1558 )
...
* Fix OnBeforeClose code for Mac
* Fix OnBeforeClose for linux
2022-07-14 21:04:45 +10:00
Ian M. Jones
82cc5498f1
Add nixpkgs support to doctor command. ( #1551 )
...
* Dependancy => Dependency typo fix.
* Add Nixpkgs support to doctor command.
* Add mention of nixpkgs to linux distro support doc.
2022-07-13 07:29:41 +10:00
Lea Anthony
51a7630cd7
Fix dynamic asset image
2022-07-12 21:45:37 +10:00
Lea Anthony
1dec40db33
Feature/auto devserver port ( #1547 )
...
* Support "auto" devserverurl
2022-07-12 21:41:41 +10:00
Lea Anthony
d1ae16ad3c
Add guide on dynamic assets
2022-07-12 21:38:18 +10:00
Ian M. Jones
095ef5ab64
Fix checking for installed apt package in none English session. ( #1548 )
2022-07-12 07:07:01 +10:00
Lea Anthony
1cbc34eff8
Fixes #1546
2022-07-11 20:56:05 +10:00
Lea Anthony
c82683babf
Update tutorial
2022-07-11 20:50:19 +10:00
Lea Anthony
d4662bd797
Support Maps in TS conversion ( #1435 )
2022-07-10 20:54:49 +10:00
Lea Anthony
55ec688331
Add helloworld tutorial
2022-07-10 15:07:42 +10:00
Lea Anthony
7a63464997
Update vscode template ( #1398 )
2022-07-08 20:33:49 +10:00
Lea Anthony
bf2d83d939
Change: Order of generated bindings now consistent
...
Closes #1531
2022-07-08 20:18:31 +10:00
Lea Anthony
1cd31573a9
change: improve cli output for wails update
...
closes #1528
2022-07-08 19:53:13 +10:00
Lea Anthony
39cebffa87
Fix: use correct json value for buildtype
2022-07-08 10:58:38 +10:00
Ian M. Jones
f4b4e4cdb8
Allow -appargs flag to pass flags to binary. ( #1534 )
2022-07-06 19:25:28 +10:00
Lea Anthony
73f5cc3b92
Update issue template with links
2022-07-05 08:50:05 +10:00
Lea Anthony
c48ad9be67
doc: white screen fix for Mac. Closes #1508
2022-07-05 08:44:26 +10:00
Lea Anthony
4726b72708
feature: Add -windowsconsole flag
2022-07-04 22:52:50 +10:00
Lea Anthony
4c312b155d
[docs] Update -debug flag
2022-07-04 22:33:03 +10:00
Lea Anthony
cd35536a79
[linux] Fix SetBackgroundColour
2022-07-04 22:29:51 +10:00
Lea Anthony
91d6c23c71
Updated contribution guide
2022-07-03 15:37:21 +10:00
Lea Anthony
59f84b8905
Development -> Contributing
2022-07-03 14:52:37 +10:00
Lea Anthony
a1a06a6198
Initial development guides
2022-07-03 12:06:35 +10:00
Lea Anthony
5292721517
Update Sponsors
2022-07-03 10:19:15 +10:00
stffabi
41d1bf3d10
[v2] Improvements to the dev command ( #1510 )
...
* [v2, darwin] Fix nullreference exception when dev watcher failed to start and the user stopped wails dev with ctrl-c
* [v2] Improve starting of dev watcher command
Wails dev now also fails if the dev watcher could not be started. Since
the dev watcher is used to start e.g. vite to serve the frontend, it does
not make much sense to let Wails dev be running if the dev
watcher failed to start.
* [v2] Improve killing and cleanup of debug binary
- Make sure to kill the debug process in all cases even if an error occured.
- Make sure to kill the last started binary process
2022-06-30 20:13:06 +10:00
Lea Anthony
3e42d2da05
Rename WindowSetRGBA -> WindowSetBackgroundColour ( #1506 )
...
* Rename WindowSetRGBA -> WindowSetBackgroundColour
* Fix Typos
2022-06-29 22:31:49 +10:00
Lea Anthony
7141c972fd
Move WindowGet* to main thread ( #1464 )
2022-06-29 20:07:16 +10:00
Lea Anthony
7cc3652a39
Updated docs. Closes #1501
2022-06-29 08:08:12 +10:00
Lea Anthony
95082336cd
changelog + doc fix
2022-06-27 21:09:07 +10:00
NYSSEN Michaël
b2cec41fbf
Fix lit-ts template ( #1494 )
...
* Fix lit-ts template
* Fixing generate Template
* Remove bad null check
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-06-27 20:56:18 +10:00
Lea Anthony
66f79c2e51
v2.0.0-beta.38 + release script
2022-06-27 20:41:09 +10:00
Lea Anthony
f8e6fa4bf3
Regenerate templates
2022-06-27 18:09:25 +10:00
Tom
d9888ce6af
Chore/react 18 create root ( #1489 )
...
* chore: use createRoot for react-ts
* chore: use createRoot for react-js
* fix: quotes
* fix: remove semi
* chore: update react templates to use createRoot instead of ReactDOM.render
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-06-27 18:00:04 +10:00
Lea Anthony
0531645377
Better signal handling ( #1488 )
...
* Better signal handling
* Remove waitgroup
2022-06-25 09:26:17 +10:00
Sidharth Rathi
c22f59adb9
Update templates.mdx ( #1492 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-06-25 09:21:02 +10:00
Nan0
2065600096
Feature: set browser path ( #1448 )
...
* Added option to specify webview2 path
* Added `manual` webview strategy
* Update documentation
* Fixed build with manual tag
* Check for browser directory existence
* Added version check for manually specified webview, removed fallback for installed webview in manual strategy
* Update WebviewBrowserPath documentation
* Replaced deprecated StringToUTF16Ptr
* Return on error
* Removed manual strategy, return error in wv2installer for fixed runtime
* Removed manual strategy from CLI
2022-06-25 07:49:00 +10:00
stffabi
c61ce1e2de
[v2, windows] Make SetBackgroundColour compatible for windows/386 ( #1493 )
...
* [v2, windows] Remove duplicate SetBackgroundColour
* [v2, windows] Make SetBackgroundColour compatible for windows/386
2022-06-25 06:46:23 +10:00
Lea Anthony
16581ceff9
Regenerate templates to use BackgroundColour
2022-06-23 20:30:18 +10:00
Lea Anthony
beb909fc0f
Update README.md
2022-06-22 21:51:21 +10:00
Lea Anthony
5cddf8864e
Add roadmap to docs
2022-06-22 21:39:40 +10:00
Lea Anthony
e504d1124a
Fix AlwaysOnTop code for Mac
2022-06-22 21:36:57 +10:00
dependabot[bot]
91afa396ba
Bump shell-quote from 1.7.2 to 1.7.3 in /v2/internal/frontend/runtime ( #1485 )
...
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 20:56:16 +10:00
dependabot[bot]
08eee061ab
Bump shell-quote in /v2/internal/frontend/runtime/dev ( #1486 )
...
Bumps [shell-quote](https://github.com/substack/node-shell-quote ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/substack/node-shell-quote/releases )
- [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md )
- [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-22 20:56:01 +10:00
chenxiao
072929689c
feature: add runtime func WindowSetAlwaysOnTop ( #1442 )
...
* feature: add runtime func WindowSetAlwaysOnTop
* add runtime WindowSetUnalwaysOnTop
* add JavaScript runtime method , docs update
* WindowSetAlwaysOnTop(b bool)
* Add AlwaysOnTop for MacOS
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-06-22 20:55:02 +10:00
stffabi
72d019cb48
[v2, windows] Pass the correct installationStatus to the webview installation strategy ( #1483 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-06-22 20:50:45 +10:00
Lea Anthony
91ed594049
Update feature request template
2022-06-22 20:46:00 +10:00
stffabi
4493a05fb9
[v2] AssetsHandler remove retry logic in dev mode ( #1479 )
2022-06-22 20:06:20 +10:00
Lea Anthony
f8eac34212
Bugfix: Don't stop if unable to remove temporary bindings build ( #1465 )
2022-06-22 08:40:30 +10:00
Lea Anthony
1687906376
Improve theme change at runtime ( #1473 )
...
* Improve theme change at runtime
* Handle change to dark mode
* Refactor theme calculation
* Ensure theme is updated for WM_ACTIVATE and WM_SETTINGCHANGE events
2022-06-22 08:34:41 +10:00
Lea Anthony
381909696b
[Windows] Add Suspend/Resume callback support ( #1474 )
...
* Add Suspend/Resume callback support
* Fix comment
2022-06-22 06:37:18 +10:00
Lea Anthony
c477100374
Add BackgroundColour and deprecate RGBA ( #1475 )
2022-06-21 19:47:05 +10:00
Lea Anthony
cb169611b1
Set Window Background colour if provided + debounce redraw option ( #1466 )
...
* Set Window Background colour if provided. Added debounce option for Webview2 redraw on resize
* [windows] Workaround resize flickering in frameless mode
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-06-20 17:47:13 +10:00
Lea Anthony
4dd1be5252
Update sponsors
2022-06-19 13:38:25 +10:00
Lea Anthony
a7f1ea21ef
Bugfix: Better support for showing window
2022-06-19 13:32:48 +10:00
Lea Anthony
e4f2bfe699
Bugfix: Windows start maximised
...
Fixes #1462
2022-06-18 16:21:32 +10:00
Lea Anthony
9bd765d2c8
Update README.md
2022-06-18 15:33:34 +10:00
Lea Anthony
d77c556c4e
Update Sponsors
2022-06-18 15:31:29 +10:00
Abtin
9a01c757bd
Fix apt command syntax ( #1458 ) ( #1461 )
2022-06-18 09:26:22 +10:00
Andreas Wenk
41051e8848
fix the url to surge ( #1460 )
...
fix the url to surge in the docs
2022-06-18 09:24:19 +10:00
stffabi
884773a218
[v2, windows] Fix WebView2 minimum runtime version check ( #1456 )
...
* [v2, windows] CompareBrowserVersions needs a int32 pointer
Otherwise 4294967295 will be returned instead of -1 and the
minimum version check can't detect an older version.
So an older version than the minimum might be used and will
result in AccessViolationExceptions.
* [v2, windows] Use the correct minimum runtime version for SDK 1.0.992.28
The Webview2Loader.dll are already at version 1.0.992.28 for all platforms.
2022-06-16 18:43:19 +10:00
Luken
1e54eb2eaf
Fix small typo in docs ( #1449 )
2022-06-13 08:53:49 +10:00
Lea Anthony
cb4ba5bca6
Add Typescript troubleshooting guide
2022-06-12 14:57:45 +10:00
stffabi
664f6a952c
[v2, windows] Unlock OSThread after native calls have been finished ( #1441 )
...
* [v2, windows] Remove unnecessary LockOSThread
Form.Invoke makes sure the call is on the correct thread and does
lock the OSThread during the call.
* [v2, windows] Unlock OSThread after native calls have been finished
This makes sure the OSThread can be reused by other go
routines after a native call has been finished. Otherwise the
OSThread will be destroyed as soon as the goroutine has
finished.
2022-06-08 20:56:07 +10:00
Lea Anthony
fe341741b5
Always use return in wrapped method ( #1410 )
2022-06-06 00:41:44 -10:00
Marcus Crane
cd162918d4
Add showcase entry for October + update homepage carousel entry for October ( #1436 )
...
* Add showcase entry for October
* Update home carousel image for October
2022-06-02 01:59:33 -10:00
Lea Anthony
6a07cbd505
Move go-common-file-dialog into project. Fix Title bug.
2022-06-01 21:00:52 +10:00
stffabi
614f50d5d3
[v2, windows] Load WebView2 loader from embedded only ( #1432 )
2022-05-31 10:00:02 -10:00
Jae-Sung Lee
f292e221f1
Create gitignore when using g option ( #1430 )
...
* Create gitignore when using g option
2022-05-31 20:29:20 +10:00
stffabi
2a0673f99f
[v2, linux] Improve switching to main thread for callbacks ( #1392 )
...
Make sure no pointers to the stack are passed to g_idle_add,
because at the time the callback gets executed on the
main thread, the pointer might be invalid.
Go might have reused the stack or grown the stack and the
pointer is invalid.
The concept used on Windows has been ported to Linux.
2022-05-31 20:28:37 +10:00
Zámbó, Levente
794a8ce19f
feature - support linux/arm ( #1427 )
2022-05-27 19:09:50 -10:00
Zámbó, Levente
f6425a64a6
feature - add race detector to build & dev ( #1426 )
2022-05-27 19:07:39 -10:00
Lea Anthony
b49dce8676
Update Changelog
2022-05-26 17:52:25 -10:00
Lea Anthony
6a88568f0a
v2.0.0-beta.37
2022-05-26 17:45:57 -10:00
Edward Browncross
a10a9e5b36
Add missing className to input in React and Preact templates ( #1419 )
...
* add missing className to input in react and preact templates
* add missing className to input in react and preact assets
2022-05-26 02:56:37 +10:00
刀刀
e7f9e2f267
docs: add macos custom menu EditMenu tips ( #1423 )
...
* docs: add macos custom menu EditMenu tips
On macos platform, if custom the menu, we should append EditMenu to enable Cmd+C,Cmd+V,Cmd+Z... shortcut
2022-05-25 08:49:04 +02:00
yuzu
316a24f6da
update runtime.d.ts & templates ( #1421 )
2022-05-24 21:20:53 +02:00
stffabi
c874e30339
Merge pull request #1413 from mondy/feature/nogen-flag
2022-05-23 10:40:46 +02:00
mondy
043d83e39e
Add nogen flag in cli document.
2022-05-23 09:08:35 +09:00
Blake Bourque
7e64038265
Add blurb on wails generate module ( #1414 )
...
For users who wish to keep the wailsjs directory out of source control, the `wails generate module` command is valuable in a CI environment where wails build does not automatically generate the needed javascript module.
2022-05-23 08:43:18 +10:00
mondy
d4ecaad0e1
Add nogen flag in wails dev command
2022-05-21 14:22:18 +09:00
Lea Anthony
953bc09343
Merge pull request #1400 from wailsapp/feature/native-translucency
...
Initial support for new native translucency in Windows Preview
2022-05-18 18:52:45 +10:00
Lea Anthony
935f6871ab
Merge pull request #1406 from rayshoo/master
...
fix typo bindings.js to ipc.js
2022-05-18 17:38:17 +10:00
rayshoo
0d793124fd
fix typo bindings.js to ipc.js
2022-05-18 15:58:33 +09:00
stffabi
c97e1c50af
[v2, linux] Make sure to execute the menu callbacks on a new goroutine ( #1403 )
...
* Make sure to execute the menu callbacks on a new goroutine
* Fix assertion message when opening file dialogs by passing the correct parent window
2022-05-17 20:45:48 +10:00
Lea Anthony
35b1dfdd2a
Merge pull request #1394 from LGiki/add-template-nextjs
...
Add Next.js template
2022-05-13 20:57:32 +10:00
LGiki
e705c20de9
Add Next.js template
2022-05-13 14:33:07 +08:00
stffabi
ae25b38f9e
Merge pull request #1393 from LGiki/fix-typo-in-docs
2022-05-12 12:52:15 +02:00
LGiki
ec2202765c
fix: typo in docs
2022-05-12 09:50:16 +08:00
Lea Anthony
e0e55e6e76
Better website spacing
2022-05-11 20:18:53 +10:00
Lea Anthony
4d5f31ab84
Merge pull request #1391 from wailsapp/bugfix/typo
...
bugfix: correct typo
2022-05-11 13:09:23 +10:00
Travis McLane
b84fd76e86
bugfix: correct typo
2022-05-10 21:56:19 -05:00
Lea Anthony
55115742c1
fix: TS conversion of interface{}
2022-05-11 08:21:17 +10:00
Lea Anthony
f2f8ed2e99
Merge pull request #1390 from lambdajack/v2-events-fix
...
[v2] Events | fixes #1388
2022-05-10 21:06:53 +10:00
Jack Bizzell
d59bec171e
Changing all occurrences of calls to OnMultiple() inside EventsOn() and EventsOnce() in the frontend definitions, to calls to EventsOnMultiple()
...
OnMultiple is undefined
2022-05-09 20:42:40 +01:00
Lea Anthony
bff0ece017
Merge pull request #1387 from Junkher/patch-1
...
Update events.mdx
2022-05-08 04:16:48 +10:00
Junker
7c0d1019f2
Update events.mdx
...
A little mistake in the arguments of Js EventEmit
2022-05-07 23:12:01 +08:00
Lea Anthony
a3de4577dd
Update tagline
2022-05-07 12:05:30 +10:00
Lea Anthony
4986f9cea5
Fix docs formatting ( #1372 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-05-07 10:36:39 +10:00
Lea Anthony
0f2fc1ab7a
Merge branch 'master' into patch-1
2022-05-07 10:36:02 +10:00
stffabi
5f612301f9
[v2] During wails dev only use reload logic if no AssetsHandler are in use ( #1385 )
...
This slows down every GET request to the AssetsHandler taking 5s
2022-05-07 09:11:07 +10:00
Lea Anthony
84b6273baf
Bugfix/incorrect bindings ( #1383 )
...
* Print struct path
* Better handling of anon structs
2022-05-05 23:07:33 +10:00
Lea Anthony
9c8a3a62da
Update sponsors
2022-05-05 20:53:35 +10:00
Lea Anthony
6224d3aa82
Re-add plain template, Improve stalebot.
2022-05-05 06:53:39 +10:00
stffabi
2d66d2146a
[v2] Improve multi platform builds ( #1373 )
...
- Make sure to reset the default Arch of the build options and not keep the previous one.
- Expand to the full platform in outputBinaries so e.g. `-platform windows` can be used with `-nsis`
2022-05-04 07:27:13 +10:00
Arpit Jain
e5cc18cfc5
Fix docs formatting
2022-05-03 23:21:23 +05:30
Aleksey Polyakov
531d7cfb62
replace OnMultiple with EventsOnMultiple ( #1369 )
2022-05-02 22:10:33 +10:00
Lea Anthony
9c7ef2d47c
v2.0.0-beta.36
2022-05-01 11:10:05 +10:00
Lea Anthony
490388ae8f
Another vue fix
2022-05-01 10:47:09 +10:00
Lea Anthony
fac2a8ba3c
Closes #1357 #1366
2022-05-01 10:41:07 +10:00
Lea Anthony
912d7cf34b
Add startup method to templates by default
2022-05-01 10:19:15 +10:00
Lea Anthony
848ea88207
Update stale.yml
2022-05-01 09:47:43 +10:00
stffabi
22d3f93b52
[v2, darwin] Initialize native variables on stack to prevent segfault ( #1362 )
2022-04-30 06:11:19 +10:00
stffabi
d9120181b7
[v2] Validate devServer property to be of the correct form ( #1359 )
2022-04-29 07:22:45 +10:00
Lea Anthony
0a9ae0dff3
fix docs again
2022-04-27 22:29:25 +10:00
Lea Anthony
3dbe2a0942
Fix docs
2022-04-27 22:13:12 +10:00
Lea Anthony
ac81d5aa3d
v2.0.0-beta.35
2022-04-27 22:01:32 +10:00
Lea Anthony
2e1f758f20
v2.0.0-beta.35
2022-04-27 21:47:11 +10:00
Lea Anthony
41f9c07c88
Fixes #1343
2022-04-27 21:29:54 +10:00
Lea Anthony
a8357a2459
Update templates
2022-04-27 20:53:59 +10:00
Lea Anthony
bd344bf32c
Update runtime.d.ts + regenerate templates
2022-04-27 20:53:24 +10:00
Lea Anthony
ded28cf9c2
Remove redundant dev .js files
2022-04-27 19:26:42 +10:00
Lea Anthony
e7aa74905a
Initial commit ( #1352 )
2022-04-27 19:10:20 +10:00
Lea Anthony
781a0df72e
Fix for TS/JS generation on methods with no returns ( #1356 )
2022-04-27 19:09:55 +10:00
Lontten
8aaa0e0d9d
add a template docs : zh-Hans ( #1354 )
...
add a template with Vite + React + TypeScript
基于 Vite + React + TypeScript 的模板
2022-04-27 07:11:49 +10:00
Lontten
ef8dc44317
add a template with Vite + React + TypeScript ( #1353 )
...
a template with Vite + React + TypeScript
2022-04-26 21:00:26 +10:00
stffabi
524411964f
[v2] WindowReloadApp should use the startURL of the frontend to support reloading when a frontend dev server is used ( #1347 )
2022-04-23 07:09:53 +10:00
Lea Anthony
75ee36f8eb
Update docs regarding TitlebarAppearsTransparent
2022-04-21 08:30:15 +10:00
Lea Anthony
7f3f56663f
Fix: wails dev
2022-04-21 07:40:56 +10:00
Lea Anthony
f6257d3d31
Add Environment and WindowReloadApp calls to runtime. Updated default templates.
2022-04-20 20:28:41 +10:00
Lea Anthony
2e3c90c096
Update runtime.d.ts documentation. Regenerate templates
2022-04-19 21:48:26 +10:00
Lea Anthony
4e9eda8e1f
Fix bug in WindowSet*Theme
2022-04-19 17:44:40 +10:00
Lea Anthony
02fcf738d3
Update runtime wrapper. Update base templates.
2022-04-19 17:43:55 +10:00
Lea Anthony
053f2748d5
Use Algolia Search ( #1339 )
2022-04-18 09:41:56 +10:00
Lea Anthony
ad6a7d5a8c
Fix: Outputfilename in flags now works as it should
2022-04-17 06:59:39 +10:00
Benjamin Thomas
93defccf4d
Add Elm template :) ( #1336 )
2022-04-16 21:50:41 +10:00
dependabot[bot]
5ffc815d34
Bump async from 2.6.3 to 2.6.4 in /website ( #1335 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 14:01:57 +10:00
Lea Anthony
4e03c84fbb
Feature/default templates ( #1334 )
2022-04-15 20:30:10 +10:00
Lea Anthony
7fbae0d333
Fix: event data processing ( #1326 )
2022-04-15 20:26:13 +10:00
Lea Anthony
82806d47b3
Move experimental tag
2022-04-13 07:50:23 +10:00
stffabi
cb2de2ad30
[v2, docs] Add experimental badge for assets handler and fix type definitions ( #1328 )
2022-04-12 22:35:09 +10:00
stffabi
6d09a45a30
[v2] Add support for AssetsHandler ( #1325 )
...
* [website] Fix devserver default value doc
* [v2] Add support for AssetsHandler
AssetsHandler is a http.Handler delegate, which gets called
as a fallback for all Non-GET requests and for GET requests
for which the Assets didn’t find the file.
Known Limitations on Linux:
- All requests are GET requests
- No request headers
- No request body
- No response status code, only StatusOK will be returned
- No response headers
Known Limitations on Windows:
- Request body is leaking memory. Seems to be a bug in
WebView2, investigation angoing.
Most of these limitations on Linux will be fixed in the future with
adding support for Webkit2Gtk 2.36.0+.
* [v2, linux] Add response streaming support
The complete response won’t be held anymore in memory and will
be streamed to WebKit2.
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-04-12 20:18:27 +10:00
Lea Anthony
3fbe4f71c4
Ensure there's a default wailsJS dir
2022-04-12 20:13:05 +10:00
Lea Anthony
56206729ef
Update sponsors
2022-04-12 06:15:56 +10:00
stffabi
c70d93b482
Suppress resizing during minimize of a frameless window ( #1322 )
...
If the window is frameless and we are minimizing, then we need to suppress
the Resize on the WebView2. If we don't do this, restoring does not work as
expected and first restores with some wrong size during the restore animation
and only fully renders when the animation is done.
This highly depends on the content in the WebView.
Possible fix for #1319
2022-04-10 18:45:09 +10:00
Lea Anthony
5f596c7679
Update go.mod
2022-04-10 09:41:44 +10:00
Lea Anthony
ebf4cf13f2
Feature: Add menu helpers
2022-04-09 20:36:48 +10:00
Lea Anthony
f08176079c
Feature: Support double click in drag areas
2022-04-09 10:27:54 +10:00
归位
65a97a668e
If the element adds the data-rails-drag attribute, it can trigger the dbclick event. ( #1317 )
...
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-04-09 10:18:01 +10:00
Lea Anthony
0c244b1ce4
Fix: broken links
2022-04-09 10:11:35 +10:00
Lea Anthony
3b85c75359
Update application-development.mdx
2022-04-09 07:21:08 +10:00
Florent
c3a98b058e
ensure webkit/gtk callbacks run on main thread ( #1320 )
...
prevent close event being propagated when handled in app
closes #1268
closes #1288
2022-04-08 06:42:17 +10:00
Lea Anthony
b94db409dd
Fixes #1315
2022-04-06 21:53:40 +10:00
Lea Anthony
43f8a1f773
fix: blank namespaces, unknown structs
2022-04-06 19:13:10 +10:00
Lea Anthony
dce5fd442f
fix: i18n messages/bug + docs bug.
2022-04-05 21:41:49 +10:00
Lea Anthony
f21c9ba880
docs: update binding sections
2022-04-05 21:30:55 +10:00
Lea Anthony
55855ccc4d
fix: duplicate model generation
2022-04-05 21:30:55 +10:00
Lea Anthony
eb97f53124
Feature: Don't generate models.ts if there are no models.
2022-04-05 21:30:55 +10:00
Misitebao
f192cbd01b
feat(website): convert documents that don't require version management to individual pages ( #1311 )
2022-04-05 19:46:07 +10:00
Lea Anthony
625eca27f6
Feature: TS namespaces
2022-04-05 18:11:56 +10:00
Misitebao
a65a40fb4c
chore: upgrade issue template ( #1312 )
2022-04-05 08:49:11 +10:00
Lea Anthony
2465538448
Fix: TS namespace inference
2022-04-05 08:26:54 +10:00
Lea Anthony
bb2da2f810
Chore: remove debug output
2022-04-04 21:19:36 +10:00
Lea Anthony
6b38f0c68e
Improved TS Generation ( #1310 )
...
Improve TS Generation
2022-04-04 21:01:00 +10:00
Lea Anthony
95b70de01f
chore: add build tags to win32 package
2022-04-04 20:55:25 +10:00
Misitebao
78c6705cc3
feat(website): improve website content ( #1309 )
...
Update Chinese translation
2022-04-04 20:05:54 +10:00
Lea Anthony
8bb3af2282
Refactor TS imports
2022-04-04 07:19:39 +10:00
Ariel
2c8d94ca48
Add missing method declaration ( #1308 )
...
* Add missing method declaration
* Add eventsoff to the wrapper
2022-04-03 22:01:31 +10:00
Ariel
d5a8ee0132
Do not duplicate imports ( #1307 )
...
* Do not duplicate imports
* Fix warning as first element
2022-04-03 20:17:20 +10:00
Lea Anthony
55cec7af17
Fix: Handle struct pointers in new TS generation
2022-04-03 17:58:53 +10:00
Lea Anthony
90fc96b494
Translations docs
2022-04-03 17:47:56 +10:00
Lea Anthony
8e8b88ef48
Translations refactor
2022-04-03 17:22:37 +10:00
Lea Anthony
4a20655b29
Translations + Tidy Up
2022-04-03 17:18:36 +10:00
Lea Anthony
4721949657
Improved bindings generation
2022-04-03 07:31:07 +10:00
Florent
d119fce3c3
remove duplicate mimetype entries ( #1304 )
2022-04-01 20:35:53 +11:00
Lea Anthony
f6cdafa5ff
Bugfix: generate correct model reference in bindings.d.ts
2022-04-01 13:08:56 +11:00
Lea Anthony
7af39e4819
Feature: Go logger "f" equivalents
2022-04-01 12:27:40 +11:00
Lea Anthony
073f8202e5
Fix windows/frontend compile error
2022-04-01 09:59:33 +11:00
Florent
8f860c9ea6
[Feature #1300 ] mime check for bom and comments ( #1302 )
...
* check for BOM and SVG comments
2022-04-01 08:39:54 +11:00
Lea Anthony
f734d26adb
Use wailsapp/mimetype module
2022-04-01 08:21:57 +11:00
Sebastian Bauer
7dd3f96915
[Feature/1149] Dark mode: functions for manually switching theme ( #1291 )
...
* [Feature/1149] Dark mode: functions for manually switching theme
2022-04-01 08:21:37 +11:00
Travis McLane
584f88f727
cleanup Version ( #1303 )
2022-03-31 17:59:23 +11:00
Lea Anthony
2376062008
Update NSIS guide. Backport docs to .34. Fix references. Fix titles.
2022-03-31 12:23:28 +11:00
Lea Anthony
5ead563989
Update NSIS guide
2022-03-31 11:24:35 +11:00
Lea Anthony
f55f965b3d
Update NSIS guide
2022-03-31 10:11:44 +11:00
gardc
a22383df07
added docs for signing and NSIS ( #1301 )
2022-03-31 08:10:34 +11:00
stffabi
65fb42d9e7
[v2] Add support for external frontend dev servers ( #1290 )
...
* [v2] Consolidate AssetServers
* [v2] Support starturl for webview on linux and darwin
* [v2] Add support for frontend DevServer
* [v2] Activate frontend DevServer in svelte template
* [website] Add bleeding edge guide for PRs
* DoNotMerge: Bump Version for testing
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-31 00:40:44 +11:00
Lea Anthony
4cedfdc091
Docs versioning ( #1299 )
...
* Add beta.34 version
* Fix up document links
2022-03-30 23:21:33 +11:00
Misitebao
085d59612b
refactor(website): upgrade site to docusaurus@2.0.0-beta.17 ( #1223 )
...
* refactor(website): Upgrade site to `docusaurus@2.0.0-beta.17`
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-30 21:49:19 +11:00
bearsh
d8bcf7ac70
v2: linux: add icon to linux specific app option and load it during w… ( #1272 )
...
* v2: linux: add icon to linux specific app option and load it during window creation
Signed-off-by: Martin Gysel <me@bearsh.org >
* doc: linux specific option: icon
2022-03-30 18:15:58 +11:00
Florent
ec31d49b59
prevent close event being propagated when handled in app ( #1297 )
...
closes #1288
2022-03-30 18:13:01 +11:00
Lea Anthony
6883337a18
Update headers code
2022-03-29 22:17:41 +11:00
Lea Anthony
3b81986bdd
Fix wails doctor 1.18
2022-03-29 22:13:33 +11:00
Lea Anthony
ec59eff352
Update go-webview. Fix wails doctor
2022-03-29 22:05:56 +11:00
Lea Anthony
b6de689400
Update go-webview
2022-03-29 21:55:34 +11:00
Lea Anthony
1da68cfc7c
Remove unused directories + tidy up
2022-03-29 21:47:26 +11:00
Lea Anthony
a5bf76b30f
Fix up dev. Pull in go-webview and winc
2022-03-29 21:45:16 +11:00
dependabot[bot]
c78ee7e49b
Bump minimist from 1.2.5 to 1.2.6 in /website ( #1287 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-29 21:41:22 +11:00
dependabot[bot]
7749980040
Bump ansi-regex from 4.1.0 to 4.1.1 in /runtime/js ( #1286 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:41:04 +11:00
dependabot[bot]
222deff03c
Bump minimist from 1.2.5 to 1.2.6 in /v2/internal/runtime/js ( #1284 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:40:26 +11:00
dependabot[bot]
6a3e73de3f
Bump node-forge from 1.2.1 to 1.3.0 in /website ( #1282 )
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-29 21:39:38 +11:00
dependabot[bot]
498fa51605
Bump minimist from 1.2.5 to 1.2.6 in /runtime/js ( #1280 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 21:39:12 +11:00
dependabot[bot]
92df5fabba
Bump ajv from 6.12.0 to 6.12.6 in /v2/internal/runtime/js ( #1194 )
...
Bumps [ajv](https://github.com/ajv-validator/ajv ) from 6.12.0 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases )
- [Commits](https://github.com/ajv-validator/ajv/compare/v6.12.0...v6.12.6 )
---
updated-dependencies:
- dependency-name: ajv
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-29 21:38:48 +11:00
dependabot[bot]
983306c13d
Bump prismjs from 1.26.0 to 1.27.0 in /website ( #1191 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-29 21:38:12 +11:00
dependabot[bot]
e403ad8063
Bump follow-redirects from 1.14.7 to 1.14.8 in /website ( #1151 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-29 21:37:45 +11:00
stffabi
1f7b7f5e6c
[v2] Wails doctor add information about wails ( #1294 )
...
Also outputs VCS information if Go 1.18+ has been used
to build wails.
2022-03-29 20:10:33 +11:00
Lea Anthony
48254b73e5
[Feature/1149] Dark mode ( #1281 )
...
* Add Windows version helper
* Initial theme support
* Support custom themes
* Update docs
* Honour HighContrast theme. Remove import "C". Refactor
* Small refactor
* Support inactive theme
* Update Docs
2022-03-27 22:57:45 +11:00
Lea Anthony
2e21f25182
Fix S
2022-03-27 20:47:57 +11:00
Lea Anthony
1f96484e8c
Update features
2022-03-27 20:47:27 +11:00
Lea Anthony
ccbfafd576
Remove v1 Install instructions
2022-03-27 20:41:25 +11:00
Lea Anthony
0053641796
Update Sponsors
2022-03-27 19:51:14 +11:00
Lea Anthony
55f2a24a94
[Mac] Close window immediately on quit
2022-03-26 19:48:34 +11:00
Lea Anthony
2d2ee95c8a
v2.0.0-beta.34
2022-03-26 19:00:20 +11:00
Lea Anthony
47bf92850c
Update bleeding-edge.mdx
2022-03-25 21:02:56 +11:00
Lea Anthony
f98571fae5
Update bleeding-edge.mdx
2022-03-25 21:02:36 +11:00
Lea Anthony
e314c41337
Update WindowStartState for Linux
2022-03-19 11:26:14 +11:00
Lea Anthony
2c65415268
More info in the project template READMEs
2022-03-19 11:02:22 +11:00
Lea Anthony
b002830897
Clarify supported platforms
2022-03-17 21:14:07 +11:00
Lea Anthony
fcf52abec8
Fix CGO_LDFLAGS
2022-03-16 21:44:34 +11:00
Lea Anthony
8e3cb27bfe
#1265 Support CGO_LDFLAGS
2022-03-16 21:40:58 +11:00
Lea Anthony
78212603bc
#1265 Support debug IDE config
2022-03-16 21:13:56 +11:00
Lea Anthony
1996e8b2ba
Fix compile issue
2022-03-16 08:41:34 +11:00
Lea Anthony
d7395fc56a
Check system for user installed Linux dependencies ( #1180 )
...
* [linux] Fix discovery of other deps
* Update v2/internal/system/system_linux.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Try setting locale before running apt
* Use LC_ALL
* Remove continue
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-03-15 20:25:23 +11:00
Lea Anthony
a278c9e164
Try to focus window when Show() is called. ( #1212 )
...
* Try to focus window when Show() is called.
* Ensure Focus is regained by Webview2 when tabbing
* Run restore code on main thread
2022-03-15 20:16:38 +11:00
Lea Anthony
60c6dce07d
Ensure Focus is regained by Webview2 when tabbing ( #1257 )
2022-03-15 20:15:21 +11:00
Misitebao
3972093ede
docs: sync documents ( #1260 )
2022-03-15 20:13:32 +11:00
Stefanos Papadakis
e78557ec24
Windows switch scheme: https -> http ( #1255 )
2022-03-15 05:58:43 +11:00
stffabi
ea4d479be3
[v2] Use os.Args[0] for self starting wails ( #1258 )
...
This removes the dependency of wails being in the PATH
2022-03-15 05:55:13 +11:00
Lea Anthony
15e5eb67f9
Output error message in runCommand
2022-03-14 22:53:46 +11:00
Lea Anthony
8aea6a3bfc
Update domReady comment in templates + website
2022-03-14 22:48:32 +11:00
Lea Anthony
9c5600d8f3
Ensure default icon is generated regardless of icon.ico availability
2022-03-14 22:35:21 +11:00
Lea Anthony
97b24a51a1
Show extension by default ( #1228 )
2022-03-14 22:05:33 +11:00
Lea Anthony
106ff03f2e
Add reference to community templates
2022-03-14 20:54:11 +11:00
Florent
d9e5cce2b2
add support for 'DomReady' callback on linux ( #1249 )
...
* add support for 'DomReady' callback on linux
cosmetic: use bodyLen instead of len() in processRequest()
* reformat webViewLoadChanged() for consistency
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-14 18:42:38 +11:00
Lea Anthony
daad8437c2
Update troubleshooting guide
2022-03-13 20:36:40 +11:00
Lea Anthony
8037eab895
Ignore .git dirs in dev
2022-03-13 10:19:25 +11:00
Lea Anthony
09756b5150
Initial commit
2022-03-13 10:15:57 +11:00
BillBuilt
a52d68438b
Fix, or at least a workaround, for ( #1232 ) ( #1247 )
2022-03-12 17:30:25 +11:00
fengweiqiang
f4d1d02ded
Build added win32 compatibility ( #1238 )
2022-03-12 17:29:25 +11:00
Lea Anthony
3d12935e2e
Fix memory leak in ExecJS for Mac ( #1230 )
2022-03-11 23:43:51 +11:00
Ian M. Jones
64480ff1ab
Ensure Linux IsFullScreen uses GDK_WINDOW_STATE_FULLSCREEN bitmask appropriately. ( #1245 )
2022-03-11 15:41:28 +11:00
stffabi
abe8ba9266
[v2, windows] Fix maximised start state ( #1243 )
2022-03-11 06:26:59 +11:00
Lea Anthony
1048782eb4
Initial commit ( #1241 )
2022-03-10 21:20:41 +11:00
Florent
622c4adad6
ensure binary resources can be served ( #1240 )
...
* ensure binary resources can be served
fixes #1235
* use free instead of g_free
check that C.malloc does not fail before using C.memcpy
2022-03-10 21:17:24 +11:00
Lea Anthony
ae6da05e9d
Feature/1175 default index page ( #1229 )
...
* Initial commit
* Retry index.html every 500ms for 5s before defaulting to the default index page.
* Load all files using the same technique
* Remove reload script
2022-03-09 23:49:27 +11:00
Lea Anthony
ba0b173e02
Use local search ( #1234 )
2022-03-09 22:30:24 +11:00
Ariel
9097c9086b
import models on binding definition ( #1231 )
2022-03-09 07:44:32 +11:00
stffabi
c5c0617c89
[v2, nsis] Seems like / as path separator works only for some directives in a cross platform way ( #1227 )
...
Especially the File directive seems not to work with a `/` on
Windows. Whereas `\` works for all directives and on all platforms.
So the `\` in NSIS can be used also on Linux and MacOS.
2022-03-08 20:35:16 +11:00
Misitebao
d29e01d552
docs: sync documents ( #1224 )
2022-03-08 06:54:40 +11:00
Lea Anthony
122806161b
Output errors in dev mode #1031
2022-03-07 21:12:26 +11:00
Lea Anthony
3a23662a34
Added variadic workaround to troubleshooting guide
2022-03-07 20:08:59 +11:00
Lea Anthony
659cc3ed61
Tidy project init banner
2022-03-07 19:35:31 +11:00
Misitebao
2a096a6ff9
feat(website): optimize website and sync documents ( #1219 )
...
- Optimize the homepage carousel
- Sync documents
- Update style files and images
2022-03-07 19:28:37 +11:00
Lea Anthony
0c09fe4560
Update tagline
2022-03-06 22:31:15 +11:00
Lea Anthony
51dd1361e3
Feature/docs update ( #1218 )
...
* Doc updates
* Add carousel
* Add more images to carousel
* Add search
* Fix CSS
* Cheeky fix for 1px bug
2022-03-06 22:29:26 +11:00
Lea Anthony
a48ea8768f
Update installation.mdx
2022-03-06 22:22:09 +11:00
Lea Anthony
95d34c510e
Run watcher after initial build ( #1216 )
2022-03-06 22:20:50 +11:00
Misitebao
d36e130315
refactor(cli): optimize default templates ( #1214 )
...
* refactor(cli): optimize the template that generates the base template
* refactor: optimize the default vanilla template
* feat(cli): add script to default vanilla template
* refactor(cli): refactor default svelte template and add script
* fix: remove manually added assetdir fields
Manually specified values are removed as the application will automatically infer from embed.FS.
* fix: remove drag attribute within page
* Update v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/README.md
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-03-06 22:00:08 +11:00
Misitebao
7d8f2243ae
feat(website): sync documents and add content ( #1215 )
...
* feat(website): sync documents and add content
- Add a directory to the website
- Update site navigation menu
- Update site tagline(Emphasis on cross-platform)
- Sync the changelog of the latest version to the website
* docs: remove the `appendix` directory
2022-03-06 16:18:02 +11:00
Lea Anthony
27ab3cf4e7
v2.0.0-beta.33
2022-03-05 13:35:34 +11:00
Lea Anthony
31b609dff0
Print friendlier file path when file does not exist
2022-03-05 13:33:24 +11:00
stffabi
fbf75b1d14
[v2, windows] Move assets from file://wails to https://wails.localhost ( #1211 )
...
This should allow web workers to be used
2022-03-05 13:32:28 +11:00
Ian M. Jones
e9aa0d5c5a
Fix fullscreen on linux arm64 ( #1209 )
...
* Fix fatal error on otherwise clean exit.
* Fix race condition while setting title during window creation.
* Fix unexpected signal error when clicking webview should initiate a drag window operation.
* Ensure ExecuteOnMainThread callbacks are removed from the event source list on completion.
* Ensure all ExecuteOnMainThread callbacks use the expected return value on completion.
* Fix potential memory leak when exiting early from startDrag.
* Fix using runtime.WindowFullscreen on Linux ARM64.
2022-03-04 23:07:40 +11:00
Misitebao
cdfd70d3f7
docs: improve and synchronize chinese documents ( #1205 )
2022-03-04 17:59:46 +11:00
Lea Anthony
7287fcc170
Fixes #1208 . Add docs about go.mod version updates in dev mode
2022-03-04 17:56:46 +11:00
Ian M. Jones
c378d935f3
Fix linux unexpected signal errors ( #1200 )
...
* Fix fatal error on otherwise clean exit.
* Fix race condition while setting title during window creation.
* Fix unexpected signal error when clicking webview should initiate a drag window operation.
* Ensure ExecuteOnMainThread callbacks are removed from the event source list on completion.
* Ensure all ExecuteOnMainThread callbacks use the expected return value on completion.
* Fix potential memory leak when exiting early from startDrag.
2022-03-04 17:50:43 +11:00
Lea Anthony
8eae31d865
Fixes #1206 . ERROR level used in Production
2022-03-04 17:46:04 +11:00
Lea Anthony
c7c068ade0
Add Javascriptcore include. #1198
2022-03-02 20:17:30 +11:00
stffabi
b02dbfaddf
[v2] NSIS installer support for Windows ( #1184 )
...
* [v2] Add support for post build hooks
Currently only supports build-level hooks
* [v2] Improve build assets handling and use single source for manifest generation
The manifest asset files are now a go template and data will be
resolved before they are included into the build output.
Breaking Change: Windows manifest file must be named
“wails.exe.manifest” and doesn’t depend on the project name
anymore.
* [v2, windows] NSIS installer generation
2022-03-02 19:44:31 +11:00
stffabi
c63b1f1981
[v2] Consolidate processRequest, improve logging and error handling ( #1158 )
2022-02-28 19:14:03 +11:00
Lea Anthony
944494c4ef
Add troubleshooting guide. #1187
2022-02-28 08:33:18 +11:00
Misitebao
a971751dab
feat(cli): optimized template generation ( #1166 )
...
* feat(cli): update base template configuration
* feat: optimize template project script
(https://github.com/wailsapp/wails/issues/1165 )
2022-02-27 20:40:55 +11:00
Lea Anthony
6ec670129b
Update README.md
2022-02-27 15:51:46 +11:00
Lea Anthony
4506da041a
Update bug_report.md
2022-02-27 15:48:01 +11:00
Lea Anthony
e9962198d0
Update feature_request.md
2022-02-27 15:46:18 +11:00
Misitebao
82cb3b99e5
feat(cli): add version support for remote templates ( #1181 )
...
(https://github.com/wailsapp/wails/issues/925 )
2022-02-26 10:52:56 +11:00
Lea Anthony
dfb3ab0681
Run webview2 bootstrapper as normal user, not administrator
2022-02-26 10:40:18 +11:00
Lea Anthony
5b60fcc8f6
Update menus.mdx
2022-02-26 10:11:05 +11:00
Misitebao
9e08fd668c
docs: update and sync all documents ( #1183 )
...
* docs: update and sync all documents
* docs: sync readme
2022-02-24 22:08:00 +11:00
Lea Anthony
513c1fd981
Add Linux Arch
2022-02-24 06:10:38 +11:00
Lea Anthony
3866da944c
Update Linux Status
2022-02-24 06:09:28 +11:00
Lea Anthony
613a9e3143
Bugfix: Fix potential nil dereference
2022-02-23 20:57:05 +11:00
stffabi
ff8e701793
[v2] Introduce frontend:dev:watcher command ( #1170 )
2022-02-23 20:12:59 +11:00
Lea Anthony
451b0c1e15
Update logo
2022-02-23 19:53:15 +11:00
Lea Anthony
8ce9ee8e41
v2.0.0-beta.32
2022-02-23 07:12:51 +11:00
Lea Anthony
9593ea95f7
[linux] Fix discovery of npm, docker and upx ( #1174 )
2022-02-23 07:11:27 +11:00
Lea Anthony
c872802ced
v2.0.0-beta.31
2022-02-22 21:36:14 +11:00
Lea Anthony
a445db1b7b
Feature/linux v2 beta ( #1171 )
...
* Update docusaurus version
* Add install instructions
* Add Linus Distro Support Page
* Update Linus Distro Support Page
* v2.0.0-beta.30
* image
* update blog
* Update blog
* Remove exp tag
* Update banner
* Update banner
* [linux] Fix warning
2022-02-22 21:35:03 +11:00
Lea Anthony
fff838d7c6
Clarify frontend:dev option. Closes #1169
2022-02-22 19:16:19 +11:00
Misitebao
91934d1f8e
docs: synchronize and optimize documents ( #1167 )
...
* docs: sync chinese documents
* docs: optimize chinese terminology
2022-02-21 20:24:06 +11:00
Lea Anthony
2f7293e25c
Add platform flag to docs
2022-02-20 18:52:41 +11:00
Lea Anthony
18c76602b5
Add platform flag to docs
2022-02-20 18:49:12 +11:00
Lea Anthony
93491eb2eb
Feature/align api ( #1161 )
...
* Fix WindowSetRGBA API
* Change WindowUnFullscreen -> WindowUnfullscreen for consistency
RGBA bugfix
2022-02-19 20:29:55 +11:00
Misitebao
2ded86c369
docs: sync chinese documents ( #1160 )
2022-02-19 09:40:54 +11:00
Lea Anthony
f059c35d9e
Feature: WindowToggleMaximise ( #1159 )
...
* [windows] Add WindowToggleMaximise
* Add mac support
* Update docs
* [linux] Toggle Maximise
2022-02-18 20:28:16 +11:00
Lea Anthony
6e8d65e3aa
[linux] Add stdint.h include
2022-02-17 21:23:24 +11:00
stffabi
a750d2d507
[v2, windows] Invert the frameless border flag and rename it ( #1157 )
...
This is a breaking change for all users of the flag.
2022-02-16 20:28:46 +11:00
stffabi
331e0268a3
[v2, windows] Do not show caption buttons if frameless and translucent+transparency ( #1152 )
2022-02-16 18:53:17 +11:00
Valentin Trinqué
e6424dc8ab
Update icon.ico file mode ( #1154 )
...
* Add os.O_WRONLY to icon.ico to avoid bad file descriptor error
* Wrap errors coming from winres.LoadICO()
If the file exists but is empty, a blunt "Unexpected EOF" is returned, and propagated as is.
This is not super helpful when trying to pin point what's going on.
Wrapping the error helps to locate the problem.
2022-02-16 06:02:45 +11:00
Lea Anthony
f923a431f7
Try to provide help when old xcode tools installed. #1142
2022-02-12 21:12:17 +11:00
Lea Anthony
00db626942
State no support for anonymous structs in binding. Fixes #1142
2022-02-12 20:59:57 +11:00
Lea Anthony
eb0f22b4ee
Fix appicon bug on Mac. Fixes #1143
2022-02-12 20:48:43 +11:00
Lea Anthony
e068e0f2f5
Better platform support
2022-02-10 21:43:04 +11:00
Lea Anthony
771594519f
[mac] Better support for multi-builds
2022-02-10 21:41:40 +11:00
Lea Anthony
ec44ca58f1
Better output for build
2022-02-10 21:25:43 +11:00
Lea Anthony
cb574148eb
Better output for build
2022-02-10 21:24:27 +11:00
Lea Anthony
771efa527f
Don't clean directory on subsequent builds
2022-02-10 21:14:02 +11:00
Lea Anthony
28e31c46c6
Fix output filename for windows builds
2022-02-10 21:11:32 +11:00
Lea Anthony
c2fa4b6103
Support multiple targets for windows
2022-02-10 19:55:04 +11:00
Lea Anthony
99ca6d5e77
[Linux] Restore min/max after fullscreen
2022-02-10 19:55:04 +11:00
Lea Anthony
876b845762
[Windows] Restore min/max after fullscreen
2022-02-10 19:55:04 +11:00
stffabi
e4122ce4d2
[v2, windows] Bump winc ( #1134 )
...
Fix detection if GetDpiForWindow is available
2022-02-08 19:01:38 +11:00
stffabi
7bc51725c0
[v2, windows] Apply suggested window size during DPI changed event ( #1131 )
...
* [v2, windows] Apply suggested window size during DPI changed event
This adjusts the window size if the window is moved from one
monitor to another with a different DPI scaling
* [v2, windows] Do not block processing of messages during frameless drag/resize
* [v2, windows] Bump winc
Improves the HiDPI handling by using newer APIs if available
* [v2, windows] Constrain frameless maximize to MaxWidth/MaxHeight
2022-02-08 07:56:01 +11:00
Lea Anthony
3d02a314b9
[linux] Fix min/max size after fullscreen
2022-02-08 07:04:45 +11:00
Lea Anthony
30a4f47cba
[linux] Fix min/max size
2022-02-08 06:51:52 +11:00
Lea Anthony
668da3a827
[linux] Fix disabling context menu
2022-02-08 06:20:41 +11:00
Lea Anthony
322aad166b
[linux] Fix fullscreen
2022-02-08 05:29:26 +11:00
Lea Anthony
3decd70319
Move more runtime methods to main thread
2022-02-07 20:17:25 +11:00
Lea Anthony
24857ec04b
Only attach logger in debug mode. Fixes #1128
2022-02-07 20:00:26 +11:00
Lea Anthony
a016f39e97
[linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
2022-02-07 08:48:21 +11:00
Lea Anthony
8699bf7521
[linux] Move SetTitle and startDrag to main thread
2022-02-07 08:47:11 +11:00
Lea Anthony
34b303a86f
v2.0.0-beta.30
2022-02-05 10:06:22 +11:00
Travis McLane
e39f3eba44
use path to first index.html file for 'index' ( #1127 )
2022-02-05 07:19:02 +11:00
Lea Anthony
de7f08357c
Fix runtime docs
2022-02-04 23:31:15 +11:00
Lea Anthony
9856d2979f
Add GetEnvironment() - Fixes #1126
2022-02-04 23:30:21 +11:00
Lea Anthony
082af614ff
Add GetEnvironment() - Fixes #1126
2022-02-04 07:52:45 +11:00
Lea Anthony
0c6864c7ed
[windows] Fix pos/getpos calls
2022-02-04 07:45:44 +11:00
Lea Anthony
dd20985952
Fix position runtime ( #1125 )
...
* [linux] Move SetTitle and startDrag to main thread
* [linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
* Fix runtime Window Get/Set Position signatures
* Fix vanilla template keyboard handling
* [windows] Fix pos/getpos calls
2022-02-04 07:26:54 +11:00
Lea Anthony
0971857e7e
Fix position runtime ( #1123 )
...
* [linux] Move SetTitle and startDrag to main thread
* [linux] Move SetPosition, Center, Fullscreen and UnFullscreen to main thread
* Fix runtime Window Get/Set Position signatures
* Fix vanilla template keyboard handling
2022-02-03 21:42:14 +11:00
stffabi
6700a4e3bd
[v2, windows] Bump winc ( #1122 )
...
Contains fixes for #1094 and resize constraining
2022-02-03 17:05:24 +11:00
Lea Anthony
6a5937bd90
[windows] Do not allow maximise via runtime if disableResize is true
2022-02-03 07:31:05 +11:00
Lea Anthony
aa8a8f80f0
Fix logging bug in runtime
2022-02-02 20:42:30 +11:00
Lea Anthony
e17f556c25
[windows] Update frameless border size to 6px
2022-02-01 20:18:57 +11:00
dependabot[bot]
c190aaeddc
Bump shelljs from 0.8.4 to 0.8.5 in /website ( #1076 )
...
Bumps [shelljs](https://github.com/shelljs/shelljs ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases )
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5 )
---
updated-dependencies:
- dependency-name: shelljs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 20:02:29 +11:00
Lea Anthony
4d0b0947d2
Fixes #1070
2022-02-01 19:47:46 +11:00
Lea Anthony
4afbf00e45
Update docusaurus version
2022-02-01 19:43:29 +11:00
Misitebao
cd13a05270
feat(website): optimize and sync websites and documents ( #1110 )
...
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* ensure data doesn't get garbage collected too soon (#1113 )
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* revert: undo lock-file changes
* Feature/v2 linux menus (#1114 )
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes #1108 (#1115 )
* chore(action): add auto sync script (#1109 )
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* ensure data doesn't get garbage collected too soon (#1113 )
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
* Feature/v2 linux menus (#1114 )
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
* Support MenuUpdateApplicationMenu
* Fixes #1108 (#1115 )
* chore(action): add auto sync script (#1109 )
* Support RGBA, fix compilation error
* Fix fullscreen drag
* Ignore setenv error
* feat(website): update dependencies and optimize some terms
* docs: optimize english documents
* docs: sync documents
* chore(website): the website project adds the recommended configuration of the vscode plugin
* revert: undo lock-file changes
* [linux] better error handling
* [linux] Better Go 1.16 support
* [linux] Remove Go based dispatcher
* feat(website): update dependencies and optimize some terms
Co-authored-by: Travis McLane <tmclane@gmail.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-02-01 19:43:03 +11:00
Lea Anthony
db9e0fd0d3
[linux] Remove Go based dispatcher
2022-01-31 21:22:17 +11:00
Lea Anthony
6a10bf4d98
[linux] Better Go 1.16 support
2022-01-31 21:21:48 +11:00
Lea Anthony
a624ee5e35
[linux] better error handling
2022-01-30 21:03:39 +11:00
Lea Anthony
be15644b96
Ignore setenv error
2022-01-29 11:42:17 +11:00
Lea Anthony
f3783c9800
Fix fullscreen drag
2022-01-29 11:41:50 +11:00
Lea Anthony
ac3808f9c3
Support RGBA, fix compilation error
2022-01-29 11:38:25 +11:00
Misitebao
c5fb2b6143
chore(action): add auto sync script ( #1109 )
2022-01-29 10:40:08 +11:00
Lea Anthony
4a89508b50
Fixes #1108 ( #1115 )
2022-01-29 10:21:07 +11:00
Lea Anthony
30deec4224
Support MenuUpdateApplicationMenu
2022-01-29 10:13:29 +11:00
Lea Anthony
642fa42f25
Feature/v2 linux menus ( #1114 )
...
* Render menubar + text menu items
* Support disabled menuitems + callbacks
* Support checkboxes
* Support reusing checkboxes
* Support submenus
* Support Radio menuitems
* Support Menu Accelerators
2022-01-29 07:19:14 +11:00
Travis McLane
e713c439f0
ensure data doesn't get garbage collected too soon ( #1113 )
...
* ensure data doesn't get garbage collected too soon
* Update v2/internal/frontend/desktop/linux/frontend.go
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
Co-authored-by: stffabi <stffabi@users.noreply.github.com >
2022-01-28 07:37:17 +11:00
Travis McLane
ac69577182
remove unused import ( #1107 )
2022-01-27 07:01:29 +11:00
dependabot[bot]
46389d04f0
Bump path-parse from 1.0.6 to 1.0.7 in /v2/internal/runtime/js/runtime ( #1099 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 20:09:27 +11:00
dependabot[bot]
3300a08c87
Bump y18n from 3.2.1 to 3.2.2 in /v2/internal/runtime/js/runtime ( #1101 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
---
updated-dependencies:
- dependency-name: y18n
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 20:09:11 +11:00
dependabot[bot]
1db0ad6298
Bump hosted-git-info in /v2/internal/runtime/js/runtime ( #1100 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
---
updated-dependencies:
- dependency-name: hosted-git-info
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 20:08:56 +11:00
dependabot[bot]
728739ed4c
Bump path-parse in /v2/internal/runtime/js/runtime/src ( #1102 )
...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases )
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7 )
---
updated-dependencies:
- dependency-name: path-parse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-26 20:08:37 +11:00
MikeSchaap
965187a8bb
Updated windows window/frontend to fix issue with html select positioning ( #1082 )
...
* Updated windows window/frontend to fix issue with html select positioning
* Moved notifyParentWindowPositionChanged to the Window struct and moved RegMsgHandler to Run
* Update v2/internal/frontend/desktop/windows/window.go
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
* Moved winc.RegMsgHandler back to old location
* fixed error with merge
Co-authored-by: Lea Anthony <lea.anthony@gmail.com >
2022-01-26 18:48:39 +11:00
Lea Anthony
aa88174c28
Add linux dialog screenshot
2022-01-26 18:36:33 +11:00
Lea Anthony
160b650833
Merge pull request #1089 from wailsapp/feature/fix-linux-dialogs
...
[linux] Fix dialogs
2022-01-26 18:27:20 +11:00
Lea Anthony
c5036187c2
Merge branch 'master' into feature/fix-linux-dialogs
2022-01-26 14:18:12 +11:00
Lea Anthony
736d8b6b04
Update docs
2022-01-26 14:16:36 +11:00
Lea Anthony
7ede3ed08a
[linux] 404 handling
2022-01-26 14:01:31 +11:00
Lea Anthony
bb867832e1
Disable 404 handling for now
2022-01-26 09:55:12 +11:00
Lea Anthony
f3cc4b5ebd
Support message dialog
2022-01-25 16:27:39 -06:00
Lea Anthony
c58252386f
Support default directory, Fixed label, removed TreatPackagesAsDirectories
2022-01-25 16:27:39 -06:00
Travis McLane
a7e516a43d
[linux] implement SaveFileDialog
2022-01-25 16:27:39 -06:00
Travis McLane
d0feeb938c
implement SaveFileDialog
2022-01-25 16:27:39 -06:00
Travis McLane
2c2e053bd1
[linux] implement OpenDirectoryDialog
2022-01-25 16:27:39 -06:00
Travis McLane
b7647b3992
allow action to be overridden by caller
2022-01-25 16:27:39 -06:00
Lea Anthony
1e5f8e03cb
Tidy Up
2022-01-25 16:27:39 -06:00
Lea Anthony
4f3c14f25b
Fix context issue
2022-01-25 16:27:39 -06:00
Lea Anthony
6c68e59113
Support OpenFile /
...
OpenMultipleFiles
2022-01-25 16:27:39 -06:00
Lea Anthony
6e30c6770b
Tidy up and slight refactor
2022-01-25 16:27:39 -06:00
Travis McLane
a2d447aecf
implement opendialog as callback function
2022-01-25 16:27:39 -06:00
Travis McLane
3bcddd5b4c
add function argument to ExecuteOnMainThread
2022-01-25 16:27:39 -06:00
Travis McLane
b11964f0eb
remove xlib thread initialization
2022-01-25 16:27:39 -06:00
Lea Anthony
1920a545f4
[linux] Dialogs WIP
2022-01-25 16:27:39 -06:00
Lea Anthony
5c24f8bf83
Merge pull request #1105 from stffabi/feature/webview2-datapath
...
[v2, windows] Add WebviewUserDataPath to windows options
2022-01-26 08:18:04 +11:00
stffabi
b1c2065dfb
[v2, windows] Add WebviewUserDataPath to windows options
2022-01-25 21:42:01 +01:00
stffabi
ad28527a76
[v2] Bump go-webview2
...
Contains fixes for #1081 , #1103 , #1104
2022-01-25 20:24:26 +01:00
Lea Anthony
9d519a3a3f
Merge pull request #1098 from stffabi/feature/fix-dpi-scaling
...
[v2, windows] Fix dpi scaling for factors other than 100%, 200%,...
2022-01-25 19:58:18 +11:00
stffabi
fa6686361c
[v2, windows] Fix dpi scaling for factors other than 100%, 200%,...
2022-01-25 08:48:53 +01:00
Lea Anthony
cab268212c
Merge pull request #1092 from albert-sun/1091-export-bindings
...
Added TypeScript interface export for the window.go object
2022-01-23 08:57:05 +11:00
Albert Sun
f5c3907fac
added interface{} test case and fixed
2022-01-22 10:23:02 -05:00
Albert Sun
4118f348f5
fixed generate test
2022-01-22 00:59:26 -05:00
Albert Sun
1e4af8991b
added export
2022-01-22 00:40:55 -05:00
Lea Anthony
02ea108bea
Merge pull request #1085 from stffabi/feature/improve-frameless
...
[v2] windows: Improve frameless window handling
2022-01-20 05:40:19 +11:00
stffabi
46d3288a50
[v2] windows: Improve frameless window handling
...
The following features are now supported for framless windows
- Allow aero snap
- Minimize and maximize animations
- Allow minimizing/restoring by clicking onto the taskbar icon
- If EnableFramelessBorder is used, the default application border with glass effect is used
Change: If a menu is used, it won't be displayed anymore if the window is frameless.
2022-01-19 14:54:29 +01:00
Lea Anthony
6aef92950a
Merge pull request #1086 from wailsapp/feature/linux-callback
...
[linux] execute JS on main thread
2022-01-19 19:22:41 +11:00
Travis McLane
cfcc6cfa1c
[linux] execute JS on main thread
2022-01-18 21:31:08 -06:00
Lea Anthony
e96410e714
Support -debug for wails build
2022-01-17 21:14:07 +11:00
Lea Anthony
e08cdc22d1
v2.0.0-beta.29
2022-01-17 20:51:58 +11:00
Lea Anthony
15091310a6
Merge pull request #1074 from stffabi/feature/frameless-resizing
...
[v2] Only call EnableSizable for normal windows
2022-01-17 20:34:36 +11:00
stffabi
dd4b0e189c
[v2] Bump winc
...
Contains fixes for #1049 , #1063 and #1083
2022-01-17 10:23:49 +01:00
stffabi
c4b14740d5
[v2] Only call EnableSizable for normal windows
...
Frameless windows are always not resizable per default and
the resizing for those will be initiated by the frontend see
processMessage.
If EnableSizable is enabled for frameless windows, a small white
titlebar will be shown.
Fix #1049
2022-01-17 10:23:20 +01:00
Lea Anthony
140c78ecd1
Update sponsors
2022-01-16 14:48:17 +11:00
Lea Anthony
72a0936f49
v2.0.0-beta.28
2022-01-12 20:38:17 +11:00
Lea Anthony
8b7d4393dc
Revert "WIP"
...
This reverts commit b07fd608b3 .
2022-01-12 20:34:37 +11:00
Lea Anthony
1724912cd8
Update to latest winc. Fixes resize issue
2022-01-12 20:33:58 +11:00
Lea Anthony
b07fd608b3
WIP
2022-01-12 20:29:20 +11:00
Lea Anthony
6eba8ec76f
Merge pull request #1069 from redraskal/fix/v2-win-window-maximize
...
[v2] Fix: win window maximise/minimise
2022-01-12 19:30:43 +11:00
redraskal
b32c5b7ba2
fix: [v2] win runtime.WindowMinimise()
2022-01-10 23:00:31 -06:00
redraskal
0593c29784
fix: [v2] win runtime.WindowMaximise()
2022-01-10 22:59:40 -06:00
Lea Anthony
0d402492db
Merge pull request #1068 from BillBuilt/patch-1
...
Add templates for using Svelte with Vite
2022-01-11 07:08:04 +11:00
BillBuilt
bcf7c4e035
Add templates for using Svelte with Vite
...
Add templates for using Svelte with Vite and optionally TailwindCSS v3
2022-01-10 13:10:43 -05:00
Lea\Anthony
d9bacfc396
Update Sponsors
2022-01-10 20:49:28 +11:00
Lea Anthony
f6d7ec3d50
Merge pull request #1059 from GargantuaX/master
...
update zh-hans docs
2022-01-06 06:28:35 +11:00
GargantuaX
d2a116fe55
update zh-hans docs
2022-01-05 16:01:48 +08:00
Lea Anthony
eb3cf9d130
Merge pull request #1058 from yesgs/master
...
add uos linux distro
2022-01-05 17:13:48 +11:00
king
7e2258be7d
add uos linux distro
2022-01-05 11:13:34 +08:00
Lea Anthony
bb5d446001
Merge pull request #1053 from pierrejoye/master
...
Allow window resizing regardless of frameless or other options (#1049 )
2021-12-31 06:58:05 +11:00
Pierre Joye
e9aba4795f
Allow window resizing regardless of frameless or other options
...
Fix bug on Windows where the disableResize option depends on the frameless option.
2021-12-30 16:55:47 +07:00
Lea\Anthony
c16bb9715f
Fix for bad default directories in dialog options. Fixes #1052
2021-12-30 17:34:06 +11:00
Lea\Anthony
0f09e8d433
Fix signatures
2021-12-30 11:17:29 +11:00
Lea\Anthony
f338dff171
Fix EventsOff in JS runtime
2021-12-29 09:11:12 +11:00
Lea\Anthony
3c6ed12637
New build flag: -debug
2021-12-29 06:54:52 +11:00
Lea Anthony
e2f3a11a33
[mac] Fix for cancelling Dialogs. Fixes #1047
2021-12-28 20:04:30 +11:00
Lea Anthony
0571deb290
Merge pull request #1046 from buddyabaddon/master
...
Make linuxdb.yaml an embedded resource
2021-12-28 17:27:59 +11:00
Matt McKenzie
451b357e40
Make linuxdb.yaml an embedded resource
2021-12-27 18:22:03 -08:00
Lea\Anthony
84b67a8f53
Add -u flag to sync project go.mod with CLI version
2021-12-28 06:40:44 +11:00
Lea Anthony
448cf731bb
[mac] Fix for Save Dialog
2021-12-27 20:09:03 +11:00
Lea\Anthony
9cb480f0f0
v2.0.0-beta.27
2021-12-27 19:40:56 +11:00
Lea\Anthony
6825a631f5
Commit MicrosoftEdgeWebview2Setup.exe
2021-12-27 19:40:19 +11:00
Lea\Anthony
39f91a030f
v2.0.0-beta.26
2021-12-27 18:12:48 +11:00
Lea\Anthony
202e4d5be8
Actually commit sudo_mattn
2021-12-27 18:11:12 +11:00
Lea\Anthony
045e58778a
Actually commit webview2runtime
2021-12-27 18:09:41 +11:00
Lea\Anthony
e375d60c67
Updated modules
2021-12-27 05:23:18 +11:00
Lea\Anthony
fcb5499d3a
v2.0.0-beta.25
2021-12-27 05:21:17 +11:00
Lea\Anthony
dd5a54a8e0
Remove replace line
2021-12-27 05:21:17 +11:00
Lea Anthony
9f24a46b8a
Merge pull request #1042 from flin7/patch-1
...
Add template for React
2021-12-26 21:19:53 +11:00
flin7
d7eaab97dd
Add template for React
2021-12-26 17:21:19 +08:00
Lea\Anthony
a03d1e5ac5
v2.0.0-beta.24
2021-12-26 20:13:42 +11:00
Lea\Anthony
d5d4d88481
[v2] Fix webview2 runtime detection. Fixes #1038
2021-12-26 19:24:59 +11:00
Lea\Anthony
1c823b09c4
[v2] Fix compile issue
2021-12-25 08:54:23 +11:00
Lea\Anthony
e5732bcee1
[v2] Update to webview2runtime v1.3.0
2021-12-25 08:51:43 +11:00
Lea Anthony
c0f283335a
[mac] Fix for submenu titles. Fixes #1026 .
2021-12-24 08:00:37 +11:00
Lea\Anthony
64cdf64751
[v2] export interfaces in runtime.d.ts
2021-12-23 06:27:49 +11:00
Lea Anthony
609bfc35c0
Update options.mdx
2021-12-22 21:17:46 +11:00
Lea\Anthony
121d11db55
[v2] Update sponsors
2021-12-22 06:36:18 +11:00
Lea\Anthony
5c357f012d
[v2] Update context error
2021-12-22 06:28:47 +11:00
Lea\Anthony
56285f8637
[v2] Update docs
2021-12-21 08:53:48 +11:00
Lea Anthony
b61158d329
Merge pull request #1030 from raitonoberu/patch-1
...
Add Svelte template
2021-12-21 08:04:23 +11:00
Denis
0233197073
Add wails-svelte-template
2021-12-20 20:40:42 +07:00
Lea\Anthony
d883397d75
Update sponsors
2021-12-20 20:24:22 +11:00
Lea\Anthony
5bd82c4637
Update sponsors
2021-12-16 07:41:33 +11:00
Lea\Anthony
e942867635
Update sponsors
2021-12-16 07:41:14 +11:00
Lea Anthony
29749ed7cb
Merge pull request #1025 from AlienRecall/patch-1
...
Added react template
2021-12-16 07:35:22 +11:00
AlienRecall
0288f33556
Added react template
2021-12-15 13:53:25 +01:00
Lea\Anthony
ddeac08991
v2.0.0-beta.23
2021-12-15 19:36:45 +11:00
Lea Anthony
30e12d681c
[mac] Fix for save dialog
2021-12-15 19:16:43 +11:00
Lea Anthony
f9fce9f2a7
Merge pull request #1024 from achhabra2/patch-1
...
Add Riftshare to community showcase
2021-12-15 06:15:16 +11:00
Aman Chhabra
9c5bb8c6eb
Add Riftshare to community showcase
2021-12-14 07:22:35 -08:00
Lea Anthony
f2ab409284
Update README.md
2021-12-13 20:40:50 +11:00
Lea\Anthony
7c190810fd
Update easyweb logo
2021-12-13 20:40:03 +11:00
Lea\Anthony
2b2cd21674
Update sponsors
2021-12-13 20:32:55 +11:00
Lea Anthony
f025234c85
Merge pull request #1021 from dedo1911/master
...
[v2] feature / Add flag to skip mod tidy
2021-12-13 05:58:53 +11:00
Dario Emerson
44035637f7
Add flag to skip mod tidy
2021-12-12 15:01:16 +01:00
Lea Anthony
008a5c70b9
[mac] Fix linking issue. Removed warnings.
2021-12-11 20:06:42 +11:00
Lea\Anthony
24eaef1604
[mac] fix dynamically linking UTIFramework during cgo build
2021-12-11 19:43:21 +11:00
Lea\Anthony
62adcab722
[mac] try dynamically linking UTIFramework during cgo build
2021-12-11 19:36:17 +11:00
Lea Anthony
e12b630dfb
[mac] Attempt to fix 10.14 compilation issue
2021-12-11 07:29:47 +11:00