Commit Graph

68 Commits

Author SHA1 Message Date
Lucas Fernandes Nogueira
6d94ce4235 feat(core): theme is now implemented on macOS (#4380) 2022-06-17 14:08:35 -03:00
Lucas Fernandes Nogueira
a136d0ed5c docs(api): add example to all functions, closes #4322 (#4325) 2022-06-12 21:44:33 -03:00
Lucas Nogueira
0c63595916 fix(docs): grammar on private API usage warning 2022-05-30 11:06:32 -03:00
Lucas Nogueira
1303264190 chore: enable set_cursor_position in Linux
It is not ready yet, but it has been pushed to tao
2022-04-22 21:55:17 -03:00
Lucas Fernandes Nogueira
582bdfccbc docs(tauri): document all feature flags, add test (#3947) 2022-04-22 21:51:39 -03:00
Lucas Fernandes Nogueira
c54ddfe933 feat: expose window cursor APIs, closes #3888 #3890 (#3935) 2022-04-21 15:54:08 -03:00
Lucas Fernandes Nogueira
4cebcf6da7 feat: expose theme APIs, closes #3903 (#3937) 2022-04-21 15:03:29 -03:00
Lucas Nogueira
4541eaf2cb fix: flag capitalization on documentation 2022-03-29 10:43:59 -03:00
Fabian-Lars
1deeb03ef6 fix(api.js): appWindow shown as type any, fixes #3747 (#3772)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-24 19:43:18 -03:00
Amr Bashir
6054e981c4 Revert "Fix importing @tauri-apps/api in Node.js" (#3767) 2022-03-24 13:07:22 -03:00
Kasper
d36c8e0322 Fix importing @tauri-apps/api in Node.js (#3752)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-03-22 18:19:46 -03:00
Jonas Kruckenberg
393f4b3d79 docs: update WebviewWindow doc comment (#3730) 2022-03-19 23:05:44 -03:00
Lucas Fernandes Nogueira
8c9358725a refactor(core): move png and ico behind Cargo features (#3588) 2022-03-05 14:19:24 -03:00
Lucas Fernandes Nogueira
b744cd2758 feat: extend scopes with user selected paths, closes #3591 (#3595) 2022-03-03 15:41:58 -03:00
Lucas Fernandes Nogueira
9cb1059aa3 fix(api): do not throw an exception if __TAURI_METADATA__ is not set, fixes #3554 (#3572) 2022-03-03 10:40:31 -03:00
Lucas Nogueira
c50fbc22e7 docs(api): window label 2022-02-11 13:56:31 -03:00
Lucas Nogueira
8d6f629445 docs(api): window allowlist 2022-02-11 13:56:15 -03:00
Lucas Fernandes Nogueira
4a10e88c4b feat(docs): document data URLs usage (#3360) 2022-02-08 11:11:32 -03:00
Lucas Fernandes Nogueira
9b34055264 fix(core): window-specific event delivery, closes #3302 (#3344) 2022-02-06 17:50:02 -03:00
Jonas Kruckenberg
9b19a805aa fix(api.js) Replace number[]with Uint8Array. fixes #3306 (#3305)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2022-02-04 22:18:23 -03:00
Lucas Fernandes Nogueira
f5109e0c96 fix(api): window label null instead of actual value, closes #3295 (#3332) 2022-02-04 21:57:41 -03:00
Lucas Nogueira
0d1e3219b4 Merge branch 'next' into feat/audit-patches 2022-02-02 20:09:41 -03:00
Lucas Nogueira
28a67fdb60 chore(docs): update platform-specific documentation notes 2022-01-22 14:35:36 -03:00
Lucas Nogueira
a48b8b18d4 feat(core): validate callbacks and event names [TRI-038] [TRI-020] (#21) 2022-01-09 16:12:29 -03:00
Lucas Fernandes Nogueira
680554de3e feat: validate window label [TRI-021] (#13) 2022-01-09 14:30:43 -03:00
Lucas Nogueira
6ac21b3cef feat: add private api feature flag (#7) 2022-01-09 11:29:29 -03:00
Lucas Fernandes Nogueira
0600099696 feat(api): support unknown types for event emit payload, closes #2929 (#2964) 2022-01-07 16:50:07 -03:00
Lucas Fernandes Nogueira
74dff536d4 fix(core): emit tauri://close-requested to JS, closes #2996 (#3041) 2021-12-09 12:22:12 -03:00
Amr Bashir
1bfc32a3b2 fix(api.js): add fileDropEnabled to WindowOptions, closes #2968 (#2989) 2021-12-09 01:03:21 -03:00
renovate[bot]
b759744999 chore(deps) Update Tauri API Definitions (major) (#2747)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-10-13 10:30:24 -03:00
Lucas Fernandes Nogueira
11db96e440 fix(cli.js): .ico icon generation, closes #2692 (#2694)
* fix(cli.js): `.ico` icon generation, closes #2692

* fmt

* chore: cleanup resize logic
2021-10-02 08:42:32 -03:00
Lucas Nogueira
a21f6b212c docs(api): clarify setSize, setMinSize, setMaxSize and setLocation, closes #2660 2021-09-29 18:00:59 -03:00
Lucas Nogueira
2792531347 chore: apply temporary change to __currentWindow usage 2021-09-27 15:13:01 -03:00
Lucas Nogueira
f68603aee4 chore(docs): simplify event system documentation 2021-09-27 13:07:05 -03:00
Adilson Schmitt Junior
cc8b1468c8 Fix(api): Window size and position returning wrong class (fix: #2599) (#2621)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-09-22 18:57:23 -03:00
amrbashir
ba9f1a3ceb docs(api.js): update platform-specific notes size 2021-09-04 17:52:57 +02:00
Lucas Fernandes Nogueira
8e48029790 feat(api): improve EventName type definition (#2379) 2021-08-10 10:54:42 -03:00
Amr Bashir
1a51006673 fix(core): data-tauri-drag-region didn't respect resizable, closes #2314 (#2316)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2021-08-02 10:43:31 -03:00
FabianLars
0f63f5e757 fix(api): Fix monitor functions, closes #2294 (#2301)
Co-authored-by: Amr Bashir <48618675+amrbashir@users.noreply.github.com>
2021-07-29 13:44:24 -03:00
Lucas Fernandes Nogueira
268450b132 fix(api): global bundle broken code, closes #2289 (#2297) 2021-07-26 11:25:08 -03:00
Amr Bashir
9fbcc02454 fix(api.js): fix double window creation, closes #2284 (#2285) 2021-07-23 09:06:12 -04:00
Amr Bashir
785865863e chore(api.js): better platform-specific notes (#2253) 2021-07-21 12:23:16 +08:00
Amr Bashir
dd52e738f1 fix(api.js): fix @ts-expect-error usage, closes #2249 (#2250) 2021-07-19 18:19:58 -04:00
Lucas Fernandes Nogueira
d69b1cf6d7 feat(api): allow mananing windows created on JS (#2154) 2021-07-05 12:16:55 -03:00
Lucas Fernandes Nogueira
5d7626f897 feat(api): WindowManager extends WebviewWindowHandle, add events docs (#2146) 2021-07-03 23:38:35 -03:00
Lucas Fernandes Nogueira
7dcca6e928 feat(core): add request_user_attention API, closes #2023 (#2026)
* feat(core): add `request_user_attention` API

* fix: api lint

* fix build without window allowlist
2021-06-20 23:42:38 -03:00
Lucas Fernandes Nogueira
5cba6eb4d2 feat(core): add window center API, closes #1822 (#1954) 2021-06-05 18:20:16 -03:00
Lucas Nogueira
e06aa27738 feat(core): add set_skip_taskbar API 2021-05-30 22:09:12 -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