5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-01 21:53:09 +08:00
Commit Graph

3298 Commits

Author SHA1 Message Date
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