Lucas Fernandes Nogueira
2b554c38a5
fix(core): revert to clap 3.0 API, allow deprecations, closes #3549 ( #3552 )
...
Co-authored-by: chip <chip@chip.sh>
2022-02-24 11:29:31 -03:00
Lucas Fernandes Nogueira
0163489ed6
fix(core): safe_block_on
usage on async contexts, closes #3505 ( #3513 )
2022-02-24 10:06:50 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 ( #3515 )
2022-02-24 10:06:19 -03:00
Lucas Fernandes Nogueira
6a6f1e7bf9
fix(bundler): build updater bundle for all .msi files ( #3520 )
2022-02-24 10:05:58 -03:00
Lucas Fernandes Nogueira
d06efc7704
fix(core): parse range bytes=0-*
, closes #3143 ( #3516 )
2022-02-24 10:05:50 -03:00
Fabian-Lars
fb6744daa4
feat(cli.js): add 32bit cli for windows ( #3540 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-24 10:05:13 -03:00
Lucas Fernandes Nogueira
080755b537
feat(core): warn if private APIs are not enabled, closes #3481 ( #3511 )
2022-02-19 10:22:54 -03:00
github-actions[bot]
82b7f51956
Apply Version Updates From Current Changes ( #3468 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-18 11:37:36 -03:00
Lucas Fernandes Nogueira
5999379fb0
chore(cli): improve "waiting for dev server" message, closes #3491 ( #3504 )
2022-02-18 10:39:22 -03:00
Lucas Fernandes Nogueira
fce344b90b
feat(core): set default value for minimum_system_version
to 10.13 ( #3497 )
2022-02-17 22:19:16 -03:00
Lucas Fernandes Nogueira
4bacea5bf4
feat(core): set MACOSX_DEPLOYMENT_TARGET
environment variable, closes #2732 ( #3496 )
2022-02-17 19:00:19 -03:00
Lucas Fernandes Nogueira
17f17a80f8
fix(cli): do not panic if private key password is wrong, closes #3449 ( #3495 )
2022-02-17 18:41:47 -03:00
Jacob Bolda
53e4dd8c2d
remove create-tauri-app ( #3493 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-17 18:20:56 -03:00
Lucas Fernandes Nogueira
a975551461
fix(cli): duplicated short flag for signer sign
, closes #3483 ( #3492 )
2022-02-17 17:57:29 -03:00
Lucas Fernandes Nogueira
84895a9cd2
fix(runtime): trait requirements ( #3489 )
2022-02-17 17:44:46 -03:00
Lucas Fernandes Nogueira
b8e4d651f9
fix(core): drop all plugin builder Sync requirements ( #3490 )
2022-02-17 17:44:37 -03:00
Lucas Fernandes Nogueira
060538331c
feat(core): add context to the filesystem APIs errors, closes #3457 ( #3480 )
2022-02-16 21:45:40 -03:00
Lucas Fernandes Nogueira
2ecbed8d59
fix(bundler): sidecar on Windows, closes #3446 ( #3482 )
2022-02-16 21:44:40 -03:00
Jonas Kruckenberg
fb7ee2c987
drop Sync req from setup
and setup_with_config
( #3471 )
2022-02-16 10:06:56 -03:00
Lucas Fernandes Nogueira
a06de37601
fix(cli): path lookup should not check subfolder before the current one ( #3465 )
2022-02-15 11:40:21 -03:00
github-actions[bot]
bf05c3aeb4
Apply Version Updates From Current Changes ( #3461 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 18:47:19 -03:00
Lucas Fernandes Nogueira
afcc3ec501
fix(build): rerun if resource or sidecar change ( #3460 )
2022-02-14 18:33:40 -03:00
github-actions[bot]
8d290cb2d7
Apply Version Updates From Current Changes ( #3430 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-14 02:17:24 -03:00
Lucas Nogueira
6f5ed2e69c
fix: change file
2022-02-14 02:07:04 -03:00
Lucas Fernandes Nogueira
c6031c7070
feat(cli): increase lookup depth, add env var option ( #3451 )
2022-02-13 22:13:13 -03:00
Jonas Kruckenberg
7e04c072c4
feat: add mock functions for testing and SSG ( #3437 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-13 20:33:10 -03:00
Lucas Fernandes Nogueira
759d1afb86
feat(cli): improve error message when dev runner command fails ( #3447 )
2022-02-13 19:13:31 -03:00
Lucas Fernandes Nogueira
16f1173f45
feat(cli): add tao and wry version to the info
output ( #3443 )
2022-02-13 17:47:21 -03:00
Lucas Fernandes Nogueira
63826010d1
feat(cli.js): show full error message ( #3442 )
2022-02-13 14:55:11 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread ( #3436 )
2022-02-13 13:50:51 -03:00
Lucas Nogueira
9c50bda6c1
fix(ci): covector configuration
...
the config had a test code on the postversion check for cli.rs
[skip ci]
2022-02-13 11:51:30 -03:00
Lucas Fernandes Nogueira
20f0477f95
fix(core): updater not replacing variables, closes #3428 ( #3432 )
2022-02-13 11:48:10 -03:00
Lucas Fernandes Nogueira
679fe1fedd
feat(cli.rs): allow passing arguments to the build runner, closes #3398 ( #3431 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-13 10:54:18 -03:00
Lucas Fernandes Nogueira
102a5e9bb8
refactor(cli.rs): change template config CSP to null, closes #3427 ( #3429 )
2022-02-13 02:01:48 -03:00
Lucas Nogueira
bdd41e2413
fix(changelog): mark macos-private-api
feature as breaking change
2022-02-13 01:20:22 -03:00
Lucas Fernandes Nogueira
6d8073efff
fix(covector): asset configuration, update action ( #3425 )
2022-02-13 00:56:06 -03:00
Jonas Kruckenberg
fd557e984d
Ease plugin hook restrictions ( #3404 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-13 00:55:57 -03:00
github-actions[bot]
d24045e884
Apply Version Updates From Current Changes ( #3414 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-12 10:47:49 -03:00
Lucas Fernandes Nogueira
3a4c016061
fix(core): change default freezePrototype
to false, closes #3416 #3406 ( #3423 )
2022-02-12 10:28:05 -03:00
Amr Bashir
c01036043d
fix(cta): fix cli install with other deps, fixes #3417 ( #3420 )
...
* fix(cta): fix cli install with other deps, fixes #3417
2022-02-12 11:04:24 +02:00
chip
65287cd614
remove non-existent cargo rerun check ( #3412 )
2022-02-11 22:19:55 -03:00
Lucas Nogueira
8f5dba04e2
fix: covector config
2022-02-11 20:27:02 -03:00
github-actions[bot]
9f0395ae3c
Apply Version Updates From Current Changes ( #3411 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 19:48:29 -03:00
Lucas Fernandes Nogueira
d8acbe1149
fix(cli.rs): app path resolution on projects without git, closes #3409 ( #3410 )
2022-02-11 19:41:50 -03:00
github-actions[bot]
fe0cfea03e
Apply Version Updates From Current Changes ( #3401 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2022-02-11 14:13:00 -03:00
Lucas Nogueira
41052deeda
fix(covector): add cli.js to change files
2022-02-11 13:42:54 -03:00
Lucas Fernandes Nogueira
9c6c5a8c52
perf(cli.rs): improve performance of tauri dir lookup reading .gitignore ( #3405 )
2022-02-11 13:35:15 -03:00
Lucas Fernandes Nogueira
8beab63634
fix(cli): build freezing on Windows, closes #3399 ( #3402 )
2022-02-11 11:38:10 -03:00
Lucas Fernandes Nogueira
def7684025
fix(cli.rs): do not prompt for init
values if arg set ( #3400 )
2022-02-11 11:00:11 -03:00
github-actions[bot]
ffb9a192cb
apply version updates ( #3397 )
...
Co-authored-by: amrbashir <amrbashir@users.noreply.github.com>
2022-02-11 11:45:59 +02:00
Amr Bashir
536c0cd7d4
fix(cta): filter out empty args, fixes #3393 ( #3396 )
...
* fix(cta): filter out empty args, fixes #3393
* use strict inequality [skip ci]
2022-02-11 10:31:29 +02:00
github-actions[bot]
5c0a8bfef7
Apply Version Updates From Current Changes ( #3392 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 23:05:06 -03:00
Lucas Nogueira
3227502e8c
fix(cli.rs): package vswhere.exe
2022-02-10 22:55:59 -03:00
Lucas Nogueira
cde6e3cf9d
fix(ci): covector configuration and usage
...
[skip ci]
2022-02-10 20:08:54 -03:00
Lucas Nogueira
7c0fb73bb8
fix(covector): tauri-utils
before tauri-bundler
2022-02-10 18:42:50 -03:00
github-actions[bot]
0876bbbb57
Apply Version Updates From Current Changes ( #2522 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-10 18:03:25 -03:00
Lucas Nogueira
18b7ffb4e2
fix(covector): remove sync-cli-metadata.js
usage
2022-02-10 17:37:21 -03:00
Lucas Fernandes Nogueira
4334865266
refactor(cli): rename tooling/cli.rs
folder to tooling/cli
( #3388 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00
Lucas Fernandes Nogueira
62c7a8ad30
chore(covector): prepare for rc
release ( #3376 )
2022-02-10 16:46:30 -03:00
Jonas Kruckenberg
d5400a3d62
once_global
and once
accept FnOnce callbacks (#3383 )
2022-02-10 11:29:47 -03:00
Lucas Fernandes Nogueira
c119060e3d
refactor(core): empty default value for config > tauri > windows ( #3380 )
2022-02-10 11:23:08 -03:00
Fabian-Lars
02ac3215ea
feat(cli.js): rewrite cli.js with napi-rs, closes #2651,#3287 ( #3370 )
...
Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-09 22:11:00 -03:00
Lucas Fernandes Nogueira
5eb72c24de
refactor: copy resources and sidecars on the Cargo build script ( #3357 )
2022-02-08 13:13:21 -03:00
Lucas Fernandes Nogueira
a2d5929a8f
feat(cli.rs): wait for dev URL to be reachable, exit if command fails ( #3358 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-08 10:43:07 -03:00
Didrik Nordström
3035e4581c
Remove target triple from sidecar bin paths, closes #3355 ( #3356 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 22:16:09 -03:00
Lucas Fernandes Nogueira
5a94200f65
feat(core): expose functions to serialize serde::Serialize
values to JS ( #3354 )
2022-02-07 20:17:58 -03:00
Jonas Kruckenberg
9aed299621
feat: plugin::Builder
closes #2959 ( #3005 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 14:06:35 -03:00
Lucas Fernandes Nogueira
10e3190fdd
fix(core): do not use capture on _blank link event handler, closes #2791 ( #3349 )
2022-02-07 13:06:35 -03:00
Lucas Fernandes Nogueira
a03b85545a
fix(core): tray not closing on Windows ( #3351 )
2022-02-07 13:04:38 -03:00
Lucas Fernandes Nogueira
af44bf8168
feat(core): allow app run on any thread on Linux & Windows, closes #3172 ( #3353 )
2022-02-07 11:31:07 -03:00
Lucas Fernandes Nogueira
8483fde975
feat(core): expose run_return
on Linux ( #3352 )
2022-02-07 11:30:45 -03:00
Lucas Fernandes Nogueira
55aa22de80
feat(core): add Window#open_devtools
API, closes #1213 ( #3350 )
2022-02-07 10:04:33 -03:00
nothingismagick
58030172ed
feat(tauricon): remove from cli ( #3293 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-07 00:59:51 -03:00
Lucas Fernandes Nogueira
03fc92c830
fix(core): resolve request instead of panicking on asset protocol ( #3347 )
2022-02-06 23:54:47 -03:00
Lucas Fernandes Nogueira
9b34055264
fix(core): window-specific event delivery, closes #3302 ( #3344 )
2022-02-06 17:50:02 -03:00
philipborg
52e9a6d81a
fix: Make CMD handle quotes "
properly. ( #3334 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-06 10:22:07 -03:00
Ngo Iok Ui (Wu Yu Wei)
343ea3e2e8
Update wry to 0.13 ( #3336 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:08:12 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 ( #3179 )
2022-02-05 15:13:07 -03:00
Lucas Nogueira
de0543f3e0
feat(cli.rs): change inferred dev server port to 8080 for Svelte apps
2022-02-05 15:12:36 -03:00
Lucas Fernandes Nogueira
4818531aba
refactor(core): add blocking dialog APIs, improve docs, closes #3255 ( #3270 )
2022-02-05 00:43:19 -03:00
Jonas Kruckenberg
839daec7ab
fix(bundler): Use arch
instead of llvm_target
. fix #3285 ( #3286 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:40:13 -03:00
Lucas Fernandes Nogueira
1dbd887a6e
fix(core): emit tauri://window-created event for windows created on Rust ( #3299 )
2022-02-04 23:47:44 -03:00
Lucas Fernandes Nogueira
878b8b9a1f
fix(core): immediately listen to window-created, closes #3297 ( #3298 )
2022-02-04 23:39:23 -03:00
Jonas Kruckenberg
9b19a805aa
fix(api.js) Replace number[]
with Uint8Array
. fixes #3306 ( #3305 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Fernandes Nogueira
f5109e0c96
fix(api): window label null instead of actual value, closes #3295 ( #3332 )
2022-02-04 21:57:41 -03:00
Amr Bashir
65ad5b5ef9
feat(cli.rs/info): detect if tauri is used from git ( #3309 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 21:00:55 -03:00
Didrik Nordström
83f52fdbe3
feat: Add universal-darwin-macos
build target, closes #3317 ( #3318 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 18:56:57 -03:00
Cobalt
15358b1895
Expose event interface. fixes #2733 ( #3321 )
...
Co-authored-by: Cobalt <c0balt@disroot.org>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-04 17:44:12 -03:00
Lucas Fernandes Nogueira
bff86ee4c4
chore: remove egui
feature ( #3330 )
2022-02-04 17:02:54 -03:00
Lucas Nogueira
a08509c641
fix(api): remove currentDir
API from the path
module
2022-02-04 11:49:23 -03:00
Lucas Nogueira
995de57a76
Add seamless support for using JSON5 in the config file ( #47 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-03 10:16:00 -03:00
Lucas Nogueira
0d1e3219b4
Merge branch 'next' into feat/audit-patches
2022-02-02 20:09:41 -03:00
chip
7c3db7a381
cache current binary path much sooner ( #45 )
...
* use ctor to cache starting executable
* clean up symlink checking logic
* changefile
* use wrapper for the static, put it in tauri_utils
* cargo +nightly fmt
* add license header to `StartingBinary`
* fix clippy warning
* fix: test
* simplify macOS dangerous flag detection
* update restart test to allow expected failure on macOS
* finish documentation
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-02 19:58:56 -03:00
Manuel Alabor
8ab8d52942
Fix #3288 : Add provider_short_name for macOS ( #3289 )
2022-01-27 15:22:30 -03:00
Lucas Nogueira
696dca58a9
refactor(core): remove BaseDirectory::Current
variant
2022-01-26 16:48:31 -03:00
Jonas Kruckenberg
9bb68973dd
fix(cli.rs): prefix the "before script" env vars with TAURI_
( #3274 )
2022-01-24 10:27:23 -03:00
Wojciech Niedźwiedź
d801cc89b8
wix installer is also signed ( #3266 )
2022-01-23 17:50:05 -03:00
Lucas Fernandes Nogueira
28dd9adb26
feat(bundler): support building AppImage without FUSE ( #3259 )
2022-01-21 15:41:00 -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
e1d6a6e644
Create api-file-dialog-title.md ( #3235 )
2022-01-16 16:41:33 -03:00
Jonas Kruckenberg
b5d9bcb402
Consistent event name usage ( #3228 )
2022-01-15 17:47:15 -03:00
Lucas Fernandes Nogueira
e15a8af843
refactor(core): return Window
on create_window
API ( #3211 )
2022-01-13 13:51:45 -03:00
Lucas Nogueira
c077f44927
feat: force endpoint URL to use https on release [TRI-015] ( #41 )
2022-01-09 16:40:22 -03:00
Lucas Nogueira
d95cc83105
feat: enforce updater public key [TRI-015] ( #42 )
2022-01-09 16:37:03 -03:00
Lucas Fernandes Nogueira
4d89f60d77
refactor(core): prevent path traversal [TRI-012] ( #35 )
2022-01-09 16:28:56 -03:00
Lucas Fernandes Nogueira
d4db95e716
feat(core): shell execute API scope [TRI-002] ( #36 )
...
* feat(core): shell execute API scope [TRI-002]
* fix tests
* also check with empty extension
* lockfile
2022-01-09 16:28:22 -03:00
Lucas Nogueira
6feb5a0c50
refactor(core): api feature flags, documentation ( #26 )
2022-01-09 16:20:13 -03:00
Lucas Fernandes Nogueira
85df94f2b0
feat(core): config for fixed webview2 runtime version path ( #27 )
2022-01-09 16:16:45 -03:00
Lucas Nogueira
a62faf2085
fix(covector): remove empty change file
2022-01-09 16:16:36 -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
239bba5666
refactor(core): check notification permission on the Rust endpoint [TRI-017] ( #23 )
2022-01-09 16:15:47 -03:00
Lucas Nogueira
a48b8b18d4
feat(core): validate callbacks and event names [TRI-038] [TRI-020] ( #21 )
2022-01-09 16:12:29 -03:00
Lucas Nogueira
2f3a582c69
feat(cli.rs): strip release binaries [TRI-031] ( #22 )
2022-01-09 15:46:43 -03:00
Lucas Nogueira
63921fada4
refactor: change tauri::api::open
with
argument to an enum [TRI-022] ( #19 )
2022-01-09 14:58:38 -03:00
Lucas Fernandes Nogueira
eed017287f
feat(core): add shell > sidecar
allowlist and process
feature flag [TRI-037] ( #18 )
2022-01-09 14:57:43 -03:00
Lucas Fernandes Nogueira
6fbd6dba52
feat(core): validate AppImage
execution when env vars are set [TRI-041] ( #17 )
2022-01-09 14:57:29 -03:00
Lucas Nogueira
8259cd64c2
feat(core): inject CSP
on data URLs [TRI-049] ( #16 )
2022-01-09 14:57:12 -03:00
Lucas Nogueira
d660cab38d
feat: enhance allowlist configuration [TRI-027] ( #11 )
2022-01-09 14:48:55 -03:00
Lucas Fernandes Nogueira
680554de3e
feat: validate window label [TRI-021] ( #13 )
2022-01-09 14:30:43 -03:00
Lucas Fernandes Nogueira
d42ccfb34f
feat: add clipboard
flag to WebviewAttributes
[TRI-032] ( #12 )
2022-01-09 14:30:31 -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
3420aa5031
refactor: IPC handler [TRI-019] ( #9 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-09 14:17:29 -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
7209fdf732
refactor(core): load APPIMAGE and APPDIR env vars on startup [TRI-007] [TRI-041]
2022-01-09 10:57:29 -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
Lucas Fernandes Nogueira
0600099696
feat(api): support unknown types for event emit payload, closes #2929 ( #2964 )
2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
b7a2345b06
feat(core): add raw headers to HTTP API, closes #2695 ( #3053 )
2022-01-07 13:53:04 -03:00
FabianLars
ac1dfd8c30
feat(bundler): initialize msi install path with previous location ( #3158 )
2022-01-07 13:45:34 -03:00
Ngo Iok Ui (Wu Yu Wei)
5e0d59ec7d
Initial support of egui native window ( #3165 )
...
* Initial support of egui
Expose method
Handle egui window lifetime properly
Add focus event logic
Check window_id on window event
Add Linux support
Fix window closing on Linux
Update flag to configure on different platforms
Fix control flow when egui window close
Add label param to egui window
* Innitial egui window support
* Add feature flag and change file
* Fix errors on Linux
2022-01-05 17:56:55 +08:00
Lucas Fernandes Nogueira
d0970e3499
feat(driver): add args
to tauri:options
( #3154 )
2022-01-03 17:37:16 -03:00
Lucas Fernandes Nogueira
4c1be45106
fix(bundler): deadlock on ResourcePaths
iterator, closes #3146 ( #3152 )
2022-01-02 14:28:07 -03:00
Amr Bashir
f5e77ff48f
refactor(cta): use commander
instead of minimst
( #2551 )
...
* refactor(cta): use `commander` instead of `minimst`
* fix default
* pin deps
* update lock file
* rearrange options
* style changes
* colorful help message
* add missing `dev` option
* style
* use local api for tests
* concise checks for vite and solid
* update lock file
* fix api formatting
* improvements to updating json files
* hopefully the last commit in this PR
* fix eslint
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-01-01 14:38:43 +02:00
Lucas Fernandes Nogueira
9c82006b2f
fix(core): deadlock when creating window from menu handler, closes #3110 ( #3126 )
2021-12-28 22:51:33 -03: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
3f3599b9cc
refactor(core): change setup
closure type to FnOnce
, closes #3061 ( #3065 )
2021-12-27 10:50:38 -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
FabianLars
bec7833a6c
fix(bundler): bundle additional webkit files. patch absolute paths in libwebkit*.so files. fixes #2805,#2689 ( #2940 )
2021-12-09 18:38:01 -03:00
Lucas Fernandes Nogueira
d7c02a30a5
feat(core): persist non-session cookies on Linux ( #3052 )
2021-12-09 18:11:00 -03:00
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested
to JS, closes #2996 ( #3041 )
2021-12-09 12:22:12 -03:00
Jonas Kruckenberg
1458ab3c53
refactor(cli.rs): signer
and plugin
subcommands, use new clap derive syntax ( #2928 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-09 12:21:33 -03:00
Amr Bashir
28aaec87e2
feat(cli.rs): add active toolchain and rustup to tauri info
, closes #2730 ( #2986 )
2021-12-09 01:28:26 -03:00
Lucas Fernandes Nogueira
feb3a8f896
feat(bundler): configure WiX to add launch option, closes #3015 ( #3043 )
2021-12-09 01:27:11 -03:00
Lucas Fernandes Nogueira
151e629ebf
fix(core): streaming of small files using asset://
, closes #2854 ( #3039 )
2021-12-09 01:24:11 -03:00
Lucas Fernandes Nogueira
fb2b9a52f5
feat(cli.js): allow configuring tauri app path on package.json #2752 ( #3035 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2021-12-09 01:23:49 -03:00
Amr Bashir
1bfc32a3b2
fix(api.js): add fileDropEnabled
to WindowOptions
, closes #2968 ( #2989 )
2021-12-09 01:03:21 -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
Amr Bashir
76ce9f61dd
fix(core): fix window.center
panic when window size > screen, closes #2978 ( #3002 )
2021-12-09 00:21:29 -03:00
FabianLars
1e336b6872
fix(cli.js): Fix package installation on yarn 2+ ( #3012 )
2021-12-09 00:11:51 -03:00
Lucas Fernandes Nogueira
a3537078dd
feat(core): allow running along another tokio runtime, closes #2838 ( #2973 )
2021-12-08 23:41:34 -03:00
Amr Bashir
50c63900c7
fix(api.js): fix http.fetch
throwing error if response body is empty, closes #2831 ( #3008 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-12-08 23:39:42 -03:00
Amr Bashir
17a1ad6823
fix(cli.rs): ensure target/release/wix
exists, closes #2927 ( #2987 )
2021-12-07 11:01:17 -03:00
Amr Bashir
ea51504e3a
fix(cta): stop react recipe from opening in browser, closes #2793 ( #2988 )
2021-11-30 18:30:25 +02:00
Lucas Fernandes Nogueira
7b81e5b82e
feat(cli.rs): allow config argument to be a path to a JSON file ( #2938 )
2021-11-22 19:08:54 -03:00
Lucas Fernandes Nogueira
4c4ab1eb8b
fix(core): trigger tauri://*
events to Rust listeners, closes #2901 ( #2902 )
2021-11-16 16:41:45 -03:00
Lucas Fernandes Nogueira
000d126e0e
fix(core): properly check if document is loaded, closes #2716 ( #2900 )
2021-11-16 14:18:42 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system ( #2899 )
2021-11-16 12:58:18 -03:00
Devyn S
59b6ee8793
fix(tauri-build): allow user to specify win sdk path ( fix : #2871 ) ( #2893 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-16 11:18:13 -03:00
Lucas Fernandes Nogueira
4e3b366e64
feat(ci): automate config.md
docs generation ( #2887 )
2021-11-14 09:26:41 -03:00
Lucas Fernandes Nogueira
8000675366
feat(ci): fill CLI docs on covector version
( #2886 )
2021-11-13 19:49:48 -03:00
Lucas Fernandes Nogueira
db275f0b63
refactor(cli.rs): rename init plugin
subcommand to plugin init
( #2885 )
2021-11-13 19:28:18 -03:00
Lucas Fernandes Nogueira
7c6c7adcc4
feat(core): add asset_resolver
API ( #2879 )
2021-11-12 22:23:54 -03:00
Chaoqian Xu
ad16975938
feat: Add JoinHandle::abort() ( #2877 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-11-12 22:22:26 -03:00
Bill Avery
34be6cf37a
Update webview2-com and windows crates ( #2875 )
2021-11-11 18:38:41 -03:00
Lucas Nogueira
4f2309cbb3
fix(covector): wrong front matter syntax on change files
2021-11-01 11:22:46 -03:00
Lucas Fernandes Nogueira
b1f5c6d7ac
refactor(cli.rs): drop dialoguer
and console
soft fork ( #2790 )
2021-10-22 10:41:43 -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
Ngo Iok Ui (Wu Yu Wei)
b48487e6a7
Fix empty header from CORS on Linux, closes #2327 ( #2762 )
...
* Fix empty header from CORS on Linux
* Fix commit hash
2021-10-18 21:36:45 +08:00
Jonas Kruckenberg
acbb3ae7bb
feat: add Log directory ( #2736 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-16 09:56:23 -03:00
renovate[bot]
c2a6e8d7e6
chore(deps) Update Tauri Core ( #2746 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:02:35 -03:00
Lucas Fernandes Nogueira
ac37b56ef4
fix(core): menu id map not reflecting the current window menu ( #2726 )
2021-10-08 11:38:24 -03:00
Jonas Kruckenberg
b5ee03a13a
feat(cli.rs): expose debug flag to beforeDev/beforeBuild commands ( #2727 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-08 11:30:06 -03:00
Lucas Fernandes Nogueira
53fdfe52bb
feat(core): expose run_on_main_thread
API ( #2711 )
2021-10-04 12:54:38 -03:00
Lucas Fernandes Nogueira
7ed3f3b7e4
feat(cli.rs): validate distDir
, closes #2554 ( #2701 )
2021-10-04 12:54:14 -03:00
Lucas Fernandes Nogueira
e98c1af442
feat(core): expose message dialog APIs, fix window.confirm, implement HasRawWindowHandle for Window, closes #2535 ( #2700 )
2021-10-02 16:13:24 -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
Amr Bashir
3924c3d853
fix(api.js): fix os.platform
return on macos and windows, closes #2698 ( #2699 )
...
Co-authored-by: FabianLars <fabianlars@fabianlars.de>
2021-10-02 14:15:20 -03:00
Lucas Fernandes Nogueira
11db96e440
fix(cli.js): .ico
icon generation, closes #2692 ( #2694 )
...
* fix(cli.js): `.ico` icon generation, closes #2692
* fmt
* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Fernandes Nogueira
4c0c780e00
fix(core): window's inner_size usage, closes #2187 ( #2690 )
2021-09-29 20:52:05 -03:00
Lucas Nogueira
a6f270c235
chore(changes): remove change file
2021-09-28 10:11:06 -03:00
Jonas Kruckenberg
c8262b736f
fix: include typescript declarations in plugin template ( #2674 )
2021-09-28 10:03:38 -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
ac8e69a98c
feat(cli.rs): add init plugin
command, bootstraps a plugin project ( #2669 )
2021-09-27 20:15:17 -03:00
ThisSeanZhang
3a59f5f79e
Unlisten to an event on this window ( #2664 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-27 17:11:23 -03:00
Julien Kauffmann
bdbf905e5d
Transformed event-loop callback to FnMut to allow mutable values ( #2667 )
2021-09-27 16:27:37 -03:00
Lucas Fernandes Nogueira
a8cff6b3bc
feat(cli): do not enforce src-tauri
folder structure, closes #2643 ( #2654 )
2021-09-27 14:54:41 -03:00
Lucas Nogueira
f68603aee4
chore(docs): simplify event system documentation
2021-09-27 13:07:05 -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
Lucas Fernandes Nogueira
cc2f39a29f
feat(core): add on_event
hook on the Plugin
trait ( #2656 )
2021-09-26 01:25:45 -03:00
Lucas Fernandes Nogueira
8599313a0f
feat(cli.rs): env vars for beforeDev/beforeBuild commands, closes #2610 ( #2655 )
2021-09-26 01:25:35 -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 Fernandes Nogueira
205b0dc8f3
feat(cli.js): add CommonJS dist files ( #2646 )
2021-09-23 23:48:02 -03:00
Lucas Fernandes Nogueira
0f321ac08d
fix(api): do not ship TS files, closes #2598 ( #2645 )
2021-09-23 23:41:55 -03:00
Lucas Fernandes Nogueira
8d630bc8c4
fix(cli.rs): fix workspace detection, fixes #2614 , closes #2515 ( #2644 )
2021-09-23 23:37:27 -03:00
Adilson Schmitt Junior
cc8b1468c8
Fix(api): Window size and position returning wrong class ( fix : #2599 ) ( #2621 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
David D
71ea86a443
feat(cta): add SolidJS recipe ( #2619 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-09-22 10:42:58 -03:00
Amr Bashir
fe381a0bde
fix: join
no longer cares if path doesn't exist, closes #2499 ( #2548 )
2021-09-21 16:22:23 -03:00
Robert Buchanan
2be1abd112
fix(bundler) wix template escape character ( #2608 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-21 12:43:51 -03:00
Lucas Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info ( #2618 )
2021-09-21 10:24:48 -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
c1494b3532
refactor: return Weak<Window> on create_tao_window
2021-08-31 15:50:40 -03:00
Lucas Nogueira
dbe0d21b6f
fix(core): initialize system tray before app windows
2021-08-31 14:53:27 -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
Barry Simons
2026134f47
fix(cli.rs): pnpm tauri info exits with error ( fix #2509 ) ( #2510 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 13:01:16 -03:00
edgex004
97edb3ac49
Fix : #2508 . Update dominator recipe description. ( #2514 )
...
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-24 11:58:08 -03:00
Elvinas Predkelis
3b33d67aa4
fix: re-adding focus/blur events for linux and macos ( fix #2485 ) ( #2489 )
...
* fix: re-adding focus/blur events for linux and macos, closes #2485
* add change files [skip ci]
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-24 11:47:54 -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
Lucas Nogueira
1a28904b8e
fix(core): resource path resolution on Linux, closes #2493
2021-08-22 20:41:26 -03:00
Ngo Iok Ui (Wu Yu Wei)
994b5325dd
fix: missing asset protocol path ( #2484 )
2021-08-22 16:12:45 -03:00
edgex004
0391ac3dc9
fix: Update cli.yml to pass clap ArgSettings::MultipleValues assertion. ( #2506 ) ( #2507 )
...
Co-authored-by: David Von Edge <david.vonedge@smiths.com>
2021-08-22 16:08:31 -03:00
github-actions[bot]
431e9e44e4
Apply Version Updates From Current Changes ( #2467 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-17 10:41:30 -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
8d1fe0ea05
feat(cli.js): readd ESM distribution ( #2468 )
2021-08-17 10:27:02 -03:00
Lucas Fernandes Nogueira
a54bba6c86
fix(core): cleanup app before exit, closes #2464 ( #2466 )
2021-08-17 09:29:32 -03:00
github-actions[bot]
81d245f687
apply version updates ( #2458 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-08-16 20:19:59 -03:00
Lucas Fernandes Nogueira
01ad29257c
fix(cli.js): revert ESM distribution ( #2457 )
2021-08-16 20:15:49 -03:00
github-actions[bot]
80f16d35f9
Apply Version Updates From Current Changes ( #2246 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-16 17:59:06 -03:00
Lucas Fernandes Nogueira
50ffdc06fb
feat(core): panic when a dispatcher getter is used on the main thread ( #2455 )
2021-08-16 17:28:15 -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
Lucas Nogueira
60b1e260f5
chore: adjust change file
2021-08-16 15:39:12 -03:00
Lucas Fernandes Nogueira
9bfdeb42ef
feat(bundler): add config for WiX dialog image path ( #2449 )
2021-08-16 12:03:00 -03:00
Ngo Iok Ui (Wu Yu Wei)
cd55d67149
doc: update tauri documentations ( #2446 )
2021-08-16 11:32:37 -03:00
Lucas Fernandes Nogueira
13003ec761
feat(bundler): add config for WiX banner path, closes #2175 ( #2448 )
2021-08-16 11:17:29 -03: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
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 Fernandes Nogueira
a539471609
chore: update rust to 1.54.0 ( #2434 )
2021-08-15 10:47:15 -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 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
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
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
Lucas Fernandes Nogueira
9aeb04faf4
feat(core): async_runtime
handle
API, spawn
returns JoinHandle
( #2399 )
2021-08-11 21:49:09 -03:00
Lucas Fernandes Nogueira
5f6e135f23
refactor(cli.js): package as ES module, closes #2256 ( #2392 )
2021-08-11 14:00:35 -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
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
Lucas Fernandes Nogueira
737da87244
fix(core): random shell command output order, closes #2184 ( #2376 )
2021-08-09 10:56:21 -03:00
Lucas Fernandes Nogueira
1ecb8651a7
fix(core): listen
receiving past events, closes #2323 ( #2371 )
2021-08-09 00:10:25 -03:00
Lucas Fernandes Nogueira
9b32b93996
fix(core): fs-all
feature not including base64
crate, closes #2336 ( #2368 )
2021-08-08 21:16:03 -03:00
Wouter Buckens
892c63a053
feat( #2287 ): Add ExitRequested
event to let users prevent app from exiting ( #2293 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 21:12:32 -03:00
david
44f6ee4cfd
chore(ci): add step to detect code signing ( #2245 )
...
* chore(ci): add step to detect code signing
* fix variable name and add changefile
2021-08-08 18:19:45 -03:00
david
c576119013
fix(updater): Run elevated task only if server tell us ( #2357 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:54 -03:00
Pankaj Patil
97bc52ee03
Tooling: [API] Changed target in tsconfig to es6 ( #2362 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-08 18:13:46 -03:00
Jacob Bolda
c410e034f7
convert jest tests to child_process run script ( #2308 )
...
* convert jest tests to child_process run script
* remove vuecli (it freezes), add angular
* run cargo build in correct dir
* add in asserts on fs
* normalize assert for node14
* fix installing empty dependencies
* add messages to asserts
* use test dir to check if running local cli
* try running in parallel
* run in parallel and log output serially
* avoid parallel, skip yarn for now
* add change file
* disable running with npm6 due to vite fail
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-08-08 03:13:05 -05:00
Ngo Iok Ui (Wu Yu Wei)
63ad303903
chore(linux): bump gtk to v0.14 ( #2361 )
...
* Bump gtk to v0.14
* Switch back to rfd
2021-08-06 18:15:22 +02:00
Amr Bashir
235e0f6785
feat(CTA): add official support for pnpm
package manager ( #2348 )
...
* feat(CTA): add official support for `pnpm` package manager
* adjust post-message formatting [skip ci]
* optimize package managers checks
2021-08-06 23:35:39 +08:00
Lucas Fernandes Nogueira
c17532f741
refactor(core): change Plugin initialize
signature, move register t… ( #2347 )
...
* refactor(core): change Plugin `initialize` signature, move register to AppHandle
* clippy
2021-08-03 22:06:05 -03:00
Lucas Fernandes Nogueira
d0142e87dd
fix(core): invoke key injection on regular JS scripts, closes #2342 ( #2344 )
2021-08-03 13:53:38 -03:00
david
6e0dbf639a
fix(core): Expose ClipboardManager
and GlobalShortcutManager
( #2263 )
2021-08-03 12:56:43 -03:00
Lucas Fernandes Nogueira
84a0e04cbe
feat(core): try_state
API on the Manager
trait ( #2341 )
2021-08-02 17:01:53 -03:00
Lucas Fernandes Nogueira
15566cfd64
feat(core): add API to send wry window message to the event loop ( #2339 )
...
* feat(core): add API to send wry window message to the event loop
* expose types
2021-08-02 16:45:24 -03:00
Lucas Fernandes Nogueira
5b7be8133a
feat(core): add plugin register API on the Manager
trait ( #2340 )
2021-08-02 16:06:41 -03:00
Amr Bashir
05b9d81ee6
feat(api.js): add nodejs-inspired functions in path
module ( #2310 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:58:09 -03:00
Amr Bashir
1a51006673
fix(core): data-tauri-drag-region
didn't respect resizable, closes #2314 ( #2316 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:43:31 -03:00
chip
4b2aa35684
Add back WebDriver support ( #2324 )
2021-08-01 23:54:10 -03:00
Amr Bashir
d22da650ef
fix(core): fallback to {asset}/index.html
before index.html
, closes #2328 ( #2329 )
2021-08-01 23:46:13 -03:00
Amr Bashir
cf9f6aa148
fix(core): fix typo in notifications, closes #2330 ( #2331 )
...
* fix(core): fix typo in notifications, closes #2330
* Update core-notification-typo.md
* [skip ci]
2021-08-01 23:45:36 -03:00
FabianLars
c2b0fe1ce5
fix(core): fix wrong file drop events ( #2300 )
2021-07-30 18:58:09 -04:00
david
426a6b4996
feat(macOS): Implement tray icon template ( #2322 )
2021-07-29 15:29:59 -04:00
david
8808085541
feat(window): Allow creation of Window without wry
( #2321 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-29 14:35:26 -03:00
FabianLars
0f63f5e757
fix(api): Fix monitor functions, closes #2294 ( #2301 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-07-29 13:44:24 -03:00
Amr Bashir
c0f42ad0e3
feat(cta): prompt users to install @tauri-apps/api
package ( #2251 )
2021-07-29 09:34:29 -03:00
Amr Bashir
718d9513ce
refactor(cta): update vite
recipe to use their new npm package ( #2220 )
2021-07-29 09:31:04 -03:00
FabianLars
aa498e7261
fix: unlisten removes all listeners, closes #2264 ( #2302 )
2021-07-28 19:56:47 -03:00
Lucas Fernandes Nogueira
1792c45592
fix(core): run setup after preparing system tray ( #2312 )
...
* fix(core): run setup after preparing system tray
* change file [skip ci]
2021-07-28 15:13:30 -03:00
Amr Bashir
05e679a6d2
feat(api.js): add os
module ( #2299 )
...
* feat(api.js): add `os` module
* use correct endpoint for version
* return version as a string
* clippy
* cleanup ?!
* [skip ci]
* [skip ci]
2021-07-28 13:17:11 -03:00
Lucas Fernandes Nogueira
71d687b787
feat(cli.rs): platform-specific conf.json ( #2309 )
2021-07-28 12:55:32 -03:00
Lucas Fernandes Nogueira
268450b132
fix(api): global bundle broken code, closes #2289 ( #2297 )
2021-07-26 11:25:08 -03:00
chip
8216cba13d
App.create_window()
to accept any Into<String>
type (fix #2290 ) ( #2291 )
...
* Fix `App.create_window()` to accept any `Into<String>` type
* Update changefile to show both changed functions
* Reduce changefile level to patch
Co-authored-by: Wouter Buckens <wouter@epicteddy.com>
2021-07-26 08:28:50 -04:00
david
70a1941468
fix(core): Force data_directory on Windows ( #2288 )
2021-07-23 10:29:22 -04:00
Amr Bashir
d832d575d9
fix(windows): use webview events on windows ( #2277 )
2021-07-23 09:31:17 -04:00
FabianLars
a8c1de5547
fix listen_global not listening to events with a window label ( #2272 )
2021-07-23 09:23:38 -04:00
Wouter Buckens
31685c9f9d
fix( #2281 ): Prevent double slashes when joining URLs ( #2282 )
2021-07-23 09:17:28 -04:00
Amr Bashir
9fbcc02454
fix(api.js): fix double window creation, closes #2284 ( #2285 )
2021-07-23 09:06:12 -04:00
Ben Briggs
83786ce8a4
fix( #2230 ) - Unable to uninstall when using Skip UAC task ( #2231 )
2021-07-23 07:43:17 -04:00
Kris Scott
151c3157be
Add svelte recipe to create-tauri-app ( #2276 ) ( #2279 )
2021-07-22 15:26:57 -04:00
Jonathan Dizdarevic
226414d1a5
"cannot find type MenuHash
in this scope" ( #2240 )
2021-07-20 05:37:21 -04:00
Amr Bashir
dd52e738f1
fix(api.js): fix @ts-expect-error
usage, closes #2249 ( #2250 )
2021-07-19 18:19:58 -04:00
FabianLars
e3f9916526
fix(core) minHeight being used as maxHeight ( #2247 )
2021-07-19 13:24:03 -04:00
Amr Bashir
4f88c3fb94
fix(api.js): bundle
now exports clipboard
mod, closes #2243 ( #2244 )
2021-07-19 08:30:28 -04:00
github-actions[bot]
e48bb3edff
apply version updates ( #2121 )
2021-07-16 09:23:10 -04:00
david
3389bd8180
fix(linux): use glib main context for the updater on linux ( #2222 )
2021-07-16 09:06:56 -04:00
david
f0a8db62e4
core(deps): bump wry
to 0.11
( #2210 )
2021-07-15 11:47:19 -04:00
Ben Briggs
58129e0a95
feat(bundler) Update on Windows without UAC Prompt ( #2155 )
2021-07-15 10:38:03 -04:00
chip
fd8fab507c
refactor(core): remove Params
and replace with strings ( #2191 )
...
* refactor(core): remove `Params` and replace with strings
* add tauri-utils to changelog
* update default runtime macro to accept type and feature
* remove accidental default feature addition
* remove changefile todo items that have no futher action
* fix clippy warning
* update changefile
* finish change file
* fix splashscreen example
* fix markdown typo [skip ci]
* remove final uses of `Params`
* add license header to new runtime module in tauri-macros
* update plugin guide to use runtime instead of params
2021-07-15 18:05:29 +08:00
Epsilon_02
489fad5524
Angular create tauri app [ #1934 ] ( #2203 )
2021-07-14 16:36:46 -04:00
david
caa8fcc93e
fix(windows): use random Guid
for uninstaller (wix) ( #2208 )
...
* use random `Guid` for uninstaller
* add changefile
* better naming structure for the component
2021-07-14 21:38:31 +08:00
Friedel Ziegelmayer
7ee2dc8b69
feat(cli.rs): add release argument to the dev command ( #2192 )
2021-07-12 12:59:02 -03:00
Lucas Fernandes Nogueira
a410958d45
Revert "fix(wry): resize webview on window move, closes #1911 " ( #2202 )
...
This reverts commit 06abe65569
.
2021-07-12 12:58:49 -03:00
david
456a94f663
fix(macOS): updater EXC_BAD_ACCESS
( #2181 )
...
* fix(ci): updater artifacts
* add temporary macos signature
* add entitlement and notarization credentials
* WIP macos fix
* build version 2.0.0 with macos signature
* [ci skip] revert version to `1.0.0`
* sandbox current app to a directory
* make clippy happy
* [ci skip] disable `Notarization` in CI tests
* [ci skip] add changefile
* remove unwanted `unwrap` and `expect`
* fmt
2021-07-12 12:03:27 -03:00
FabianLars
578610a29d
fix(core): fix drag-region not sending its events correctly ( #2196 )
2021-07-12 12:00:41 -03:00
FabianLars
bc2c331dec
fix: center and focus not being allowed in config ( #2199 )
2021-07-12 11:59:32 -03:00
Lucas Fernandes Nogueira
8157a68af1
feat(core): allow listening to event loop events & prevent window close ( #2131 )
2021-07-06 13:36:37 -03:00
Lucas Fernandes Nogueira
d69b1cf6d7
feat(api): allow mananing windows created on JS ( #2154 )
2021-07-05 12:16:55 -03:00
Lucas Fernandes Nogueira
5d7626f897
feat(api): WindowManager extends WebviewWindowHandle, add events docs ( #2146 )
2021-07-03 23:38:35 -03:00
Lucas Fernandes Nogueira
acb88929c4
fix(core): export MenuHandle
and MenuEvent
( #2148 )
2021-07-03 23:27:48 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc
in repo root ( #2145 )
2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
e0a8e09cab
feat(core): expose gtk_window
, closes #2083 ( #2141 )
2021-07-02 13:08:51 -03:00
Ngo Iok Ui (Wu Yu Wei)
6569c2bf5c
refactor(wry): remove a few locks requirements ( #2137 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-07-02 00:06:58 -03:00
Lucas Fernandes Nogueira
4b0ec01880
fix(core): improve JS ESM detection ( #2139 )
2021-07-02 00:00:40 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5
feat(api): add convertFileSrc
helper ( #2138 )
2021-07-02 00:00:30 -03:00
Lucas Fernandes Nogueira
06abe65569
fix(wry): resize webview on window move, closes #1911 ( #2135 )
2021-07-02 00:00:05 -03:00
Amr Bashir
3e6f34160d
fix(cli.rs): run powershell kill command without profile ( #2130 )
2021-06-30 15:12:37 -03:00
Lucas Fernandes Nogueira
e663bdd593
fix(core): svg mime type ( #2129 )
2021-06-30 13:04:09 -03:00
Ngo Iok Ui (Wu Yu Wei)
a280ee90af
Fix high cpu usage on mac, fix #2074 ( #2125 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 10:38:22 -03:00
LisiurDay
fd0334645b
fix: tauri init may failed with no error message. ( fix #2079 ) ( #2117 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-30 09:26:49 -03:00
Lucas Fernandes Nogueira
f03eea9c9b
feat(core): inject invoke key on <script type="module">
( #2120 )
2021-06-29 20:40:41 -03:00
github-actions[bot]
4339b46e4b
Apply Version Updates From Current Changes ( #2113 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 21:57:26 -03:00
Lucas Fernandes Nogueira
99d960841c
fix(core): custom protocol regression ( #2115 )
2021-06-28 21:51:12 -03:00
Lucas Fernandes Nogueira
1a41e9f040
feat(cli.rs): improve error message on app rename, closes #2101 ( #2114 )
2021-06-28 21:25:18 -03:00
Amr Bashir
8b7ac1ad14
feat: double-click tauri-drag-region to maximize, closes #1839 ( #2106 )
2021-06-28 20:14:36 -03:00
github-actions[bot]
3806b88ee1
Apply Version Updates From Current Changes ( #2069 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-28 11:03:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
ee60e42422
feat: asset custom protocol to access local file system ( #2104 )
2021-06-28 10:56:20 -03:00
Lucas Fernandes Nogueira
628a53eb61
fix(cli): properly detect target architecture, closes #2040 ( #2102 )
...
* fix(cli): properly detect target architecture, closes #2040
* clippy
2021-06-28 10:17:43 -03:00
Lucas Fernandes Nogueira
8e23870189
fix(cli.rs): fix out dir detection when target arg is set, closes #2040 ( #2098 )
2021-06-27 21:21:05 -03:00
Lucas Fernandes Nogueira
d18b5367a9
feat(core): enfore label uniqueness, closes #2067 ( #2097 )
2021-06-27 21:05:45 -03:00
Lucas Fernandes Nogueira
7765c7fa28
fix(core): invoke key injection on ES module, improve performance ( #2094 )
2021-06-27 19:51:47 -03:00
Lucas Fernandes Nogueira
fe32afcc93
fix(core): Window
must be Send + Sync
on Windows, closes #2078 ( #2093 )
2021-06-27 11:02:17 -03:00
Lucas Fernandes Nogueira
8c13344f8f
fix(core): command events not firing consistently ( #2082 )
2021-06-27 10:00:43 -03:00
Lucas Fernandes Nogueira
a61572127d
fix(bundler): resources bundling on Windows with nested folder structure ( #2081 )
2021-06-25 21:15:45 -03:00
github-actions[bot]
df95fb6aaa
Apply Version Updates From Current Changes ( #2068 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-24 09:47:49 -03:00
Roojay
394b6e0572
fix(api): http ResponseType
export type error ( #2065 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-24 09:38:29 -03:00
github-actions[bot]
5353379d15
Apply Version Updates From Current Changes ( #1823 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2021-06-23 16:56:16 -03:00
Lucas Nogueira
b4426eda9e
Revert "WebDriver support ( #1972 )"
...
This reverts commit be76fb1dfe
.
2021-06-23 16:30:40 -03:00
Lucas Fernandes Nogueira
ebaa33cb47
fix(core): remove closed window from window.__TAURI__.__windows
( #2057 )
2021-06-23 16:20:19 -03:00
Lucas Fernandes Nogueira
fca976404e
fix(wry): window event listeners being emitted to all windows ( #2056 )
2021-06-23 16:20:09 -03:00
Lucas Fernandes Nogueira
dee71ad583
fix(workflows): update docs workflow syntax ( #2054 )
2021-06-23 15:24:23 -03:00
Lucas Fernandes Nogueira
47f7558417
fix(core): resolve HTTP API on non-ok status code, fix binary response, closes #2046 ( #2053 )
2021-06-23 14:22:28 -03:00
Lucas Nogueira
c22e5a7c2e
fix(covector): keep tauri-driver
version as alpha
2021-06-23 14:20:14 -03:00
chip
be76fb1dfe
WebDriver support ( #1972 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-23 13:59:47 -03:00
Lucas Fernandes Nogueira
f0603fccb3
feat(bundler): desktop shortcut on Windows ( #2052 )
2021-06-23 13:02:28 -03:00
Lucas Fernandes Nogueira
160fb0529f
feat(core): improve RPC security, closes #814 ( #2047 )
2021-06-22 17:29:10 -03:00
Lucas Fernandes Nogueira
034c26013b
feat(core): add accelerator
method to CustomMenuItem
( #2043 )
2021-06-22 12:53:13 -03:00
Lucas Fernandes Nogueira
59784c7e55
feat(core): implement CommandArg
for AppHandle
( #2037 )
2021-06-21 14:00:34 -03:00
Lucas Fernandes Nogueira
1006c1cf3b
fix(core): HTTP headers being overwritten by reqwest, closes #2032 ( #2036 )
2021-06-21 13:47:21 -03:00
Lucas Fernandes Nogueira
285bf64bf9
feat(core): add clipboard writeText and readText APIs ( #2035 )
2021-06-21 13:32:22 -03:00