Skip to content

Commit 235c0b5

Browse files
committed
Release 1.2.3 stable.
2 parents cce6c5f + 768a95b commit 235c0b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+1773
-893
lines changed

ChangeLog

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
1+
# v 1.2.3 2024-03-03 [stable]
2+
3+
This is a maintenance release with minor bug fixes.
4+
5+
Improvements:
6+
- Allow final address to be used as a search and sorting column in GUI.
7+
- Do not hide the "random stats" shell command in the help.
8+
- Shell "node add" now supports g2:IP:port for G2 nodes.
9+
10+
Bug Fixes:
11+
- Avoid assertion failure in xmalloc() when the page size is not 4K
12+
- Fix build on NetBSD with SSP.
13+
- Avoid conflicting symbol with NetBSD's powerpc/frame.h
14+
- Force supervisor to quit if child gets a SIGKILL.
15+
- Forgot to set te->ptid in discovered threads.
16+
17+
Under the Hood:
18+
- Add aq_on_available() to hide waiter object.
19+
- Add debugging #define XMALLOC_DISABLED to remap xmalloc() to malloc().
20+
- Add randomness every minute instead of 30 seconds.
21+
- Dump held locks when suspending thread with locks.
22+
- Fix thread_lock_dump() logic.
23+
- Recent version of glib define G_NORETURN already.
24+
- Use library popcount() if it exists.
25+
- Use an integer for atomic_lock_t (or it fails on Darwin ppc32).
26+
- atio_get_lock(): no need to hash file descriptor.
27+
- crash_hook_add(): watch out for early inits.
28+
- crash_init(): ignore subsequent calls, loudly.
29+
- crash_mode(): disable locking on concurrent crash.
30+
- dump_hex_vec(): do not re-emit header if reached end.
31+
- entropy_collect_gateway(): cache initial gateway information.
32+
- entropy_harvest_many(): accelerate processing.
33+
- evq_close(): forgot to free local callout queue.
34+
- getgateway(): avoid endless warnings.
35+
- hashlist: avoid race condition for moveto operations.
36+
- random_double_generate(): ensure value is in [0, 1[.
37+
- ripening_set_expire(): remove faulty assertion.
38+
- rwlock_deadlocked(): trace locking thread owner.
39+
- rwlock_lock_granted(): verify waiter presence.
40+
- rwlock_readers_downto(): issue a memory barrier.
41+
- shared_file_free(): give more details on assert failure.
42+
- semaphore_emulate(): was not handling timeout properly.
43+
- sig_get_pc_index(): also trap SIGBUS for OS/X.
44+
- socket_tls_upgrade(): synchronous upgrade logged but no longer fatal.
45+
- str_private(): must use NOT_LEAKING_Z() for walloc().
46+
- str_slice(): change semantics of `to'.
47+
- thread_element_reset(): also clear lock stack overflow.
48+
- thread_lock_dump(): can now omit details if necessary.
49+
- thread_lock_released(): give more context on problems.
50+
- thread_sig_handle(): add default handling of TSIG_TERM.
51+
- vmm_mmap_anonymous(): optimize re-locking.
52+
- walloc_get_zone(): do not keep lock whilst allocating zone.
53+
- xmalloc_chunk_allocate(): validate chunk head is sound.
54+
- zalloc: do not keep lock whilst extending the zone.
55+
- zget(): limit scope of global spinlock to a minimum.
56+
157
# v 1.2.2 2022-02-25 [stable]
258

359
This is a maintenance release with major bug fixes.

Configure

Lines changed: 44 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
# $Id$
2020
#
21-
# Generated on Sun Jul 12 10:41:08 CEST 2020 [metaconfig 3.5-255]
21+
# Generated on Wed Dec 28 18:44:06 CET 2022 [metaconfig 3.5-255]
2222

2323
cat >c1$$ <<EOF
2424
ARGGGHHHH!!!!!
@@ -400,6 +400,7 @@ d_openat=''
400400
d_pause=''
401401
d_pipe2=''
402402
d_poll=''
403+
d_popcount=''
403404
d_popen=''
404405
d_portable=''
405406
d_posix_fadvise=''
@@ -7429,6 +7430,47 @@ cyn=poll
74297430
set d_poll
74307431
eval $trylink
74317432

7433+
: see which of string.h or strings.h is needed
7434+
echo " "
7435+
strings=`./findhdr string.h`
7436+
if $test "$strings" && $test -r "$strings"; then
7437+
echo "Using <string.h> instead of <strings.h>." >&4
7438+
val="$define"
7439+
else
7440+
val="$undef"
7441+
strings=`./findhdr strings.h`
7442+
if $test "$strings" && $test -r "$strings"; then
7443+
echo "Using <strings.h> instead of <string.h>." >&4
7444+
else
7445+
./warn "No string header found -- You'll surely have problems." 4>&4
7446+
fi
7447+
fi
7448+
set i_string
7449+
eval $setvar
7450+
case "$i_string" in
7451+
"$undef") strings=`./findhdr strings.h`;;
7452+
*) strings=`./findhdr string.h`;;
7453+
esac
7454+
7455+
: see if popcount exists
7456+
$cat >try.c <<EOC
7457+
#$i_string I_STRING
7458+
#ifdef I_STRING
7459+
#include <string.h>
7460+
#else
7461+
#include <strings.h>
7462+
#endif
7463+
int main(void)
7464+
{
7465+
static int ret;
7466+
ret |= popcount(127);
7467+
return ret ? 0 : 1;
7468+
}
7469+
EOC
7470+
cyn=popcount
7471+
set d_popcount
7472+
eval $trylink
7473+
74327474
: see if popen exists
74337475
$cat >try.c <<EOC
74347476
#include <stdio.h>
@@ -11032,28 +11074,6 @@ case "$val" in
1103211074
esac
1103311075
$rm -f varargs*
1103411076

11035-
: see which of string.h or strings.h is needed
11036-
echo " "
11037-
strings=`./findhdr string.h`
11038-
if $test "$strings" && $test -r "$strings"; then
11039-
echo "Using <string.h> instead of <strings.h>." >&4
11040-
val="$define"
11041-
else
11042-
val="$undef"
11043-
strings=`./findhdr strings.h`
11044-
if $test "$strings" && $test -r "$strings"; then
11045-
echo "Using <strings.h> instead of <string.h>." >&4
11046-
else
11047-
./warn "No string header found -- You'll surely have problems." 4>&4
11048-
fi
11049-
fi
11050-
set i_string
11051-
eval $setvar
11052-
case "$i_string" in
11053-
"$undef") strings=`./findhdr strings.h`;;
11054-
*) strings=`./findhdr string.h`;;
11055-
esac
11056-
1105711077
: see if this is a sys/ipc system
1105811078
set sys/ipc.h i_sysipc
1105911079
eval $inhdr
@@ -11656,6 +11676,7 @@ d_pause='$d_pause'
1165611676
d_phostname='$d_phostname'
1165711677
d_pipe2='$d_pipe2'
1165811678
d_poll='$d_poll'
11679+
d_popcount='$d_popcount'
1165911680
d_popen='$d_popen'
1166011681
d_portable='$d_portable'
1166111682
d_posix_fadvise='$d_posix_fadvise'

README

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ list on www.sourceforge.net, and more precisely here:
2929

3030
Also visit the main website for news, updates, FAQ, and more at:
3131

32-
http://gtk-gnutella.sourceforge.net/
32+
https://gtk-gnutella.sourceforge.io/
3333

3434

3535
Introduction
@@ -60,24 +60,24 @@ AMD64, PowerPC, SPARC, MIPS.
6060
It is released under the GNU General Public License (GPL).
6161

6262
For further information on Gnutella, try:
63-
http://rfc-gnutella.sourceforge.net/
63+
https://rfc-gnutella.sourceforge.net/
6464

6565
The gtk-gnutella Home Page is:
66-
http://gtk-gnutella.sourceforge.net/
66+
https://gtk-gnutella.sourceforge.io/
6767

6868
The Project Page is:
69-
http://sourceforge.net/projects/gtk-gnutella/
69+
https://sourceforge.net/projects/gtk-gnutella/
7070

7171
Open Discussion Forums, try:
72-
http://www.gnutellaforums.com/
72+
https://www.gnutellaforums.com/
7373

7474
There is an IRC channel for gtk-gnutella on https://libera.chat:
7575
irc.libera.chat #gtk-gnutella
7676

7777
Mailing lists
7878

79-
http://lists.sourceforge.net/mailman/listinfo/gtk-gnutella-devel
80-
http://lists.sourceforge.net/mailman/listinfo/gtk-gnutella-users
79+
https://sourceforge.net/projects/gtk-gnutella/lists/gtk-gnutella-devel
80+
https://sourceforge.net/projects/gtk-gnutella/lists/gtk-gnutella-users
8181

8282

8383
Installation

config_h.SH

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,12 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un
602602
*/
603603
#$d_poll HAS_POLL /**/
604604
605+
/* HAS_POPCOUNT:
606+
* This symbol, if defined, indicates that the popcount routine is
607+
* available to count the amount of '1' bits in a word.
608+
*/
609+
#$d_popcount HAS_POPCOUNT /**/
610+
605611
/* HAS_POPEN:
606612
* This symbol, if defined, indicates that the popen routine is
607613
* available to open a pipe from a process.

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
gtk-gnutella (1.2.3-1) unstable; urgency=high
2+
3+
* New upstream release with minor bug fixes.
4+
5+
-- Raphael Manfredi <Raphael_Manfredi@pobox.com> Sun, 3 Mar 2024 12:01:09 +0000
6+
17
gtk-gnutella (1.2.2-1) unstable; urgency=high
28

39
* New upstream release with major bug fixes.

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Description: shares files in a peer to peer network
2222
statistics, queuing, and of course total control over many configuration
2323
parameters.
2424
.
25-
Homepage: http://gtk-gnutella.sourceforge.net/
25+
Homepage: https://gtk-gnutella.sourceforge.io/

doc/gnutella/IPv6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Hi,
1212
consider this a follow-up to the below mentioned thread:
1313
http://groups.yahoo.com/group/the_gdf/messages/8898
1414

15-
gtk-gnutella ( http://gtk-gnutella.sourceforge.net/ ) has been
15+
gtk-gnutella ( https://gtk-gnutella.sourceforge.io/ ) has been
1616
extended to support IPv6 in current CVS. While it's working, it should
1717
still be considered experimental. Therefore, the relevant new GGEP
1818
extensions are only defined in the GTKG namespace:

doc/manual/gtk-gnutella.dsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@
7373
(make formatting-instruction data: ">gtk-gnutella development ")
7474
(literal "hosted by")
7575
(make formatting-instruction data: "&#60a class=")
76-
(literal "\"image\" href=\"http://sourceforge.net\"")
76+
(literal "\"image\" href=\"https://sourceforge.net\"")
7777
(make formatting-instruction data: ">&#60img ")
7878
(literal "style=\"vertical-align:middle;\" ")
79-
(literal "src=\"http://sourceforge.net/sflogo.php")
79+
(literal "src=\"https://sourceforge.net/sflogo.php")
8080
(literal "?group_id=4467")
8181
(make formatting-instruction data: "&#38amp;type=1\" ")
8282
(literal "alt=\"SourceForge.net Logo\" width=\"88\" height=\"31\"/")

doc/manual/manual.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Document style
6767
text to update and expand the manual, but please feel free to
6868
contribute new sections and updates if you like. Information on
6969
contributing can be found at <ulink
70-
url="http://gtk-gnutella.sourceforge.net/"/></para>
70+
url="https://gtk-gnutella.sourceforge.io/"/></para>
7171

7272
</preface>
7373

@@ -125,11 +125,11 @@ url="http://rpmfind.net/linux/rpm2html/search.php?query=gtk-gnutella">
125125
RPM find </ulink> and <ulink
126126
url="http://linuxappfinder.com/package/gtk-gnutella"> Linux App finder
127127
</ulink> have packages for some popular Linux distributions. Also,
128-
the <ulink url="http://gtk-gnutella.sourceforge.net/"> gtk-gnutella
128+
the <ulink url="https://gtk-gnutella.sourceforge.io/"> gtk-gnutella
129129
</ulink> web site may contains some packages. </para>
130130

131131
<para>A better way to get gtk-gnutella is to install it yourself. The
132-
<ulink url="http://gtk-gnutella.sourceforge.net/"> gtk-gnutella
132+
<ulink url="https://gtk-gnutella.sourceforge.io/"> gtk-gnutella
133133
</ulink> web site contains the source archive which allows you to
134134
compile gtk-gnutella yourself. You can also use the web site to check
135135
if your currently installed version is still the most recent version;

osx/Info-gtk-gnutella.plist.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>Gtk-Gnutella</string>
99
<key>CFBundleGetInfoString</key>
10-
<string>CFBundleShortVersionStringPlaceHolder, (C) 2000-2011 gtk-gnutella http://gtk-gnutella.sourceforge.net</string>
10+
<string>CFBundleShortVersionStringPlaceHolder, (C) 2000-2011 gtk-gnutella https://gtk-gnutella.sourceforge.io</string>
1111
<key>CFBundleIconFile</key>
1212
<string>gtk-gnutella.icns</string>
1313
<key>CFBundleIdentifier</key>

0 commit comments

Comments
 (0)