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
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
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
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
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
4b04c10f14
Support bindings, model & enum generation
2023-12-12 21:51:40 +11:00
Lea Anthony
89b5f0af20
v3.0.0-alpha.3
2023-12-11 08:43:32 +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
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
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
4ea6a2d120
Support wails package
on Windows
2023-11-15 20:45:38 +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
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
5b5a4ba4cc
Fix windows build
2023-11-12 14:23:13 +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
Travis McLane
53ea6511fc
[v3 linux] correct bug in getScreenByIndex
2023-11-09 21:11:35 -06: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
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
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
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
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
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
Michael Capretta
73384a562b
Add Linux Keycodes that match existing strings for keybinds
2023-10-30 10:27:21 -05:00
Lea Anthony
985c5bf8e2
[darwin] Support Ignore mouse events
...
[darwin] Support applicationSupportsSecureRestorableState
Update video example
2023-10-29 20:29:45 +11:00
Lea Anthony
3b50e0cbc5
Update docs
2023-10-28 15:44:36 +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
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
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
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
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
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
2b478a4608
More workflow improvements
2023-10-15 12:42:49 +11:00
Lea Anthony
3a23ad1382
Fix example building. Update workflow
2023-10-15 10:43:39 +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
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
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
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
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
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
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
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
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
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
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
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
Lea Anthony
d9a5130311
Use prettier on docs source
2023-09-25 20:56:29 +10:00
Lea Anthony
fb820bcdad
Add some more API docs. Small refactors.
2023-09-24 17:23:24 +10:00
Lea Anthony
7cdab16ba9
Add API docs. Do small refactors
2023-09-24 08:57:40 +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
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
Lea Anthony
af8ee6703e
[darwin] Support keybindings
2023-09-20 21:34:50 +10:00
Lea Anthony
793191a479
Initial key binding support
2023-09-17 20:48:30 +10:00
ALMAS
37b99b9cb8
Update webview_window.go ( #2912 )
2023-09-16 07:20:49 +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
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
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
Lea Anthony
9ca86c6093
Fix template versions
2023-09-08 18:51:39 +10:00
Lea Anthony
b925335bbb
Fix tests
2023-09-08 14:37:07 +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
afa8b62de7
Update doc dependencies
2023-09-08 10:57:47 +10:00
Travis McLane
d98e1d3693
[v3 linux] Packagemap -> packagemap
2023-09-07 12:16:20 -05:00
Lea Anthony
d390cac8db
Fix EnableFraudulentWebsiteWarnings for mac
2023-09-07 21:33:11 +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
ALMAS
708aef53e4
[v3] completing missing build tags ( #2884 )
...
* Update image.go
* Update popupmenu.go
2023-09-04 22:43:28 +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
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
Lea Anthony
8ca550cc9e
[v3] Add swipe gesture support
2023-08-30 20:57:12 +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
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
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
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
Lea Anthony
93335b3843
[v3] Support ANSI label on Mac. Update example.
2023-08-25 06:53:08 +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
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
8bde3d7522
[v3 mac] Improved operating system detection
2023-08-18 10:34:32 +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
db836b7a48
Move assetserver to internal
2023-08-14 08:31:55 +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
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
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
ecf970d6fe
[v3 mac] ANSI systray label [WIP]
2023-08-05 14:04:49 +10:00
Lea Anthony
c9ce17a4d5
[v3] Fix Assets options in templates
2023-07-21 08:24:38 +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
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
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
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
Lea Anthony
3fcac435b2
[v3] Support window events in JS. Fix ExecJS blocking issues.
2023-06-26 22:10:31 +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
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
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
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
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
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
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
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
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
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
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
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