Olivier Goffart
a0d057b8b8
Enable the new syntax by default
2023-01-07 14:18:10 +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
aaca85b250
cargo fmt
2022-05-09 09:22:53 +02:00
Olivier Goffart
a15293891b
C++ test driver: fix the env variable to keep the temporary C++ file
...
Because in case of failure we panic or return before we get the chance
to call keep()
2022-05-09 08:58:22 +02:00
Simon Hausmann
9c08fda888
Ensure the C++ test binaries find the right libslint_cpp
...
Don't rely on `cargo test` setting the library search path environment for the dynamic linker.
As per https://doc.rust-lang.org/cargo/reference/environment-variables.html#dynamic-library-paths
PATH/LD_LIBRARY_PATH/etc. are set to include `target/debug` and "deps",
but this is documented to be a legacy feature.
2022-04-13 11:37:12 +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
Simon Hausmann
fcf59f3793
Rename the C++ header files
2022-02-02 13:07:26 +01:00
Simon Hausmann
7d297da2fc
Rename the sixtyfps C++ namespaces
2022-02-02 12:11:27 +01:00
Olivier Goffart
5ae1c3e1d5
C++ driver test: Fix linking against slint_cpp
2022-02-02 11:00:56 +01:00
Simon Hausmann
865e4d5146
Fix linkage against C++ library for tests after the rename
2022-02-02 10:18:06 +01:00
Simon Hausmann
cab22f8355
Rename the sixtyfps-compilerlib crate
2022-02-01 18:08:18 +01:00
Olivier Goffart
d0b3adeba9
Requires C++20
2022-01-24 13:04:12 +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
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Olivier Goffart
19e9186a31
Add a way to run the C++ tests with valgrind
2021-11-03 10:35:12 +01:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
988c2b0b9d
Use the testing backend for the C++ integration tests
2021-05-11 11:40:26 +02:00
Olivier Goffart
0e351de1a6
Create a new crate to expose the C++
2021-03-16 16:34:02 +01:00
Simon Hausmann
70ff7baa85
Fix compilation after diagnostics API changes
2021-03-15 10:43:26 +01:00
Olivier Goffart
6b20d05efb
Move the C++ driver to its own crate
2021-02-01 18:34:49 +01:00