Hartmut Goebel [Tue, 5 Mar 2019 22:43:25 +0000 (23:43 +0100)]
gnunet-qr: Implement functionality of gnunet-uri, don't spawn.
This copies the central part of gnunet-uri. Should better be in some
shared code.
Also eliminate helper lib "gnunet-qr-utils.h", which is no longer
used.
Hartmut Goebel [Tue, 5 Mar 2019 21:18:47 +0000 (22:18 +0100)]
contrib/guix: Add zbar as dependency for package gnunet.
Hartmut Goebel [Tue, 5 Mar 2019 21:17:41 +0000 (22:17 +0100)]
contrib/guix: Add package zbar (for gnunet-qr).
Hartmut Goebel [Sun, 3 Mar 2019 21:08:53 +0000 (22:08 +0100)]
gnunet-qr: Use GNUNET_PROGRAM_run to simplify the code.
Hartmut Goebel [Sun, 3 Mar 2019 09:56:01 +0000 (10:56 +0100)]
gnunet-qr: Update documentation and scripts to changed dependencies.
Requirement python-zbar is gone, and thus the requirement for
Python 2.7. Instead development package for libzbar is required now.
Hartmut Goebel [Sun, 3 Mar 2019 01:10:13 +0000 (02:10 +0100)]
gnunet-qr: Use the `gnunet-uri` binary installed into PREFIX.
This helps keeping environments concise and functional package
managers like guix this will ensure `gnunet-uri` from the same
environment is used.
Hartmut Goebel [Sun, 3 Mar 2019 01:06:31 +0000 (02:06 +0100)]
gnunet-qr: Add into Makefile.am and pofiles,
Hartmut Goebel [Sun, 3 Mar 2019 01:04:16 +0000 (02:04 +0100)]
configure.ac: Add check for libzbar (using pkgconfig).
libzbar is required for gnunet-qr, which is optional.
Hartmut Goebel [Sun, 3 Mar 2019 00:04:08 +0000 (01:04 +0100)]
Add Hartmut Goebel to the AUTHORS file.
Hartmut Goebel [Sat, 2 Mar 2019 16:27:36 +0000 (17:27 +0100)]
gnunet-qr: Actually run gnunet-uri.
Hartmut Goebel [Sat, 2 Mar 2019 16:26:35 +0000 (17:26 +0100)]
Add helper lib "gnunet-qr-utils.h".
These functions are copied from dns/gnunet-helper-dns.c,
move them into a common library.
Or think about implementing a even more elaborate version.
Hartmut Goebel [Sat, 2 Mar 2019 11:37:46 +0000 (12:37 +0100)]
gnunet-qr: Simplify verbose messaging.
Hartmut Goebel [Sat, 2 Mar 2019 10:00:53 +0000 (11:00 +0100)]
gnunet-qr: Reimplement in C - yet only a proof of concept.
Still to-do:
* running gnunet-uri
* Proper error handling
* integration into build system (automake)
Reimplementing in C was chosen since
- official zbar python-bindings support python 2 only,
- none of the other bindings available at PyPI supports the high-level
"processor" interface which gnunet-qr uses
- implementing bindings for zbar using ctypes required addin a lot of
low-level error handling code, thus implementing in C seamed to be
easier,
- the programm is short, thus re-implementing is not such complicated, and
- this allows to reduce the number of dependencies (here: another
Python version), which should ease porting to other plattforms (zbar
is a dependency anyway).
Schanzenbach, Martin [Sat, 2 Mar 2019 13:23:56 +0000 (14:23 +0100)]
update changelog
Schanzenbach, Martin [Sat, 2 Mar 2019 13:23:10 +0000 (14:23 +0100)]
attempted fix #5622
Christian Grothoff [Sat, 2 Mar 2019 10:27:11 +0000 (11:27 +0100)]
use existing pf probe function from network.c instead of re-implementing it in service.c
Christian Grothoff [Sat, 2 Mar 2019 10:21:06 +0000 (11:21 +0100)]
use #5553 function in TCP/UDP communicators
Christian Grothoff [Sat, 2 Mar 2019 10:17:27 +0000 (11:17 +0100)]
cache PF support results from OS probe (#5553)
Christian Grothoff [Sat, 2 Mar 2019 10:06:35 +0000 (11:06 +0100)]
re-adding clique test, works on my system despite no changes
Christian Grothoff [Sat, 2 Mar 2019 09:33:56 +0000 (10:33 +0100)]
fix for #5612
ng0 [Fri, 1 Mar 2019 12:50:52 +0000 (12:50 +0000)]
user handbook: Grammar correction.
ng0 [Fri, 1 Mar 2019 11:04:39 +0000 (11:04 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Fri, 1 Mar 2019 11:04:27 +0000 (11:04 +0000)]
In theory slibtool should work. In practice libtool is always picked up by our system, even when slibtool is the first entry
Schanzenbach, Martin [Thu, 28 Feb 2019 20:01:32 +0000 (21:01 +0100)]
changelog
Florian Dold [Thu, 28 Feb 2019 19:30:52 +0000 (20:30 +0100)]
benchmark: fix typo
Schanzenbach, Martin [Thu, 28 Feb 2019 18:07:59 +0000 (19:07 +0100)]
prevent unordered message delivery, everywhere
Schanzenbach, Martin [Thu, 28 Feb 2019 18:06:22 +0000 (19:06 +0100)]
prevent unordered message delivery
ng0 [Thu, 28 Feb 2019 18:02:06 +0000 (18:02 +0000)]
chmod -x for src/util/gnunet-qr.py, fix warning pkgsrc throws
Florian Dold [Thu, 28 Feb 2019 17:28:23 +0000 (18:28 +0100)]
benchmark: update collect script
Florian Dold [Thu, 28 Feb 2019 17:13:49 +0000 (18:13 +0100)]
add bytes recv/sent to URL request benchmarking
Daniel Golle [Thu, 28 Feb 2019 15:23:40 +0000 (16:23 +0100)]
rest-plugins: include headers in dist sources
Daniel Golle [Thu, 28 Feb 2019 15:16:13 +0000 (16:16 +0100)]
reclaim: include reclaim.conf in dist sources
Daniel Golle [Thu, 28 Feb 2019 15:06:06 +0000 (16:06 +0100)]
reclaim-attribute: include header in dist sources
Christian Grothoff [Thu, 28 Feb 2019 15:09:13 +0000 (16:09 +0100)]
doppelt haelt nicht besser :-)
Christian Grothoff [Thu, 28 Feb 2019 15:06:57 +0000 (16:06 +0100)]
package credential.h
Christian Grothoff [Thu, 28 Feb 2019 15:03:21 +0000 (16:03 +0100)]
package gnunet_credential_service.h next time
Florian Dold [Thu, 28 Feb 2019 14:59:33 +0000 (15:59 +0100)]
add nonstring attribute to silence warning
Florian Dold [Thu, 28 Feb 2019 14:40:36 +0000 (15:40 +0100)]
Be explicit about truncation to silence warning.
Newer GCCs do not like truncation and emit a warning. We don't want to
disable truncation warnings (-Wnostringop-truncation), as in some cases
these warnings can point to a security flaw.
Using strcat instead of strncat is fine, since *both* equally overflow
the destination buffer if not used carefully.
See https://developers.redhat.com/blog/2018/05/24/detecting-string-truncation-with-gcc-8/
Schanzenbach, Martin [Thu, 28 Feb 2019 13:19:34 +0000 (14:19 +0100)]
fix dist for experimental
Schanzenbach, Martin [Thu, 28 Feb 2019 12:50:56 +0000 (13:50 +0100)]
add 0.11 formula for homebrew
Hartmut Goebel [Wed, 27 Feb 2019 21:00:44 +0000 (22:00 +0100)]
contrib/guix: Add guix-bug-notice to readme.
Hartmut Goebel [Wed, 27 Feb 2019 19:25:54 +0000 (20:25 +0100)]
contrib/guix: Cleanup guix environment files and README.
- move the docs contained in guix-env.scm to guix/README,
- change these docs to only use "--load-path=<gnunet.git>/contrib/guix"
and GUIX_PACKAGE_PATH,
- delete guix-env.scm and guix.packages.
Christian Grothoff [Thu, 28 Feb 2019 10:44:39 +0000 (11:44 +0100)]
add missing documentation files
Christian Grothoff [Thu, 28 Feb 2019 10:41:25 +0000 (11:41 +0100)]
disable clique test, fails for odd reasons
Christian Grothoff [Thu, 28 Feb 2019 10:00:19 +0000 (11:00 +0100)]
version bump, update ChangeLog, fix make dist
Julius Bünger [Thu, 28 Feb 2019 08:24:17 +0000 (09:24 +0100)]
RPS: Disable too happy writing to disk
Schanzenbach, Martin [Wed, 27 Feb 2019 21:15:30 +0000 (22:15 +0100)]
sanity checks
ng0 [Wed, 27 Feb 2019 18:09:27 +0000 (18:09 +0000)]
README: which in tests
ng0 [Wed, 27 Feb 2019 18:07:48 +0000 (18:07 +0000)]
README: point out where which(1) is found
Christian Grothoff [Wed, 27 Feb 2019 06:20:56 +0000 (07:20 +0100)]
do not forget to NULL reconnect_task
Christian Grothoff [Wed, 27 Feb 2019 06:12:32 +0000 (07:12 +0100)]
fix missing NBO conversions
Christian Grothoff [Tue, 26 Feb 2019 19:08:17 +0000 (20:08 +0100)]
improve future calculations if messages are skipped in unreliable in-order channels
ng0 [Tue, 26 Feb 2019 18:49:17 +0000 (18:49 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 18:49:06 +0000 (18:49 +0000)]
gnunet-qr.py: align help with reality
Schanzenbach, Martin [Tue, 26 Feb 2019 18:12:08 +0000 (19:12 +0100)]
check for ACKed MID
ng0 [Tue, 26 Feb 2019 18:10:55 +0000 (18:10 +0000)]
No future
ng0 [Tue, 26 Feb 2019 18:10:27 +0000 (18:10 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 18:10:11 +0000 (18:10 +0000)]
gnunet-qr.py: back from the future
Schanzenbach, Martin [Tue, 26 Feb 2019 17:16:25 +0000 (18:16 +0100)]
try fix #5597
ng0 [Tue, 26 Feb 2019 17:15:21 +0000 (17:15 +0000)]
README: python2.7 modules optional but required for gnunet-qr
ng0 [Tue, 26 Feb 2019 17:14:24 +0000 (17:14 +0000)]
README: clarify that ONLY python2.7 is supported for gnunet-qr
ng0 [Tue, 26 Feb 2019 17:00:07 +0000 (17:00 +0000)]
make lint happy
ng0 [Tue, 26 Feb 2019 16:46:43 +0000 (16:46 +0000)]
gnunet-qr: If we error out before, we don't need to error again. This should fix the error message in the wrong place
ng0 [Tue, 26 Feb 2019 15:43:50 +0000 (15:43 +0000)]
Fix syntax error in gnunet-qr. We can not handle this exception. Just read the README.
ng0 [Tue, 26 Feb 2019 15:26:40 +0000 (15:26 +0000)]
fix #5611?
Julius Bünger [Tue, 26 Feb 2019 15:13:21 +0000 (16:13 +0100)]
RPS: NULL out cadet port after closing
Christian Grothoff [Tue, 26 Feb 2019 14:44:30 +0000 (15:44 +0100)]
fix transport API fix, make sure we do not stay at CT_NONE for core clients
Julius Bünger [Tue, 26 Feb 2019 14:35:19 +0000 (15:35 +0100)]
RPS: Cast to int32_t instead of uint32_t
Julius Bünger [Tue, 26 Feb 2019 13:39:04 +0000 (14:39 +0100)]
RPS: Fix non-int array subscript
Julius Bünger [Tue, 26 Feb 2019 12:49:28 +0000 (13:49 +0100)]
RPS: Fix checking of properties for peer removal
Julius Bünger [Tue, 26 Feb 2019 12:40:54 +0000 (13:40 +0100)]
RPS: Track delta expected - received pushes w. statistics, style
ng0 [Tue, 26 Feb 2019 11:40:57 +0000 (11:40 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 11:40:45 +0000 (11:40 +0000)]
since most of my work happens as ng0 anyway
Julius Bünger [Tue, 26 Feb 2019 11:38:12 +0000 (12:38 +0100)]
RPS: Do not consider unexpected pull replies as protocol violation
Julius Bünger [Tue, 26 Feb 2019 11:36:13 +0000 (12:36 +0100)]
RPS: Track expected number of pushes w. statistics
ng0 [Tue, 26 Feb 2019 11:32:46 +0000 (11:32 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 11:32:32 +0000 (11:32 +0000)]
doc/man: sed the sysconfdir in gnunet.conf.5
Christian Grothoff [Tue, 26 Feb 2019 11:26:37 +0000 (12:26 +0100)]
possible fix for transport client state machine issue found in RPS profiler
ng0 [Tue, 26 Feb 2019 11:00:39 +0000 (11:00 +0000)]
gnunet-qr.py: More verbose information about required packages
Christian Grothoff [Tue, 26 Feb 2019 10:52:00 +0000 (11:52 +0100)]
create more specific FC warning
ng0 [Tue, 26 Feb 2019 10:48:32 +0000 (10:48 +0000)]
Add test for future in gnunet-qr.py. pylint will probably scream, but this should satisfy safety checks
ng0 [Tue, 26 Feb 2019 09:24:22 +0000 (09:24 +0000)]
src/util: Add gnunet-qr to cleanfiles
ng0 [Tue, 26 Feb 2019 09:00:13 +0000 (09:00 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 08:59:43 +0000 (08:59 +0000)]
fix
Christian Grothoff [Tue, 26 Feb 2019 08:54:21 +0000 (09:54 +0100)]
unset XDG vars
Christian Grothoff [Tue, 26 Feb 2019 08:39:07 +0000 (09:39 +0100)]
avoid bogus reconnect message
ng0 [Tue, 26 Feb 2019 08:36:07 +0000 (08:36 +0000)]
Merge branch 'master' of gnunet.org:gnunet
ng0 [Tue, 26 Feb 2019 08:35:45 +0000 (08:35 +0000)]
Proposed fix for https://bugs.gnunet.org/view.php?id=5611
Christian Grothoff [Tue, 26 Feb 2019 08:25:04 +0000 (09:25 +0100)]
fix profiler crash on bad startup
Christian Grothoff [Tue, 26 Feb 2019 08:08:21 +0000 (09:08 +0100)]
fix /tmp/rps directory creation, fix linkage, DCE
Christian Grothoff [Mon, 25 Feb 2019 22:10:16 +0000 (23:10 +0100)]
do not crash all the time in to_file()
Christian Grothoff [Mon, 25 Feb 2019 21:04:04 +0000 (22:04 +0100)]
fix #5608
Christian Grothoff [Mon, 25 Feb 2019 20:42:37 +0000 (21:42 +0100)]
style fixes during debugging
Christian Grothoff [Mon, 25 Feb 2019 20:19:53 +0000 (21:19 +0100)]
improve logging
Julius Bünger [Mon, 25 Feb 2019 19:36:44 +0000 (20:36 +0100)]
RPS sampler: An id might be removed while a request is still pending
Julius Bünger [Mon, 25 Feb 2019 18:41:04 +0000 (19:41 +0100)]
RPS: Change way some numbers are written to files
Julius Bünger [Mon, 25 Feb 2019 15:26:24 +0000 (16:26 +0100)]
RPS: Use correct number of logging blocking statistics
Julius Bünger [Mon, 25 Feb 2019 12:55:18 +0000 (13:55 +0100)]
RPS profiler: Assert statistics handle non-NULL
ng0 [Mon, 25 Feb 2019 01:43:36 +0000 (01:43 +0000)]
README clarifications
ng0 [Mon, 25 Feb 2019 01:35:57 +0000 (01:35 +0000)]
Merge branch 'master' of gnunet.org:gnunet