Skip to content

1.7.1

Latest

Choose a tag to compare

@JulNadeauCA JulNadeauCA released this 04 Sep 18:54
· 14 commits to trunk since this release

[1.7.1] - 2025-11-15

Added

  • An awesome new Agar logo. Thanks eightbit!
  • Added support for the Cmake build system.
  • Added support for the Meson build system. Thanks coleman!
  • New functions AG_InitVideoSDL2 and AG_SetVideoSurfaceSDL2 for integrating with an existing SDL2 display context. Thanks Brigham Keys!
  • AG_FileDlg: Add "Any File" type.
  • AG_Tlist: New function AG_TlistCopy(). Copy all items from a source to a destination AG_Tlist.
  • AG_Combo: New constructor AG_ComboNewFn(). Sets a combo-expanded handler.
  • AG_Combo: New member nVisItems. Set the number of items to show by default in expansions.
  • AG_Checkbox: New functions AG_CheckboxText() and AG_CheckboxTextS() to update the text label.
  • Tweak the default color scheme. Document style defaults as a comment block in gui/style.css.
  • New Ada bindings for the Window, Box, Button, Checkbox and Combo widget classes. Updated ada/gui/demo.

Removed

  • AG_Db: Remove support for DB5.
  • AG_Window: Remove an unnecessary counter variable in SizeAllocate().

Changed

  • Small cosmetic changes to the default color scheme. Set default font size back to 14pt.
  • AG_Titlebar: Enable the AG_BUTTON_EXCL optimization on titlebar buttons.
  • AG_Combo: Allow the dropdown list to be populated by a combo-expanded handler.
  • AG_UCombo: Allow the dropdown list to be populated by a ucombo-expanded handler.

Fixed

  • AG_Combo: Make it again possible to statically initialize list before combo-expanded. Restores compatibility pre-1.6. Thanks Wally!
  • AG_FileDlg: Fix widget geometries not updating when switching to a different Type filter.
  • AG_FileDlg: Fix compilation where GLOB_TILDE is unavailable.
  • SDL2 drivers: Require at least version 2.0.22 of SDL2 (SDL_HINT_MOUSE_AUTO_CAPTURE is necessary for best user experience).
  • AG_ProgressBar: Make padding work as expected in progress bar. Thanks scaramacai!
  • cocoa: Fix a compilation error.
  • glx: Fix a keyboard handling error. Don't pass KeyRelease events to XwcLookupString(). Fixes issue #74. Thanks @tsesani and @scaramacai!
  • glx: Introduce the no-im (disable input methods) driver option.
  • MAP: Fix a crash when attempting to create an object if pLibsRoot is NULL.
  • AG_Web: Fix inline compilation problem due to a typo in net/web.h.
  • On Darwin platforms, build with _DARWIN_C_SOURCE globally. Fixes issue #77. Thanks @kwhr0!
  • On FreeBSD check for availability of CLOCK_SECOND in addition to HAVE_CLOCK_GETTIME.
  • Test for the dirfd() function at compilation.
  • Fix integer conversion warnings related to isspace(), isdigit(), etc.