Skip to content

Commit cce6c5f

Browse files
author
Raphael Manfredi
committed
Release 1.2.2 stable.
2 parents bd8f4db + 6dd9645 commit cce6c5f

Some content is hidden

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

42 files changed

+824
-267
lines changed

ChangeLog

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
# v 1.2.2 2022-02-25 [stable]
2+
3+
This is a maintenance release with major bug fixes.
4+
5+
There were several shortcomings with bandwidth management: capping was not
6+
performed correctly and could overuse uploading bandwidth. Also when the DHT
7+
is turned off or on, we need to recompute proper bandwidth stealing.
8+
9+
Corruption of the DHT disk databases could also lead to a crash.
10+
11+
There was a critical old bug in the Dynamic Querying layer that affected
12+
Ultrapeers mostly: we could corrupt memory and/or crash when the current node
13+
was removed and we were processing a Dynamic Query for that node. This is
14+
more likely to happen when running as an Ultrapeer but it could also affect
15+
nodes running as leaves, although the probability of that bug happening is
16+
much less in that case.
17+
18+
Finally, it is best to not iterate on a global list that could get changed
19+
due to a node removal. This was the case when sending pongs to neighbouring
20+
nodes, so we now take a private copy.
21+
22+
Improvements:
23+
- Extended "props" shell command with -e (exact) and -i (ignore missing).
24+
- The "props" command now takes a set of properties, handled as one batch.
25+
26+
Bug Fixes:
27+
- Properly recompute bandwidth stealing on DHT changes.
28+
- Avoid crashing in D-Bus lib when filename is improperly UTF-8 encoded.
29+
- DHT: protect against corrupted database.
30+
- bw_available(): fix invalid logic for I/O source capping.
31+
- pong_all_neighbours_but_one(): iterate on local list.
32+
- dq_node_removed(): must free dq object asynchronously.
33+
34+
Under the Hood:
35+
- Update IRC network information: moved from freenode to libera.chat
36+
- Chunk size limiting for uploads accounts for bandwidth.
37+
- Reduce memory footprint for statx_t if no data kept.
38+
- CQ: defer freeing of dispatched event.
39+
- watchdog: be more verbose within critical messages.
40+
- node_parse(): signal to callers when we have BYE-ed the node.
41+
- cq_event_called(): use better diagnostic on assert failure.
42+
- dbus_util_send_message(): protect against invalid text.
43+
- prepare_entry(): ensure entry invariant remains true.
44+
- wd_expire(): do nothing if watchdog was asleep.
45+
146
# v 1.2.1 2021-07-12 [stable]
247

348
This is a maintenance release with minor bug fixes.
@@ -21,7 +66,7 @@ to store the data.
2166
Add properties to track bytes exchanged by schedulers. These properties
2267
track the amount of bytes exchanged by session and are reset to 0 whenever
2368
a new user session starts. It allows users to see the actual amount of
24-
data consumed by running gtk-gnutella sessions, programatically via the
69+
data consumed by running gtk-gnutella sessions, programmatically via the
2570
shell interface.
2671

2772
Add -t switch to shell "status" command: this displays the total amount

README

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ The Project Page is:
7171
Open Discussion Forums, try:
7272
http://www.gnutellaforums.com/
7373

74-
There is an IRC channel for gtk-gnutella on http://www.freenode.net:
75-
irc.freenode.net #gtk-gnutella
74+
There is an IRC channel for gtk-gnutella on https://libera.chat:
75+
irc.libera.chat #gtk-gnutella
7676

7777
Mailing lists
7878

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.2-1) unstable; urgency=high
2+
3+
* New upstream release with major bug fixes.
4+
5+
-- Raphael Manfredi <[email protected]> Fri, 25 Feb 2022 07:32:37 +0000
6+
17
gtk-gnutella (1.2.1-1) unstable; urgency=high
28

39
* New upstream release with important bug fixes.

po/POTFILES.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# List of source files containing translatable strings.
2-
# Regenerated on Mon Jul 12 21:46:20 CEST 2021
2+
# Regenerated on Fri Feb 25 08:30:11 CET 2022
33

44
src/core/ban.c
55
src/core/downloads.c
@@ -52,8 +52,6 @@ src/ui/gtk/downloads_common.c
5252
src/ui/gtk/filter.c
5353
src/ui/gtk/filter_core.c
5454
src/ui/gtk/gnet_stats_common.c
55-
src/ui/gtk/gtk-missing.c
56-
src/ui/gtk/gtk-shared/callbacks.c
5755
src/ui/gtk/gtk1/callbacks.c
5856
src/ui/gtk/gtk1/interface-glade.t
5957
src/ui/gtk/gtk1/nodes.c
@@ -72,9 +70,11 @@ src/ui/gtk/gtk2/search.c
7270
src/ui/gtk/gtk2/search_cb.c
7371
src/ui/gtk/gtk2/search_stats.c
7472
src/ui/gtk/gtk2/support-glade.c
75-
src/ui/gtk/gtk2/upload_stats.c
7673
src/ui/gtk/gtk2/uploads.c
74+
src/ui/gtk/gtk2/upload_stats.c
7775
src/ui/gtk/gtkcolumnchooser.c
76+
src/ui/gtk/gtk-missing.c
77+
src/ui/gtk/gtk-shared/callbacks.c
7878
src/ui/gtk/hcache_common.c
7979
src/ui/gtk/icon.c
8080
src/ui/gtk/main.c

