aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2023-01-18 10:07:43 +0100
committert3sserakt <t3ss@posteo.de>2023-01-18 10:07:43 +0100
commitde50c9a2d090008afe835b09e5697ec07e08e51c (patch)
tree22ecea674adbaaf5e777b4d6e5be951551673c95
parent9d6ace0b9d6eae42eecaca542ae62ac30de589f8 (diff)
parent6b56928ab52b29e4302ce2cbcc1feaa9b0ebd126 (diff)
downloadgnunet-de50c9a2d090008afe835b09e5697ec07e08e51c.tar.gz
gnunet-de50c9a2d090008afe835b09e5697ec07e08e51c.zip
Merge branch 'master' of ssh://git.gnunet.org/gnunet
-rw-r--r--.gitignore2
-rw-r--r--ChangeLog2318
-rw-r--r--NEWS3
-rwxr-xr-xbin/pogen.sh2
-rwxr-xr-xbootstrap11
-rwxr-xr-xcontrib/conf/commit-msg34
-rwxr-xr-xcontrib/conf/prepare-commit-msg39
m---------contrib/gana0
-rwxr-xr-xcontrib/get_version.sh2
-rwxr-xr-xcontrib/scripts/changelog_delta.sh18
-rwxr-xr-xcontrib/scripts/news_delta.sh6
-rw-r--r--contrib/scripts/update_changelog.sh10
-rw-r--r--contrib/scripts/update_news.sh15
m---------contrib/sphinx0
-rw-r--r--debian/changelog16
-rw-r--r--debian/gnunet.install1
-rw-r--r--gnunet_private_config.h.in741
-rw-r--r--src/include/gnunet_common.h2
-rw-r--r--src/include/gnunet_mysql_compat.h8
-rw-r--r--src/pq/pq.h5
-rw-r--r--src/pq/pq_event.c10
-rw-r--r--src/rest/gnunet-rest-server.c4
-rw-r--r--src/testing/testing_api_loop.c47
-rw-r--r--src/util/bio.c47
-rw-r--r--src/util/test_bio.c199
25 files changed, 320 insertions, 3220 deletions
diff --git a/.gitignore b/.gitignore
index 56bc7585e..8ac75efce 100644
--- a/.gitignore
+++ b/.gitignore
@@ -82,3 +82,5 @@ CMakeFiles.txt
82# Prevent cache files from IDEA from being commited 82# Prevent cache files from IDEA from being commited
83.idea/ 83.idea/
84src/util/test_child_management 84src/util/test_child_management
85gnunet_config.h
86gnunet_config.h.in
diff --git a/ChangeLog b/ChangeLog
deleted file mode 100644
index 9e180d324..000000000
--- a/ChangeLog
+++ /dev/null
@@ -1,2318 +0,0 @@
1Sat, 7 Jan 2023 11:17:07 +0900 (e9bc4c898)
2PO: Update for recent changes
3
4by: Martin Schanzenbach
5
6Sat, 7 Jan 2023 11:16:29 +0900 (d608fc49e)
7REGEX: Fix tests missing link against libgnunetstatistics
8
9by: Martin Schanzenbach
10
11Sat, 7 Jan 2023 11:03:25 +0900 (460566764)
12TESTING: Fix shebang in netjail scripts
13Bashisms are used in netjail scripts for better or worse.
14But the sheband /bin/sh was wrong to use in that case.
15
16by: Martin Schanzenbach
17
18Thu, 5 Jan 2023 22:54:21 +0900 (d9f74f175)
19DOC: Add messenger man page. Fixes #7543
20
21by: Martin Schanzenbach
22
23Thu, 5 Jan 2023 22:40:08 +0900 (7c22b60b9)
24DOC: Add long overdue DHT man pages.
25
26by: Martin Schanzenbach
27
28Thu, 5 Jan 2023 22:00:36 +0900 (246c58548)
29PEERSTORE: Stop installing gnunet-peerstore binary that does not do anything.
30
31by: Martin Schanzenbach
32
33Thu, 5 Jan 2023 21:56:50 +0900 (d80b32753)
34DOC: Add gnunet-did manpage. Issue #7543
35
36by: Martin Schanzenbach
37
38Thu, 5 Jan 2023 21:33:47 +0900 (cff555170)
39GNS: Add a BCD service configuration for ARM as it now lives under libexec.
40
41by: Martin Schanzenbach
42
43Thu, 5 Jan 2023 21:33:17 +0900 (42d251fad)
44DOC: Install gnunet-testing manpage.
45
46by: Martin Schanzenbach
47
48Thu, 5 Jan 2023 21:14:48 +0900 (bda28efd1)
49BUILD: Properly set installation directories for gnunet-suidfix and gnunet-bcd
50
51by: Martin Schanzenbach
52
53Thu, 5 Jan 2023 19:50:11 +0900 (8240cf210)
54DOC: Update to most recent handbook
55
56by: Martin Schanzenbach
57
58Thu, 5 Jan 2023 19:28:38 +0900 (9ed8f3c08)
59REGEX: Do not link internal libraries into .las
60Instead, actually include the source files in SOURCES.
61This may result in longer compile times, but it makes more sense to the linker.
62
63by: Martin Schanzenbach
64
65Thu, 5 Jan 2023 18:06:20 +0900 (22c86ff0d)
66BUILD: gnunet-suidfix into libexec
67
68by: Martin Schanzenbach
69
70Thu, 5 Jan 2023 18:05:54 +0900 (a5f1827ba)
71BUILD: Clean documentation before rebuilding from bootstrap
72
73by: Martin Schanzenbach
74
75Thu, 5 Jan 2023 17:26:29 +0900 (4184e030e)
76BUILD: Move undocumented programs and scritps to libexec. Issue #7543
77Those binaries should not really be called directly and are poorly
78documented (no man pages).
79
80by: Martin Schanzenbach
81
82Thu, 5 Jan 2023 13:17:59 +0900 (6f88d7b83)
83REGEX: Fix build with recent llvm/clang. Fixes #7550
84Patch by Bo98 on github:
85https://github.com/Homebrew/homebrew-core/pull/113789#issuecomment-1288125182
86
87Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
88
89by: Martin Schanzenbach
90
91Fri, 30 Dec 2022 19:24:58 +0900 (2a7d977ee)
92DOC: Update handbook and properly reset on bootstrap
93
94by: Martin Schanzenbach
95
96Fri, 30 Dec 2022 19:17:32 +0900 (37a3445a3)
97DIST: Do not install legacy icons
98
99by: Martin Schanzenbach
100
101Mon, 26 Dec 2022 14:41:09 +0100 (05fef7b53)
102DHT: call try_connect also on already connected peers, just in case address changed
103
104by: Christian Grothoff
105
106Mon, 26 Dec 2022 14:03:27 +0100 (cc41a24c5)
107DHT: adjust BF size to actual neighbour set size
108
109by: Christian Grothoff
110
111Sat, 10 Dec 2022 16:00:56 +0900 (52d0d0914)
112GNS: Do not autogenerate flags
113
114by: Martin Schanzenbach
115
116Fri, 9 Dec 2022 23:54:05 +0900 (7e725a7a8)
117TESTING: Fix NP deref
118
119by: Martin Schanzenbach
120
121Fri, 9 Dec 2022 14:06:20 +0900 (5357758fd)
122TESTING: Various notes on API
123
124by: Martin Schanzenbach
125
126Fri, 9 Dec 2022 12:07:26 +0900 (4f46e2f2e)
127TESTING: Fix TESTING-NG API to follow naming conventions
128Rename structs and functions to follow GNUnet naming conventions.
129Some structs may actually also be private, a review is necessary.
130The barrier API was modified in order to untangle Barriers and
131lists of Barriers.
132This is a rough draft, it needs fixes wrt memory leaks.
133
134by: Martin Schanzenbach
135
136Fri, 9 Dec 2022 10:40:56 +0900 (1b3f6f366)
137UTIL: Fix regression regarding C++ compatibility
138
139by: Martin Schanzenbach
140
141Thu, 8 Dec 2022 20:51:35 +0900 (7768a7a75)
142TESTING: Sanitize API. Add new GNUNET_TESTING_command_new API
143This commit changes the label member of GNUNET_TRANSPORT_Command to a
144static, fixed length buffer allocated with the struct itself.
145The check for the end of a command array should be done by checking the
146run command instead of the label.
147
148by: Martin Schanzenbach
149
150Thu, 8 Dec 2022 17:52:42 +0900 (1029772b3)
151TESTING: Properly handle label allocations
152
153by: Martin Schanzenbach
154
155Thu, 8 Dec 2022 17:30:22 +0900 (5c4b06071)
156TESTING: The testing API should properly take strings as const
157Strings passed to the API should either be const and copied, or handled
158by the caller and free'd. Looking at the transport tests currently
159neither is happening. The strings are probably safer but definitely
160leaked.
161Changed the API to use "const" strings. Users of the testing API must
162define functions that copy (and free!) strings accordingly.
163
164by: Martin Schanzenbach
165
166Thu, 8 Dec 2022 15:37:43 +0900 (2d257589d)
167BUILD: Add functionality to generate changes in plain text and HTML
168
169by: Martin Schanzenbach
170
171Thu, 8 Dec 2022 15:11:49 +0900 (3889a387e)
172BUILD: Add some helper scripts for release maintenance
173
174by: Martin Schanzenbach
175
176Tue, 6 Dec 2022 22:41:18 +0900 (6bebc94d2)
177BUILD: Remove unused header from pkgconfig directory.
178
179by: Martin Schanzenbach
180
181Mon, 5 Dec 2022 16:59:52 +0900 (1d670b15e)
182BUILD: include generated major/minor/micro version in gnunet_config.h - Martin Schanzenbach
183
184Mon, 5 Dec 2022 13:15:09 +0900 (6ccf51adc)
185BUILD: Improve extractor handling. Removed platform.h from include - Martin Schanzenbach
186
187Sun, 4 Dec 2022 23:26:25 +0900 (395bc9345)
188Large refactor in order to restore some sanity with respect to private defines used in headers - Martin Schanzenbach
189
190Sun, 4 Dec 2022 22:01:23 +0900 (3f0d91045)
191BUILD: Remove static_assert check - Martin Schanzenbach
192
193Sun, 4 Dec 2022 21:53:26 +0900 (a0914a0ad)
194MYSQL: Improve header includes with respect to compat handling - Martin Schanzenbach
195
196Sun, 4 Dec 2022 19:35:42 +0900 (38e77d7ab)
197UTIL: Allow only inlcusion of util glib-style. - Martin Schanzenbach
198
199Sun, 4 Dec 2022 16:47:17 +0900 (292cefa2a)
200BUILD: Attempt to disentable platform.h, gnunet_common.h and gnunet_private_config.h insanity - Martin Schanzenbach
201
202Sun, 4 Dec 2022 15:01:11 +0900 (cbe225ddc)
203BUILD: Move gnunet_config.h to gnunet_private_config.h and add new, partially generated gnunet_config.h - Martin Schanzenbach
204
205Thu, 1 Dec 2022 18:32:23 +0900 (de5949640)
206BUILD: Improve platform-specific includes - Martin Schanzenbach
207
208Wed, 23 Nov 2022 13:12:37 +0100 (7922fe165)
209typo - Christian Grothoff
210
211Wed, 23 Nov 2022 13:10:07 +0100 (28a4f4e5d)
212add function to compute channel name for notifications - Christian Grothoff
213
214Tue, 22 Nov 2022 15:38:22 +0100 (bf175e5d2)
215modernize datastore postgres implementation - Christian Grothoff
216
217Tue, 22 Nov 2022 15:21:50 +0100 (5ffa64ed1)
218modernize namecache postgres implementation - Christian Grothoff
219
220Tue, 22 Nov 2022 15:15:53 +0100 (7299f45d9)
221modernize datacache postgres implementation - Christian Grothoff
222
223Mon, 21 Nov 2022 17:08:39 +0100 (d237b33a4)
224modernize namestore postgres plugin, a bit - Christian Grothoff
225
226Sun, 20 Nov 2022 20:27:49 +0900 (9ee83b68e)
227NAMESTORE: Add recordline format for zone import and display - Martin Schanzenbach
228
229Sun, 20 Nov 2022 19:51:03 +0900 (56a3e354d)
230NAMESTORE: CLI utility can now parse multiple records from stdin - Martin Schanzenbach
231
232Wed, 16 Nov 2022 13:57:32 +0100 (e97190eb7)
233add versioning.sql - Christian Grothoff
234
235Thu, 10 Nov 2022 13:54:58 +0900 (4775f9e5e)
236GNS: Use flags as defined and generated from GANA - Martin Schanzenbach
237
238Sun, 6 Nov 2022 22:32:17 +0900 (bc3d776dd)
239IPC: Convert all message payload lengths to uint16_t types. - Martin Schanzenbach
240
241Sat, 5 Nov 2022 08:41:36 +0900 (e22c4a47f)
242RECLAIM: Fix length field inconsistencies in IPC protocol. Issue #7432 - Martin Schanzenbach
243
244Fri, 4 Nov 2022 11:18:46 +0100 (145a04e3a)
245update GANA - Christian Grothoff
246
247Sat, 29 Oct 2022 18:06:26 +0900 (0f2da4636)
248IDENTITY - Martin Schanzenbach
249
250Thu, 27 Oct 2022 23:24:27 +0900 (8ccba14bb)
251IDENTITY/NAMESTORE: - Martin Schanzenbach
252
253Thu, 27 Oct 2022 11:37:36 +0200 (aac2f0a62)
254actually, do both in case of ANY: datacache and HELLO - Christian Grothoff
255
256Thu, 27 Oct 2022 11:33:59 +0200 (2b86b51b1)
257disallow ANY for block type in PUTs; do return HELLOs for ANY in GET requests (see recent clarifications to R5N specification) - Christian Grothoff
258
259Wed, 26 Oct 2022 12:37:13 +0200 (d435321cf)
260gana to master - Christian Grothoff
261
262Mon, 24 Oct 2022 19:58:32 +0100 (3f89ededb)
263[fs] Print error code - madmurphy
264
265Mon, 24 Oct 2022 18:21:14 +0900 (6e874ef92)
266NAMESTORE: Allow to purge/recover orphans using CLI. Do not handle orphans in service - Martin Schanzenbach
267
268Sun, 23 Oct 2022 15:08:57 +0900 (ee99cbfa6)
269update submodules - Martin Schanzenbach
270
271Sun, 23 Oct 2022 15:00:54 +0900 (bb81464ed)
272NAMESTORE: Introduce GANA-managed error codes - Martin Schanzenbach
273
274Sat, 22 Oct 2022 12:22:00 +0900 (ce203bca7)
275RECLAIM: Update manpage for gnunet-reclaim - Martin Schanzenbach
276
277Thu, 20 Oct 2022 17:01:48 +0900 (64aefd7b6)
278ZONEMASTER: Use parallel worker thread for GNS block signing - Martin Schanzenbach
279
280Wed, 19 Oct 2022 22:56:22 +0900 (3683f556d)
281GNS: Make string formats more comaptible with DNS zonefiles - Martin Schanzenbach
282
283Wed, 19 Oct 2022 21:33:50 +0900 (89fed7a08)
284NAMESTORE: Start parser for DNS zonefiles - Martin Schanzenbach
285
286Wed, 19 Oct 2022 15:10:07 +0900 (1cb34e96b)
287NAMESTORE: Add records_lookup2 API for filtering and update REST API with filter functionality - Martin Schanzenbach
288
289Tue, 18 Oct 2022 21:24:09 +0200 (f0b91ff6c)
290fix #7374 - Christian Grothoff
291
292Wed, 19 Oct 2022 00:17:15 +0900 (282b9d369)
293NAMESTORE: Do not return orphaned zones to clients. Issue #7201 - Martin Schanzenbach
294
295Tue, 18 Oct 2022 15:30:28 +0900 (37f81821b)
296ZONEMASTER: Merge monitor into zonemaster process - Martin Schanzenbach
297
298Sun, 16 Oct 2022 18:09:48 +0900 (4ca81ff1a)
299PACKAGES: Update fedora configurations and scripts - Martin Schanzenbach
300
301Sat, 3 Sep 2022 20:45:51 +0100 (bd83912f4)
302DOC: Reconfigured Doxygen HTML output to improve navigability - Willow Liquorice
303
304Thu, 6 Oct 2022 16:35:26 +0900 (1e4cb697e)
305NAMESTORE: Bulk insert API now properly handles message length restriction - Martin Schanzenbach
306
307Tue, 4 Oct 2022 22:52:34 +0900 (e2cb3bd74)
308DOC: Update GANA - Martin Schanzenbach
309
310Tue, 4 Oct 2022 22:43:22 +0900 (1741ddcf5)
311NAMESTORE: Massaging new bulk API - Martin Schanzenbach
312
313Tue, 4 Oct 2022 20:31:16 +0900 (4aeb9686f)
314NAMESTORE: Move Namecache block refresh into zonemonitor - Martin Schanzenbach
315
316Tue, 4 Oct 2022 09:50:30 +0900 (1d28c7e16)
317NAMESTORE: Improve tests; fix reset/init bug - Martin Schanzenbach
318
319Mon, 3 Oct 2022 23:49:58 +0900 (a75505815)
320NAMESTORE: Add performance tests for bulk import/tx - Martin Schanzenbach
321
322Mon, 3 Oct 2022 20:50:53 +0900 (4be1619e0)
323NAMESTORE: Make bulk and transactional API consistent with monitoring - Martin Schanzenbach
324
325Mon, 3 Oct 2022 13:32:18 +0900 (74ba73f5d)
326NAMESTORE: Roll back on client disconnect - Martin Schanzenbach
327
328Mon, 3 Oct 2022 13:23:35 +0900 (e891aa916)
329NAMESTORE: Bulk store API and fix for delayed store activities - Martin Schanzenbach
330
331Sat, 3 Sep 2022 20:45:51 +0100 (bd83912f4)
332DOC: Reconfigured Doxygen HTML output to improve navigability - Willow Liquorice
333
334Sun, 2 Oct 2022 11:48:10 +0900 (4611664be)
335DOC: Back to info_TEXINFOS - Martin Schanzenbach
336
337Sat, 1 Oct 2022 22:55:32 +0900 (995778685)
338BUILD: Clean up build and submodules - Martin Schanzenbach
339
340Sat, 1 Oct 2022 22:55:09 +0900 (56d347ae7)
341GANA: Update submodule - Martin Schanzenbach
342
343Sat, 1 Oct 2022 16:27:59 +0900 (5d6900718)
344DOC: Manpage cleanup - Martin Schanzenbach
345
346Sat, 1 Oct 2022 00:05:04 +0900 (6021469a1)
347NAMESTORE: Add manpage for new database CLI - Martin Schanzenbach
348
349Fri, 30 Sep 2022 19:18:40 +0900 (51b6cf4d3)
350NAMESTORE: Add postgres functions for DB setup utility - Martin Schanzenbach
351
352Fri, 30 Sep 2022 17:36:52 +0900 (c3eca4a0a)
353NAMESTORE: Add DB setup utility with SQlite support; PQ broken - Martin Schanzenbach
354
355Fri, 30 Sep 2022 08:20:49 +0100 (003cc0ea2)
356[history] Mark old logos in `contrib/branding/logo/` as `old-` and add svg - madmurphy
357
358Thu, 29 Sep 2022 14:06:42 +0900 (c31abdb6d)
359UTIL: gnunet-config can now print experimental status. Issue #5708 - Martin Schanzenbach
360
361Thu, 29 Sep 2022 13:45:02 +0900 (f7a9e4199)
362BUILD: Fix mysql detection issue #7356 - Martin Schanzenbach
363
364Wed, 28 Sep 2022 14:05:01 +0900 (3ec2b451f)
365NAMESTORE: Allow service-side record set filtering. Fixes #7193 - Martin Schanzenbach
366
367Tue, 27 Sep 2022 11:26:06 +0900 (a3c972882)
368BUILD: Improve documentation build - Martin Schanzenbach
369
370Tue, 27 Sep 2022 11:01:08 +0900 (3d7a01259)
371BUILD: Do not build whole documentation if manpages are also enabled - Martin Schanzenbach
372
373Mon, 26 Sep 2022 22:24:17 +0100 (227727ee4)
374Arch packages don't depend anymore on gnURL - madmurphy
375
376Mon, 26 Sep 2022 21:00:11 +0900 (d56728566)
377BUILD: Silence some -Wall warnings - Martin Schanzenbach
378
379Mon, 26 Sep 2022 20:50:36 +0900 (6d019f05f)
380NAMESTORE: Fix API return value - Martin Schanzenbach
381
382Mon, 26 Sep 2022 09:53:54 +0200 (dadd71c73)
383updating Debian package - Christian Grothoff
384
385Mon, 26 Sep 2022 00:08:32 +0900 (4bfdbabb8)
386BUILD: Wow, automake is sh*t - Martin Schanzenbach
387
388Sun, 25 Sep 2022 22:15:05 +0900 (10f582fe6)
389GANA: Bump version - Martin Schanzenbach
390
391Sun, 25 Sep 2022 21:35:32 +0900 (82a7bd8af)
392DOC: Conditionally build doxygen; build sphinx on bootstrap - Martin Schanzenbach
393
394Sun, 25 Sep 2022 09:05:16 +0100 (f66919668)
395[gnunet-search] Fix `-s` and `-o` options not working together - madmurphy
396
397Sat, 24 Sep 2022 18:04:56 +0900 (7a2a6471d)
398NAMESTORE: Fix error handling for lookups - Martin Schanzenbach
399
400Fri, 23 Sep 2022 16:39:21 +0900 (e0e36b6fe)
401NAMESTORE: Towards proper transactional locks - Martin Schanzenbach
402
403Fri, 23 Sep 2022 14:57:57 +0900 (7678d77b1)
404NAMESTORE: Add select ... for update / edit records APIs - Martin Schanzenbach
405
406Fri, 23 Sep 2022 12:59:28 +0900 (e238c132f)
407NAMESTORE: Add tx API for postgres - Martin Schanzenbach
408
409Fri, 23 Sep 2022 12:51:00 +0900 (764871dcb)
410NAMESTORE: Remove head based database - Martin Schanzenbach
411
412Fri, 23 Sep 2022 12:44:45 +0900 (52babbd64)
413NAMESTORE: Add begin, commit and rollback API messages - Martin Schanzenbach
414
415Fri, 23 Sep 2022 01:06:59 +0900 (127ad07a3)
416NAMESTORE: Use a per client database connection - Martin Schanzenbach
417
418Fri, 23 Sep 2022 01:05:53 +0900 (d78b7864d)
419NAMESTORE: Fix existing monitoring test race condition - Martin Schanzenbach
420
421Thu, 22 Sep 2022 00:22:30 +0900 (49d5c4da4)
422NAMESTORE: Remove unneeded functions and renames. - Martin Schanzenbach
423
424Thu, 22 Sep 2022 00:13:52 +0900 (e1d8213bb)
425NAMESTORE: Start transactional API - Martin Schanzenbach
426
427Thu, 22 Sep 2022 00:30:24 +0900 (c50fba92d)
428UTIL: Remove outdated test. Fixes #7361 - Martin Schanzenbach
429
430Thu, 8 Sep 2022 23:52:57 +0200 (5ab4d4a54)
431DOC: Update - Martin Schanzenbach
432
433Thu, 8 Sep 2022 22:17:34 +0200 (9ee1ef3d5)
434REST: Implement basic authentication for per user service. Fixes #5669 - Martin Schanzenbach
435
436Tue, 6 Sep 2022 12:34:39 +0200 (afea0eea1)
437BUILD: Remove gnurl. Improve curl-gnutls detection - Martin Schanzenbach
438
439Fri, 2 Sep 2022 13:20:37 +0200 (794266c3c)
440GNS: Update deprecated cURL constant - Martin Schanzenbach
441
442Wed, 31 Aug 2022 18:07:56 +0200 (a964469a9)
443DID: change method name - Martin Schanzenbach
444
445Wed, 29 Dec 2021 14:56:24 +0100 (821db736f)
446fix bugs - Tristan Schwieren
447
448Fri, 26 Nov 2021 14:05:12 +0100 (25481cc07)
449remove binary - Martin Schanzenbach
450
451Fri, 19 Nov 2021 10:46:02 +0100 (841bf3572)
452DID:Initial commit - Martin Schanzenbach
453
454Fri, 26 Nov 2021 14:05:12 +0100 (bcaf1b1f0)
455remove binary - Martin Schanzenbach
456
457Fri, 19 Nov 2021 10:46:02 +0100 (8685ef460)
458DID:Initial commit - Tristan Schwieren
459
460Thu, 25 Aug 2022 13:56:11 +0200 (567469d45)
461double-check GP/PP are fine - Christian Grothoff
462
463Thu, 25 Aug 2022 13:28:44 +0200 (209277b43)
464separator change - Christian Grothoff
465
466Sun, 21 Aug 2022 23:58:13 +0200 (a53dce1f8)
467fix Bernd's signature violation discovery - Christian Grothoff
468
469Sun, 21 Aug 2022 23:57:19 +0200 (e23e49cac)
470check for GNU parallel - Christian Grothoff
471
472Sun, 12 Jun 2022 20:30:40 +0100 (cc738d28d)
473DOC: Initial work in CADET towards removing redundant doc comments. - Martin Schanzenbach
474
475Thu, 9 Jun 2022 19:22:07 +0100 (9a0de6543)
476DOC: Major doxygen organisation work, upgraded config, updated logo - Martin Schanzenbach
477
478Sun, 5 Jun 2022 00:31:58 +0100 (fd716c71a)
479DOC: Nesting doxygen groups to improve high-level organisation of source docs. - Martin Schanzenbach
480
481Thu, 18 Aug 2022 19:00:12 +0200 (5a8b9a11a)
482only 16 bit for options - Christian Grothoff
483
484Mon, 15 Aug 2022 12:19:49 +0200 (69844eacf)
485add JSON routines for base64 encoded values - Christian Grothoff
486
487Thu, 11 Aug 2022 08:06:28 +0200 (460f0d77b)
488DOC: Fix dist missing makefile - Martin Schanzenbach
489
490Sat, 6 Aug 2022 01:30:48 +0200 (18e758f51)
491Update `contrib/Makefile.am` - madmurphy
492
493Sat, 6 Aug 2022 01:19:17 +0200 (0e6d7fcd8)
494[contrib/] Update non-git Arch package (new deps: `python-sphinx` and `python-sphinx_rtd_theme`) - madmurphy
495
496Fri, 5 Aug 2022 03:55:24 +0200 (8582b511a)
497[contrib] Update `contrib/packages/arch/gnunet-git/.SRCINFO` - madmurphy
498
499Fri, 5 Aug 2022 03:46:15 +0200 (c3eb83195)
500[contrib] Enable the `gnunet://` URI scheme handler by ensuring that `/usr/share/applications/gnunet-uri.desktop` is installed; add `python-sphinx` and `python-sphinx_rtd_theme` to the `$makedepends` array of `contrib/packages/arch/gnunet-git/PKGBUILD` - madmurphy
501
502Tue, 2 Aug 2022 20:20:02 +0200 (d7dde2880)
503TRANSPORT: Fix certtool detection. Fixes #7257 - Martin Schanzenbach
504
505Tue, 2 Aug 2022 17:25:41 +0200 (4fe567d9d)
506DOC: Move from texinfo to sphinx - Martin Schanzenbach
507
508Mon, 1 Aug 2022 10:55:59 +0200 (e8b7707f8)
509DHT: Swap signature and peer id fields in path element lsd0004 - Martin Schanzenbach
510
511Wed, 27 Jul 2022 17:37:42 +0200 (f6bce460a)
512GANA: Bump version - Martin Schanzenbach
513
514Wed, 27 Jul 2022 11:23:34 +0200 (d66036550)
515DOC: Update instructions on GNS integration and use - Martin Schanzenbach
516
517Sun, 24 Jul 2022 11:32:21 +0200 (233ec6111)
518enable non-numbered sql statement execution - Christian Grothoff
519
520Thu, 21 Jul 2022 12:30:22 +0200 (63802d724)
521do not crash if psql is interrupted with CTRL-C - Christian Grothoff
522
523Thu, 21 Jul 2022 11:33:18 +0200 (3e4b81055)
524fixed typo in salt - Özgür Kesim
525
526Sun, 17 Jul 2022 01:06:38 +0100 (ab55856a8)
527[contrib/] Dependency update in Arch packages - madmurphy
528
529Fri, 8 Jul 2022 14:55:01 +0200 (6a60c7d43)
530relative time is in nanoseconds, kill redundant _ms variant - Christian Grothoff
531
532Fri, 8 Jul 2022 14:37:03 +0200 (78cba4124)
533timestamps are in seconds, kill redundant _ms variant - Christian Grothoff
534
535Thu, 7 Jul 2022 20:29:24 +0200 (3abeb4555)
536implemented new DHT path signing with origin authentication - Christian Grothoff
537
538Thu, 7 Jul 2022 13:42:52 +0200 (2906241b6)
539major modification to datacache to store route options (and clean up the API) - Christian Grothoff
540
541Mon, 4 Jul 2022 14:11:57 +0200 (374e3cf6d)
542ABE: Remove unused attribute-based encryption component - Martin Schanzenbach
543
544Tue, 28 Jun 2022 21:31:29 +0200 (877f8e25c)
545make sure Debian packages created on Ubuntu 21+ still work with Debian reprepro: force Debian standard compression algorithm - Christian Grothoff
546
547Sat, 25 Jun 2022 14:02:01 +0200 (fa7f0a3a4)
548BF bugfix: include mutator in size - Christian Grothoff
549
550Wed, 22 Jun 2022 20:14:04 +0200 (84303b044)
551RECLAIM: Improve OIDC userinfo caching; add config option for timeout - Martin Schanzenbach
552
553Mon, 20 Jun 2022 14:24:44 +0200 (af154e9c5)
554package v0.17.1 for Debian - Christian Grothoff
555
556Sun, 19 Jun 2022 13:55:40 +0200 (71350f124)
557fix: htonl vs htons, thanks Bernd - Christian Grothoff
558
559Sun, 12 Jun 2022 15:50:22 +0100 (839640c0e)
560Restore lost quotes in `man gnunet-search` - madmurphy
561
562Sun, 12 Jun 2022 15:33:39 +0100 (22082c234)
563Add Arch packages - madmurphy
564
565Thu, 9 Jun 2022 18:17:52 +0200 (1da1632c4)
566log hash - Christian Grothoff
567
568Thu, 9 Jun 2022 11:49:32 +0200 (a87029a63)
569RECLAIM: Improve OIDC plugin; now requires jose (new optional dependency) - Martin Schanzenbach
570
571Tue, 31 May 2022 23:43:05 +0200 (edddc9384)
572protocol change: swap xquery and result filter, integrate mutator with result filter - Christian Grothoff
573
574Tue, 17 May 2022 10:00:25 +0200 (5fcabf87a)
575fix scheduler bug with same-priority immediately-ready tasks possibly hogging the scheduler - Christian Grothoff
576
577Sat, 14 May 2022 12:20:06 +0200 (b47e57809)
578BUILD: Change submodule handling, update gana - Martin Schanzenbach
579
580Thu, 12 May 2022 07:53:03 -0400 (69ac41f04)
581update contrib/gana to 5ada88d0d3e25587a1340cc35669c36f608a50db - Thien-Thi Nguyen
582
583Wed, 11 May 2022 05:15:34 -0400 (14464ed87)
584update submodule contrib/gana - Thien-Thi Nguyen
585
586Mon, 9 May 2022 10:49:46 +0200 (c42fd9b03)
587DHT: Move block type definitions to GANA - Martin Schanzenbach
588
589Mon, 9 May 2022 09:00:52 +0200 (2c589fcdf)
590FCFSD: Allow configuration of relative expiration time of added records - Martin Schanzenbach
591
592Tue, 26 Apr 2022 17:14:00 +0200 (132e09b6e)
593gnunet-crypto-tvg: edx25519 test vectors - Florian Dold
594
595Tue, 26 Apr 2022 17:13:36 +0200 (8d8e7d3da)
596edx25519: use SHA512/256 instead of SHA256 - Florian Dold
597
598Tue, 19 Apr 2022 14:53:07 +0200 (709e85100)
599edx25519: KDF call - Florian Dold
600
601Tue, 19 Apr 2022 14:43:30 +0200 (0487df9a0)
602edx25519: use libsodium, tweak KDF call - Florian Dold
603
604Sat, 9 Apr 2022 13:15:32 +0200 (25e750421)
605BUILD: Fix mysql detection as reported on ML - Martin Schanzenbach
606
607Tue, 5 Apr 2022 17:15:10 +0200 (2ea635b60)
608add flag to return 'not present' status from GNUNET_JSON_spec_mark_optional - Christian Grothoff
609
610Mon, 4 Apr 2022 22:49:41 +0200 (a15b424cb)
611UTIL: OpenBSD does not implement unsafe srandom - Martin Schanzenbach
612
613Mon, 4 Apr 2022 19:44:45 +0200 (aa3b3f27f)
614BUILD: Simplify mhd detection - Martin Schanzenbac
615
616Tue, 29 Mar 2022 10:11:15 +0200 (a9b18aa64)
617GNS: Do not fail on assertions in block processing - Martin Schanzenbach
618
619Sun, 27 Mar 2022 17:12:52 +0200 (ce38d1f6c)
620Edx25519 implemented - Özgür Kesim
621
622Sun, 27 Mar 2022 12:25:01 +0200 (1e4d62567)
623GNS: Sanitize APIs and align with LSD0001 - Martin Schanzenbach
624
625Sat, 26 Mar 2022 07:17:12 +0100 (e598ffe0a)
626add GNUNET_TIME_absolute_round_down() function - Christian Grothoff
627
628Fri, 25 Mar 2022 11:28:37 -0500 (c93cf9ae1)
629Remove bash-ism from get_version.sh - David Barksdale
630
631Mon, 21 Mar 2022 13:54:28 +0100 (4e95b59a6)
632NAMESTORE: Towards new transaction-based API - Martin Schanzenbach
633
634Mon, 21 Mar 2022 03:37:29 +0100 (ec8a825b0)
635add new approximate time cmp function - Christian Grothoff
636
637Fri, 18 Mar 2022 13:51:02 +0100 (4f3c8d098)
638configure.ac: use lo0 for the 3 listed BSD Systems. - Martin Schanzenbach
639
640Fri, 18 Mar 2022 08:52:01 +0100 (fcbabc6b6)
641GNS: Fix BOX handling in apex - Martin Schanzenbach
642
643Thu, 17 Mar 2022 23:24:19 +0100 (c37f01bc9)
644GNS: Fix BOX service port handling in NBO - Martin Schanzenbach
645
646Wed, 16 Mar 2022 18:53:22 +0100 (68ac68b70)
647NAMESTORE: Add record set blocking API - Martin Schanzenbach
648
649Tue, 15 Mar 2022 08:42:42 +0100 (cfd3db44a)
650NAMESTORE: Prevent storing records under invalid labels - Martin Schanzenbach
651
652Sat, 5 Mar 2022 08:58:51 +0100 (2087b149d)
653FS: Fix segfault in URI handling - Martin Schanzenbach
654
655Fri, 4 Mar 2022 23:40:34 +0100 (343177a0b)
656GNS: Fix including proxy test in make dist. Addresses issue #7182 - Martin Schanzenbach
657
658Fri, 4 Mar 2022 14:17:37 +0100 (0e6b1f4a2)
659NAMESTORE: Warn use of low relative expiration times - Martin Schanzenbach
660
661Thu, 3 Mar 2022 21:34:09 +0100 (0f0ff3785)
662NAMESTORE: Do not display label for TOMBSTONE only record sets - Martin Schanzenbach
663
664Thu, 3 Mar 2022 21:31:15 +0100 (64598c8fe)
665GNS: Fix publishing of private records - Martin Schanzenbach
666
667Mon, 28 Feb 2022 02:51:04 +0000 (8d9b10826)
668Add `contrib/get_version.sh` to `EXTRA_DIST` (for allowing to launch `autoreconf -i` with the released tarball, when necessary) - madmurphy
669
670Sun, 27 Feb 2022 20:54:49 +0100 (fd1d4df8f)
671BUILD: Allow boostrap when offline (if gana files exist) - Martin Schanzenbach
672
673Sat, 26 Feb 2022 23:26:33 +0100 (82d9ca012)
674BUILD: Detect missing libsodium. Fixes #7153 - Martin Schanzenbach
675
676Fri, 25 Feb 2022 00:46:09 +0100 (5e4cbb92b)
677add GNUNET_B2S() macro; fix dht_line_test: we sign over query_hash, not block key - Martin Schanzenbach
678
679Mon, 21 Feb 2022 00:11:28 +0100 (7bc5bb42a)
680fix #7173 - Christian Grothoff
681
682Sun, 20 Feb 2022 21:34:39 +0100 (3bda89642)
683add salt argument to GNUNET_CRYPTO_CS_r_derive() - Christian Grothoff
684
685Wed, 12 Jan 2022 20:42:34 +0100 (ac77d5f43)
686add new HELLO_URI block support to block plugin - Christian Grothoff
687
688Wed, 12 Jan 2022 14:34:56 +0100 (3e3081cfd)
689incomplete first hack of new hello-uri lib - Christian Grothoff
690
691Mon, 10 Jan 2022 21:51:53 +0100 (ba9296269)
692first steps towards usable dhtu - Christian Grothoff
693
694Fri, 18 Feb 2022 13:02:24 +0100 (a85bfe2fe)
695DOC: Fix error - Martin Schanzenbach
696
697Thu, 17 Feb 2022 12:53:23 +0100 (d4dffb077)
698DOC: Fixed git links in tutorial - Martin Schanzenbach
699
700Tue, 15 Feb 2022 14:37:56 +0100 (f72ffa1a9)
701GNS: Allow lowercase and uppercase - Martin Schanzenbach
702
703Tue, 15 Feb 2022 00:13:04 +0000 (839b4da34)
704Fix incorrect information in `contrib/xdg-scheme-handler/README` - madmurphy
705
706Tue, 15 Feb 2022 00:07:16 +0000 (679d390e4)
707`gnunet-search`: Reduce the help page and include Alessio's suggestions - madmurphy
708
709Mon, 14 Feb 2022 16:00:15 +0100 (336acc330)
710GNS/NAMESTORE: Fix GNS2DNS delegations - Martin Schanzenbach
711
712Mon, 14 Feb 2022 15:15:03 +0100 (6866469e6)
713UTIL: Fix DNS resolution - Martin Schanzenbach
714
715Mon, 14 Feb 2022 12:15:54 +0100 (8f7f4944a)
716GNS: Rename CNAME test; bugfix - Martin Schanzenbach
717
718Sat, 12 Feb 2022 20:18:16 +0000 (e94d71fdc)
719`man gnunet-search`: better layout for `--printf` examples - madmurphy
720
721Sat, 12 Feb 2022 18:14:33 +0000 (8c316d9dc)
722`man gnunet-search`: add `--printf` examples, update page date - madmurphy
723
724Fri, 11 Feb 2022 15:20:37 +0000 (c252554c5)
725`man gnunet-search`: not just quotes - madmurphy
726
727Fri, 11 Feb 2022 14:59:28 +0000 (b99f65d5e)
728`man gnunet-search`: general review (cont'd) - madmurphy
729
730Fri, 11 Feb 2022 03:20:27 +0000 (c4bd3744a)
731`man gnunet-search`: general review - madmurphy
732
733Fri, 11 Feb 2022 02:52:46 +0000 (0e04edc6b)
734`man gnunet-search`: note about libextractor - madmurphy
735
736Fri, 11 Feb 2022 02:45:23 +0000 (d267f384a)
737`man gnunet-search`: metatype string - madmurphy
738
739Fri, 11 Feb 2022 01:49:29 +0000 (55307d34d)
740`man gnunet-search`: update synopsis - madmurphy
741
742Fri, 11 Feb 2022 01:32:58 +0000 (3ce3d040f)
743First draft of updated man page for `gnunet-search` (to be reviewed) - madmurphy
744
745Thu, 10 Feb 2022 22:45:00 +0000 (9294003d1)
746Add missing information to `gnunet-search`'s help page - madmurphy
747
748Thu, 10 Feb 2022 22:24:56 +0000 (4b887d8a8)
749New version of `gnunet-search` is ready to be tested - madmurphy
750
751Thu, 10 Feb 2022 22:20:32 +0000 (82e288bca)
752Use `const` for `GNUNET_FS_file_information_get_filename()`'s only argument - madmurphy
753
754Thu, 10 Feb 2022 22:12:48 +0000 (99dcb607e)
755Add newline before help pages' footer - madmurphy
756
757Mon, 7 Feb 2022 15:59:04 +0100 (14b3c75ab)
758GNS: LSD0001 improvements - Martin Schanzenbach
759
760Sat, 5 Feb 2022 17:17:37 +0100 (aa85ac347)
761GNS: Add tombstone string processing; also handle tombstones in monitor properly - Martin Schanzenbach
762
763Sat, 5 Feb 2022 00:50:38 +0100 (ee865f851)
764GNS: Implement Tombstone logic - Martin Schanzenbach
765
766Thu, 3 Feb 2022 22:47:03 +0100 (f3eaf5dae)
767GNS: Move VPN to DNS2GNS. Fixes #7171 - Martin Schanzenbach
768
769Thu, 3 Feb 2022 18:44:40 +0100 (afd2cb5db)
770GNS: Introduce REDIRECT records. Fixes #7172 - Martin Schanzenbach
771
772Thu, 3 Feb 2022 18:12:10 +0100 (3d72be074)
773GNS: Introduce CRITICAL flag. Fixes #7169 - Martin Schanzenbach
774
775Thu, 3 Feb 2022 09:25:12 +0100 (112ef3796)
776GNS: Rework GNS block wire format - Martin Schanzenbach
777
778Tue, 1 Feb 2022 17:52:33 +0100 (4f07822ff)
779GNS: Fix context strings in key derivation according to LSD0001 - Martin Schanzenbach
780
781Tue, 1 Feb 2022 15:48:52 +0100 (816bab695)
782GNS: Fix revocation wire format - Martin Schanzenbach
783
784Wed, 26 Jan 2022 22:41:40 +0100 (e96a8d741)
785added CS test vectors - Gian Demarmels
786
787Thu, 20 Jan 2022 15:21:53 +0100 (856078f62)
788DOC: Update README and handbook for dependencies - Martin Schanzenbach
789
790Tue, 18 Jan 2022 14:05:12 +0100 (18bf1b905)
791UTIL: Add UTF-8 NFC test - Martin Schanzenbach
792
793Tue, 18 Jan 2022 11:05:41 +0100 (54554ca53)
794GNS: Towards NFC - Martin Schanzenbach
795
796Fri, 14 Jan 2022 18:42:27 +0100 (7e43ac554)
797RECLAIM: Add DIDs - trizuz - Martin Schanzenbach
798
799Mon, 10 Jan 2022 10:31:59 +0100 (8f8351c2d)
800add more information to ensure signatures are fresh and request-specific - Christian Grothoff
801
802Sun, 9 Jan 2022 12:22:04 +0100 (ec19c1e31)
803DHT: modify API and protocol messages to add path signatures, except for now the actual signatures are just placeholders (signing and signature verification are missing) - Christian Grothoff
804
805Tue, 4 Jan 2022 22:18:34 +0100 (d228a5859)
806BUILD: Make GANA generation mandatory for beetstrap. Requires recutils - Martin Schanzenbach
807
808Tue, 4 Jan 2022 15:53:29 +0100 (a5ca7d597)
809BUILD: gnunet-signatures from gana - Martin Schanzenbach
810
811Tue, 4 Jan 2022 15:37:21 +0100 (7b6e0eb4f)
812BUILD: Add gana gnunet-signatures; do not yet copy - Martin Schanzenbach
813
814Tue, 4 Jan 2022 15:23:22 +0100 (c5f6aafd6)
815BUILD: Add gana GNS TLDs - Martin Schanzenbach
816
817Tue, 4 Jan 2022 13:47:07 +0100 (8fc699d2a)
818BUILD: Add gana build target for easy updates of generated headers - Martin Schanzenbach
819
820Sun, 2 Jan 2022 14:53:35 +0100 (329f0458f)
821clean up am_closest_peer and other functions - Christian Grothoff
822
823Sun, 2 Jan 2022 13:10:25 +0100 (bb686c483)
824revise DHT hashing functions, add test logic - Christian Grothoff
825
826Wed, 29 Dec 2021 19:12:28 +0100 (daa928456)
827implement revised block API - Christian Grothoff
828
829Wed, 29 Dec 2021 00:11:40 +0100 (68b028c18)
830implement new block API for FS, fix FTBFS - Christian Grothoff
831
832Tue, 28 Dec 2021 23:39:36 +0100 (8d8976f00)
833revise block plugin design as per discussion with Martin today (only implemented for GNS) - Christian Grothoff
834
835Thu, 16 Dec 2021 18:13:21 +0100 (88fb1d89e)
836IDENTITY: Expose encryption based on identities on CLI - Martin Schanzenbach
837
838Tue, 21 Dec 2021 15:27:27 +0100 (ff714cca7)
839changed derive_secrets API - Gian Demarmels
840
841Mon, 20 Dec 2021 10:59:42 +0100 (ed65e2cac)
842BUILD: Kill build-common - Martin Schanzenbach
843
844Mon, 20 Dec 2021 10:23:14 +0100 (511058f7e)
845DOCUMENTATION: Fix link to tutorial - Martin Schanzenbach
846
847Thu, 16 Dec 2021 17:48:38 +0100 (4ec4cc9bd)
848fix GNUNET_PQ_result_spec_timestamp_nbo - Christian Grothoff
849
850Thu, 16 Dec 2021 12:51:02 +0100 (a062e1241)
851tolerate old style values (for now) - Christian Grothoff
852
853Wed, 15 Dec 2021 13:18:24 +0100 (8faf7660d)
854enable v10 backwards compatibility - Christian Grothoff
855
856Tue, 14 Dec 2021 15:59:07 +0100 (99779b455)
857introducing GNUNET_TIME_Timestamp - Christian Grothoff
858
859Mon, 6 Dec 2021 22:44:14 +0100 (67b56e366)
860add crypto_cs testing and benchmark - Lucien Heuzeveldt
861
862Mon, 6 Dec 2021 22:13:35 +0100 (2bcdfc2f9)
863add crypto_cs implementation - Lucien Heuzeveldt
864
865Mon, 6 Dec 2021 14:20:25 +0100 (1816cee64)
866fixed timeout for netjail tests, removed duplicated function declaration from header, using GNUNET_TESTING_get_trait_batch_cmds in loop, fixed tng service shutdown logic, added missing GNUNET_SERVICE_client_continue, changed default log level for udp backchannel test to debug - t3sserakt
867
868Mon, 6 Dec 2021 10:14:03 +0100 (7a7f3d5e0)
869propose barrier API - Christian Grothoff
870
871Mon, 6 Dec 2021 10:05:04 +0100 (41f26e067)
872propose barrier API - Christian Grothoff
873
874Mon, 6 Dec 2021 10:04:34 +0100 (a388fd600)
875propose barrier API - Christian Grothoff
876
877Sun, 5 Dec 2021 11:58:45 +0100 (2266d4614)
878add bool type to libgnunetpq - Christian Grothoff
879
880Fri, 3 Dec 2021 22:27:46 +0100 (f236a1f38)
881ABD: Fix build - Martin Schanzenbach
882
883Fri, 3 Dec 2021 18:22:15 +0100 (0d7bbcd3a)
884DHT: Update wire formats. - Martin Schanzenbach
885
886Fri, 3 Dec 2021 18:14:38 +0100 (a0b8084ca)
887DHT: Remove unused processing option - Martin Schanzenbach
888
889Tue, 30 Nov 2021 16:14:35 +0100 (f80d6d695)
890ignore prepared statement failures if statement is already known to enable connection pooling - Christian Grothoff
891
892Fri, 26 Nov 2021 13:11:47 +0100 (9792ef1c3)
893make LE optional - Christian Grothoff
894
895Fri, 26 Nov 2021 07:03:17 -0500 (c384f7784)
896No longer require libextractor at configure time - Thien-Thi Nguyen
897
898Fri, 26 Nov 2021 09:17:35 +0100 (b1bb98f8b)
899make sudo non-interactive - Christian Grothoff
900
901Thu, 25 Nov 2021 23:50:13 +0100 (04166afcb)
902fix configure.ac issues with autoconf 2.69 - Christian Grothoff
903
904Thu, 25 Nov 2021 23:38:58 +0100 (2a52d39a2)
905help fixing #7105 - Christian Grothoff
906
907Thu, 25 Nov 2021 14:38:48 +0100 (63854ee52)
908add pk invariant check - Christian Grothoff
909
910Thu, 25 Nov 2021 14:03:04 +0100 (b9644ee30)
911fix event loop subscriptions on DB reconnect - Christian Grothoff
912
913Tue, 23 Nov 2021 12:31:18 +0100 (5cb62b557)
914RECLAIM: Fix bug that multiple attributes with the same name are added in CLI - Martin Schanzenbach
915
916Sun, 21 Nov 2021 16:14:29 +0100 (3dbb45893)
917Fix gnunet-namestore's URI import - Alessio Vanni
918
919Sun, 21 Nov 2021 17:25:50 +0100 (71d0c6696)
920update FR translation - Christian Grothoff
921
922Thu, 11 Nov 2021 00:56:30 +0100 (20ffa0aa5)
923Update configure.ac and a few macros used by it - Alessio Vanni
924
925Fri, 5 Nov 2021 22:52:53 +0100 (d744d49e1)
926Allow gnunet-qr to read codes from PNG pictures - Alessio Vanni
927
928Sun, 21 Nov 2021 17:25:50 +0100 (71d0c6696)
929update FR translation - Christian Grothoff
930
931Thu, 14 Oct 2021 21:22:40 +0200 (48ccb35c9)
932Improve gnunet-bcd and update logo used in generated cards - Alessio Vanni
933
934Sat, 20 Nov 2021 23:22:19 +0100 (1dcc14eca)
935update fr.po - Christian Grothoff
936
937Sat, 20 Nov 2021 02:27:34 -0500 (9f0a9deef)
938Convert AC_HELP_STRING to AS_HELP_STRING - Thien-Thi Nguyen
939
940Sat, 20 Nov 2021 01:41:02 -0500 (0390da9dd)
941Convert indirect ‘AC_CHECK_FUNCS’ call to direct one - Thien-Thi Nguyen
942
943Sat, 20 Nov 2021 01:31:24 -0500 (b04f9f7a7)
944Remove unnecessary double-quotes escaping - Thien-Thi Nguyen
945
946Sat, 20 Nov 2021 01:24:05 -0500 (73550ea6e)
947Remove m4-quoting from AC_CHECK_FUNCS arg - Thien-Thi Nguyen
948
949Wed, 17 Nov 2021 08:38:55 +0100 (c5a7ce5d2)
950subscribes are not reference counted by postgres, only subscribe/unsubscribe once per connection - Christian Grothoff
951
952Thu, 28 Oct 2021 13:32:17 +0200 (6a642f8f6)
953add logging for DB perf analysis - Christian Grothoff
954
955Mon, 25 Oct 2021 14:49:05 +0200 (1609d627e)
956changes to reflect the changes in testing_api_loop.c - t3sserakt
957
958Mon, 25 Oct 2021 11:23:26 +0200 (196b6bc57)
959debian: fix path again - Florian Dold
960
961Mon, 25 Oct 2021 10:40:33 +0200 (61dd07223)
962debian: fix libexec path - Florian Dold
963
964Tue, 19 Oct 2021 13:59:42 +0200 (789268e1b)
965kdf: zero out salt correctly - Florian Dold
966
967Mon, 11 Oct 2021 17:08:46 +0200 (d190d2383)
968fixed unset port forwarding variable bug in netjail script, fixed end cmd without shutdown bug, smaller fixes - t3sserakt
969
970Tue, 19 Oct 2021 13:55:28 +0200 (2e2abc61d)
971make KDF conform to RFC 5869 - Florian Dold
972
973Thu, 14 Oct 2021 16:39:24 +0200 (d64ac2698)
974removed versioned artefacts with v2 and v3. changes to reflect the changes in testing_api_loop.c - t3sserakt
975
976Tue, 12 Oct 2021 10:04:50 +0200 (8ac2a05b3)
977BUILD: Kill infiniband - Martin Schanzenbach
978
979Tue, 12 Oct 2021 08:34:21 +0200 (786210216)
980BUILD: Attempt fix longer file names in make dist - Martin Schanzenbach
981
982Mon, 11 Oct 2021 23:56:12 +0200 (113cd7e3d)
983BUILD: Remove --disable-mysql-version-check. #7033 - Martin Schanzenbach
984
985Mon, 11 Oct 2021 23:43:04 +0200 (4e7e81f4d)
986BUILD: Remove --disable-testing. Issue #7033 - Martin Schanzenbach
987
988Mon, 11 Oct 2021 23:28:17 +0200 (65554324a)
989BUILD: Remove W32 ifdef - Martin Schanzenbach
990
991Mon, 11 Oct 2021 23:01:22 +0200 (41e8c1e21)
992BUILD: Remove EXPENSIVE_TESTS (unused). Issue #7033 - Martin Schanzenbach
993
994Mon, 11 Oct 2021 17:08:46 +0200 (d190d2383)
995fixed unset port forwarding variable bug in netjail script, fixed end cmd without shutdown bug, smaller fixes - t3sserakt
996
997Mon, 11 Oct 2021 16:30:12 +0200 (62ca5edd0)
998BUILD: Remove SuperMUC code. Issue #7033 - Martin Schanzenbach
999
1000Sat, 9 Oct 2021 14:20:18 +0200 (ae41c8bcd)
1001BUILD: Add version from git tags - Martin Schanzenbach
1002
1003Wed, 6 Oct 2021 18:53:37 +0200 (6ef071b8c)
1004fix #7029 - Christian Grothoff
1005
1006Mon, 4 Oct 2021 21:07:21 +0000 (e173017ed)
1007Fix some typos in the handbook - Christian Grothoff
1008
1009Mon, 4 Oct 2021 22:30:21 +0200 (961685fab)
1010add missing finish cmd - Christian Grothoff
1011
1012Thu, 23 Sep 2021 22:52:44 +0200 (1aa0d5f34)
1013PQ: implementing #7014: support testing database version is current - Christian Grothoff
1014
1015Wed, 22 Sep 2021 20:32:39 +0200 (369f0a0e8)
1016The differences between the contrib subdirectory in the git repository and the contrib subdirectory generated by make dist have grown really big. Please find attached another patch for updating the content of: - Christian Grothoff
1017
1018Wed, 22 Sep 2021 11:39:25 +0200 (81d925587)
1019NSE: return NaN (see #7021) - Christian Grothoff
1020
1021Wed, 22 Sep 2021 11:35:46 +0200 (7bf37b7ea)
1022NSE: return INF, not NaN (fixes #7021) - Christian Grothoff
1023
1024Thu, 16 Sep 2021 22:51:28 +0200 (fc9ca33bc)
1025fix typos spotted by madmurphy - Christian Grothoff
1026
1027Fri, 10 Sep 2021 16:38:35 +0200 (46e07ed8e)
1028Include "gettext.h" even when "platform.h" is unavailable - Alessio Vanni
1029
1030Sun, 5 Sep 2021 22:21:40 +0200 (3da9cbd62)
1031BUILD: Remove FRAMEWORK_BUILD define - Martin Schanzenbach
1032
1033Sun, 5 Sep 2021 18:27:53 +0200 (f9f3cbe9f)
1034make backend-check a gnunet-only gnunet-config option - Christian Grothoff
1035
1036Sun, 5 Sep 2021 16:58:55 +0200 (b4e034d9a)
1037refactor gnunet-config to make preload hacks obsolete - Christian Grothoff
1038
1039Fri, 3 Sep 2021 18:21:28 +0200 (00c03c7bb)
1040HANDBOOK: Add pointers to CI - Martin Schanzenbach
1041
1042Tue, 31 Aug 2021 16:09:03 +0200 (25d8a8a26)
1043Flip the value of GNUNET_EXTRA_LOGGING given when it's undefined - Alessio Vanni
1044
1045Tue, 31 Aug 2021 15:54:43 +0200 (382fc8faa)
1046gnunet.m4: add flag to disable debug messages - Alessio Vanni
1047
1048Tue, 27 Jul 2021 16:27:14 +0200 (649d10b27)
1049Autoconf macro to detect GNUnet installations - Alessio Vanni
1050
1051Sat, 24 Jul 2021 16:15:10 +0200 (9bdfda437)
1052gnunet-config manpage: Document the new flags - Alessio Vanni
1053
1054Fri, 23 Jul 2021 18:20:33 +0200 (fd1bcccb9)
1055UTIL: Allow gnunet-config to output build config informations - Alessio Vanni
1056
1057Wed, 1 Sep 2021 10:28:09 +0200 (d51000320)
1058UTIL: add fix for GNUnet directory permissions by madmurphy - Christian Grothoff
1059
1060Sat, 28 Aug 2021 21:50:06 +0200 (2994fa434)
1061UTIL: improve error message and inherit stderr as suggested by Florian - Christian Grothoff
1062
1063Sat, 28 Aug 2021 18:42:53 +0200 (c6528ac77)
1064debian: systemd installation - Florian Dold
1065
1066Sat, 28 Aug 2021 18:31:33 +0200 (eacbf5923)
1067debian: clean up - Florian Dold
1068
1069Sat, 28 Aug 2021 18:27:45 +0200 (ec6b80f07)
1070debian: more fixes and formatting - Florian Dold
1071
1072Sat, 28 Aug 2021 18:27:11 +0200 (830bc7ab2)
1073debian: more fixes - Florian Dold
1074
1075Sat, 28 Aug 2021 18:23:05 +0200 (941ea7f20)
1076debian: various packaging fixes - Florian Dold
1077
1078Sat, 28 Aug 2021 17:46:26 +0200 (b317b3e11)
1079use ISO 8609 / RFC 3339 timestamps for logging - Florian Dold
1080
1081Sat, 28 Aug 2021 16:54:38 +0200 (e74fadf93)
1082release GNUnet 0.15.3 - Christian Grothoff
1083
1084Sat, 28 Aug 2021 12:54:32 +0200 (1757980da)
1085partial fix for problems raised by Alessio on the ML - Christian Grothoff
1086
1087Sat, 28 Aug 2021 12:50:20 +0200 (66e906c25)
1088partial fix for problems raised by Alessio on the ML - Christian Grothoff
1089
1090Wed, 25 Aug 2021 12:52:12 +0200 (45532e7bc)
1091further simplify libgnunetpq event API and implementation, also trigger events on 'loopback' that are not socket-activated - Christian Grothoff
1092
1093Tue, 24 Aug 2021 16:12:34 +0200 (a0e689f5e)
1094debian: libgnunet-dev should not depend on GNUnet - Florian Dold
1095
1096Sun, 8 Aug 2021 22:10:55 +0200 (b71740271)
1097debian: do not pollute skel (see Debian Policy Section 10.7.5.) - Florian Dold
1098
1099Sun, 8 Aug 2021 21:20:09 +0200 (2de19bb85)
1100debian: leave out debian version '0', as lintian complains - Florian Dold
1101
1102Sun, 8 Aug 2021 21:14:42 +0200 (788f1edbe)
1103debian: bump version (0.15.0-1) - Florian Dold
1104
1105Fri, 6 Aug 2021 11:56:36 +0200 (564a1945e)
1106debian: bump version - Florian Dold
1107
1108Wed, 4 Aug 2021 20:41:25 +0200 (ff5075e7f)
1109do not generate tautological comparison warnings for assertions (if gcc/clang version supports them) - Christian Grothoff
1110
1111Wed, 4 Aug 2021 15:09:17 +0200 (873381c65)
1112first cmd for a simple tng test running. part of cleanup and sanity check when starting missing - t3sserakt
1113
1114Sun, 1 Aug 2021 16:23:32 +0200 (372516f77)
11150 for absolute time is special, and should be treated as such in JSON generation - Christian Grothoff
1116
1117Sun, 1 Aug 2021 14:53:14 +0200 (c98bf47a8)
1118PQ: fix notification API bugs - Christian Grothoff
1119
1120Sun, 1 Aug 2021 12:26:20 +0200 (2032f3ce3)
1121debian: compat level, removal of user units, tweaks - Florian Dold
1122
1123Sat, 31 Jul 2021 22:42:45 +0200 (d02ea47f5)
1124JSON: allow NULL-passing to GNUNET_JSON_pack_data_varsize - Christian Grothoff
1125
1126Sat, 31 Jul 2021 20:04:51 +0200 (be8bbf724)
1127debian: bump version - Florian Dold
1128
1129Sat, 31 Jul 2021 16:47:33 +0200 (9b3442d2f)
1130debian: Do not remove users/groups in postrm - Florian Dold
1131
1132Sat, 31 Jul 2021 16:08:36 +0200 (aa0f0adef)
1133debian: fix date - Florian Dold
1134
1135Sat, 31 Jul 2021 12:58:00 +0200 (e3dc68562)
1136debian: bump version to 0.14.1-9 - Florian Dold
1137
1138Fri, 30 Jul 2021 22:20:05 +0200 (dccf60f89)
1139config: handle syntax error instead of dereferencing NULL pointer - Florian Dold
1140
1141Fri, 2 Apr 2021 15:46:25 +0200 (ebc70e1bc)
1142SETU: Implement LSD0003 - Martin Schanzenbach
1143
1144Thu, 29 Jul 2021 14:26:22 -0400 (72250781a)
1145use modern spelling for LLONG_{MAX,MIN} - Thien-Thi Nguyen
1146
1147Thu, 29 Jul 2021 17:15:32 +0200 (6212bce41)
1148config: restrict directives in files loaded via @inline-secret@ - Florian Dold
1149
1150Thu, 29 Jul 2021 10:42:18 -0400 (12e29f004)
1151add dependency lib to a couple targets - Thien-Thi Nguyen
1152
1153Thu, 29 Jul 2021 16:13:16 +0200 (b69774cba)
1154do not warn when GNUNET_DISK_file_test can't access file - Florian Dold
1155
1156Thu, 29 Jul 2021 15:40:36 +0200 (73ae1f379)
1157config: prettier pretty printing - Florian Dold
1158
1159Thu, 29 Jul 2021 15:03:19 +0200 (8af5277c8)
1160debian: bump version - Florian Dold
1161
1162Thu, 29 Jul 2021 14:59:10 +0200 (b41bca631)
1163fall back to /etc for default configuration entry point - Florian Dold
1164
1165Wed, 28 Jul 2021 21:23:44 +0200 (cadca90ca)
1166debian: bump version - Florian Dold
1167
1168Wed, 28 Jul 2021 21:00:30 +0200 (3012383a1)
1169config: report stats for secret sections - Florian Dold
1170
1171Wed, 28 Jul 2021 20:19:38 +0200 (346706b18)
1172config: extended diagnostics, import cycle detection, deterministic load order - Florian Dold
1173
1174Wed, 28 Jul 2021 18:59:07 +0200 (1af9f6c1c)
1175config: sort globbed files - Florian Dold
1176
1177Wed, 28 Jul 2021 17:34:44 +0200 (7a0caef7a)
1178diagnostics mode for gnunet-config - Florian Dold
1179
1180Wed, 28 Jul 2021 15:47:39 +0200 (2cdd91d55)
1181fall back to /etc if user config can't be found - Florian Dold
1182
1183Wed, 28 Jul 2021 15:26:55 +0200 (94ea7a1fa)
1184implement @inline-secret@ directive - Florian Dold
1185
1186Wed, 28 Jul 2021 14:31:38 +0200 (7615d46b0)
1187implement config inline globbing - Florian Dold
1188
1189Mon, 26 Jul 2021 20:30:28 +0200 (28dfb1220)
1190config: resolve realpath of parent config file, fix docs - Florian Dold
1191
1192Mon, 26 Jul 2021 20:03:29 +0200 (51e5fab47)
1193config: free real basepath - Florian Dold
1194
1195Mon, 26 Jul 2021 19:59:29 +0200 (cda72d5c4)
1196config: resolve realpath of base dir, not config - Florian Dold
1197
1198Mon, 26 Jul 2021 19:35:56 +0200 (473939543)
1199debian: bump version - Florian Dold
1200
1201Mon, 26 Jul 2021 19:33:38 +0200 (16fe9a808)
1202config: resolve symlinks for @INLINE@-ed files - Florian Dold
1203
1204Mon, 26 Jul 2021 17:49:43 +0200 (302e97b01)
1205debian: bump version - Florian Dold
1206
1207Mon, 26 Jul 2021 16:32:34 +0200 (90095d19b)
1208implement typed JSON packer - Christian Grothoff
1209
1210Mon, 26 Jul 2021 15:45:39 +0200 (baa855368)
1211debian: bump version - Florian Dold
1212
1213Mon, 26 Jul 2021 15:31:14 +0200 (51990dbbf)
1214JSON: add draft for new GNUNET_JSON_PACK API - Christian Grothoff
1215
1216Sat, 24 Jul 2021 22:50:22 +0200 (d63771f25)
1217minimal test for new pq event functionality - Christian Grothoff
1218
1219Sat, 24 Jul 2021 22:05:46 +0200 (31eae6bbe)
1220early draft for libgnunetpq event notification support - Christian Grothoff
1221
1222Fri, 23 Jul 2021 20:10:45 +0200 (be8bca817)
1223introduce new TIME helper functions - Christian Grothoff
1224
1225Sat, 17 Jul 2021 20:13:36 +0200 (70de6f2ad)
1226fix #6925 and #6926 - Christian Grothoff
1227
1228Tue, 6 Jul 2021 15:30:43 +0200 (b6521e32a)
1229DHTU: skeleton for plugins - Christian Grothoff
1230
1231Mon, 5 Jul 2021 09:46:34 +0200 (7799411a8)
1232HANDBOOK: Fix #6911 - Martin Schanzenbach
1233
1234Mon, 5 Jul 2021 09:42:54 +0200 (56af99b50)
1235UTIL: Prevent segfaults in config writeout. Fixes #6913 - Martin Schanzenbach
1236
1237Thu, 1 Jul 2021 15:45:13 +0200 (b62520333)
1238DHT: cleaner implementation of peer selection logic (use 64-bits, more readable code) - Christian Grothoff
1239
1240Mon, 28 Jun 2021 07:16:36 +0200 (3ae831780)
1241BUILD: Fix bswap portability - Martin Schanzenbach
1242
1243Fri, 18 Jun 2021 13:47:35 +0200 (a7d06945b)
1244fix debian package build - Christian Grothoff
1245
1246Wed, 16 Jun 2021 17:09:22 +0200 (1bc1fbda0)
1247PQ: update libgnunetpq implementation to avoid duplicated nullable tests and to allow for the actual field name to differ from the fname, as done for example by the Taler amounts which are split over two DB fields - Christian Grothoff
1248
1249Sun, 6 Jun 2021 13:36:46 +0200 (1b18c4db2)
1250GNS: Fix EdDSA lookup by zonekey TLD - Martin Schanzenbach
1251
1252Fri, 28 May 2021 10:54:08 +0200 (aa25216fe)
1253IDENTITY: Add EdDSA switch to handbook and manpage - Martin Schanzenbach
1254
1255Sun, 16 May 2021 23:07:03 +0200 (c68abd271)
1256[FCFSD] document it in the handbook - Alessio Vanni
1257
1258Mon, 10 May 2021 21:48:18 +0200 (96eddc25f)
1259UTIL: Fix #6858 - Martin Schanzenbach
1260
1261Mon, 10 May 2021 21:43:12 +0200 (b66096531)
1262CONVERSATION: Fix FTBFS for tests. #6857 - Martin Schanzenbach
1263
1264Sun, 2 May 2021 19:02:26 +0200 (2bca4006c)
1265[FCFSD] Provide a better user experience - Alessio Vanni
1266
1267Sat, 1 May 2021 22:05:15 +0200 (572f4d6f7)
1268GNS: Add EDKEY support. - Martin Schanzenbach
1269
1270Mon, 26 Apr 2021 15:08:16 +0200 (3a995fce4)
1271fix gnunet-config: do not always write configuration file - Christian Grothoff
1272
1273Sat, 24 Apr 2021 17:29:42 +0200 (8233e2820)
1274Swap gnunet-config's default behaviour for the rewrite flag - Alessio Vanni
1275
1276Mon, 22 Feb 2021 10:16:16 +0100 (3cd248236)
1277RECLAIM: Added libpabc credential support. - Martin Schanzenbach
1278
1279Sun, 18 Apr 2021 21:11:08 +0200 (75cfa6370)
1280SCALARPRODUCT: migrating logic from libgcrypt to libsodium (#6818). - Christian Grothoff
1281
1282Mon, 5 Apr 2021 12:37:53 +0200 (afa003863)
1283GNS: Update to new identity of FCFS PIN. - Martin Schanzenbach
1284
1285Sat, 3 Apr 2021 09:40:46 +0200 (08fe7735b)
1286handbook: Add section on commit messages and developer branches - Martin Schanzenbach
1287
1288Thu, 1 Apr 2021 00:41:38 +0200 (9f340d5cc)
1289SETU: added some more perf measurement point for var message size - Elias Summermatter
1290
1291Thu, 1 Apr 2021 00:15:43 +0200 (12bb61317)
1292SETU: fixed some bug in rand element gen and added variable payload for perfmance - Elias Summermatter
1293
1294Wed, 31 Mar 2021 11:49:10 +0200 (902331756)
1295SETU: Added new operation parameters for performance tests - Elias Summermatter
1296
1297Wed, 31 Mar 2021 11:16:38 +0200 (b5660e0a3)
1298SETU: improved tests - Elias Summermatter
1299
1300Tue, 30 Mar 2021 19:26:40 +0200 (ca4c9eae2)
1301UTIL/SCALARPRODUCT: Do not build ECC dlog or scalarproduct with incompatible libgcrypt versions (>=1.9.0) - Martin Schanzenbach
1302
1303Mon, 22 Mar 2021 20:06:33 +0100 (a42d7df64)
1304fix #6808: gnunet-bcd card generation - Martin Schanzenbach
1305
1306Thu, 18 Mar 2021 18:44:46 +0100 (7d85c27e9)
1307Fixed setu tests and state maschine - Elias Summermatter
1308
1309Thu, 18 Mar 2021 17:55:24 +0100 (8cd1e1929)
1310Fixed some bug in the statemaschin implementation of setu - Elias Summermatter
1311
1312Thu, 18 Mar 2021 16:07:40 +0100 (c4ccd7550)
1313Setu tests use gnunet internal functions to generate randum elements - Elias Summermatter
1314
1315Thu, 18 Mar 2021 11:48:42 +0100 (f9ae0c23c)
1316Added working test with randum set - Elias Summermatter
1317
1318Thu, 18 Mar 2021 08:45:31 +0100 (0d6237ae0)
1319Added some randum element generation test for setu - Elias Summermatter
1320
1321Sun, 14 Mar 2021 14:04:00 +0100 (b47586e76)
1322add packaging notice; fix #5633 - Martin Schanzenbach
1323
1324Tue, 9 Mar 2021 18:26:28 +0100 (0b2c0f22f)
1325IDENTITY: Fix wrong key construction for anonymous ECDSA identity - Martin Schanzenbach
1326
1327Tue, 2 Mar 2021 17:16:18 +0100 (45ceb4fdf)
1328add base32 encoder/decoder - Christian Grothoff
1329
1330Sun, 28 Feb 2021 13:51:25 +0100 (4cffc642c)
1331build: do not redefine AM_MAKEINFOHTMLFLAGS - Martin Schanzenbach
1332
1333Sun, 28 Feb 2021 11:15:55 +0100 (eb8ca760c)
1334GANA: Use GANA generated header for GNS record types. Update handbook - Martin Schanzenbach
1335
1336Tue, 23 Feb 2021 14:29:47 +0100 (d528f6cfb)
1337HELLO: Fix netdb.h nonsense with h_addr - Martin Schanzenbach
1338
1339Tue, 23 Feb 2021 10:42:57 +0100 (74a234f0b)
1340HANDBOOK: Add some info on TNG - Martin Schanzenbach
1341
1342Sun, 21 Feb 2021 20:56:47 +0100 (05040a491)
1343HELLO: Add test for NG API; fix extraction more - Martin Schanzenbach
1344
1345Sun, 21 Feb 2021 16:44:51 +0100 (783a12b3c)
1346HELLO-TNG: Fix parsing; sill broken - Martin Schanzenbach
1347
1348Sun, 21 Feb 2021 11:46:16 +0100 (f5439c229)
1349TNG: Add queue update handling - Martin Schanzenbach
1350
1351Sun, 21 Feb 2021 10:53:34 +0100 (a3971a93c)
1352Add struct names for FS events. #6743 - Martin Schanzenbach
1353
1354Thu, 18 Feb 2021 16:51:47 +0100 (8095b1a1b)
1355SetU move check to union - Elias Summermatter
1356
1357Wed, 17 Feb 2021 18:00:43 +0100 (08adc88b4)
1358Setu integrated new phase full receiving as described in rfc draft - Elias Summermatter
1359
1360Wed, 17 Feb 2021 17:32:23 +0100 (d5bf65f2b)
1361Renamed Phase Expect IBF Cont -> Expect IBF Last - Elias Summermatter
1362
1363Wed, 17 Feb 2021 17:26:35 +0100 (d852cb5a6)
1364Renamed Phase Done -> Finished - Elias Summermatter
1365
1366Wed, 17 Feb 2021 17:04:15 +0100 (be8897e14)
1367Renamed Phase inventory passive -> passive decoding - Elias Summermatter
1368
1369Wed, 17 Feb 2021 15:57:46 +0100 (333459251)
1370Renamed Phase inventory active -> active decoding & Added idea folder to git ignore - Elias Summermatter
1371
1372Sat, 30 Jan 2021 16:36:14 -0500 (5b152adc0)
1373use AS_VERSION_COMPARE instead of AX_COMPARE_VERSION - Thien-Thi Nguyen
1374
1375Sat, 30 Jan 2021 08:37:12 -0500 (de1b87ea3)
1376fix #6722: use AX_COMPARE_VERSION - Thien-Thi Nguyen
1377
1378Sat, 30 Jan 2021 12:41:15 +0100 (a5f200d53)
1379fix #6690 - Christian Grothoff
1380
1381Thu, 28 Jan 2021 22:28:01 +0100 (a2169368b)
1382implement #6716 - Christian Grothoff
1383
1384Thu, 7 Jan 2021 22:22:48 +0100 (4769344a7)
1385convert to GMT, not localtime in GNUNET_TIME_year_to_time - Christian Grothoff
1386
1387Thu, 7 Jan 2021 10:26:54 +0100 (5b10ad755)
1388properly document return value of GNUNET_PROGRAM_run - Christian Grothoff
1389
1390Sat, 2 Jan 2021 13:47:16 +0100 (eab08cec9)
1391do not output synthetic paths - Christian Grothoff
1392
1393Sat, 2 Jan 2021 11:24:26 +0100 (0d4337da2)
1394fix /proc/PID/maps parser format string - Christian Grothoff
1395
1396Thu, 31 Dec 2020 09:12:43 +0100 (ebd853c83)
1397do not use atomic write for configuration file, we may not have permissions to do this, also should not be necessary - Christian Grothoff
1398
1399Wed, 30 Dec 2020 20:58:55 +0900 (c0465ff92)
1400RECLAIM: Fix quirky OIDC address handling - Martin Schanzenbach
1401
1402Sat, 26 Dec 2020 14:15:58 +0900 (75a3a90fb)
1403RECLAIM: automatically purge dangling references - Martin Schanzenbach
1404
1405Sat, 19 Dec 2020 18:43:38 +0100 (3636ea628)
1406change GNUNET_DISK_fn_write() to always do atomic writes and to NOT overwrite existing files; also change the return value to not return the size of the written file but GNUNET_OK on success, and integrate creating the directory if needed; breaks API, hence bumping libgnunetutil version - Christian Grothoff
1407
1408Tue, 15 Dec 2020 04:54:32 -0500 (407765df1)
1409include Configuration Handbook in gnunet.info - Thien-Thi Nguyen
1410
1411Tue, 15 Dec 2020 03:43:27 -0500 (db9d81947)
1412add pxref to ‘Config file format’ - Thien-Thi Nguyen
1413
1414Tue, 15 Dec 2020 03:26:26 -0500 (52986bf33)
1415[doc] Add section "Config file format" - Thien-Thi Nguyen
1416
1417Wed, 9 Dec 2020 23:00:07 +0100 (7d9592f20)
1418add GNUNET_CRYPTO_hash_context_copy() function - Christian Grothoff
1419
1420Tue, 8 Dec 2020 16:50:27 +0900 (7ce054864)
1421RECLAIM: Return userinfo claims from cache - Martin Schanzenbach
1422
1423Fri, 4 Dec 2020 17:36:35 +0100 (1346641a1)
1424gnunet-crypto-tvg: fix bogus label - Florian Dold
1425
1426Fri, 4 Dec 2020 17:22:38 +0100 (4c10ff3b4)
1427gnunet-crypto-tvg: add verification mode - Florian Dold
1428
1429Fri, 4 Dec 2020 14:52:45 +0100 (1a3070b15)
1430gnunet-crypto-tvg: output JSON, fix memleaks - Florian Dold
1431
1432Sat, 21 Nov 2020 22:58:44 +0000 (d2e10ef67)
1433rps: fix another 'format not a string literal' warning - Daniel Golle
1434
1435Mon, 16 Nov 2020 23:57:08 +0100 (91e8c2ff2)
1436rps: deal with currently unused code - Julius Bünger
1437
1438Mon, 16 Nov 2020 23:36:12 +0100 (d30ec0f1f)
1439rps: comment ill-defined code - Julius Bünger
1440
1441Mon, 16 Nov 2020 22:59:12 +0100 (0950b1df7)
1442rps: properly initialise memory - Julius Bünger
1443
1444Mon, 16 Nov 2020 22:56:47 +0100 (266823196)
1445rps: use proper signedness - Julius Bünger
1446
1447Mon, 16 Nov 2020 22:56:27 +0100 (89ea76819)
1448rps: use correct buffer sizes - Julius Bünger
1449
1450Mon, 16 Nov 2020 22:55:49 +0100 (607211bb7)
1451rps: use correct types in format strings - Julius Bünger
1452
1453Mon, 16 Nov 2020 22:53:30 +0100 (0108f132a)
1454rps: get rid of warnings about harmless uninitialized variables - Julius Bünger
1455
1456Mon, 16 Nov 2020 04:54:21 +0100 (41000a00c)
1457rps: fix sources for multiple warnings - Julius Bünger
1458
1459Sat, 14 Nov 2020 19:02:01 +0000 (ea18ebde8)
1460rps: fix format not a string literal and no format arguments - Daniel Golle
1461
1462Sat, 14 Nov 2020 10:57:31 +0900 (de83cfe23)
1463Updating ChangeLog for 0.14.0 - Martin Schanzenbach
1464
1465Thu, 5 Nov 2020 21:20:38 +0100 (c07ae5c8d)
1466additional abstraction for identity keys - TheJackiMonster
1467
1468Thu, 1 Oct 2020 21:13:43 +0200 (8bf864c25)
1469adding the messenger service and its client-side library - TheJackiMonster
1470
1471Sat, 31 Oct 2020 00:12:01 +0100 (778425469)
1472only call PGntuples once - Christian Grothoff
1473
1474Sun, 25 Oct 2020 22:32:14 +0100 (f7c320990)
1475implement #6524 - Christian Grothoff
1476
1477Sun, 25 Oct 2020 21:32:57 +0100 (d8cf5cbfc)
1478fix #6525: handle explicit null in JSON nicely - Christian Grothoff
1479
1480Sat, 24 Oct 2020 00:19:44 +0200 (f7b17098b)
1481new translation - Christian Grothoff
1482
1483Tue, 20 Oct 2020 13:10:43 +0200 (acc69a8e5)
1484fix missing MHD flags - Christian Grothoff
1485
1486Fri, 16 Oct 2020 13:09:21 +0200 (2e494a18a)
1487GNS: New symmetric crypto - Martin Schanzenbach
1488
1489Tue, 13 Oct 2020 12:25:31 +0200 (e0ff55875)
1490enable more format string warnings - Christian Grothoff
1491
1492Sat, 10 Oct 2020 17:19:53 +0200 (77339944c)
1493Allow applications to change ProjectData with only some fields - Christian Grothoff
1494
1495Sun, 27 Sep 2020 19:55:09 +0100 (daa0f22b6)
1496postgres: drop use of 'WITH OIDS' - Daniel Golle
1497
1498Fri, 2 Oct 2020 12:04:42 +0200 (400f527fb)
1499UTIL: Never localize fancy strings in to_string to prevent breaking from_string parser - Martin Schanzenbach
1500
1501Thu, 24 Sep 2020 22:04:17 +0200 (02fb94bd4)
1502Disable some diagnostic until TNG is available - Christian Grothoff
1503
1504Mon, 21 Sep 2020 10:21:51 +0200 (87467c4aa)
1505added test_communicator_basic-udp test case for buildbot - t3sserakt
1506
1507Sun, 6 Sep 2020 13:33:31 +0200 (fa067384b)
1508GNUnet 0.13.3 - Martin Schanzenbach
1509
1510Fri, 4 Sep 2020 20:12:00 +0200 (35d7c1f88)
1511fix: depend on libsodium >=1.0.17. Fixes #6506 - Martin Schanzenbach
1512
1513Fri, 4 Sep 2020 04:07:46 +0200 (538277ed8)
1514reclaim: fix cli parameter name for credential ID - Martin Schanzenbach
1515
1516Wed, 2 Sep 2020 19:26:37 +0200 (3ec73fc68)
1517gnunet-qr/uri: Fix exit code handling; fix memory corruption - Martin Schanzenbach
1518
1519Fri, 28 Aug 2020 12:26:52 +0200 (bbf9540c9)
1520fix order of namespaces in plugin_rest_identity GNUNET_REST_namespace_match() always matched to the first namespace for GET - jospaeth
1521
1522Wed, 26 Aug 2020 14:49:02 -0400 (49d74db2e)
1523use (and "GNUnet-ify") libyuarel as a basepoint for uri parsing - Jonathan Buchanan
1524
1525Sun, 23 Aug 2020 16:52:26 +0200 (ef86866ce)
1526add function GNUNET_CURL_extend_headers() - Christian Grothoff
1527
1528Wed, 19 Aug 2020 23:53:02 +0200 (a57d476ab)
1529reclaim: Attestations now called credentials. Credentials are presented to third parties as presentations. - Martin Schanzenbach
1530
1531Wed, 19 Aug 2020 13:17:01 +0200 (6531e0387)
1532break out chapters on SETI and SETUI from SET chapter - Christian Grothoff
1533
1534Wed, 19 Aug 2020 11:05:13 +0200 (6dabecce0)
1535change scalarproduct to use seti service in lieu of deprecated set service - Christian Grothoff
1536
1537Wed, 19 Aug 2020 10:59:27 +0200 (2d010ea15)
1538change revocation logic to use setu service in lieu of deprecated set service - Christian Grothoff
1539
1540Tue, 18 Aug 2020 13:35:24 +0200 (2cd052cb8)
1541Update reclaimID handbook entry - Martin Schanzenbach
1542
1543Tue, 18 Aug 2020 00:09:59 +0200 (2bce42e5b)
1544fix: build on openbsd - Martin Schanzenbach
1545
1546Mon, 17 Aug 2020 14:45:46 +0200 (6f2ee9eb3)
1547clean up GNUNET_CRYPTO_pow_hash API - Christian Grothoff
1548
1549Sun, 16 Aug 2020 20:46:39 +0200 (be0475f2a)
1550split of set union from set service (preliminary) - Christian Grothoff
1551
1552Wed, 12 Aug 2020 09:36:33 +0200 (99f820453)
1553fix: GNUNET_is_zero(ptr) should return enum GNUNET_GenericReturnValue. Fixes #6475. - Martin Schanzenbach
1554
1555Tue, 11 Aug 2020 11:35:06 +0200 (286759692)
1556fix: mysql version detection - Martin Schanzenbach
1557
1558Thu, 6 Aug 2020 08:45:40 +0200 (1d4f5263a)
1559reclaim: Refactoring and more standards compliance with respect to scopes - Martin Schanzenbach
1560
1561Wed, 5 Aug 2020 11:35:05 +0200 (6e764f4ab)
1562reclaim: Make SPAs work with public clients. No longer encrypt code. - Martin Schanzenbach
1563
1564Tue, 4 Aug 2020 21:08:22 +0200 (ade9b5e52)
1565reclaim: fix #6463 - Martin Schanzenbach
1566
1567Tue, 4 Aug 2020 19:40:23 +0200 (815ded19f)
1568rest: fix #6462 - Martin Schanzenbach
1569
1570Tue, 4 Aug 2020 10:09:45 +0200 (080519e98)
1571reclaim: do not store access token instead piggyback ticket - Martin Schanzenbach
1572
1573Mon, 3 Aug 2020 19:37:23 +0200 (8c86c4472)
1574reclaim: support client credentials in POST body for token request - Martin Schanzenbach
1575
1576Sat, 1 Aug 2020 16:22:38 +0200 (e44686f08)
1577fix: reclaim urlenc / revert accidental change - Martin Schanzenbach
1578
1579Sat, 1 Aug 2020 16:07:08 +0200 (754d8c1b4)
1580util: add percent/url encoding - Martin Schanzenbach
1581
1582Thu, 30 Jul 2020 16:12:22 +0530 (8d312646c)
1583fix SIGSEGV in GNUNET_buffer_write_data_encoded - Florian Dold
1584
1585Thu, 30 Jul 2020 15:15:59 +0530 (d335baac8)
1586implement GNUNET_buffer_write_data_encoded - Florian Dold
1587
1588Wed, 22 Jul 2020 21:47:42 +0200 (8703a0516)
1589ensure psql fails hard if there is an error in the SQL (fixes #6437) - Christian Grothoff
1590
1591Sat, 18 Jul 2020 00:44:39 +0200 (7f4ddbcab)
1592merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188 - Christian Grothoff
1593
1594Fri, 17 Jul 2020 22:35:36 +0200 (28ab2c446)
1595avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188) - Christian Grothoff
1596
1597Fri, 17 Jul 2020 14:26:45 +0200 (0c9911d73)
1598TNG: Implemented 5530: add replay protection to TCP communicator. Added monotime value checks - t3sserakt
1599
1600Thu, 16 Jul 2020 20:36:12 +0200 (bbe0a0501)
1601avoid boolean argument in GNUNET_CURL_job_add(), see #6188 - Christian Grothoff
1602
1603Thu, 16 Jul 2020 17:40:14 +0200 (ee1fbffa1)
1604support context-wide client authentication - Christian Grothoff
1605
1606Thu, 16 Jul 2020 17:24:30 +0200 (23820348b)
1607docs: fixed example for pinning a friends public key - rexxnor
1608
1609Wed, 15 Jul 2020 17:21:39 +0200 (9bb2c1e31)
1610Load GNSRECORD plugins within GNUnet's context - Christian Grothoff
1611
1612Fri, 3 Jul 2020 22:37:42 +0200 (0f2ac01f3)
1613Add function to return GNUnet's default configuration - Christian Grothoff
1614
1615Thu, 9 Jul 2020 09:09:50 +0200 (5a0df5e18)
1616fix: raise ATS quotas to 10 MiB #6426 - Martin Schanzenbach
1617
1618Mon, 6 Jul 2020 23:34:48 +0200 (309ad1364)
1619fix: cadet fix to use correct tunnel end - Martin Schanzenbach
1620
1621Mon, 6 Jul 2020 22:29:59 +0200 (13b2791f4)
1622fix: do not use udp plugin for tests - Martin Schanzenbach
1623
1624Mon, 6 Jul 2020 21:33:06 +0200 (29131b26c)
1625fix: update test hostkeys - Martin Schanzenbach
1626
1627Mon, 6 Jul 2020 20:19:00 +0200 (f0ecab499)
1628fix: namestore rest test - Martin Schanzenbach
1629
1630Sun, 5 Jul 2020 21:59:40 +0200 (7247d3f1f)
1631style fix: use correct type - Christian Grothoff
1632
1633Sat, 4 Jul 2020 19:06:49 +0200 (1d417dcd0)
1634Fix_build_dependencies - Martin Schanzenbach
1635
1636Sun, 5 Jul 2020 16:32:34 +0200 (e31c1d4a9)
1637GNUNET_free_non_null -> GNUNET_free - Christian Grothoff
1638
1639Sun, 5 Jul 2020 15:21:55 +0200 (143755664)
1640build: fix libidn2 detection if prefix given (#5948) - Martin Schanzenbach
1641
1642Sun, 28 Jun 2020 22:38:45 +0200 (8c2243f05)
1643Prevent user from storing records which belong in a BOX - Martin Schanzenbach
1644
1645Sun, 21 Jun 2020 22:06:35 +0200 (612704d69)
1646GNS: dns2gns now randomizes answers from GNS record set - Martin Schanzenbach
1647
1648Tue, 16 Jun 2020 01:48:00 +0200 (e500e9ec3)
1649Set workbits for PoWs to more realistic values - Martin Schanzenbach
1650
1651Sun, 14 Jun 2020 16:36:08 +0200 (a3a89edc0)
1652doc->preface: rewrite 'GNUnet may also' sentence, remove 2 TODO items. - nikita
1653
1654Fri, 12 Jun 2020 12:51:46 +0200 (726ac3ef2)
1655Fixed 5528: TCP *communicator* bindto option should support DNS names, and 6013: TCP communicator should bind to IPv6 and IPv4 if only port given - t3sserakt
1656
1657Fri, 5 Jun 2020 16:37:10 +0200 (d22eacb13)
1658Fixed bug #5822 by adding a monotonic time to the connection create message of a peer that want to start a KX, and the corresponding test #5823. Credits to dvn, lurchi and xrs for helpful discussions and coding. - t3sserakt
1659
1660Mon, 1 Jun 2020 19:08:32 +0200 (59f616a3c)
1661tng: do not handle message send more than once - Martin Schanzenbach
1662
1663Mon, 1 Jun 2020 18:45:46 +0200 (d11bffdc2)
1664tng: fix for macos unix socket handling - Martin Schanzenbach
1665
1666Mon, 1 Jun 2020 18:43:32 +0200 (583bc67ba)
1667tng: MTU fix for other UNIXes, log message - Martin Schanzenbach
1668
1669Mon, 1 Jun 2020 18:18:00 +0200 (d20be8a91)
1670tng: UNIX communicator fixes. Test fixes - Martin Schanzenbach
1671
1672Mon, 1 Jun 2020 16:39:35 +0200 (198c09654)
1673tng: more UDP communicator backchannels - Martin Schanzenbach
1674
1675Sat, 30 May 2020 17:45:38 +0200 (a325c3eaa)
1676towards UDP backchannels - Martin Schanzenbach
1677
1678Fri, 29 May 2020 22:31:37 -0400 (63109da3e)
1679rsa crypto compare functions take const parameters - Jonathan Buchanan
1680
1681Wed, 27 May 2020 15:01:30 +0200 (cf4608196)
1682Make REQUEST_AGPL messages configurable and add handler by default - Christian Grothoff
1683
1684Wed, 27 May 2020 09:32:06 +0200 (f2127cd6a)
1685add lastlog script - Martin Schanzenbach
1686
1687Wed, 27 May 2020 09:25:44 +0200 (eec3fd03c)
1688changelog from git log - Martin Schanzenbach
1689
1690Wed, 27 May 2020 08:23:47 +0200 (b89c1f2a8)
1691update changelog, new format - Martin Schanzenbach
1692
1693Tue, 26 May 2020 11:49:50 +0200 (755cb5c76)
1694remove argon2 dependency. Use limited libsodium argon2id function for GNS and NSE - Martin Schanzenbach
1695
1696Tue, 26 May 2020 00:42:24 +0200 (24be68238)
1697use argon2id - Martin Schanzenbach
1698
1699Tue, 26 May 2020 03:05:33 +0530 (2a82be115)
1700add additional test condition for GNS crypto - Florian Dold
1701
1702Mon, 25 May 2020 21:38:58 +0200 (a32de45ce)
1703add option to create identity from private key - jospaeth
1704
1705Fri, 22 May 2020 09:44:22 +0200 (2fbc0f044)
1706add option to show private key - Martin Schanzenbach
1707
1708Fri, 22 May 2020 01:16:35 +0200 (9a92bbb51)
1709fix #6242 - Christian Grothoff
1710
1711Thu, 14 May 2020 16:03:10 +0200 (f4771fcc1)
1712Improved BIO API - Christian Grothoff
1713
1714Sun, 17 May 2020 19:56:12 +0200 (3362a671f)
1715make mhd and jansson mandatory dependencies - Martin Schanzenbach
1716
1717Sun, 17 May 2020 19:37:00 +0200 (ac7ba6704)
1718allow compile against curl-openssl - Martin Schanzenbach
1719
1720Sun, 10 May 2020 11:28:00 +0200 (63c371cfb)
1721separate id_token and userinfo claims requests - Martin Schanzenbach
1722
1723Sun, 10 May 2020 00:23:54 +0200 (44bdb66b4)
1724fix #5782 - Martin Schanzenbach
1725
1726Sat, 9 May 2020 22:10:08 +0200 (ada94c274)
1727fail of LSD0001 is violated for GNS2DNS - Martin Schanzenbach
1728
1729Sat, 9 May 2020 22:00:01 +0200 (3da4b0d20)
1730fix #6103; make LEHOs supplemental from CNAMEs and GNS2DNS names - Martin Schanzenbach
1731
1732Sat, 9 May 2020 20:55:08 +0200 (63c92bbef)
1733add json response headers to rest plugins - Martin Schanzenbach
1734
1735Sat, 9 May 2020 19:12:51 +0200 (fbdc2fbb4)
1736change label processing in namestore REST api for gns records - Martin Schanzenbach
1737
1738Wed, 6 May 2020 18:42:45 +0200 (1847e1652)
1739deprecate ill-defined set_nick API - Martin Schanzenbach
1740
1741Wed, 6 May 2020 21:11:08 +0530 (616af9e62)
1742add libsodium dep to README - Florian Dold
1743
1744Wed, 6 May 2020 20:12:05 +0530 (e273b24b9)
1745Fix #6070 - Florian Dold
1746
1747Wed, 6 May 2020 18:39:16 +0530 (d7028a584)
1748move from tweetnacl (+custom hacks) -> only sodium - Florian Dold
1749
1750Wed, 6 May 2020 10:49:10 +0200 (e7c277845)
1751remove obsolete framework option - Martin Schanzenbach
1752
1753Wed, 6 May 2020 10:46:20 +0200 (4d75bfd7e)
1754add some more useful configuration output wrt transports - Martin Schanzenbach
1755
1756Wed, 6 May 2020 10:25:00 +0200 (a4fddaa4d)
1757stop excessive warnings and notifications of information that is displayed later on anyway - Martin Schanzenbach
1758
1759Wed, 6 May 2020 09:31:11 +0200 (ca168098b)
1760improve configure messages for rest and reclaim - Martin Schanzenbach
1761
1762Sat, 2 May 2020 00:08:38 +0200 (f38bc1041)
1763fix gnunet-identity performance - Christian Grothoff
1764
1765Fri, 1 May 2020 10:55:51 +0200 (91e407579)
1766vpn, exit: Add patch from termux for Android in a slightly different way. - nikita
1767
1768Fri, 24 Apr 2020 13:50:05 +0530 (892bd3c60)
1769check for integer overflow in buffer lib (fixes #6217) - Florian Dold
1770
1771Fri, 24 Apr 2020 10:18:16 +0200 (69f8fad56)
1772fix #6220 - Martin Schanzenbach
1773
1774Tue, 21 Apr 2020 20:43:18 +0200 (bf99d2243)
1775fix #6191 - Christian Grothoff
1776
1777Tue, 21 Apr 2020 18:37:28 +0200 (091f411cc)
1778purge scrypt; add argon2 - Martin Schanzenbach
1779
1780Tue, 21 Apr 2020 18:13:05 +0200 (6bda628f7)
1781update revocation config - Martin Schanzenbach
1782
1783Tue, 21 Apr 2020 13:47:04 +0200 (13ceb583b)
1784defining GNUNET_array_concatenate() for #6190 - Christian Grothoff
1785
1786Tue, 21 Apr 2020 13:33:25 +0200 (3776e3a77)
1787fix #6189 - Christian Grothoff
1788
1789Tue, 21 Apr 2020 13:27:04 +0200 (e938b8617)
1790fix #6186 related bugs - Christian Grothoff
1791
1792Tue, 21 Apr 2020 13:23:28 +0200 (68615f85c)
1793use nz - Christian Grothoff
1794
1795Tue, 21 Apr 2020 12:15:16 +0200 (5f5a1c7b4)
1796add JSON spec'er for booleans - Christian Grothoff
1797
1798Tue, 21 Apr 2020 00:54:49 +0200 (30361fe0e)
1799make GNUNET_freez default, have GNUNET_free_nz for cases where that does not work - Christian Grothoff
1800
1801Sun, 19 Apr 2020 21:37:35 +0200 (254a9f066)
1802add i64 deserializer - Christian Grothoff
1803
1804Sun, 19 Apr 2020 14:07:21 +0200 (87481d240)
1805mailmap, authors: final sync of my address and name with changes in NetBSD and GNUnet members. - nikita
1806
1807Fri, 17 Apr 2020 19:58:40 +0200 (2be21d379)
1808add argon2 for LSD0001 - Martin Schanzenbach
1809
1810Fri, 17 Apr 2020 19:59:31 +0200 (0c053ecbf)
1811fix build with clang - Martin Schanzenbach
1812
1813Fri, 17 Apr 2020 19:13:42 +0200 (3695a510a)
1814add relative_time specs - Christian Grothoff
1815
1816Fri, 17 Apr 2020 18:21:17 +0200 (6b89b84d2)
1817add GNUNET_freez for #6186 - Christian Grothoff
1818
1819Wed, 15 Apr 2020 20:35:45 +0200 (c894cf82d)
1820add integer overflow guards and avoid (unlimited) stack allocation - Christian Grothoff
1821
1822Wed, 15 Apr 2020 20:29:15 +0200 (839badf7c)
1823take care of odd memset() calls - Christian Grothoff
1824
1825Wed, 15 Apr 2020 20:26:00 +0200 (b7be5b9f5)
1826fix #6184 - Christian Grothoff
1827
1828Sat, 11 Apr 2020 23:11:43 +0200 (7bcd5338f)
1829fix gnunet-statistics CLI - Christian Grothoff
1830
1831Sat, 11 Apr 2020 21:55:51 +0200 (f490c0f3f)
1832do create directory if it doesn't exist - Christian Grothoff
1833
1834Sat, 11 Apr 2020 21:43:28 +0200 (90ff9edfa)
1835fixing #6149 - Christian Grothoff
1836
1837Sat, 11 Apr 2020 20:33:08 +0200 (3bcfe59f1)
1838fix static assert FTBFS with older gcc - Christian Grothoff
1839
1840Thu, 9 Apr 2020 01:46:44 +0200 (f3d66d0dc)
1841mailmap adjust - nikita
1842
1843Thu, 9 Apr 2020 01:40:49 +0200 (22119c687)
1844fix interpreter line of gnunet-bugreport - nikita
1845
1846Thu, 9 Apr 2020 00:29:16 +0200 (8547143da)
1847adapt code to work with latest MHD API - Christian Grothoff
1848
1849Thu, 9 Apr 2020 00:21:45 +0200 (6fc0526b4)
1850fix warnings - Christian Grothoff
1851
1852Wed, 8 Apr 2020 20:30:05 +0200 (ccfb2c2e6)
1853introduce enum for generic return values - Christian Grothoff
1854
1855Wed, 8 Apr 2020 17:34:27 +0200 (ba4da8c3f)
1856hack around crash on disconnect - Christian Grothoff
1857
1858Wed, 8 Apr 2020 16:56:33 +0200 (11ae9f030)
1859fix sign api for to address #6164 - Christian Grothoff
1860
1861Wed, 8 Apr 2020 14:47:01 +0200 (17113fc2f)
1862add GNUNET_static_assert() - Christian Grothoff
1863
1864Wed, 8 Apr 2020 14:44:39 +0200 (8c9600879)
1865add check to see if CC supports '_Static_assert' - Christian Grothoff
1866
1867Tue, 7 Apr 2020 17:51:59 +0200 (29bd17729)
1868improve comments (#6164) - Christian Grothoff
1869
1870Fri, 3 Apr 2020 18:50:09 +0200 (6d7fd3328)
1871fix #6157 - Christian Grothoff
1872
1873Fri, 3 Apr 2020 18:45:46 +0200 (6fd24eef2)
1874fix #6155 - Christian Grothoff
1875
1876Fri, 3 Apr 2020 18:43:03 +0200 (bc01117ce)
1877fix #6158 - Christian Grothoff
1878
1879Fri, 3 Apr 2020 17:03:35 +0200 (55bff52a2)
1880fix #6159 and related issues - Christian Grothoff
1881
1882Fri, 3 Apr 2020 15:18:58 +0200 (0541fd194)
1883adding a GNUNET_memcmp_priv for constant-time comparing of data; fixes #6152 (modulo actually finding specific places where this SHOULD be used instead of GNUNET_memcmp) - Christian Grothoff
1884
1885Fri, 3 Apr 2020 15:05:14 +0200 (4e259dbbb)
1886fix #6153 - Christian Grothoff
1887
1888Fri, 3 Apr 2020 14:18:58 +0200 (175303b44)
1889fix #6154 - Christian Grothoff
1890
1891Fri, 3 Apr 2020 13:46:05 +0200 (a3d4063b7)
1892added communicator tests to experimental - t3sserakt
1893
1894Thu, 2 Apr 2020 11:33:53 +0200 (225ddf0a2)
1895fix #6146 - Christian Grothoff
1896
1897Sun, 29 Mar 2020 12:51:26 +0200 (73514dd0e)
1898allow passing of fancy time to timetravel option - Christian Grothoff
1899
1900Sat, 28 Mar 2020 07:57:04 +0100 (15d926361)
1901Point to explanatory documentation. - Marcello Stanisci
1902
1903Fri, 20 Mar 2020 15:35:54 +0100 (19d73a8fa)
1904Make gnunet-namestore honour expiration dates when importing an URI - Christian Grothoff
1905
1906Thu, 19 Mar 2020 19:40:34 +0100 (efa84b551)
1907use strtok_r in code that could plausibly be used from multi-threaded applications - Christian Grothoff
1908
1909Tue, 17 Mar 2020 01:05:17 +0100 (2fb32626a)
1910use void * instead of char * for RSA key material to make it more clear that these are not 0-terminated strings - Christian Grothoff
1911
1912Mon, 16 Mar 2020 19:38:42 +0100 (39c6d488d)
1913better error handling - Christian Grothoff
1914
1915Sun, 15 Mar 2020 22:06:28 +0100 (7de26292b)
1916add function that logically belongs to libgnunetcurl instead of in multiple Taler binaries - Christian Grothoff
1917
1918Sun, 15 Mar 2020 15:18:53 +0100 (b37cfa2fd)
1919implement new simplified POW for LSD001 - Martin Schanzenbach
1920
1921Thu, 12 Mar 2020 12:09:11 +0100 (0c8362ad8)
1922move literature information to end of paragraph - xrs
1923
1924Tue, 10 Mar 2020 17:42:04 +0100 (9d5af0464)
1925import CA into Icecat - Christian Grothoff
1926
1927Tue, 3 Mar 2020 12:31:23 +0100 (d1bdcb261)
1928make static analysis happier - Christian Grothoff
1929
1930Tue, 3 Mar 2020 12:31:12 +0100 (9a6588810)
1931remove 'illegal' (non-reentrant) log logic from signal handler - Christian Grothoff
1932
1933Mon, 24 Feb 2020 23:48:47 +0100 (01439e25d)
1934do not segv if there is no postgres - Christian Grothoff
1935
1936Mon, 24 Feb 2020 18:19:09 +0100 (dae7d843f)
1937support versioning schema drop - Christian Grothoff
1938
1939Wed, 19 Feb 2020 21:52:43 +0100 (ca8202057)
1940fixing the GNS multirecord multipeer test - Christian Grothoff
1941
1942Tue, 18 Feb 2020 16:08:43 +0100 (3b2afcd3b)
1943fix TNG test with NAT - Martin Schanzenbach
1944
1945Sat, 15 Feb 2020 12:55:24 +0100 (b03978816)
1946proposed fix for excessive queueing (somehow does not quite work, not sure why) - Christian Grothoff
1947
1948Sat, 15 Feb 2020 12:25:06 +0100 (e57177325)
1949better task ordering - Christian Grothoff
1950
1951Thu, 13 Feb 2020 19:36:37 +0100 (79243b3d2)
1952add concept of supplemental records - Martin Schanzenbach
1953
1954Thu, 13 Feb 2020 15:15:18 +0100 (4dc95a504)
1955always return nick records - Martin Schanzenbach
1956
1957Wed, 12 Feb 2020 23:09:03 +0100 (206866779)
1958resolve nick if specifically requested - Martin Schanzenbach
1959
1960Wed, 12 Feb 2020 22:06:19 +0100 (e021a0f7b)
1961fix duplicate NICK in record - Martin Schanzenbach
1962
1963Fri, 7 Feb 2020 15:51:56 +0100 (5f9f9cae1)
1964consolidate reclaim attribute lib - Martin Schanzenbach
1965
1966Thu, 6 Feb 2020 22:34:11 +0100 (d06446f14)
1967add base64url encoding to util (RFC7515) - Martin Schanzenbach
1968
1969Thu, 6 Feb 2020 20:08:58 +0100 (a80090ffc)
1970more bugfixes and REST API change - Martin Schanzenbach
1971
1972Tue, 4 Feb 2020 18:42:04 +0100 (55f6d26b7)
1973Refactoring reclaim attestations - Martin Schanzenbach
1974
1975Mon, 3 Feb 2020 21:51:57 +0100 (5b6bb2ce4)
1976move to 256-bit identifier; some cleanups - Martin Schanzenbach
1977
1978Sun, 9 Feb 2020 17:31:41 +0100 (99d70615e)
1979use versioning schema to only load database schema patches if not yet covered according to versioning table - Christian Grothoff
1980
1981Sun, 9 Feb 2020 15:57:39 +0100 (8f375b3ea)
1982use NULL value in load_path_suffix to NOT load any files - Christian Grothoff
1983
1984Tue, 4 Feb 2020 19:18:25 +0100 (1ca805654)
1985speed up message goodput in perf_mq(client) by 1/3rd - Christian Grothoff
1986
1987Tue, 4 Feb 2020 19:11:40 +0100 (c656a8218)
1988adding MQ benchmark - Christian Grothoff
1989
1990Tue, 4 Feb 2020 18:56:17 +0100 (f40520b09)
1991speed up running of tasks via GNUNTE_SCHEDULER_add_now() by a factor of at least 5 - Christian Grothoff
1992
1993Tue, 4 Feb 2020 18:45:19 +0100 (4caa0d290)
1994add minimal scheduler benchmark - Christian Grothoff
1995
1996Tue, 4 Feb 2020 15:47:01 +0100 (e14544109)
1997add timetravel getopt helper - Christian Grothoff
1998
1999Mon, 3 Feb 2020 23:51:09 +0100 (e3dcec36a)
2000fix bug *AGAIN*, could swear I fixed this one before... strange - Christian Grothoff
2001
2002Mon, 3 Feb 2020 18:26:49 +0100 (1bba6bc12)
2003added a test for DHT lookup between peers - rexxnor
2004
2005Thu, 30 Jan 2020 10:48:04 +0100 (015cd279b)
2006added testing scripts for dns2gns - rexxnor
2007
2008Fri, 24 Jan 2020 16:51:29 +0100 (f4a172abf)
2009export GNUNET_PQ_run_sql() functionality - Christian Grothoff
2010
2011Fri, 24 Jan 2020 16:30:45 +0100 (2fd320bc7)
2012modify GNUNET_PQ_connect_with_cfg to enable flexible loading of .sql files - Christian Grothoff
2013
2014Sat, 18 Jan 2020 18:47:30 +0100 (bbfde2060)
2015include mandatory includes - Christian Grothoff
2016
2017Fri, 17 Jan 2020 12:12:56 +0100 (5422848b4)
2018do not add '/' to load path - Christian Grothoff
2019
2020Fri, 17 Jan 2020 03:22:31 +0100 (00bd3376b)
2021quiet on psql - Christian Grothoff
2022
2023Fri, 17 Jan 2020 02:51:10 +0100 (8fa757a94)
2024auto-provide OS_IPK paths in [paths] of config - Christian Grothoff
2025
2026Fri, 17 Jan 2020 02:35:29 +0100 (3c1f2bdd8)
2027be more quiet - Christian Grothoff
2028
2029Fri, 17 Jan 2020 02:26:21 +0100 (4353432b9)
2030DB load API change - Christian Grothoff
2031
2032Fri, 17 Jan 2020 00:25:55 +0100 (1126181ab)
2033include buffer in main util header - Christian Grothoff
2034
2035Thu, 16 Jan 2020 17:11:58 +0100 (ec7870968)
2036add new versions of alpine packages (not yet in alpine repo) - xrs
2037
2038Wed, 15 Jan 2020 19:41:05 +0100 (5177efb74)
2039remove Taler-specific leftovers, we don't need them anymore - Florian Dold
2040
2041Wed, 15 Jan 2020 13:29:47 +0100 (9f36b6e9e)
2042add test vector generation for crypto ops - Florian Dold
2043
2044Wed, 15 Jan 2020 11:45:20 +0100 (9f3f1753e)
2045move buffer library from GNU Taler to GNUnet - Florian Dold
2046
2047Mon, 13 Jan 2020 18:58:13 -0600 (55d610bb3)
2048Fix copy/paste error checking for explicit_bzero - David Barksdale
2049
2050
2051Fri Dec 20 09:22:03 2019 +0900
2052 Released gnunet 0.12.0 -schanzen
2053
2054Fri Dec 20 09:22:03 2019 +0900
2055 Fixed BOX record label parsing -schanzen
2056
2057Mon Dec 16 09:33:36 2019 +0100
2058 Fixed mysql build -schanzen
2059
2060Sat 07 Dec 2019 02:38:53 PM CET
2061 Protocol-breaking change, using more standards-compliant
2062 EdDSA and RSA operations. Also changing POW function to
2063 make it less ASIC-compatible. This marks the switch to
2064 the 0.12.0 protocol family.
2065
2066Sun Dec 01 19:31:00 UTC 2019
2067 configure: Add --with-gnunet-logread.
2068 -ng0
2069
2070Sun Dec 1 12:26:11 2019 +0100
2071 GNS NSS plugin: Reject non-IDNA conforming names and
2072 trigger continue with next NSS plugin. -schanzen
2073
2074Sat Nov 30 23:32:03 2019 +0100
2075 GNS NSS plugin: Disabled if called as root. -CG
2076
2077Sat Nov 30 23:08:49 2019 +0100
2078 Fixed #3795: Switched to new PoW for NSE and GNS revocation.
2079 Functionality is ifdef guarded for 0.12. -CG
2080
2081Sat Nov 30 21:05:25 2019 +0100
2082 Fixed #5978:
2083 Added support for .<zkey> CNAMEs in the GNS resolver. -schanzen
2084
2085Sat Nov 30 20:27:51 2019 +0100
2086 Fixed #5979:
2087 Added support for .<zkey> DNS server names in GNS2DNS records.
2088 -schanzen
2089
2090Tue Nov 26 18:26:54 2019 +0100
2091 Crypto change: Use Curve25519 for ECDH and tweetnacl where we can.
2092 Functionality is ifdef guarded for 0.12. -fdold
2093
2094Nov 30 15:20:45 2019 +0100
2095 Fixed #5922:
2096 GNS names are now UTF-8. For DNS, names are converted to IDNA.
2097 Functionality is ifdef guarded for 0.12. -schanzen
2098
2099Wed Oct 30 10:50:00 UTC 2019
2100 Released gnunet 0.11.8
2101 -ng0
2102
2103Sun Oct 27 17:17:00 2019 +0200
2104 Released gnunet 0.11.7
2105 -schanzen, ng0
2106
2107Fri Oct 25 00:00:00 UTC 2019
2108 Dropped glpk dependency(-check). -ng0
2109
2110Wed Oct 23 20:55:12 2019 +0200
2111 Make REST service start per user in a multiuser setup.
2112 -schanzen
2113
2114Wed Oct 23 00:00:00 UTC 2019
2115 Remove setuid helpers. They never worked as intended. The
2116 fixed version is not portable and the defacto good way to
2117 handle this which is most portable is to let package managers
2118 handle this (as they do right now, the good ones), and let
2119 people handle this who read the documentation.
2120 This commit removes what would be patched out by the majority
2121 of package managers, which is setuid handling in Makefiles.
2122 It is very likely that no one will notice this code is gone.
2123 -ng0
2124
2125Thu Oct 17 00:00:00 UTC 2019
2126 Added support for doas, use it in some places conditionally
2127 if sudo is not present. Fixed sudo detection. -ng0
2128
2129Mon Oct 14 00:00:00 UTC 2019
2130 Added 'pretty' make rule to run uncrustify over the source tree.
2131 -ng0
2132
2133Mon Sep 16 00:00:00 UTC 2019
2134 Remove checks for CXX and CPP. Scans found no
2135 (remaining) cxx code. ccache with clang on
2136 NetBSD 9 hit no rebuilds. -ng0
2137
2138Mon Sep 10 00:00:00 UTC 2019
2139 Drop win32 and mingw support after discussion with
2140 Christian. It has been unmaintained in our code base
2141 for years and there are no known users.
2142 Future implementors for Windows 10 support can
2143 refer to this commit as reference. -ng0
2144
2145Mon Sep 9 00:00:00 UTC 2019
2146 Remove plibc, closes #5877 as discussed in
2147 https://lists.gnu.org/archive/html/gnunet-developers/2019-09/msg00002.html
2148 -ng0
2149
2150Sun Sep 1 13:25:07 2019 +0200
2151 Improved support for external applications/services wrt
2152 localization/gettext.
2153 https://lists.gnu.org/archive/html/gnunet-developers/2019-09/msg00000.html
2154
2155Tue 20 Aug 2019 04:32:09 PM CEST
2156 Fixed fatal bug in gnunet-bcd that prevented the main page
2157 from showing up. -CG
2158
2159Mon Aug 19 17:36:48 2019 +0200
2160 REST: Added API plugin to read/write GNUnet configuration options -alexia
2161
2162Sun Jul 28 00:00:00 2019 +0000
2163 Adding --enable-texinfo4 configure switch, defaulting to off.
2164 This allows distributors to override the texinfo 5.x and later
2165 commandline options we use, and allows us on the serverside to
2166 build html with newer output options. -ng0
2167
2168Wed 24 Jul 2019 05:43:43 PM CEST
2169 Releasing GNUnet 0.11.6. -CG
2170
2171Mon Jul 15 09:57:20 2019 +0200
2172 The REST server now has a configurable CORS Origin setting -schanzen
2173
2174Fri Jul 5 22:11:04 2019 +0200
2175 Added detection of SUID binaries
2176 through GNUNET_OS_get_suid_binary_path -lurchi
2177
2178Sat 29 Jun 2019 10:18:55 AM CEST
2179 Renamed "heap" namestore backend to "flat" as it does
2180 persist data in a file. Made it work with databases larger
2181 than 16 MB. -CG
2182
2183Fri Jun 28 14:10:53 2019 +0200
2184 RECLAIM: Reissue of tickets (same attributes, same identity)
2185 will no longer create a new ticket, but reuse the old. -alexia
2186
2187Thu Jun 27 10:34:46 2019 +0200
2188 The REST server now returns the Origin header value in the
2189 CORS header response. -schanzen
2190
2191Thu Jun 27 09:08:06 2019 +0200
2192 GNS NSS plugin will not timeout and not hang forever and block
2193 gethostbyname. Final resolution pending #5782 -schanzen
2194
2195Sat Jun 22 10:38:43 2019 +0200
2196 Add gnutls support for GNS CA certificate generation -schanzen
2197
2198Sat 15 Jun 2019 11:45:35 PM CEST
2199 Improved gnunet-gns performance for many ego scenario. -CG
2200
2201Fri 14 Jun 2019 07:17:40 PM CEST
2202 Add option to gnunet-identity to display private keys. -CG
2203
2204Wed Jun 5 21:19:46 2019 +0200
2205 Releasing GNUnet 0.11.5. -schanzen
2206
2207Wed May 29 11:17:49 2019 +0200
2208 Added CAA record type (RFC 6844). -schanzen
2209
2210Sat 25 May 2019 08:27:39 AM CEST
2211 Significantly speed-up ego creation and deletion via
2212 gnunet-identity command when there are many (hundreds)
2213 of egos at the same peer. -CG
2214
2215Sun May 12 12:00:00 2019 +0200
2216 Releasing GNUnet 0.11.4. -MS
2217
2218Thu May 9 23:35:24 2019 +0200
2219 gnunet-identity can now output the public key on creation of new
2220 egos, and -e can act as a filter when listing all egos. -CG
2221
2222Thu May 2 08:44:37 2019 +0200
2223 gnunet-arm now logs to file by default -CG
2224
2225Sat Apr 27 21:50:57 2019 +0200
2226 RECLAIM: Added ECDH encryption for authorization code payload -schanzen
2227
2228Sat 27 Apr 2019 06:36:31 AM CEST
2229 Bump libmicrohttpd version requirement as some intermediate
2230 versions have relevant bugs that cause problems. -CG
2231
2232Sat Apr 27 01:50:43 2019 +0200
2233 RECLAIM: No longer experimental -schanzen
2234
2235Fri Apr 26 11:08:21 2019 +0200
2236 REST: Configuration plugin added -schanzen
2237
2238Tue Apr 23 23:00:00 UTC 2019
2239 All manpages are properly licensed. -ng0
2240
2241Sun Apr 21 22:22:22 UTC 2019
2242 All manpages are now in mdoc format. -ng0
2243
2244Sat Apr 20 18:38:43 UTC 2019
2245 Remove optional gnunet-download-manager.scm and
2246 with it the optional dependency on a no longer
2247 maintained version of GNU Guile (#5682). -ng0
2248
2249Sun Apr 14 09:54:20 2019 +0200
2250 RECLAIM: Moved away from ABE to GNS encryption. Minor API changed and
2251 renaming of records. Deprecated SQLite plugin in favor of namestore.
2252 -schanzen
2253
2254Sun Apr 7 14:40:59 2019 +0200
2255 Releasing GNUnet 0.11.3. -CG
2256
2257Sat 06 Apr 2019 02:36:17 PM CEST
2258 Introducing GNUNET_memcmp() and GNUNET_is_zero() for better typing
2259 when comparing memory areas. -CG
2260
2261Fri 05 Apr 2019 11:38:53 PM CEST
2262 Use paths of sysctl, ip, ifconfig and ip(6)tables from configure
2263 if they work. (#5352). -CG
2264
2265Thu 04 Apr 2019 12:39:44 PM CEST
2266 Hotfix for build issue. Releasing GNUnet 0.11.2. -CG/MS
2267
2268Wed 03 Apr 2019 03:18:43 PM CEST
2269 Releasing GNUnet 0.11.1. -CG
2270
2271Wed 03 Apr 2019 01:54:44 PM CEST
2272 Merged gnunet-qr-c-2 branch, replacing Python-based implementation
2273 of gnunet-qr with C-based implementation that also integrates
2274 gnunet-uri. -HG/MS/CG
2275
2276Wed 03 Apr 2019 01:15:57 PM CEST
2277 Fixed a few test case regressions (GNS, FS). -CG
2278
2279Mon Apr 1 22:00:00 UTC 2019
2280 documentation/buildsystem: manpages and other documentation parts
2281 can now be build more controlled again, this fixes the regression
2282 in 0.11.0 where documentation was an on/off switch.
2283 New introduced: --enable-include-manpages.
2284 Fixed: texi2mdoc integration (--enable-texi2mdoc-generation).
2285 buildsystem: decrease python dependency to 3.4 from
2286 previously 3.7.
2287 -ng0
2288
2289Tue Mar 12 10:06:17 CET 2019
2290 REST: Move back from rest-plugin into respective subsystem directories.
2291
2292Mon Mar 11 02:47:55 CET 2019
2293 Make configure complain if no working libidn is detected. -CG
2294
2295Sat Mar 9 15:58:45 2019 +0100
2296 REST: Config option for address bind. Defaults to localhost.
2297 GNS: dns2gns/gns-proxy config option for address bind. Defaults to localhost.
2298
2299Sat Mar 9 01:58:22 CET 2019
2300 gnunet-publish now by default does not expose the creation time,
2301 option -d no longer exists, to enable the old behavior use -E. -CG
2302
2303Sat Mar 2 14:23:10 2019 +0100
2304 utils: gnunet-qr.py now installed under pkgshare instead of bin
2305
2306Thu Feb 28 19:07:59 CET 2019
2307 CADET: Fix in order, unrealiable message ordering
2308
2309Thu 28 Feb 2019 10:54:58 AM CET
2310 Releasing GNUnet 0.11.0. -CG
2311
2312Wed Jun 6 08:28:27 CEST 2018
2313 Releasing GNUnet 0.11.0pre66. Let's try to keep a better
2314 ChangeLog again henceforth. -CG
2315
2316Sat Jan 7 16:41:34 CET 2017
2317 Converting NAT library to new NAT service (and
2318 splitting of nat-auto service for auto-configuration). -CG
diff --git a/NEWS b/NEWS
index 898a3dab3..746ec2884 100644
--- a/NEWS
+++ b/NEWS
@@ -1 +1,2 @@
1See ChangeLog. 1v0.19.2 (e9bc4c898):
2 - New changelog format origin \ No newline at end of file
diff --git a/bin/pogen.sh b/bin/pogen.sh
index b97ef046a..a68152bf4 100755
--- a/bin/pogen.sh
+++ b/bin/pogen.sh
@@ -3,6 +3,8 @@
3 3
4# Set language domain to C for a more stable sort! 4# Set language domain to C for a more stable sort!
5export LANG=C 5export LANG=C
6# Manual says, it should be LC_ALL...
7export LC_ALL=C
6 8
7find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in 9find src -name "*.c" | grep -v \# | grep -v /test_ | grep -v /perf_ | grep -v _old | grep -v chat | grep -v .libs/ | sort > po/POTFILES.in
8grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in 10grep -l _\( `find src -name "*.h"` | grep -v "platform.h" | grep -v _old | grep -v chat | sort >> po/POTFILES.in
diff --git a/bootstrap b/bootstrap
index 9c830d471..69f2cc863 100755
--- a/bootstrap
+++ b/bootstrap
@@ -40,8 +40,8 @@ check_uncrustify()
40{ 40{
41 if existence uncrustify; then 41 if existence uncrustify; then
42 echo "Installing uncrustify hook and configuration" 42 echo "Installing uncrustify hook and configuration"
43 ln -fs contrib/conf/uncrustify.cfg uncrustify.cfg 2> /dev/null 43 ln -fs $(pwd)/contrib/conf/uncrustify.cfg uncrustify.cfg 2> /dev/null
44 ln -fs contrib/conf/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null 44 ln -fs $(pwd)/contrib/conf/uncrustify_precommit .git/hooks/pre-commit 2> /dev/null
45 else 45 else
46 echo "Uncrustify not detected, hook not installed." 46 echo "Uncrustify not detected, hook not installed."
47 echo "Please install uncrustify if you plan on doing development" 47 echo "Please install uncrustify if you plan on doing development"
@@ -173,6 +173,12 @@ gana_update()
173 echo "GANA finished" 173 echo "GANA finished"
174} 174}
175 175
176install_hooks()
177{
178 ln -fs $(pwd)/contrib/conf/prepare-commit-msg .git/hooks/prepare-commit-msg 2> /dev/null
179 ln -fs $(pwd)/contrib/conf/commit-msg .git/hooks/commit-msg 2> /dev/null
180}
181
176main() 182main()
177{ 183{
178 cleanup 184 cleanup
@@ -182,6 +188,7 @@ main()
182 check_uncrustify 188 check_uncrustify
183 check_yapf 189 check_yapf
184 check_libtool 190 check_libtool
191 install_hooks
185} 192}
186 193
187main "$@" 194main "$@"
diff --git a/contrib/conf/commit-msg b/contrib/conf/commit-msg
new file mode 100755
index 000000000..f6e73d5cc
--- /dev/null
+++ b/contrib/conf/commit-msg
@@ -0,0 +1,34 @@
1#!/bin/bash
2
3# use as .git/hooks/commit-msg
4
5COMMIT_MSG_FILE=$1
6
7exec 1>&2
8
9RET=0
10changed=$(git diff --cached --name-only)
11
12for f in $changed;
13do
14 # Only headers in include
15 if echo $f | grep \src\/include\/.\*\.h\$ > /dev/null
16 then
17 RET=1
18 # Check if it has a ChangeLog line
19 if cat $COMMIT_MSG_FILE | grep -i "^NEWS:\s[-,a-zA-Z][a-zA-Z]*" > /dev/null
20 then
21 RET=0
22 break
23 fi
24 fi
25done
26
27# If no ChangeLog line found, abort
28if [ $RET = 1 ];
29then
30 echo "Your commit includes staged changes that indicate an API change which requires a ChangeLog line."
31else
32 echo "Your commit does not include API changes"
33fi
34exit $RET
diff --git a/contrib/conf/prepare-commit-msg b/contrib/conf/prepare-commit-msg
new file mode 100755
index 000000000..0266f5558
--- /dev/null
+++ b/contrib/conf/prepare-commit-msg
@@ -0,0 +1,39 @@
1#!/bin/bash
2
3# use as .git/hooks/pre-commit
4
5COMMIT_MSG_FILE=$1
6COMMIT_SOURCE=$2
7SHA1=$3
8
9exec 1>&2
10
11RET=0
12changed=$(git diff --cached --name-only)
13
14for f in $changed;
15do
16 # Only headers in include
17 if echo $f | grep \src\/include\/.\*\.h\$ > /dev/null
18 then
19 RET=1
20 fi
21done
22
23# Only add custom message when there is no commit source
24# ($COMMIT_SOURCE is empty). Otherwise, keep the default message
25# proposed by Git. Possible commit source: message, template,
26# merge, squash or commit.
27if [ -z "$COMMIT_SOURCE" ];
28then
29 hint=$(cat "$COMMIT_MSG_FILE")
30 echo ": Fixes #" > "$COMMIT_MSG_FILE"
31 echo -e "# Our commit subject format policy is:\n# <subsystem>: <description>\n# Adding 'Issue #1234'/'Fixes #1234' into the description will automatically update/resolve issue #1234 in mantis." >> "$COMMIT_MSG_FILE"
32 if [ $RET = 1 ];
33 then
34 echo -e "\n# Your commit includes staged changes that indicate an API change which requires a ChangeLog line." >> "$COMMIT_MSG_FILE"
35 echo "NEWS: " >> "$COMMIT_MSG_FILE"
36 fi
37 echo "$hint" >> "$COMMIT_MSG_FILE"
38fi
39exit 0
diff --git a/contrib/gana b/contrib/gana
Subproject ab275183e41a202848788bcd5c3a33c64aa6d06 Subproject 79163ab6ea6f6cfe7f4311f91fb45c747b8c33d
diff --git a/contrib/get_version.sh b/contrib/get_version.sh
index 7366c6bf6..6e3ab5141 100755
--- a/contrib/get_version.sh
+++ b/contrib/get_version.sh
@@ -5,7 +5,7 @@ if test -f ".version"
5then 5then
6 VERSION=$(cat .version) 6 VERSION=$(cat .version)
7fi 7fi
8if test -d "./.git" 8if [ -e ./.git ]
9then 9then
10 VERSION=$(git describe --tags) 10 VERSION=$(git describe --tags)
11 VERSION=${VERSION#v} 11 VERSION=${VERSION#v}
diff --git a/contrib/scripts/changelog_delta.sh b/contrib/scripts/changelog_delta.sh
deleted file mode 100755
index 988434903..000000000
--- a/contrib/scripts/changelog_delta.sh
+++ /dev/null
@@ -1,18 +0,0 @@
1#!/bin/bash
2if [ $2 == "plain" ]; then
3 FORMAT=" - %s%n%b"
4 echo "Changes since $1:"
5elif [ $2 == "html" ]; then
6 FORMAT=" <li>%s<br>%b</li>"
7 echo "<ul>"
8elif [ $2 == "changelog" ]; then
9 FORMAT="%aD (%h)%n%s%n%b%nby: %cN%n"
10fi
11
12git --no-pager log --grep="^[a-zA-Z]*: " --no-merges --no-color --format="$FORMAT" $1..HEAD
13
14if [ $2 == "html" ]; then
15 echo "</ul>"
16fi
17
18
diff --git a/contrib/scripts/news_delta.sh b/contrib/scripts/news_delta.sh
new file mode 100755
index 000000000..20fb98649
--- /dev/null
+++ b/contrib/scripts/news_delta.sh
@@ -0,0 +1,6 @@
1#!/bin/bash
2
3OLDVERSION=$1
4
5git --no-pager log --grep="^NEWS: " -i --no-merges --no-color --format="%s%n%b" $1..HEAD | grep -i "^NEWS:\s[a-zA-Z][a-zA-Z]*" | sed 's/NEWS:/ -/i'
6echo ""
diff --git a/contrib/scripts/update_changelog.sh b/contrib/scripts/update_changelog.sh
deleted file mode 100644
index 988ca6490..000000000
--- a/contrib/scripts/update_changelog.sh
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/bash
2DELTA_SH="contrib/scripts/changelog_delta.sh"
3LASTHASH=$(head -n1 ChangeLog | cut -d " " -f 7 | tr -d \( | tr -d \))
4
5$DELTA_SH $LASTHASH changelog > ChangeLog.delta || exit 1
6cp ChangeLog ChangeLog.bak || exit 1
7cat ChangeLog.delta > ChangeLog || exit 1
8cat ChangeLog.bak >> ChangeLog || exit 1
9rm ChangeLog.bak ChangeLog.delta
10
diff --git a/contrib/scripts/update_news.sh b/contrib/scripts/update_news.sh
new file mode 100644
index 000000000..2ee5fa3dc
--- /dev/null
+++ b/contrib/scripts/update_news.sh
@@ -0,0 +1,15 @@
1#!/bin/bash
2NEW_VERSION=$1
3if [ -z $NEW_VERSION ]; then
4 NEW_VERSION="Unreleased"
5fi
6DELTA_SH="contrib/scripts/news_delta.sh"
7LASTHASH=$(head -n1 NEWS | cut -d " " -f 2 | tr -d \( | tr -d \) | tr -d :)
8
9echo "$NEW_VERSION ($(git rev-parse --short HEAD)):" > NEWS.delta || exit 1
10$DELTA_SH $LASTHASH >> NEWS.delta || exit 1
11cp NEWS NEWS.bak || exit 1
12cat NEWS.delta > NEWS || exit 1
13cat NEWS.bak >> NEWS || exit 1
14rm NEWS.bak NEWS.delta
15
diff --git a/contrib/sphinx b/contrib/sphinx
Subproject 378f616d277a6064653175c11dc318263069fb8 Subproject 4f40b5deca02c8dc64ff6c73e6602e6abdd1bae
diff --git a/debian/changelog b/debian/changelog
index 351d035c6..e08fd4712 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,26 @@
1gnunet (0.19.2-1) unstable; urgency=low
2
3 * Importing minor post-release fixes from upstream for Debian package.
4
5 -- Christian Grothoff <grothoff@gnu.org> Tue, 17 Jan 2023 22:14:18 +0200
6
7gnunet (0.19.2) unstable; urgency=low
8
9 * New upstream release, bumping version.
10
11 -- Christian Grothoff <grothoff@gnu.org> Tue, 17 Jan 2023 21:14:18 +0200
12
1gnunet (0.18.1) unstable; urgency=low 13gnunet (0.18.1) unstable; urgency=low
2 14
3 * Packaging latest release. 15 * Packaging latest release.
4 16
5 -- Christian Grothoff <grothoff@gnu.org> Fri, Nov 4 2022 09:50:12 +0200 17 -- Christian Grothoff <grothoff@gnu.org> Fri, 04 Nov 2022 09:50:12 +0200
6 18
7gnunet (0.17.6) unstable; urgency=low 19gnunet (0.17.6) unstable; urgency=low
8 20
9 * Packaging latest release. 21 * Packaging latest release.
10 22
11 -- Christian Grothoff <grothoff@gnu.org> Mon, Sep 26 2022 09:50:12 +0200 23 -- Christian Grothoff <grothoff@gnu.org> Mon, 26 Sep 2022 09:50:12 +0200
12 24
13gnunet (0.17.1) unstable; urgency=low 25gnunet (0.17.1) unstable; urgency=low
14 26
diff --git a/debian/gnunet.install b/debian/gnunet.install
index d3160c6fb..1776032db 100644
--- a/debian/gnunet.install
+++ b/debian/gnunet.install
@@ -3,6 +3,7 @@ usr/bin/
3usr/lib/*/gnunet/libexec/gnunet-cmds-helper 3usr/lib/*/gnunet/libexec/gnunet-cmds-helper
4usr/lib/*/gnunet/ 4usr/lib/*/gnunet/
5usr/lib/*/*.so.* 5usr/lib/*/*.so.*
6usr/share/applications/gnunet-uri.desktop
6usr/share/man/ 7usr/share/man/
7usr/share/info/ 8usr/share/info/
8usr/share/doc/gnunet/ 9usr/share/doc/gnunet/
diff --git a/gnunet_private_config.h.in b/gnunet_private_config.h.in
deleted file mode 100644
index fb18dae28..000000000
--- a/gnunet_private_config.h.in
+++ /dev/null
@@ -1,741 +0,0 @@
1/* gnunet_private_config.h.in. Generated from configure.ac by autoheader. */
2
3#define _GNU_SOURCE 1
4
5/* Define to 1 if this is an Apple Darwin system */
6#undef DARWIN
7
8/* Define to 1 if only documentation is being built */
9#undef DOCUMENTATION_ONLY
10
11/* Define to 1 if freed memory is poisoned */
12#undef ENABLED_POISONING
13
14/* Define to 1 if benchmarks are enabled */
15#undef ENABLE_BENCHMARK
16
17/* Define to 1 if expensive heap statistics should be enabled */
18#undef ENABLE_HEAP_STATISTICS
19
20/* Define to 1 if malicious code paths should be compiled */
21#undef ENABLE_MALICIOUS
22
23/* Define to 1 if translation of program messages to the user's native
24 language is requested. */
25#undef ENABLE_NLS
26
27/* Define to 1 if NSE should send timestamp information */
28#undef ENABLE_NSE_HISTOGRAM
29
30/* Define if transport (not TNG) should warn about sending times. */
31#undef ENABLE_TTD
32
33/* Define to 1 if this is a GNU system */
34#undef GNU
35
36/* Define to 1 to cull all logging calls */
37#undef GNUNET_CULL_LOGGING
38
39/* The default choice for the name of the first network interface */
40#undef GNUNET_DEFAULT_INTERFACE
41
42/* Set to 1 is this is an experimental build */
43#undef GNUNET_EXPERIMENTAL
44
45/* Define to 1 if extra logging is enabled, 2 for very verbose logging */
46#undef GNUNET_EXTRA_LOGGING
47
48/* Define to 1 if gnunet-logread is available */
49#undef GNUNET_LOGREAD
50
51/* Define to 1 if you have the <argz.h> header file. */
52#undef HAVE_ARGZ_H
53
54/* Define to 1 if you have the <arpa/inet.h> header file. */
55#undef HAVE_ARPA_INET_H
56
57/* Define to 1 if you have the `atoll' function. */
58#undef HAVE_ATOLL
59
60/* Define to 1 if awk is available */
61#undef HAVE_AWK
62
63/* Define to 1 if you have the <bluetooth/bluetooth.h> header file. */
64#undef HAVE_BLUETOOTH_BLUETOOTH_H
65
66/* Define to 1 if you have the <byteswap.h> header file. */
67#undef HAVE_BYTESWAP_H
68
69/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
70 CoreFoundation framework. */
71#undef HAVE_CFLOCALECOPYCURRENT
72
73/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
74 the CoreFoundation framework. */
75#undef HAVE_CFPREFERENCESCOPYAPPVALUE
76
77/* Define to 1 if your system has a working `chown' function. */
78#undef HAVE_CHOWN
79
80/* Define to 1 if you have the <ctype.h> header file. */
81#undef HAVE_CTYPE_H
82
83/* Define if the GNU dcgettext() function is already present or preinstalled.
84 */
85#undef HAVE_DCGETTEXT
86
87/* Define to 1 if you have the declaration of `CURLINFO_TLS_SSL_PTR', and to 0
88 if you don't. */
89#undef HAVE_DECL_CURLINFO_TLS_SSL_PTR
90
91/* Define to 1 if you have the declaration of `gcry_mpi_set_opaque_copy', and
92 to 0 if you don't. */
93#undef HAVE_DECL_GCRY_MPI_SET_OPAQUE_COPY
94
95/* Define to 1 if you have the declaration of `struct in6_ifreq', and to 0 if
96 you don't. */
97#undef HAVE_DECL_STRUCT_IN6_IFREQ
98
99/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
100 */
101#undef HAVE_DIRENT_H
102
103/* Define to 1 if you have the <dlfcn.h> header file. */
104#undef HAVE_DLFCN_H
105
106/* Define to 1 if you have the <endian.h> header file. */
107#undef HAVE_ENDIAN_H
108
109/* Define to 1 if you have the <errno.h> header file. */
110#undef HAVE_ERRNO_H
111
112/* Define to 1 if you have the <execinfo.h> header file. */
113#undef HAVE_EXECINFO_H
114
115/* Define to 1 if explicit_bzero is supported */
116#undef HAVE_EXPLICIT_BZERO
117
118/* Define to 1 if you have the <extractor.h> header file. */
119#undef HAVE_EXTRACTOR_H
120
121/* Define to 1 if you have the <fcntl.h> header file. */
122#undef HAVE_FCNTL_H
123
124/* Define to 1 if you have the `fork' function. */
125#undef HAVE_FORK
126
127/* Define to 1 if you have the `freeifaddrs' function. */
128#undef HAVE_FREEIFADDRS
129
130/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
131#undef HAVE_FSEEKO
132
133/* Define to 1 if getaddrinfo_a is supported */
134#undef HAVE_GETADDRINFO_A
135
136/* Define to 1 if you have the `gethostbyname2' function. */
137#undef HAVE_GETHOSTBYNAME2
138
139/* Define to 1 if you have the `getifaddrs' function. */
140#undef HAVE_GETIFADDRS
141
142/* Define to 1 if you have the `getloadavg' function. */
143#undef HAVE_GETLOADAVG
144
145/* Define to 1 if you have the `getpeereid' function. */
146#undef HAVE_GETPEEREID
147
148/* Define to 1 if you have the `getpeerucred' function. */
149#undef HAVE_GETPEERUCRED
150
151/* Define to 1 if you have the `getresgid' function. */
152#undef HAVE_GETRESGID
153
154/* Define to 1 if you have the `getrlimit' function. */
155#undef HAVE_GETRLIMIT
156
157/* Define to 1 if you have the `getrusage' function. */
158#undef HAVE_GETRUSAGE
159
160/* Define if the GNU gettext() function is already present or preinstalled. */
161#undef HAVE_GETTEXT
162
163/* Define to 1 if GnuTLS is available */
164#undef HAVE_GNUTLS
165
166/* Define to 1 if you have the <gnutls/abstract.h> header file. */
167#undef HAVE_GNUTLS_ABSTRACT_H
168
169/* Define to 1 if GnuTLS has DANE support */
170#undef HAVE_GNUTLS_DANE
171
172/* Define to 1 if you have the <gnutls/dane.h> header file. */
173#undef HAVE_GNUTLS_DANE_H
174
175/* Define if you have the iconv() function and it works. */
176#undef HAVE_ICONV
177
178/* Define to 1 if you have the <idn2.h> header file. */
179#undef HAVE_IDN2_H
180
181/* Define to 1 if you have the <idn2/idn2.h> header file. */
182#undef HAVE_IDN2_IDN2_H
183
184/* Define to 1 if you have the <idna.h> header file. */
185#undef HAVE_IDNA_H
186
187/* Define to 1 if you have the <idn/idna.h> header file. */
188#undef HAVE_IDN_IDNA_H
189
190/* Define to 1 if you have the <ifaddrs.h> header file. */
191#undef HAVE_IFADDRS_H
192
193/* Define to 1 if you have the `initgroups' function. */
194#undef HAVE_INITGROUPS
195
196/* Define to 1 if you have the <inttypes.h> header file. */
197#undef HAVE_INTTYPES_H
198
199/* Define to 1 if available */
200#undef HAVE_JANSSON
201
202/* Define to 1 if you have the <jansson.h> header file. */
203#undef HAVE_JANSSON_H
204
205/* Define to 1 if available */
206#undef HAVE_JOSE
207
208/* Define to 1 if you have the <jose/jose.h> header file. */
209#undef HAVE_JOSE_JOSE_H
210
211/* Define to 1 if you have the <langinfo.h> header file. */
212#undef HAVE_LANGINFO_H
213
214/* Define to 1 if libatomic is external */
215#undef HAVE_LIBATOMIC
216
217/* Define to 1 if available */
218#undef HAVE_LIBBLUETOOTH
219
220/* Define to 1 if you have a functional curl library. */
221#undef HAVE_LIBCURL
222
223/* Define to 1 if available */
224#undef HAVE_LIBEXTRACTOR
225
226/* Define to 1 if libidn is available */
227#undef HAVE_LIBIDN
228
229/* Define to 1 if libidn2 is available */
230#undef HAVE_LIBIDN2
231
232/* Define to 1 if you have the `intl' library (-lintl). */
233#undef HAVE_LIBINTL
234
235/* Define to 1 if you have the <libintl.h> header file. */
236#undef HAVE_LIBINTL_H
237
238/* Define to 1 if you have the `kstat' library (-lkstat). */
239#undef HAVE_LIBKSTAT
240
241/* Define to 1 if you have the `kvm' library (-lkvm). */
242#undef HAVE_LIBKVM
243
244/* Define to 1 if you have the `m' library (-lm). */
245#undef HAVE_LIBM
246
247/* Define to 1 if you have the <libpq-fe.h> header file. */
248#undef HAVE_LIBPQ_FE_H
249
250/* Define to 1 if you have the `resolv' library (-lresolv). */
251#undef HAVE_LIBRESOLV
252
253/* Define to 1 if you have the `rt' library (-lrt). */
254#undef HAVE_LIBRT
255
256/* Define to 1 if you have the `socket' library (-lsocket). */
257#undef HAVE_LIBSOCKET
258
259/* Define if you have the libunistring library. */
260#undef HAVE_LIBUNISTRING
261
262/* Define to 1 if you have the <limits.h> header file. */
263#undef HAVE_LIMITS_H
264
265/* Define to 1 if you have the <locale.h> header file. */
266#undef HAVE_LOCALE_H
267
268/* Define to 1 if available */
269#undef HAVE_LTDL
270
271/* Define to 1 if you have the <ltdl.h> header file. */
272#undef HAVE_LTDL_H
273
274/* Define to 1 if you have the <mach/mach.h> header file. */
275#undef HAVE_MACH_MACH_H
276
277/* Define to 1 if you have the `mallinfo2' function. */
278#undef HAVE_MALLINFO2
279
280/* Define to 1 if you have the <malloc.h> header file. */
281#undef HAVE_MALLOC_H
282
283/* Define to 1 if you have the <malloc/malloc.h> header file. */
284#undef HAVE_MALLOC_MALLOC_H
285
286/* Define to 1 if you have the <malloc/malloc_np.h> header file. */
287#undef HAVE_MALLOC_MALLOC_NP_H
288
289/* Define to 1 if you have the `malloc_size' function. */
290#undef HAVE_MALLOC_SIZE
291
292/* Define to 1 if you have the `malloc_usable_size' function. */
293#undef HAVE_MALLOC_USABLE_SIZE
294
295/* Define to 1 if you have the <math.h> header file. */
296#undef HAVE_MATH_H
297
298/* Define to 1 if memchr is supported */
299#undef HAVE_MEMCHR
300
301/* Define to 1 if memset_s is supported */
302#undef HAVE_MEMSET_S
303
304/* Define to 1 if libmicrohttpd is available */
305#undef HAVE_MHD
306
307/* Define to 1 if you have the `mremap' function. */
308#undef HAVE_MREMAP
309
310/* Define to 1 if MySQL is at least version 8 */
311#undef HAVE_MYSQL8
312
313/* Define to 1 if you have the <mysql/mysql.h> header file. */
314#undef HAVE_MYSQL_MYSQL_H
315
316/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
317#undef HAVE_NDIR_H
318
319/* Define to 1 if you have the <netdb.h> header file. */
320#undef HAVE_NETDB_H
321
322/* Define to 1 if you have the <netinet/in.h> header file. */
323#undef HAVE_NETINET_IN_H
324
325/* Define to 1 if you have the <netinet/in.h,> header file. */
326#undef HAVE_NETINET_IN_H_
327
328/* Define to 1 if you have the <netinet/in_systm.h> header file. */
329#undef HAVE_NETINET_IN_SYSTM_H
330
331/* Define to 1 if you have the <netinet/ip.h> header file. */
332#undef HAVE_NETINET_IP_H
333
334/* Define to 1 if you have the <nss.h> header file. */
335#undef HAVE_NSS_H
336
337/* Define to 1 if available */
338#undef HAVE_OGG
339
340/* Define to 1 if you have the <ogg/ogg.h> header file. */
341#undef HAVE_OGG_OGG_H
342
343/* Define to 1 if available */
344#undef HAVE_OPUS
345
346/* Define to 1 if you have the <opus/opus.h> header file. */
347#undef HAVE_OPUS_OPUS_H
348
349/* Define to 1 if available */
350#undef HAVE_PABC
351
352/* Define to 1 if you have the <pabc/pabc.h> header file. */
353#undef HAVE_PABC_PABC_H
354
355/* Define to 1 if perl is available */
356#undef HAVE_PERL
357
358/* Define to 1 if libpng is available */
359#undef HAVE_PNG
360
361/* Define to 1 if you have the <png.h> header file. */
362#undef HAVE_PNG_H
363
364/* Define to 1 if Postgres is available */
365#undef HAVE_POSTGRESQL
366
367/* Define to 1 if available */
368#undef HAVE_PULSE
369
370/* Define to 1 if you have the <pulse/simple.h> header file. */
371#undef HAVE_PULSE_SIMPLE_H
372
373/* Define to 1 if you have the `random' function. */
374#undef HAVE_RANDOM
375
376/* Define to 1 if you have the `setresuid' function. */
377#undef HAVE_SETRESUID
378
379/* Define to 1 if you have the `setrlimit' function. */
380#undef HAVE_SETRLIMIT
381
382/* Define to 1 if you have the <signal.h> header file. */
383#undef HAVE_SIGNAL_H
384
385/* Define to 1 if struct sockaddr_in has sin_len field */
386#undef HAVE_SOCKADDR_IN_SIN_LEN
387
388/* Define to 1 if struct sockaddr_un has sun_len field */
389#undef HAVE_SOCKADDR_UN_SUN_LEN
390
391/* Define to 1 if you have the <sockLib.h> header file. */
392#undef HAVE_SOCKLIB_H
393
394/* Define to 1 if available */
395#undef HAVE_SQLITE
396
397/* Define to 1 if you have the <sqlite3.h> header file. */
398#undef HAVE_SQLITE3_H
399
400/* Define to 1 if you have the `srandom' function. */
401#undef HAVE_SRANDOM
402
403/* Define to 1 if you have the `stat' function. */
404#undef HAVE_STAT
405
406/* Define to 1 if you have the `stat64' function. */
407#undef HAVE_STAT64
408
409/* Define to 1 if you have the `statfs' function. */
410#undef HAVE_STATFS
411
412/* Define to 1 if you have the `statvfs' function. */
413#undef HAVE_STATVFS
414
415/* Define to 1 if you have the <stdarg.h> header file. */
416#undef HAVE_STDARG_H
417
418/* Define to 1 if you have the <stdatomic.h> header file. */
419#undef HAVE_STDATOMIC_H
420
421/* Define to 1 if stdbool.h conforms to C99. */
422#undef HAVE_STDBOOL_H
423
424/* Define to 1 if you have the <stdint.h> header file. */
425#undef HAVE_STDINT_H
426
427/* Define to 1 if you have the <stdio.h> header file. */
428#undef HAVE_STDIO_H
429
430/* Define to 1 if you have the <stdlib.h> header file. */
431#undef HAVE_STDLIB_H
432
433/* Define to 1 if you have the <strings.h> header file. */
434#undef HAVE_STRINGS_H
435
436/* Define to 1 if you have the <string.h> header file. */
437#undef HAVE_STRING_H
438
439/* Define to 1 if you have the `strndup' function. */
440#undef HAVE_STRNDUP
441
442/* Define to 1 if you have the `strnlen' function. */
443#undef HAVE_STRNLEN
444
445/* Define to 1 if you have the `sysconf' function. */
446#undef HAVE_SYSCONF
447
448/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
449 */
450#undef HAVE_SYS_DIR_H
451
452/* Define to 1 if you have the <sys/endian.h> header file. */
453#undef HAVE_SYS_ENDIAN_H
454
455/* Define to 1 if you have the <sys/file.h> header file. */
456#undef HAVE_SYS_FILE_H
457
458/* Define to 1 if you have the <sys/ioctl.h> header file. */
459#undef HAVE_SYS_IOCTL_H
460
461/* Define to 1 if you have the <sys/mman.h> header file. */
462#undef HAVE_SYS_MMAN_H
463
464/* Define to 1 if you have the <sys/mount.h> header file. */
465#undef HAVE_SYS_MOUNT_H
466
467/* Define to 1 if you have the <sys/msg.h> header file. */
468#undef HAVE_SYS_MSG_H
469
470/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
471 */
472#undef HAVE_SYS_NDIR_H
473
474/* Define to 1 if you have the <sys/param.h> header file. */
475#undef HAVE_SYS_PARAM_H
476
477/* Define to 1 if you have the <sys/resource.h> header file. */
478#undef HAVE_SYS_RESOURCE_H
479
480/* Define to 1 if you have the <sys/select.h> header file. */
481#undef HAVE_SYS_SELECT_H
482
483/* Define to 1 if you have the <sys/socket.h> header file. */
484#undef HAVE_SYS_SOCKET_H
485
486/* Define to 1 if you have the <sys/statvfs.h> header file. */
487#undef HAVE_SYS_STATVFS_H
488
489/* Define to 1 if you have the <sys/stat.h> header file. */
490#undef HAVE_SYS_STAT_H
491
492/* Define to 1 if you have the <sys/sysinfo.h> header file. */
493#undef HAVE_SYS_SYSINFO_H
494
495/* Define to 1 if you have the <sys/timeb.h> header file. */
496#undef HAVE_SYS_TIMEB_H
497
498/* Define to 1 if you have the <sys/time.h> header file. */
499#undef HAVE_SYS_TIME_H
500
501/* Define to 1 if you have the <sys/types.h> header file. */
502#undef HAVE_SYS_TYPES_H
503
504/* Define to 1 if you have the <sys/ucred.h> header file. */
505#undef HAVE_SYS_UCRED_H
506
507/* Define to 1 if you have the <sys/vfs.h> header file. */
508#undef HAVE_SYS_VFS_H
509
510/* Define to 1 if __thread is supported */
511#undef HAVE_THREAD_LOCAL_GCC
512
513/* Define to 1 if you have the `timegm' function. */
514#undef HAVE_TIMEGM
515
516/* Define to 1 if struct tm has the tm_gmtoff member */
517#undef HAVE_TM_GMTOFF
518
519/* Define to 1 if you have the <ucred.h> header file. */
520#undef HAVE_UCRED_H
521
522/* We can access-64 bit values that are only 32-bit aligned */
523#undef HAVE_UNALIGNED_64_ACCESS
524
525/* Define to 1 if you have the <unistd.h> header file. */
526#undef HAVE_UNISTD_H
527
528/* Define to 1 if you have the `vfork' function. */
529#undef HAVE_VFORK
530
531/* Define to 1 if you have the <vfork.h> header file. */
532#undef HAVE_VFORK_H
533
534/* Define to 1 if you have the `wait4' function. */
535#undef HAVE_WAIT4
536
537/* Define to 1 if `fork' works. */
538#undef HAVE_WORKING_FORK
539
540/* Define to 1 if `vfork' works. */
541#undef HAVE_WORKING_VFORK
542
543/* Define to 1 if available */
544#undef HAVE_ZBAR
545
546/* Define to 1 if you have the <zbar.h> header file. */
547#undef HAVE_ZBAR_H
548
549/* Define to 1 if zlib is available */
550#undef HAVE_ZLIB
551
552/* Define to 1 if the system has the type `_Bool'. */
553#undef HAVE__BOOL
554
555/* Define as const if the declaration of iconv() needs const. */
556#undef ICONV_CONST
557
558/* Path to ifconfig */
559#undef IFCONFIG
560
561/* How to include if_tun.h */
562#undef IF_TUN_HDR
563
564/* Define to 1 if man pages are included */
565#undef INCLUDE_MANPAGES
566
567/* Path to ip6tables */
568#undef IP6TABLES
569
570/* Path to iptables */
571#undef IPTABLES
572
573/* Defined if libcurl supports AsynchDNS */
574#undef LIBCURL_FEATURE_ASYNCHDNS
575
576/* Defined if libcurl supports IDN */
577#undef LIBCURL_FEATURE_IDN
578
579/* Defined if libcurl supports IPv6 */
580#undef LIBCURL_FEATURE_IPV6
581
582/* Defined if libcurl supports KRB4 */
583#undef LIBCURL_FEATURE_KRB4
584
585/* Defined if libcurl supports libz */
586#undef LIBCURL_FEATURE_LIBZ
587
588/* Defined if libcurl supports NTLM */
589#undef LIBCURL_FEATURE_NTLM
590
591/* Defined if libcurl supports SSL */
592#undef LIBCURL_FEATURE_SSL
593
594/* Defined if libcurl supports SSPI */
595#undef LIBCURL_FEATURE_SSPI
596
597/* Defined if libcurl supports DICT */
598#undef LIBCURL_PROTOCOL_DICT
599
600/* Defined if libcurl supports FILE */
601#undef LIBCURL_PROTOCOL_FILE
602
603/* Defined if libcurl supports FTP */
604#undef LIBCURL_PROTOCOL_FTP
605
606/* Defined if libcurl supports FTPS */
607#undef LIBCURL_PROTOCOL_FTPS
608
609/* Defined if libcurl supports HTTP */
610#undef LIBCURL_PROTOCOL_HTTP
611
612/* Defined if libcurl supports HTTPS */
613#undef LIBCURL_PROTOCOL_HTTPS
614
615/* Defined if libcurl supports IMAP */
616#undef LIBCURL_PROTOCOL_IMAP
617
618/* Defined if libcurl supports LDAP */
619#undef LIBCURL_PROTOCOL_LDAP
620
621/* Defined if libcurl supports POP3 */
622#undef LIBCURL_PROTOCOL_POP3
623
624/* Defined if libcurl supports RTSP */
625#undef LIBCURL_PROTOCOL_RTSP
626
627/* Defined if libcurl supports SMTP */
628#undef LIBCURL_PROTOCOL_SMTP
629
630/* Defined if libcurl supports TELNET */
631#undef LIBCURL_PROTOCOL_TELNET
632
633/* Defined if libcurl supports TFTP */
634#undef LIBCURL_PROTOCOL_TFTP
635
636/* Define to 1 if this is a system with a Linux kernel */
637#undef LINUX
638
639/* Define to the sub-directory where libtool stores uninstalled libraries. */
640#undef LT_OBJDIR
641
642/* Required libgcrypt version */
643#undef NEED_LIBGCRYPT_VERSION
644
645/* Define to 1 if your C compiler doesn't accept -c and -o together. */
646#undef NO_MINUS_C_MINUS_O
647
648/* Define to 1 if this is an OpenBSD system */
649#undef OPENBSD
650
651/* Define to 1 if this is some strange OS */
652#undef OTHEROS
653
654/* Name of package */
655#undef PACKAGE
656
657/* Define to the address where bug reports for this package should be sent. */
658#undef PACKAGE_BUGREPORT
659
660/* Define to the full name of this package. */
661#undef PACKAGE_NAME
662
663/* Define to the full name and version of this package. */
664#undef PACKAGE_STRING
665
666/* Define to the one symbol short name of this package. */
667#undef PACKAGE_TARNAME
668
669/* Define to the home page for this package. */
670#undef PACKAGE_URL
671
672/* Define to the version of this package. */
673#undef PACKAGE_VERSION
674
675/* Path to ip */
676#undef PATH_TO_IP
677
678/* Define to 1 if this is a Solaris system */
679#undef SOLARIS
680
681/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
682#undef STAT_MACROS_BROKEN
683
684/* Define to 1 if all of the C90 standard headers exist (not just the ones
685 required in a freestanding environment). This macro is provided for
686 backward compatibility; new code need not use it. */
687#undef STDC_HEADERS
688
689/* Path to sysctl */
690#undef SYSCTL
691
692/* Define to 1 if your <sys/time.h> declares `struct tm'. */
693#undef TM_IN_SYS_TIME
694
695/* Path to upnpc binary */
696#undef UPNPC
697
698/* VCS revision/hash or tarball version */
699#undef VCS_VERSION
700
701/* Version number of package */
702#undef VERSION
703
704/* Define to 1 if the X Window System is missing or not being used. */
705#undef X_DISPLAY_MISSING
706
707/* Number of bits in a file offset, on hosts where this is settable. */
708#undef _FILE_OFFSET_BITS
709
710/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
711#undef _LARGEFILE_SOURCE
712
713/* Define for large files, on AIX-style hosts. */
714#undef _LARGE_FILES
715
716/* Needed with Solaris or errno does not work */
717#undef _REENTRANT
718
719/* Define curl_free() as free() if our version of curl lacks curl_free. */
720#undef curl_free
721
722/* Define to `int' if <sys/types.h> doesn't define. */
723#undef gid_t
724
725/* Define to `int' if <sys/types.h> does not define. */
726#undef mode_t
727
728/* Define to `long int' if <sys/types.h> does not define. */
729#undef off_t
730
731/* Define as a signed integer type capable of holding a process identifier. */
732#undef pid_t
733
734/* Define to `unsigned int' if <sys/types.h> does not define. */
735#undef size_t
736
737/* Define to `int' if <sys/types.h> doesn't define. */
738#undef uid_t
739
740/* Define as `fork' if `vfork' does not work. */
741#undef vfork
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index ac472d166..9b2b50f01 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -164,7 +164,6 @@ enum GNUNET_GenericReturnValue
164 * Endian operations 164 * Endian operations
165 */ 165 */
166 166
167#if __BYTE_ORDER == __LITTLE_ENDIAN
168#if defined(bswap_16) || defined(bswap_32) || defined(bswap_64) 167#if defined(bswap_16) || defined(bswap_32) || defined(bswap_64)
169#define BYTE_SWAP_16(x) bswap_16 (x) 168#define BYTE_SWAP_16(x) bswap_16 (x)
170#define BYTE_SWAP_32(x) bswap_32 (x) 169#define BYTE_SWAP_32(x) bswap_32 (x)
@@ -184,6 +183,7 @@ enum GNUNET_GenericReturnValue
184 56)) 183 56))
185#endif 184#endif
186 185
186#if __BYTE_ORDER == __LITTLE_ENDIAN
187#define GNUNET_htobe16(x) BYTE_SWAP_16 (x) 187#define GNUNET_htobe16(x) BYTE_SWAP_16 (x)
188#define GNUNET_htole16(x) (x) 188#define GNUNET_htole16(x) (x)
189#define GNUNET_be16toh(x) BYTE_SWAP_16 (x) 189#define GNUNET_be16toh(x) BYTE_SWAP_16 (x)
diff --git a/src/include/gnunet_mysql_compat.h b/src/include/gnunet_mysql_compat.h
index bb1e8de8a..9fb9db30f 100644
--- a/src/include/gnunet_mysql_compat.h
+++ b/src/include/gnunet_mysql_compat.h
@@ -42,13 +42,13 @@ extern "C"
42#endif 42#endif
43 43
44#ifndef LIBMARIADB 44#ifndef LIBMARIADB
45#if MYSQL_VERSION_ID < 80000 45#if MYSQL_VERSION_ID >= 80000
46#define MYSQL_BOOL bool; 46#define MYSQL_BOOL bool
47#else 47#else
48#define MYSQL_BOOL my_bool; //MySQL < 8 wants this 48#define MYSQL_BOOL my_bool /* MySQL < 8 wants this */
49#endif 49#endif
50#else 50#else
51#define MYSQL_BOOL my_bool //MariaDB still uses my_bool 51#define MYSQL_BOOL my_bool /* MariaDB still uses my_bool */
52#endif 52#endif
53 53
54#if 0 /* keep Emacsens' auto-indent happy */ 54#if 0 /* keep Emacsens' auto-indent happy */
diff --git a/src/pq/pq.h b/src/pq/pq.h
index 85cfcc070..f9b59e058 100644
--- a/src/pq/pq.h
+++ b/src/pq/pq.h
@@ -90,6 +90,11 @@ struct GNUNET_PQ_Context
90 struct GNUNET_NETWORK_Handle *rfd; 90 struct GNUNET_NETWORK_Handle *rfd;
91 91
92 /** 92 /**
93 * How fast should we resubscribe again?
94 */
95 struct GNUNET_TIME_Relative resubscribe_backoff;
96
97 /**
93 * Flags controlling the connection. 98 * Flags controlling the connection.
94 */ 99 */
95 enum GNUNET_PQ_Options flags; 100 enum GNUNET_PQ_Options flags;
diff --git a/src/pq/pq_event.c b/src/pq/pq_event.c
index b0ed6798a..6dbacf7ff 100644
--- a/src/pq/pq_event.c
+++ b/src/pq/pq_event.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 Copyright (C) 2021 GNUnet e.V. 3 Copyright (C) 2021, 2023 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -283,11 +283,17 @@ do_scheduler_notify (void *cls)
283 "Resubscribing\n"); 283 "Resubscribing\n");
284 if (NULL == db->rfd) 284 if (NULL == db->rfd)
285 { 285 {
286 db->resubscribe_backoff
287 = GNUNET_TIME_relative_max (db->resubscribe_backoff,
288 GNUNET_TIME_UNIT_SECONDS);
289 db->resubscribe_backoff
290 = GNUNET_TIME_STD_BACKOFF (db->resubscribe_backoff);
286 db->event_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS, 291 db->event_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_SECONDS,
287 &do_scheduler_notify, 292 &do_scheduler_notify,
288 db); 293 db);
289 return; 294 return;
290 } 295 }
296 db->resubscribe_backoff = GNUNET_TIME_UNIT_SECONDS;
291 db->event_task 297 db->event_task
292 = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL, 298 = GNUNET_SCHEDULER_add_read_net (GNUNET_TIME_UNIT_FOREVER_REL,
293 db->rfd, 299 db->rfd,
@@ -387,7 +393,7 @@ manage_subscribe (struct GNUNET_PQ_Context *db,
387 * @param value the event handler 393 * @param value the event handler
388 * @return #GNUNET_OK to continue to iterate 394 * @return #GNUNET_OK to continue to iterate
389 */ 395 */
390static int 396static enum GNUNET_GenericReturnValue
391register_notify (void *cls, 397register_notify (void *cls,
392 const struct GNUNET_ShortHashCode *sh, 398 const struct GNUNET_ShortHashCode *sh,
393 void *value) 399 void *value)
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index 1ea4471d1..f9a949e61 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -132,7 +132,7 @@ static char *basic_auth_secret;
132/** 132/**
133 * User of the service 133 * User of the service
134 */ 134 */
135char cuser[LOGIN_NAME_MAX]; 135char cuser[_POSIX_LOGIN_NAME_MAX];
136 136
137/** 137/**
138 * Allowed Origins (CORS) 138 * Allowed Origins (CORS)
@@ -1207,7 +1207,7 @@ run (void *cls,
1207 GNUNET_SCHEDULER_shutdown (); 1207 GNUNET_SCHEDULER_shutdown ();
1208 return; 1208 return;
1209 } 1209 }
1210 if (0 != getlogin_r (cuser, LOGIN_NAME_MAX)) 1210 if (0 != getlogin_r (cuser, _POSIX_LOGIN_NAME_MAX))
1211 { 1211 {
1212 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 1212 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
1213 "Unable to get user.\n"); 1213 "Unable to get user.\n");
diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index 5385a53d7..7d719afc0 100644
--- a/src/testing/testing_api_loop.c
+++ b/src/testing/testing_api_loop.c
@@ -25,7 +25,6 @@
25 * @author Marcello Stanisci (GNU Taler testing) 25 * @author Marcello Stanisci (GNU Taler testing)
26 * @author t3sserakt 26 * @author t3sserakt
27 */ 27 */
28#include "gnunet_common.h"
29#include "platform.h" 28#include "platform.h"
30#include "gnunet_util_lib.h" 29#include "gnunet_util_lib.h"
31#include "gnunet_testing_ng_lib.h" 30#include "gnunet_testing_ng_lib.h"
@@ -520,6 +519,7 @@ GNUNET_TESTING_run (const struct GNUNET_TESTING_Command *commands,
520 return is; 519 return is;
521} 520}
522 521
522
523struct GNUNET_TESTING_Command 523struct GNUNET_TESTING_Command
524GNUNET_TESTING_command_new (void *cls, 524GNUNET_TESTING_command_new (void *cls,
525 const char *label, 525 const char *label,
@@ -543,6 +543,7 @@ GNUNET_TESTING_command_new (void *cls,
543 543
544} 544}
545 545
546
546/** 547/**
547 * Closure for #loop_run(). 548 * Closure for #loop_run().
548 */ 549 */
@@ -603,6 +604,7 @@ loop_run (void *cls)
603 mp); 604 mp);
604} 605}
605 606
607
606/** 608/**
607 * Continuation function from GNUNET_HELPER_send() 609 * Continuation function from GNUNET_HELPER_send()
608 * 610 *
@@ -617,6 +619,7 @@ clear_msg (void *cls, int result)
617 GNUNET_assert (GNUNET_YES == result); 619 GNUNET_assert (GNUNET_YES == result);
618} 620}
619 621
622
620/** 623/**
621 * Adding a helper handle to the interpreter. 624 * Adding a helper handle to the interpreter.
622 * 625 *
@@ -632,7 +635,7 @@ GNUNET_TESTING_add_netjail_helper (struct GNUNET_TESTING_Interpreter *is,
632 635
633 636
634/** 637/**
635 * Send Message to netjail nodes. 638 * Send Message to netjail nodes.
636 * 639 *
637 * @param is The interpreter. 640 * @param is The interpreter.
638 * @param global_node_number The netjail node to inform. 641 * @param global_node_number The netjail node to inform.
@@ -640,8 +643,8 @@ GNUNET_TESTING_add_netjail_helper (struct GNUNET_TESTING_Interpreter *is,
640 */ 643 */
641void 644void
642send_message_to_netjail (struct GNUNET_TESTING_Interpreter *is, 645send_message_to_netjail (struct GNUNET_TESTING_Interpreter *is,
643 unsigned int global_node_number, 646 unsigned int global_node_number,
644 struct GNUNET_MessageHeader *header) 647 struct GNUNET_MessageHeader *header)
645{ 648{
646 const struct GNUNET_HELPER_Handle *helper; 649 const struct GNUNET_HELPER_Handle *helper;
647 650
@@ -657,10 +660,11 @@ send_message_to_netjail (struct GNUNET_TESTING_Interpreter *is,
657 NULL); 660 NULL);
658} 661}
659 662
663
660void 664void
661TST_interpreter_send_barrier_crossable (struct GNUNET_TESTING_Interpreter *is, 665TST_interpreter_send_barrier_crossable (struct GNUNET_TESTING_Interpreter *is,
662 const char *barrier_name, 666 const char *barrier_name,
663 unsigned int global_node_number) 667 unsigned int global_node_number)
664{ 668{
665 struct CommandBarrierCrossable *adm; 669 struct CommandBarrierCrossable *adm;
666 size_t msg_length; 670 size_t msg_length;
@@ -677,13 +681,12 @@ TST_interpreter_send_barrier_crossable (struct GNUNET_TESTING_Interpreter *is,
677 adm->header.size = htons ((uint16_t) msg_length); 681 adm->header.size = htons ((uint16_t) msg_length);
678 memcpy (&adm[1], barrier_name, name_len); 682 memcpy (&adm[1], barrier_name, name_len);
679 send_message_to_netjail (is, 683 send_message_to_netjail (is,
680 global_node_number, 684 global_node_number,
681 &adm->header); 685 &adm->header);
682 GNUNET_free (adm); 686 GNUNET_free (adm);
683} 687}
684 688
685 689
686
687int 690int
688free_barrier_node_cb (void *cls, 691free_barrier_node_cb (void *cls,
689 const struct GNUNET_ShortHashCode *key, 692 const struct GNUNET_ShortHashCode *key,
@@ -699,12 +702,13 @@ free_barrier_node_cb (void *cls,
699 if (GNUNET_NO == is->finishing) 702 if (GNUNET_NO == is->finishing)
700 { 703 {
701 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 704 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
702 "TST_interpreter_send_barrier_crossable\n"); 705 "TST_interpreter_send_barrier_crossable\n");
703 TST_interpreter_send_barrier_crossable (is, 706 TST_interpreter_send_barrier_crossable (is,
704 barrier->name, 707 barrier->name,
705 node->node_number); 708 node->node_number);
706 } 709 }
707 GNUNET_assert (GNUNET_YES == GNUNET_CONTAINER_multishortmap_remove (barrier->nodes, key, node)); 710 GNUNET_assert (GNUNET_YES == GNUNET_CONTAINER_multishortmap_remove (
711 barrier->nodes, key, node));
708 return GNUNET_YES; 712 return GNUNET_YES;
709} 713}
710 714
@@ -718,7 +722,7 @@ free_barrier_node_cb (void *cls,
718 */ 722 */
719struct GNUNET_TESTING_Barrier * 723struct GNUNET_TESTING_Barrier *
720TST_interpreter_get_barrier (struct GNUNET_TESTING_Interpreter *is, 724TST_interpreter_get_barrier (struct GNUNET_TESTING_Interpreter *is,
721 const char *barrier_name) 725 const char *barrier_name)
722{ 726{
723 struct GNUNET_HashCode hc; 727 struct GNUNET_HashCode hc;
724 struct GNUNET_ShortHashCode create_key; 728 struct GNUNET_ShortHashCode create_key;
@@ -745,7 +749,7 @@ TST_interpreter_finish_attached_cmds (struct GNUNET_TESTING_Interpreter *is,
745 struct CommandListEntry *pos; 749 struct CommandListEntry *pos;
746 struct FreeBarrierNodeCbCls *free_barrier_node_cb_cls; 750 struct FreeBarrierNodeCbCls *free_barrier_node_cb_cls;
747 struct GNUNET_TESTING_Barrier *barrier = TST_interpreter_get_barrier (is, 751 struct GNUNET_TESTING_Barrier *barrier = TST_interpreter_get_barrier (is,
748 barrier_name); 752 barrier_name);
749 753
750 while (NULL != barrier && NULL != (pos = barrier->cmds_head)) 754 while (NULL != barrier && NULL != (pos = barrier->cmds_head))
751 { 755 {
@@ -756,8 +760,8 @@ TST_interpreter_finish_attached_cmds (struct GNUNET_TESTING_Interpreter *is,
756 GNUNET_NO == pos->command->asynchronous_finish) 760 GNUNET_NO == pos->command->asynchronous_finish)
757 { 761 {
758 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 762 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
759 "command label %s finish\n", 763 "command label %s finish\n",
760 pos->command->label); 764 pos->command->label);
761 GNUNET_TESTING_async_finish (pos->command->ac); 765 GNUNET_TESTING_async_finish (pos->command->ac);
762 } 766 }
763 else if (GNUNET_NO == pos->command->ac->finished) 767 else if (GNUNET_NO == pos->command->ac->finished)
@@ -781,7 +785,8 @@ TST_interpreter_finish_attached_cmds (struct GNUNET_TESTING_Interpreter *is,
781 free_barrier_node_cb_cls->is = is; 785 free_barrier_node_cb_cls->is = is;
782 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 786 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
783 "freeing nodes\n"); 787 "freeing nodes\n");
784 GNUNET_CONTAINER_multishortmap_iterate (barrier->nodes, free_barrier_node_cb, 788 GNUNET_CONTAINER_multishortmap_iterate (barrier->nodes,
789 free_barrier_node_cb,
785 free_barrier_node_cb_cls); 790 free_barrier_node_cb_cls);
786 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 791 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
787 "nodes freed\n"); 792 "nodes freed\n");
@@ -807,7 +812,8 @@ free_barriers_cb (void *cls,
807 free_barrier_node_cb_cls = GNUNET_new (struct FreeBarrierNodeCbCls); 812 free_barrier_node_cb_cls = GNUNET_new (struct FreeBarrierNodeCbCls);
808 free_barrier_node_cb_cls->barrier = barrier; 813 free_barrier_node_cb_cls->barrier = barrier;
809 free_barrier_node_cb_cls->is = is; 814 free_barrier_node_cb_cls->is = is;
810 GNUNET_CONTAINER_multishortmap_iterate (barrier->nodes, free_barrier_node_cb, 815 GNUNET_CONTAINER_multishortmap_iterate (barrier->nodes,
816 free_barrier_node_cb,
811 free_barrier_node_cb_cls); 817 free_barrier_node_cb_cls);
812 GNUNET_CONTAINER_multishortmap_destroy (barrier->nodes); 818 GNUNET_CONTAINER_multishortmap_destroy (barrier->nodes);
813 barrier->nodes = NULL; 819 barrier->nodes = NULL;
@@ -824,6 +830,7 @@ free_barriers_cb (void *cls,
824 return GNUNET_YES; 830 return GNUNET_YES;
825} 831}
826 832
833
827/** 834/**
828 * Deleting all barriers create in the context of this interpreter. 835 * Deleting all barriers create in the context of this interpreter.
829 * 836 *
@@ -847,7 +854,7 @@ TST_interpreter_delete_barriers (struct GNUNET_TESTING_Interpreter *is)
847 */ 854 */
848void 855void
849TST_interpreter_add_barrier (struct GNUNET_TESTING_Interpreter *is, 856TST_interpreter_add_barrier (struct GNUNET_TESTING_Interpreter *is,
850 struct GNUNET_TESTING_Barrier *barrier) 857 struct GNUNET_TESTING_Barrier *barrier)
851{ 858{
852 struct GNUNET_HashCode hc; 859 struct GNUNET_HashCode hc;
853 struct GNUNET_ShortHashCode create_key; 860 struct GNUNET_ShortHashCode create_key;
diff --git a/src/util/bio.c b/src/util/bio.c
index 70620aea7..7e3aa0d16 100644
--- a/src/util/bio.c
+++ b/src/util/bio.c
@@ -182,8 +182,9 @@ GNUNET_BIO_read_close (struct GNUNET_BIO_ReadHandle *h, char **emsg)
182 return err; 182 return err;
183} 183}
184 184
185
185void 186void
186GNUNET_BIO_read_set_error (struct GNUNET_BIO_ReadHandle *h, const char* emsg) 187GNUNET_BIO_read_set_error (struct GNUNET_BIO_ReadHandle *h, const char*emsg)
187{ 188{
188 GNUNET_assert (NULL == h->emsg); 189 GNUNET_assert (NULL == h->emsg);
189 h->emsg = GNUNET_strdup (emsg); 190 h->emsg = GNUNET_strdup (emsg);
@@ -380,7 +381,6 @@ GNUNET_BIO_read_string (struct GNUNET_BIO_ReadHandle *h,
380} 381}
381 382
382 383
383
384/** 384/**
385 * Read a float. 385 * Read a float.
386 * 386 *
@@ -510,13 +510,12 @@ GNUNET_BIO_write_open_file (const char *fn)
510 struct GNUNET_DISK_FileHandle *fd; 510 struct GNUNET_DISK_FileHandle *fd;
511 struct GNUNET_BIO_WriteHandle *h; 511 struct GNUNET_BIO_WriteHandle *h;
512 512
513 fd = 513 fd = GNUNET_DISK_file_open (fn,
514 GNUNET_DISK_file_open (fn, 514 GNUNET_DISK_OPEN_WRITE
515 GNUNET_DISK_OPEN_WRITE 515 | GNUNET_DISK_OPEN_TRUNCATE
516 | GNUNET_DISK_OPEN_TRUNCATE 516 | GNUNET_DISK_OPEN_CREATE,
517 | GNUNET_DISK_OPEN_CREATE, 517 GNUNET_DISK_PERM_USER_READ
518 GNUNET_DISK_PERM_USER_READ 518 | GNUNET_DISK_PERM_USER_WRITE);
519 | GNUNET_DISK_PERM_USER_WRITE);
520 if (NULL == fd) 519 if (NULL == fd)
521 return NULL; 520 return NULL;
522 h = GNUNET_malloc (sizeof(struct GNUNET_BIO_WriteHandle) + BIO_BUFFER_SIZE); 521 h = GNUNET_malloc (sizeof(struct GNUNET_BIO_WriteHandle) + BIO_BUFFER_SIZE);
@@ -553,8 +552,9 @@ GNUNET_BIO_write_open_buffer (void)
553 * if the handle has an error message, the return value is #GNUNET_SYSERR 552 * if the handle has an error message, the return value is #GNUNET_SYSERR
554 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise 553 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
555 */ 554 */
556int 555enum GNUNET_GenericReturnValue
557GNUNET_BIO_write_close (struct GNUNET_BIO_WriteHandle *h, char **emsg) 556GNUNET_BIO_write_close (struct GNUNET_BIO_WriteHandle *h,
557 char **emsg)
558{ 558{
559 int err; 559 int err;
560 560
@@ -567,7 +567,10 @@ GNUNET_BIO_write_close (struct GNUNET_BIO_WriteHandle *h, char **emsg)
567 { 567 {
568 case IO_FILE: 568 case IO_FILE:
569 if (NULL == h->fd) 569 if (NULL == h->fd)
570 return GNUNET_SYSERR; 570 {
571 err = GNUNET_SYSERR;
572 break;
573 }
571 if (GNUNET_OK != GNUNET_BIO_flush (h)) 574 if (GNUNET_OK != GNUNET_BIO_flush (h))
572 { 575 {
573 if (NULL != emsg) 576 if (NULL != emsg)
@@ -600,21 +603,23 @@ GNUNET_BIO_write_close (struct GNUNET_BIO_WriteHandle *h, char **emsg)
600 * @return #GNUNET_OK upon success. Upon failure #GNUNET_SYSERR is returned 603 * @return #GNUNET_OK upon success. Upon failure #GNUNET_SYSERR is returned
601 * and the file is closed 604 * and the file is closed
602 */ 605 */
603int 606enum GNUNET_GenericReturnValue
604GNUNET_BIO_flush (struct GNUNET_BIO_WriteHandle *h) 607GNUNET_BIO_flush (struct GNUNET_BIO_WriteHandle *h)
605{ 608{
606 ssize_t ret; 609 ssize_t ret;
607 610
608 if (IO_FILE != h->type) 611 if (IO_FILE != h->type)
609 return GNUNET_OK; 612 return GNUNET_OK;
610 613 ret = GNUNET_DISK_file_write (h->fd,
611 ret = GNUNET_DISK_file_write (h->fd, h->buffer, h->have); 614 h->buffer,
615 h->have);
612 if (ret != (ssize_t) h->have) 616 if (ret != (ssize_t) h->have)
613 { 617 {
614 GNUNET_DISK_file_close (h->fd); 618 GNUNET_DISK_file_close (h->fd);
615 h->fd = NULL; 619 h->fd = NULL;
616 GNUNET_free (h->emsg); 620 GNUNET_free (h->emsg);
617 GNUNET_asprintf (&h->emsg, _ ("Unable to flush buffer to file")); 621 GNUNET_asprintf (&h->emsg,
622 "Unable to flush buffer to file");
618 return GNUNET_SYSERR; 623 return GNUNET_SYSERR;
619 } 624 }
620 h->have = 0; 625 h->have = 0;
@@ -634,7 +639,7 @@ GNUNET_BIO_flush (struct GNUNET_BIO_WriteHandle *h)
634 * @param size where to store the size of @e contents 639 * @param size where to store the size of @e contents
635 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise 640 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
636 */ 641 */
637int 642enum GNUNET_GenericReturnValue
638GNUNET_BIO_get_buffer_contents (struct GNUNET_BIO_WriteHandle *h, 643GNUNET_BIO_get_buffer_contents (struct GNUNET_BIO_WriteHandle *h,
639 char **emsg, 644 char **emsg,
640 void **contents, 645 void **contents,
@@ -644,7 +649,10 @@ GNUNET_BIO_get_buffer_contents (struct GNUNET_BIO_WriteHandle *h,
644 return GNUNET_SYSERR; 649 return GNUNET_SYSERR;
645 if ((NULL == contents) || (NULL == size)) 650 if ((NULL == contents) || (NULL == size))
646 return GNUNET_SYSERR; 651 return GNUNET_SYSERR;
647 int ret = (NULL != h->emsg) ? GNUNET_SYSERR : GNUNET_OK; 652 enum GNUNET_GenericReturnValue ret
653 = (NULL != h->emsg)
654 ? GNUNET_SYSERR
655 : GNUNET_OK;
648 if (NULL != emsg) 656 if (NULL != emsg)
649 *emsg = h->emsg; 657 *emsg = h->emsg;
650 else 658 else
@@ -663,7 +671,7 @@ GNUNET_BIO_get_buffer_contents (struct GNUNET_BIO_WriteHandle *h,
663 * @param len the number of bytes to write 671 * @param len the number of bytes to write
664 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise 672 * @return #GNUNET_OK on success, #GNUNET_SYSERR otherwise
665 */ 673 */
666static int 674static enum GNUNET_GenericReturnValue
667write_to_file (struct GNUNET_BIO_WriteHandle *h, 675write_to_file (struct GNUNET_BIO_WriteHandle *h,
668 const char *what, 676 const char *what,
669 const char *source, 677 const char *source,
@@ -793,7 +801,6 @@ GNUNET_BIO_write_string (struct GNUNET_BIO_WriteHandle *h,
793} 801}
794 802
795 803
796
797/** 804/**
798 * Write a float. 805 * Write a float.
799 * 806 *
diff --git a/src/util/test_bio.c b/src/util/test_bio.c
index 90f0121d4..b407eccfe 100644
--- a/src/util/test_bio.c
+++ b/src/util/test_bio.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet. 2 This file is part of GNUnet.
3 Copyright (C) 2009 GNUnet e.V. 3 Copyright (C) 2009, 2023 GNUnet e.V.
4 4
5 GNUnet is free software: you can redistribute it and/or modify it 5 GNUnet is free software: you can redistribute it and/or modify it
6 under the terms of the GNU Affero General Public License as published 6 under the terms of the GNU Affero General Public License as published
@@ -17,15 +17,11 @@
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19 */ 19 */
20
21/** 20/**
22 * @file util/test_bio.c 21 * @file util/test_bio.c
23 * @brief testcase for the buffered IO module 22 * @brief testcase for the buffered IO module
24 * @author Ji Lu 23 * @author Ji Lu
25 */ 24 */
26
27
28
29#include "platform.h" 25#include "platform.h"
30#include "gnunet_util_lib.h" 26#include "gnunet_util_lib.h"
31#define TESTSTRING "testString" 27#define TESTSTRING "testString"
@@ -43,53 +39,74 @@ test_normal_rw (void)
43 char *rString = NULL; 39 char *rString = NULL;
44 int64_t wNum = TESTNUMBER64; 40 int64_t wNum = TESTNUMBER64;
45 int64_t rNum = 0; 41 int64_t rNum = 0;
46
47 struct GNUNET_BIO_WriteSpec ws[] = { 42 struct GNUNET_BIO_WriteSpec ws[] = {
48 GNUNET_BIO_write_spec_string ("test-normal-rw-string", TESTSTRING), 43 GNUNET_BIO_write_spec_string ("test-normal-rw-string",
49 GNUNET_BIO_write_spec_int64 ("test-normal-rw-int64", &wNum), 44 TESTSTRING),
45 GNUNET_BIO_write_spec_int64 ("test-normal-rw-int64",
46 &wNum),
50 GNUNET_BIO_write_spec_end (), 47 GNUNET_BIO_write_spec_end (),
51 }; 48 };
52
53 struct GNUNET_BIO_ReadSpec rs[] = { 49 struct GNUNET_BIO_ReadSpec rs[] = {
54 GNUNET_BIO_read_spec_string ("test-normal-rw-string", &rString, 200), 50 GNUNET_BIO_read_spec_string ("test-normal-rw-string",
55 GNUNET_BIO_read_spec_int64 ("test-normal-rw-int64", &rNum), 51 &rString,
52 200),
53 GNUNET_BIO_read_spec_int64 ("test-normal-rw-int64",
54 &rNum),
56 GNUNET_BIO_read_spec_end (), 55 GNUNET_BIO_read_spec_end (),
57 }; 56 };
58 57
59 /* I/O on file */ 58 /* I/O on file */
60 wh = GNUNET_BIO_write_open_file (filename); 59 wh = GNUNET_BIO_write_open_file (filename);
61 GNUNET_assert (NULL != wh); 60 GNUNET_assert (NULL != wh);
62 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_spec_commit (wh, ws)); 61 GNUNET_assert (GNUNET_OK ==
63 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 62 GNUNET_BIO_write_spec_commit (wh, ws));
63 GNUNET_assert (GNUNET_OK ==
64 GNUNET_BIO_write_close (wh, NULL));
64 65
65 rh = GNUNET_BIO_read_open_file (filename); 66 rh = GNUNET_BIO_read_open_file (filename);
66 GNUNET_assert (NULL != rh); 67 GNUNET_assert (NULL != rh);
67 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_spec_commit (rh, rs)); 68 GNUNET_assert (GNUNET_OK ==
68 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_close (rh, NULL)); 69 GNUNET_BIO_read_spec_commit (rh,
69 GNUNET_assert (0 == strcmp (TESTSTRING, rString)); 70 rs));
71 GNUNET_assert (GNUNET_OK ==
72 GNUNET_BIO_read_close (rh,
73 NULL));
74 GNUNET_assert (0 == strcmp (TESTSTRING,
75 rString));
70 GNUNET_assert (wNum == rNum); 76 GNUNET_assert (wNum == rNum);
71 77 GNUNET_free (rString);
72 GNUNET_assert (GNUNET_OK == GNUNET_DISK_directory_remove (filename)); 78 GNUNET_assert (GNUNET_OK ==
79 GNUNET_DISK_directory_remove (filename));
73 GNUNET_free (filename); 80 GNUNET_free (filename);
74 81
75 /* I/O on buffer */ 82 /* I/O on buffer */
76 wh = GNUNET_BIO_write_open_buffer (); 83 wh = GNUNET_BIO_write_open_buffer ();
77 GNUNET_assert (NULL != wh); 84 GNUNET_assert (NULL != wh);
78 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_spec_commit (wh, ws)); 85 GNUNET_assert (GNUNET_OK ==
86 GNUNET_BIO_write_spec_commit (wh,
87 ws));
79 GNUNET_assert (GNUNET_OK == 88 GNUNET_assert (GNUNET_OK ==
80 GNUNET_BIO_get_buffer_contents (wh, 89 GNUNET_BIO_get_buffer_contents (wh,
81 NULL, 90 NULL,
82 &buffer, 91 &buffer,
83 &buffer_size)); 92 &buffer_size));
84 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 93 GNUNET_assert (GNUNET_OK ==
94 GNUNET_BIO_write_close (wh,
95 NULL));
85 96
86 rh = GNUNET_BIO_read_open_buffer (buffer, buffer_size); 97 rh = GNUNET_BIO_read_open_buffer (buffer,
98 buffer_size);
87 GNUNET_assert (NULL != rh); 99 GNUNET_assert (NULL != rh);
88 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_spec_commit (rh, rs)); 100 GNUNET_assert (GNUNET_OK ==
89 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_close (rh, NULL)); 101 GNUNET_BIO_read_spec_commit (rh,
90 GNUNET_assert (0 == strcmp (TESTSTRING, rString)); 102 rs));
103 GNUNET_assert (GNUNET_OK ==
104 GNUNET_BIO_read_close (rh,
105 NULL));
106 GNUNET_assert (0 == strcmp (TESTSTRING,
107 rString));
91 GNUNET_assert (wNum == rNum); 108 GNUNET_assert (wNum == rNum);
92 109 GNUNET_free (rString);
93 GNUNET_free (buffer); 110 GNUNET_free (buffer);
94 111
95 return 0; 112 return 0;
@@ -106,21 +123,26 @@ test_nullstring_rw (void)
106 123
107 wh = GNUNET_BIO_write_open_file (filename); 124 wh = GNUNET_BIO_write_open_file (filename);
108 GNUNET_assert (NULL != wh); 125 GNUNET_assert (NULL != wh);
109 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_string (wh, 126 GNUNET_assert (GNUNET_OK ==
110 "test-nullstring-rw", 127 GNUNET_BIO_write_string (wh,
111 NULL)); 128 "test-nullstring-rw",
112 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 129 NULL));
113 130 GNUNET_assert (GNUNET_OK ==
131 GNUNET_BIO_write_close (wh,
132 NULL));
114 rh = GNUNET_BIO_read_open_file (filename); 133 rh = GNUNET_BIO_read_open_file (filename);
115 GNUNET_assert (NULL != rh); 134 GNUNET_assert (NULL != rh);
116 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_string (rh, 135 GNUNET_assert (GNUNET_OK ==
117 "test-nullstring-rw", 136 GNUNET_BIO_read_string (rh,
118 &rString, 200)); 137 "test-nullstring-rw",
119 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_close (rh, NULL)); 138 &rString,
120 139 200));
140 GNUNET_assert (GNUNET_OK ==
141 GNUNET_BIO_read_close (rh,
142 NULL));
121 GNUNET_assert (NULL == rString); 143 GNUNET_assert (NULL == rString);
122 144 GNUNET_assert (GNUNET_OK ==
123 GNUNET_assert (GNUNET_OK == GNUNET_DISK_directory_remove (filename)); 145 GNUNET_DISK_directory_remove (filename));
124 GNUNET_free (filename); 146 GNUNET_free (filename);
125 return 0; 147 return 0;
126} 148}
@@ -136,21 +158,26 @@ test_emptystring_rw (void)
136 158
137 wh = GNUNET_BIO_write_open_file (filename); 159 wh = GNUNET_BIO_write_open_file (filename);
138 GNUNET_assert (NULL != wh); 160 GNUNET_assert (NULL != wh);
139 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_string (wh, 161 GNUNET_assert (GNUNET_OK ==
140 "test-emptystring-rw", 162 GNUNET_BIO_write_string (wh,
141 "")); 163 "test-emptystring-rw",
142 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 164 ""));
165 GNUNET_assert (GNUNET_OK ==
166 GNUNET_BIO_write_close (wh,
167 NULL));
143 168
144 rh = GNUNET_BIO_read_open_file (filename); 169 rh = GNUNET_BIO_read_open_file (filename);
145 GNUNET_assert (NULL != rh); 170 GNUNET_assert (NULL != rh);
146 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_string (rh, 171 GNUNET_assert (GNUNET_OK ==
147 "test-emptystring-rw", 172 GNUNET_BIO_read_string (rh,
148 &rString, 200)); 173 "test-emptystring-rw",
149 GNUNET_assert (GNUNET_OK == GNUNET_BIO_read_close (rh, NULL)); 174 &rString, 200));
150 175 GNUNET_assert (GNUNET_OK ==
176 GNUNET_BIO_read_close (rh,
177 NULL));
151 GNUNET_free (rString); 178 GNUNET_free (rString);
152 179 GNUNET_assert (GNUNET_OK ==
153 GNUNET_assert (GNUNET_OK == GNUNET_DISK_directory_remove (filename)); 180 GNUNET_DISK_directory_remove (filename));
154 GNUNET_free (filename); 181 GNUNET_free (filename);
155 return 0; 182 return 0;
156} 183}
@@ -166,21 +193,25 @@ test_bigstring_rw (void)
166 193
167 wh = GNUNET_BIO_write_open_file (filename); 194 wh = GNUNET_BIO_write_open_file (filename);
168 GNUNET_assert (NULL != wh); 195 GNUNET_assert (NULL != wh);
169 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_string (wh, 196 GNUNET_assert (GNUNET_OK ==
170 "test-bigstring-rw", 197 GNUNET_BIO_write_string (wh,
171 TESTSTRING)); 198 "test-bigstring-rw",
172 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 199 TESTSTRING));
173 200 GNUNET_assert (GNUNET_OK ==
201 GNUNET_BIO_write_close (wh,
202 NULL));
174 rh = GNUNET_BIO_read_open_file (filename); 203 rh = GNUNET_BIO_read_open_file (filename);
175 GNUNET_assert (NULL != rh); 204 GNUNET_assert (NULL != rh);
176 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_string (rh, 205 GNUNET_assert (GNUNET_SYSERR ==
177 "test-bigstring-rw", 206 GNUNET_BIO_read_string (rh,
178 &rString, 1)); 207 "test-bigstring-rw",
179 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_close (rh, NULL)); 208 &rString, 1));
180 209 GNUNET_assert (GNUNET_SYSERR ==
210 GNUNET_BIO_read_close (rh,
211 NULL));
181 GNUNET_assert (NULL == rString); 212 GNUNET_assert (NULL == rString);
182 213 GNUNET_assert (GNUNET_OK ==
183 GNUNET_assert (GNUNET_OK == GNUNET_DISK_directory_remove (filename)); 214 GNUNET_DISK_directory_remove (filename));
184 GNUNET_free (filename); 215 GNUNET_free (filename);
185 return 0; 216 return 0;
186} 217}
@@ -195,11 +226,14 @@ test_directory_r (void)
195 226
196 rh = GNUNET_BIO_read_open_file ("/dev"); 227 rh = GNUNET_BIO_read_open_file ("/dev");
197 GNUNET_assert (NULL != rh); 228 GNUNET_assert (NULL != rh);
198 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read (rh, 229 GNUNET_assert (GNUNET_SYSERR ==
199 "test-directory-r", 230 GNUNET_BIO_read (rh,
200 rString, 231 "test-directory-r",
201 sizeof (rString))); 232 rString,
202 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_close (rh, NULL)); 233 sizeof (rString)));
234 GNUNET_assert (GNUNET_SYSERR ==
235 GNUNET_BIO_read_close (rh,
236 NULL));
203#endif 237#endif
204 return 0; 238 return 0;
205} 239}
@@ -260,13 +294,17 @@ test_fullfile_rw (void)
260 294
261 wh = GNUNET_BIO_write_open_file ("/dev/full"); 295 wh = GNUNET_BIO_write_open_file ("/dev/full");
262 GNUNET_assert (NULL != wh); 296 GNUNET_assert (NULL != wh);
263 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_write_spec_commit (wh, ws)); 297 GNUNET_assert (GNUNET_SYSERR ==
264 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_write_close (wh, NULL)); 298 GNUNET_BIO_write_spec_commit (wh, ws));
299 GNUNET_assert (GNUNET_SYSERR ==
300 GNUNET_BIO_write_close (wh, NULL));
265 301
266 rh = GNUNET_BIO_read_open_file ("/dev/null"); 302 rh = GNUNET_BIO_read_open_file ("/dev/null");
267 GNUNET_assert (NULL != rh); 303 GNUNET_assert (NULL != rh);
268 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_spec_commit (rh, rs)); 304 GNUNET_assert (GNUNET_SYSERR ==
269 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_close (rh, NULL)); 305 GNUNET_BIO_read_spec_commit (rh, rs));
306 GNUNET_assert (GNUNET_SYSERR ==
307 GNUNET_BIO_read_close (rh, NULL));
270 308
271 GNUNET_assert (NULL == rString); 309 GNUNET_assert (NULL == rString);
272#endif 310#endif
@@ -284,22 +322,27 @@ test_fakestring_rw (void)
284 322
285 wh = GNUNET_BIO_write_open_file (filename); 323 wh = GNUNET_BIO_write_open_file (filename);
286 GNUNET_assert (NULL != wh); 324 GNUNET_assert (NULL != wh);
287 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_int32 (wh, 325 GNUNET_assert (GNUNET_OK ==
288 "test-fakestring-rw-int32", 326 GNUNET_BIO_write_int32 (wh,
289 2)); 327 "test-fakestring-rw-int32",
290 GNUNET_assert (GNUNET_OK == GNUNET_BIO_write_close (wh, NULL)); 328 2));
329 GNUNET_assert (GNUNET_OK ==
330 GNUNET_BIO_write_close (wh,
331 NULL));
291 332
292 rh = GNUNET_BIO_read_open_file (filename); 333 rh = GNUNET_BIO_read_open_file (filename);
293 GNUNET_assert (NULL != rh); 334 GNUNET_assert (NULL != rh);
294 GNUNET_assert (GNUNET_SYSERR == 335 GNUNET_assert (GNUNET_SYSERR ==
295 GNUNET_BIO_read_string (rh, 336 GNUNET_BIO_read_string (rh,
296 "test-fakestring-rw-string", 337 "test-fakestring-rw-string",
297 &rString, 200)); 338 &rString,
298 GNUNET_assert (GNUNET_SYSERR == GNUNET_BIO_read_close (rh, NULL)); 339 200));
299 340 GNUNET_assert (GNUNET_SYSERR ==
341 GNUNET_BIO_read_close (rh,
342 NULL));
300 GNUNET_assert (NULL == rString); 343 GNUNET_assert (NULL == rString);
301 344 GNUNET_assert (GNUNET_OK ==
302 GNUNET_assert (GNUNET_OK == GNUNET_DISK_directory_remove (filename)); 345 GNUNET_DISK_directory_remove (filename));
303 GNUNET_free (filename); 346 GNUNET_free (filename);
304 return 0; 347 return 0;
305} 348}