Bump version

This commit is contained in:
Olivier Goffart 2020-10-21 16:49:45 +02:00
parent af6d3661cb
commit 20cfb65e53
24 changed files with 58 additions and 54 deletions

View file

@ -181,7 +181,7 @@ jobs:
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: cpp_bin name: cpp_bin
path: ${{ runner.workspace }}/cppbuild/SixtyFPS-0.0.1-* path: ${{ runner.workspace }}/cppbuild/SixtyFPS-*
docs: docs:

View file

@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file.
## [Unreleased] ## [Unreleased]
## [0.0.2] - 2020-12-22
### Changed ### Changed
- Default to the native style in the `viewer`, if available. - Default to the native style in the `viewer`, if available.
- Changed the name of the common logical pixel unit from `lx` to `px`. The less - Changed the name of the common logical pixel unit from `lx` to `px`. The less
@ -10,6 +12,8 @@ All notable changes to this project will be documented in this file.
### Added ### Added
- Add support for more keyboard shortcuts to `TextInput`. - Add support for more keyboard shortcuts to `TextInput`.
- Added a `current_item` to `StandardListView`.
- API cleanup in sixtyfps-node
### Fixed ### Fixed
- Fix occasional hang when navigating in `TextInput` fields with the cursor keys. - Fix occasional hang when navigating in `TextInput` fields with the cursor keys.
@ -20,9 +24,9 @@ All notable changes to this project will be documented in this file.
- Add missing frame drawing around `ScrollView`. - Add missing frame drawing around `ScrollView`.
- Fix Clipping in scroll views in WASM builds. - Fix Clipping in scroll views in WASM builds.
- Fix resizing of `ListView`. - Fix resizing of `ListView`.
- Many more bugfixes
### Added ### Added
- Added a `current_item` to `StandardListView`.
## [0.0.1] - 2020-10-13 ## [0.0.1] - 2020-10-13

View file

@ -102,7 +102,7 @@ configure_package_config_file("cmake/SixtyFPSConfig.cmake.in" "${CMAKE_CURRENT_B
write_basic_package_version_file( write_basic_package_version_file(
${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/SixtyFPS/SixtyFPSConfigVersion.cmake ${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/SixtyFPS/SixtyFPSConfigVersion.cmake
VERSION 0.0.1 VERSION 0.0.2
COMPATIBILITY ExactVersion COMPATIBILITY ExactVersion
) )
@ -118,7 +118,7 @@ set(CPACK_PACKAGE_VENDOR "SixtyFPS")
set(CPACK_VERBATIM_VARIABLES true) set(CPACK_VERBATIM_VARIABLES true)
set(CPACK_PACKAGE_VERSION_MAJOR 0) set(CPACK_PACKAGE_VERSION_MAJOR 0)
set(CPACK_PACKAGE_VERSION_MINOR 0) set(CPACK_PACKAGE_VERSION_MINOR 0)
set(CPACK_PACKAGE_VERSION_PATCH 1) set(CPACK_PACKAGE_VERSION_PATCH 2)
set(CPACK_PACKAGE_HOMEPAGE_URL "https://sixtyfps.io") set(CPACK_PACKAGE_HOMEPAGE_URL "https://sixtyfps.io")
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/../../LICENSE.md") set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/../../LICENSE.md")
set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/README.md") set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/README.md")

View file

@ -34,7 +34,7 @@ include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
SixtyFPS SixtyFPS
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
GIT_TAG v0.0.1 GIT_TAG v0.0.2
SOURCE_SUBDIR api/sixtyfps-cpp SOURCE_SUBDIR api/sixtyfps-cpp
) )
FetchContent_MakeAvailable(SixtyFPS) FetchContent_MakeAvailable(SixtyFPS)
@ -67,7 +67,7 @@ include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
SixtyFPS SixtyFPS
GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git
GIT_TAG v0.0.1 GIT_TAG v0.0.2
SOURCE_SUBDIR api/sixtyfps-cpp SOURCE_SUBDIR api/sixtyfps-cpp
) )
FetchContent_MakeAvailable(SixtyFPS) FetchContent_MakeAvailable(SixtyFPS)

View file

@ -22,7 +22,7 @@ copyright = '2020, info@sixtyfps.io'
author = 'info@sixtyfps.io' author = 'info@sixtyfps.io'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '0.0.1' release = '0.0.2'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View file

