Commit Graph
5046 Commits
Author SHA1 Message Date
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
deepend-tildeclub 179daf45eb Merge pull request #444 from eli-schwartz/meson-deprecation-warnings
Meson deprecation warnings
2026-10-28 02:26:08 -06:00
deepend-tildeclub b0c549bce8 Merge pull request #443 from ZoiteChat/dependabot/github_actions/actions/attest-build-provenance-4
ci: bump actions/attest-build-provenance from 3 to 4
2026-10-28 02:11:41 -06:00
dependabot[bot] 560ed07de1 ci: bump actions/attest-build-provenance from 3 to 4
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 3 to 4.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-28 08:11:09 +00:00
deepend-tildeclub dbcce89797 Merge pull request #446 from ZoiteChat/appimage-dependencies-update
Update AppImage deps and fix packaging
2026-10-28 02:07:30 -06:00
deepend-tildeclub 55f4c732d2 Merge pull request #442 from ZoiteChat/dependabot/submodules/flatpak/shared-modules-d1ab132
ci: bump flatpak/shared-modules from `a58e654` to `d1ab132`
2026-10-28 02:05:05 -06:00
deepend 1c0c5e163b Update AppImage deps and fix packaging 2026-10-28 01:56:31 -06:00
Eli Schwartz dc4d6203a5 meson: extract the version directly from ./VERSION without subprocesses
With the new minimum meson_version, it is possible to retrieve the
project version from a file by passing a files() output directly to the
version argument. It is no longer necessary to call run_command with
various arguments to configure its behavior, nor depend on a system
/usr/bin/cat (which admittedly does exist on non-Windows systems).

And meson will also treat the VERSION file as a build input, and
reconfigure the build if it changes -- meaning that the built binaries
are updated to have the correct version number (configure_file,
PACKAGE_VERSION, etc).

Signed-off-by: Eli Schwartz <[email protected]>
2026-10-27 12:21:42 -04: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 <[email protected]>
2026-10-27 12:14:33 -04:00
Eli Schwartz 2b4e79faa7 meson: explicitly mark run_command as fallible when returncode is checked
Meson emits a warning stating that the default will change from false to
true, in some future version, and that one should always pass
`check: BOOL` explicitly. Normally this is because commands that
unexpectedly fail would result in wrong behavior if the build treats it
as though it succeeded.

In this case, we were specifically relying on it being `check: false`,
as the returncode is immediately checked in order to provide a better
error message. Make this explicit in the meson.build file.

Signed-off-by: Eli Schwartz <[email protected]>
2026-10-27 12:14:33 -04:00
Eli Schwartz 92969629bd meson: remove if conditionals for meson versions less than meson_version
The minimum version is too high to allow these checks to ever be false.
We can delete else branches as dead code and remove "if true"
constants.

Fixes:
```
meson.build:170: WARNING: Conditional on version '>= 0.55.0' always evaluates to true
meson.build:232: WARNING: Conditional on version '>= 0.55.0' always evaluates to true
```

