Lucas Nogueira
c6ba7f6524
fix(ci): update lockfiles
2022-02-04 14:48:45 -03:00
Lucas Nogueira
675d171eed
fix(core): tests, lint
2022-02-04 14:03:27 -03:00
Lucas Nogueira
320bb0b52a
fix(examples): API example shell scope configuration
2022-02-02 21:02:27 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -03:00
Lucas Nogueira
b82e2b5cf7
feat(core): configure HTTP scope using glob patterns
2022-01-31 10:30:32 -03:00
chip
10314cd5cf
feat(core): add argument parsing on shell scope ( #44 )
...
* feat: initial implementation
* feat: arg parser
* refactor: move codegen to context struct
* feat: regex validation
* fix tests
* fix: support magic argument value `-`
* feat: support value regex starting with `-`
* refactor: shell_scope mod, add happy path tests
* wip: scope command arguments
* wip: commands
* add better scoped errors and pattern matching
* add documentation to scoped command items
* support using the new shell scope for open
* use the proper items in tauri::scope during codegen
* shell-open uses ScopeError::Validation also
* use shell scoping for sidecar commands
* fix: cli.rs build
* fix: validation when arg list is empty
* require args in a non-fixed, non-empty config list
Co-authored-by: Chip Reed <chip@chip.sh>
2022-01-26 16:43:24 -03:00
chip
d5d6d2abc1
Isolation Pattern ( #43 )
...
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-01-17 10:46:14 -03:00
Jonas Kruckenberg
ce03909fb6
[feat] add dialog title option. closes #3232 ( #3233 )
2022-01-16 19:41:11 +01:00
Lucas Nogueira
b43019a2b0
fix: shell allowlist scope
2022-01-09 16:31:40 -03:00
Lucas Fernandes Nogueira
0ad1c6515f
feat(core): add http
allowlist scope [TRI-008] ( #24 )
2022-01-09 16:16:12 -03:00
Lucas Nogueira
5687b7fdcd
refactor: use macros to match core commands with allowlist conditionals [TRI-028] ( #20 )
2022-01-09 15:41:28 -03:00
Lucas Nogueira
4fa5ec9606
chore: cleanup repo lockfiles and gitignores
2022-01-09 15:18:14 -03:00
Lucas Nogueira
7920ff14e6
feat: scope the fs
API and the asset
protocol [TRI-026] [TRI-010] [TRI-011] ( #10 )
2022-01-09 14:30:04 -03:00
Lucas Nogueira
6ac21b3cef
feat: add private api feature flag ( #7 )
2022-01-09 11:29:29 -03:00
Lucas Nogueira
cf54dcf9c8
feat: improve CSP
security with nonces and hashes, add devCsp
[TRI-004] ( #8 )
2022-01-09 11:11:59 -03:00
Lucas Nogueira
4de285c396
feat(core): validate Cargo features matching allowlist [TRI-023]
2022-01-09 10:55:09 -03:00
Lucas Fernandes Nogueira
46f2eae8aa
feat: allow config's version to be a path to package.json, closes #2967 ( #2971 )
2022-01-07 16:55:30 -03:00
Amr Bashir
4143ffd427
fix(cli.js): detect CARGO_TARGET_DIR
for local run ( #3147 )
...
* fix(cli.js): detect `CARGO_TARGET_DIR` for local run
* [skip ci] revert schema changes
2022-01-04 13:57:50 +02:00
Lucas Fernandes Nogueira
2212bd5d75
fix: dialog default path on Linux, closes #3091 ( #3123 )
2021-12-27 13:03:51 -03:00
Lucas Fernandes Nogueira
35588b2e04
fix(cli.rs): check default arch at runtime, closes #3067 ( #3078 )
2021-12-27 10:49:59 -03:00
Lucas Fernandes Nogueira
7cc95e10ec
feat(core): add Menu::with_items
, closes #2807 ( #2966 )
2021-12-27 10:48:13 -03:00
Lucas Nogueira
73274a895f
chore: add release profile for updater and api examples
2021-12-09 18:26:44 -03:00
Amr Bashir
f87c04d70b
refactor(examples/api): use vite ( #2998 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 01:16:00 -03:00
Lucas Fernandes Nogueira
d28ac8aac0
fix(core): enable CORS on the asset
protocol, closes #2965 ( #2974 )
2021-12-09 00:56:58 -03:00
Lucas Nogueira
c52b4b7da4
fix: API example for window interaction
2021-11-25 12:37:36 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates ( #2875 )
2021-11-11 18:38:41 -03:00
Lucas Fernandes Nogueira
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 ( #2789 )
2021-10-22 10:04:42 -03:00
Lucas Nogueira
b2b99aea0e
fix(examples): API example distDir
regression
2021-10-11 10:51:14 -03:00
Lucas Fernandes Nogueira
7ed3f3b7e4
feat(cli.rs): validate distDir
, closes #2554 ( #2701 )
2021-10-04 12:54:14 -03:00
Fausto Núñez Alberro
0e4d12b541
fix : #2502 Expose set_menu
from tao through the TrayHandle struct ( #2532 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-02 15:57:53 -03:00
Lucas Fernandes Nogueira
d24fd8d102
feat(tauri-runtime-wry): allow window creation and closing on the main thread ( #2668 )
2021-09-27 20:18:06 -03:00
Lucas Fernandes Nogueira
2812c4464b
feat(core): window, shortcut and clipboard API calls on main thread ( #2659 )
2021-09-26 01:50:27 -03:00
Bill Avery
bb00d5bd6c
Replace winapi with windows crate and use webview2-com instead of webview2 ( #2615 )
...
* Switch to webview2-com version of tao and wry
* Pick up latest branch of TAO and WRY
* Let WRY pick the branch for TAO instead of patch
* Add comment for wry next branch pending merge
* Add changelog
* Revert wry redirect in Cargo.toml
* Use pinned rev for matching PR merge commit
2021-09-24 17:40:22 +08:00
Lucas Nogueira
904bdb22f7
chore(deps): pin wry
, update lock files
2021-09-23 14:42:25 -03:00
Lucas Nogueira
0473e25d89
Merge branch 'dev' into next
2021-09-21 13:16:27 -03:00
Ngo Iok Ui (Wu Yu Wei)
84f6e3e84a
Switch to next branch of wry ( #2574 )
2021-09-09 13:05:03 -03:00
Lucas Nogueira
2ec998b982
fix(examples): use dev server URL on API example devPath
config
2021-08-30 11:37:51 -03:00
Kris Scott
e706df7d03
Fix svelte recipe packageManager ternary ( #2534 )
...
* refactor: custom protocol (#2503 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* Apply Version Updates From Current Changes (#2513 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
* fix(api): revert ES2021 target
* Apply Version Updates From Current Changes (#2520 )
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
* docs: webdriver guide (#2461 )
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
* fix(core): `Notification.requestPermission()` deadlock regression
* Fix packageManager ternary
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
2021-08-26 10:36:10 -03:00
Lucas Nogueira
48f3768c41
fix(core): Notification.requestPermission()
deadlock regression
2021-08-24 13:07:02 -03:00
renovate[bot]
68df388940
chore(deps) Update dependency read-chunk to v4 ( #2483 )
...
* chore(deps) Update dependency read-chunk to v4
* update read-chunk usage
* fmt
* update lockfiles
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 12:03:10 -03:00
renovate[bot]
1f98853573
chore(deps) Update Tauri Core ( #2480 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: chip <chip@chip.sh>
2021-08-24 11:40:10 -03:00
david
539e4489e0
refactor: custom protocol ( #2503 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-23 11:09:23 -03:00
Lucas Nogueira
1a28904b8e
fix(core): resource path resolution on Linux, closes #2493
2021-08-22 20:41:26 -03:00
Lucas Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle
dependency, closes #2460 ( #2465 )
2021-08-17 10:27:18 -03:00
Lucas Fernandes Nogueira
c76f4b7d39
feat(core): set parent window on ask and message dialog APIs ( #2454 )
2021-08-16 17:25:45 -03:00
david
f33305ea3f
feat: Add WebRTC example ( #2447 )
2021-08-16 09:46:40 -04:00
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
david
28c6b7adfe
feat: add Event::Ready
( #2433 )
2021-08-15 17:10:22 -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
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