david
456a94f663
fix(macOS): updater EXC_BAD_ACCESS
( #2181 )
...
* fix(ci): updater artifacts
* add temporary macos signature
* add entitlement and notarization credentials
* WIP macos fix
* build version 2.0.0 with macos signature
* [ci skip] revert version to `1.0.0`
* sandbox current app to a directory
* make clippy happy
* [ci skip] disable `Notarization` in CI tests
* [ci skip] add changefile
* remove unwanted `unwrap` and `expect`
* fmt
2021-07-12 12:03:27 -03:00
up-to-you
d4ff7be3b4
Update example/api README.md fix #2151 ( #2177 )
2021-07-08 12:04:22 -03:00
Lucas Fernandes Nogueira
8157a68af1
feat(core): allow listening to event loop events & prevent window close ( #2131 )
2021-07-06 13:36:37 -03:00
Lucas Fernandes Nogueira
d69b1cf6d7
feat(api): allow mananing windows created on JS ( #2154 )
2021-07-05 12:16:55 -03: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
51a5cfe4b5
feat(api): add convertFileSrc
helper ( #2138 )
2021-07-02 00:00:30 -03:00
Lucas Fernandes Nogueira
66efb43388
fix(docs): target triple detection script, closes #2084 ( #2096 )
2021-06-27 21:21:24 -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
034c26013b
feat(core): add accelerator
method to CustomMenuItem
( #2043 )
2021-06-22 12:53:13 -03:00
Lucas Fernandes Nogueira
285bf64bf9
feat(core): add clipboard writeText and readText APIs ( #2035 )
2021-06-21 13:32:22 -03:00
Lucas Nogueira
feb7c6e4ac
fix(examples): sidecar example on Windows
2021-06-21 01:13:54 -03:00
Lucas Fernandes Nogueira
7dcca6e928
feat(core): add request_user_attention
API, closes #2023 ( #2026 )
...
* feat(core): add `request_user_attention` API
* fix: api lint
* fix build without window allowlist
2021-06-20 23:42:38 -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
860830d870
feat(examples): improve api example, closes #1535 ( #1957 )
2021-06-15 23:12:41 -03:00
dependabot[bot]
546f4cc4cd
chore(deps): bump glob-parent from 5.1.1 to 5.1.2 in /examples/api ( #1980 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 22:41:29 -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
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
5cba6eb4d2
feat(core): add window center
API, closes #1822 ( #1954 )
2021-06-05 18:20:16 -03:00
Lucas Fernandes Nogueira
dc6b0d8522
feat(core): set .rc values from tauri.conf.json, closes #1849 ( #1951 )
2021-06-05 01:16:54 -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 Fernandes Nogueira
c021968eb8
fix(core): asset loading not decoding percent-encoded path, closes #1879 ( #1938 )
2021-06-01 15:49:24 -03:00
Lucas Nogueira
9ddd9a97ed
fix(examples): api shell example promise catch [skip ci]
2021-05-31 22:36:37 -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
Lucas Nogueira
5525b03a78
feat(core): add skip_taskbar
API to the WindowBuilder/WindowOptions
2021-05-30 18:43:28 -03:00
Lucas Nogueira
36506c967d
feat(core): add is_visible
API
2021-05-30 18:06:24 -03:00
Lucas Fernandes Nogueira
d1f650edd3
chore(docs): improve manage
API examples on interior mutability ( #1875 )
2021-05-20 10:40:18 -03:00
Lucas Fernandes Nogueira
aab3e1f18b
refactor(core): move api modules behind allowlist feature flags ( #1864 )
...
* refactor(core): move api modules behind allowlist feature flags
* run fmt
2021-05-19 09:21:57 -03:00
Lucas Fernandes Nogueira
17c7c4396f
refactor(core): use attohttpc
by default ( #1861 )
2021-05-19 01:06:08 -03:00
Lucas Fernandes Nogueira
95d518afa1
feat(core): expose AppHandle
, add create_window
API ( #1855 )
2021-05-18 16:49:01 -03:00
Lucas Fernandes Nogueira
7616e6cc7b
feat(api): validate window API size
and location
arguments ( #1846 )
...
* feat(api): validate window API `size` and `location` arguments
* fmt
2021-05-17 11:47:11 -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
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
chip
27a7810767
feat(core): add default Args to all types exposing Params ( #1777 )
2021-05-11 14:32:11 -03:00
Lucas Fernandes Nogueira
22676df57a
refactor(core): menu
and system-tray
feature flags ( #1765 )
2021-05-10 13:27:42 -03:00
Lucas Fernandes Nogueira
7bb7dda752
refactor(core): resolve resource_dir using the package info ( #1762 )
2021-05-10 00:01:12 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime
crate ( #1751 )
2021-05-09 15:19:37 -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
Lucas Fernandes Nogueira
c090927021
feat(core): system tray, closes #157 ( #1749 )
2021-05-09 08:15:37 -03:00
Lucas Fernandes Nogueira
41d5d6aff2
feat(core): window menus ( #1745 )
2021-05-08 12:11:40 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions ( #1723 )
2021-05-05 20:15:08 -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
6132f3f4fe
feat(core): reintroduce CSP injection ( #1704 )
2021-05-04 23:31:05 -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
26c6a832bf
feat(examples): add navigation example ( #1690 )
2021-05-03 14:42:40 -03:00