Signed-off-by: Eli Schwartz <[email protected]>
2026-10-27 12:14:33 -04:00
dependabot[bot] f42ece0a4f ci: bump flatpak/shared-modules from a58e654 to d1ab132
Bumps [flatpak/shared-modules](https://github.com/flathub/shared-modules) from `a58e654` to `d1ab132`.
- [Commits](https://github.com/flathub/shared-modules/compare/a58e654b9113feffaee113cc7167ebbbdb406bee...d1ab132e6480acefc5c510ee13d8d586d36cab19)

---
updated-dependencies:
- dependency-name: flatpak/shared-modules
  dependency-version: d1ab132e6480acefc5c510ee13d8d586d36cab19
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-26 18:41:43 +00: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-tildeclub 6e5ed9270e Merge pull request #380 from ZoiteChat/implement-local-docs
Implement locally stored docs. Uses web when local not available.
2026-10-24 17:35:19 -06:00
deepend 5805720416 remove basicstap 2026-10-24 17:20:11 -06:00
deepend 572edbd634 add sphinx to appimage build 2026-10-24 17:20:11 -06:00
deepend 2a42f6cae0 prune unused local theme assets 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 81f4f591f5 fix favicon 2026-10-24 13:14:22 -06:00
deepend-tildeclub 8e7885c7f6 Merge pull request #434 from ZoiteChat/fix-timestamps
Fix timestamps when toggling nick indentation
2026-10-22 04:29:54 -06:00
deepend 03c4e872c0 Fix timestamps when toggling nick indentation 2026-10-20 15:33:29 -06:00
deepend-tildeclub 9b65e5be73 Merge pull request #432 from ZoiteChat/fix-macos-keyboard-commands
macos: native editing shortcuts+resolve keybinding conflicts
2026-10-19 15:34:32 -06:00
deepend 9547dd3711 prioritize editing shortcuts 2026-10-19 15:25:28 -06:00
deepend-tildeclub abf49ce756 Merge pull request #431 from ZoiteChat/dependabot/github_actions/actions/setup-python-7
ci: bump actions/setup-python from 6 to 7
2026-10-19 13:16:45 -06:00
deepend-tildeclub 6bf2f34fca Merge pull request #430 from ZoiteChat/dependabot/github_actions/actions/checkout-7
ci: bump actions/checkout from 5 to 7
2026-10-19 13:16:23 -06:00
deepend-tildeclub 2ea74498ed Merge pull request #429 from ZoiteChat/dependabot/github_actions/actions/upload-artifact-7
ci: bump actions/upload-artifact from 6 to 7
2026-10-19 13:16:05 -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-tildeclub c9de3f2ce0 Merge pull request #428 from ZoiteChat/dependabot/submodules/flatpak/shared-modules-a58e654
Bump flatpak/shared-modules from `55a86b3` to `a58e654`
2026-10-19 12:56:58 -06:00
dependabot[bot] f77d4f6d59 ci: bump actions/setup-python from 6 to 7
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-19 18:38:31 +00:00
dependabot[bot] 89b9a32168 ci: bump actions/checkout from 5 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-19 18:38:27 +00:00
dependabot[bot] 357b766369 ci: bump actions/upload-artifact from 6 to 7
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-19 18:38:23 +00:00
deepend 45a8ba18a6 expand Dependabot coverage and group updates 2026-10-19 12:36:50 -06:00
dependabot[bot] 0e0f8f72b2 Bump flatpak/shared-modules from 55a86b3 to a58e654
Bumps [flatpak/shared-modules](https://github.com/flathub/shared-modules) from `55a86b3` to `a58e654`.
- [Commits](https://github.com/flathub/shared-modules/compare/55a86b3da4969984f7de8fb02b3370247c9a266d...a58e654b9113feffaee113cc7167ebbbdb406bee)

---
updated-dependencies:
- dependency-name: flatpak/shared-modules
  dependency-version: a58e654b9113feffaee113cc7167ebbbdb406bee
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
2026-10-19 18:36:21 +00:00
deepend dc5f8f7631 automate shared-modules updates 2026-10-19 12:21:11 -06:00
deepend-tildeclub 3a32b1eae6 Merge pull request #423 from ZoiteChat/macos-build
begin rebuild of macos build
zoitechat-2.20.0-dev test
2026-10-17 14:51:54 -06:00
deepend 7bf7e31459 embed the standard scaling rules 2026-10-17 13:08:33 -06:00
deepend c931867c4a visual check 2026-10-17 13:08:33 -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-tildeclub 74d9e35b37 Merge pull request #422 from ZoiteChat/msi-msix
add msi/msix build support
2026-10-14 18:13:31 -07: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
deepend 9e3daf494f msi/msix support 2026-10-13 19:13:50 -06:00
deepend-tildeclub 8f47b5cedf Merge pull request #418 from botovq/push-vzwkspvpmqvu
challengeauth_response (): move digest to stack
2026-10-13 18:13:15 -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
deepend 4f7add046c match theme better 2026-10-12 19:05:31 -06:00