Olivier Goffart
5052aa8561
Remove clap dependency of cbindgen
...
we don't use it, and clap used by cbindgen is an old version resulting
in duplicate clap versions being built
2023-08-25 10:51:59 +02:00
Olivier Goffart
146ed520e8
C++: rename SLINT_FEATURE_STD in SLINT_FEATURE_FREESTANDING with the opposite meaning
2023-08-21 16:52:30 +02:00
Tobias Hunger
f8d95afa2e
Make xtask's license checker handle html-style SPDX headers
...
.. and enable those for .md files
2023-08-17 08:55:28 +02:00
Simon Hausmann
bf7e7e7323
Move debugging techniques under advanced topics in the Slint reference
2023-08-15 10:43:49 +02:00
Simon Hausmann
870e0e541d
Restructure the Slint reference documentation
...
- Move the language reference into a sub-section of its own
- Made Reciples & Examples a top-level section
This paves the way for adding more top-level sections, such as advanced topics (with debugging techniques), or the list of supported
platforms.
2023-08-15 10:43:49 +02:00
Simon Hausmann
2e3f5637ea
Fix license header check on napi/.npmignore
...
Fixes
Error: checking /Users/simon/src/slint/api/napi/.npmignore
Caused by:
Cannot determine the expected license header style. Please fix the license checking xtask.
2023-08-15 10:21:38 +02:00
Olivier Goffart
c9f716d898
Make a esp-idf component for slint
2023-08-07 16:33:02 +02:00
darknight
37488f015d
Refactoring: define macro rules to group builtin structs
...
apply new macro for struct declaration, type register,
doc generation, cpp header generation, struct-value conversion.
2023-08-03 11:01:18 +02:00
Simon Hausmann
7ff7c2f875
Fix let-else formatting
...
Nightly now supports it and thus `cargo +nightly fmt` yields a
difference.
2023-07-28 13:43:21 +02:00
Olivier Goffart
fd7fc5ab9b
C++, remove the experimental flag
...
The platform namespace is now always enabled.
2023-07-28 10:36:08 +02:00
Olivier Goffart
3a807e46c1
Renderer feature refactor
2023-07-27 19:11:24 +02:00
Olivier Goffart
caabf9ae1e
Remove unused dependency
2023-07-27 10:39:51 +02:00
ogoffart
aebaa7d6c9
Bump version number to 1.2.0
2023-07-25 10:44:53 +00:00
Olivier Goffart
7cffad2c3f
C++: add a STD feature enabled by default
2023-07-18 12:44:20 +02:00
Olivier Goffart
a1bf77383f
C++: Add a mechanism to #define features that are enabled ( #3103 )
2023-07-18 11:49:00 +02:00
Simon Hausmann
8f6669194a
Fix disapearing debugging techniques docs from C++ docs
...
Amends a11c4c42b0
2023-07-17 18:08:31 +02:00
Simon Hausmann
7961bd68e5
Fix inclusion of some C++ interpreter data structures C++ docs
...
Make sure to generate the public interpreter header file for the docs
xtask unconditionally.
2023-07-17 15:52:42 +02:00
Simon Hausmann
a11c4c42b0
Remove the Slint language docs from the C++ API docs index
...
The symlink from docs/ is not needed anymore. Its presence meant that
sphinx recursively compiled all .md and .rst files and ended up adding
them to the searchable index.
Fixes #3033
2023-07-11 18:22:44 +02:00
Aurindam Jana
5a4a7fee63
Update royalty free license to 1.1 ( #2994 )
2023-07-10 10:12:11 +02:00
Olivier Goffart
e836e42997
Docs: don't commit the generated enums.md to the repo
...
Just generate it as we build the docs
2023-06-30 09:55:35 +02:00
ogoffart
c8c9496722
Bump version number to 1.1.1
2023-06-26 12:50:02 +00:00
Tobias Hunger
50cc61c242
Fix reuse 3.1 spec compliance issues
2023-06-22 10:49:18 +02:00
Olivier Goffart
11dea135f7
Domain: slint-ui.com -> slint.dev
2023-06-16 10:55:08 +02:00
Tobias Hunger
24c822dd60
xtask: Make docs MIT license
2023-06-16 09:14:20 +02:00
Tobias Hunger
04d1229685
Fix licnese information using xtask
2023-06-16 09:14:20 +02:00
Tobias Hunger
4a24d9cfdc
xtask: Save license changes in Cargo.toml file
2023-06-16 09:14:20 +02:00
Tobias Hunger
ef0ce14930
xtask: Report fixing cargo.toml issues
2023-06-16 09:14:20 +02:00
Tobias Hunger
7e50d3c740
xtask: clippy polish
2023-06-16 09:14:20 +02:00
Tobias Hunger
b06d2573dd
xtask: Store path in CargoToml struct so we can report better errors
2023-06-16 09:14:20 +02:00
Tobias Hunger
1589cd7941
xtask: Support different licences for different sections of the repo
2023-06-16 09:14:20 +02:00
Tobias Hunger
0788f683c6
xtask: Reorder and fix regular expressions used to match files
2023-06-16 09:14:20 +02:00
ogoffart
641cab0e75
Bump version number to 1.1.0
2023-06-15 16:01:28 +00:00
Aurindam Jana
039e54a5de
Add royalty free license to files except examples and docs ( #2888 )
2023-06-15 11:20:50 +02:00
Olivier Goffart
72de76b71a
Documentation for enums
2023-06-12 13:02:14 +02:00
Olivier Goffart
3dd24b862e
Fix license check
2023-06-05 16:34:59 +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
ogoffart
dfd5fc38b3
Bump version number to 1.0.3
2023-04-26 14:04:08 +00:00
ogoffart
53cce5bf44
Bump version number to 1.0.2
2023-04-26 11:33:16 +02:00
ogoffart
bd63218412
Bump version number to 1.0.1
2023-04-18 14:56:40 +00:00
Tobias Hunger
1f877887cd
docs: Remove builtin_ prefix from files in builtins dir
2023-02-24 12:04:22 +01:00
Tobias Hunger
0699262bde
xtask: Fix enumdocs command
2023-02-23 20:18:33 +01:00
Tobias Hunger
0867aa1ed9
docs: Move slint language docs from langref to language folder
2023-02-22 21:13:47 +01:00
Olivier Goffart
f231522f7e
Change the homepage URL in the Rust API's Cargo.toml
2023-02-20 08:52:38 +01:00
Olivier Goffart
5b3cde87ab
Update dependencies
2023-02-15 10:28:02 +01:00
Tobias Hunger
671d22d762
tools: Tree sitter update for 1.0 ( #2144 )
...
Make our tree-sitter parser handle all the 1.0 syntax.
2023-02-10 14:46:47 +01:00
Tobias Hunger
e1e4be2497
Use sphinx to generate the Slint language reference ( #2218 )
...
* docs: Move the langref to sphinx
* docs: Use sphinx to build nighly doc snapshot of langref
2023-02-10 11:51:36 +01:00
Tobias Hunger
e8ee468cc6
xtask: Sort enums when generating enum docs
...
It's much easier for humans to find entries that way!
2023-02-09 18:31:34 +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
ogoffart
e7f48512ee
Bump version number to 1.0.0
2023-02-03 11:07:15 +01:00
Tobias Hunger
40b847defc
xtask: Generate builtin_enums in docs/langref _and_ docs
...
... for now ...
2023-01-31 15:08:52 +01:00