Skip to content

v2.2 With Raisins

Latest
Compare
Choose a tag to compare
@groboclown groboclown released this 02 Dec 19:49
· 97 commits to master since this release

A new Petronia release!

  • Added "resizable" flag for applications.
    • Applications can set a "resizable" flag (defaults to on), to specify
      whether the matching window should be resized to fit into the
      portal. Before, the matching window would have to be excluded from
      tiling control in order to not be resized.
    • Updated "no_border_config" and "border_config" to use the flag.
  • Added "snap" option to portals.
    • Windows that do not fully fit within a portal are now "snapped" into
      a relative position within the portal. By default (and the original
      behavior), the window snaps to the top-left corner of a portal. Now
      it can be positioned relative to any corner or side.
    • Updated "no_border_config" and "border_config" to use the flag.
  • detect-monitors command now supports different output formats.
    • Run with "-f (format)" to output in a different format.
    • Supported formats are: yaml, json, and py.
    • Format now defaults to yaml instead of python.
  • Added user extensions directory support.
    • You can either use the %PETRONIA_USER_DIR% environment variable, or
      the -e command-line argument, to specify where Petronia should look
      for user extensions. This allows for adding in components to your
      configuration.
  • Changed how you specify the layout argument at the command line.
    • It used to be that the layout name was the optional second argument. Now,
      you must specify it with the -l or --layout argument.
    • The check-layout command is unchanged.
    • Command-line parsing for cmd and main now use argparse to grant the
      ability to have more complex arguments. Unfortunately, this lead to
      the backwards incompatibility with the layout name.
  • Documentation improvements.
    • Cleaning up to better reflect the current version.
  • Bug fixes.
    • Fix portal chrome from staying on top of overlay windows.
    • Improved portal chrome to not have the annoying white border in
      Windows 8. (#6)
    • Portal chrome windows no longer shows up on the task bar.
    • Correctly associated portals to their aliases. This information wasn't
      being passed to the portal factory before.
    • Hide the "KeyboardInterrupt" exception from users when running the
      detect-keys command, because this is an expected action.