diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cd923303c..8da715b9b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -181,7 +181,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: cpp_bin - path: ${{ runner.workspace }}/cppbuild/SixtyFPS-0.0.1-* + path: ${{ runner.workspace }}/cppbuild/SixtyFPS-* docs: diff --git a/CHANGELOG.md b/CHANGELOG.md index b1ce118af..5e8d922db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +## [0.0.2] - 2020-12-22 + ### Changed - 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 @@ -10,6 +12,8 @@ All notable changes to this project will be documented in this file. ### Added - Add support for more keyboard shortcuts to `TextInput`. + - Added a `current_item` to `StandardListView`. + - API cleanup in sixtyfps-node ### Fixed - Fix occasional hang when navigating in `TextInput` fields with the cursor keys. @@ -20,12 +24,12 @@ All notable changes to this project will be documented in this file. - Add missing frame drawing around `ScrollView`. - Fix Clipping in scroll views in WASM builds. - Fix resizing of `ListView`. + - Many more bugfixes ### Added - - Added a `current_item` to `StandardListView`. ## [0.0.1] - 2020-10-13 - Initial release. -[0.0.1]: https://github.com/sixtyfpsui/sixtyfps/releases/tag/v0.0.1 \ No newline at end of file +[0.0.1]: https://github.com/sixtyfpsui/sixtyfps/releases/tag/v0.0.1 diff --git a/api/sixtyfps-cpp/CMakeLists.txt b/api/sixtyfps-cpp/CMakeLists.txt index 751e6cdfe..d7f4da9c0 100644 --- a/api/sixtyfps-cpp/CMakeLists.txt +++ b/api/sixtyfps-cpp/CMakeLists.txt @@ -102,7 +102,7 @@ configure_package_config_file("cmake/SixtyFPSConfig.cmake.in" "${CMAKE_CURRENT_B write_basic_package_version_file( ${CMAKE_CURRENT_BINARY_DIR}/lib/cmake/SixtyFPS/SixtyFPSConfigVersion.cmake - VERSION 0.0.1 + VERSION 0.0.2 COMPATIBILITY ExactVersion ) @@ -118,7 +118,7 @@ set(CPACK_PACKAGE_VENDOR "SixtyFPS") set(CPACK_VERBATIM_VARIABLES true) set(CPACK_PACKAGE_VERSION_MAJOR 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_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_LIST_DIR}/../../LICENSE.md") set(CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_LIST_DIR}/README.md") diff --git a/api/sixtyfps-cpp/README.md b/api/sixtyfps-cpp/README.md index f75f72e7e..6991267d1 100644 --- a/api/sixtyfps-cpp/README.md +++ b/api/sixtyfps-cpp/README.md @@ -34,7 +34,7 @@ include(FetchContent) FetchContent_Declare( SixtyFPS GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git - GIT_TAG v0.0.1 + GIT_TAG v0.0.2 SOURCE_SUBDIR api/sixtyfps-cpp ) FetchContent_MakeAvailable(SixtyFPS) @@ -67,7 +67,7 @@ include(FetchContent) FetchContent_Declare( SixtyFPS GIT_REPOSITORY https://github.com/sixtyfpsui/sixtyfps.git - GIT_TAG v0.0.1 + GIT_TAG v0.0.2 SOURCE_SUBDIR api/sixtyfps-cpp ) FetchContent_MakeAvailable(SixtyFPS) diff --git a/api/sixtyfps-cpp/docs/conf.py b/api/sixtyfps-cpp/docs/conf.py index accd7d568..7c3c776e5 100644 --- a/api/sixtyfps-cpp/docs/conf.py +++ b/api/sixtyfps-cpp/docs/conf.py @@ -22,7 +22,7 @@ copyright = '2020, info@sixtyfps.io' author = 'info@sixtyfps.io' # The full version, including alpha/beta/rc tags -release = '0.0.1' +release = '0.0.2' # -- General configuration --------------------------------------------------- @@ -73,4 +73,4 @@ html_theme = 'sphinx_rtd_theme' html_static_path = ['_static'] def setup(app): - app.add_css_file('theme_tweak.css') \ No newline at end of file + app.add_css_file('theme_tweak.css') diff --git a/api/sixtyfps-node/package.json b/api/sixtyfps-node/package.json index 90e553a05..2b66a44fe 100644 --- a/api/sixtyfps-node/package.json +++ b/api/sixtyfps-node/package.json @@ -1,6 +1,6 @@ { "name": "sixtyfps", - "version": "0.0.1", + "version": "0.0.2", "main": "dist/index.js", "types": "dist/index.d.ts", "dependencies": { diff --git a/api/sixtyfps-rs/Cargo.toml b/api/sixtyfps-rs/Cargo.toml index a03efe9a7..f20c742fa 100644 --- a/api/sixtyfps-rs/Cargo.toml +++ b/api/sixtyfps-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -17,11 +17,11 @@ wayland = ["sixtyfps-rendering-backend-default/wayland"] [dependencies] 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" } vtable = { version = "0.1", path = "../../helper_crates/vtable" } -sixtyfps-corelib = { version = "=0.0.1", path="../../sixtyfps_runtime/corelib" } -sixtyfps-rendering-backend-default = { version = "=0.0.1", path="../../sixtyfps_runtime/rendering_backends/default" } +sixtyfps-corelib = { version = "=0.0.2", path="../../sixtyfps_runtime/corelib" } +sixtyfps-rendering-backend-default = { version = "=0.0.2", path="../../sixtyfps_runtime/rendering_backends/default" } pin-weak = "1" derive_more = "0.99.5" diff --git a/api/sixtyfps-rs/README.md b/api/sixtyfps-rs/README.md index d59402980..27b8dfce5 100644 --- a/api/sixtyfps-rs/README.md +++ b/api/sixtyfps-rs/README.md @@ -22,7 +22,7 @@ In your `Cargo.toml` add: ```toml [dependencies] -sixtyfps = "0.0.1" +sixtyfps = "0.0.2" ``` And in your `main.rs`: diff --git a/api/sixtyfps-rs/lib.rs b/api/sixtyfps-rs/lib.rs index 2aff787fa..822509263 100644 --- a/api/sixtyfps-rs/lib.rs +++ b/api/sixtyfps-rs/lib.rs @@ -62,11 +62,11 @@ In your Cargo.toml: build = "build.rs" [dependencies] -sixtyfps = "0.0.1" +sixtyfps = "0.0.2" ... [build-dependencies] -sixtyfps-build = "0.0.1" +sixtyfps-build = "0.0.2" ``` 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 #[doc(hidden)] #[allow(non_camel_case_types)] -pub struct VersionCheck_0_0_1; +pub struct VersionCheck_0_0_2; #[cfg(doctest)] mod compile_fail_tests; diff --git a/api/sixtyfps-rs/sixtyfps-build/Cargo.toml b/api/sixtyfps-rs/sixtyfps-build/Cargo.toml index 06ee3bfad..808ba85cb 100644 --- a/api/sixtyfps-rs/sixtyfps-build/Cargo.toml +++ b/api/sixtyfps-rs/sixtyfps-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-build" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -13,5 +13,5 @@ homepage = "https://sixtyfps.io" path = "lib.rs" [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" diff --git a/api/sixtyfps-rs/sixtyfps-build/lib.rs b/api/sixtyfps-rs/sixtyfps-build/lib.rs index b8c0f1612..323712024 100644 --- a/api/sixtyfps-rs/sixtyfps-build/lib.rs +++ b/api/sixtyfps-rs/sixtyfps-build/lib.rs @@ -23,11 +23,11 @@ In your Cargo.toml: build = "build.rs" [dependencies] -sixtyfps = "0.0.1" +sixtyfps = "0.0.2" ... [build-dependencies] -sixtyfps-build = "0.0.1" +sixtyfps-build = "0.0.2" ``` In the `build.rs` file: diff --git a/api/sixtyfps-rs/sixtyfps-macros/Cargo.toml b/api/sixtyfps-rs/sixtyfps-macros/Cargo.toml index 240d21edc..5cec220cb 100644 --- a/api/sixtyfps-rs/sixtyfps-macros/Cargo.toml +++ b/api/sixtyfps-rs/sixtyfps-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-macros" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -16,5 +16,5 @@ path = "lib.rs" [dependencies] quote = "1.0" 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"] } diff --git a/api/sixtyfps-wasm-interpreter/Cargo.toml b/api/sixtyfps-wasm-interpreter/Cargo.toml index e757679ce..b5859423f 100644 --- a/api/sixtyfps-wasm-interpreter/Cargo.toml +++ b/api/sixtyfps-wasm-interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-wasm-interpreter" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" diff --git a/sixtyfps_compiler/Cargo.toml b/sixtyfps_compiler/Cargo.toml index 576a4c97f..53b14cc6c 100644 --- a/sixtyfps_compiler/Cargo.toml +++ b/sixtyfps_compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-compilerlib" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" build = "build.rs" diff --git a/sixtyfps_runtime/corelib/Cargo.toml b/sixtyfps_runtime/corelib/Cargo.toml index 1173a43ec..72354af3a 100644 --- a/sixtyfps_runtime/corelib/Cargo.toml +++ b/sixtyfps_runtime/corelib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-corelib" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -23,7 +23,7 @@ image = { version = "0.23.4", default-features = false, features = [ "png" ] } cgmath = "0.17.0" const-field-offset = { version = "0.1", path = "../../helper_crates/const-field-offset" } 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 } lyon = { version = "0.16" } euclid = "0.22.1" diff --git a/sixtyfps_runtime/corelib_macros/Cargo.toml b/sixtyfps_runtime/corelib_macros/Cargo.toml index b742e651a..57790e26f 100644 --- a/sixtyfps_runtime/corelib_macros/Cargo.toml +++ b/sixtyfps_runtime/corelib_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-corelib-macros" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" diff --git a/sixtyfps_runtime/interpreter/Cargo.toml b/sixtyfps_runtime/interpreter/Cargo.toml index 8dea8c2b1..fef11bb62 100644 --- a/sixtyfps_runtime/interpreter/Cargo.toml +++ b/sixtyfps_runtime/interpreter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-interpreter" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -12,15 +12,15 @@ homepage = "https://sixtyfps.io" path = "lib.rs" [dependencies] -sixtyfps-corelib = { version = "=0.0.1", path = "../corelib", features = ["rtti"] } -sixtyfps-rendering-backend-default = { version = "=0.0.1", path = "../../sixtyfps_runtime/rendering_backends/default" } +sixtyfps-corelib = { version = "=0.0.2", path = "../corelib", features = ["rtti"] } +sixtyfps-rendering-backend-default = { version = "=0.0.2", path = "../../sixtyfps_runtime/rendering_backends/default" } 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" } derive_more = "0.99.5" generativity = "1" [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" } diff --git a/sixtyfps_runtime/rendering_backends/default/Cargo.toml b/sixtyfps_runtime/rendering_backends/default/Cargo.toml index 3f77f28f7..f79d53be6 100644 --- a/sixtyfps_runtime/rendering_backends/default/Cargo.toml +++ b/sixtyfps_runtime/rendering_backends/default/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-rendering-backend-default" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -17,18 +17,18 @@ x11 = ["sixtyfps-rendering-backend-gl/x11"] wayland = ["sixtyfps-rendering-backend-gl/wayland"] [dependencies] -sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } +sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" } cfg-if = "1" -sixtyfps-rendering-backend-gl = { version="=0.0.1", path = "../gl", optional = true } -sixtyfps-rendering-backend-qt = { version="=0.0.1", path = "../qt", optional = true } +sixtyfps-rendering-backend-gl = { version = "=0.0.2", path = "../gl", optional = true } +sixtyfps-rendering-backend-qt = { version = "=0.0.2", path = "../qt", optional = true } # 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] -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 [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" } diff --git a/sixtyfps_runtime/rendering_backends/gl/Cargo.toml b/sixtyfps_runtime/rendering_backends/gl/Cargo.toml index 86d6715b1..a9ca5850e 100644 --- a/sixtyfps_runtime/rendering_backends/gl/Cargo.toml +++ b/sixtyfps_runtime/rendering_backends/gl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-rendering-backend-gl" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -18,7 +18,7 @@ wayland = ["winit/wayland", "glutin/wayland", "sixtyfps-corelib/wayland"] default = ["x11"] [dependencies] -sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } +sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" } lyon = { version = "0.16" } image = { version = "0.23.10", default-features = false } cgmath = "0.17.0" diff --git a/sixtyfps_runtime/rendering_backends/qt/Cargo.toml b/sixtyfps_runtime/rendering_backends/qt/Cargo.toml index 5ae20f1c7..57348a4b4 100644 --- a/sixtyfps_runtime/rendering_backends/qt/Cargo.toml +++ b/sixtyfps_runtime/rendering_backends/qt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-rendering-backend-qt" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -19,10 +19,10 @@ path = "lib.rs" cpp = "0.5.5" const-field-offset = { version = "0.1", path = "../../../helper_crates/const-field-offset" } vtable = { version = "0.1", path = "../../../helper_crates/vtable" } -sixtyfps-corelib-macros = { version = "=0.0.1", path = "../../corelib_macros" } -sixtyfps-corelib = { version="=0.0.1", path = "../../corelib" } +sixtyfps-corelib-macros = { version = "=0.0.2", path = "../../corelib_macros" } +sixtyfps-corelib = { version = "=0.0.2", path = "../../corelib" } # 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" pin-weak = "1" diff --git a/tests/driver_lib/cbindgen.rs b/tests/driver_lib/cbindgen.rs index 4e9610298..58dac2d5c 100644 --- a/tests/driver_lib/cbindgen.rs +++ b/tests/driver_lib/cbindgen.rs @@ -210,7 +210,7 @@ fn gen_corelib(include_dir: &Path) -> anyhow::Result<()> { .with_include("sixtyfps_pathdata.h") .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; }} }}", - 0, 0, 1, + 0, 0, 2, )) .generate() .expect("Unable to generate bindings") diff --git a/tools/compiler/Cargo.toml b/tools/compiler/Cargo.toml index 796db9978..7f38b849a 100644 --- a/tools/compiler/Cargo.toml +++ b/tools/compiler/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-compiler" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -13,5 +13,5 @@ name = "sixtyfps_compiler" path = "main.rs" [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" diff --git a/tools/viewer/Cargo.toml b/tools/viewer/Cargo.toml index 8393afc4a..64ed5d14c 100644 --- a/tools/viewer/Cargo.toml +++ b/tools/viewer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sixtyfps-viewer" -version = "0.0.1" +version = "0.0.2" authors = ["SixtyFPS "] edition = "2018" license = "GPL-3.0-only" @@ -9,9 +9,9 @@ repository = "https://github.com/sixtyfpsui/sixtyfps" homepage = "https://sixtyfps.io" [dependencies] -sixtyfps-corelib = { version = "=0.0.1", path="../../sixtyfps_runtime/corelib" } -sixtyfps-interpreter = { version = "=0.0.1", path = "../../sixtyfps_runtime/interpreter" } -sixtyfps-compilerlib = { version = "=0.0.1", path = "../../sixtyfps_compiler", features = ["display-diagnostics"] } +sixtyfps-corelib = { version = "=0.0.2", path="../../sixtyfps_runtime/corelib" } +sixtyfps-interpreter = { version = "=0.0.2", path = "../../sixtyfps_runtime/interpreter" } +sixtyfps-compilerlib = { version = "=0.0.2", path = "../../sixtyfps_compiler", features = ["display-diagnostics"] } vtable = { version = "0.1", path="../../helper_crates/vtable" } structopt = "0.3.14" codemap-diagnostic = "0.1.1" diff --git a/vscode_extension/package.json b/vscode_extension/package.json index f108ac34e..63787e23b 100644 --- a/vscode_extension/package.json +++ b/vscode_extension/package.json @@ -1,6 +1,6 @@ { "name": "sixtyfps", - "version": "0.0.1", + "version": "0.0.2", "engines": { "vscode": "^1.31" },