From ee1b0bc4f22da42ccb1377b09e10f8e75f02990d662e715e0261f701f55231ee Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 21 Aug 2023 06:33:17 +0000 Subject: [PATCH] - Update to 5.0.0: Component: * Breaking: MenuDirection enum is renamed Direction * Breaking: GaugeDirection enum is renamed Direction * Breaking: Direction enum is renamed WidthOrHeight * Breaking: Remove ComponentBase copy constructor/assignment. * Breaking: MenuOption::entries is renamed MenuOption::entries_option. * Breaking: Ref<{Component}Option> becomes {Component}Option in component constructors. * Feature: ResizeableSplit now support arbitrary element as a separator. * Feature: input is now supporting multiple lines. * Feature: input style is now customizeable. * Bugfix: Support F1-F5 from OS terminal. * Feature: Add struct based constructor: + Component Button(ButtonOption options); + Component Checkbox(CheckboxOption options); + Component Input(InputOption options); + Component Menu(MenuOption options); + Component MenuEntry(MenuEntryOption options); + Component Radiobox(RadioboxOption options); + Component Slider(SliderOption options); + Component ResizableSplit(ResizableSplitOption options); * Feature: Add ScreenInteractive::TrackMouse(false) disable mouse support. Dom: * Feature: Add hyperlink decorator. For instance: auto link = text("Click here") | hyperlink("https://github.com/FTXUI") See the OSC 8 page. FTXUI support proposed by @aaleino in #662. Screen: * Breaking: WordBreakProperty becomes a uint8_t enum. This yields a 0.8% performance improvement. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/ftxui?expand=0&rev=13 --- ftxui.changes | 41 +++++++++++++++++++++++++++++++++++++++++ ftxui.spec | 12 ++++++------ v4.1.1.tar.gz | 3 --- v5.0.0.tar.gz | 3 +++ 4 files changed, 50 insertions(+), 9 deletions(-) delete mode 100644 v4.1.1.tar.gz create mode 100644 v5.0.0.tar.gz diff --git a/ftxui.changes b/ftxui.changes index 722d4e5..eb16d93 100644 --- a/ftxui.changes +++ b/ftxui.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Mon Aug 21 06:23:12 UTC 2023 - Michael Vetter + +- Update to 5.0.0: + Component: + * Breaking: MenuDirection enum is renamed Direction + * Breaking: GaugeDirection enum is renamed Direction + * Breaking: Direction enum is renamed WidthOrHeight + * Breaking: Remove ComponentBase copy constructor/assignment. + * Breaking: MenuOption::entries is renamed MenuOption::entries_option. + * Breaking: Ref<{Component}Option> becomes {Component}Option in component constructors. + * Feature: ResizeableSplit now support arbitrary element as a separator. + * Feature: input is now supporting multiple lines. + * Feature: input style is now customizeable. + * Bugfix: Support F1-F5 from OS terminal. + * Feature: Add struct based constructor: + + Component Button(ButtonOption options); + + Component Checkbox(CheckboxOption options); + + Component Input(InputOption options); + + Component Menu(MenuOption options); + + Component MenuEntry(MenuEntryOption options); + + Component Radiobox(RadioboxOption options); + + Component Slider(SliderOption options); + + Component ResizableSplit(ResizableSplitOption options); + * Feature: Add ScreenInteractive::TrackMouse(false) disable mouse support. + Dom: + * Feature: Add hyperlink decorator. For instance: + auto link = text("Click here") | hyperlink("https://github.com/FTXUI") + See the OSC 8 page. + FTXUI support proposed by @aaleino in #662. + Screen: + * Breaking: WordBreakProperty becomes a uint8_t enum. This yields a 0.8% + performance improvement. + * Breaking: Remove user defined Pixel constructor and equality operator. + * Performance: 19% faster on benchmarks. + Build: + * Check version compatibility when using cmake find_package() + * Add FTXUI_DEV_WARNING options to turn on warnings when building FTXUI + * Turn OFF by default FTXUI_BUILD_DOCS + * Turn OFF by default FTXUI_BUILD_EXAMPLE + ------------------------------------------------------------------- Sun May 28 11:13:28 UTC 2023 - Michael Vetter diff --git a/ftxui.spec b/ftxui.spec index 69b70da..869992d 100644 --- a/ftxui.spec +++ b/ftxui.spec @@ -16,9 +16,9 @@ # -%define c_lib libftxui4_1_0 +%define c_lib libftxui5_0_0 Name: ftxui -Version: 4.1.1 +Version: 5.0.0 Release: 0 Summary: A C++ library for terminal based user interfaces License: MIT @@ -65,9 +65,9 @@ Development files for ftxui. %files -n %{c_lib} %license LICENSE %doc CHANGELOG.md README.md -%{_libdir}/libftxui-component.so.4.1.0 -%{_libdir}/libftxui-dom.so.4.1.0 -%{_libdir}/libftxui-screen.so.4.1.0 +%{_libdir}/libftxui-component.so.5.0.0 +%{_libdir}/libftxui-dom.so.5.0.0 +%{_libdir}/libftxui-screen.so.5.0.0 %files devel %license LICENSE @@ -77,6 +77,6 @@ Development files for ftxui. %{_libdir}/libftxui-component.so %{_libdir}/libftxui-dom.so %{_libdir}/libftxui-screen.so -%{_libdir}/ftxui.pc +%{_libdir}/pkgconfig/ftxui.pc %changelog diff --git a/v4.1.1.tar.gz b/v4.1.1.tar.gz deleted file mode 100644 index bed893c..0000000 --- a/v4.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:355739597588f837d3ade70c4a52614e5f8d9c04b9e31e5621ed5aa9ba92507f -size 1154966 diff --git a/v5.0.0.tar.gz b/v5.0.0.tar.gz new file mode 100644 index 0000000..c5dea22 --- /dev/null +++ b/v5.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2991cb222c944aee14397965d9f6b050245da849d8c5da7c72d112de2786b5b +size 236755