Skip to content

gui_toolkit 0.276.0

Choose a tag to compare

@sachahjkl sachahjkl released this 15 Nov 16:09
· 850 commits to master since this release
v0.276.0
ba70a35

Added

  • A program's tests find what blocks its window. A program's tests now run with the blocking check, and a test session fails when one of its frames waits on the system (a file read, a process, a D-Bus call): the CI finds it before a person's window freezes. session.allow_blocking(s) is for a test of a step meant to wait. The system's light or dark and the person's folders are read once before the first frame, and the frames wait on nothing for them.
  • The zoom's keys, the same in every program. ui.ZOOM_IN_KEYS, ZOOM_OUT_KEYS and ZOOM_RESET_KEYS hold Ctrl+= and Ctrl++ (Ctrl+Shift+=, as an AZERTY keyboard types +), the keypad's + and -, Ctrl+- and Ctrl+0: a program's Zoom in answers Ctrl++ on a French keyboard too.

Changed

  • What's new is searched and filtered. The page shows every version, with no "Show older versions" to press; a search keeps the versions whose number, day or changes hold its words, a toggle per kind of change (Added, Fixed...) hides or shows it, and the page says how many versions are kept.
  • A command ends with a cli.Exit, not a number. A tool's command (Command.run, run_with), a program's line (cli.check) and the install's commands (setup.command_run) end with cli.Exit: .Done, .Failed or .Usage; toolbox.done(why) and toolbox.ended(ok) give it, and only cli.exit (and tool_main) turns it into the process's exit code. --status ends with .Done for an install there whole and .Failed otherwise. EXIT_DONE, EXIT_FAILED, EXIT_USAGE, cli.EXIT_OK, cli.EXIT_USAGE and setup.COMMAND_* are gone.