chip
e84949524c
fix(core): convert command arguments to camel case ( #1753 )
2021-05-09 15:14:48 -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
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
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
github-actions[bot]
0f86bc4071
Apply Version Updates From Current Changes ( #1620 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 17:54:41 -03:00
Lucas Fernandes Nogueira
422dd5e2a0
fix(core): command name on plugin invoke handler ( #1577 )
2021-04-21 23:31:27 -03:00
nothingismagick
7d8eb5effb
chore(authors): use programme title ( #1478 )
...
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-14 13:11:08 -05:00
github-actions[bot]
49c450d6fe
Apply Version Updates From Current Changes ( #1165 )
...
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 10:50:15 -03:00
nothingismagick
22d1803b77
chore(license): purge template path because not everyone is a robot ( #1462 )
...
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-12 10:57:42 -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
chip
7fab1c039b
refactor(tauri): expose all items meant to be public ( #1454 )
2021-04-11 20:44:01 -03: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