Commit graph

33 commits

Author SHA1 Message Date
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
Simon Hausmann
8da64e93a6 Some cspell tweaks to silence conf.py 2021-07-01 14:04:40 +02:00
Olivier Goffart
67a4260beb Add one word in the spell whitelist
and use the proper config file
2021-07-01 13:37:55 +02:00
Simon Hausmann
88b8be0da5 A few cspell tweaks for markdown docs 2021-07-01 11:21:38 +02:00
Simon Hausmann
8289a3f576 Various cspell additions for the rst docs 2021-07-01 08:22:47 +02:00
Simon Hausmann
9f69fe09d8 Add an initial cspell file
This can be organically extended on the fly
2021-06-30 22:13:22 +02:00