Olivier Goffart
59ac3ac599
Update MSRV to 1.85
CI / files-changed (push) Waiting to run
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, 1.85) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, 1.85) (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions
2025-06-26 22:50:15 +02:00
Simon Hausmann
43db58aaf5
Bump MSRV to 1.82
...
Fixes #7254
2025-01-14 08:33:21 +01:00
Tasuku Suzuki
346d1c2df3
Fix typos
...
Ran `typos .` and fixed all typos that do make sense.
https://crates.io/crates/typos
2025-01-13 08:35:20 +01:00
Olivier Goffart
3e94bd2167
Janitor: Remove trailing whitespaces from all files
...
`git grep -I -l -O'sed -i "s/[[:space:]]*$//"' -e ''`
2025-01-10 13:23:22 +01:00
Simon Hausmann
b2a4286f10
Node.js: Fix links to Slint Language Docs
2024-12-18 12:08:34 +01:00
Simon Hausmann
1ba2a6f0f0
Node.js: Upgrade TypeDoc
...
Typedoc complains about the links from the reference to the cover.md.
I couldn't find a way to make those warnings go away, but the links work.
As a remedy, `treatWarningsAsErrors` is removed temporarily.
Similarly, the relative links aren't supported either, so link to the latest
Slint docs.
Fixes #6488
2024-12-17 09:33:56 +01:00
Simon Hausmann
c8653819e3
Include cargo-about output in the Typedoc generated docs
...
... by injecting the .html file after building the docs.
2024-12-16 21:54:37 +01:00
Nigel Breslaw
92534a8a27
1.9 Organise docs folder. ( #7005 )
...
Move astro files to docs/astro
2024-12-05 15:40:04 +02:00
Nigel Breslaw
4c1ececc67
1.9 docs: Flesh out docs guide
2024-12-05 00:19:37 +02:00
FloVanGH
300c66fef3
node: added getting started (bun) to cover.md ( #6516 )
...
* Update api/node/cover.md
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
---------
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-10-11 06:12:50 +00:00
Florian Blasius
610a23b487
removed slint tags from cover.md
2024-10-10 07:32:24 +02:00
Florian Blasius
99702779a6
node: added structs and enums doc to cover.md
2024-10-10 07:13:42 +02:00
Nigel Breslaw
6beb0c3f02
chore: Update npm dependencies
...
Update biome
Update typescript
Update esbuild
2024-10-08 13:13:49 +03:00
Olivier Goffart
1c3eb46752
Fixup dead links to the old tutorial
2024-10-03 10:15:52 +02:00
Olivier Goffart
fc324a4db2
Update MSRV to 1.77
2024-09-26 09:14:58 +02:00
Simon Hausmann
e36eb6aba6
Document behaviour of globals when exporting multiple components
...
Fixes #5467
2024-07-18 13:43:13 +02:00
Simon Hausmann
29fdac89ab
Node.js: Don't use deprecated syntax
2024-07-18 10:37:05 +02:00
Chris Chinchilla
7afa34a7e1
Rename tutorial to quickstart ( #4941 )
2024-04-04 13:26:24 +02:00
Olivier Goffart
fd4dcfc128
Update MSRV to 1.73
...
A MSRV update is required to update the image crate to 0.25, otherwise
we get link error that are ficed in newer version.
Also other dependency update such as env_logger needs a newer MSRV.
Update to 1.73 because it has functions like `with_borrow` on thread
storage which we already actually use in some platform.
This is also the last release before the the drop of macOs < 10.12
in Rust 1.74
2024-03-27 09:04:31 +01:00
Simon Hausmann
841cb25565
Node.js: Always map Slint arrays to Model<T> in JavaScript
...
This gives a consistent interface - there's no more need to check the result of a property read on whether it's an array or a model.
2024-02-26 15:02:41 +01:00
Simon Hausmann
108975ad6c
Add deno to the Slint-node cover docs
...
- We could import from `npm:...` directly, but by using an import map, the import is centrally controlled and all subsequent snippets for Node.js can also be used with Deno
- Use .mjs for the node snippet as we use ES module syntax
Unfortunately our own examples can't be equipped with a deno.json yet as
deno does not support yet imports of node modules from a local path.
2024-01-26 18:55:38 +01:00
Simon Hausmann
9f440c2699
Node.js: Document global singletons
2024-01-23 17:51:01 +01:00
Simon Hausmann
df7657dc2d
doc: fix typo
2023-11-11 00:28:52 +08:00
Florian Blasius
bb9ba91255
moved slint classed to private_api ( #3893 )
2023-11-09 16:03:08 +01:00
Simon Hausmann
1c0ebe4c0e
Node.js docs: Add some missing type mappings
2023-11-08 19:52:50 +01:00
Simon Hausmann
ad21ecb2c5
Node.js docs: Link to SlintBrush, SlintImageData for getters
2023-11-08 19:52:50 +01:00
Simon Hausmann
ad95dc3ad7
Various changes to the Node.js docs
...
- Make the walkthrough actually work
- Fix incorrect file paths
- Link between loadFile and the component instantiation section, as well as ComponentHandle
- Declare that loadFile may throw an exception
2023-11-08 19:52:50 +01:00
Florian Blasius
62a30a0e2e
node: export classes use interfaces for setters ( #3804 )
2023-10-31 10:36:00 +01:00
Florian Blasius
0045787e1c
node: api review adjustements part I ( #3766 )
...
* Update api/node/src/types/brush.rs
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update tests/cases/callbacks/handler_with_arg.slint
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
2023-10-26 10:02:49 +02:00
Simon Hausmann
192e04bea3
Fix broken doc link
2023-10-25 09:05:59 +02:00
Florian Blasius
bf77b064ab
Replace neon node port ( #3744 )
...
* Update api/node/README.md
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-24 15:07:59 +02:00
Olivier Goffart
a565ed53fd
Upgrade MSRV to 1.70
...
Many of our dependencies already made the jump and require a cargo update hack, so make it official
Removed the MSRV from the README since it applies to master branch and people read the readme also for
the released version. There is enough documentation of the MSRV in other locations.
2023-09-06 12:09:03 +02:00
Simon Hausmann
96d7bb132c
reuse: remove glob for markdown files
...
Instead, place the copyright and license right into the source.
To satisfy reuse, this also removes the unnecessary MIT.txt
symlinks.
2023-08-17 08:55:28 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Olivier Goffart
9a51114387
Nodejs: add some documentation of the dependencies
...
Fix #2220
2023-03-30 09:42:00 +02:00
Simon Hausmann
d85ea23e4d
doc: Apply beta tag also to nodejs built docs
...
See commit 7343828ed0
2023-03-28 08:45:09 +02:00
Tobias Hunger
78892cdf1f
docs: Fix broken links in our docs.
2023-02-22 17:08:30 +01:00
Tobias Hunger
d93445bd0b
docs: Remove inline langref documentation and link the mdbook
...
For node and cpp, I use relative links to point to the slint language
reference documentation.
For the slint crate documentation I create a link to
https://slint-ui.com/releases/VERSION/ ... instead: This needs to work from
docs.rs as well as from our own docs area on slint-ui.com! That is
pretty ugly: I can not even define constants for this as the crate docs
need to come before anything else.
2023-02-07 12:10:07 +01:00