slint/sixtyfps_compiler
Olivier Goffart de43f0a783 Start doing some constant evaluation
There was a warning in the C++ generated code in the tests:  (in test_cpp_image_geometry)

```
/tmp/.tmpsAMWqZ.cpp:307:85: error: self-comparison always evaluates to true [-Werror,-Wtautological-compare]
    this->image_in_layout_fit_ok.set((sixtyfps::cbindgen_private::ImageFit::contain == sixtyfps::cbindgen_private::ImageFit::contain));
                                                                                    ^
```

Deoing some simple evaluation prevent this warning at least
2021-11-11 11:14:59 +01:00
..
generator Make the BindingMap hold RefCell of the BindingExpression 2021-11-11 11:14:59 +01:00
parser Parser: make the parentheses around if element optional 2021-09-07 10:57:08 +02:00
parser_test_macro Bump version number to 0.1.5 2021-10-26 07:36:54 +00:00
passes Start doing some constant evaluation 2021-11-11 11:14:59 +01:00
tests Make the BindingMap hold RefCell of the BindingExpression 2021-11-11 11:14:59 +01:00
widgets Fix fluent style's Slider changed callback not being called 2021-11-01 10:29:51 +01:00
build.rs Fix build / formatting 2021-10-06 22:03:01 +02:00
builtin_macros.rs no need for InferredGenericType! 2021-10-18 10:21:06 +02:00
builtins.60 Expose window-background in the native StyleMetrics 2021-10-20 17:41:02 +02:00
Cargo.toml Bump version number to 0.1.5 2021-10-26 07:36:54 +00:00
diagnostics.rs Allow the sixtyfps-compiler and sixtyfps-viewer to read from stdin 2021-09-09 15:30:52 +02:00
expression_tree.rs Make the BindingMap hold RefCell of the BindingExpression 2021-11-11 11:14:59 +01:00
fileaccess.rs Improve diagnostics when images cannot be located for embedding 2021-10-05 23:16:46 +02:00
generator.rs Make the BindingMap hold RefCell of the BindingExpression 2021-11-11 11:14:59 +01:00
langtype.rs no need for InferredGenericType! 2021-10-18 10:21:06 +02:00
layout.rs Make the BindingMap hold RefCell of the BindingExpression 2021-11-11 11:14:59 +01:00
lexer.rs Janitor: Fix clippy::needless_update 2021-08-05 23:41:56 +02:00
lib.rs Rename the env variable 2021-11-09 15:32:33 +01:00
literals.rs Update license date 2021-07-02 15:55:54 +02:00
load_builtins.rs Refactor: Builtin can now have default binding on properties that are inherited from a NativeClass 2021-09-29 16:25:44 +02:00
lookup.rs enable scripts to access the length of arrays 2021-10-18 10:21:06 +02:00
namedreference.rs Fix const detection with declared aliases 2021-11-11 11:14:59 +01:00
object_tree.rs Don't take the binding when calling visit_element_expressions 2021-11-11 11:14:59 +01:00
parser.rs Improve the macro from the previous commit 2021-10-06 09:02:43 +02:00
passes.rs Const propagation 2021-11-11 11:14:59 +01:00
typeloader.rs Put filename in quote in import errors 2021-10-07 14:44:12 +02:00
typeregister.rs Allow normal Element to be in the Dialog's button row with dialog-button-role 2021-10-05 09:46:20 +02:00