Sunday, February 22, 2026

UPDATE: net/swirc 3.5.9

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/swirc/Makefile,v
diff -u -p -r1.43 Makefile
--- Makefile 17 Jan 2026 22:12:00 -0000 1.43
+++ Makefile 22 Feb 2026 16:42:59 -0000
@@ -1,5 +1,5 @@
COMMENT = curses icb and irc client
-DISTNAME = swirc-3.5.8
+DISTNAME = swirc-3.5.9
CATEGORIES = net
HOMEPAGE = https://www.nifty-networks.net/swirc/

Index: distinfo
===================================================================
RCS file: /cvs/ports/net/swirc/distinfo,v
diff -u -p -r1.37 distinfo
--- distinfo 17 Jan 2026 22:12:00 -0000 1.37
+++ distinfo 22 Feb 2026 16:42:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (swirc-3.5.8.tgz) = BCeKqFjalNVtR4QEth9nDFHY9HSiEKtioNQJAmLgZMk=
-SIZE (swirc-3.5.8.tgz) = 429850
+SHA256 (swirc-3.5.9.tgz) = OSg4XSDlzDc/saLtnz+8O7f0Gp+ayOsYXlsNevVHM4I=
+SIZE (swirc-3.5.9.tgz) = 434937
Hi ports@,

Tonight I released net/swirc 3.5.9  --  with the following changes:

## [3.5.9] - 2026-02-22 ##
- **Added** command `/userhost` and event 302 (`RPL_USERHOST`).
- **Added** custom copy assignment operators, copy constructors, move
  assignment operators and move constructors.
- **Added** usage of `emplace_back()` when dealing with vector
  insertions. (Performance). Whole tree completed.
- **Added** usage of `nullptr`. Whole tree completed.
- **Added** usage of type aliases.
- **Deleted** unused includes.
- **Fixed** C-style headers in C++ files.
- **Fixed** hardcoded function names (in error messages).
- **Fixed** unchecked function return values.
- **Improved** the C++ exception handling. Namely handle all exceptions
  thrown before `main()` begins executing.
- **Increased** `max_chat_windows` default and its upper limit.
- **Initialized** variables in a member initializer of a constructor.
- Instead of defining multiple variables of the same type, switched to
  array usage.
- Instead of terminating the program on a state that shouldn't happen,
  just shutdown the IRC connection.
- **Made** move assignment operators and move constructors
  `noexcept`. (Performance).
- **Reduced** the scope of variables.
- **Replaced** `atoi()` with `strtol()`. Multiple occurrences.
- **Replaced** preprocessor defines with regular variables.
- **Usage** of `auto` in order to avoid duplicating the type name.

--

I attach a diff.

Best regards
Markus

No comments:

Post a Comment