Olivier Goffart
a0d057b8b8
Enable the new syntax by default
2023-01-07 14:18:10 +01:00
Florian Blasius
501c6af746
Add swr render test and driver ( #1955 )
...
* add test-driver-screenshots
* add screenshot based software renderer testing
* create reference screenshots for testing with test-driver-screenshots
* add documentation to testing `README.md`
2022-12-12 11:23:27 +01:00
Olivier Goffart
c1c52a2b86
Make the test pass without defining the SLINT_EXPERIMENTAL_SYNTAX env variable
2022-11-21 22:01:52 +01:00
Olivier Goffart
88d231f3ec
Move the testing
module from away from public api
...
move it the testing backend
2022-09-06 17:27:15 +02:00
Olivier Goffart
fc3e8d6d99
CI: use the fluent style for the rust test
...
because the native style causes issues as the tests runs in different
threads
2022-08-30 22:21:03 +02:00
Olivier Goffart
9eb8518278
Add a warning when setting a two way binding for which the rhs does not declare a default value
...
Because of issue #1394 and because the semantic are not properly defined
currently, we decided that future version of slint should always and only
take the binding from the right hand side, even if it has no bindings.
Since we can't change the behavior in 0.2, just add a warning instead for now.
The warning can be silenced by setting a default binding for the property on the rhs.
Ignoring the warning can still lead to panic (the one in #1394 )
2022-07-08 19:05:54 +02:00
Tobias Hunger
4230ac2572
Update copyright information to reflect name change
...
Also run resue over the codebase and fix complaints from that tool.
2022-02-09 10:27:47 +01:00
Tobias Hunger
de4e195280
Rename internal crates and add a README.md to them
...
The README.md contains the warning that used to be in lib.rs.
Add README.md files to all internal crates
... pointing to the official public crate to use instead.
Rename internal crates
fixup: README files
fixup rename
2022-02-07 13:12:48 +01:00
Olivier Goffart
7bf6c4826f
Fix a few more occurences of slixtyfps
2022-02-02 17:01:00 +01:00
Tobias Hunger
cc3994b58d
Rename rust API
2022-02-02 13:26:35 +01:00
Simon Hausmann
7382ea1f2c
Rename SIXTYFPS_EMBED_RESOURCES environment variable
2022-02-02 09:10:52 +01:00
Simon Hausmann
cab22f8355
Rename the sixtyfps-compilerlib crate
2022-02-01 18:08:18 +01:00
Simon Hausmann
9494068201
Rename the sixtyfps-rendering-backend-selector crate
2022-02-01 18:06:49 +01:00
Simon Hausmann
be83d60bd8
Simplify signature of compiler code generator
...
Remove the unused diagnostics parameter.
2022-01-19 10:02:23 +01:00
Tobias Hunger
c89fa46b2c
janitor: Remove some redundent clone() calls
2022-01-04 18:20:24 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Olivier Goffart
9401bfbec7
Rust test driver: Add a feature to generate the rust code in build.rs
...
instead of in the sixtyfps! macro, so se actually see where the error is in
the generated code.
This also expose a bunch of warning that were not being taken care on.
2021-11-05 11:35:56 +01:00
Olivier Goffart
6450f8b8d7
Fix the text_default_color
test on my machine
...
It was using the native style for me, which does not default to black
2021-08-24 14:03:50 +02:00
Simon Hausmann
5fd63b63f1
Add build test coverage for using images but not embedding them
...
The rust generator produced some code that didn't compile, which is fixed now.
2021-08-03 10:31:29 +02:00
Tobias Hunger
ec5646566a
Janitor: Use insert over insert_str to insert a single character
2021-07-03 22:34:53 +02:00
Tobias Hunger
af7e53566b
Janitor: clippy says to prefer writeln! over write! ending in \n
2021-07-03 22:34:53 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
a0e910abf0
Use the testing backend for rust
2021-05-11 11:40:26 +02:00
Olivier Goffart
49c7300907
Support for if else
in statements
2021-02-05 13:53:37 +01:00
Olivier Goffart
a143656dc9
Test driver: move some common code in the lib
2021-02-03 10:32:25 +01:00
Olivier Goffart
09ce4142a5
Some reorganization of the testdriver
2021-02-01 18:13:19 +01:00