Commit Graph

233 Commits

Author SHA1 Message Date
joan 934874be2f V67: use with for Python locks, show_errors flag 2018-03-20 18:39:50 +00:00
joan 424ce5af6a V67: #160 buffer size to 512, improved active test 2018-03-13 13:38:58 +00:00
joan eafa0b1d66 V67: #198 added process exit codes for pigs 2018-03-11 13:24:54 +00:00
joan e02f824fe8 V67: #201 allow space for watchdog/event reports 2018-03-01 20:49:48 +00:00
joan c734018f3c V66 2018-02-20 08:36:27 +00:00
joan e9ffe3d925 V66: #168 check commands against PI_CMD_SCRIPT 2018-02-13 22:04:21 +00:00
joan cf29b45ded V66: #133 fixed by simplifying timer loop 2018-02-13 21:39:02 +00:00
joan 5981d495cc V66: #178 update script parameters command PROCU 2018-02-13 09:14:28 +00:00
joan 1737d47747 V65 2018-02-08 21:30:08 +00:00
joan f83c93066e wave delete comments 2018-02-08 18:48:33 +00:00
joan bf390b4a2f Corrected test list argument errors 2018-02-06 18:35:49 +00:00
joan a41d63493b Issues #131 and #141 2018-02-06 16:01:45 +00:00
joan d5f32d3301 Docs plus reverse PR #164 flag meaning 2018-02-04 18:59:37 +00:00
joan 6c86386253 Merge branch 'maihde-issue-189' 2018-02-04 10:22:39 +00:00
joan 5e49e8b1a3 Merge branch 'issue-189' of https://github.com/maihde/pigpio into maihde-issue-189 2018-02-04 10:21:38 +00:00
joan e3a7548f4e Refine error handling approach 2018-02-04 10:18:55 +00:00
joan 8f7868052c Merge branch 'damienstuart-master' 2018-02-04 10:17:53 +00:00
joan 512f261db0 Merge branch 'master' of https://github.com/damienstuart/pigpio into damienstuart-master 2018-02-04 10:16:55 +00:00
joan 1df9fb3c0e Merge branch 'dbbnrl-master' 2018-02-04 10:09:56 +00:00
joan 6e6b22d885 Merge branch 'master' of https://github.com/dbbnrl/pigpio into dbbnrl-master 2018-02-04 10:09:07 +00:00
joan 3fdebbf233 Merge branch 'jonas-schievink-patch-1' 2018-02-04 10:07:16 +00:00
joan e6d510b449 Merge branch 'patch-1' of https://github.com/jonas-schievink/pigpio into jonas-schievink-patch-1 2018-02-04 10:06:51 +00:00
joan 73ade1954b Include for issue #188 and ignore various errors 2018-02-04 10:00:46 +00:00
joan 59f63d832a Merge branch 'MaitreDede-lib-signals' 2018-02-04 09:49:13 +00:00
joan 50caa7b182 maintain backward compatibility with EMBEDDED_IN_VM 2018-02-04 09:47:41 +00:00
joan 748d9cebf8 Merge branch 'lib-signals' of https://github.com/MaitreDede/pigpio into MaitreDede-lib-signals 2018-02-04 09:29:58 +00:00
joan a18943f4d3 Merge branch 'gyscos-master' 2018-02-04 09:23:09 +00:00
joan ffe443e102 Merge branch 'master' of https://github.com/gyscos/pigpio into gyscos-master 2018-02-04 09:22:25 +00:00
joan ec62750c36 Merge branch 'TheRaspyDev-master' 2018-02-04 09:12:40 +00:00
joan 847c081846 Changes by tateu 2018-02-04 09:10:22 +00:00
Michael fb081b7cf6 Address #189 ensuring socket locks are released
The code previous assume exception-free execution of critical blocks
between lock acquire() and lock release(); however, in Python exceptions
can be thrown in many situations which would then result in a dead-lock
of the entire program using pigpio.

This is resolved by using the acquire/try/finally/release pattern to
ensure that the lock is always released, even when an exception occurs.

Also addresses #186, but takes a slightly different approach by using
RLock to handle the nested lock requirement, which overall should be
safer because it handles additional situations that can cause a
deadlock.
2018-01-31 07:07:00 -05:00
Damien Stuart cc559a7e50 Ensure the lock is released if there is an exception on socket I/O. 2017-12-31 16:00:57 -05:00
Dan Brown 3edc87fea5 Allow 3-op script cmds to use regs as 3rd operand. 2017-12-01 22:32:44 -05:00
Jonas Schievink b39eb25571 cmake: include find_package_handle_standard_args
The Findpigpio.cmake script doesn't work for me if this is missing (CMake 3.9.4 on Arch Linux ARM).
2017-10-19 18:36:31 +02:00
joan2937 8996b7eaca Update README.md 2017-10-18 22:25:13 +01:00
Damien 3141c30a86 Replace conditionnal compilation symbol with internal configuration bit 2017-09-28 13:45:57 +11:00
Damien 9f55dc919c Added 'lib' target for Makefile 2017-09-28 08:20:54 +11:00
Alexandre Bury 388d0e6a1e Add systemd service file 2017-09-23 20:00:25 -07:00
TheRaspyDev 2c9a00a2f9 Fixing ifFlags check for additional flag 2017-05-19 10:24:19 +02:00
TheRaspyDev 32727085fc Resolve merge conflict 2017-05-19 10:14:06 +02:00
TheRaspyDev 51e7df2b6c Merge branch 'master' of https://github.com/joan2937/pigpio
# Conflicts:
#	pigpio.c
2017-05-19 10:13:40 +02:00
TheRaspyDev e1b7d8c508 Fixing command line arguments for new option -m 2017-05-19 10:01:51 +02:00
joan 1aa4cca8a6 V64 2017-05-14 18:13:41 +01:00
joan f032029bf9 V63 2017-05-13 14:22:02 +01:00
Maurus Erni 29bbd99b0e Adding flag to disable alerts (polling of GPIOs) 2017-04-25 13:50:01 +02:00
joan c4c8ce50c6 V62 2017-04-24 21:05:43 +01:00
joan 114653357b V61 2017-02-19 11:28:15 +00:00
joan d1f7421e23 Merge branch 'maxnet-ipv6' 2017-02-19 10:35:50 +00:00
Floris Bos 7eec4b6c88 Add basic IPv6 support
Add IPv6 support to daemon and python library.
IPv6 was already supported by the C client library.

Currently there is no support for whitelisting IPv6 client
addresses implemented, so for now it reverts to listening
to IPv4 only when the -n <ip> option is specified.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
2017-02-17 15:36:48 +01:00
joan2937 03a7255fad Merge pull request #112 from fudger/master
Reformat readme.md for better readability.
2017-01-24 20:44:57 +00:00