Skip to content

Commit 0d2a4a3

Browse files
committed
Update changelog
1 parent 7dc02f1 commit 0d2a4a3

1 file changed

Lines changed: 60 additions & 41 deletions

File tree

docs/changelog.rst

Lines changed: 60 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
Changelog
22
=========
33

4+
In developement
5+
^^^^^^^^^^^^^^^
6+
7+
- Asyncio and async/await support (many thanks to `@paulo-raca`_).
8+
- Add the ability to set the `phys` of uinput devices (thanks `@paulo-raca`_).
9+
- Add a generic :func:`InputDevice.set` method (thanks `@paulo-raca`_).
10+
- Distribute evtest along with evtest.
11+
- Fix issue with generating :mod:`ecodes.c` in recent kernels (``>= 4.4.0``).
12+
- Fix absinfo item indexes in :func:`UInput.uinput_create()` (thanks `@forsenonlhaimaisentito`_).
13+
- More robust comparison of :class:`InputDevice` objects (thanks `@isia`_).
14+
415
0.5.0 (Jun 16, 2015)
516
^^^^^^^^^^^^^^^^^^^^
617

718
- Write access to the input device is no longer mandatory. Evdev will
819
first try to open the device for reading and writing and fallback to
9-
read-only. Methods that require write access (e.g. ``set_led()``)
10-
will raise ``EvdevError`` if the device is open only for reading.
20+
read-only. Methods that require write access (e.g. :func:`set_led()`)
21+
will raise :class:`EvdevError` if the device is open only for reading.
1122

1223
0.4.7 (Oct 07, 2014)
1324
^^^^^^^^^^^^^^^^^^^^
@@ -21,47 +32,47 @@ Changelog
2132

2233
- Fix install on Python 3.4 (works around issue21121_).
2334

24-
- Fix ``ioctl()`` requested buffer size (thanks Jakub Wojciech Klama).
35+
- Fix :func:`ioctl()` requested buffer size (thanks Jakub Wojciech Klama).
2536

2637
0.4.5 (Jul 06, 2014)
2738
^^^^^^^^^^^^^^^^^^^^
2839

2940
- Add method for returning a list of the currently active keys -
30-
``InputDevice.active_keys()`` (thanks `@spasche`_).
41+
:func:`InputDevice.active_keys()` (thanks `@spasche`_).
3142

32-
- Fix a potential buffer overflow in ``ioctl_capabilities`` (thanks `@spasche`_).
43+
- Fix a potential buffer overflow in :func:`ioctl_capabilities()` (thanks `@spasche`_).
3344

3445
0.4.4 (Jun 04, 2014)
3546
^^^^^^^^^^^^^^^^^^^^
3647

37-
- Calling ``InputDevice.read_one()`` should always return ``None``,
48+
- Calling :func:`InputDevice.read_one()` should always return ``None``,
3849
when there is nothing to be read, even in case of a ``EAGAIN`` errno
3950
(thanks JPP).
4051

4152
0.4.3 (Dec 19, 2013)
4253
^^^^^^^^^^^^^^^^^^^^
43-
- Silence ``OSError`` in destructor (thanks `@polyphemus`_).
54+
- Silence :class:`OSError` in destructor (thanks `@polyphemus`_).
4455

45-
- Make ``InputDevice.close()`` work in cases in which stdin (fd 0) has
46-
been closed (thanks `@polyphemus`_).
56+
- Make :func:`InputDevice.close()` work in cases in which stdin (fd 0)
57+
has been closed (thanks `@polyphemus`_).
4758

4859
0.4.2 (Dec 13, 2013)
4960
^^^^^^^^^^^^^^^^^^^^
5061

5162
- Rework documentation and docstrings.
5263

53-
- Call ``InputDevice.close()`` from ``InputDevice.__del__()``.
64+
- Call :func:`InputDevice.close()` from :func:`InputDevice.__del__()`.
5465

5566
0.4.1 (Jul 24, 2013)
5667
^^^^^^^^^^^^^^^^^^^^
5768

