Skip to content

Commit

Permalink
Release 1.2.2 stable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Manfredi committed Feb 25, 2022
2 parents bd8f4db + 6dd9645 commit cce6c5f
Show file tree
Hide file tree
Showing 42 changed files with 824 additions and 267 deletions.
47 changes: 46 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
# v 1.2.2 2022-02-25 [stable]

This is a maintenance release with major bug fixes.

There were several shortcomings with bandwidth management: capping was not
performed correctly and could overuse uploading bandwidth. Also when the DHT
is turned off or on, we need to recompute proper bandwidth stealing.

Corruption of the DHT disk databases could also lead to a crash.

There was a critical old bug in the Dynamic Querying layer that affected
Ultrapeers mostly: we could corrupt memory and/or crash when the current node
was removed and we were processing a Dynamic Query for that node. This is
more likely to happen when running as an Ultrapeer but it could also affect
nodes running as leaves, although the probability of that bug happening is
much less in that case.

Finally, it is best to not iterate on a global list that could get changed
due to a node removal. This was the case when sending pongs to neighbouring
nodes, so we now take a private copy.

Improvements:
- Extended "props" shell command with -e (exact) and -i (ignore missing).
- The "props" command now takes a set of properties, handled as one batch.

Bug Fixes:
- Properly recompute bandwidth stealing on DHT changes.
- Avoid crashing in D-Bus lib when filename is improperly UTF-8 encoded.
- DHT: protect against corrupted database.
- bw_available(): fix invalid logic for I/O source capping.
- pong_all_neighbours_but_one(): iterate on local list.
- dq_node_removed(): must free dq object asynchronously.

Under the Hood:
- Update IRC network information: moved from freenode to libera.chat
- Chunk size limiting for uploads accounts for bandwidth.
- Reduce memory footprint for statx_t if no data kept.
- CQ: defer freeing of dispatched event.
- watchdog: be more verbose within critical messages.
- node_parse(): signal to callers when we have BYE-ed the node.
- cq_event_called(): use better diagnostic on assert failure.
- dbus_util_send_message(): protect against invalid text.
- prepare_entry(): ensure entry invariant remains true.
- wd_expire(): do nothing if watchdog was asleep.

# v 1.2.1 2021-07-12 [stable]

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

Add -t switch to shell "status" command: this displays the total amount
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ The Project Page is:
Open Discussion Forums, try:
http://www.gnutellaforums.com/

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

Mailing lists

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
gtk-gnutella (1.2.2-1) unstable; urgency=high

* New upstream release with major bug fixes.

-- Raphael Manfredi <Raphael_Manfredi@pobox.com> Fri, 25 Feb 2022 07:32:37 +0000

gtk-gnutella (1.2.1-1) unstable; urgency=high

* New upstream release with important bug fixes.
Expand Down
8 changes: 4 additions & 4 deletions po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# List of source files containing translatable strings.
# Regenerated on Mon Jul 12 21:46:20 CEST 2021
# Regenerated on Fri Feb 25 08:30:11 CET 2022

src/core/ban.c
src/core/downloads.c
Expand Down Expand Up @@ -52,8 +52,6 @@ src/ui/gtk/downloads_common.c
src/ui/gtk/filter.c
src/ui/gtk/filter_core.c
src/ui/gtk/gnet_stats_common.c
src/ui/gtk/gtk-missing.c
src/ui/gtk/gtk-shared/callbacks.c
src/ui/gtk/gtk1/callbacks.c
src/ui/gtk/gtk1/interface-glade.t
src/ui/gtk/gtk1/nodes.c
Expand All @@ -72,9 +70,11 @@ src/ui/gtk/gtk2/search.c
src/ui/gtk/gtk2/search_cb.c
src/ui/gtk/gtk2/search_stats.c
src/ui/gtk/gtk2/support-glade.c
src/ui/gtk/gtk2/upload_stats.c
src/ui/gtk/gtk2/uploads.c
src/ui/gtk/gtk2/upload_stats.c
src/ui/gtk/gtkcolumnchooser.c
src/ui/gtk/gtk-missing.c
src/ui/gtk/gtk-shared/callbacks.c
src/ui/gtk/hcache_common.c
src/ui/gtk/icon.c
src/ui/gtk/main.c
Expand Down
6 changes: 3 additions & 3 deletions po/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -7788,8 +7788,8 @@ msgstr "Maximum"
msgid "Measured HTTP latency:"
msgstr "Gemessene HTTP-Latenz:"

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

msgid "Min/Max:"
msgstr ""
Expand Down Expand Up @@ -8981,7 +8981,7 @@ msgstr "Filter _löschen"

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

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -7781,8 +7781,8 @@ msgstr "Μέγιστο"
msgid "Measured HTTP latency:"
msgstr "Μέτρηση καθυστέρησης HTTP:"

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

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

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

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8044,8 +8044,8 @@ msgstr "Máximo"
msgid "Measured HTTP latency:"
msgstr "Latencia HTTP medida:"

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

msgid "Min/Max:"
msgstr "Mín/Máx:"
Expand Down Expand Up @@ -9259,7 +9259,7 @@ msgstr "_Borrar filtro"

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

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -8252,8 +8252,8 @@ msgstr "Maximum"
msgid "Measured HTTP latency:"
msgstr "Latence HTTP mesurée :"

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

msgid "Min/Max:"
msgstr "Min/Max :"
Expand Down Expand Up @@ -9481,7 +9481,7 @@ msgstr "_Supprimer le filtre"

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

