Lucas Fernandes Nogueira
df21ffc61f
fix(core): command mpsc usage, closes #1935 ( #1936 )
2021-06-01 11:11:22 -03:00
Lucas Fernandes Nogueira
4bdc406679
feat(core): kill sidecar child processes on App drop, closes #1896 ( #1932 )
2021-06-01 00:09:44 -03:00
Lucas Nogueira
4937741d33
chore(docs): document cargo features [skip ci]
2021-05-31 13:29:09 -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 Fernandes Nogueira
cb6c807ac8
Merge pull request #1925 from tauri-apps/feat/new-tao-apis
2021-05-30 22:57:04 -03:00
Lucas Nogueira
e06aa27738
feat(core): add set_skip_taskbar
API
2021-05-30 22:09:12 -03:00
renovate[bot]
4d38f2e2b4
chore(deps) Update Rust crate semver to v1 ( #1909 )
...
* chore(deps) Update Rust crate semver to v1
* fix: build
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-30 20:43:43 -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 Nogueira
5f351622c7
feat(core): add focus API to the WindowBuilder and WindowOptions, #1737
2021-05-30 17:41:28 -03:00
Lucas Nogueira
bb6992f888
feat(core): add set_focus
window API, fixes #1737
2021-05-30 17:30:26 -03:00
Lucas Nogueira
1e8af280c2
feat(core): add is_resizable
Window getter
2021-05-30 17:23:52 -03:00
Lucas Nogueira
f58a2114fb
feat(core): add is_decorated
Window getter
2021-05-30 17:21:05 -03:00
renovate[bot]
f63925e776
chore(deps) Update Rust crate thiserror to 1.0.25 ( #1899 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-30 17:05:32 -03:00
Laegel
23707764dc
Drag region attribute check ( #1907 )
2021-05-30 17:04:17 -03:00
imspace
3bf853d782
feat(cli.rs): support tauri build on M1 chip ( #1915 )
2021-05-29 01:21:24 -03:00
Lucas Fernandes Nogueira
abf78c5860
fix(core): set parent window handle on dialogs, closes #1876 ( #1889 )
2021-05-21 16:53:46 -03:00
Lucas Fernandes Nogueira
8c0d0739ee
feat(core): add run_iteration
, parent_window
and owner_window
APIs, closes #1872 ( #1874 )
2021-05-21 16:16:05 -03:00
Poly
74714177e8
feat(core) Use rfd for message dialogs ( #1887 )
2021-05-21 15:44:29 -03:00
Lucas Fernandes Nogueira
4aeb936e9b
fix(api): WebviewWindow
constructor is public ( #1888 )
2021-05-21 13:25:10 -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
renovate[bot]
eeb2bde464
chore(deps) Update Tauri Core ( #1865 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 01:50:58 -03:00
Lucas Fernandes Nogueira
17c7c4396f
refactor(core): use attohttpc
by default ( #1861 )
2021-05-19 01:06:08 -03:00
Noah Klayman
f237435093
feat(macros/generate_handler): add doc comment ( #1860 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-18 22:42:34 -03:00
Lucas Fernandes Nogueira
1be37a3f30
refactor(core): remove image
dependency ( #1859 )
2021-05-18 21:46:21 -03:00
Lucas Fernandes Nogueira
95d518afa1
feat(core): expose AppHandle
, add create_window
API ( #1855 )
2021-05-18 16:49:01 -03:00
chip
3d8dcbbf81
fix(core): allow wry to be an optional dep again ( fix #1841 ) ( #1854 )
2021-05-18 00:42:02 -03:00
Lucas Fernandes Nogueira
e97846aae9
feat(core): validate devPath
and distDir
values ( #1848 )
...
* feat(core): validate `devPath` and `distDir` values
* fix tests
2021-05-17 14:47:05 -03:00
Lucas Fernandes Nogueira
612cd8ecb8
feat(api): finalize export type
usage ( #1847 )
2021-05-17 12:54:56 -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
754c2e766a
feat(core): finish mutable getters for Context
( #1814 )
2021-05-13 12:50:45 -03:00
chip
39f8f26916
refactor(macros): explicitly pass idents ( #1812 )
2021-05-13 10:18:15 -03:00
github-actions[bot]
a68b4ee827
Apply Version Updates From Current Changes ( #1799 )
...
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-05-12 16:31:52 -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
144d6b9d4d
feat(core): add mutable config
getter on the Context
struct ( #1803 )
2021-05-12 11:17:52 -03:00
Lucas Fernandes Nogueira
d36b726926
fix(macros): collision when command is named cmd
( #1802 )
2021-05-12 11:17:33 -03:00
Lucas Fernandes Nogueira
1ab8dd93e6
fix(core): system-tray
cargo feature usage, fixes #1798 ( #1801 )
2021-05-12 10:55:21 -03:00
Lucas Fernandes Nogueira
f5a480fea3
fix(core): window transparency ( #1800 )
2021-05-12 10:55:12 -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
github-actions[bot]
7c7a0777ca
Apply Version Updates From Current Changes ( #1629 )
...
* apply version updates
* fix metadata.json [skip ci]
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-11 16:20:35 -03:00
chip
27a7810767
feat(core): add default Args to all types exposing Params ( #1777 )
2021-05-11 14:32:11 -03:00
chip
55423590dd
refactor(core): Context fields now private, Icon used on all platforms ( #1774 )
2021-05-11 08:38:08 -03:00
Lucas Fernandes Nogueira
1df16b7011
chore: breaking change notice ( #1772 )
2021-05-11 01:02:19 -03:00
Lucas Fernandes Nogueira
21ce355c48
chore: rename M: Params
to P: Params
( #1771 )
2021-05-10 22:26:18 -03:00
Lucas Nogueira
46ea873311
fix(api): export WebviewWindowHandle type
2021-05-10 21:46:06 -03:00
Lucas Fernandes Nogueira
319cf16a54
fix: prune packages, add license files, closes #1507 ( #1769 )
...
Co-authored-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-05-10 20:28:15 -03:00
nothingismagick
afb4f2f896
chore(docs): add root-level ARCHITECTURE.md ( #1766 )
...
* chore(docs): add root-level ARCHITECTURE.md
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(readme): cleanup [skip ci]
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(cli.js): update readme
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(license): ship both apache and mit
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(remove license): [skip ci]
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* chore(assimilation): we are now the borg
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* cleanup [skip ci]
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-05-10 20:39:24 +02:00
Lucas Fernandes Nogueira
d06e1de46b
fix(core): dialog freezing regression on macOS ( #1768 )
2021-05-10 15:02:50 -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
5edda4ba08
fix(core): system tray icon path resolution (Linux) ( #1763 )
2021-05-10 00:27:43 -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
b6b4128885
chore(deps): wry 0.9.1 ( #1761 )
2021-05-09 22:50:16 -03:00
Lucas Fernandes Nogueira
4687538987
refactor(core): drop Option
payload type on event::emit
( #1760 )
2021-05-09 22:50:08 -03:00
Lucas Fernandes Nogueira
34b6032df7
feat(core): add on_window_event
(global) API to app::Builder ( #1759 )
2021-05-09 22:22:06 -03:00
Lucas Fernandes Nogueira
455c550f34
refactor(core): Settings
serialization using bincode
( #1758 )
2021-05-09 22:09:32 -03:00
Lucas Fernandes Nogueira
8d2e4c63c7
fix(core): do not reattach window on rpc/file_drop ( #1757 )
2021-05-09 21:33:40 -03:00
Lucas Fernandes Nogueira
45a7a111e0
feat(core): add tauri-wry
crate ( #1756 )
2021-05-09 18:43:50 -03:00
chip
f190f11f13
fix(core): allow !Sync futures to be used with #[command] ( #1755 )
2021-05-09 18:03:27 -03:00
chip
2f4fca7567
refactor(core): clearer case conversion + docs ( #1754 )
2021-05-09 18:02:26 -03:00
Lucas Fernandes Nogueira
665ec1d4a1
refactor: move runtime to tauri-runtime
crate ( #1751 )
2021-05-09 15:19:37 -03:00
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
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
dbd9b078aa
refactor(core): create_window
API signature on the Window struct ( #1746 )
2021-05-08 09:37:06 -03:00
Lucas Fernandes Nogueira
56e74ccf74
feat(core): ensure window.print()
works on macOS ( #1738 )
2021-05-07 10:58:44 -03:00
Lucas Fernandes Nogueira
9c10ccf8d3
feat(core) window events, closes #1523 ( #1726 )
2021-05-06 00:43:02 -03:00
Lucas Fernandes Nogueira
e087f0f937
feat: add #[non_exhaustive]
attribute ( #1725 )
2021-05-05 22:22:45 -03:00
Lucas Fernandes Nogueira
6bfac866a7
refactor(core): add window getters, physical & logical sizes/positions ( #1723 )
2021-05-05 20:15:08 -03:00
renovate[bot]
879f2965ec
chore(deps) Update Rust crate notify-rust to 4.5.0 ( #1722 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 16:55:27 -03:00
Lucas Fernandes Nogueira
f7892cf4ff
feat(api): documentation ( #1694 )
...
* feat(api): documentation
* more docs [skip ci]
2021-05-05 14:36:40 -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
renovate[bot]
9eebd03857
chore(deps) Update Rust crate zstd to 0.8 ( #1707 )
...
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 ( #1708 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-05 02:04:38 -03:00
renovate[bot]
180e12a09c
chore(deps) Update Rust crate notify-rust to 4.4.1 ( #1705 )
...
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 ( #1704 )
2021-05-04 23:31:05 -03:00
Lucas Fernandes Nogueira
428d50add4
refactor(core): use bundle identifier on app dir, closes #1693 ( #1703 )
...
* refactor(core): use bundle identifier on app dir, closes #1693
* fix: tests
* clippy
2021-05-04 20:26:13 -03:00
Lucas Fernandes Nogueira
92a01a7cab
chore(deps): bump tauri-hotkey to 0.1.2 ( #1701 )
2021-05-04 12:05:26 -03:00
Lucas Fernandes Nogueira
2747bb6c11
fix(core): dialog API deadlock, closes #1695 ( #1696 )
2021-05-03 22:06:50 -03:00
Lucas Fernandes Nogueira
5110c704be
feat(core): allow users to access the Assets instance ( #1691 )
...
* 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
836ee60dc8
fix(wry): ControlFlow must be set to Wait for performance reasons ( #1688 )
2021-05-03 12:24:18 -03:00
Lucas Fernandes Nogueira
b86fe9a6de
feat(examples): add splashscreen example ( #1685 )
2021-05-03 11:16:51 -03:00
Lucas Fernandes Nogueira
c91105ff96
refactor(build): allow setting window icon path on try_build
( #1686 )
2021-05-03 10:42:29 -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
8941790f98
fix(core): notification permission check when !allowlisted, closes #1666 ( #1677 )
2021-05-02 18:33:57 -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
Lucas Fernandes Nogueira
d92fde7505
feat(core): add output
and status
APIs to the Command
struct ( #1668 )
2021-05-02 09:00:39 -03:00
Lucas Fernandes Nogueira
b0bb796a42
refactor: rename command
mod to process
, move restart_application ( #1667 )
...
* refactor: rename `command` mod to `process`, move restart_application
* refactor(api): move `exit`, `relaunch` APIs to `process` module
2021-04-30 22:43:47 -03:00
Lucas Fernandes Nogueira
4f1e87f87b
refactor(core): change drag element detection to data attr, fixes #1656 ( #1659 )
2021-04-29 20:38:19 -03:00
renovate[bot]
252014cae2
chore(deps) Update Rust crate notify-rust to 4.4.0 ( #1648 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 22:27:26 -03:00
Lucas Fernandes Nogueira
c31f0978c5
refactor: update to wry 0.9 ( #1630 )
2021-04-28 19:56:05 -03:00
Lucas Fernandes Nogueira
721e98f175
feat(core): add env, cwd to the command API, closes #1634 ( #1635 )
...
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-04-28 18:25:44 -03:00
chip
a755d23e1b
refactor(core): more bounds for better errors from #1623 ( #1632 )
2021-04-27 20:14:51 -03:00
Lucas Fernandes Nogueira
181e132aee
refactor(core): simplify usage of app event and window label types ( #1623 )
...
Co-authored-by: chip reed <chip@chip.sh>
2021-04-27 11:52:12 -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
github-actions[bot]
cad5192e31
Apply Version Updates From Current Changes ( #1561 )
...
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-25 16:07:22 -03:00
Lucas Fernandes Nogueira
a868cb7176
refactor(core): clear uri_scheme_protocol
registration function names ( #1617 )
...
* refactor(core): clear `custom_protocol` registration function names
* fix
* fix clippy
* improve docs
* clippy
* renames
2021-04-25 13:00:03 -03:00
renovate[bot]
95d6fd059f
chore(deps) Update Tauri Utils ( #1476 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-24 12:54:21 -03:00
Lucas Fernandes Nogueira
7471e347d3
feat(core): add error message on error::CreateWebview
( #1602 )
2021-04-23 15:30:02 -03:00
Lucas Fernandes Nogueira
cfa74ebf68
feat(core): validate dialog default_path
(it must exist) ( #1599 )
2021-04-23 03:17:29 -03:00
Lucas Fernandes Nogueira
aa7e2738cc
feat: use rfd::FileDialog#set_file_name
if default_path
is a file ( #1598 )
2021-04-23 03:04:47 -03:00
Lucas Fernandes Nogueira
82ef8f6a92
fix(core): clippy warnings, closes #1490 ( #1595 )
...
* fix(core): clippy warnings, closes #1490
* fix: cli.rs build
2021-04-23 01:40:43 -03:00
Lucas Fernandes Nogueira
5e65b768e5
fix(core): expose PageLoadPayload
struct ( #1590 )
2021-04-22 20:35:50 -03:00
Lucas Fernandes Nogueira
0234336d6a
chore: cleanup setup error usage ( #1588 )
2021-04-22 19:14:02 -03:00
Lucas Fernandes Nogueira
ef474e5635
feat(ci): cache ( #1585 )
2021-04-22 17:34:46 -03:00
Lucas Fernandes Nogueira
99307d02c3
fix(core): sidecar command path ( #1584 )
2021-04-22 16:01:56 -03:00
Lucas Fernandes Nogueira
8fd1baf69b
fix(core): pull package info from tauri.conf.json if set ( #1581 )
...
* fix(core): pull package info from tauri.conf.json if set
* fix: codegen
2021-04-22 12:28:18 -03:00
Lucas Fernandes Nogueira
5f033db41c
feat(core): use bundle identifier on user data path ( #1580 )
2021-04-22 11:05:03 -03:00
david
5909c1e014
Make sure custom protocol is handled as secure context on macOS ( #1551 )
2021-04-22 10:09:42 -03:00
Lucas Fernandes Nogueira
422dd5e2a0
fix(core): command name on plugin invoke handler ( #1577 )
2021-04-21 23:31:27 -03:00
Lucas Fernandes Nogueira
d3fdeb4518
feat(core): expose async_runtime
module ( #1576 )
2021-04-21 22:09:24 -03:00
Lucas Fernandes Nogueira
508eddc784
refactor(core): plugin initialization return value ( #1575 )
2021-04-21 21:44:18 -03:00
Lucas Fernandes Nogueira
938fb624f5
feat(core): expose custom protocol handler APIs ( #1553 )
2021-04-21 15:43:11 -03:00
Lucas Fernandes Nogueira
be65f04db7
fix(core): make window.__TAURI__.invoke context free, fixes #1547 ( #1565 )
2021-04-21 15:42:52 -03:00
Lucas Fernandes Nogueira
ceadf2f556
fix(core): macos shortcut modifiers, closes #1542 ( #1560 )
2021-04-21 09:12:18 -03:00
renovate[bot]
7b7658fbac
chore(deps) Update Tauri Core ( #1555 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 01:41:52 -03:00
Lucas Fernandes Nogueira
b2ed00087d
chore: remove entire test folder from packaged tauri
crate ( #1552 )
2021-04-20 20:13:42 -03:00
Jacob Bolda
ae14a3ff51
fix : #1517 had the wrong package reference in the changefile ( #1538 )
2021-04-19 12:31:13 -05:00
github-actions[bot]
a202b68447
apply version updates ( #1503 )
...
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
2021-04-19 17:19:30 +02:00
Laegel
fcb3b4857e
fix : #1512 ( #1517 )
...
* fix: Export
* chore(changefile)
* fix: Updated publish step
* fix: Also outputting CommonJS
* fix:`preparePublish` now copies the necessary files
* fix: typo
Co-authored-by: Laegel <valentin.chouaf@laposte.net>
* chore: update `build` script
* chore: add `prepublishOnly script`
* chore: update `api` covector config
* round two, fight!!
Co-authored-by: amrbashir <48618675+amrbashir@users.noreply.github.com>
2021-04-18 22:31:12 -05:00
renovate[bot]
7093dc6e11
chore(deps) Update Tauri Core ( #1474 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-16 19:52:35 -03:00
chip
e447b8e0e6
allow event listeners to be nested ( #1513 )
...
* allow event listeners to be nested
* finish event comment
* remove extraneous into_iter()
* use tag instead of params on event for easier testing
2021-04-15 21:22:47 -03:00
chip
ece243d17c
don't remove once listener on new thread ( #1506 )
...
Spawning an async task to remove the once listener caused it to be able to be
called multiple times before being removed. This design choice was previously
made due to deadlock happening when removing the event from inside `fn once`.
That was because the listeners were already locked inside the trigger when
asked to be removed. `fn trigger` now handles removing once handlers
2021-04-15 08:11:42 +02:00
github-actions[bot]
345f2dbfc5
Apply Version Updates From Current Changes ( #1499 )
...
Co-authored-by: nothingismagick <nothingismagick@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-14 20:33:44 -03:00
nothingismagick
850a99a576
fix(*): too many stars ( #1491 )
...
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
2021-04-14 23:17:58 +02:00
Lucas Fernandes Nogueira
395fbb343a
fix(core): build error without updater feature ( #1489 )
2021-04-14 22:55:05 +02:00
github-actions[bot]
e267ebf1f1
Apply Version Updates From Current Changes ( #1486 )
...
* apply version updates
* adjust versions to beta-rc
Co-authored-by: jbolda <jbolda@users.noreply.github.com>
Co-authored-by: Jacob Bolda <me@jacobbolda.com>
2021-04-14 13:51:25 -05: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
chip
ec27ca81fe
refactor(tauri): remove private params trait methods ( #1484 )
...
* refactor(tauri): remove private params trait methods
* add changes file
* remove newly unused trait in WindowManager unit test
2021-04-14 13:03:20 -05:00
Lucas Fernandes Nogueira
f2d24ef2fb
chore(deps): update wry ( #1482 )
2021-04-14 12:58:22 -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
Lucas Fernandes Nogueira
86f62d3c6e
fix(core): command API emitting terminated event before stdout finish ( #1471 )
2021-04-13 10:56:09 -03:00
Lucas Fernandes Nogueira
b359444317
chore(deps): use published tauri-hotkey crate ( #1470 )
2021-04-13 01:55:16 -03:00
Lucas Fernandes Nogueira
5b6c7bb6ee
feat(examples): showcase basics of multiwindows feature on api example ( #1468 )
2021-04-12 23:35:57 -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
nothingismagick
a8160224b7
chore(rust-toolchain): use 1.51.0 ( #1459 )
...
* chore(rust-toolchain): use 1.51.0
Signed-off-by: Daniel Thompson-Yvetot <denjell@mailscript.com>
* fix: core clippy
* fix: bundler clippy
* fix: cli.rs clippy
* fix: core clippy
* fix: bundler test
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-12 15:44:44 +02:00
nothingismagick
953289ca7f
chore/licenses ( #1461 )
2021-04-12 09:55:00 -03:00
Lucas Fernandes Nogueira
aea614587b
refactor(repo): add /tooling folder ( #1457 )
2021-04-12 01:59:25 -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
Lucas Nogueira
88cd6baa9d
Merge remote-tracking branch 'origin/dev' into feature/create-tauri-app
2021-04-11 10:11:29 -03:00
Jacob Bolda
40ac52971e
feat: create-tauri-app wiring ( #1442 )
...
* chore(deps) Update Tauri JS CLI (#1319 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri Core (#1318 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri API (#1316 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate serde_json to 1.0.64 (#1315 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate once_cell to 1.7.2 (#1314 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate image to 0.23.14 (#1313 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* feat(cli/build): improve no distDir error message (#1306 )
* feat(cli/build): improve no distDir error message
* chore: use Path's Display impl
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri API Definitions (#1317 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(bundler/wix): install webview2 runtime (#1329 )
* feat(bundler/wix): install webview2 runtime
* add changefile
* chore(deps) Update Tauri API Definitions (major) (#1290 )
* chore(deps) Update Tauri API Definitions
* chore: update to husky v5
* chore: remove husky script
* chore: recreate lock file
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri JS CLI (#1291 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* refactor(core): app hooks (#1332 )
* fix(api/window): rename manager export to appWindow (#1342 )
* feat(api/shell): allow open command to open files (#1341 )
* chore(deps) Update Tauri API Definitions (#1344 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate tokio to 1.3 (#1343 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate open to 1.6.0 (#1348 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(core): wrong usage of wry RPC on event API (#1351 )
* copy cli config definition window visibility defaults (#1353 )
* feat(core): add file drop handler (#1352 )
* fix: get correct resource dir in AppImge (fix #1308 ) (#1333 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat: build without proc macros (#1226 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update Tauri JS CLI (#1346 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(core): use Mutex in std to reduce async usage (#1350 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* fix(examples): build error (#1354 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* API example new ui (#1310 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps): remove `winres` from template (#1357 )
* refactor(core): add `unlisten`, `once` APIs to the event system (#1359 )
* fix(cli): use correct arg in `_blanks` links polyfill (#1362 )
* fix(api/http): correct types (#1360 )
* fix(api/http): correct types
* Add changes
* Update correct-http-api-types.md
* chore(deps) Update Tauri JS CLI (#1364 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri API Definitions (#1363 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(tauri/webview): Use different user_data_path for Windows (#1365 ) (#1366 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* fix(config): serde_json::Value::Object takes a Map instead of HashMap (#1371 )
* fix(config): serde_json::Value::Object takes a Map instead of HashMap
* fix: fmt
* fix(tauri.js): init command properly building with manifests (#1374 )
* fix(tauri.js): init command properly building with manifests
* fix: tests
* feat(bundler): add visual c++ redistributable files with MSM (#1368 )
* refactor(core): reduce usage on arc and mutex (#1361 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(config): allow setting product name and version on tauri.conf.json (#1358 )
* feat: add current working directory to path api module (#1375 )
* refactor(core): move bundle script to /tauri crate (#1377 )
* refactor(core): move bundle script to /tauri crate
* fix(cli): clippy
* fix(core): tests
* refactor(core): custom protocol URL uses the app identifier (#1376 )
* refactor(core): custom protocol URL uses the app identifier
* fix: clippy
* fix(tauri-api): remove .exe from app_name on windows (#1379 )
* chore(deps) Update Tauri API Definitions (#1384 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate tokio to 1.4 (#1383 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix(cli): prmpt user before install deps in init (#1381 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* chore(deps) Update dependency rollup to v2.42.4 (#1386 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(cli): rewrite init command in Rust (#1382 )
Co-authored-by: nothingismagick <denjell@mailscript.com>
* refactor(bundler): specific settings on dedicated structs, update README (#1380 )
* replace lazy_static uses with once_cell (#1391 )
* chore(deps) Update Tauri JS CLI (#1385 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(cli): rewrite info in Rust (#1389 )
* refactor(core): remove async from app hooks, add InvokeMessage type (#1392 )
* fix(cli): disable custom-protocol feature on dev command (#1393 )
* Fix extremely slow dev builds caused by embedding + compressing assets at compile time (#1395 )
* feat(bundler) code signing (#473 )
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: David Lemarier <david@lemarier.ca>
* feat(cli): run beforeDev and beforeBuild in a shell, closes #1295 (#1399 )
* update to sharp 0.28.0 for cpu arm (m1) (#1404 )
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
* feat(cli): propagate args passed after `dev --`, closes #1406 (#1407 )
* refactor(api): use secure RNG, closes #1356 (#1398 )
* chore(deps) Update Tauri API Definitions (#1411 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Rust crate rfd to 0.2.2 (#1410 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri CLI (#1413 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri Bundler (#1412 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* refactor(core): rewrite shell execute API, closes #1229 (#1408 )
* chore(deps) Update dependency @rollup/plugin-commonjs to v18 (#1415 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore(deps) Update Tauri JS CLI (#1414 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* fix: asset resolution on debug mode
* fix(core): ignore query string on custom protocol asset resolver (#1420 )
* wire up existing and adjust recipe configuration
* merge dev
* fix default app name
* clean up vanillajs and proper pass args
* use scaffe to copy the react templates
* fix(api): remove cjs, rename .mjs to .js
* chore: tauri.js dead code elim (#1422 )
* remove templates, only used it CTA
* help command is empty, remove
* delete files that aren't imported / required
* set files array to ignore src and config files
* remove unused deps
* add arch notes for future ref
* change file
* allow specifying a binary
* resolve last bits to reach scaffe
* adjust vanilla js template dir path
Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>
* fix up cra scaffolding
* remove none and rely on vanillajs
* log shell commands
* remove no recipe question branch
* shift react template for better overwrite copying
* update deps
* simple readme
* implement dep manager
* pretty
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Noah Klayman <noahklayman@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucasfernandesnog@gmail.com>
Co-authored-by: chip <chip@chip.sh>
Co-authored-by: Gabe Cohen <gcc3.14@gmail.com>
Co-authored-by: Ngo Iok Ui (Wu Yu Wei) <wusyong9104@gmail.com>
Co-authored-by: Alve Larsson <larsalvelarsson@gmail.com>
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com>
Co-authored-by: david <david@lemarier.ca>
Co-authored-by: nothingismagick <denjell@mailscript.com>
Co-authored-by: William <william@venner.io>
Co-authored-by: Rajiv Shah <rajivshah1@icloud.com>
Co-authored-by: Mehdi Rezaei <mehdiraized@gmail.com>
Co-authored-by: Sanket Chaudhari <chaudharisanket2000@gmail.com>
2021-04-11 04:22:07 -05: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
Amr Bashir
b9cbaad4d3
fix(api): use correct path for rollup bundle output ( #1448 )
2021-04-08 21:08:33 -03:00
Lucas Fernandes Nogueira
8b36fe0c5d
refactor: move tauri crates to /core folder ( #1444 )
2021-04-08 13:22:20 -03:00
chip
8584e667cd
speed up asset inclusion on debug mode ( fixes #1394 ) ( #1430 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-06 01:15:53 -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
2158a68d7d
wip: big refactor, removing application cycle + allowing generic parameters to the application ( #1400 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-04-03 21:41:04 -03:00
Lucas Nogueira
5eb04461ae
fix: asset resolution on debug mode
2021-03-31 02:51:32 -03:00
William
0d3e2c5542
Fix extremely slow dev builds caused by embedding + compressing assets at compile time ( #1395 )
2021-03-27 19:51:09 -03:00
Lucas Fernandes Nogueira
8bdd894925
refactor(core): move bundle script to /tauri crate ( #1377 )
...
* refactor(core): move bundle script to /tauri crate
* fix(cli): clippy
* fix(core): tests
2021-03-23 00:03:07 -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