Commit Graph

519 Commits

Author SHA1 Message Date
Lucas Nogueira
ef9ecd511f fix(ci): windows tests 2022-02-09 12:44:08 -03:00
renovate[bot]
27b1a0719a chore(deps) Update Rust crate cargo_toml to 0.11 (#3365)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:49:14 -03:00
renovate[bot]
b5581741e8 chore(deps) Update Rust crate sha2 to 0.10 (#3368)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-09 11:40:01 -03:00
Lucas Nogueira
e0588c45b8 fix(tests): remove windows assertion on check_read_string_fail 2022-02-09 01:26:50 -03:00
Lucas Fernandes Nogueira
7b7a3a89d1 feat(core): update serialize-to-javascript dependency (#3363) 2022-02-09 01:24:35 -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
4a10e88c4b feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -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
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
f739e446f5 fix(core): set window URL before preparing asset protocol CORS header (#3346) 2022-02-06 18:50:59 -03:00
Lucas Fernandes Nogueira
9b34055264 fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Lucas Fernandes Nogueira
6330b66be7 fix(core): sidecar usage on Windows, closes #3341 (#3345) 2022-02-06 16:59:20 -03:00
Fabian-Lars
7d2a6d8055 Fix(core): import regex if shell-open is enabled. (#3339)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-06 10:50:27 -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
Kasper
d0f9a03d20 Add tauri::Builder doc comment examples (#3151)
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-02-05 20:36:36 -03:00
renovate[bot]
78bf08e9ad chore(deps) Update Rust crate clap to v3.0.6 (#3194)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-05 15:17:55 -03:00
Lucas Fernandes Nogueira
af329f2722 feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -03:00
Lucas Nogueira
a017fbc71d fix(core): regression on dialog and updater feature flag usage 2022-02-05 14:55:28 -03:00
Ngo Iok Ui (Wu Yu Wei)
2815bf6511 Update gtk to 0.15 (#3247) 2022-02-05 13:29:03 +08:00
Lucas Fernandes Nogueira
4818531aba refactor(core): add blocking dialog APIs, improve docs, closes #3255 (#3270) 2022-02-05 00:43:19 -03:00
renovate[bot]
effba95dd6 chore(deps) Update Rust crate zstd to 0.10 (#3282)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-05 00:43:03 -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
Lucas Nogueira
a76abc48f2 fix(config): doc for beforeDevCommand and beforeBuildCommand 2022-02-04 18:13:46 -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
a434393413 fix(core): feature flag usage on the shell APIs 2022-02-04 16:28:11 -03:00
Lucas Nogueira
01f8fff34b fix(ci): Rust workspace test with all features 2022-02-04 15:17:08 -03:00
Lucas Nogueira
c6ba7f6524 fix(ci): update lockfiles 2022-02-04 14:48:45 -03:00
Lucas Nogueira
0fcd7bec37 fix(deps): remove unused dependencies 2022-02-04 14:24:56 -03:00
Lucas Nogueira
675d171eed fix(core): tests, lint 2022-02-04 14:03:27 -03:00
Lucas Nogueira
5fe3a37da3 fix(build): allowlist features mismatch detection 2022-02-04 13:37:23 -03:00
Lucas Nogueira
a08509c641 fix(api): remove currentDir API from the path module 2022-02-04 11:49:23 -03:00
Lucas Nogueira
224f81b4d0 chore(deps): update wry rev 2022-02-04 11:40:56 -03:00
Lucas Nogueira
06cbc1ee57 chore(core): fix clippy warnings 2022-02-03 10:18:24 -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 Fernandes Nogueira
61851f49ea refactor(core): use regex only for the shell scope API (#46)
Co-authored-by: chip <chip@chip.sh>
2022-02-03 10:01:30 -03:00
Lucas Nogueira
d740ae66ac refactor: move data-url usage behind window-data-url feature 2022-02-02 20:43:14 -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
Lucas Nogueira
b82e2b5cf7 feat(core): configure HTTP scope using glob patterns 2022-01-31 10:30:32 -03:00