Amr Bashir
8de308d1bf
feat(core): implement new config structure ( #8723 )
...
* feat(core): implement new config structure
RFC#5 f3e82a6b0c/texts/0005-tauri-config-restructure.md
* fixes
* remove tauri-plugin copy [skip ci]
* move platform specific configs
* fix build
* fix cli
* doctests
* change files
* read updater plugin config on CLI
* doctests
* remove env var from docs
* fix getting pubkey
* add migrations
* clippy
* update change file [skip ci]
* rename frontendDist to prodFrontend?
* Revert "rename frontendDist to prodFrontend?"
This reverts commit ef7394f085
.
* fix all_features check
* fix field name
* single license getter on bundler
* readd msiexec_args
* remove unused fixture
* update template
* Update .changes/tauri-bundle-settings-rfc-5.md
* Update .changes/config-restructure-rfc-5.md
* lint bundler, fix change file
* rename AppUrl to FrontendDist, add explicit variants for docs
* fix build
* lint
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-02-03 00:39:48 -03:00
Lucas Fernandes Nogueira
c77b40324e
refactor(core): add support to multiple webviews on a Tauri window ( #8280 )
...
* feat: update to latest wry
* wry dev branch [skip ci]
* fix linux [skip ci]
* refactor(runtime): split webview and window types
* split dispatch
* implement create_webview
* move webview message
* wip webview mod
* create webview manager, finish webview struct and builder
* fix tests and docs
* rename WindowUrl to WebviewUrl
* update examples
* event refactor
* update JS API
* fix events
* update example
* add WebviewWindow class on JS
* fix macos build
* allow creating window+webview on the same runtime call
* rename tauri://window-created to tauri://webview-created
* Window::add_child
* use inner_size from webview on macOS
* add multiwebview example
* automatically resize webviews on window resize
* fix tests
* set_position, set_size
* position, size getters
* set_focus
* add close fn
* update mock runtime
* lint [skip ci]
* fix inner_size getter [skip ci]
* import hwnd [skip ci]
* update webview bound ratios on set_size/set_position
* add auto_resize option
* fix android
* fix build on windows
* typo
* with_webview isnt desktop only
* add WebviewWindow rust struct (and builder)
* fix build on android
* license header
* fix macos/windows
* fix macos build
* resolve todo
* handle window not found
* hide unstable features
* document unstable feature [skip ci]
* webview plugin permissions
* hide more stuff
* fix doctests
* typos
* add change files
* fix examples
* rename hook
2024-01-24 11:05:18 -03:00
Fabian-Lars
c2ad4d28c4
refactor(api)!: Rename primitives
mod to core
( #8273 )
2023-11-20 17:53:13 -03:00
Olivier Lemasle
efe7811804
fix(examples): use __TAURI__.primitives ( #8077 )
...
Closes #8073
2023-10-22 03:38:18 +03:00
Lucas Fernandes Nogueira
d5074af562
fix: custom protocol on Windows, change scheme on Android, closes #7801 ( #7808 )
2023-09-11 12:25:06 -03:00
Lucas Fernandes Nogueira
4cb51a2d56
refactor(core): custom protocol on Windows now uses the http scheme ( #7779 )
2023-09-07 19:57:16 -03:00
Amr Bashir
7fb419c326
refactor: move to muda
and tray_icon
crates ( #7535 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-08-13 22:25:50 -03:00
Lucas Fernandes Nogueira
fbeb5b9185
refactor(core): use webview's URI schemes for IPC ( #7170 )
...
Co-authored-by: chip <chip@chip.sh>
2023-08-10 10:12:38 -03:00
Amr Bashir
e1e85dc2a5
chore: fix ci and cleanup leftovers ( #6925 )
...
* chore: fix ci and cleanup leftovers
1. removed leftover feature flags
2. remove zip/extract apis which are not used anymore
3. removed leftoever scopes
4. removed leftover allowlist and updater options
5. updated the example api
* remove leftover updater structs
* move updater under bundle and remove uneeded options
* fix cli on linux
* remove create_proxy
* clippy
* more clippy
* clippppy
* readd path api
* fix api example
* remove window allowlist
* remove window from allowlist config
* remove `all` allowlist option
* remove file_move
* lint
* fix windows build
* remvoe unused deps
* remvoe allowlist config option, move protocol to `security > asset_protocol`
* fix diffing features
* fmt and test
* fix scope alias
* change files
* android lint
* simplify allow_file impl
* Revert "simplify allow_file impl"
This reverts commit b8882f2fd0
.
* expose scopes
* remove unused error variants
* protocol-asset on docs.rs
* ignore reqwest on udeps
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2023-05-13 13:48:28 +03:00
Amr Bashir
c4171152c1
fix: enable shadows by default, closes #6909 ( #6916 )
2023-05-09 15:56:13 +03:00
Lucas Nogueira
4585a1cbb0
Merge branch 'dev' into next
2023-05-07 10:42:44 -03:00
Amr Bashir
6ff801e27d
chore: rename config-schema
to tauri-config-schema
( #6250 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-04-07 12:11:05 -03:00
Lucas Nogueira
1fd329935e
Merge branch 'dev' into next
2023-02-19 11:34:02 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Amr Bashir
f6c3ea6faa
chore: simplify windows_subsystem attribute ( #6273 )
2023-02-18 16:23:09 -03:00
Amr Bashir
a81750d779
feat(core): add shadow APIs ( #6206 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-02-07 19:38:10 -03:00
Lucas Fernandes Nogueira
6e879742f0
feat(ci): improve cache, add test-core features matrix ( #5604 )
2022-11-10 17:30:10 -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
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
f1637d62df
refactor(examples): remove unused files ( #3762 )
2022-03-23 20:45:43 -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
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
2812c4464b
feat(core): window, shortcut and clipboard API calls on main thread ( #2659 )
2021-09-26 01:50:27 -03:00
Lucas Fernandes Nogueira
aecdfaf76f
fix(core): raw-window-handle
dependency, closes #2460 ( #2465 )
2021-08-17 10:27:18 -03:00
Alve Larsson
7057c0f7b8
New brand ( #2445 )
...
* Update readme
* Update splash.svg
* New logo
* change to image
* Update splash.png
* Update README.md
* Mac Tray icon fix
2021-08-16 22:00:40 +08: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
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
Ngo Iok Ui (Wu Yu Wei)
c1f8e11342
chore: remove unnecessary anonymous lifetimes ( #1829 )
2021-05-14 10:29:54 -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
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
b86fe9a6de
feat(examples): add splashscreen example ( #1685 )
2021-05-03 11:16:51 -03:00