Commit graph

3,007 commits

Author SHA1 Message Date
Lea Anthony
dad7798da9
New Systray example 2022-12-15 08:01:21 +11:00
Lea Anthony
79af667b7a
Support Menu Accelerators 2022-12-15 08:00:49 +11:00
Lea Anthony
d84cb5b190
Fix enabled menuitem 2022-12-14 19:15:58 +11:00
Lea Anthony
7c18f25508
Support radio menuitems
Support systemtray destroy()
2022-12-14 19:03:27 +11:00
Lea Anthony
085de606ee
Support submenus 2022-12-14 08:48:17 +11:00
Lea Anthony
c7ac90def4
Support template icons 2022-12-14 08:26:52 +11:00
Lea Anthony
bb36ce61bc
Refactor dispatching 2022-12-14 07:52:10 +11:00
Lea Anthony
a35a876094
Add support for system tray + menus 2022-12-13 21:54:12 +11:00
Lea Anthony
f38c6c6d1c
Add Fatal() 2022-12-11 20:05:00 +11:00
Lea Anthony
f6a16950f2
Add Window methods Width(), Height(), Size() + Position()
Fix main thread locking issue
Add Window aliases
2022-12-11 19:57:20 +11:00
Lea Anthony
ddb2f63f7b
Support Window aliases 2022-12-11 14:39:53 +11:00
Lea Anthony
bf8e541221
Support Window events
Convert events to uint
Rename system events to application events
2022-12-11 13:01:38 +11:00
Lea Anthony
4a2cf597c2
Fix resizable 2022-12-11 11:26:21 +11:00
Lea Anthony
27370559d3
Refactor Is* methods
Add more events
2022-12-11 11:09:52 +11:00
Lea Anthony
a134bfac42
Add Center
Add more events
2022-12-10 22:34:15 +11:00
Lea Anthony
d5e21d5003
Fix race condition in closing window during navigating
Add sane defaults
2022-12-09 08:22:17 +11:00
Lea Anthony
85abb1122f
Add main thread dispatching
Make `window.Run` operate on main thread
2022-12-09 07:47:47 +11:00
Lea Anthony
0257362a86
Support per-window message dispatching 2022-12-08 23:06:27 +11:00
Lea Anthony
1872672d0c
Support appearance 2022-12-08 18:20:04 +11:00
Lea Anthony
644655662e
Support toolbar config 2022-12-08 18:09:02 +11:00
Lea Anthony
508bbb4fb4
Support Min/Max/Fullscreen, BackgroundColour 2022-12-08 17:25:39 +11:00
Lea Anthony
cb9df61a98
Support MacBackdrop type
Fix devtools window error
2022-12-08 07:47:04 +11:00
Lea Anthony
ab976e56af
Support ExecJS 2022-12-07 23:58:45 +11:00
Lea Anthony
df1cc2ee0b
Support EnableDevTools 2022-12-07 23:52:16 +11:00
Lea Anthony
af6daa273e
Support min/max window size 2022-12-07 23:44:19 +11:00
Lea Anthony
05803fb5d5
Add more Window API 2022-12-07 23:30:20 +11:00
Lea Anthony
5a37091bb0
Initial play around 2022-12-07 21:55:09 +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