Commit Graph

1671 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
537ab1b6d5
feat(core): inject src-tauri/Info.plist file on dev and merge on bundle, closes #1570 #2338 (#2444) 2021-08-15 21:36:43 -03:00
Lucas Fernandes Nogueira
957e863e59
fix(core): unique WebContext for each window when TAURI_AUTOMATION unset (#2396) 2021-08-15 20:33:45 -03:00
Lucas Fernandes Nogueira
1635798a66
feat(core): improve HeaderValue compatibility, closes #2162 (#2438) 2021-08-15 18:14:40 -03:00
Lucas Fernandes Nogueira
6be3f43391
feat(core): add Resumed and MainEventsCleared events, closes #2127 (#2439) 2021-08-15 18:14:26 -03:00
david
28c6b7adfe
feat: add Event::Ready (#2433) 2021-08-15 17:10:22 -03:00
Lucas Fernandes Nogueira
397710b2c5
refactor(bundler): use linuxdeploy instead of appimagetool, closes #1986 (#2437) 2021-08-15 17:09:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
12642a1ad4
doc: update doc in tauri-utils and tauri (#2435)
* Update several documentations in tauri-utils

* Update a few documentation in tauri

* Add change file

* Update macro usage
2021-08-15 23:06:46 +08:00
Lucas Nogueira
c72e4b3e75
fix(cli.rs): use multiple_values instead of multiple 2021-08-15 10:57:53 -03:00
Lucas Fernandes Nogueira
a539471609
chore: update rust to 1.54.0 (#2434) 2021-08-15 10:47:15 -03:00
Riccardo Padovani
102895fa0c
Remove as_str() call from event.menu_item_id() (#2430)
There isn't a method `as_str()` associated to the `MenuIdRef` returned by `menu_item_id()`
2021-08-14 21:15:48 -03:00
Lucas Fernandes Nogueira
2088cd0f24
refactor(core): handle dialog threading internally, closes #2223 (#2429)
* refactor(core): handle dialog threading internally, closes #2223

* thread spawn
2021-08-14 16:00:23 -03:00
Lucas Fernandes Nogueira
dd5e1ede32
fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428) 2021-08-14 14:44:30 -03:00
Lucas Nogueira
aa0828f8ad
fix(docs): wrong import path on updater guide 2021-08-14 10:39:07 -03:00
Lucas Nogueira
206c1d0f23
feat(docs): mention @tauri-apps/api on integration guide, closes #2235 2021-08-14 10:35:33 -03:00
Lucas Fernandes Nogueira
9acd83017f
fix(core): percent decode asset protocol URL (#2427) 2021-08-14 10:02:20 -03:00
Lucas Fernandes Nogueira
e2a0704c6c
refactor(core): remove salt APIs (#2426) 2021-08-14 09:30:13 -03:00
Lucas Fernandes Nogueira
fbf8caf5c4
fix(core): ESM detection when using export async function (#2425) 2021-08-14 09:02:54 -03:00
Lucas Fernandes Nogueira
5ebf389f6c
feat(bundler): check target arch at runtime, closes #2286 (#2422) 2021-08-13 18:05:18 -03:00
Lucas Fernandes Nogueira
4a031add69
feat(core): expose set_activation_policy, closes #2258 (#2420)
* feat(core): expose `set_activation_policy`, closes #2258

* fix change file [skip ci]

* Update .changes/runtime-set-activation-policy.md [skip ci]

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>

* clippy

* allow unused mut on example

Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-08-13 13:25:31 -03:00
Lucas Fernandes Nogueira
c544cea8c9
fix(cli.js): force version update on Cargo manifest (#2419) 2021-08-13 11:41:06 -03:00
Lucas Fernandes Nogueira
b85775911d
feat(docs): improve feature-specific API documentation (#2418) 2021-08-13 11:40:57 -03:00
Lucas Nogueira
6cd640fa0a
fix(core): import set_native_image on macOS 2021-08-13 11:25:39 -03:00
Lucas Fernandes Nogueira
6bfe7422eb
refactor(core): rename __TAURI__._invoke to __TAURI_INVOKE__ (#2417) 2021-08-13 11:19:03 -03:00
Ngo Iok Ui (Wu Yu Wei)
f81ebddfcc
feat: remove menu feature flag (#2415)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-13 10:23:32 -03:00
Lucas Nogueira
f665d001ed
feat(docs): improve splashscreen example 2021-08-13 10:09:43 -03:00
Lucas Fernandes Nogueira
f4eafec705
feat(core): add window_label to the ExitRequested event payload (#2410) 2021-08-12 14:22:08 -03:00
Ngo Iok Ui (Wu Yu Wei)
88382fe147
chore(api): update protocol url path with wry 0.12.1 on Windows (#2409) 2021-08-12 13:56:07 -03:00
Alan Ninan Thomas
cad7b17cf4
Update WebView2 requirement docs for Windows 11 (#2408) 2021-08-12 09:50:09 -03:00
renovate[bot]
459f0145bf
chore(deps) Update create-tauri-app (#1941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-11 22:58:54 -03:00
Lucas Fernandes Nogueira
855ed0f54e
chore(cli.js): remove no longer needed resolutions (#2401) 2021-08-11 22:58:27 -03:00
Lucas Fernandes Nogueira
9aeb04faf4
feat(core): async_runtime handle API, spawn returns JoinHandle (#2399) 2021-08-11 21:49:09 -03:00
renovate[bot]
bdda79cfbc
chore(deps) Update dependency tslib to v2.3.1 (#2400)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 21:18:29 -03:00
Thad Guidry
efefc6e6c1
Add example of using allowlist to reduce binary size (#2111)
* Add example of using allowlist to reduce binary size

based on comment from@lucasfernog at https://discord.com/channels/616186924390023171/807549941936816148/859059694316683295

* fix example

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-11 20:24:51 -03:00
Thad Guidry
af72e8e690
Clarify and improve accuracy of semantics we talk about (#2153)
Co-authored-by: Laegel <laegel@tutanota.com>
2021-08-11 20:15:32 -03:00
Lucas Nogueira
178164b259
fix(docs): splashscreen guide using dropped Params syntax 2021-08-11 14:52:47 -03:00
Lucas Fernandes Nogueira
5f6e135f23
refactor(cli.js): package as ES module, closes #2256 (#2392) 2021-08-11 14:00:35 -03:00
renovate[bot]
f55016be74
chore(deps) Update dependency imagemin to v8.0.1 (#2395)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:45:51 -03:00
renovate[bot]
4f11481813
chore(deps) Update Rust crate phf to 0.10 (#2393)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:44:55 -03:00
renovate[bot]
e18d3536ff
chore(deps) Update Tauri JS CLI (#2394)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 11:05:34 -03:00
renovate[bot]
6063f5c73c
chore(deps) Update Rust crate rfd to 0.4.2 (#2389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:51 -03:00
dependabot[bot]
b6405313a0
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /tooling/create-tauri-app (#2385)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 04:18:43 -03:00
dependabot[bot]
a97b8dab62
chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /examples/api (#2386)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 04:18:36 -03:00
renovate[bot]
99a5435d72
chore(deps) Update Tauri API Definitions (#2390)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 04:18:24 -03:00
Lucas Fernandes Nogueira
fa9341ba18
feat(core): implement Debug on public API structs/enums, closes #2292 (#2387) 2021-08-11 02:07:39 -03:00
david
50bf87a80a
disable enableElevatedUpdateTask on the updater sample (#2388)
Signed-off-by: David Lemarier <david@lemarier.ca>
2021-08-10 16:01:39 -04:00
Lucas Fernandes Nogueira
3f039cb8a3
fix: keep original productName for .desktop Name field, closes #2295 (#2384) 2021-08-10 16:02:46 -03:00
Lucas Fernandes Nogueira
8b2cc2615d
fix(core): dialog's defaultPath behavior on Linux, closes #2232 (#2382) 2021-08-10 15:28:24 -03:00
Lucas Fernandes Nogueira
9c4032ba10
fix(cli.js): usage with HTTPS_PROXY, closes #2237 (#2381) 2021-08-10 11:31:48 -03:00
FabianLars
b2b36cfe8d
fix(core): fixes ES Module detection for default imports with relative paths or scoped packages (#2380) 2021-08-10 10:55:23 -03:00
Lucas Fernandes Nogueira
8e48029790
feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00