po/de.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7788,8 +7788,8 @@ msgstr "Maximum"
77887788
msgid "Measured HTTP latency:"
77897789
msgstr "Gemessene HTTP-Latenz:"
77907790

7791-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
7792-
msgstr "Triff uns in #gtk-gnutella auf irc.freenode.net."
7791+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
7792+
msgstr "Triff uns in #gtk-gnutella auf irc.libera.chat."
77937793

77947794
msgid "Min/Max:"
77957795
msgstr ""
@@ -8981,7 +8981,7 @@ msgstr "Filter _löschen"
89818981

89828982
#, fuzzy
89838983
msgid "Meet us on #gtk-gnutella at libera.chat."
8984-
msgstr "Triff uns in #gtk-gnutella auf irc.freenode.net."
8984+
msgstr "Triff uns in #gtk-gnutella auf irc.libera.chat."
89858985

89868986
#, fuzzy
89878987
msgid ""

po/el.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7781,8 +7781,8 @@ msgstr "Μέγιστο"
77817781
msgid "Measured HTTP latency:"
77827782
msgstr "Μέτρηση καθυστέρησης HTTP:"
77837783

7784-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
7785-
msgstr "Βρείτε μας στο #gtk-gnutella στο irc.freenode.net."
7784+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
7785+
msgstr "Βρείτε μας στο #gtk-gnutella στο irc.libera.chat."
77867786

77877787
msgid "Min/Max:"
77887788
msgstr "Ελαχ/μεγ:"
@@ -8980,7 +8980,7 @@ msgstr "_Αφαίρεση φίλτρου"
89808980

89818981
#, fuzzy
89828982
msgid "Meet us on #gtk-gnutella at libera.chat."
8983-
msgstr "Βρείτε μας στο #gtk-gnutella στο irc.freenode.net."
8983+
msgstr "Βρείτε μας στο #gtk-gnutella στο irc.libera.chat."
89848984

89858985
#, fuzzy
89868986
msgid ""

po/es.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8044,8 +8044,8 @@ msgstr "Máximo"
80448044
msgid "Measured HTTP latency:"
80458045
msgstr "Latencia HTTP medida:"
80468046

8047-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
8048-
msgstr "Conózcanos en #gtk-gnutella en irc.freenode.net."
8047+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
8048+
msgstr "Conózcanos en #gtk-gnutella en irc.libera.chat."
80498049

80508050
msgid "Min/Max:"
80518051
msgstr "Mín/Máx:"
@@ -9259,7 +9259,7 @@ msgstr "_Borrar filtro"
92599259

92609260
#, fuzzy
92619261
msgid "Meet us on #gtk-gnutella at libera.chat."
9262-
msgstr "Conózcanos en #gtk-gnutella en irc.freenode.net."
9262+
msgstr "Conózcanos en #gtk-gnutella en irc.libera.chat."
92639263

92649264
#, fuzzy
92659265
msgid ""

po/fr.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8252,8 +8252,8 @@ msgstr "Maximum"
82528252
msgid "Measured HTTP latency:"
82538253
msgstr "Latence HTTP mesurée :"
82548254

8255-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
8256-
msgstr "Rencontrez nous sur #gtk-gnutella sur irc.freenode.net."
8255+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
8256+
msgstr "Rencontrez nous sur #gtk-gnutella sur irc.libera.chat."
82578257

82588258
msgid "Min/Max:"
82598259
msgstr "Min/Max :"
@@ -9481,7 +9481,7 @@ msgstr "_Supprimer le filtre"
94819481

94829482
#, fuzzy
94839483
msgid "Meet us on #gtk-gnutella at libera.chat."
9484-
msgstr "Rencontrez nous sur #gtk-gnutella sur irc.freenode.net."
9484+
msgstr "Rencontrez nous sur #gtk-gnutella sur irc.libera.chat."
94859485

94869486
#, fuzzy
94879487
msgid ""

po/gtk-gnutella.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7408,7 +7408,7 @@ msgstr ""
74087408
msgid "Measured HTTP latency:"
74097409
msgstr ""
74107410

7411-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
7411+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
74127412
msgstr ""
74137413

74147414
msgid "Min/Max:"

po/hu.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7509,8 +7509,8 @@ msgstr "Legnagyobb"
75097509
msgid "Measured HTTP latency:"
75107510
msgstr "Mért HTTP késés:"
75117511

7512-
msgid "Meet us on #gtk-gnutella at irc.freenode.net."
7513-
msgstr "Találkozzznk a „#gtk-gnutella” csatornán az „irc.freenode.net”-en!"
7512+
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
7513+
msgstr "Találkozzznk a „#gtk-gnutella” csatornán az „irc.libera.chat”-en!"
75147514

75157515
msgid "Min/Max:"
75167516
msgstr ""
@@ -8677,7 +8677,7 @@ msgstr ""
86778677

86788678
#, fuzzy
86798679
msgid "Meet us on #gtk-gnutella at libera.chat."
8680-
msgstr "Találkozzznk a „#gtk-gnutella” csatornán az „irc.freenode.net”-en!"
8680+
msgstr "Találkozzznk a „#gtk-gnutella” csatornán az „irc.libera.chat”-en!"
86818681

86828682
msgid ""
86838683
"This product includes IP2Location LITE data, available from\n"

0 commit comments

Comments
 (0)