Lucas Fernandes Nogueira
95726ebb61
feat(cli): prevent default bundle identifier from building, closes #4041 ( #4042 )
2022-05-04 10:48:38 -03:00
Lucas Fernandes Nogueira
a0ecd81a93
fix(core): percent decode file drop payloads, closes #4034 ( #4035 )
2022-05-03 13:05:18 -03:00
Lucas Fernandes Nogueira
715cbde384
feat(config): add $schema
to tauri.conf.json
, closes #3464 ( #4031 )
2022-05-03 12:26:16 -03:00
Lucas Fernandes Nogueira
164078c0b7
feat: allow limiting dangerousDisableAssetCspModification, closes #3831 ( #4021 )
2022-05-02 21:04:21 -03:00
Lucas Nogueira
5666c0bce8
fix(examples): properly load request path in streaming example
2022-05-01 20:46:37 -03:00
Lucas Fernandes Nogueira
094534d138
fix(cli): dev command stderr text overflow on Windows, closes #3995 ( #4000 )
2022-04-29 13:28:13 -03:00
Lucas Fernandes Nogueira
62cdb2b307
refactor(tauri): remove ayatana-tray from the default features ( #3976 )
2022-04-26 20:16:52 -03:00
Lucas Nogueira
4d31705162
chore(examples): enable process-command-api
feature for the sidecar ex
2022-04-25 10:45:50 -03:00
Lucas Fernandes Nogueira
582bdfccbc
docs(tauri): document all feature flags, add test ( #3947 )
2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
1397d9121a
feat(core): add support to multipart/form-data requests, closes #2118 ( #3929 )
2022-04-22 20:04:58 -03:00
Lucas Fernandes Nogueira
b5622882cf
fix(cli): exit on non-compilation Cargo errors, closes #3930 ( #3942 )
2022-04-22 12:59:03 -03:00
Lucas Fernandes Nogueira
c54ddfe933
feat: expose window cursor APIs, closes #3888 #3890 ( #3935 )
2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
485c97438a
fix(cli): kill beforeDevCommand if dev code returns an error ( #3907 )
2022-04-19 19:04:42 -03:00
Lucas Fernandes Nogueira
f2a30d8bc5
refactor(core): use ayatana appindicator by default, keep option to use gtk ( #3916 )
2022-04-19 17:33:17 -03:00
Lucas Nogueira
30c38a50ee
fix(examples): streaming video download link
2022-04-03 10:20:45 -03:00
Lucas Fernandes Nogueira
f67ae6bd60
fix(core): set bundle id for notifications on macOS ( #3839 )
2022-04-01 23:35:29 -03:00
Lucas Fernandes Nogueira
6a5ff08ce9
refactor: remove bootstrapper, closes #3786 ( #3832 )
2022-03-31 14:51:17 -03:00
Lucas Fernandes Nogueira
985d250898
fix(tauri): export WindowBuilder
struct instead of trait, closes #3827 ( #3833 )
2022-03-31 14:50:33 -03:00
Lucas Nogueira
ae94c6be95
chore(examples): update lockfile
2022-03-28 18:04:10 -03:00
Lucas Fernandes Nogueira
edad9f4f55
refactor(core): add RunEvent::WindowEvent
( #3793 )
2022-03-28 17:26:25 -03:00
Lucas Nogueira
d5c06f0240
chore: update lockfiles
2022-03-28 15:23:27 -03:00
Lucas Fernandes Nogueira
f6e32ee188
feat(core): add dangerous option to disable compile time CSP injection ( #3775 )
2022-03-28 11:55:54 -03:00
dependabot[bot]
5000d4921f
chore(deps): bump minimist from 1.2.5 to 1.2.6 in /examples/sidecar ( #3765 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-23 21:50:20 -03:00
Lucas Fernandes Nogueira
f1637d62df
refactor(examples): remove unused files ( #3762 )
2022-03-23 20:45:43 -03:00
Lucas Fernandes Nogueira
bf89a05fcf
fix(core): dialog parent window on macOS, closes #3312 ( #3753 )
2022-03-23 13:31:15 -03:00
Kasper
4e807a53e2
Support window parenting on macOS, closes #3751 ( #3754 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-23 13:30:44 -03:00
Adrian Hupka
5ed46f010b
fix: added command line argument to successfully run multiwindow example ( #3717 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-03-17 10:01:05 -03:00
Lucas Fernandes Nogueira
c81534ebd8
feat(cli): use default macOS minimum system version when it is empty ( #3658 )
2022-03-13 11:20:11 -03:00
Lucas Nogueira
ea94a28a34
fix(examples): fix streaming example on Windows, closes #3646
2022-03-12 08:43:17 -03:00
Lucas Nogueira
e974f8fbae
fix(examples): api build on macOS
2022-03-11 22:57:16 -03:00
Lucas Fernandes Nogueira
49546c5269
feat(build): print error context ( #3644 )
2022-03-09 21:01:26 -03:00
Lucas Fernandes Nogueira
834ccc5153
feat(core): reimplement readTextFile
for performance ( #3631 )
2022-03-07 11:34:33 -03:00
Lucas Fernandes Nogueira
76c791bd2b
fix(core): regression on the unlisten function ( #3623 )
2022-03-06 20:45:38 -03:00
Lucas Fernandes Nogueira
8c9358725a
refactor(core): move png
and ico
behind Cargo features ( #3588 )
2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
3fe0260f4c
feat(core): allow CSP configuration to be an object, ref #3533 ( #3603 )
2022-03-04 21:18:39 -03:00
Lucas Fernandes Nogueira
141133a414
feat(core): add WindowBuilder type ( #3598 )
2022-03-04 21:18:22 -03:00
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
chip
0b87532706
fix(macros): fix rest of command collisons ( #1805 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 12:56:16 -03:00
chip
7862ec562f
fix(macros): change invoke binding in generate handler ( #1804 )
2021-05-12 12:22:05 -03:00
Lucas Fernandes Nogueira
d36b726926
fix(macros): collision when command is named cmd
( #1802 )
2021-05-12 11:17:33 -03:00
nothingismagick
12268e6e69
fix(csp): add 'self' ( #1794 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-12 09:45:39 -03:00
chip
caba4ed198
feat(examples): barebones custom param type example ( #1780 )
...
* feat(examples): barebones custom param type example
* cargo +nightly fmt
* fix build
* add required imports
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 15:44:53 -03:00
chip
27a7810767
feat(core): add default Args to all types exposing Params ( #1777 )
2021-05-11 14:32:11 -03:00
Lucas Fernandes Nogueira
22676df57a
refactor(core): menu
and system-tray
feature flags ( #1765 )
2021-05-10 13:27:42 -03:00
Lucas Fernandes Nogueira
7bb7dda752
refactor(core): resolve resource_dir using the package info ( #1762 )
2021-05-10 00:01:12 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime
crate ( #1751 )
2021-05-09 15:19:37 -03:00
chip
bb8dafbe1e
feat(core): #[command] return with autoref specialization workaround fix #1672 ( #1734 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-09 08:52:20 -03:00
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 ( #1749 )
2021-05-09 08:15:37 -03:00
Lucas Fernandes Nogueira
41d5d6aff2
feat(core): window menus ( #1745 )
2021-05-08 12:11:40 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions ( #1723 )
2021-05-05 20:15:08 -03:00
chip
1453d4bf84
feat(core): support generics (especially Param) in #[command] ( #1622 )
...
* wip: param argument proof of concept for #[command]
* use macros for automatic type inference in commands
* refactor command for better error handling
* remove redundant ToTokens impl for Wrapper and Handler
* create `StateP` to allow state to use type inference during commands
* wrap State instead of T
* remove accidental edit of attribute
* remove StateP
because we recommend `_: Window<P>` for type inference, the following
function types are now supported:
* Pat::Wild (arg: "_")
* Pat::Struct (arg: final path segment)
* Pat::TupleStruct (arg: final path segment)
* add wildcard, struct, and tuple struct commands to examples
* better unsupported command argument message
* feat(examples): move some commands to a separate module
* add change file
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-05 14:32:13 -03:00
Lucas Fernandes Nogueira
6132f3f4fe
feat(core): reintroduce CSP injection ( #1704 )
2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
53f842656b
feat(examples): add window creation on navigation example ( #1692 )
2021-05-03 15:41:09 -03:00
Lucas Fernandes Nogueira
26c6a832bf
feat(examples): add navigation example ( #1690 )
2021-05-03 14:42:40 -03:00
Lucas Fernandes Nogueira
8845487f9d
fix(cli.js): handle cli.rs promise rejection ( #1689 )
2021-05-03 14:42:31 -03:00
Lucas Fernandes Nogueira
2122ae61fa
feat(examples): add state example ( #1687 )
...
* feat(examples): add state example
* clippy
2021-05-03 13:16:34 -03:00
Lucas Fernandes Nogueira
b86fe9a6de
feat(examples): add splashscreen example ( #1685 )
2021-05-03 11:16:51 -03:00
chip
1d6f418129
refactor(core): merge invoke items into single struct, allow ? ( #1683 )
2021-05-03 01:17:47 -03:00
Lucas Fernandes Nogueira
8b6f3de0ad
feat(core): add state management, closes #1655 ( #1665 )
...
* feat(core): add state management, closes #1655
* fix(tests): ignore doc example
* use a trait to manage #[command] parameters
* add docs [skip ci]
* finish command before moving into respond_async
* Revert "finish command before moving into respond_async"
This reverts commit 4651bed5bf
.
* refactor: split InvokeMessage into InvokeResolver, add InvokeResponse
* feat: add managed state to the plugin interface
* feat: add commands example
* add change file [skip ci]
* cleanup clones
Co-authored-by: chip reed <chip@chip.sh>
2021-05-02 15:34:15 -03:00
Aivan Monceller
361456afbd
refactor(example): svelte imports ( #1673 )
2021-05-02 09:00:06 -03:00
Lucas Fernandes Nogueira
5c1fe52c2b
feat(cli.rs): allow using cross instead of cargo, add target triple arg ( #1664 )
2021-04-30 15:16:14 -03:00
Lucas Fernandes Nogueira
4f1e87f87b
refactor(core): change drag element detection to data attr, fixes #1656 ( #1659 )
2021-04-29 20:38:19 -03:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 ( #1630 )
2021-04-28 19:56:05 -03:00
Lucas Fernandes Nogueira
721e98f175
feat(core): add env, cwd to the command API, closes #1634 ( #1635 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-28 18:25:44 -03:00
Lucas Fernandes Nogueira
181e132aee
refactor(core): simplify usage of app event and window label types ( #1623 )
...
Co-authored-by: chip reed <chip@chip.sh>
2021-04-27 11:52:12 -03:00
Lucas Fernandes Nogueira
9490b257d2
fix(cli.rs): enable the updater
feature on cli ( #1597 )
2021-04-23 01:41:51 -03:00
Lucas Nogueira
1b159748e7
chore(examples): update api build files
2021-04-23 00:25:01 -03:00
Lucas Fernandes Nogueira
2c69f90658
chore(examples): do not use lld linker ( #1589 )
2021-04-22 19:38:14 -03:00
Laegel
fcb3b4857e
fix : #1512 ( #1517 )
...
* fix: Export
* chore(changefile)
* fix: Updated publish step
* fix: Also outputting CommonJS
* fix:`preparePublish` now copies the necessary files
* fix: typo
Co-authored-by: Laegel <valentin.chouaf@laposte.net>
* chore: update `build` script
* chore: add `prepublishOnly script`
* chore: update `api` covector config
* round two, fight!!
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-04-18 22:31:12 -05:00
Lucas Fernandes Nogueira
5b6c7bb6ee
feat(examples): showcase basics of multiwindows feature on api example ( #1468 )
2021-04-12 23:35:57 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder ( #1457 )
2021-04-12 01:59:25 -03:00
chip
a6def7066e
Refactor(tauri): move tauri-api and tauri-updater to tauri ( #1455 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-12 01:09:41 -03:00
Lucas Nogueira
88cd6baa9d
Merge remote-tracking branch 'origin/dev' into feature/create-tauri-app
2021-04-11 10:11:29 -03:00
Jacob Bolda
40ac52971e
feat: create-tauri-app wiring ( #1442 )
...
* chore(deps) Update Tauri JS CLI (#1319 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri Core (#1318 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri API (#1316 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate serde_json to 1.0.64 (#1315 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate once_cell to 1.7.2 (#1314 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate image to 0.23.14 (#1313 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* feat(cli/build): improve no distDir error message (#1306 )
* feat(cli/build): improve no distDir error message
* chore: use Path's Display impl
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri API Definitions (#1317 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(bundler/wix): install webview2 runtime (#1329 )
* feat(bundler/wix): install webview2 runtime
* add changefile
* chore(deps) Update Tauri API Definitions (major) (#1290 )
* chore(deps) Update Tauri API Definitions
* chore: update to husky v5
* chore: remove husky script
* chore: recreate lock file
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri JS CLI (#1291 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* refactor(core): app hooks (#1332 )
* fix(api/window): rename manager export to appWindow (#1342 )
* feat(api/shell): allow open command to open files (#1341 )
* chore(deps) Update Tauri API Definitions (#1344 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate tokio to 1.3 (#1343 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate open to 1.6.0 (#1348 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(core): wrong usage of wry RPC on event API (#1351 )
* copy cli config definition window visibility defaults (#1353 )
* feat(core): add file drop handler (#1352 )
* fix: get correct resource dir in AppImge (fix #1308 ) (#1333 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat: build without proc macros (#1226 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri JS CLI (#1346 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(core): use Mutex in std to reduce async usage (#1350 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* fix(examples): build error (#1354 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* API example new ui (#1310 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps): remove `winres` from template (#1357 )
* refactor(core): add `unlisten`, `once` APIs to the event system (#1359 )
* fix(cli): use correct arg in `_blanks` links polyfill (#1362 )
* fix(api/http): correct types (#1360 )
* fix(api/http): correct types
* Add changes
* Update correct-http-api-types.md
* chore(deps) Update Tauri JS CLI (#1364 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri API Definitions (#1363 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(tauri/webview): Use different user_data_path for Windows (#1365 ) (#1366 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* fix(config): serde_json::Value::Object takes a Map instead of HashMap (#1371 )
* fix(config): serde_json::Value::Object takes a Map instead of HashMap
* fix: fmt
* fix(tauri.js): init command properly building with manifests (#1374 )
* fix(tauri.js): init command properly building with manifests
* fix: tests
* feat(bundler): add visual c++ redistributable files with MSM (#1368 )
* refactor(core): reduce usage on arc and mutex (#1361 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(config): allow setting product name and version on tauri.conf.json (#1358 )
* feat: add current working directory to path api module (#1375 )
* refactor(core): move bundle script to /tauri crate (#1377 )
* refactor(core): move bundle script to /tauri crate
* fix(cli): clippy
* fix(core): tests
* refactor(core): custom protocol URL uses the app identifier (#1376 )
* refactor(core): custom protocol URL uses the app identifier
* fix: clippy
* fix(tauri-api): remove .exe from app_name on windows (#1379 )
* chore(deps) Update Tauri API Definitions (#1384 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate tokio to 1.4 (#1383 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(cli): prmpt user before install deps in init (#1381 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update dependency rollup to v2.42.4 (#1386 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(cli): rewrite init command in Rust (#1382 )
Co-authored-by: nothingismagick <denjell@mailscript.com>
* refactor(bundler): specific settings on dedicated structs, update README (#1380 )
* replace lazy_static uses with once_cell (#1391 )
* chore(deps) Update Tauri JS CLI (#1385 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(cli): rewrite info in Rust (#1389 )
* refactor(core): remove async from app hooks, add InvokeMessage type (#1392 )
* fix(cli): disable custom-protocol feature on dev command (#1393 )
* Fix extremely slow dev builds caused by embedding + compressing assets at compile time (#1395 )
* feat(bundler) code signing (#473 )
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: David Lemarier <david@lemarier.ca>
* feat(cli): run beforeDev and beforeBuild in a shell, closes #1295 (#1399 )
* update to sharp 0.28.0 for cpu arm (m1) (#1404 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(cli): propagate args passed after `dev --`, closes #1406 (#1407 )
* refactor(api): use secure RNG, closes #1356 (#1398 )
* chore(deps) Update Tauri API Definitions (#1411 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate rfd to 0.2.2 (#1410 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri CLI (#1413 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri Bundler (#1412 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(core): rewrite shell execute API, closes #1229 (#1408 )
* chore(deps) Update dependency @rollup/plugin-commonjs to v18 (#1415 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri JS CLI (#1414 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix: asset resolution on debug mode
* fix(core): ignore query string on custom protocol asset resolver (#1420 )
* wire up existing and adjust recipe configuration
* merge dev
* fix default app name
* clean up vanillajs and proper pass args
* use scaffe to copy the react templates
* fix(api): remove cjs, rename .mjs to .js
* chore: tauri.js dead code elim (#1422 )
* remove templates, only used it CTA
* help command is empty, remove
* delete files that aren't imported / required
* set files array to ignore src and config files
* remove unused deps
* add arch notes for future ref
* change file
* allow specifying a binary
* resolve last bits to reach scaffe
* adjust vanilla js template dir path
Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>
* fix up cra scaffolding
* remove none and rely on vanillajs
* log shell commands
* remove no recipe question branch
* shift react template for better overwrite copying
* update deps
* simple readme
* implement dep manager
* pretty
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Gabe Cohen <gcc3.14@gmail.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Alve Larsson <larsalvelarsson@gmail.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: William <william@venner.io>
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Mehdi Rezaei <mehdiraized@gmail.com>
Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>
2021-04-11 04:22:07 -05:00
nothingismagick
bf82136466
feat(license): SPDX Headers ( #1449 )
...
* chore(licenses): api
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(licenses): scripts
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): cli/core
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): cli/tauri-bundler
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): workflows
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): require license_template in rust
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-api
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-build
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-codegen
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-macros
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-updater
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): core/tauri-utils
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): examples
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): cli/tauri.js
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): changefile
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): place both licenses in root
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): package.json SPDX
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): SPDX everywhere
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* fix(tauri.js): tests more time for ubuntu
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): commons conservancy language
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): add spdx file
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* fix(license): clippy
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): language
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-11 00:09:09 +02:00
Lucas Fernandes Nogueira
8b36fe0c5d
refactor: move tauri crates to /core folder ( #1444 )
2021-04-08 13:22:20 -03:00
david
e511d39910
feat(api): Expose application metadata and functions to JS api - fix #1387 ( #1445 )
2021-04-08 12:50:55 -03:00
chip
9ce0569f17
fix(example): unlisten to event on tab change in api example ( #1436 )
...
* unlisten to event on tab change in api example
* rewrite
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-06 19:51:15 -03:00
chip
94038b5e71
refactor(tauri): remove app runner, use builder ( #1429 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-06 17:50:53 -03:00
Lucas Fernandes Nogueira
9b35cf7a1b
feat(config): simplify app urls with custom paths ( #1432 )
2021-04-06 02:01:32 -03:00
chip
8584e667cd
speed up asset inclusion on debug mode ( fixes #1394 ) ( #1430 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-06 01:15:53 -03:00
Lucas Nogueira
836d9d0834
chore: remove unused dep on example
2021-04-05 21:57:22 -03:00
Lucas Fernandes Nogueira
6a367020a2
chore: reintroduce option to access window APIs on command fn ( #1427 )
2021-04-05 20:55:52 -03:00
david
6d70c8e1e2
feat(updater): Alpha version ( #643 )
...
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: Laegel <valentin.chouaf@laposte.net>
2021-04-05 14:51:17 -03:00
chip
2158a68d7d
wip: big refactor, removing application cycle + allowing generic parameters to the application ( #1400 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-03 21:41:04 -03:00
Lucas Fernandes Nogueira
3713066e45
refactor(core): rewrite shell execute API, closes #1229 ( #1408 )
2021-03-31 02:19:03 -03:00
Lucas Fernandes Nogueira
1318ffb47c
refactor(core): remove async from app hooks, add InvokeMessage type ( #1392 )
2021-03-26 14:19:03 -03:00
Lucas Fernandes Nogueira
080f6391ba
refactor(bundler): specific settings on dedicated structs, update README ( #1380 )
2021-03-25 01:56:00 -03:00
Lucas Fernandes Nogueira
8bdd894925
refactor(core): move bundle script to /tauri crate ( #1377 )
...
* refactor(core): move bundle script to /tauri crate
* fix(cli): clippy
* fix(core): tests
2021-03-23 00:03:07 -03:00
Lucas Fernandes Nogueira
5b3d9b2c07
feat(config): allow setting product name and version on tauri.conf.json ( #1358 )
2021-03-22 21:51:23 -03:00
Amr Bashir
4ee044a3e6
fix(cli): use correct arg in _blanks
links polyfill ( #1362 )
2021-03-16 21:47:56 -03:00
Lucas Fernandes Nogueira
b670ec55f2
refactor(core): add unlisten
, once
APIs to the event system ( #1359 )
2021-03-16 09:50:04 -03:00
Lucas Fernandes Nogueira
46f3d5ffef
chore(deps): remove winres
from template ( #1357 )
2021-03-14 23:35:48 -03:00
Alve Larsson
53fd48e811
API example new ui ( #1310 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-14 22:48:08 -03:00
Noah Klayman
4c9d419eec
fix(examples): build error ( #1354 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 23:49:55 -03:00
Ngo Iok Ui (Wu Yu Wei)
1086b3b85f
refactor(core): use Mutex in std to reduce async usage ( #1350 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 23:01:05 -03:00
chip
c88838aa76
feat: build without proc macros ( #1226 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 22:10:19 -03:00
Ty Tracey
43f32edc01
Migrating examples to the example repo ( #409 )
...
* Migrating examples to the example repo
* update smoke test github action to example repo
* unclear what the path should be
* lock file moved
* remove ls
* x64?
darn conflicts
* missed cache path
* cargo build step isn't needed
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2020-02-16 15:28:37 -06:00
Tensor-Programming
cffda68b42
Refactor(All): Update and Format Deps for 2018 ( #397 )
...
* remove extern crate and macro_use
* fix test file
* update CLI
* organize imports
* organize core
* update api
* update updater
* update create-react-app
* update gatsby example
* update next-js example
* update svelte example
* update vanilla-js example
* update nuxt example
* update quasar example
* update vue example
* update templates.
* update build.rs
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
2020-02-08 13:08:54 -03:00
Lucas Fernandes Nogueira
7522d8ff8a
chore(bundler) rename tauri-cli crate to tauri-bundler ( #401 )
2020-02-08 12:51:48 -03:00
Lucas Fernandes Nogueira
3e1ce404f5
feat(tauri) add splashscreen API ( #400 )
...
* feat(tauri) add splashscreen API
* fix(examples) quasar example building
2020-02-08 12:34:15 -03:00