Commit Graph

28 Commits

Author SHA1 Message Date
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
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 Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle dependency, closes #2460 (#2465) 2021-08-17 10:27:18 -03: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
Lucas Fernandes Nogueira
842652abe5
chore(deps): update to wry 0.10 (#2041)
* chore(deps): update to wry 0.10

* fix: cli format
2021-06-22 10:47:45 -03:00
Lucas Fernandes Nogueira
3280c4aa91
refactor(core): global shortcut is now provided by tao (#2031) 2021-06-21 12:29:26 -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
954460c520
feat(core): MenuHandle show, hide, is_visible and toggle APIs (#1958) 2021-06-15 22:04:44 -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 Nogueira
36506c967d
feat(core): add is_visible API 2021-05-30 18:06:24 -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
Lucas Fernandes Nogueira
45a7a111e0
feat(core): add tauri-wry crate (#1756) 2021-05-09 18:43:50 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime crate (#1751) 2021-05-09 15:19:37 -03:00
Lucas Fernandes Nogueira
26c6a832bf
feat(examples): add navigation example (#1690) 2021-05-03 14:42:40 -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
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
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 Fernandes Nogueira
8b36fe0c5d
refactor: move tauri crates to /core folder (#1444) 2021-04-08 13:22:20 -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
c88838aa76
feat: build without proc macros (#1226)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-03-12 22:10:19 -03:00
chip
e02c9419cb
refactor(tauri): support for building without environmental variables (#850)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-02-09 15:22:04 -03:00
Lucas Fernandes Nogueira
74988e5673
fix(tauri) remove unused deprecated dep pointed by cargo-audit (#696) 2020-06-18 13:37:24 -03:00
Fahmi Akbar Wildana
c649ef47b6
build(task-runner): add self-documented task runner (#486)
* feat(task-runner): add maskfile.md

`mask` can also act as self-documented task runner
https://github.com/jakedeichert/mask

TODO: add demo.gif on opening this PR

* fix(task-runner): error when basename != dirname

with assumption it only happen on examples/rust

* chore(task-runner): add .gif from pr #486

* fix(task-runner): point $TAURI_* to fixture/*
2020-04-12 08:57:52 -05:00
Tensor-Programming
91bf26c336
Refactor(Updater) Modernize Updater Crate and add Utils Crate (#335)
* update updater

* basic utils refactor.

* fix platform file.

* add errors.

* fix cargo.toml

* Rename cargo.toml to Cargo.toml

* remove warning.
2020-01-17 19:33:17 -05:00
Tensor-Programming
e288180104
[WIP] Refactor(Crates) Tauri into individual Crates (#192)
* split tauri into 3 crates

* fix macros

* change builder into lib

* cleanup package paths

* add features back to lib

* make build function public

* add build-deps

* rename and fix.

* correct package name

* move crates to root and refactor names

* fix github action

* move fixture to tauri-build

* remove slash

* add .vscode features

* fix updater

* fix updater mistake

* fix(tauri) refactor buiilds

* fix seperation

* change get back to get

* fix cfg and remove dead code warnings.

* roll #160 into this pr

* add credit

* fix eof

* chore(tauri) move assets to mod, loadAssets cfg outside its definition

* chore(tauri) remove unused deps

* update updater and cfg

* fix(tauri) embedded-server with dead variable

* add review refactors and remove cli form workgroup

* chore(tauri) rename tauri to tauri-api and tauri-bundle to tauri

* fix workspace and updater

* rename update to updater
2019-12-22 14:04:45 -05:00
nothingismagick
39ce652329 chore(monorepo): cleanup (#73)
* chore(monorepo): cleanup

* fix(tauri-cli): build errors

* fix(tauri:build.rs): dont' panic if env missing

* fix(finalize): setup for crates

* npm publish on release

actual publish currently disabled

* cargo publish on release

actual publish currently disabled

* update PR tests for new folder structure

* doesn't like the period on job name?

* fail on cargo warnings

otherwise we would assume green arrow is all good

* green on warnings for now
2019-11-27 19:26:24 -03:00