Amr Bashir
44e3335da8
fix(core/shell): speedup Command.execute & fix extra new lines ( #9796 )
...
* fix(core/shell): speedup `Command.execute` & fix extra new lines (#9706 )
* fix(core/shell): speedup `Command.execute` & fix extra new lines
The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.
The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519
ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383
* fix unix build
* clippy
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
* lock file
* minor
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2024-05-24 13:40:05 -03:00
Amr Bashir
3b69c1384b
Revert "fix(core/shell): speedup Command.execute & fix extra new lines ( #9706 )" ( #9792 )
...
* Revert "fix(core/shell): speedup `Command.execute` & fix extra new lines (#9706 )"
This reverts commit 7f885bd5ed .
* change file
2024-05-15 19:28:15 +03:00
github-actions[bot]
15c62b5d99
Apply Version Updates From Current Changes (v1) ( #9721 )
...
* apply version updates
* fmt
---------
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-09 15:22:45 -03:00
Angel S. Moreno
f1b0b00159
docs: added example of tauri.allowlist.protocol ( #9726 )
2024-05-09 19:52:55 +03:00
Amr Bashir
7f885bd5ed
fix(core/shell): speedup Command.execute & fix extra new lines ( #9706 )
...
* fix(core/shell): speedup `Command.execute` & fix extra new lines
The speed gains comes from running the Command in Rust fully and returning the result in one go instead of using events.
The extra new lines was a regression from https://github.com/tauri-apps/tauri/pull/6519
ref: https://github.com/tauri-apps/tauri/issues/7684#issuecomment-2100897383
* fix unix build
* clippy
* cleanup
---------
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2024-05-09 18:14:53 +03:00
Amr Bashir
e3b6d38d26
fix(core/path): remove suffix in basename only once ( #9166 )
...
* fix(core/path): remove suffix in basename only once
ref: #9064
* Update tooling/api/src/path.ts
---------
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app >
2024-03-18 08:40:18 -03:00
Chase Knowlden
c34710de67
fix: Fix archived links, Closes #8302 ( #8315 )
2023-11-29 03:41:41 +02:00
Merlin Gough
14544e4b87
fix(api): avoid crashing in clearMocks, closes #8179 ( #8219 )
...
* fix(api): do nothing in clearMocks if __TAURI_INTERNALS__ is not defined (fix : #8179 )
Prevents tests that didn't define any mocks from failing in `afterEach` test hook.
* Update fix-clearmocks.md
* check for indvidiual properties instead
2023-11-13 17:48:54 +02:00
i-c-b
416370a627
enhance(docs): Document Windows-specific icon behaviour ( #8153 )
2023-11-06 20:12:26 -03:00
Amr Bashir
2b0212af49
feat(api): add mock for convertFileSrc, closes #7935 ( #7961 )
...
* feat(api): add mock for `convertFileSrc`, closes #7935
* fix lint
* Update tooling/api/src/mocks.ts
* fmt
2023-10-17 15:33:44 +03:00
Fabian-Lars
9aa34ada57
feat(core): Allow http origin on Windows, fixes : #3007 ( #7645 )
...
Co-authored-by: Lucas Nogueira <118899497+lucasfernog-crabnebula@users.noreply.github.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-09-26 14:40:38 -03:00
Fabian-Lars
58d6b899e2
feat(api): Add append option to writeFile apis ( #7636 )
...
* feat(api): Add `append` option to writeFile apis.
* wording
* fmt
* Update .changes/fs-append-file.md
* clippeeeyyyy
2023-08-16 19:09:05 +03:00
Amr Bashir
6c408b736c
feat: add notification sound ( #7269 )
...
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-08-08 15:09:04 -03:00
Amr Bashir
2eab150563
feat(api/http): properly handle Files in Body.form, closes #7390 ( #7394 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
closes #7390
2023-07-13 08:58:21 -03:00
Fabian-Lars
3fb3f11fc8
docs(api.js): fix since version for locale() ( #7205 )
2023-06-14 20:30:57 +03:00
Lucas Fernandes Nogueira
696d77c3ce
fix(core): global events now reaches window listeners, closes #4493 ( #7163 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-06-13 08:05:58 -03:00
Lucas Fernandes Nogueira
3303041c92
chore(api): document new options from #6665 ( #7072 )
2023-05-27 04:39:37 -07:00
Amr Bashir
000104bc3b
feat: add is_focused APIs, closes #6472 ( #6530 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-05-26 13:37:28 -03:00
Tomáš Diblík
c4d6fb4b1e
feat(core): Ability to disable minimize/maximize/close native window's buttons, closes #2353 ( #6665 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-05-24 17:23:32 -03:00
Amr Bashir
359058cecc
feat(api): add locale function, closes #5939 ( #5960 )
2023-05-23 16:02:33 -03:00
Amr Bashir
0b46637eba
fix(api): construct correct object for onResized and onMoved, closes #6507 ( #6509 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-04-03 12:18:36 -03:00
renovate[bot]
d3e4fb20b5
chore(deps) Update Tauri API Definitions ( #6523 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app >
2023-04-03 11:33:47 -03:00
Mokhtar Hamdoune
81b9c505cc
return the commment of maximum number of redirects to its right place… ( #6607 )
2023-04-03 08:39:15 -03:00
Fabian-Lars
23282873e7
docs(api.js): Fix basename example, closes tauri-apps/tauri-docs#1180 ( #6553 )
2023-03-31 10:13:04 -03:00
Lucas Fernandes Nogueira
d788d23071
refactor(core): do not allow JS API to set additional browser args ( #6216 )
...
This was introduced in #5799 , but it's dangerous to let the frontend set this option.
2023-03-31 10:05:18 -03:00
Amr Bashir
058469114d
docs: update formdata usage ( #6374 )
...
* docs: update formdata usage
* update generated files
* update generated files
* run workflow on push for dev only
* remove `js-api.json` from generated files check
* restore js-api.json before checking diff
2023-03-17 13:13:02 -03:00
sameoldlab
00c60097c5
fix scope example ( #6401 )
...
Changed `scope` example to provide an array, as described in the docs and how it works.
2023-03-17 13:11:43 -03:00
Fabian-Lars
1fa729b218
fix(docs): mark internal interfaces as such to deduplicate markdown output ( #6260 )
2023-03-16 09:25:13 -03:00
2nthony
3536aa00d1
fix(api): event name types ( #6318 )
...
* fix(api): event name
* suggestion change
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
---------
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
2023-03-16 09:16:50 -03:00
Lucas Fernandes Nogueira
46e6187c89
chore: update license year ( #6311 )
2023-02-19 10:17:49 -03:00
Fabian-Lars
f7ac2e9250
docs(api.js): fix heading level in window api docs ( #6157 )
2023-01-29 15:00:50 -03:00
renovate[bot]
0d6bc3b583
chore(deps) Update dependency eslint-config-standard-with-typescript to v32 ( #6141 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-26 09:16:57 -03:00
renovate[bot]
b9559b35d1
chore(deps) Update dependency eslint-config-standard-with-typescript to v30 ( #6091 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-19 00:25:18 -03:00
renovate[bot]
7ae67dde69
chore(deps) Update dependency eslint-config-standard-with-typescript to v26 ( #5981 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2023-01-04 13:05:00 -03:00
Bo
00e1efaa9b
feat: customize button texts of message dialog ( #4383 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-27 18:15:53 -03:00
renovate[bot]
488a7562bb
chore(deps) Update dependency eslint-config-standard-with-typescript to v24 ( #5832 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-27 13:15:58 -03:00
TomatoCake
ff99a9bf74
docs(api): Add missing APIs to dialog allowlist ( #5858 )
2022-12-27 10:40:28 -03:00
Noam Zaks
3dc38b150e
feat(core): expose additional_browser_args to window config ( fix : #5757 ) ( #5799 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-14 11:46:24 -03:00
Amr Bashir
5fd4d20e3b
chore: remove duplicate field ( #5824 )
2022-12-13 12:56:58 -03:00
Amr Bashir
4ab5545b7a
feat: add content protection api, closes #5132 ( #5513 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-13 01:04:22 -03:00
Amr Bashir
233e43b0c3
feat: add title getter on window, closes #5023 ( #5515 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-12-13 00:59:09 -03:00
Lucas Fernandes Nogueira
d0d873e39a
feat(core): add support to mailto: and tel: links, closes #5521 ( #5544 )
2022-12-13 00:57:39 -03:00
crpz1
62144ef3be
feat: add is_minimized ( fix #3878 ) ( #5618 )
...
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com >
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
fixes https://github.com/tauri-apps/tauri/issues/3878
2022-12-12 10:34:19 -03:00
Fabian-Lars
5fe68b1cec
docs: Various docs improvements ( #5643 )
2022-11-17 18:47:54 -03:00
Justin Syme
830ae97955
docs(api.js): update app.show docs ( #5633 )
...
Grammar correction.
2022-11-16 12:39:22 +02:00
Lucas Fernandes Nogueira
aa119f2836
feat(api): add FormData support on Body.form, closes #5545 ( #5546 )
2022-11-04 15:18:28 -03:00
Webber Takken
35264b4c18
docs: fix missing object to read from for listen example ( #5505 )
2022-10-29 08:56:14 -03:00
Lucas Fernandes Nogueira
79dd6e16a7
fix(core): properly emit events with object payload, closes #5482 ( #5492 )
2022-10-27 19:01:37 -03:00
Webber Takken
cb6ee77e69
fix(docs): remove parameter from example that's not in the api [skip ci] ( #5471 )
...
* Remove parameter from example that's not in the API
* Update filter extensions
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de >
2022-10-23 21:46:40 +02:00
Caesar Schinas
4137ab44a8
feat(macos): add tabbing_identifier option, closes #2804 , #3912 ( #5399 )
...
Co-authored-by: Lucas Nogueira <lucas@tauri.studio >
2022-10-19 09:20:17 -03:00