Commit Graph
2602 Commits
Author SHA1 Message Date
deepend 0566e7b7a9 add autoaway 2026-12-05 10:15:07 -06:00
deepend-tildeclub 3714756670 Merge pull request #482 from ZoiteChat/fix-issue-453
fix issue #453
2026-12-05 09:14:55 -06:00
deepend d5d1dba368 fix issue #453 2026-12-05 08:57:31 -06:00
deepend 28ead54827 fix issue #449 2026-12-05 08:42:39 -06:00
deepend b409f1b4cf fix Issue #451 2026-12-05 08:04:19 -06:00
deepend 35ad1ba987 fix issue 454 and 468 2026-12-05 07:43:41 -06:00
deepend 23a4066adb fix issue #466 2026-12-05 07:33:29 -06:00
deepend-tildeclub c7ae5a2f86 Merge pull request #476 from kobaz/master
Fix 25s startup hang with notification daemons (dbus/etc)  that ignore GetAll
2026-12-05 03:52:59 -06:00
deepend-tildeclub a15b23e489 Merge pull request #473 from B4reMetal/fix-dblclick-color-codes
Fix double click selection including color codes in copy
2026-12-05 03:43:42 -06:00
deepend-tildeclub 5fb27b8732 Merge pull request #472 from B4reMetal/fix-dblclick-copy
Fix double-click copy of a word at the end of a line
2026-12-05 03:43:12 -06:00
Gourd f4f515d212 Fix building on Chimera Linux (and other similar operating systems)
zoitechat references kill, popen, pclose, gmtime_r, and localtime_r
which are POSIX-only functions that need #define _POSIX_SOURCE to
build with LLVM or musl C, one of the two.
2026-12-04 22:16:32 -05:00
Mark Murawski 1b8f80d892 Fix 25s startup hang with notification daemons that ignore GetAll
notification_backend_init() created its org.freedesktop.Notifications
proxy synchronously with G_DBUS_PROXY_FLAGS_NONE, which makes GDBus call
Properties.GetAll and wait for the reply. Some notification daemons
(e.g. awesome's naughty) never answer that call, so the UI thread
blocked until the 25 second D-Bus default timeout expired, leaving the
main window mapped but unpainted.

The proxy is only used for GetCapabilities and Notify, so create it with
DO_NOT_LOAD_PROPERTIES and DO_NOT_CONNECT_SIGNALS.
2026-11-28 00:31:22 -05:00
BareMetal 046de8beee Don't include color code digits in double-click word selection 2026-11-22 08:30:52 -07:00
BareMetal faa26a3922 Fix double-click copy of a word at the end of a line 2026-11-21 22:01:30 -07:00
deepend 995ed49861 Fix replies targeting the wrong message 2026-10-28 03:08:56 -06:00
deepend 55d6639cb6 fixes for macos build 2026-10-28 02:47:39 -06:00
deepend-tildeclub cc1946fbb7 Merge pull request #441 from pkubaj/fbsd-fix
Fix build on FreeBSD
2026-10-28 02:34:58 -06:00
Eli Schwartz ede2251c36 meson: port off of deprecated functions
meson.source_root() is deprecated since 0.56, and should be replaced
with either project_source_root or global_source_root depending on
whether it is supposed to refer to a different subproject if the current
project is a subproject. The default for source_root itself was the
latter, which is broken in subproject builds, and is also incorrect for
us since our usage is to construct the path to a file that is part of
the zoitechat source tree.

Make this work semantically correctly by specifically accessing the root
of the current (sub)project, and fix a deprecation warning in the
process.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-10-27 12:14:33 -04:00
Piotr Kubaj 5bb6b77e98 Use AF_UNSPEC for the getaddrinfo() hints
network.c defines _POSIX_C_SOURCE before pulling in the socket headers.
On FreeBSD that hides the non-standard PF_* aliases from <sys/socket.h>,
so PF_UNSPEC is undeclared and the build fails:

  src/common/network.c:169:20: error: use of undeclared identifier 'PF_UNSPEC'

getaddrinfo() is specified in terms of the AF_* constants anyway, and the
rest of the file already uses AF_INET, so use AF_UNSPEC here too.
2026-10-25 20:10:14 +01:00
Piotr Kubaj d691ffcffd Add a meson option for a local public suffix list
gen-public-suffix.py downloads public_suffix_list.dat at build time and
only falls back to a few hardcoded Linux paths when that fails. Package
builds usually run without network access, and on FreeBSD the list is
installed under /usr/local/share/public_suffix_list, so the build dies
with "unable to load public suffix list".

Add a public-suffix-list option that takes the path of a local copy.
When it is set the generator reads just that file and never goes
online, which also keeps the generated table reproducible.
2026-10-25 20:10:14 +01:00
deepend 5805720416 remove basicstap 2026-10-24 17:20:11 -06:00
deepend 8348afca8e Fix Windows build for offline docs include 2026-10-24 17:20:11 -06:00
deepend 23cb16e8b4 Implement locally stored docs. Uses web when local not available. 2026-10-24 17:20:10 -06:00
deepend 03c4e872c0 Fix timestamps when toggling nick indentation 2026-10-20 15:33:29 -06:00
deepend 9547dd3711 prioritize editing shortcuts 2026-10-19 15:25:28 -06:00
deepend-tildeclub 7004c679f2 Merge pull request #425 from juergbi/jbilleter/keybindings
Fix menu offsets to fix key bindings
2026-10-19 13:15:47 -06:00
deepend a2c0eb646f rebuild macos build 2026-10-17 13:08:32 -06:00
Jürg Billeter 8a03585611 Fix menu offsets to fix key bindings
Key bindings for `copy-selection`, `search-text` and others weren't
working due to incorrect offsets.
2026-10-16 22:14:35 +02:00
deepend 1ae2d41378 fix menu.c build warnings 2026-10-14 05:32:13 -06:00
deepend-tildeclub 070603b0fe Merge pull request #421 from botovq/push-nsqmxvzmntnz
Fix clang -Wstrict-prototypes warnings
2026-10-13 18:16:48 -07:00
Theo Buehler 646ad029f0 Fix clang -Wstrict-prototypes warnings
This trivial diff gets rid of noisy warnings such as
```
./src/common/ignore.c:274:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  274 | ignore_load ()
      |             ^
      |              void
```
when building with modern clang. This is cosmetic since these functions
are actually prototyped in a header, so if the header is in scope it's
not possible to call them with an arbitrary number of arguments.
2026-10-13 09:46:10 +02:00
Theo Buehler d47963247d challengeauth_response (): move digest to stack
Using HMAC ()'s facility of returning the digest in a static array is
not thread safe (this can't be fixed) and it is not portable to the
OpenSSL forks: BoringSSL removed support for this a decade ago (so
aws-lc doesn't support it either) and LibreSSL followed a few years
back.

There is no downside to having a 32-byte array on the stack and it would
make zoitechat safe to use from other forks without the need of patching
it.

Add an error check for the HMAC () call and handle the error in the
caller.
2026-10-13 09:25:22 +02:00
ThePeGaSuS c51f885253 add option to align wrapped lines under the nick or message
When nick indentation is off, lines after the first wrap back to the
left edge, under the timestamp. Add a text_wrap_align preference
(start of line, prefix, message) so they can line up under the nick or
the message text instead. It is applied at wrap time, so existing
scrollback is re-wrapped when the setting changes, and the menu is
greyed out while nick indentation is on.
2026-10-12 17:43:09 +02:00
deepend-tildeclub aa7e20fee9 Merge pull request #417 from botovq/push-kwovwrnwwuzn
Minor simplification of _SSL_get_cert_info ()
2026-10-12 06:40:46 -07:00
BareMetal 0a4367b1da fix(xtext): move hexcolor_parse to its own file for the standalone xtext tests
master's new xtext_tests target compiles xtext.c on its own with only
GTK linked, so hexcolor_parse cannot live in util.c. Keep it in a
dependency-free hexcolor.c that both test targets compile, and register
it in the Visual Studio project for the Windows build.

Claude-Session: https://claude.ai/code/session_01Jxd4AknGzdAENADWAGHCzx
2026-10-11 23:58:09 -06:00
BareMetal 39daca9d22 feat(xtext): render \x04 hex color codes in chat text 2026-10-11 23:54:08 -06:00
deepend-tildeclub d614e25792 Merge pull request #419 from ZoiteChat/xtext-modernize
modernize rendering and fix scrollback resizing
2026-10-11 22:48:52 -07:00
deepend 30209d0c99 modernize rendering and fix scrollback resizing 2026-10-11 23:02:13 -06:00
Theo Buehler e1c44feb01 Minor simplification of _SSL_get_cert_info ()
Instead of retrieving the AlgorithmIdentifier and then reaching into it
to get the OID, the relevant OID can be obtained directly from the same
function.
2026-10-11 17:45:37 +02:00
deepend 5af8f4ede1 correct echo-message capability negotiation 2026-10-03 19:52:16 -06:00
deepend a2e8d9087e make dialog content fill available space 2026-09-30 16:22:47 -06:00
deepend e03ea59f3c Block root unless --run-as-root 2026-09-30 10:42:28 -06:00
deepend 222b4868f5 Fix IRCv3 typing notifications 2026-09-26 06:10:20 -06:00
deepend-tildeclub 2cf1f7e833 Merge pull request #398 from ZoiteChat/fix-issue-361
restrict input redraws to the entry widget
2026-09-19 22:33:03 -07:00
deepend 776d24695e keep X11 selection ownership off the chat window 2026-09-18 05:29:03 -06:00
deepend 66196013bc Fix Wayland text selection crash 2026-09-16 16:23:38 -06:00
BareMetal 15905bebb1 fix(userlist): decouple userlist nick colors from text_color_nicks 2026-09-15 19:38:34 -06:00
deepend 87410aea50 Fix away tracking 2026-09-15 12:30:04 -06:00
deepend e94ffd9d79 defer channel tree scrolling until realized 2026-09-14 04:11:23 -06:00
deepend-tildeclub d7aebb784d Merge pull request #387 from ZoiteChat/tab-font-custom
add custom tab fonts and reduce close button size
2026-09-14 02:56:19 -07:00