Releases: CubixEntertainment/libfinite
Releases · CubixEntertainment/libfinite
0.8.0
Changes
Version 0.8.0
FiniteRender
- Added
VkResultToStringfunction for pure C string conversions of VKResult - Added the
FiniteRenderLinearAllocatorfor safer memory handling in larger scale projects - Removed validation layer requirements from
finite_render_init
FiniteDraw
- Added
finite_draw_set_pattern_ditheringto address issues with color banding on some devices. - Added
finite_draw_cached_pngto improve performance for drawing images.finite_draw_pngalso can now return a cached surface through it's cache param. - Added
finite_draw_set_wrapped_text - Added
finite_draw_hex_to_color_group_alphato allow alpha images. - Fixed
finite_button_createso it will now always return the focus event for the first button - Updated
finite_draw_pngto make it so it can use custom error colors - Fixed an issue where
finite_draw_rouned_rectdidn't fill gradients. - Fixed an issue in
finite_draw_linear_gradientthat threw out alpha values when they were full transparent.
FiniteInput
- Added
finite_gamepad_key_get_hold_timeto allow devs to read how long a key has been held - Added
finite_input_keyboard_rescanto allow keyboard rescans - Rewrote the entire controller runtime to address the security issues brought up in #12
- Temporarily removed the controller connect popup for reworks
FiniteUser
- Added
finite_userFunction Family to allow Infinite developers to get information about who is actively using the console.
Mailroom
- Added the mailroom middleman client that emulates specific console behaviors on non-console systems. It must run as root. See the the
README.mdfor additional notes on usage and installation.
Examples
- Improved all examples to be up to date with the common libfinite practices.
- Added an example on how to use the auth API
Extra
- Added the FiniteJSON utilities
- Fixed an issue where the protocol required a dependency that wasn't shipped with libfinite
Merges
- Fix typo in finite_input_textbox_set_callbacks macro by @nexocreamery in #5
- Refactor debug macros to include file, func, line by @nexocreamery in #6
- Fix macro definitions in cairo.h by @nexocreamery in #7
- Revise security policy and reporting instructions by @nexocreamery in #8
- Add contribution guidelines to CONTRIBUTING.md by @nexocreamery in #10
- Add Contributor Covenant Code of Conduct by @nexocreamery in #11
New Contributors
- @nexocreamery made their first contribution in #5
Full Changelog: v0.7.2...v0.8.0
v0.7.2
Version 0.7.2
FiniteShell
- Added a
wl_seat(shell.seat) andzwp_virtual_keyboard_manager_v1(shell.virtual_manager) struct to FiniteShell. This types are automatically defined by the compositor if they're supported
FiniteInput
- Added the
finite_input_textboxAPI finite_input_keyboard_initno longer exits if no keyboard is available.- Added
finite_input_keyboard_rescanto allow devs to rescan the wl_seat - Added the new
FiniteTextboxfor input handling - Added
finite_key_is_alpha - Downgraded
finite_gamepad_poll_buttons_async's log level fromLOG_LEVEL_INFOtoLOG_LEVEL_DEBUG - Fixed an issue in
finite_gamepad_poll_buttons_asyncwhere releasing the Down button or Up button the dpad caused the library to report that up was pressed - Added
FINITE_KEY_QOUTEas a secondary reference toFINITE_KEY_APOSTROPHEfor clarity
FiniteLog
- Fatal errors now close the File descriptor if its not
stdoutorstderr
FiniteDraw
- Added the
finite_hex_to_color_groupfunction to support hexadecimals values for colors - Fixed an OOB issue with some finite-buttons
FiniteAudio
- Fixed a small type conversion issue in
finite_audio_get_audio_duration
Notes
Starting in v0.7.2, developers no longer need to include the protocol headers into their projects.
The version B patch adds a fix to the readme.
0.7.0
Version 0.7.0
FiniteInput
- Added the
FiniteGamepadinput family. - Added
FiniteDeviceandFiniteDevicesfor udev-less device polling. - Moved
finite_button_handle_pollto FiniteDraw instead of being FiniteInput.
FiniteDraw
finite_draw_finishnow calls wl_display_flush after committing to garentee redraw.- Fixed
finite_draw_finishnot using the stride and withAlpha arguments. finite_draw_cleanupnow reports the program closing onLOG_LEVEL_INFOinstead ofLOG_LEVEL_DEBUG- Added
finite_overlay_set_margin - Updated
finite_draw_pngto support dyanmic scaling and image error handling - Fixed
finite_draw_cleanupthrowing segfaults when using a shared memory buffer fromfinite_shm_aloc
FiniteRender
finite_render_get_memory_format_debugnow returns 0 on failure to silence errors.
FiniteAudio
finite_audio_stopnow reports dev.isPlaying is true.finite_audio_playnow checks dev.isPlayer is true before continuing.
Examples
New Controller Demo
Notes
Developers should never use shell.gamepads[i] at any time as shell.gamepads is not reliably static.
v0.6.0
please note that this is a pre-release and features may be missing.
Full Changelog: https://github.com/CubixEntertainment/libfinite/commits/v0.6.0