Commit graph

8987 commits

Author SHA1 Message Date
Simon Hausmann
aed41fa218 WIP 2023-06-27 15:59:22 +02:00
Olivier Goffart
31b3dc21c8 Documentation: document default values
As discussed in https://github.com/slint-ui/slint/discussions/2966
2023-06-27 12:29:53 +02:00
Simon Hausmann
bcca47615b doc: Fix broken grammar
"Annotate custom the properties" -> "Annotate extra properties"

(extra instead of custom because that's how we introduced them earlier)
2023-06-27 11:00:01 +02:00
Simon Hausmann
246541f44a Prospective fix for pipenv errors about invalid specifiers
PEP 508 requires a comparator for version_one, so specify some.
2023-06-27 10:13:39 +02:00
Olivier Goffart
fc1570b19d Fix tree sitter
The tree-sitter test start failling with the introduction of the test
from the previous commit which has an expression for the model
2023-06-27 10:06:20 +02:00
Olivier Goffart
f0a1ef7194 Fix getting type of more complex expressions in model
Fixes #2977

The problem is that expressions such as "foo * foo" can be optimized by
optimization pass to only query the property once, and this is
transformed in a Expression::CodeBlock and is no longer a
Expression::Cast(Model)
So we need to introspect the expression more.
2023-06-27 10:06:20 +02:00
Aurindam Jana
9991908d40
Update FAQ.md
to reflect removed clause 3(d)
2023-06-27 09:45:30 +02:00
Aurindam Jana
b2da8e247a
Update LicenseRef-Slint-Royalty-free-1.0.md
Remove clause 3(d) You allow SixtyFPS to show your Application on https://madewithslint.com and in advertising materials of SixtyFPS as a reference and to display your logo and trademark for this purpose.
2023-06-27 09:27:34 +02:00
Update Translations Bot
7004b43e18 Update Translations: extract strings 2023-06-27 03:16:06 +00:00
Olivier Goffart
a709402bf9 LSP: auto-complete relative to CARGO_MANIFEST_DIR in slint! macro 2023-06-26 18:44:34 +02:00
Olivier Goffart
56a58f704b Compiler: load import and other files relative to the CARGO_TARGET_DIR for .rs files 2023-06-26 18:44:34 +02:00
Simon Hausmann
ab4c8699ae doc: Fix example of ProgressIndicator
Use 50% instead of 50 for the property that has a value between 0 and 1...
2023-06-26 16:52:41 +02:00
Olivier Goffart
67b9f2b137
Update tr-extractor/Cargo.toml
fix version number, and add spaces so that the version script don't miss it next time
2023-06-26 14:58:12 +02:00
ogoffart
c8c9496722 Bump version number to 1.1.1 2023-06-26 12:50:02 +00:00
Olivier Goffart
e1c651d5df Revert "Prepare for release by changing the URL in slint-docs-preview.html"
This reverts commit b1a01fb05a.

Release is done
2023-06-26 14:47:55 +02:00
Olivier Goffart
036362c07a Publish the tr-extractor 2023-06-26 14:44:46 +02:00
Olivier Goffart
530a952ffc Fix upload of slint-tr-extractor
missing version
2023-06-26 13:51:58 +02:00
Olivier Goffart
d2edb6ee57 Fix crates.io uploading
dev-dependencies with path shouldn't have a version
2023-06-26 13:47:23 +02:00
Olivier Goffart
9b59036816 Add licenses symlinks 2023-06-26 13:12:29 +02:00
Olivier Goffart
6b4cdb7cb3 Add a description to slint-tr-extractor 2023-06-26 12:58:20 +02:00
Simon Hausmann
584a671a7a Minor ChangeLog edits and added 1.1.0 heading 2023-06-26 12:54:37 +02:00
Simon Hausmann
d1daa8dbe4 doc: Document coordinate system expectations for borrowed textures 2023-06-26 12:49:22 +02:00
Olivier Goffart
b1a01fb05a Prepare for release by changing the URL in slint-docs-preview.html
Note that the Cargo.lock which is usually part of this commit was done
in a previsous commit
2023-06-26 12:42:11 +02:00
Olivier Goffart
2a2e38315e Update a few docs to 1.1.0 2023-06-26 12:42:01 +02:00
Olivier Goffart
5fde19d111 winit: cache the size returned by inner_size
So that subsequent call to Window::size() return the same value

Should fix flickering of window size at startup
2023-06-26 12:37:30 +02:00
Olivier Goffart
9d6b9a1bae Commit the Cargo.lock
It has a version of the half crate pinned to 2.2.1 as an attempt to fix
the CI failure with rust < 1.70
2023-06-26 11:19:16 +02:00
Olivier Goffart
481a0bb049 Fix spelling 2023-06-26 09:41:58 +02:00
Olivier Goffart
dfdaa596e6 Fixup franch translation of the gallery (all strings were fuzzy) 2023-06-26 09:35:54 +02:00
Update Translations Bot
69ba486b23 Update Translations: extract strings 2023-06-26 03:17:03 +00:00
Update Translations Bot
fbdd92267a Update Translations: extract strings 2023-06-25 03:20:18 +00:00
Update Translations Bot
977bef7157 Update Translations: extract strings 2023-06-24 03:14:55 +00:00
Olivier Goffart
c3ea69dc17 Add a renderer-winit-software feature the the viewer 2023-06-23 16:22:33 +02:00
Aurindam Jana
9ab671b104 Add link to madewithslint.com 2023-06-23 15:02:39 +02:00
Tobias Hunger
bda431134a tools: Fix property editor rendering input too big
The text input in our properties viewer was too wide and got a few
pixels rendered below the button in the next column of the table.

Fix that.
2023-06-23 13:03:05 +02:00
Tobias Hunger
efff76bfbb vscode: Update color scheme 2023-06-23 13:03:05 +02:00
Tobias Hunger
bfea0e08ab slintpad: Update color scheme and logo 2023-06-23 13:03:05 +02:00
runiq
65712e89ae Fix some links in Rust tutorial 2023-06-23 11:03:57 +02:00
Olivier Goffart
1b9e245b4e Remove the NativeSwitch
It is identical to the NativeCheckBox  (Qt don't have a switch widget)
2023-06-23 11:02:46 +02:00
Aurindam Jana
718e4df6de Add madewithslint.com 2023-06-23 09:37:36 +02:00
Simon Hausmann
4820d29bcb Fix macOS lsp bundle
Avoid duplicating the core-graphics crate, as that leads to linking
errors about duplicate emissions of the cg_event_tap_callback_internal
helper function from the core-graphics crate.

This partially reverts commit d91622d64f

In order to re-apply d91622d64f, winit
needs to release a new version first.
2023-06-23 07:40:43 +02:00
Update Translations Bot
01eebc48a2 Update Translations: extract strings 2023-06-23 03:16:39 +00:00
Olivier Goffart
8cf57badbf swrenderer: basic text selection 2023-06-22 23:20:49 +02:00
Simon Hausmann
aa41277df1 Improve safety notes on the slint::Image texture import functions
Elaborate how to call this function safely, and copy the same description to the C++ docs.
2023-06-22 22:31:51 +02:00
Simon Hausmann
279c143d31 Clarify request_redraw() docs in the WindowAdapter 2023-06-22 22:31:51 +02:00
Olivier Goffart
c260210d6d Janitor: update itertools 2023-06-22 15:03:10 +02:00
Tobias Hunger
714ad52ad9 janitor: Add license to new logos and icons 2023-06-22 14:53:29 +02:00
Olivier Goffart
d5fe68443f Native ProgressIndicator: initialize the state properly 2023-06-22 14:23:56 +02:00
Olivier Goffart
da83857a60 Remove embedded_graphics dependency from i-slint-core
This feature was never used.
2023-06-22 14:12:01 +02:00
Aurindam Jana
78679030f9 Update About Slint widget 2023-06-22 12:55:45 +02:00
Aurindam Jana
425b53ec21 Add new logos 2023-06-22 12:13:09 +02:00