Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.58 KB

CHANGELOG.rst

File metadata and controls

76 lines (48 loc) · 2.58 KB

Changelog

Added functions “acknowledge_gnome_notification” and “move_to_pat”, more details here.

Added an interactive shell launcher, “autokey-shell”. “autokey-shell” allows you to run some AutoKey-Py3 functions interactively. Read this for more details.

Added a new function “click_on_pat” for use in user scripts. See this for more details.

This describes some of the changes to the original AutoKey source code.

Python 3 is less tolerant of circular imports so some files were split into several files. Those pieces of the original have their file names prefixed with the original's.

Eliminate possible deadlock. Changed

p = subprocess.Popen([…], stdout=subprocess.PIPE)
retCode = p.wait()
output = p.stdout.read()[:-1] # Drop trailing newline

to

p = subprocess.Popen([…], stdout=subprocess.PIPE)
output = p.communicate()[0].decode()[:-1] # Drop trailing newline
retCode = p.returncode

The former may cause a deadlock, for more information, see Python docs. This pattern appears several times in the source codes.

For a “gi.repository.Notify.Notification” object, test if method “attach_to_status_icon” exists before calling. After this fix, errors in user scripts will trigger a notification.

Respect XDG standard. Details here.

Corrected a typo in manpage of autokey-run.

For the GTK GUI, after script error is viewed, tray icon is reverted back to original.

In setup.py, the “/usr/” prefix to the directory names in the data_files argument were removed to allow for non-root install.

Removed the “WINDOWID” environment variable so that zenity is not tied to the window from which it was launched.

Modified the launcher and other files to allow for editable installs (“pip install -e”).

Added an “about” dialog for the Python 3 port.

Changed hyperlink for bug reports.