Commit graph

1395 commits

Author SHA1 Message Date
dependabot[bot]
173934c2a5
build(deps): bump the starlight_astro group with 2 updates (#7517)
Bumps the starlight_astro group with 2 updates: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [starlight-links-validator](https://github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator).


Updates `astro` from 5.1.9 to 5.2.3
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.2.3/packages/astro)

Updates `starlight-links-validator` from 0.14.1 to 0.14.2
- [Release notes](https://github.com/HiDeoo/starlight-links-validator/releases)
- [Changelog](https://github.com/HiDeoo/starlight-links-validator/blob/main/packages/starlight-links-validator/CHANGELOG.md)
- [Commits](https://github.com/HiDeoo/starlight-links-validator/commits/starlight-links-validator@0.14.2/packages/starlight-links-validator)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: starlight-links-validator
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 12:15:23 +02:00
dependabot[bot]
618398f72c
build(deps-dev): bump cspell from 8.17.2 to 8.17.3 (#7522)
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 8.17.2 to 8.17.3.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.17.3/packages/cspell)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-03 12:13:53 +02:00
Simon Hausmann
d31ee19ee2 Versionize links to the C++/Rust/Node.js docs
Fixes #7368
2025-02-03 09:49:09 +01:00
Olivier Goffart
b68f7bdf9a Update Menu docs
Apply suggestions from code review

Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2025-01-31 14:05:28 +01:00
Olivier Goffart
54832b7463 Documentation for the MenuBar and the ContextMenu 2025-01-31 14:05:28 +01:00
Nigel Breslaw
a3d46a9e88
Add and use YouTube videos within the Slint docs (#7500)
Adds a YouTube component to Astro.
Links the Docs intro and VS Code intro.
Uses high res thumbnails via the 'poster' prop.
2025-01-30 16:25:04 +02:00
Nigel Breslaw
0dda72ff3d
The links to the STM templates are broken. (#7479)
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2025-01-29 10:46:21 +01:00
dependabot[bot]
e958d6b31b
build(deps): bump the playwright group with 2 updates (#7467)
Bumps the playwright group with 2 updates: [@playwright/test](https://github.com/microsoft/playwright) and [playwright](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.49.1...v1.50.0)

Updates `playwright` from 1.49.1 to 1.50.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.49.1...v1.50.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: playwright
- dependency-name: playwright
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 13:09:26 +02:00
dependabot[bot]
c324a37a20
build(deps): bump astro from 5.1.7 to 5.1.9 in the starlight_astro group (#7466)
Bumps the starlight_astro group with 1 update: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `astro` from 5.1.7 to 5.1.9
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.1.9/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-27 10:54:56 +02:00
Gabriel
8e75b96777
Add search terms for two-way bindings (#7445) 2025-01-24 19:24:23 +02:00
Simon Hausmann
804d18e165 Remove redundant Slint code snippet in Rust globals invocation example docs
Fixes #6578
2025-01-21 16:50:50 +01:00
Nigel Breslaw
a3e7623f53
Docs: std-widgets layout box wording fix. (#7417)
Fixes: #7360
2025-01-21 15:37:10 +02:00
Nigel Breslaw
5806b027ff
Docs: Apply usage of language tabs everywhere (#7416)
Fixes: #7367
2025-01-21 15:29:34 +02:00
Simon Hausmann
0d723953f9 Add support for line caps in Path Strokes
ChangeLog: Added `Path::stroke-line-cap` property.

Fixes #4676
2025-01-20 22:28:45 +01:00
Simon Hausmann
af23873f86 Fix wrong screenshot of layout stretch algorithm code snippet
Match the width of the screenshot with the width specified in the example.

Fixes #7406
2025-01-20 11:19:54 +01:00
dependabot[bot]
0bf0db0fd0
build(deps): bump the starlight_astro group with 2 updates (#7404)
Bumps the starlight_astro group with 2 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) and [@expressive-code/plugin-line-numbers](https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/plugin-line-numbers).


Updates `@astrojs/starlight` from 0.31.0 to 0.31.1
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.31.1/packages/starlight)

Updates `@expressive-code/plugin-line-numbers` from 0.40.0 to 0.40.1
- [Release notes](https://github.com/expressive-code/expressive-code/releases)
- [Changelog](https://github.com/expressive-code/expressive-code/blob/main/packages/@expressive-code/plugin-line-numbers/CHANGELOG.md)
- [Commits](https://github.com/expressive-code/expressive-code/commits/@expressive-code/plugin-line-numbers@0.40.1/packages/@expressive-code/plugin-line-numbers)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
- dependency-name: "@expressive-code/plugin-line-numbers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-20 10:21:07 +02:00
dependabot[bot]
2724d60584
build(deps-dev): bump cspell from 8.17.1 to 8.17.2 (#7374)
Bumps [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) from 8.17.1 to 8.17.2.
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v8.17.2/packages/cspell)

---
updated-dependencies:
- dependency-name: cspell
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 17:39:50 +02:00
dependabot[bot]
7fc32e5149
build(deps): bump the starlight_astro group with 3 updates (#7373)
Bumps the starlight_astro group with 3 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight), [@expressive-code/plugin-line-numbers](https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/plugin-line-numbers) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `@astrojs/starlight` from 0.30.6 to 0.31.0
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.31.0/packages/starlight)

Updates `@expressive-code/plugin-line-numbers` from 0.39.0 to 0.40.0
- [Release notes](https://github.com/expressive-code/expressive-code/releases)
- [Changelog](https://github.com/expressive-code/expressive-code/blob/main/packages/@expressive-code/plugin-line-numbers/CHANGELOG.md)
- [Commits](https://github.com/expressive-code/expressive-code/commits/@expressive-code/plugin-line-numbers@0.40.0/packages/@expressive-code/plugin-line-numbers)

Updates `astro` from 5.1.5 to 5.1.7
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.1.7/packages/astro)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: "@expressive-code/plugin-line-numbers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-15 16:23:53 +02:00
Olivier Goffart
fbaa18aafc
Docs: Update docs for image
Link to the API docs from the image type.
2025-01-15 08:03:00 +01:00
Tasuku Suzuki
68b9dfc247 String: Add .is-empty and .character-count properties
Introduce two new properties for string in .slint:
- .is-empty: Checks if a string is empty.
- .character-count: Retrieves the number of grapheme clusters
  https://www.unicode.org/reports/tr29/#Grapheme_Cluster_Boundaries

These additions enhance functionality and improve convenience when working with string properties.
2025-01-14 19:29:05 +01:00
dependabot[bot]
68a5adec94 build(deps): bump @expressive-code/plugin-line-numbers
Bumps [@expressive-code/plugin-line-numbers](https://github.com/expressive-code/expressive-code/tree/HEAD/packages/@expressive-code/plugin-line-numbers) from 0.38.3 to 0.39.0.
- [Release notes](https://github.com/expressive-code/expressive-code/releases)
- [Changelog](https://github.com/expressive-code/expressive-code/blob/main/packages/@expressive-code/plugin-line-numbers/CHANGELOG.md)
- [Commits](https://github.com/expressive-code/expressive-code/commits/@expressive-code/plugin-line-numbers@0.39.0/packages/@expressive-code/plugin-line-numbers)

---
updated-dependencies:
- dependency-name: "@expressive-code/plugin-line-numbers"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 15:27:05 +01:00
dependabot[bot]
870805ec19 build(deps): bump typescript from 5.2.2 to 5.7.3
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.2.2 to 5.7.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.2.2...v5.7.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-14 15:25:56 +01:00
Nigel Breslaw
b4d2782ee4
docs: Fix missing trailing slash (#7353)
The docs were generated so links did not end with a trailing slash. e.g. https://docs.slint.dev/latest/docs/slint/guide/tooling/vscode but the website setup then redirects this to https://docs.slint.dev/latest/docs/slint/guide/tooling/vscode/. This now ensures the trailing slash is added.
2025-01-14 15:49:47 +02:00
Simon Hausmann
31c0fea9aa doc: Shorten and edit the main page button text
This is attempt to make it easier to read by using less words and by starting
each card with a verb (to make it actionable). Also removed the backticks
for std-widgets, as it seems that LinkCard doesn't support inline markdown
formatting.
2025-01-14 09:58:40 +01:00
Simon Hausmann
20a0a585c3 doc: fix broken links 2025-01-14 09:31:05 +01:00
Simon Hausmann
43db58aaf5 Bump MSRV to 1.82
Fixes #7254
2025-01-14 08:33:21 +01:00
Nigel Breslaw
a390118b6a
Docs: Fix <title> tag having docs version (#7350)
The version was being set not just as a visual title, but also as part of the meta tag for every page on the docs site. Which will then change for each release as the version number changes.

Other sites have a static label here that is independent of the version e.g. Slint UI or Slint docs. 'Slint Docs' is now used.
2025-01-13 17:07:07 +02:00
ogoffart
c83af3ca5c Bump version number to 1.10.0 2025-01-13 13:38:41 +00:00
Olivier Goffart
f6768a3ce7 Revert "Prepare 1.9.2 release"
The release is out

This reverts commit 3f29258081.
2025-01-13 11:55:12 +01:00
Nigel Breslaw
0301c9d7d8 docs: Fix sideBar div stopping slint text being selected 2025-01-13 10:01:07 +01:00
Olivier Goffart
3f29258081 Prepare 1.9.2 release 2025-01-13 09:10:03 +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
dependabot[bot]
017a3c7c98
build(deps): bump the starlight_astro group across 1 directory with 2 updates (#7344)
Bumps the starlight_astro group with 2 updates in the / directory: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight) and [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `@astrojs/starlight` from 0.30.3 to 0.30.6
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.30.6/packages/starlight)

Updates `astro` from 5.1.2 to 5.1.5
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.1.5/packages/astro)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-13 09:04:25 +02:00
Olivier Goffart
e8c56be0ca Re-enable tests of the doc snippets
Since the file were moved to `.mdx` they were no longer tested.
Adapt the code so it can test things that needs to be wrapped.
Fix a bunch of mistake in the docs such as simple syntax error to
documented callback that did not exist like SpinBox::changed
2025-01-10 13:24:19 +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
c764da4aab
Add property to toggle anti-aliasing on Path elements (#7308)
This enables working around bugs in GPU drivers. Especially the GC7000UL
plus its driver on imx8mp has been observed to sometimes horribly degrade in
performance when Skia renders anti-aliased paths (when a function like
`gcoSURF_BlitCPU` shows up at the top of `perf` that's a bad sign).
2025-01-10 10:28:01 +01:00
Simon Hausmann
aa651a2ad4 Add armhf/arm64 Linux packages to release artifacts table docs 2025-01-08 14:42:40 +01:00
Nigel Breslaw
b5ecd82ab3
Docs: Reactivity (#7266) 2025-01-06 18:22:30 +02:00
dependabot[bot]
9dfedb3c03
build(deps): bump astro from 5.1.1 to 5.1.2 in the starlight_astro group (#7277)
Bumps the starlight_astro group with 1 update: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro).


Updates `astro` from 5.1.1 to 5.1.2
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.1.2/packages/astro)

---
updated-dependencies:
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 15:49:41 +02:00
Nigel Breslaw
4f08bf6fd2
Visal docs tweak (#7264) 2025-01-03 16:41:21 +02:00
Nigel Breslaw
1ed40e6bc7
Fix broken links to cpp and rust docs (#7263) 2025-01-03 12:03:43 +02:00
Simon Hausmann
b593976431 Fix for download links for C++ binary packages in release notes
The {download_version} variable is either "nightly" or "vX.Y.Z", but the C++ binary packages dont have the "v" prefix. So use the plain version variable for the file name infix in the link.

Fixes #7242
2025-01-02 13:32:22 +01:00
Nigel Breslaw
7b6afcbe1a
Bring back version banner (#7253) 2025-01-02 12:58:52 +02:00
Maksym Hazevych
7293bbea97
Fixes obvious grammar errors (#7229) 2024-12-30 17:44:51 +02:00
ogoffart
f309a551b5 Bump version number to 1.9.2 2024-12-30 10:18:16 +00:00
dependabot[bot]
87702e9b55
build(deps): bump the starlight_astro group with 4 updates (#7237)
Bumps the starlight_astro group with 4 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro), [starlight-links-validator](https://github.com/HiDeoo/starlight-links-validator/tree/HEAD/packages/starlight-links-validator) and [starlight-sidebar-topics](https://github.com/HiDeoo/starlight-sidebar-topics/tree/HEAD/packages/starlight-sidebar-topics).


Updates `@astrojs/starlight` from 0.30.2 to 0.30.3
- [Release notes](https://github.com/withastro/starlight/releases)
- [Changelog](https://github.com/withastro/starlight/blob/main/packages/starlight/CHANGELOG.md)
- [Commits](https://github.com/withastro/starlight/commits/@astrojs/starlight@0.30.3/packages/starlight)

Updates `astro` from 5.0.9 to 5.1.1
- [Release notes](https://github.com/withastro/astro/releases)
- [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md)
- [Commits](https://github.com/withastro/astro/commits/astro@5.1.1/packages/astro)

Updates `starlight-links-validator` from 0.13.4 to 0.14.1
- [Release notes](https://github.com/HiDeoo/starlight-links-validator/releases)
- [Changelog](https://github.com/HiDeoo/starlight-links-validator/blob/main/packages/starlight-links-validator/CHANGELOG.md)
- [Commits](https://github.com/HiDeoo/starlight-links-validator/commits/starlight-links-validator@0.14.1/packages/starlight-links-validator)

Updates `starlight-sidebar-topics` from 0.2.1 to 0.3.0
- [Release notes](https://github.com/HiDeoo/starlight-sidebar-topics/releases)
- [Changelog](https://github.com/HiDeoo/starlight-sidebar-topics/blob/main/packages/starlight-sidebar-topics/CHANGELOG.md)
- [Commits](https://github.com/HiDeoo/starlight-sidebar-topics/commits/starlight-sidebar-topics@0.3.0/packages/starlight-sidebar-topics)

---
updated-dependencies:
- dependency-name: "@astrojs/starlight"
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: starlight_astro
- dependency-name: astro
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: starlight-links-validator
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
- dependency-name: starlight-sidebar-topics
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: starlight_astro
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 11:37:08 +02:00
Nigel Breslaw
bc689c043d
Spell check was misconfigured (#7233) 2024-12-30 10:18:31 +02:00
Tasuku Suzuki
31c5d9407f Doc: specify package to build Rust API
When `cargo doc` generates multiple docs, it reports the last one(carousel) and --open opens it.
```
Generated .../target/doc/carousel/index.html and 26 other files
```

Specifing the package solves the issue and improves developer experience.
2024-12-26 17:53:45 +01:00
Tasuku Suzuki
831211e955 Docs: improve what interpreter test does 2024-12-26 17:49:01 +01:00
Tasuku Suzuki
266c603970 Docs: fix the path for the syntax tests 2024-12-25 08:39:54 +01:00