@benoit-pierre benoit-pierre released this Mar 16, 2018 · 16 commits to master since this release

Assets 4

Bug Fixes

  • fix Display.change_pointer_control implementation
  • fix Drawable.put_pil_image implementation

@benoit-pierre benoit-pierre released this Dec 5, 2017 · 27 commits to master since this release

Assets 4

Bug Fixes

  • fix use under Windows Subsystem for Linux: when DISPLAY does not
    specify a protocol, and the implicit Unix socket connection fails,
    fallback to TCP (mimicking XCB's behavior).

Misc

  • don't bundle a copy of texi2html to build the HTML documentation,
    but use the currently installed version instead.

@benoit-pierre benoit-pierre released this Sep 7, 2017 · 36 commits to master since this release

Assets 9

Bug Fixes

  • fix unclosed file in Xauth implementation
  • fix support for Window.set_wm_transient_for
  • fix support for Drawable.put_image / Drawable.get_image
  • use ASCII for decoding strings in Python 3 (same as Python 2)
  • fix Python 3 warnings about array.tostring() (deprecated)

Misc

Improve response processing performance: reduce the number of socket.recv calls needed to receive a full response.

@benoit-pierre benoit-pierre released this Feb 20, 2017 · 64 commits to master since this release

Assets 9

Bug Fixes

  • don't throw an exception if $XAUTHFILE / ~/.Xauthority is missing
  • fix authentication work-around for SSH forwarding under Python 3
  • improve $DISPLAY handling: support optional protocol prefix, and correctly handle unix:0.0 as :0.0

@benoit-pierre benoit-pierre released this Nov 23, 2016 · 85 commits to master since this release

Assets 8

Bug Fixes

  • fix Python 3 buffer abstraction
  • fix interrupted select handling for Python 3.3/3.4
  • fix Unix socket support when only an abstract address is available

@benoit-pierre benoit-pierre released this Aug 10, 2016 · 95 commits to master since this release

Assets 9

Bug Fixes

  • fix Xauth handling when using Python 2 and DISPLAY contains a remote IP
  • fix String16 request field handling when using Python 3
  • fix RECORD extension and example when using Python 3
  • fix handling of properties: use byte strings for all X11 8-bits
    strings, as not all of them are text properties (the window
    getters/setters for wm_name, wm_icon_name, wm_class, and
    wm_client_machine still return/expect Unicode strings)

API Changes

Core:

  • new window getter/setter for text properties: get_full_text_property
    and change_text_property; with automatic conversion to/from Unicode
    when the property type encoding is supported (STRING and UTF8_STRING)

Composite extension:

  • support for GetOverlayWindow request

@benoit-pierre benoit-pierre released this Jul 16, 2016 · 117 commits to master since this release

Assets 9

Licensing

The project is now licensed under the GNU Lesser General Public License v2.1 or later (see the LICENSE file for details).

Compatibility

Support for Python versions older than 2.7 has been dropped. Support for Python 3 (3.3, 3.4 and 3.5) has been added. Note that Python-Xlib now depends on the six package (>=1.10) for combined Python 2 / 3 support.

API Changes

With the change of license, and no way to contact the original author of the SHAPE extension, the code had to be rewritten from scratch. This resulted in a few minor API changes (see examples/shapewin.py).

Partial support for the SECURITY. XInput, and XFIXES extensions has been added.

Bug Fixes

  • fix RECORD extension
  • fix OS X socket path
  • fix handling of generic events
  • fix handling of KeymapNotify events
  • several fixes for the RandR extension
Nov 14, 2009
Oct 1, 2007