A few more changelog edits

Reodering sentences and adding a full stop at the end.
This commit is contained in:
Simon Hausmann 2021-08-19 08:52:15 +02:00
parent 09278884fb
commit 2e958b87b1

View file

@ -18,35 +18,36 @@ All notable changes to this project will be documented in this file.
- Rust: deprecated `SharedVector::as_slice_mut()`. Use `SharedVector::make_mut_slice()` instead. - Rust: deprecated `SharedVector::as_slice_mut()`. Use `SharedVector::make_mut_slice()` instead.
- The default non-native widget style is now the new "fluent" style. - The default non-native widget style is now the new "fluent" style.
- The internal normalization of identifiers is using `-` instead of `_`, this is an internal - The internal normalization of identifiers is using `-` instead of `_`, this is an internal
change, but it can be seen in error messages, or when listing properties or fields with the change, but it can be seen in error messages. When listing properties and field names, the
interpreter API. identifiers are preserved.
- Show a compilation error when there are duplicated element ids.
- The `clip` property can now be any expression.
### Added ### Added
- Compilation error when there are duplicated element id - `ComboBox` now has a `selected` callback.
- `ComboBox` now has a `selected` callback - `Window` now has an `icon` property.
- Added a `icon` property to the `Window` element - Added `sixtyfps::Weak::upgrade_in_event_loop` in the Rust API.
- Added `sixtyfps::Weak::upgrade_in_event_loop` in the Rust API - Added `sixtyfps::Model::as_any()` in the Rust API.
- Added `sixtyfps::Model::as_any()` in the Rust API - Added conversion between `sixtyfps::Image` and `sixtyfps::interpreter::Value` in the C++ API.
- Added conversion between `sixtyfps::Image` and `sixtyfps::interpreter::Value` in the C++ API - Properties of type `angle` and `duration` are allowed in the public API.
- `angle` and `duration` are allowed in the public API - Every element now has a `visible` property.
- The `clip` property can now be any expression - `Slider` now has a `changed` callback.
- Every element now have a `visible` property - Added `TabWidget` widget.
- Added `changed` callback to the `Slider` widget
- Added `TabWidget` widget
- Rust: `sixtyfps::Image` can now be constructed from image data provided by `sixtyfps::SharedPixelBuffer`. - Rust: `sixtyfps::Image` can now be constructed from image data provided by `sixtyfps::SharedPixelBuffer`.
This enables integrating with other low-level software rendering or the the popular Rust image crate. This enables integrating with other low-level software rendering or the the popular Rust image crate.
- VSCode extension: added an option to specify command line arguments for the LSP - VSCode extension: added an option to specify command line arguments for the LSP.
### Fixed ### Fixed
- GridLayout cells with colspan and rowspan respect properly their constraints - GridLayout cells with colspan and rowspan respect properly their constraints.
- Panic when replacing programmatically text in a `TextInput` and then editing it. - Don't panic when replacing programmatically text in a `TextInput` and then editing it.
- Default height of element in a ListView no longer defaults to 100% - The default height of elements in a ListView no longer defaults to 100%.
- Support of `*=` and `/=` on types with unit such as length. - Fixed support for `*=` and `/=` on types with unit such as length.
- Proper compilation error when using a self assignment operator on an invalid type instead of a panic - Don't panic when using a self assignment operator on an invalid type - this produces a compiler error
- Angle conversion for values specified in radians, gradians and turns instead.
- SharedVector was sometimes not allocating big enough storage. - Fixed angle conversion for values specified in radians, gradians and turns.
- Fixed SharedVector sometimes not allocating big enough storage.
## [0.1.0] - 2021-06-30 ## [0.1.0] - 2021-06-30