58-
- Fix reference counting in ``device_read``, ``device_read_many`` and
59-
``ioctl_capabilities``.
69+
- Fix reference counting in :func:`InputDevice.device_read()`,
70+
:func:`InputDevice.device_read_many()` and :func:`ioctl_capabilities`.
6071

6172
0.4.0 (Jul 01, 2013)
6273
^^^^^^^^^^^^^^^^^^^^
6374

64-
- Add ``FF_*`` and ``FF_STATUS`` codes to ``ecodes`` (thanks `@bgilbert`_).
75+
- Add ``FF_*`` and ``FF_STATUS`` codes to :func:`ecodes` (thanks `@bgilbert`_).
6576

6677
- Reverse event code mappings (``ecodes.{KEY,FF,REL,ABS}`` and etc.)
6778
will now map to a list of codes, whenever a value corresponds to
@@ -72,29 +83,32 @@ Changelog
7283
>>> ecodes.KEY[30]
7384
... 'KEY_A'
7485

75-
- Set the state of a LED through ``device.set_led()`` (thanks
76-
`@accek`_). ``device.fd`` is opened in ``O_RDWR`` mode from now on.
86+
- Set the state of a LED through :func:`InputDevice.set_led()` (thanks
87+
`@accek`_).
88+
89+
- Open :attr:`InputDevice.fd` in ``O_RDWR`` mode from now on.
7790

78-
- Fix segfault in ``device_read_many()`` (thanks `@bgilbert`_).
91+
- Fix segfault in :func:`InputDevice.device_read_many()` (thanks `@bgilbert`_).
7992

8093
0.3.3 (May 29, 2013)
8194
^^^^^^^^^^^^^^^^^^^^
8295

83-
- Raise ``IOError`` from ``device_read()`` and ``device_read_many()`` when
84-
``read()`` fails.
96+
- Raise :class:`IOError` from :func:`InputDevice.device_read()` and
97+
:func:`InputDevice.device_read_many()` when :func:`InputDevice.read()`
98+
fails.
8599

86100
- Several stability and style changes (thank you debian code reviewers).
87101

88102
0.3.2 (Apr 05, 2013)
89103
^^^^^^^^^^^^^^^^^^^^
90104

91-
- Fix vendor id and product id order in ``DeviceInfo`` (thanks `@kived`_).
105+
- Fix vendor id and product id order in :func:`DeviceInfo` (thanks `@kived`_).
92106

93107
0.3.1 (Nov 23, 2012)
94108
^^^^^^^^^^^^^^^^^^^^
95109

96-
- ``device.read()`` will return an empty tuple if the device has
97-
nothing to offer (instead of segfaulting).
110+
- :func:`InputDevice.read()` will return an empty tuple if the device
111+
has nothing to offer (instead of segfaulting).
98112

99113
- Exclude unnecessary package data in sdist and bdist.
100114

@@ -103,19 +117,20 @@ Changelog
103117

104118
- Add ability to set/get auto-repeat settings with ``EVIOC{SG}REP``.
105119

106-
- Add ``device.version`` - the value of ``EVIOCGVERSION``.
120+
- Add :func:`InputDevice.version` - the value of ``EVIOCGVERSION``.
107121

108-
- Add ``device.read_loop()``.
122+
- Add :func:`InputDevice.read_loop()`.
109123

110-
- Add ``device.grab()`` and ``device.ungrab()`` - exposes ``EVIOCGRAB``.
124+
- Add :func:`InputDevice.grab()` and :func:`InputDevice.ungrab()` -
125+
exposes ``EVIOCGRAB``.
111126

112-
- Add ``device.leds`` - exposes ``EVIOCGLED``.
127+
- Add :func:`InputDevice.leds` - exposes ``EVIOCGLED``.
113128

114-
- Replace ``DeviceInfo`` class with a namedtuple.
129+
- Replace :class:`DeviceInfo` class with a namedtuple.
115130

