Skip to content

gui_toolkit 0.311.0

Choose a tag to compare

@sachahjkl sachahjkl released this 18 Nov 06:29
· 600 commits to master since this release
v0.311.0
f644124

Added

  • ui.vlist_row_top, ui.vlist_total, ui.vlist_row_at: the top of a virtual list's row, the content's height and
    the row at a place in the content, each in O(log n) rows, as vlist_row_extent gives a row's top and height.

Changed

  • A long list stays smooth while its rows are measured: scrolling a ui.vlist of a million rows, a plugin's lazy list
    among them, no longer makes each build that lays out new rows go over every row. A row measured at a new height costs
    the same in a list of a hundred rows or a million; only new ids, or heights forgotten, place every row again.

Fixed

  • A task's data is freed when its window goes before its answer runs: an answer of ui.task already queued when its State was destroyed was dropped without calling lost, so its data leaked. The install's jobs also keep their memory in the heap from start to end: a program that checks its memory saw blocks made on the chores freed by its own allocator, which Windows' checks could take for a double free.