Commit Graph

141 Commits

Author SHA1 Message Date
Amr Bashir
8f8729d918 fix(core): allow canceling data-tauri-drag-region maximization on macOS, closes #8306 (#8312)
* fix(core): allow canceling `data-tauri-drag-region` maximization on macOS, closes #8306

* Update .changes/tauri-data-drag-region-macos-maximize.md

* fix typo

* cancel if mouse moves

* Update tauri-data-drag-region-macos-maximize.md

[skip ci]

* Update core/tauri/scripts/core.js [skip ci]

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2023-12-28 09:13:48 -03:00
Amr Bashir
5046270273 fix(api): add top-level main, module and types fields (#8267) 2023-11-20 18:12:52 -03:00
Lucas Fernandes Nogueira
3671edbcff fix(core): toggle devtools via global shortcut (#7937)
* fix(core): toggle devtools via global shortcut

* Update .changes/fix-toggle-devtools.md
2023-10-02 17:19:01 +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
Jason Tsai
0797a002ca fix: use button property for data-tauri-drag-region mouse button detection, closes #7694 (#7746) 2023-09-07 09:55:47 -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
Amr Bashir
71a0240166 chore: remove hotkey.js script and replace var with const (#7343)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-07-12 08:44:26 -03:00
Amr Bashir
757e959eb2 feat: respect base tag's target attribute, closes #7285 (#7344)
* feat: respect `base` tag's `target` attribute, closes #7285

* Update core.js

* fix condition
2023-07-11 15:11:23 +03: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
Lucas Fernandes Nogueira
ee71c31fd0 feat(core): allow configuring remote domains with IPC access, closes #5088 (#5918) 2023-04-11 08:50:15 -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
Lucas Fernandes Nogueira
46e6187c89 chore: update license year (#6311) 2023-02-19 10:17:49 -03:00
Amr Bashir
d4d6a98d98 fix(core): convert js Map to object before serialization, closes #6078 (#6099)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2023-01-18 22:17:01 -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
Jason
4892637f83 fix: Resizing glitch on custom titlebar click (closes #2549) (#5966)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
closes https://github.com/tauri-apps/tauri/issues/2549
2023-01-03 14:14:37 -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
Amr Bashir
146a794cb6 fix(core): sync windows metadata across all windows, closes #5571 (#5615)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-12-27 12:19:07 -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
Lucas Fernandes Nogueira
aa119f2836 feat(api): add FormData support on Body.form, closes #5545 (#5546) 2022-11-04 15:18:28 -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
Lucas Fernandes Nogueira
357480f4ae feat(core): custom protocol headers on Linux, closes #4496 (#5421) 2022-10-17 12:08:59 -03:00
Lucas Fernandes Nogueira
95f467add5 feat(core): add window accept_first_mouse option, closes #5347 (#5374) 2022-10-17 11:07:45 -03:00
Pedro Luiz Cabral Salomon Prado
49f06ca4b9 fix: deepfreeze check by prop (#5407)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-17 10:59:06 -03:00
Amr Bashir
1129f4f575 refactor: simplify api.js bundling (#4277)
Co-authored-by: Jonas Kruckenberg <iterpre@protonmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-04 16:56:35 -03:00
Kasper
39bf895b73 feat(macOS): Add application show and hide methods (#3689)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-10-03 14:49:59 -03:00
Amr Bashir
6f41a27124 fix(api.js): fix Monitor initialization, closes #4672 (#5314)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-30 14:39:51 -03:00
Caesar Schinas
5d89905e39 feat(api): add app-specific directory APIs, closes #5263 (#5272)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 19:34:09 -03:00
jabza
eedfa5e618 feat(core): Expose "ignore_cursor_events" to Tauri and API (#5032)
Co-authored-by: Thomas Kilsby <>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-09-28 16:55:35 -03:00
Fabian-Lars
3c62dbc902 feat(api): Add exists function to the fs module. (#5060)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
2022-09-15 11:28:52 -03:00
Lucas Nogueira
5790218fb6 chore: update core/tauri/scripts/bundle.js 2022-09-03 01:05:48 -03:00
Lucas Fernandes Nogueira
2901145c49 chore: update license headers (#5067) 2022-08-28 15:13:21 -03:00
Amr Bashir
20a7036ba5 Revert "fix(core): avoid conflict with user-defined cmd arg in invoke, closes #4875 (#4892)" (#4924)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-08-12 20:34:17 -03:00
Amr Bashir
5109c27501 fix(core): avoid conflict with user-defined cmd arg in invoke, closes #4875 (#4892) 2022-08-08 15:51:56 -03:00
horochx
d8cf9f9fcd Command support for specified character encoding, closes #4644 (#4772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-27 18:23:27 -03:00
Danil Karpenko
aa9f1243e6 Improved EventEmitter for tauri api shell (#4697)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-07-25 19:35:35 -03:00
Lucas Fernandes Nogueira
92aca55a6f feat(api): add support to ArrayBuffer (#4579) 2022-07-05 17:40:36 -03:00
Lucas Fernandes Nogueira
b02fc90f45 feat(api): add abstractions to updater and window event listeners (#4569) 2022-07-05 16:57:53 -03:00
Lucas Fernandes Nogueira
b8cd2a7993 feat(api): call toString() on dialog title and message, closes #4583 (#4588) 2022-07-04 22:30:06 -03:00
renovate[bot]
be4831fdfb chore(deps) Update Tauri API Definitions (#4512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-06-29 00:58:07 -03:00
Lucas Fernandes Nogueira
ea43cf52db fix(api): writeBinaryFile sends an empty contents with only one arg (#4368) 2022-06-16 11:56:13 -03:00
Lucas Nogueira
0c45641398 chore: add comment explaining preventDefault() usage 2022-06-13 16:57:09 -03:00
Lucas Nogueira
30450d0fb9 Merge remote-tracking branch 'origin/dev' into dev 2022-06-13 16:49:46 -03:00
Lucas Nogueira
a0e20621f5 fix: preventDefault mousedown on data-tauri-drag-region, closes #4059 2022-06-13 16:49:36 -03:00
Fabian-Lars
55f89d5f9d fix(api): Rename FormPart value to file to match docs and endpoint (#4307) 2022-06-09 11:22:17 -03:00