#, fuzzy
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion po/gtk-gnutella.pot
Original file line number Diff line number Diff line change
Expand Up @@ -7408,7 +7408,7 @@ msgstr ""
msgid "Measured HTTP latency:"
msgstr ""

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

msgid "Min/Max:"
Expand Down
6 changes: 3 additions & 3 deletions po/hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -7509,8 +7509,8 @@ msgstr "Legnagyobb"
msgid "Measured HTTP latency:"
msgstr "Mért HTTP késés:"

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

msgid "Min/Max:"
msgstr ""
Expand Down Expand Up @@ -8677,7 +8677,7 @@ msgstr ""

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

msgid ""
"This product includes IP2Location LITE data, available from\n"
Expand Down
6 changes: 3 additions & 3 deletions po/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -8277,8 +8277,8 @@ msgstr "Massimo"
msgid "Measured HTTP latency:"
msgstr "Latenza HTTP misurata:"

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "Raggiungici su #gtk-gnutella at irc.freenode.net"
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "Raggiungici su #gtk-gnutella at irc.libera.chat"

msgid "Min/Max:"
msgstr "Min/Max:"
Expand Down Expand Up @@ -9496,7 +9496,7 @@ msgstr "_Rimuovi il filtro"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "Raggiungici su #gtk-gnutella at irc.freenode.net"
msgstr "Raggiungici su #gtk-gnutella at irc.libera.chat"

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -7862,8 +7862,8 @@ msgstr "最大"
msgid "Measured HTTP latency:"
msgstr "計測HTTP待ち時間:"

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "irc.freenode.net の #gtk-gnutella でお会いしましょう。"
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "irc.libera.chat の #gtk-gnutella でお会いしましょう。"

msgid "Min/Max:"
msgstr "最小/最大:"
Expand Down Expand Up @@ -9073,7 +9073,7 @@ msgstr "フィルターを削除(_R)"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "irc.freenode.net の #gtk-gnutella でお会いしましょう。"
msgstr "irc.libera.chat の #gtk-gnutella でお会いしましょう。"

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/nb.po
Original file line number Diff line number Diff line change
Expand Up @@ -7948,8 +7948,8 @@ msgstr "Høyst"
msgid "Measured HTTP latency:"
msgstr "Målt HTTP-ventetid:"

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "Møt oss i «#gtk-gnutella» på «irc.freenode.net»."
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "Møt oss i «#gtk-gnutella» på «irc.libera.chat»."

msgid "Min/Max:"
msgstr "Min/Maks:"
Expand Down Expand Up @@ -9162,7 +9162,7 @@ msgstr "Fje_rn filter"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "Møt oss i «#gtk-gnutella» på «irc.freenode.net»."
msgstr "Møt oss i «#gtk-gnutella» på «irc.libera.chat»."

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -8297,8 +8297,8 @@ msgstr "Maximum"
msgid "Measured HTTP latency:"
msgstr "Gemeten HTTP vertraging:"

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "Ontmoet ons op #gtk-gnutella op irc.freenode.net."
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "Ontmoet ons op #gtk-gnutella op irc.libera.chat."

msgid "Min/Max:"
msgstr "Min/Max:"
Expand Down Expand Up @@ -9526,7 +9526,7 @@ msgstr "Ve_rwijder filter"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "Ontmoet ons op #gtk-gnutella op irc.freenode.net."
msgstr "Ontmoet ons op #gtk-gnutella op irc.libera.chat."

#, fuzzy
msgid ""
Expand Down
6 changes: 3 additions & 3 deletions po/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -8241,8 +8241,8 @@ msgstr "En çok"
msgid "Measured HTTP latency:"
msgstr "Ölçülen HTTP gecikmesi:"

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "Bizimle irc.freenode.net #gtk-gnutella'da görüşün."
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "Bizimle irc.libera.chat #gtk-gnutella'da görüşün."

msgid "Min/Max:"
msgstr "Asgari/Azami:"
Expand Down Expand Up @@ -9458,7 +9458,7 @@ msgstr "Filtreyi _Kaldır"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "Bizimle irc.freenode.net #gtk-gnutella'da görüşün."
msgstr "Bizimle irc.libera.chat #gtk-gnutella'da görüşün."

#, fuzzy
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion po/uk.po
Original file line number Diff line number Diff line change
Expand Up @@ -7428,7 +7428,7 @@ msgstr "Максимум"
msgid "Measured HTTP latency:"
msgstr ""

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

msgid "Min/Max:"
Expand Down
6 changes: 3 additions & 3 deletions po/zh_CN.po
Original file line number Diff line number Diff line change
Expand Up @@ -7443,8 +7443,8 @@ msgstr "最大"
msgid "Measured HTTP latency:"
msgstr ""

msgid "Meet us on #gtk-gnutella at irc.freenode.net."
msgstr "通过 irc.freenode.net 上的 #gtk-gnutella 聊天室直接交流。"
msgid "Meet us on #gtk-gnutella at irc.libera.chat."
msgstr "通过 irc.libera.chat 上的 #gtk-gnutella 聊天室直接交流。"

msgid "Min/Max:"
msgstr "最小/最大:"
Expand Down Expand Up @@ -8603,7 +8603,7 @@ msgstr "删除过滤器(_R)"

#, fuzzy
msgid "Meet us on #gtk-gnutella at libera.chat."
msgstr "通过 irc.freenode.net 上的 #gtk-gnutella 聊天室直接交流。"
msgstr "通过 irc.libera.chat 上的 #gtk-gnutella 聊天室直接交流。"

#, fuzzy
msgid ""
Expand Down
Loading

0 comments on commit cce6c5f

Please sign in to comment.