5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-07 13:32:18 +08:00
Commit Graph

3223 Commits

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