Ngo Iok Ui (Wu Yu Wei)
7eb9aa75cf
Update gtk to 0.16 ( #6155 )
...
Co-authored-by: Wu Yu Wei <wusyong9104@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-29 15:08:27 -03:00
Lucas Nogueira
d21c4a0a89
chore: fix clippy warnings
2022-12-15 17:56:23 -03:00
看彩虹的人
3d37ed38c7
fix(examples): fix command args case ( #5635 )
2022-11-17 15:04:10 +02:00
Lucas Fernandes Nogueira
6c13840cee
feat(examples): add desktop/web application example ( #5537 )
2022-11-03 18:01:47 -03:00
Lucas Nogueira
873b9aee90
chore: run yarn format
2022-11-03 09:27:43 -03:00
Amr Bashir
a178f95d68
feat: config schema generator ( #5193 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-28 10:44:37 -03:00
я котик пур-пур
60bf067913
chore(examples): remove the legacy X-UA-Compatible meta ( #5394 )
2022-10-17 11:05:31 -03:00
Lucas Fernandes Nogueira
1dd722c4a7
feat(command): add rename_all
attribute, closes #4898 ( #4903 )
2022-09-28 13:52:18 -03:00
Lucas Fernandes Nogueira
2901145c49
chore: update license headers ( #5067 )
2022-08-28 15:13:21 -03:00
Amr Bashir
9105588373
feat: add implicit default menu for macOS only, closes #4551 ( #4570 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-03 20:26:32 -03:00
Lucas Fernandes Nogueira
5105b428c4
feat(cli): change app template to only set default menu on macOS ( #4518 )
2022-06-29 14:03:42 -03:00
Lucas Nogueira
38f5db6e6a
feat(codegen): fill app metadata in development Info.plist
2022-06-21 20:36:49 -03:00
Amr Bashir
4c4acc3094
feat: implement Default
for Menu
, closes #2398 ( #4291 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-15 10:51:40 -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
6a5ff08ce9
refactor: remove bootstrapper, closes #3786 ( #3832 )
2022-03-31 14:51:17 -03:00
Lucas Fernandes Nogueira
f1637d62df
refactor(examples): remove unused files ( #3762 )
2022-03-23 20:45:43 -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 Fernandes Nogueira
49546c5269
feat(build): print error context ( #3644 )
2022-03-09 21:01:26 -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
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
a892728c08
fix(examples): allowlist configuration for core examples ( #3340 )
2022-02-06 10:50:45 -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
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
4fa5ec9606
chore: cleanup repo lockfiles and gitignores
2022-01-09 15:18: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
a9dfc01550
feat: update to edition 2021 and set minimum rust to 1.56 ( #2789 )
2021-10-22 10:04:42 -03:00
Lucas Fernandes Nogueira
d5f07d14f3
feat(cli.rs): build tools info ( #2618 )
2021-09-21 10:24:48 -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
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
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 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
160fb0529f
feat(core): improve RPC security, closes #814 ( #2047 )
2021-06-22 17:29:10 -03:00
Lucas Fernandes Nogueira
ec88e30617
feat(examples): add sidecar example ( #1999 )
2021-06-16 22:18:24 -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
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
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
27a7810767
feat(core): add default Args to all types exposing Params ( #1777 )
2021-05-11 14:32:11 -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
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