Releases: frang75/nappgui_src
Releases · frang75/nappgui_src
NAppGUI v1.4.3
Added
- macOS support for
edit_select()
. Commit. - macOS support for
edit_copy()
,edit_paste()
andedit_cut()
. Commit. - New demo on text selection and clipboard. Doc. Commit.
- macOS support for
textview_select()
. Commit. - macOS support for
textview_copy()
,textview_paste()
andtextview_cut()
. Commit. - macOS support for
textview_OnFilter()
. Commit. unicode_move()
. Doc. Commit.- Button shortcuts. Doc. Commit.
textview_wrap()
. Doc. Issue. Commit.view_allow_tab()
. Doc. Commit.textview_apply_all()
,textview_apply_sel()
. Doc. Issue. Commit.textview_show_select()
. Commit.- New TextEditor demo. Doc. Commit.
- Support for OpenGL 3D graphics. Issue. Commit.
- New library
OGL3D
. - OpenGL context
<ogl3d/ogl3d.h>
. - Documentation.
- Demo.
- New library
draw_r2df()
,draw_r2dd()
,Draw::r2d()
. Commit.draw2d_preferred_monospace()
. Commit.listbox_font()
. Commit.ekFCELL
in font style to indicate the font size means cell height. Commit.- Support for font stretch. Doc. Commit.
font_with_width()
.font_with_xscale()
.font_width()
.font_xscale()
.
Fixed
- GTK scrollbars position. Commit.
- GTK flatbutton padding. Commit.
- GTK render listbox checks in Xubuntu. Commit.
- macOS HighSierra and lowers focus ring drawing issue. Commit.
- Issue in
dbind_destroy()
. Commit. - Issue in
layout_panel_replace()
. Commit. - GTK buttons always show shortcut underscore. Commit.
- macOS pushbuttons images were not shown. Commit.
gui_alt_color()
avoid to register twice the same color. Commit.
Improved
- NAppGUI build documentation. Doc.
Build system
- CMake install use
NAppGUIOptions.txt
for build info. Commit. - MinGW desktop apps don't require a local
Application.manifest
. They reference the same file in/prj/templates
. Commit. - New function
nap_link_inet(targetName)
. Commit. - New function
nap_link_opengl(targetName)
. Commit. - New CMake option
-DNAPPGUI_NO_CRTDBG=YES
to disable the CRT debugger in Windows. Issue. Commit.
NAppGUI v1.4.2
Added
osapp_argc()
andosapp_argv()
. Commit.- Improved font monospace support and metrics. Doc. Commit.
font_ascent()
.font_descent()
.font_leading()
.font_is_monospace()
.font_installed_monospace()
.
- WebView support. Doc. Issue. Commit.
- New public header
webview.h
. guicontrol_webview()
.layout_webview()
.layout_get_webview()
.cell_webview()
.
- New public header
blib_setenv()
Doc. Commit.
Fixed
- WindowsXP TableView/ListBox select colors. Commit.
- macOS TableView/ListBox select colors. Issue. Commit.
- WindowsXP flat buttons drawing. Commit.
- macOS Snow Leopard focus ring. Commit.
- Crash in ColorView demo. Issue. Commit.
- Crash in
str_repl()
on macOS.Doc. - GTK
window_OnClose()
doesn't hide the window whenFALSE
is returned. Commit.
Removed
guicontrol_enabled()
andguicontrol_visible()
because unsafe. Usecell_enabled()
,cell_visible()
. Commit.
Improved
gui_text_t
properties in private API. Commit.str_splits()
adds a newadd_empty
parameter. Issue. Doc. Commit.
Build system
NAppGUI v1.4.1
Added
unicode_convers_nbytes_n()
. Commit.popup_get_text()
. Commit.modifiers
field inEvMouse
. Commit.tag
field inEvMouse
. Commit.listbox_OnDown()
. Commit.- Overlay windows (flyout) Issue. Doc. Commit.
window_overlay()
.window_control_frame()
andwindow_client_to_screen()
Issue.gui_OnIdle()
.
- Dynamic layouts Issue. Doc.
arrpt_insert_n()
.cell_empty()
.layout_panel_replace()
Issue.guicontrol_tag()
.guicontrol_get_tag()
.layout_ncols()
.layout_nrows()
.layout_insert_col()
.layout_insert_row()
.layout_remove_col()
.layout_remove_row()
.
label_size_text()
. Doc. Commit.window_focus_info
.
Improved
Fixed
- macOS Sonoma OSView clipping. Commit. Doc.
- macOS Sonoma NSMenu check obsolete. Doc. Issue. Commit.
- macOS Sonoma OSLabel clipping. Commit.
- Windows XP THEME issue. Commit.
modifiers
field inEvKey
issue. Issue. Commit.listbox_color
issue in macOS and GTK+3. Commit.- macOS version adapts to Light/Dark/Accents colors at runtime. Commit.
- Read/write memory streams
END_BIT
issue. Commit. - Missed unix implementation of
bfile_dir_work()
. Commit. - macOS
comwin_open_file()
issue with file types. Issue. Commit. - macOS
ekGUI_CURSOR_SIZENS
bitmap Commit.
Build system
NAppGUI v1.4.0
Added
- String functions:
str_relpath()
,str_crelpath()
andstr_splits()
. guicontrol
base object Doc.layout_control()
andcell_control()
.- TableView freeze column Doc.
tableview_column_freeze()
. - TableView row click event Doc.
tableview_OnRowClick()
,EvTbRow
andekGUI_EVENT_TBL_ROWCLICK
. - TableView force row height Doc.
tableview_header_height()
andtableview_row_height()
. - TableView column-by-column horizontal navigation Doc.
tableview_hkey_scroll()
. - TableView focus row Doc.
tableview_focus_row()
,tableview_get_focus_row()
. - TableView hide scrollbars Doc.
tableview_scroll_visible()
,view_scroll_visible()
andview_scroll_size()
. - TableView multiline headers Doc.
'\n'
intableview_header_title()
. - TextView get full text:
textview_get_text()
. - TextView select text:
textview_select()
. - TextView scroll to caret:
textview_scroll_caret()
. - TextView hide scrollbars:
textview_scroll_visible()
. - TextView new events:
textview_OnFilter()
,textview_OnFocus()
. - TextView clipboard:
textview_copy()
,textview_cut()
,textview_paste()
. edit_OnFilter()
: Number of characters inserted or deleted in caret positionEvText::len
.edit_OnChange()
: If event returnsFALSE
, the focus remains in control.- Edit focus detection:
edit_OnFocus()
. - Edit select text:
edit_select()
. - Edit clipboard:
edit_copy()
,edit_cut()
,edit_paste()
. - Keyboard focus result:
gui_focus_t
,window_focus()
,window_get_focus()
,view_OnResignFocus()
andview_OnAcceptFocus()
. - Non-cycle tabstops:
window_cycle_tabstop()
. - Window hotkey support:
window_hotkey()
,window_clear_hotkeys()
Doc. - Window modal avoid hide when close:
ekWINDOW_MODAL_NOHIDE
Doc. - View scrollbar event:
view_OnScroll()
,gui_scroll_t
. - View new constructor:
view_custom()
. - View draw overlays:
view_OnOverlay()
Doc. - Panel new constructor:
panel_custom()
. - Button vertical padding:
button_vpadding()
andbutton_get_height()
. - Edit vertical padding:
edit_vpadding()
. blib_getenv()
andblib_end()
.- Date functions:
blib_strftime()
,date_pack()
,date_ellapsed_seconds()
,date_format()
,date_is_valid()
,date_weekday()
. gui_info_window()
.
Improved
- Tabstops Doc.
- View border change color when focus (focus ring).
- Window keyboard focus Doc.
- Window default button Doc.
splitview_text()
andsplitview_view()
add a new tabstop parameter.- Clang-format in all source code.
Fixed
- Vulnerability in
str_split_trim()
. - TableView scrollers always visible: Issue.
edit_color()
issue.- ListBox scrollbar adjustment.
- Support for full modal application where all windows are modal.
- Removed visible 64x64 artifact when ImageView is used in Windows.
- macOS Panel automatic scrolls when non-visible child control is TAB-focused.
- blib secure functions:
blib_strcpy()
,blib_strncpy()
andblib_strcat()
. Issue. - Issue Win32 Alt+Tab navigation with modal windows.
- macOS TableView drawing.
- GTK3 "dummy" control navigation with arrow keys.
- GTK3 lost focus when ALT+TAB navigation.
- GTK3 focus a control when NO tabstops in window.
- GTK3 issue in TextView editable.
- GTK3 get screen resolution.
- window_OnMoved crash on macOS.
- window_OnMoved GTK implementation.
Removed
layout_next_tabstop()
andlayout_previous_tabstop()
.textview_scroll_down()
. Use nowtextview_scroll_caret()
.date_DD_MM_YYYY_HH_MM_SS()
anddate_YYYY_MM_DD_HH_MM_SS()
. Use nowdate_format()
.date_month_en()
anddate_month_es()
. Use nowdate_format()
.
Build system
nrc
compiler builds from source. Deleted binary executables from repo. Issue, Issue.- Support for
cmake --install
. - Support for CMake
find_package()
. - Support for CMake Ninja generator.
- Support for Clang in Linux.
- Headers in a single directory. Issue.
NAppProject.cmake
module for help in NAppGUI-based applications.nap_project_desktop_app()
.nap_project_command_app()
.nap_project_library()
.nap_config_compiler()
.nap_target_c_standard()
.nap_target_cxx_standard()
.
NAppGUI v1.3.1
NAppGUI v1.3.0
Added
- New header
<blib.h>
Doc. - New header
<dlib.h>
Doc. - Support for TableView Doc.
- Compiler definitions for static/dynamic functions export/import
_sewer_api
_osbs_api
_core_api
_geom2d_api
_draw2d_api
_osgui_api
_gui_api
_osapp_api
_inet_api
Improved
- Full review of ANSI C90
- New .pdf ebook edition
Build System
- Support for generate dynamic libraries
dynamicLib()
. Doc. - Possibility to choose the standard C/C++ per project. Doc.
staticLib()
adds libName parameter.commandLib()
adds appName parameter.dynamicLib()
new build command.- Support for multiple targets from same source folder.
generateSolution()
should be added at the end of src/CMakeLists.txt
NAppGUI v1.2.4
Fixed
- Fix Right-Shift tabstop in Windows.
- GTK+3 issue in Wayland (forced X11).
NAppGUI v1.2.3
Added
- Linux ARM64 build support.
- Build support for "AppleClang" compiler ID.
Fixed
- TextView rich text working on macOS
- Solved compile warnings with macOS SDK 12.0
NAppGUI v1.2.2
Added
- GCC11 Ubuntu 22.04 support.
Fixed
- GTK3 issues in older versions (Ubuntu 12, 14, 16).
- Proc deadlock in Win32
bproc_read_close
.
NAppGUI v1.2.1
Added
buffer_const()
buffer_with_data()
heap_leaks()
heap_stats()
bfile_pos()
bfile_seek()
layout_dbind_update()
evbind_modify()
evbind_object()
r2d_centerf()
- VisualStudio 2022 support.
- Xcode 13 macOS Monterey support.
Improved
- Containers 'const' treatment (Arrays, Sets).
- Linux Gtk3/Curl/Pthread package dependencies management.
- GUI data binding implementation and docs: Doc.
Fixed
- GIF animations in GTK/Linux.