Olivier Goffart
dd46e8fa8a
Docs: Rewrite the docs of ScrollArea to document actual behavior
...
Fixes #10185
2025-12-01 12:03:01 +01:00
Kristof Mattei
16b6101c40
LSP: add support for vscode-remote:// schemas ( #10182 )
...
I validated all usages of `"builtin` in the `lsp` crate, but
all occurrences found are actually referring standard slint components
Fixes #8089
2025-12-01 11:38:55 +01:00
Montel Laurent
1d0399c659
[switch] fix accessible_default_action when switch is disabled ( #10174 )
2025-12-01 11:31:55 +01:00
Ashley
710f0c1968
Styled Text: add a macro and functions for parsing markdown ( #10060 )
...
* Add markdown macro and parse/escape functions
* Markdown stuff
* Implement escape markdown, handle trailing literal sections
* add StyledText Type and Value
* Implement more things
* [autofix.ci] apply automated fixes
* Rename MarkdownText to StyledText
* Add comments and solve warnings
* Apply automated fixes
* Fill out styled text type
* Change rendertext trait to use enum
* Add allow missing docs to stuff
* Fix testing backend thing
* Move test
* Don't use std:: for certain types
* Fix api/node
* [autofix.ci] apply automated fixes
* Rename to StyledTextItem
* Ignore styledtext in cpp for now
* Remove whitespace change
* Add tests, cpp generator changes
* Add markdown interpolation tests
* Add more tests, some fixes
* Implement some StyledText things
* Fix sharedparley imports
* Manually implement StyledText cpp type
* [autofix.ci] apply automated fixes
* Fix escape and parse markdown functions
* [autofix.ci] apply automated fixes
* Add ignore pyi, documentation for cpp styled text
* Apply some suggestions
* [autofix.ci] apply automated fixes
* Add cpp functions for styled text
* [autofix.ci] apply automated fixes
* Add documentation
* Fix api exports
* class -> struct
* Gate exports behind shared-parley
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-01 22:58:56 +13:00
Olivier Goffart
cf36183a8c
editors/kate: Change the license to MIT ( #10184 )
...
So that we can upstream it in KDE repository
See https://github.com/slint-ui/slint/discussions/10154
2025-12-01 10:57:53 +01:00
dependabot[bot]
decc619b67
build(deps): bump the npm-minor-updates group across 1 directory with 5 updates ( #10186 )
...
* build(deps): bump the npm-minor-updates group across 1 directory with 5 updates
Bumps the npm-minor-updates group with 5 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [@figma/plugin-typings](https://github.com/figma/plugin-typings ) | `1.119.0` | `1.121.0` |
| [shiki](https://github.com/shikijs/shiki/tree/HEAD/packages/shiki ) | `3.15.0` | `3.17.0` |
| [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight ) | `0.36.2` | `0.37.0` |
| [@playwright/test](https://github.com/microsoft/playwright ) | `1.56.1` | `1.57.0` |
| [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro ) | `5.15.9` | `5.16.3` |
Updates `@figma/plugin-typings` from 1.119.0 to 1.121.0
- [Commits](https://github.com/figma/plugin-typings/compare/v1.119.0...v1.121.0 )
Updates `shiki` from 3.15.0 to 3.17.0
- [Release notes](https://github.com/shikijs/shiki/releases )
- [Commits](https://github.com/shikijs/shiki/commits/v3.17.0/packages/shiki )
Updates `@astrojs/starlight` from 0.36.2 to 0.37.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.37.0/packages/starlight )
Updates `@playwright/test` from 1.56.1 to 1.57.0
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.56.1...v1.57.0 )
Updates `astro` from 5.15.9 to 5.16.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.16.3/packages/astro )
---
updated-dependencies:
- dependency-name: "@figma/plugin-typings"
dependency-version: 1.121.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor-updates
- dependency-name: shiki
dependency-version: 3.17.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: npm-minor-updates
- dependency-name: "@astrojs/starlight"
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: npm-minor-updates
- dependency-name: "@playwright/test"
dependency-version: 1.57.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: npm-minor-updates
- dependency-name: astro
dependency-version: 5.16.3
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: npm-minor-updates
...
Signed-off-by: dependabot[bot] <support@github.com>
* [autofix.ci] apply automated fixes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-01 11:15:20 +02:00
Olivier Goffart
0286f257ba
CI: fix ci_path_filter
...
Everything was matching 'internal' because I misunderstood how exclusion filter worked.
2025-12-01 09:50:09 +01:00
Pierre Freire
ade0195c55
fix(tree-sitter): support named parameters in callback signatures ( #10180 )
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-30 10:04:53 +01:00
Simon Hausmann
d903afecef
Python: Fix tests in the CI having difficulties connecting to Xvfb
...
Instead of connecting to the X server, let's run the Python tests with the testing backend, like we do for test-driver-rust, test-driver-cpp, etc.
When building the Python package, pass --features backend-testing to Cargo, to forward to enabling the backend-testing feature in i-slint-backend-selector. That consequently enables SLINT_BACKEND=testing.
2025-11-30 10:02:36 +01:00
Olivier Goffart
af0b3822c6
BackendSelector: allow what SLINT_BACKEND accepts as backend name ( #10168 )
...
autofix.ci / format_fix (push) Has been cancelled
autofix.ci / lint_typecheck (push) Has been cancelled
autofix.ci / ci (push) Has been cancelled
So that we can use the BackendSelector from the slint-viewer
2025-11-28 18:42:22 +01:00
Montel Laurent
dcc1518e17
[slider] Add enable state autotest ( #10172 )
2025-11-28 17:32:20 +01:00
Montel Laurent
80a9f397d9
[checkbox] fix accessible-action-default when checkbox is disabled ( #10173 )
2025-11-28 17:27:45 +01:00
Olivier Goffart
25ec2fb589
Docs: fix wrong link
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-28 11:12:31 +01:00
Olivier Goffart
59307db44b
Fix warning about redundant explicit link target
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
Since the 2024 edition, Future is in the prelude
2025-11-27 17:07:35 +01:00
Olivier Goffart
579cef451d
interpreter: fix unsafe in unsafe function warnings
2025-11-27 17:07:35 +01:00
Olivier Goffart
b3470206ff
Reformat after edition change
2025-11-27 17:07:35 +01:00
Olivier Goffart
423c5adaf9
Screenshot tests: test for skia rendering
2025-11-27 16:04:20 +01:00
Olivier Goffart
0376dfc04c
Screenshot test: move software renderer into feature/module
...
In preparation to add a Skia rendere
2025-11-27 16:04:20 +01:00
Simon Hausmann
37dbe7c1ec
Node.js: Don't run npm to install for dev dependencies that use a catalog url
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
That only works with pnpm or yarn, AFAICS.
2025-11-26 15:45:14 +01:00
burhankhanzada
ef9d5d5c0c
docs: Update language mod docs line.
2025-11-26 15:38:03 +01:00
burhankhanzada
3ab76828fc
docs: Clarify language module as containing built-in Slint types and add slint_doc attribute.
2025-11-26 15:38:03 +01:00
burhankhanzada
bd1b7a0d94
ci: re-enable ubuntu build
2025-11-26 15:38:03 +01:00
burhankhanzada
f9dfde1171
refactor: move ColorScheme to the new slint::language module
2025-11-26 15:38:03 +01:00
burhankhanzada
fdf518b4ed
refactor: use platform::Key for SlintKey import
2025-11-26 15:38:03 +01:00
burhankhanzada
3d6ef41fe5
refactor: remove i_slint_core and replace with private_unstable_api
2025-11-26 15:38:03 +01:00
Olivier Goffart
c8b864dbab
Screenshot tests: re-organize the test cases
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
- Remove "software" from the name in the testcases as we plan on
running these tests with several renderer
- Split into `image` and `text` directories
2025-11-26 13:35:08 +01:00
Simon Hausmann
16a96399b5
Python: Unpin ty type checker version
...
Match the name of the argument to please the type checker.
2025-11-26 11:30:10 +01:00
Olivier Goffart
25463bd782
C++: Fix warning about unused value if there is no bundled plurals translations
2025-11-26 11:11:07 +01:00
Olivier Goffart
59de54a1e4
Translations: allow to opt out of default context
...
Fixes #9955
2025-11-26 11:11:07 +01:00
Olivier Goffart
5b4c6847da
CI: increase granularity of the jobs
2025-11-26 10:56:09 +01:00
Simon Hausmann
15ff153c1e
CI: Add comment about why the version is pinned
2025-11-26 10:17:19 +01:00
Simon Hausmann
5e72094985
Python: Fix failing type check after new ty release
...
Pin to the previous version. See https://github.com/astral-sh/ty/issues/1644 for upstream report.
2025-11-26 10:14:38 +01:00
Simon Hausmann
813c987d85
CI: Use Ubuntu's arm gcc
...
Work around https://github.com/carlosperate/arm-none-eabi-gcc-action/issues/74
2025-11-26 08:59:57 +01:00
Joshua Goins
72f1db40cb
tools/tr-extractor: Make the paths argument required ( #10156 )
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
It doesn't make sense to extract messages from "no files", and I
was confused I was even able to do this when trying it out. If we
tell clap that it's required, then it'll give a better hint to the
user when they didn't pass anything.
2025-11-25 20:18:12 +01:00
Burhan Khanzada
7c755ee17d
servo: Improvments and fixs ( #10147 )
...
* fix: Url bar update when navigate to links
* fix: User can now input in input fields on websites
* feat: expand key mapping in `key_from_text` to support more Slint key events.
* docs: Update README
* chore: Use slint isntead i_slint_core for import where possible
* feat: Convert invalid url to search query of google
* refactor: consolidate event utility modules into a new `events_utils` module.
* refactor: imporve code
* refactor: improve imports
2025-11-25 17:00:29 +01:00
Joshua Goins
df9e30f2ba
editors/kate: Update syntax highlighting definition
...
When upstreaming this to KSyntaxHighlighting, I fixed a few minor
problems:
* Redone the formatting and removed the extra newlines.
* Our validation caught that there were too similar-looking RegExpr
expressions, so I combined them into one.
* Updated the author attribute to include the company name, alongside
the email.
* Removed the priority attribute since it seems useless here, I
don't think there are non-Slint .slint files.
2025-11-25 16:56:28 +01:00
Olivier Goffart
01076a67a7
Update parley and fontique ( #10148 )
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
2025-11-25 14:31:29 +01:00
Simon Hausmann
d2efedc1e4
doc: Generate the list of values in the Key namespace
...
After we forgot with #9172 to accidentally document the key, let's automate this. Placed in the enums folder, not strictly an enum, but it works.
2025-11-25 09:07:58 +01:00
YuxuanYan
7bad0c4828
Error message for using a python callback decorator on an async callback not being declared ( #10152 )
...
* Error message for using a python callback decorator on an async callback not being declared
2025-11-25 08:43:02 +01:00
Olivier Goffart
cfdb39a808
Revert "Update parley and fontique" and related
...
autofix.ci / ci (push) Blocked by required conditions
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
This reverts commit e15b5e1e75 .
This reverts commit 584685b990 .
This reverts commit 7e46ffa8ce .
This was bushed too realy and brak CI
2025-11-24 16:37:05 +01:00
Olivier Goffart
e15b5e1e75
Prospective CI fix
2025-11-24 16:24:40 +01:00
Olivier Goffart
c03864a255
compiler: port from codemap-diagnostics to annotate-snippets
...
codemap is no longer maintained and deprecated.
annotate-snippets is the crate now used by cargo and rustc
2025-11-24 16:18:47 +01:00
Olivier Goffart
4bb977d3b4
docs.rs: Enable doc_cfg for i-slint-compiler
2025-11-24 16:16:17 +01:00
Olivier Goffart
9ee3d80499
Fix warning when Qt is disabled
2025-11-24 16:15:56 +01:00
Olivier Goffart
584685b990
Fix CI after fontique update
2025-11-24 16:13:59 +01:00
Olivier Goffart
42be0cf9dd
Dockefiles: remove useless env variable
...
They will not work as expected as the new fontique doesn't use dlopen
2025-11-24 14:50:36 +01:00
Olivier Goffart
7e46ffa8ce
Update parley and fontique
2025-11-24 14:50:36 +01:00
Olivier Goffart
ee3f4412bb
docs.rs: enable more features (including experimental) for our internal crates
...
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
autofix.ci / ci (push) Blocked by required conditions
Because our private api/internal crate might be used by user
experimenting with our experimental API, it might be usefull to point at
the docs of the experimental API in docs.rs since we don't generate the
docs for it on our own website.
2025-11-24 12:01:20 +01:00
Simon Hausmann
1242f09112
femtovg: Rename tuple field for ItemGraphicsCacheEntry::Texture match to match TextureWithOrigin
2025-11-24 11:47:07 +01:00
Simon Hausmann
98afee5b6f
femtovg: Add doc comment for origin field in TextureWithOrigin
2025-11-24 11:47:07 +01:00