forked from pool/ftxui
Accepting request 1104996 from devel:libraries:c_c++
- 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<T> 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/request/show/1104996 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ftxui?expand=0&rev=4
This commit is contained in:
commit
c3edf6ef6c
@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 21 06:23:12 UTC 2023 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- 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<T> 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 <mvetter@suse.com>
|
||||
|
||||
|
12
ftxui.spec
12
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
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:355739597588f837d3ade70c4a52614e5f8d9c04b9e31e5621ed5aa9ba92507f
|
||||
size 1154966
|
3
v5.0.0.tar.gz
Normal file
3
v5.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a2991cb222c944aee14397965d9f6b050245da849d8c5da7c72d112de2786b5b
|
||||
size 236755
|
Loading…
Reference in New Issue
Block a user