1
1
mirror of https://github.com/tauri-apps/tauri.git synced 2024-12-17 07:31:52 +03:00
Commit Graph

1411 Commits

Author SHA1 Message Date
nothingismagick
45aff87e65
chore(deps): js updates () 2021-05-07 19:52:20 -03:00
Lucas Fernandes Nogueira
79feb6a918
fix(cli.rs): cargo build failed due to cache issue, closes () 2021-05-07 16:31:52 -03:00
Kasper
f369a9c076
fix: restart when tauri dev starts, fixes ()
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-07 11:40:09 -03:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()works on macOS () 2021-05-07 10:58:44 -03:00
Amr Bashir
cea3ba9f97
feat(cta): add support for all vite templates ()
* feat(cta): add support for all vite templates

* vite template dir removed, ignore template step for now

Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-05-07 00:29:55 -05:00
Lucas Fernandes Nogueira
8e0d4f666c
fix(bundler): debian package Installed-Size value () 2021-05-07 00:46:50 -03:00
Lucas Fernandes Nogueira
e37e187d4a
fix(bundler): dmg volume icon () 2021-05-06 13:54:15 -03:00
Lucas Fernandes Nogueira
f1aa12075f
fix(bundler): update create-dmg, fixes () 2021-05-06 12:57:08 -03:00
Lucas Fernandes Nogueira
9c10ccf8d3
feat(core) window events, closes () 2021-05-06 00:43:02 -03:00
Lucas Fernandes Nogueira
e087f0f937
feat: add #[non_exhaustive] attribute () 2021-05-05 22:22:45 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions () 2021-05-05 20:15:08 -03:00
renovate[bot]
b675469bca
chore(deps) Update dependency ts-loader to v9.1.2 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 19:39:24 -03:00
renovate[bot]
879f2965ec
chore(deps) Update Rust crate notify-rust to 4.5.0 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 16:55:27 -03:00
Lucas Fernandes Nogueira
f7892cf4ff
feat(api): documentation ()
* feat(api): documentation

* more docs [skip ci]
2021-05-05 14:36:40 -03:00
renovate[bot]
1bd18c0976
chore(deps) Update dependency ts-jest to v26.5.6 ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 14:34:20 -03:00
chip
1453d4bf84
feat(core): support generics (especially Param) in #[command] ()
* 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
c78db1b399
chore(api): remove unused dependencies ()
* chore(api): remove unused dependencies

* chore: remove eslint-plugin-node

* Revert "chore: remove eslint-plugin-node"

This reverts commit 1b88da8f7b.
2021-05-05 14:29:53 -03:00
Lucas Fernandes Nogueira
68e9a3fd10
chore(cli.js): remove useless dotenv dependency () 2021-05-05 10:29:31 -03:00
Lucas Fernandes Nogueira
862e33a0f6
refactor(cli.js): download rustup binary () 2021-05-05 10:28:43 -03:00
renovate[bot]
762dd15e9b
chore(deps) Update create-tauri-app ()
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 10:18:44 -03:00
renovate[bot]
c273b76799
chore(deps) Update Tauri API Definitions (major) ()
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 ()
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 ()
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 ()
* 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 ()
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 ()
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 ()
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 ()
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 ()
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 ()
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 () 2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
428d50add4
refactor(core): use bundle identifier on app dir, closes ()
* refactor(core): use bundle identifier on app dir, closes 

* fix: tests

* clippy
2021-05-04 20:26:13 -03:00
Lucas Fernandes Nogueira
935db26c01
chore(readme): rewrite packages section () 2021-05-04 12:45:56 -03:00
Lucas Fernandes Nogueira
92a01a7cab
chore(deps): bump tauri-hotkey to 0.1.2 () 2021-05-04 12:05:26 -03:00
Lucas Fernandes Nogueira
ac2cbcb131
fix(cli.rs): before dev process kill, closes () 2021-05-04 11:27:10 -03:00
Amr Bashir
2b4e2b7560
feat(cli.rs/info): get webview2 version on windows ()
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 ()
* 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 () 2021-05-03 22:06:50 -03:00
Lucas Fernandes Nogueira
53f842656b
feat(examples): add window creation on navigation example () 2021-05-03 15:41:09 -03:00
Lucas Fernandes Nogueira
5110c704be
feat(core): allow users to access the Assets instance ()
* 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 () 2021-05-03 14:42:40 -03:00
Lucas Fernandes Nogueira
8845487f9d
fix(cli.js): handle cli.rs promise rejection () 2021-05-03 14:42:31 -03:00
Lucas Fernandes Nogueira
2122ae61fa
feat(examples): add state example ()
* 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 () 2021-05-03 12:24:18 -03:00
Lucas Fernandes Nogueira
b86fe9a6de
feat(examples): add splashscreen example () 2021-05-03 11:16:51 -03:00
Lucas Fernandes Nogueira
c91105ff96
refactor(build): allow setting window icon path on try_build () 2021-05-03 10:42:29 -03:00
chip
1d6f418129
refactor(core): merge invoke items into single struct, allow ? () 2021-05-03 01:17:47 -03:00
Lucas Fernandes Nogueira
152c755c47
feat(cli.rs): framework and bundler on info cmd, closes () 2021-05-02 21:51:35 -03:00
nothingismagick
82a580ec45
feat(tauricon): fix transparency ()
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-02 19:02:58 -03:00