Commit Graph

239 Commits

Author SHA1 Message Date
joan 388a13ab02 Merge branch 'master' of https://github.com/Noviv/pigpio into Noviv-master 2018-10-21 09:25:14 +01:00
joan 3e90383499 V67+: tided up I2C/SPI documentation 2018-10-21 08:54:37 +01:00
Ben Nuttall 559bb73802 Add repr to pi class 2018-10-08 11:20:13 +01:00
Guy McSwain 7708dcb364 enable SO_KEEPALIVE and SO_REUSEADDR on sockets 2018-09-17 15:33:22 -05:00
Guy McSwain 1101ce4d5e Update reportedLevels prior to monitoring bits 2018-09-17 13:32:43 -05:00
Noviv ea55169407 Added CMakeLists for shared libraries, executables, and (un)install 2018-03-30 15:57:56 -05:00
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