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
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
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
stffabi
ef184ec8bf
[v3, windows] Add MainThread dispatching and fixes the blocking window
2023-04-26 21:06:54 +02:00
Lea Anthony
9bfe3094dd
[windows] WIP
2023-04-26 21:07:04 +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
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
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
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
Lea Anthony
424e4fc2e8
[v3] Add ability to get window by name
2023-04-07 19:47:01 +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
3404250ac8
[v3] Add single_instance plugin
2023-04-01 20:36:55 +11:00
Lea Anthony
e91b7832ee
Provide types to runtime api
2023-03-31 20:37:50 +11: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
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 f429d2ba89
.
* 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
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
Lea Anthony
bf86b0d9c1
Add Window creation hooks
...
Add InjectJS() to plugins interface
2023-03-23 06:51:24 +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
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
ba82f27534
Fix Bug with nil parameters.
...
Added browser and kvstore plugins.
2023-03-20 20:28:33 +11:00