Commit graph

55 commits

Author SHA1 Message Date
Simon Hausmann
0d8ecc6bc6 LinuxKMS: Improve diagnostics when opening the linux framebuffer fails
Collect all the error messages and don't just print the last time. The
first one is most likely the interesting one.
2025-07-11 08:30:44 +02:00
Simon Hausmann
b862dc8694 doc: Start a best practices page 2025-06-30 11:51:16 +02:00
Simon Hausmann
9ad4ef6e52 iOS: Disable the sandbox for the cargo build script by default
When the xcode project is in a sub-dir but the cargo build tries to access a file outside, this won't work.
2025-05-20 11:07:19 +02:00
Simon Hausmann
ca9f5c567e docs: First version of iOS instructions 2025-05-20 11:07:19 +02:00
Xcrong
dc2db6ad2b
docs(style): show how to select style in Python. (#8464)
Some checks are pending
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, 1.82) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (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.82) (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 / python_test (windows-2022) (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.82) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / mcu-embassy (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 / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / updater_test (0.3.0) (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
2025-05-18 15:36:39 +02:00
Olivier Goffart
c07c0840f6
docs: Add a web section
In particular, this also document how to enable the clipboard to
close #8338
2025-05-06 15:53:08 +02:00
Nigel Breslaw
666c48f83d
(figma) Spellcheck the figma project (#8366) 2025-05-05 14:24:13 +03:00
Simon Hausmann
a50b8f8793
FemtoVG: Add support for WGPU based rendering (#8268)
Enable via the `renderer-femtovg-wgpu` feature flag.

cc #171
2025-04-25 14:37:32 +02:00
Simon Hausmann
41acc93e71 Fix typo and silence cspell 2025-03-31 16:44:05 +02:00
crai0
c103d37828
Add string.to-lowercase and string.to-uppercase (#7922)
Adds methods to change a `string`'s case to lowercase or uppercase.
They use Rust's `to_lowercase` and `to_uppercase` `String` methods.

ChangeLog: Added string.to-lowercase and string.to-uppercase

Closes #7860
2025-03-25 09:53:54 +01:00
Simon Hausmann
b5661ab754
Ignore some words in the spell check 2025-02-02 08:43:16 +01:00
Olivier Goffart
c98d234b9e Janitor: Always use `#![no_std] for runtime lib
And call `extern crate std` when the feature is enabled.
I've read this is the good practice on how to do it.
So that the std prelude is no longer included automatically.
There is then less difference between std and and no-std build which
should avoid surprises in the CI when we use things from the prelude.

The downside is that there is a bit of churn in the tests
2025-01-27 19:22:00 +01:00
Olivier Goffart
846664ad45 WIP: native menubar using muda
Only the interpreter is implemented so far

MacOs won't work yet because we don't disable the default winit menubar

The viewer don't support removing the MenuBar yet
2025-01-08 14:05:35 +01:00
Nigel Breslaw
bc689c043d
Spell check was misconfigured (#7233) 2024-12-30 10:18:31 +02:00
Simon Hausmann
34bbeed11a
Prospective cspell fix 2024-12-11 19:07:40 +01:00
Nigel Breslaw
4c1ececc67
1.9 docs: Flesh out docs guide 2024-12-05 00:19:37 +02:00
Nigel Breslaw
45e83d31ed
1.9 docs: spellcheck docs in CI and fix typos 2024-12-03 15:11:07 +02:00
Nigel Breslaw
08d90a5f13
Next gen docs for 1.9 (#6766)
Co-authored-by: Aurindam Jana <aurindam.jana@slint.dev>
Co-authored-by: Tobias Hunger <tobias.hunger@slint.dev>
Co-authored-by: Simon Hausmann <simon.hausmann@slint.dev>
2024-11-14 15:52:35 +01:00
Nigel Breslaw
0461abfc73 Avoid building Rust on pnpm install 2024-11-14 12:25:42 +01:00
Nigel Breslaw
6beb0c3f02
chore: Update npm dependencies
Update biome
Update typescript
Update esbuild
2024-10-08 13:13:49 +03:00
Nigel Breslaw
a97b7c7d92
Replace npm with pnpm
Replaces the use of NPM with PNPM. This should make it quick and easy to update any of the dependencies as dependabot will now see everything in one go.
2024-10-07 15:38:26 +03:00
Simon Hausmann
19f6840452 Remove now unused Qt license files 2023-12-01 14:48:07 +01:00
Tobias Hunger
b12575a4c4 janitor: Go over our spell checking setup
* Extend the cspell word list
* Remove those extensions from individual source files
* white-list licenses and such as we should not meddle with those
* Fix spelling
2023-10-16 09:01:51 +02:00
Cole Lawrence
3490fa936a dev: Ignore CHANGELOG.md from pre-commit hook checks
* Add license checking for .prettierignore
2023-05-05 08:51:19 +02:00
Cole Lawrence
bddac9f98d dev: Add "structs" to cspell 2023-04-29 08:24:17 +02:00
Tobias Hunger
de0dc20e5b
slintpad: Move into tools/slintpad (#2435)
* Add "slintpad" to cspell white list for all languages
* Mention online_editor to slintpad rename in CHANGELOG
* Move tools/online_editor into tools/slintpad
* Update github actions accordingly

Co-authored-by: Olivier Goffart <olivier@woboq.com>
2023-03-29 16:32:30 +02:00
Tobias Hunger
0867aa1ed9 docs: Move slint language docs from langref to language folder 2023-02-22 21:13:47 +01:00
Tobias Hunger
5bcdf1be64
Improve README.md (#1209)
Add a "Quick Start" early on pointing to the Web demos and build
instructions. The idea is that you can go and play with Slint right after
reading what it actually is.

Mention recipes and other docs first, then point to the API docs. I am
pretty sure most users will stop reading once they find the links to the
APIs:-)
2022-05-04 09:23:40 +02:00
Tobias Hunger
c825eee228 janitor: Update global cspell
Update global cspell words and remove some file-wide words.

Also remove a manual test that is now also run as a proper test case.
2022-04-12 12:03:45 +02:00
Tobias Hunger
305f61ecb7
Add slint to cspell 2022-02-02 16:26:18 +01:00
Simon Hausmann
c846633708 Rename C ffi functions 2022-02-02 11:12:34 +01:00
Tobias Hunger
842f75e653 [reorg]: Move api/sixtyfps-rs/sixtyfps-* into api/rs 2022-01-31 18:24:33 +01:00
Simon Hausmann
8d089638ed Bump cSpell version
The VS code extension suggests upgrading.
2021-09-10 14:01:24 +02:00
Tobias Hunger
aea4ecca99 Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Simon Hausmann
3474204a2b Minor grammar polish
(and teaching cSpell that microcontroller is a word :)
2021-08-11 15:46:20 +02:00
Simon Hausmann
8a3a68a4fa Add API to Rust sixtyfps::Image to enable creation from user supplied image buffers
This adds an ImageBuffer and PixelBuffer type for SharedVector
backed images. The documentation explains how to use this
with low-level rendering functions and the popular image crate.

Fixes #387
2021-08-10 15:56:01 +02:00
Simon Hausmann
acb10caea3 internal cleanup: don't bother with Cargo.toml files
Crates names just create noise
2021-08-05 13:54:17 +02:00
Simon Hausmann
9f4fa3599a internal cleanup: make the GL backend cSpell clean 2021-08-05 13:52:55 +02:00
Simon Hausmann
66891a299c Start a new sixtyfps::Window API for Rust, C++, the interpreters and JS
The generated component now provides access to a Window type
via the window() accessor function.

This is part of #333
2021-08-03 10:32:04 +02:00
Simon Hausmann
dbdd8d8cb3 cspell: silence in fonts.rs 2021-07-26 14:37:40 +02:00
Simon Hausmann
e4dcb2757b cspell drive-by: ignore the codemap crate and its subspan function 2021-07-23 13:56:28 +02:00
Simon Hausmann
3ce30092b1 cSpell: ignore focusable 2021-07-12 16:28:56 +02:00
Simon Hausmann
5a6ba99de2 cSpell: ignore code inline blocks in markdown 2021-07-12 11:43:22 +02:00
Simon Hausmann
260b4dc72e cSpell: Ignore the github workflow yaml files
They're full of paths and other spelling unrelated terms :)
2021-07-07 14:12:49 +02:00
Tobias Hunger
88f7d24402 Janitor: Improve on regexp for RGB color encoding matches
Make it handle things like `from_argb(...)` and `RgbColor()`, too.

Require at least 3 [argb]s in a row to trigger.
2021-07-03 18:22:01 +02:00
Tobias Hunger
dfb21b23ca Update cspell.json files with more words and better regexps
* Add some more words to the word lists
* Ignore anything that looks like a crate path in rust
* Ignore everything that looks like a color encoding (AARRGGBB and
  similar strings)
* Change regexp about `#[cfg...]` and `#[repr...]` in rust: Require
  a word boundary (space/opening parens/whatever) after the string.
* Ignore `Qt_...` in rust.
2021-07-03 08:13:04 +02:00
Tobias Hunger
cf85c40a1b Sort words in cspell.json
No other changes.
2021-07-03 08:13:04 +02:00
Simon Hausmann
4c3da0ebc2 Prospective fix for cspell in the CI
Mark *.rst files as restructured text by extension, as the CI doesn't use
vscode
2021-07-02 16:26:55 +02:00
Olivier Goffart
c25d41526a More spelling whitelists 2021-07-01 14:10:22 +02:00
Simon Hausmann
8284470630 Ignore all of conf.py
Maybe not worth it in this file :-)
2021-07-01 14:04:40 +02:00