@ -1,6 +1,6 @@
{ {
"name": "sixtyfps", "name": "sixtyfps",
"version": "0.0.1", "version": "0.0.2",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps" name = "sixtyfps"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -17,11 +17,11 @@ wayland = ["sixtyfps-rendering-backend-default/wayland"]
[dependencies] [dependencies]
once_cell = "1.4" once_cell = "1.4"
sixtyfps-macros = { version = "=0.0.1", path = "sixtyfps-macros" } sixtyfps-macros = { version = "=0.0.2", path = "sixtyfps-macros" }
const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" } const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" }
vtable = { version = "0.1", path = "../../helper_crates/vtable" } vtable = { version = "0.1", path = "../../helper_crates/vtable" }
sixtyfps-corelib = { version = "=0.0.1", path="../../sixtyfps_runtime/corelib" } sixtyfps-corelib = { version = "=0.0.2", path="../../sixtyfps_runtime/corelib" }
sixtyfps-rendering-backend-default = { version = "=0.0.1", path="../../sixtyfps_runtime/rendering_backends/default" } sixtyfps-rendering-backend-default = { version = "=0.0.2", path="../../sixtyfps_runtime/rendering_backends/default" }
pin-weak = "1" pin-weak = "1"
derive_more = "0.99.5" derive_more = "0.99.5"

View file

@ -22,7 +22,7 @@ In your `Cargo.toml` add:
```toml ```toml
[dependencies] [dependencies]
sixtyfps = "0.0.1" sixtyfps = "0.0.2"
``` ```
And in your `main.rs`: And in your `main.rs`:

View file

@ -62,11 +62,11 @@ In your Cargo.toml:
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]
sixtyfps = "0.0.1" sixtyfps = "0.0.2"
... ...
[build-dependencies] [build-dependencies]
sixtyfps-build = "0.0.1" sixtyfps-build = "0.0.2"
``` ```
In the `build.rs` file: In the `build.rs` file:
@ -291,7 +291,7 @@ macro_rules! include_modules {
/// Helper type that helps checking that the generated code is generated for the right version /// Helper type that helps checking that the generated code is generated for the right version
#[doc(hidden)] #[doc(hidden)]
#[allow(non_camel_case_types)] #[allow(non_camel_case_types)]
pub struct VersionCheck_0_0_1; pub struct VersionCheck_0_0_2;
#[cfg(doctest)] #[cfg(doctest)]
mod compile_fail_tests; mod compile_fail_tests;

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-build" name = "sixtyfps-build"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -13,5 +13,5 @@ homepage = "https://sixtyfps.io"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
sixtyfps-compilerlib = { version = "=0.0.1", path = "../../../sixtyfps_compiler", features = ["rust", "display-diagnostics"] } sixtyfps-compilerlib = { version = "=0.0.2", path = "../../../sixtyfps_compiler", features = ["rust", "display-diagnostics"] }
thiserror = "1" thiserror = "1"

View file

@ -23,11 +23,11 @@ In your Cargo.toml:
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]
sixtyfps = "0.0.1" sixtyfps = "0.0.2"
... ...
[build-dependencies] [build-dependencies]
sixtyfps-build = "0.0.1" sixtyfps-build = "0.0.2"
``` ```
In the `build.rs` file: In the `build.rs` file:

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-macros" name = "sixtyfps-macros"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -16,5 +16,5 @@ path = "lib.rs"
[dependencies] [dependencies]
quote = "1.0" quote = "1.0"
proc-macro2 = "1.0.17" proc-macro2 = "1.0.17"
sixtyfps-compilerlib = { version = "=0.0.1", path = "../../../sixtyfps_compiler", features = ["proc_macro_span", "rust"] } sixtyfps-compilerlib = { version = "=0.0.2", path = "../../../sixtyfps_compiler", features = ["proc_macro_span", "rust"] }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-wasm-interpreter" name = "sixtyfps-wasm-interpreter"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-compilerlib" name = "sixtyfps-compilerlib"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-corelib" name = "sixtyfps-corelib"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -23,7 +23,7 @@ image = { version = "0.23.4", default-features = false, features = [ "png" ] }
cgmath = "0.17.0" cgmath = "0.17.0"
const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" } const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" }
vtable = { version="0.1", path = "../../helper_crates/vtable" } vtable = { version="0.1", path = "../../helper_crates/vtable" }
sixtyfps-corelib-macros = { version = "=0.0.1", path = "../corelib_macros" } sixtyfps-corelib-macros = { version = "=0.0.2", path = "../corelib_macros" }
winit = { version = "0.23", default-features = false } winit = { version = "0.23", default-features = false }
lyon = { version = "0.16" } lyon = { version = "0.16" }
euclid = "0.22.1" euclid = "0.22.1"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-corelib-macros" name = "sixtyfps-corelib-macros"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-interpreter" name = "sixtyfps-interpreter"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -12,15 +12,15 @@ homepage = "https://sixtyfps.io"
path = "lib.rs" path = "lib.rs"
[dependencies] [dependencies]
sixtyfps-corelib = { version = "=0.0.1", path = "../corelib", features = ["rtti"] } sixtyfps-corelib = { version = "=0.0.2", path = "../corelib", features = ["rtti"] }
sixtyfps-rendering-backend-default = { version = "=0.0.1", path = "../../sixtyfps_runtime/rendering_backends/default" } sixtyfps-rendering-backend-default = { version = "=0.0.2", path = "../../sixtyfps_runtime/rendering_backends/default" }
vtable = { version = "0.1", path="../../helper_crates/vtable" } vtable = { version = "0.1", path="../../helper_crates/vtable" }
sixtyfps-compilerlib = { version = "=0.0.1", path = "../../sixtyfps_compiler" } sixtyfps-compilerlib = { version = "=0.0.2", path = "../../sixtyfps_compiler" }
lyon = { version = "0.16" } lyon = { version = "0.16" }
derive_more = "0.99.5" derive_more = "0.99.5"
generativity = "1" generativity = "1"
[target.'cfg(target_arch = "wasm32")'.dependencies] [target.'cfg(target_arch = "wasm32")'.dependencies]
sixtyfps-rendering-backend-gl = { version="=0.0.1", path = "../../sixtyfps_runtime/rendering_backends/gl" } sixtyfps-rendering-backend-gl = { version = "0.0.2", path = "../../sixtyfps_runtime/rendering_backends/gl" }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-rendering-backend-default" name = "sixtyfps-rendering-backend-default"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -17,18 +17,18 @@ x11 = ["sixtyfps-rendering-backend-gl/x11"]
wayland = ["sixtyfps-rendering-backend-gl/wayland"] wayland = ["sixtyfps-rendering-backend-gl/wayland"]
[dependencies] [dependencies]
sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" }
cfg-if = "1" cfg-if = "1"
sixtyfps-rendering-backend-gl = { version="=0.0.1", path = "../gl", optional = true } sixtyfps-rendering-backend-gl = { version = "=0.0.2", path = "../gl", optional = true }
sixtyfps-rendering-backend-qt = { version="=0.0.1", path = "../qt", optional = true } sixtyfps-rendering-backend-qt = { version = "=0.0.2", path = "../qt", optional = true }
# Desktop platform uses the Qt backend by default # Desktop platform uses the Qt backend by default
[target.'cfg(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies] [target.'cfg(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
sixtyfps-rendering-backend-qt = { version="=0.0.1", path = "../qt" } sixtyfps-rendering-backend-qt = { version = "=0.0.2", path = "../qt" }
# Other platform uses the Gl backend # Other platform uses the Gl backend
[target.'cfg(not(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd")))'.dependencies] [target.'cfg(not(any(target_os="windows", target_os="macos", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd")))'.dependencies]
sixtyfps-rendering-backend-gl = { version="=0.0.1", path = "../gl" } sixtyfps-rendering-backend-gl = { version = "=0.0.2", path = "../gl" }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-rendering-backend-gl" name = "sixtyfps-rendering-backend-gl"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -18,7 +18,7 @@ wayland = ["winit/wayland", "glutin/wayland", "sixtyfps-corelib/wayland"]
default = ["x11"] default = ["x11"]
[dependencies] [dependencies]
sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" }
lyon = { version = "0.16" } lyon = { version = "0.16" }
image = { version = "0.23.10", default-features = false } image = { version = "0.23.10", default-features = false }
cgmath = "0.17.0" cgmath = "0.17.0"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-rendering-backend-qt" name = "sixtyfps-rendering-backend-qt"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -19,10 +19,10 @@ path = "lib.rs"
cpp = "0.5.5" cpp = "0.5.5"
const-field-offset = { version = "0.1", path = "../../../helper_crates/const-field-offset" } const-field-offset = { version = "0.1", path = "../../../helper_crates/const-field-offset" }
vtable = { version = "0.1", path = "../../../helper_crates/vtable" } vtable = { version = "0.1", path = "../../../helper_crates/vtable" }
sixtyfps-corelib-macros = { version = "=0.0.1", path = "../../corelib_macros" } sixtyfps-corelib-macros = { version = "=0.0.2", path = "../../corelib_macros" }
sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" }
# FIXME: obviously, we do not want to depends on another backend # FIXME: obviously, we do not want to depends on another backend
sixtyfps-rendering-backend-gl = { version="=0.0.1", path = "../gl" } sixtyfps-rendering-backend-gl = { version = "=0.0.2", path = "../gl" }
euclid = "0.22.1" euclid = "0.22.1"
pin-weak = "1" pin-weak = "1"

View file

@ -210,7 +210,7 @@ fn gen_corelib(include_dir: &Path) -> anyhow::Result<()> {
.with_include("sixtyfps_pathdata.h") .with_include("sixtyfps_pathdata.h")
.with_after_include(format!( .with_after_include(format!(
"namespace sixtyfps {{ namespace private_api {{ enum class VersionCheck {{ Major = {}, Minor = {}, Patch = {} }}; struct ComponentWindow; }} namespace cbindgen_private {{ using sixtyfps::private_api::ComponentWindow; }} }}", "namespace sixtyfps {{ namespace private_api {{ enum class VersionCheck {{ Major = {}, Minor = {}, Patch = {} }}; struct ComponentWindow; }} namespace cbindgen_private {{ using sixtyfps::private_api::ComponentWindow; }} }}",
0, 0, 1, 0, 0, 2,
)) ))
.generate() .generate()
.expect("Unable to generate bindings") .expect("Unable to generate bindings")

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-compiler" name = "sixtyfps-compiler"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -13,5 +13,5 @@ name = "sixtyfps_compiler"
path = "main.rs" path = "main.rs"
[dependencies] [dependencies]
sixtyfps-compilerlib = { version = "=0.0.1", path = "../../sixtyfps_compiler", features = ["display-diagnostics", "cpp", "rust"]} sixtyfps-compilerlib = { version = "=0.0.2", path = "../../sixtyfps_compiler", features = ["display-diagnostics", "cpp", "rust"]}
structopt = "0.3.14" structopt = "0.3.14"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "sixtyfps-viewer" name = "sixtyfps-viewer"
version = "0.0.1" version = "0.0.2"
authors = ["SixtyFPS <info@sixtyfps.io>"] authors = ["SixtyFPS <info@sixtyfps.io>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-only" license = "GPL-3.0-only"
@ -9,9 +9,9 @@ repository = "https://github.com/sixtyfpsui/sixtyfps"
homepage = "https://sixtyfps.io" homepage = "https://sixtyfps.io"
[dependencies] [dependencies]
sixtyfps-corelib = { version = "=0.0.1", path="../../sixtyfps_runtime/corelib" } sixtyfps-corelib = { version = "=0.0.2", path="../../sixtyfps_runtime/corelib" }
sixtyfps-interpreter = { version = "=0.0.1", path = "../../sixtyfps_runtime/interpreter" } sixtyfps-interpreter = { version = "=0.0.2", path = "../../sixtyfps_runtime/interpreter" }
sixtyfps-compilerlib = { version = "=0.0.1", path = "../../sixtyfps_compiler", features = ["display-diagnostics"] } sixtyfps-compilerlib = { version = "=0.0.2", path = "../../sixtyfps_compiler", features = ["display-diagnostics"] }
vtable = { version = "0.1", path="../../helper_crates/vtable" } vtable = { version = "0.1", path="../../helper_crates/vtable" }
structopt = "0.3.14" structopt = "0.3.14"
codemap-diagnostic = "0.1.1" codemap-diagnostic = "0.1.1"

View file

@ -1,6 +1,6 @@
{ {
"name": "sixtyfps", "name": "sixtyfps",
"version": "0.0.1", "version": "0.0.2",
"engines": { "engines": {
"vscode": "^1.31" "vscode": "^1.31"
}, },