Commit Graph

1291 Commits

Author SHA1 Message Date
renovate[bot]
c273b76799
chore(deps) Update Tauri API Definitions (major) (#1715)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:53:36 -03:00
renovate[bot]
7ef9503e66
chore(deps) Update dependency @rollup/plugin-node-resolve to v13 (#1716)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:40:35 -03:00
renovate[bot]
a23068bb89
chore(deps) Update dependency fs-extra to v10 (#1717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 09:38:48 -03:00
Jacob Bolda
397b7af395
chore: CTA defaults in CI mode (#1671)
* better defaults in CI mode

* chalk should be a dep since it needs to be installed by user

* always install webkit2gtk

* avoid installing `cli.js` from npm in `--dev` mode

* use correct path for `api` linking in tests

* update `tauri.conf.json` after init

* remove `beforeBuild/DevCommand` from vanilla recipe

* explicitly install `vite` deps

* change file

Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-05-05 07:25:17 -05:00
renovate[bot]
e393059a57
chore(deps) Update Tauri JS CLI (#1710)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:45:19 -03:00
renovate[bot]
f21ce9888d
chore(deps) Update Tauri API Definitions (#1709)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:40:45 -03:00
renovate[bot]
9eebd03857
chore(deps) Update Rust crate zstd to 0.8 (#1707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:04:45 -03:00
renovate[bot]
fe7fc7a2ca
chore(deps) Update Rust crate zstd to 0.8 (#1708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:04:38 -03:00
renovate[bot]
94a58c70b4
chore(deps) Update Rust crate regex to 1.5 (#1706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:03:41 -03:00
renovate[bot]
180e12a09c
chore(deps) Update Rust crate notify-rust to 4.4.1 (#1705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:03:13 -03:00
Lucas Fernandes Nogueira
6132f3f4fe
feat(core): reintroduce CSP injection (#1704) 2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
428d50add4
refactor(core): use bundle identifier on app dir, closes #1693 (#1703)
* refactor(core): use bundle identifier on app dir, closes #1693

* fix: tests

* clippy
2021-05-04 20:26:13 -03:00
Lucas Fernandes Nogueira
935db26c01
chore(readme): rewrite packages section (#1702) 2021-05-04 12:45:56 -03:00
Lucas Fernandes Nogueira
92a01a7cab
chore(deps): bump tauri-hotkey to 0.1.2 (#1701) 2021-05-04 12:05:26 -03:00
Lucas Fernandes Nogueira
ac2cbcb131
fix(cli.rs): before dev process kill, closes #1626 (#1700) 2021-05-04 11:27:10 -03:00
Amr Bashir
2b4e2b7560
feat(cli.rs/info): get webview2 version on windows (#1669)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-04 01:26:56 -03:00
Lucas Fernandes Nogueira
314936efbe
feat(bundler): add icon path config instead of enforcing icons/icon.ico (#1698)
* feat(bundler): add icon path config instead of enforcing icons/icon.ico

* fix: build on unix
2021-05-03 23:09:12 -03:00
Lucas Fernandes Nogueira
2747bb6c11
fix(core): dialog API deadlock, closes #1695 (#1696) 2021-05-03 22:06:50 -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
5110c704be
feat(core): allow users to access the Assets instance (#1691)
* feat(core): allow users to access the Assets instance

* chore(changes): mark as breaking change [skip ci]
2021-05-03 15:07:38 -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 Nogueira
c827604b4a
chore: allow dead code on bundler::bundle::common::is_retina 2021-05-03 12:25:09 -03:00
Lucas Fernandes Nogueira
836ee60dc8
fix(wry): ControlFlow must be set to Wait for performance reasons (#1688) 2021-05-03 12:24:18 -03:00
Lucas Fernandes Nogueira
b86fe9a6de
feat(examples): add splashscreen example (#1685) 2021-05-03 11:16:51 -03:00
Lucas Fernandes Nogueira
c91105ff96
refactor(build): allow setting window icon path on try_build (#1686) 2021-05-03 10:42:29 -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
152c755c47
feat(cli.rs): framework and bundler on info cmd, closes #1681 (#1682) 2021-05-02 21:51:35 -03:00
nothingismagick
82a580ec45
feat(tauricon): fix transparency (#1678)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-02 19:02:58 -03:00
Lucas Fernandes Nogueira
8941790f98
fix(core): notification permission check when !allowlisted, closes #1666 (#1677) 2021-05-02 18:33:57 -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
Lucas Fernandes Nogueira
d92fde7505
feat(core): add output and status APIs to the Command struct (#1668) 2021-05-02 09:00:39 -03:00
Aivan Monceller
361456afbd
refactor(example): svelte imports (#1673) 2021-05-02 09:00:06 -03:00
Lucas Fernandes Nogueira
5cc4b11f5d
feat(cli.rs): add context to errors (#1674) 2021-05-01 22:02:45 -03:00
Amr Bashir
9fadbf3350
refactor(cta): add questions hook for recipes (#1658)
* refactor(cta): add questions hook for recipes

* fix lint

* fix tests

* fix vue-cli

* one more time

* adjust vuecli to packagemanager

* revert bundle.js changes

* refacotr: extract `Recipe` type to its own file

* colorful step logging

* pin chalk dependency

* Restore bundle.js

* fix typo

* more styling
2021-04-30 20:48:21 -05:00
Lucas Fernandes Nogueira
b0bb796a42
refactor: rename command mod to process, move restart_application (#1667)
* refactor: rename `command` mod to `process`, move restart_application

* refactor(api): move `exit`, `relaunch` APIs to `process` module
2021-04-30 22:43:47 -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
894643cdcd
feat(bundler): use armhf as Debian package architecture on arm CPUs (#1663) 2021-04-30 12:32:07 -03:00
Lucas Fernandes Nogueira
fcee4c25fc
refactor(bundler): finish initial documentation, reorganize modules (#1662) 2021-04-30 11:39:50 -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
df8bdcf063
feat(cli.rs): add support to string and table dependency, closes #1653 (#1654) 2021-04-29 12:17:46 -03:00
Jacob Bolda
c3acbd68ec
chore: shift CTA from bin to .ts (#1651)
* chore: shift CTA from bin to .ts

* add change file

* fix rollup build
2021-04-29 08:55:09 -05:00
renovate[bot]
252014cae2
chore(deps) Update Rust crate notify-rust to 4.4.0 (#1648)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 22:27:26 -03:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 (#1630) 2021-04-28 19:56:05 -03:00
renovate[bot]
929ebc22ae
chore(deps) Update dependency webpack to v5.36.1 (#1646)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:54:13 -03:00
renovate[bot]
048771599a
chore(deps) Update Tauri API Definitions (#1647)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 19:50:54 -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
renovate[bot]
f867e1396d
chore(deps) Pin dependencies (#1636)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:25:22 -03:00
renovate[bot]
2613e75664
chore(deps) Update Tauri API Definitions (#1638)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 18:23:31 -03:00