Commit Graph

319 Commits

Author SHA1 Message Date
Patrick Siegl
2cae70f63e Fix when no device available 2019-03-31 23:25:15 +02:00
Patrick Siegl
1ca054ed7e Recursive listUSBdev.() 2019-03-31 22:58:26 +02:00
Patrick Siegl
1dee982ba0 ftdi_usb_find_all() requires a free() 2019-03-28 22:19:02 +01:00
Patrick Siegl
64fe6d84a6 errorflag already set in init 2019-03-28 22:03:48 +01:00
Patrick Siegl
81973dff4f Merge branch 'master' of https://github.com/waywardgeek/infnoise into writeent 2019-03-28 00:15:52 +01:00
Patrick Siegl
fdfe30136d Wait until /dev/random is truly required 2019-03-28 00:13:14 +01:00
Patrick Siegl
84e2014fa5 Use the struct instead of multipe global vars. 2019-03-28 00:12:13 +01:00
Manuel Domke
095f2d1e6e Merge pull request #82 from psiegl/writeentropycleanup
Support any value from /proc instead of relying on buf.-size
2019-03-27 23:07:51 +01:00
Manuel Domke
0cd6018709 Merge branch 'master' into cleanup 2019-03-27 22:16:01 +01:00
Patrick Siegl
3cfcbd94d7 Feature: clean shutdown 2019-03-27 21:41:17 +01:00
Patrick Siegl
eb777add58 Support any value from /proc instead of relying on buf.-size 2019-03-27 21:35:29 +01:00
Patrick Siegl
0a861f8b8b Cleanup list of USB devices & assign debug directly 2019-03-24 23:59:27 +01:00
Patrick Siegl
5d09246d06 Unrequired i counting 2019-03-24 23:43:14 +01:00
Patrick Siegl
907183f498 Fix TEST_HEALTHCHECK as of typo 2019-03-24 23:25:02 +01:00
Patrick Siegl
3efca9462f Fix indent 2019-03-24 22:41:11 +01:00
Patrick Siegl
aca57dcf65 Specify lenght of output array explicitly 2019-03-24 22:06:11 +01:00
Patrick Siegl
03e4f0848c use sizeof() in libinfnoise 2019-03-24 22:00:53 +01:00
Patrick Siegl
6cd415cb02 reduce amount of if-checks in healthcheck 2019-03-24 22:00:38 +01:00
Patrick Siegl
314fa9e376 No need for an if in the for-loop 2019-03-21 23:33:06 +01:00
Patrick Siegl
34598a1674 Fix indent 2019-03-21 23:11:11 +01:00
Patrick Siegl
f13ed314c9 Total can be computed by just adding zeroes and ones at the end 2019-03-21 23:09:55 +01:00
Patrick Siegl
227a6a7db6 Reference variable instead of writing type again 2019-03-21 23:05:20 +01:00
Patrick Siegl
a457b72372 minor adjustments to tmp. variables 2019-03-21 22:54:54 +01:00
Patrick Siegl
20b1731d61 Since rc < 0 break already away, no further >= 0 check required 2019-03-21 22:45:48 +01:00
Patrick Siegl
d6bdd34b85 version should be printed, before any env is read 2019-03-21 22:37:04 +01:00
Patrick Siegl
fb270db373 empty string comparision simplified; easied if-clauses in infnoise.c 2019-03-21 22:36:10 +01:00
Patrick Siegl
a19456d221 Improved readability of daemon.c 2019-03-21 22:14:15 +01:00
Patrick Siegl
ad6c6b3dcb Change tabs to whitespaces 2019-03-21 22:04:49 +01:00
Patrick Siegl
47e144eff8 In case fprintf() fails, still close the file descr. 2019-03-21 22:03:24 +01:00
Patrick Siegl
b97824e916 Fix for description in infnoise_dev_node; write struct directly 2019-03-20 22:23:08 +01:00
Patrick Siegl
fdfcce7020 Improve code quality 2019-03-20 22:05:54 +01:00
Patrick Siegl
32b752ba4c Archlinux build script fix 2019-03-20 21:18:22 +01:00
Manuel Domke
7ecdf80db8 Merge pull request #14 from zbeekman/master
Improve build/install experience on macOS
2019-02-01 16:36:34 +01:00
Manuel Domke
154fe4a67c fix #15: return actual bytes written from readData() 2019-01-13 18:02:54 +01:00
Izaak Beekman
29993bcad9 Build tools on macOS and allow install-tools 2019-01-04 15:09:19 -05:00
Izaak Beekman
9ffb7c8c41 Automate finding libftdi when homebrew is installed 2019-01-04 14:39:34 -05:00
Izaak Beekman
166c09ac9e Fix macOS install instructions 2019-01-04 14:31:32 -05:00
Stephen Kitt
463e2f0e0a Add manpages for all commands
Signed-off-by: Stephen Kitt <steve@sk2.org>
2018-10-31 14:49:08 +01:00
Manuel Domke
e452ca038c try to fix rpm build (+debug) 2018-10-29 17:05:58 +01:00
Manuel Domke
10dc196527 don't sign sources here, key is not available on CentOS build node... 2018-10-15 17:13:24 +02:00
Manuel Domke
c9f9cd7dc8 sign sources 2018-10-15 17:08:22 +02:00
Manuel Domke
84b1d8dd83 changed license in build scripts/resulting packages 2018-10-15 17:01:05 +02:00
Manuel Domke
8357630508 fix file permissions 2018-10-12 15:24:59 +02:00
Manuel Domke
e0327de4fd Update README.md 2018-10-09 17:32:15 +02:00
Manuel Domke
a8fe7a4568 Update README.md
linux -> GNU/Linux
2018-10-08 16:36:58 +02:00
Manuel Domke
664fa21220 Update README.md 2018-10-05 23:37:03 +02:00
Manuel Domke
e2224252f7 Merge branch 'master' of git://github.com/waywardgeek/infnoise 2018-10-04 18:39:30 +02:00
Manuel Domke
1d630f4332 Merge branch 'master' of https://github.com/13-37-org/infnoise 2018-10-04 18:15:42 +02:00
Manuel Domke
51b9662086 update libinfnoise examples 2018-10-04 18:15:25 +02:00
Manuel Domke
2a5be01ffb fix permissions for .deb packages & update README 2018-10-04 12:49:39 +02:00