Commit Graph

4614 Commits

Author SHA1 Message Date
github-actions[bot]
916a26c2a1
apply version updates (#9913) 2024-05-29 17:02:21 -03:00
Simon Hyll
0a6e62ac58
chore: update schema.json (#9908) 2024-05-29 16:33:39 -03:00
Amr Bashir
38df6ea1c1
fix(nsis): fix regression in shortcuts pointing to a non-existing file (#9909) 2024-05-29 16:33:24 -03:00
github-actions[bot]
a0a76cea2f
Apply Version Updates From Current Changes (#9911)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-05-29 13:58:51 -03:00
Amr Bashir
dfd05441c7
Revert "feat(core): add app-region: drag to data-tauri-drag-region (#9789)" (#9860)
* Revert "feat(core): add `app-region: drag` to `data-tauri-drag-region` (#9789)"

This reverts commit ae6b13dfc0.

* Update pre.json

* change files

* Discard changes to .changes/pre.json
2024-05-29 12:20:05 -03:00
Simon Hyll
5e8aa6f946
fix: workaround for broken example (#9906)
`schemars` improperly parses the docstring, causing a missing newline before the codeblock closing tics.
2024-05-30 00:16:29 +09:00
Tillmann
4942d809ab
feat: Auto Generation of ACL Schema File for Documentation (#9903)
* Add auto generated acl schema files for docs

* update CI

---------

Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-05-29 09:32:58 -03:00
github-actions[bot]
594e3e2939
Apply Version Updates From Current Changes (#9869)
* apply version updates

* fix bundler version

* update lockfile

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-29 00:10:20 -03:00
Lucas Nogueira
94cca92aeb
fix: regression extracting NSIS zip - target folder already exists 2024-05-28 23:37:06 -03:00
Amr Bashir
265c23886e
refactor(cli&bundler): avoid renaming main executable and preserve cargo name (#9375)
* refactor(cli&bundler): avoid renaming main executable and reserve cargo name

closes #8109
closes #8349

* fix bundler

* fix test

* Discard changes to core/tauri-build/Cargo.toml

* revert Cargo.toml changes

* Discard changes to Cargo.lock

* Discard changes to tooling/cli/Cargo.lock

* lock file

* use product name for installers

* only warn for sign on windows

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2024-05-28 13:50:41 -03:00
Amr Bashir
e8f6eb59a5
refactor(core)!: include all args in Env.args_os, closes #9430 (#9552)
* refactor(core)!: include all args in `Env.args_os`, closes #9430

* skip first arg on restart fn

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-28 13:49:44 -03:00
Amr Bashir
19b696b61c
fix(build): avoid copying resource onto itself (#9710)
* fix(build): avoid copying resource onto itself

closes #9666

* canonicalize once

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-28 13:48:52 -03:00
Amr Bashir
ccc3ea729d
fix(codegen): use TAURI_ENV_TARGET_TRIPLE to determine the current platform-specific config (#9646)
* fix(codegen): use `TAURI_ENV_TARGET_TRIPLE` to determine the current platform-specific config

* set env var

* Update .changes/tauri-codegen-use-correct-env.md

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-28 13:48:24 -03:00
Amr Bashir
bcc63bf36d
chore(examples/streaming): use get getrandom to generate boundary (#9546) 2024-05-28 11:50:55 -03:00
Jason Tsai
8b032c3cf6
fix(ios): add LaunchScreen.storyboard to iOS project template, fix#9853 (#9896)
* fix(ios): add LaunchScreen storyboard file

* chore: add changelog
2024-05-28 11:46:42 -03:00
Jason Tsai
adac2185a3
fix(android): check version code in release mode (#9898) 2024-05-28 11:37:38 -03:00
Jason Tsai
aa55e03354
fix: set window origin default to null (#9899) 2024-05-28 11:34:36 -03:00
Lucas Fernandes Nogueira
3f1c59d684
chore(cli): enhance mobile build by only compiling selected target (#9894)
Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2024-05-28 07:53:32 -03:00
Jason Tsai
71a5e2ba24
fix(android): allow and escape Kotlin keywords as package identifier, closes #9743 (#9799)
* fix(android): escape kotlin only keyword in template

* fix: escape keywords in wry templates aswell

* chore: add changelog

* chore: remove unused code

* fix(android): wry template, package name should reverse

* update cargo-mobile2

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-28 07:52:48 -03:00
Fabian-Lars
4754786aa2
fix(bundler/macos): Fix incorrect deep link plist property (#9885) 2024-05-27 15:59:00 -03:00
Lucas Fernandes Nogueira
9970d88bec
chore(android): update to latest Gradle (#9892) 2024-05-27 15:58:00 -03:00
Rajaniraiyn R
aaecb6a72e
refactor: rename tauri::dev to is_dev and mark as constant fn (#9890)
* refactor: made `tauri::dev` as constant function

this enables the `tauri::dev()` can be used as const or static

* is_dev && change files

---------

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2024-05-27 19:03:48 +03:00
Tony
27fd8cc56c
nsis_tauri_utils::download -> NSISdl::download (#9887) 2024-05-26 17:59:13 +03:00
Amr Bashir
9e4b2253f6
feat(cli): add tauri bundle subcommand (#9734)
* feat(cli): add `tauri bundle` subcommand

closes #8734

* license header

* log application path after building

* fix no-bundle check

* typo

* enhance error with deep causes

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 11:46:55 -03:00
Amr Bashir
5462e5cadc
feat(nsis): support installer hooks (#9731)
* feat(nsis): support installer hooks

closes #9668

* update change files

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-25 10:23:08 -03:00
Amr Bashir
418d72d72d
feat(bundler/nsis): add /UPDATE flag (#9559)
* feat(bundler/nsis): add `/UPDATE` flag

* typo

* typo

* skip webview2 installation on updating
2024-05-25 09:41:09 -03:00
Lucas Fernandes Nogueira
80aa504987
chore(cli): update Android target SDK to 34 (#9870) 2024-05-25 07:46:34 -03:00
Amr Bashir
c4410daa85
feat(tray): add enter, move and leave events (#9777)
* feat(tray): add `enter`, `move` and `leave` events

closes #8584

* update api example

* check button state [skip ci]

* fix enum [skip ci]

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 14:56:32 -03:00
Amr Bashir
276c4b1438
fix(Windows): sync menubar theme with the window theme (#9832)
* fix(Windows): sync menubar theme with the window theme

ref: https://github.com/tauri-apps/muda/issues/170

* fix moc runtime

* muda 0.13.4

* missing change file

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 14:23:54 -03:00
Jonas Kruckenberg
9ac930380a
chore: emit rustc-check-cfg for nightly (#9850)
* fix: emit cargo cfg alias using new syntax too

* Update lib.rs

* fixes for other crates

* clippy

* readd clone

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 13:12:51 -03:00
Mariotaku
fd2d7cf8b3
feat(android): aware of version info from tauri config (#9856)
* feat(android): versionName and versionCode support

* formatted code and updated schema

* fix config, cleanup generation

* update docs

* mention default version for android

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-05-24 10:56:21 -03:00
Amr Bashir
d6d3efbd12
feat(bundler): support custom sign command on Windows (#9865)
* feat(bundler): support custom sign command on Windows

closes #7188
closes #9578

* fix double quotes

* fix build

* fix build

* clippy

* Update sign.rs

* clippy && replace `winreg` with `windows-registry`

* remove log [skip ci]

* Apply suggestions from code review

* tweak arg so path with spaces work on macOS

* create nsis toolset paths

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 10:25:13 -03:00
Amr Bashir
fc1543c65e
refactor!: remove skip_webview_install option (#9864) 2024-05-24 10:13:55 -03:00
Jason Tsai
1df5cdeb06
refactor!: use tauri.conf.json > identifier as package name and bundle id, close #9851 (#9858)
* fix(android): use identifier as Android package name

* update android_binding and android_fn interface

* chore: rename TAURI_ANDROID_PACKAGE_PREFIX to TAURI_ANDROID_PACKAGE_NAME

* revert back to split prefix and app_name

* rename `domain` to `identifier`

* add change log

* simplify reverse config identifier

* Update .changes/mobile-use-identifier-as-id.md

* Update core/tauri-build/src/lib.rs

* lint

* cargo-mobile2 0.12

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-24 09:22:41 -03:00
Lucas Fernandes Nogueira
8a1ae2deaf
feat(plugin): add option to use a Xcode project for iOS (#9843)
* wip

* add option to use xcode project

* configuration

* clear env

* add change file

* remove xcuserdatad

* delete xcuserstate
2024-05-24 08:23:41 -03:00
github-actions[bot]
51b5d581b5
Apply Version Updates From Current Changes (#9752)
* apply version updates

* fix tests

* fix tests

---------

Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 23:20:59 -03:00
Tillmann
d950ac1239
Merge pull request from GHSA-57fm-592m-34r7
* only allow tauri-initialized frames to call the ipc

* dont regenerate the invoke key

* return early if the invoke key does not match

* add change file

* wry 0.40

* update change file

* trigger ci

---------

Co-authored-by: Chip Reed <chip@chip.sh>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2024-05-22 17:49:08 -03:00
Fabian-Lars
beda18bce9
fix(cli/add): Fix handling of more rust-only and non cross platform plugins (#9855) 2024-05-22 19:57:57 +03:00
Tony
ae6b13dfc0
feat(core): add app-region: drag to data-tauri-drag-region (#9789) 2024-05-22 19:45:39 +03:00
Amr Bashir
0b690f242f
fix(core): export UriSchemeResponder (#9845) 2024-05-21 20:13:40 +03:00
wackbyte
f4d67818f8
docs: fix typo in WebviewBuilder (#9847) 2024-05-21 20:01:52 +03:00
Fabian-Lars
781d74799a
fix(bundler/rpm): Reduce compression level to gzip/6 (#9840) 2024-05-21 19:03:47 +03:00
Lucas Fernandes Nogueira
5d20530c91
feat(core): add AppHandle::set_activation_policy (#9842) 2024-05-21 11:45:08 -03:00
Amr Bashir
d0d974fa5e
fix(bundler/nsis): fix registering deep-link protocols (#9833)
* fix(bundler/nsis): fix registering deep-link protocols

* Update bundler-nsis-deep-links.md

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-05-21 11:01:37 +02:00
ryoichi
0c61784efb
fix(example/state): correct invoke method path to __TAURI__.core.invoke() (#9817) 2024-05-19 11:16:23 +02:00
ryoichi
fe90a2925e
fix(examples/parent-window): fix typo in import (#9816) 2024-05-19 10:54:51 +02:00
Angel S. Moreno
c4bacce2c2
docs: update events emitTo @since JSDoc tag (#9811)
* Update event.ts 

EmitTo is new to v2 and was not in v1

* replaced @since instead of removing
2024-05-18 01:10:15 +03:00
Jason Tsai
86250a476e
ci: fix typo in android test workflow (#9800) 2024-05-16 18:44:48 +02:00
Lucas Fernandes Nogueira
be95d8d37c
fix(utils): incorrect ToTokens impl for Capability (#9782) 2024-05-15 03:52:05 +03:00
Lucas Fernandes Nogueira
e713ceb75d
chore(cli): remove unused iOS app icon (#9783) 2024-05-15 03:51:17 +03:00