Commit Graph

519 Commits

Author SHA1 Message Date
Patrick Siegl
b900469e47 Remote unrequired struct 2019-03-31 23:56:53 +02:00
Patrick Siegl
de7b6be8fd sprintf() in not a buffer, could create any issue 2019-03-31 23:49:26 +02:00
Patrick Siegl
40fa7d4c2e Check for superuser not required 2019-03-31 23:34:28 +02:00
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
Manuel Domke
561b6b0374 Merge pull request #83 from psiegl/writeent
Writeentropy reduced in amount of global vars. To this, waits until /dev/random in usage
2019-03-29 19:03:53 +01: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
e0f7e68010 Merge pull request #81 from psiegl/cleanup
Feature: graceful shutdown
2019-03-27 22:18:00 +01:00
Manuel Domke
0cd6018709 Merge branch 'master' into cleanup 2019-03-27 22:16:01 +01:00
Manuel Domke
4050495b6e Merge pull request #80 from psiegl/master
Merely simplified and cleaned up the code
2019-03-27 22:13:28 +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
Manuel Domke
b5dce0e23b Merge pull request #79 from psiegl/cleanups
Fix for description in infnoise_dev_node; write struct directly
2019-03-21 13:55:21 +01:00
Patrick Siegl
b97824e916 Fix for description in infnoise_dev_node; write struct directly 2019-03-20 22:23:08 +01:00
Manuel Domke
20442a0db2 Merge pull request #78 from psiegl/cleanups
Improve code quality
2019-03-20 22:20:53 +01:00
Patrick Siegl
fdfcce7020 Improve code quality 2019-03-20 22:05:54 +01:00
Manuel Domke
86dd75532a Merge pull request #77 from psiegl/script-fix
Archlinux build script fix
2019-03-20 21:40:39 +01:00
Patrick Siegl
32b752ba4c Archlinux build script fix 2019-03-20 21:18:22 +01:00
Manuel Domke
f19b341eab Merge pull request #76 from hlovdal/doc-fix
Fixed software/README.md link
2019-02-18 09:54:20 +01:00
Manuel Domke
4ca9471168 Merge branch 'master' into doc-fix 2019-02-01 16:44:55 +01:00
Manuel Domke
0a2541b1bf Merge pull request #74 from 13-37-org/master
release candidate for 0.3.1
2019-02-01 16:39:31 +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
Håkon Løvdal
68985c0694 Fixed software/README.md link 2018-11-11 12:32:59 +01:00