Commit Graph

409 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
983ccb815b
feat(core): allow denying paths on the fs and asset scopes (#3607) 2022-03-03 17:32:12 -03:00
Lucas Fernandes Nogueira
64e0054299
refactor(core): do not panic on invalid window labels,#3544 (#3596) 2022-03-03 14:47:31 -03:00
Lucas Fernandes Nogueira
0f1558980a
fix(core): docs.rs on Windows and macOS (#3566)
Co-authored-by: chip <chip@chip.sh>
2022-03-02 13:08:42 -03:00
Lucas Fernandes Nogueira
9b3b163baa
feat(core): simplify scope definition for sidecars (#3574) 2022-03-02 10:21:36 -03:00
Lucas Fernandes Nogueira
b10a7cfa00
chore(cli): update clap to 3.1 (#3568) 2022-02-27 17:35:43 -03:00
Lucas Fernandes Nogueira
944b124ce0
feat(core): enhance HTTP scope glob validation, closes #3507 (#3515) 2022-02-24 10:06:19 -03:00
Qizheng Mo
d7924b0525
fix: typo in the hello world example README.md (#3531) 2022-02-24 09:39:23 -03:00
Lucas Fernandes Nogueira
b571c249dc
chore(deps): update to wry v0.13.2 (#3503) 2022-02-18 10:39:10 -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
fncraft
163c4e87b0
docs(examples): fix typo in hello world example (#3494) 2022-02-17 20:26:46 +02:00
Lucas Fernandes Nogueira
2ecbed8d59
fix(bundler): sidecar on Windows, closes #3446 (#3482) 2022-02-16 21:44:40 -03:00
Lucas Fernandes Nogueira
afcc3ec501
fix(build): rerun if resource or sidecar change (#3460) 2022-02-14 18:33:40 -03:00
Lucas Fernandes Nogueira
cd9a20b9ab
refactor(cli.js): run on separate thread (#3436) 2022-02-13 13:50:51 -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
Lucas Nogueira
317d5dd17d
docs(api): document shell scope 2022-02-11 15:04:00 -03:00
Lucas Nogueira
f37a36f58b
fix: streaming example 2022-02-11 14:12:44 -03:00
Lucas Nogueira
1d92d6a55d
fix(examples): streaming example CSP 2022-02-11 14:04:24 -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 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
2403e732df
feat(cli.rs): add tests to node binding, delete cli.js (#3381)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2022-02-10 16:45:41 -03:00
Lucas Nogueira
e61162aa9a
refactor(example): use path_resolver API on the resource example 2022-02-10 11:21:02 -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
85632759c3
fix(examples): remove inline style usage due to CSP (#3373) 2022-02-09 12:45:34 -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
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
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
Lucas Fernandes Nogueira
a892728c08
fix(examples): allowlist configuration for core examples (#3340) 2022-02-06 10:50:45 -03:00
Lucas Fernandes Nogueira
af329f2722
feat(bundler): wix localization, closes #3174 (#3179) 2022-02-05 15:13:07 -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
dependabot[bot]
784ecf7a64
chore(deps): bump nanoid from 3.1.30 to 3.2.0 in /examples/api (#3262)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
[skip ci]
2022-02-04 23:51:14 -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
3d77bd3981
refactor(examples): use fixed file name on API example dist files 2022-02-04 18:33:43 -03:00
Lucas Nogueira
6ea4626337
fix(examples): API example compilation issues 2022-02-04 18:31:54 -03:00
Jacob
e57a303748
docs(examples): add missing Readme and clarify existing (#3327)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 17:56:57 -03:00
dependabot[bot]
4e6308c296
chore(deps): bump simple-get from 3.1.0 to 3.1.1 in /examples/sidecar (#3329)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-04 15:52:45 -03:00
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
dependabot[bot]
529912515e
chore(deps): bump node-fetch from 2.6.1 to 2.6.7 in /examples/sidecar (#3271)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-23 16:54:16 -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
FabianLars
d5e6046756
Fix broken links to tauri.studio docs (#3212) 2022-01-13 13:34:31 -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
b43019a2b0
fix: shell allowlist scope 2022-01-09 16:31:40 -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 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
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
8259cd64c2
feat(core): inject CSP on data URLs [TRI-049] (#16) 2022-01-09 14:57:12 -03:00
Lucas Nogueira
2a7bf6d912
refactor(examples): improve security when rendering HTML strings [TRI-003] (#14) 2022-01-09 14:35:30 -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
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
Hecatron
bc7973d10e
Added example for CPP Dll useage (#3157) 2022-01-07 12:37:31 -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
Lucas Fernandes Nogueira
74dff536d4
fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -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
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
Lorenzo Lewis
1f800e83b6
fix: #617 Update macOS icons to Big Sur style (#2870) 2021-12-06 23:41:13 +01:00
Lucas Nogueira
c52b4b7da4
fix: API example for window interaction 2021-11-25 12:37:36 -03:00
Lucas Fernandes Nogueira
15164d930a
feat(core): allow defining a custom invoke system (#2899) 2021-11-16 12:58:18 -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
DEWA Kazuyuki/出羽和之
063eb586bd
.scripts/setup.sh does not work on Ubuntu dash (#2702) 2021-10-03 00:56:49 -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 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
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
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
Lucas Nogueira
0473e25d89
Merge branch 'dev' into next 2021-09-21 13:16:27 -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
2ec998b982
fix(examples): use dev server URL on API example devPath config 2021-08-30 11:37:51 -03:00
grey4owl
774b8a1df7
fix(examples): API example with npm, closes #2470 (#2536)
* 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

* Update package.json

Small typo in path..

* update lockfile [skip ci]

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:47:20 -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
126e18142f
fix(examples): icon transparency (#2450) 2021-08-16 13:01:53 -03:00
Alve Larsson
7057c0f7b8
New brand (#2445)
* Update readme

* Update splash.svg

* New logo

* change to image

* Update splash.png

* Update README.md

* Mac Tray icon fix
2021-08-16 22:00:40 +08: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
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
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
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
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
426a6b4996
feat(macOS): Implement tray icon template (#2322) 2021-07-29 15:29:59 -04: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
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
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
up-to-you
d4ff7be3b4
Update example/api README.md fix #2151 (#2177) 2021-07-08 12:04:22 -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 Nogueira
2e2dc7c774
fix(core): temporary fix for clippy issue 2021-07-03 20:20:54 -03:00
Amr Bashir
66916b739f
chore: add .prettierrc in repo root (#2145) 2021-07-03 19:48:04 -03:00
Lucas Fernandes Nogueira
51a5cfe4b5
feat(api): add convertFileSrc helper (#2138) 2021-07-02 00:00:30 -03:00
Lucas Fernandes Nogueira
66efb43388
fix(docs): target triple detection script, closes #2084 (#2096) 2021-06-27 21:21:24 -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
285bf64bf9
feat(core): add clipboard writeText and readText APIs (#2035) 2021-06-21 13:32:22 -03:00
Lucas Nogueira
feb7c6e4ac
fix(examples): sidecar example on Windows 2021-06-21 01:13:54 -03:00
Lucas Fernandes Nogueira
7dcca6e928
feat(core): add request_user_attention API, closes #2023 (#2026)
* feat(core): add `request_user_attention` API

* fix: api lint

* fix build without window allowlist
2021-06-20 23:42:38 -03:00
Lucas Fernandes Nogueira
1c97a151c1
feat(examples): add resources example (#2001) 2021-06-17 08:59:27 -03:00
Lucas Fernandes Nogueira
ec88e30617
feat(examples): add sidecar example (#1999) 2021-06-16 22:18:24 -03:00
Lucas Fernandes Nogueira
860830d870
feat(examples): improve api example, closes #1535 (#1957) 2021-06-15 23:12:41 -03:00
dependabot[bot]
546f4cc4cd
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 in /examples/api (#1980)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 22:41:29 -03:00
Lucas Fernandes Nogueira
954460c520
feat(core): MenuHandle show, hide, is_visible and toggle APIs (#1958) 2021-06-15 22:04:44 -03:00
nothingismagick
463fd00d06
fix(csp): add wss and tauri to conf template (#1974)
* fix(csp): add wss and tauri to conf template

* add change file, update examples/docs

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-06-15 13:37:24 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2
feat(core): add window center API, closes #1822 (#1954) 2021-06-05 18:20:16 -03:00
Lucas Fernandes Nogueira
dc6b0d8522
feat(core): set .rc values from tauri.conf.json, closes #1849 (#1951) 2021-06-05 01:16:54 -03:00
Lucas Fernandes Nogueira
f7e9fe8f3f
refactor(core): new system tray and window menu APIs, closes #1898 (#1944) 2021-06-04 13:51:15 -03:00
Lucas Fernandes Nogueira
c021968eb8
fix(core): asset loading not decoding percent-encoded path, closes #1879 (#1938) 2021-06-01 15:49:24 -03:00
Lucas Nogueira
9ddd9a97ed
fix(examples): api shell example promise catch [skip ci] 2021-05-31 22:36:37 -03:00
Lucas Fernandes Nogueira
6ec54c53b5
feat(core): allow dev_path, dist_dir as array of paths, fixes #1897 (#1926)
* feat(core): allow `dev_path`, `dist_dir` as array of paths, fixes #1897

* fix: clippy
2021-05-31 11:42:10 -03:00
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar API to the WindowBuilder/WindowOptions 2021-05-30 18:43:28 -03:00
Lucas Nogueira
36506c967d
feat(core): add is_visible API 2021-05-30 18:06:24 -03:00
Lucas Fernandes Nogueira
d1f650edd3
chore(docs): improve manage API examples on interior mutability (#1875) 2021-05-20 10:40:18 -03:00
Lucas Fernandes Nogueira
aab3e1f18b
refactor(core): move api modules behind allowlist feature flags (#1864)
* refactor(core): move api modules behind allowlist feature flags

* run fmt
2021-05-19 09:21:57 -03:00
Lucas Fernandes Nogueira
17c7c4396f
refactor(core): use attohttpc by default (#1861) 2021-05-19 01:06:08 -03:00
Lucas Fernandes Nogueira
95d518afa1
feat(core): expose AppHandle, add create_window API (#1855) 2021-05-18 16:49:01 -03:00
Lucas Fernandes Nogueira
7616e6cc7b
feat(api): validate window API size and location arguments (#1846)
* feat(api): validate window API `size` and `location` arguments

* fmt
2021-05-17 11:47:11 -03:00
Ngo Iok Ui (Wu Yu Wei)
c1f8e11342
chore: remove unnecessary anonymous lifetimes (#1829) 2021-05-14 10:29:54 -03:00