Commit Graph

31 Commits

Author SHA1 Message Date
Daniel Pavel 0283bb0e91 fix str/unicode detection in Python 3.2 2013-05-06 15:33:42 +02:00
Peter Wu 10c26fe642 Py3 compat: replace use of "unicode" (pwr/Solaar#32)
Generating "an unknown notification" type bailed out because of an unknown
feature type None. Since `isinstance(other, str)` is False for None, the script
will raise an exception on `isinstance(other, unicode)`.

There is no differentiation between `str` and `bytes` in Python 2, therefore
add another condition to `NamedInt.__eq__` to catch unknown types (like
`bytes`).
2013-05-03 23:46:46 +02:00
Daniel Pavel 04db6d3838 python 3 fixes for #29 2013-04-30 22:31:06 +02:00
Daniel Pavel feedbcf581 some code clean-ups 2013-04-28 15:16:45 +02:00
Daniel Pavel 581d6747ad Merge branch 'nano' into 0.9
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2013-01-09 21:10:39 +02:00
Daniel Pavel 79a9048db5 fixed names for NamedInts numerical values 2013-01-09 15:31:19 +02:00
Daniel Pavel 738d43fd83 fix for gihub issue #10
http://github.com/pwr/Solaar/issues/10
2013-01-07 20:14:31 +02:00
Daniel Pavel 36f34da227 proper debian packaging, dropper stdeb 2013-01-05 11:48:35 +02:00
Daniel Pavel 064a7a113c added setup.py for python and debian packaging 2012-12-18 05:03:43 +02:00
Daniel Pavel cc6c0ee7df fix for python3 2012-12-14 16:25:46 +02:00
Daniel Pavel f0c5046ccf re-worked the settings classes 2012-12-14 06:44:44 +02:00
Daniel Pavel c22fe6320d properly slice NamedInts 2012-12-13 05:26:56 +02:00
Daniel Pavel 1c4d3d5f13 simpler NamedInt, more logical NamedInts 2012-12-12 21:42:43 +02:00
Daniel Pavel 80c36a02a9 improved notifications detection 2012-12-08 01:49:59 +02:00
Daniel Pavel ee16892481 fixed registers access 2012-12-07 20:38:24 +02:00
Daniel Pavel e2909f6165 fixed event detection 2012-12-07 20:37:13 +02:00
Daniel Pavel b86dcce381 I come from the __future__, come with me if you want to live. 2012-12-07 17:10:22 +02:00
Daniel Pavel 9066003240 named ints act like proper sequences now 2012-12-07 13:50:44 +02:00
Daniel Pavel 64d2b35ace some clean-ups 2012-11-30 15:20:41 +02:00
Daniel Pavel d6b18cd426 python 3 fixes 2012-11-29 12:34:20 +02:00
Daniel Pavel 84540fb087 re-wrote most of the app, based on latest HID++ docs from Logitech 2012-11-29 04:10:16 +02:00
Daniel Pavel a8a72f7ae5 dropped the watcher thread
now the receiver is looked for and initialized on the application's main
thread
2012-11-01 06:30:29 +02:00
Daniel Pavel 62a91b56d2 logging and python3 cleanups 2012-10-24 15:09:39 +03:00
Daniel Pavel 60c13270f9 ui and pairing updates 2012-10-24 01:50:57 +03:00
Daniel Pavel f2dac70131 reworked the receiver and devices into classes 2012-10-18 14:19:20 +03:00
Daniel Pavel 371b874986 Packet __str__ fix 2012-10-13 18:30:00 +03:00
Daniel Pavel bca21a7220 use specialized namedtuple for events 2012-10-13 18:13:05 +03:00
Daniel Pavel 0255194b46 dropped firmware from standard device info 2012-10-12 04:36:13 +03:00
Daniel Pavel e34ad5104f reworked the event listener 2012-10-10 06:37:03 +03:00
Daniel Pavel 9ba6aa1c31 added a devices status window 2012-10-04 01:36:43 +03:00
Daniel Pavel d65c1dbf59 some clean-ups in the logitech library 2012-09-28 13:58:17 +03:00