116-
- Prevent ``device.read_one()`` from skipping events.
131+
- Prevent :func:`InputDevice.read_one()` from skipping events.
117132

118-
- Rename ``AbsData`` to ``AbsInfo`` (as in ``struct input_absinfo``).
133+
- Rename :class:`AbsData` to :class:`AbsInfo` (as in ``struct input_absinfo``).
119134

120135

121136
0.2.0 (Aug 22, 2012)
@@ -124,17 +139,17 @@ Changelog
124139
- Add the ability to set arbitrary device capabilities on uinput
125140
devices (defaults to all ``EV_KEY`` ecodes).
126141

127-
- Add ``UInput.device`` which is an open ``InputDevice`` to the
128-
input device that uinput 'spawns'.
142+
- Add :attr:`UInput.device` which is an open :class:`InputDevice` to
143+
the input device that uinput 'spawns'.
129144

130-
- Add ``UInput.capabilities()`` which is just a shortcut to
131-
``UInput.device.capabilities()``.
145+
- Add :func:`UInput.capabilities()` which is just a shortcut to
146+
:func:`UInput.device.capabilities()`.
132147

133-
- Rename ``UInput.write()`` to ``UInput.write_event()``.
148+
- Rename :func:`UInput.write()` to :func:`UInput.write_event()`.
134149

135-
- Add a simpler ``UInput.write(type, code, value)`` method.
150+
- Add a simpler :func:`UInput.write(type, code, value)` method.
136151

137-
- Make all ``UInput`` constructor arguments optional (default
152+
- Make all :func:`UInput` constructor arguments optional (default
138153
device name is now ``py-evdev-uinput``).
139154

140155
- Add the ability to set ``absmin``, ``absmax``, ``absfuzz`` and
@@ -143,26 +158,27 @@ Changelog
143158
- Remove the ``nophys`` argument - if a device fails the
144159
``EVIOCGPHYS`` ioctl, phys will equal the empty string.
145160

146-
- Make ``InputDevice.capabilities()`` perform a ``EVIOCGABS`` ioctl
147-
for devices that support ``EV_ABS`` and return that info wrapped in
148-
an ``AbsData`` namedtuple.
161+
- Make :func:`InputDevice.capabilities()` perform a ``EVIOCGABS``
162+
ioctl for devices that support ``EV_ABS`` and return that info
163+
wrapped in an ``AbsData`` namedtuple.
149164

150165
- Split ``ioctl_devinfo`` into ``ioctl_devinfo`` and
151166
``ioctl_capabilities``.
152167

153-
- Split ``uinput_open()`` to ``uinput_open()`` and ``uinput_create()``
168+
- Split :func:`UInput.uinput_open()` to :func:`UInput.uinput_open()`
169+
and :func:`UInput.uinput_create()`
154170

155171
- Add more uinput usage examples and documentation.
156172

157173
- Rewrite uinput tests.
158174

159-
- Remove ``mouserel`` and ``mouseabs`` from ``UInput``.
175+
- Remove ``mouserel`` and ``mouseabs`` from :class:`UInput`.
160176

161177
- Tie the sphinx version and release to the distutils version.
162178

163179
- Set 'methods-before-attributes' sorting in the docs.
164180

165-
- Remove ``KEY_CNT`` and ``KEY_MAX`` from ``ecodes.keys``.
181+
- Remove ``KEY_CNT`` and ``KEY_MAX`` from :func:`ecodes.keys`.
166182

167183

168184
0.1.1 (May 18, 2012)
@@ -184,5 +200,8 @@ Changelog
184200
.. _`@accek`: https://github.com/accek
185201
.. _`@kived`: https://github.com/kived
186202
.. _`@spasche`: https://github.com/spasche
203+
.. _`@isia`: https://github.com/isia
204+
.. _`@forsenonlhaimaisentito`: https://github.com/forsenonlhaimaisentito
205+
.. _`@paulo-raca`: https://github.com/paulo-raca
187206

188207
.. _issue21121: http://bugs.python.org/issue21121

0 commit comments

Comments
 (0)