100 Commits
Author SHA1 Message Date
Patrick Griffis b544ac3350 CI: Fix typo 2024-02-09 18:32:55 -06:00
Patrick Griffis cc60ad275a Replace hexchat.net links 2024-02-09 18:29:15 -06:00
Patrick 70069cd50e appdata: Fix release date 2024-02-09 14:20:48 -06:00
Patrick Griffis 434a210ef7 2.16.2 2024-02-07 06:01:12 -06:00
Patrick Griffis 44d14a436b CI: Reduce duplicate builds 2023-11-03 14:23:55 -05:00
Patrick Griffis a1f154cd5e win32: Remove Python 2 support 2023-11-03 14:23:55 -05:00
Patrick 6155c18315 servlist: Update UnderNet hostname
Closes #2786
2023-06-21 19:05:08 -05:00
Patrick Griffis a01d9ea152 checksum: Replace GString usage with regular strings 2023-05-01 14:29:20 -05:00
Patrick Griffis 4ee2342404 checksum: Move checksum operation to a thread 2023-05-01 14:28:43 -05:00
Patrick Griffis c48afe3799 Be even more picky about invalid URLs 2023-03-14 21:22:01 -05:00
Patrick 4ad7afe884 ci: Add gtk-update-icon-cache to msys2 workflow 2022-10-29 15:57:29 -05:00
Patrick d7c6c424e8 servlist: Remove ACN
They are no longer supporting TLS and let their cert expire.

Non-TLS networks do not belong in our default list.

Closes #2722
2022-08-01 14:07:31 -05:00
Patrick Griffis ec9653e754 servlist: Remove IRCHighWay
They have self-signed certs which doesn't belong in our default list.
2022-07-15 13:17:25 -05:00
Patrick Griffis 2dd7636134 appdata: Update appstream usage for desktop applications 2022-04-30 16:47:04 -05:00
Patrick Griffis 13b6a40b9c Change preferences sub-dialogs to be modal
This solves the issue where the parent dialog is closed and then
the child dialog is used.

This is however only a partial fix:

- Many other dialogs throughout the codebase do not currently have
  parent windows and need to be refactored.

- Not all window managers respect modal so users can still trigger
  bugs. We can be more defensive against this but it requires more
  refactoring.

Closes #2686
2022-04-16 18:41:34 -05:00
Patrick dd167b4c83 python: Fix API break in hook_timer()
Closes #2691
2022-04-15 13:43:22 -05:00
Patrick d99a98ff4c notification: Don't print failure to load backend in UI
This isn't actually helpful information to users generally

Closes #2152
Closes #2684
2022-03-26 11:18:00 -05:00
Patrick Griffis 73c0b672a2 Bump to 2.16.1 2022-02-12 12:28:17 -06:00
Patrick d936b653ac Add missing header
https://github.com/hexchat/hexchat/issues/2652#issuecomment-1007015314
2022-01-06 20:36:14 -06:00
Patrick Griffis 66f5968225 Update comment 2021-12-22 12:05:08 -06:00
Patrick Griffis ba5d79b496 Be smarter about conditionally escaping URIs that are opened
Fixes #2659
2021-12-22 11:50:36 -06:00
Patrick Griffis 7c27dcd524 build: Set G_LOG_DOMAIN 2021-12-22 11:46:55 -06:00
Patrick Griffis 8443755772 Fix timer being locale dependent for decimals
`/timer .1 echo hi` now works in all locales.
2021-11-12 12:44:09 -06:00
Patrick Griffis f93b13a6a3 Add missing string.h includes
Closes #2652
2021-11-11 10:24:39 -06:00
Patrick Griffis 4f3ef3505a fishlim: Minor test improvements
- Don't have tests repeat themselves, meson has a `--repeat` flag
- Fix a minor leak of a GRand
- Speed up a test
- Increase timeout

This still needs a lot of improvements, it runs at lot of loops within
loops generating random strings that could be optimized. This means
it can take a very long time on some computers.

Closes #2629
2021-11-03 09:59:24 -05:00
Patrick Griffis 64da6ce1fc flatpak: Update shared-modules 2021-10-26 15:51:53 -05:00
Patrick 3f099bace2 flatpak: Remove rename-icon from manifest 2021-10-26 11:53:00 -05:00
Patrick Griffis dac8ace90c Install icons as io.github.Hexchat
This matches our app-id as the desktop-file spec recommends.

This also fixes a bug where our notifications referred to this new
name already.
2021-10-25 15:04:38 -05:00
Patrick aabe3438fa ci: Don't install libproxy-dev 2021-10-07 14:05:47 -05:00
Patrick Griffis 6fd8a8f9bf python: Open all scripts with utf-8 encoding 2021-10-02 09:49:17 -05:00
Patrick Griffis 40399b1cb6 Bump version to 2.16.0 2021-10-01 14:52:09 -05:00
Patrick Griffis 3f07670b34 win32: Update to OpenSSL 1.1 2021-10-01 13:47:42 -05:00
Patrick Griffis 2985dde7f0 Explicitly set app icon in notifications 2021-10-01 11:56:49 -05:00
Patrick Griffis fee86de499 fish: Misc test cleanups 2021-07-15 20:59:19 -05:00
Patrick c8536ed50c servlist: Remove freenode
Closes #2604
2021-07-09 19:29:21 -05:00
Patrick c5e0b22c55 servlist: Add ICQ-Chat
Closes #2506
2021-06-26 10:51:32 -05:00
Patrick Griffis 964ae72fa8 Better handle various ctime() calls failing 2021-03-03 15:39:02 -06:00
Patrick Griffis 7a275812c0 Revert word array length change
It turns out that the rfc sets a limit of 15 arguments and the
server (irccloud) sending that many in ISUPPORT was updated to
split it into multiple lines.
2020-09-21 11:22:50 -07:00
Patrick Griffis 453cb7ca79 Increase max number of words a line can be split into
This may have unintended side-effects but 32 is a very low value
and I was seeing real world bugs being caused by this. Specifically
an ISUPPORT line with more features than this could store.
2020-09-17 15:50:28 -07:00
Patrick Griffis 53952feddd Fix parsing of 313
Closes #2472
2020-05-26 16:50:04 -07:00
Patrick f9adf88eca Remove 2ch from network list
It split into multiple networks; Both are very small and can't even match our modern guidelines like supporting TLS. I'll just use this as an opportunity to clean up the list a bit.

Closes #2465
2020-05-14 23:15:14 -07:00
Patrick Griffis 3871fbaacb build: Fix potential undefined variable 2020-03-11 11:13:25 -07:00
Patrick Griffis 5deb695919 build: Better support building against python 3.8+
Closes #2441
2020-03-11 11:08:28 -07:00
Patrick Griffis 58cdff728d appdata: Add OARS information 2019-12-20 23:19:54 -08:00
Patrick Griffis bfd6eea98f Bump version to 2.14.3 2019-12-20 23:19:32 -08:00
Patrick Griffis eeada79a64 build: Fix some meson warnings 2019-12-20 22:24:30 -08:00
Patrick Griffis 202393a77c Follow more modern conventions for USER message
Closes #2399
2019-12-20 22:18:51 -08:00
Patrick ea2f298a1a readme: Remove build status badges
No longer using Travis for CI and honestly these don't provide much value
2019-12-08 12:56:18 -08:00
Patrick Griffis 7d9f3acfc9 Fix capability negotiation ending before sasl finishes with multi-line cap
Closes #2398
2019-11-24 13:01:48 -08:00
Patrick Griffis 308838da32 Switch to Github Actions for Linux CI 2019-09-20 09:53:13 -07:00
Patrick Griffis a67eafc796 Revert "Create FUNDING.yml"
This reverts commit 5382401893.
2019-06-03 22:19:45 -07:00
Patrick 5382401893 Create FUNDING.yml 2019-06-03 21:43:17 -07:00
Patrick 468ce821fe Try building with lgtm 2019-05-22 12:41:50 +02:00
Patrick Griffis ed55330153 python: Fix console not eating commands 2018-12-05 19:45:30 -05:00
Patrick Griffis 706f9bca82 python: Rewrite with CFFI 2018-11-09 18:36:59 -05:00
Patrick Griffis cf140f3ab0 Use prefix variable in pkgconfig file 2018-09-23 16:58:18 -04:00
Patrick Griffis c7322f406c build: Silence some Meson warnings and bump requirement to 0.40.0 2018-09-01 16:50:31 -04:00
Patrick Griffis 18eae24acf Fix new stringop-truncation warnings 2018-09-01 16:35:48 -04:00
Patrick Griffis c092af89a2 sysinfo: Fixup formatting 2018-09-01 13:01:30 -04:00
Patrick Griffis 2a8ab8bb7f sysinfo: Add support for /etc/os-release 2018-09-01 12:51:07 -04:00
Patrick Griffis 8665501c77 Bump version to 2.14.2 2018-08-29 16:41:08 +00:00
Patrick Griffis 7659caada1 win32: Reflect gvsbuild changes 2018-08-29 16:10:21 +00:00
Patrick Griffis cadc51ede9 build: Add with-appdata option
This is mostly useful to avoid a newer gettext dependency
for translating the appdata file but it is also just useless
data for some distros without any app store.

Closes #2219
2018-07-26 09:53:29 -04:00
Patrick Griffis 5c5aacd9da Fix another bad translation 2018-04-04 19:21:53 -04:00
Patrick Griffis 93cc105a40 travis: Avoid locale problems 2018-04-04 19:14:59 -04:00
Patrick Griffis 33300630a3 tests: Explicitly open files as utf-8 for travis 2018-04-03 16:38:53 -04:00
Patrick Griffis fd2167d856 Fix tests on Ubuntu 2018-04-03 16:30:38 -04:00
Patrick Griffis 08fb808ea4 Update translations 2018-04-03 16:14:25 -04:00
Patrick Griffis c70c1e1896 travis: Run tests 2018-04-03 16:09:25 -04:00
Patrick Griffis 5cd70622aa Validate all translations contain valid text events 2018-04-03 16:08:27 -04:00
Patrick Griffis 93f926bf12 build: Re-add support for the legacy perl api
This was accidentally left behind, expose it beind an option as
with the old build system but default to false now. Enough time
has passed and only distros that care about it can enable it.
2018-03-18 11:09:53 -04:00
Patrick Griffis da56297c5a build: Correctly set plugin licenses 2018-03-17 01:37:46 -04:00
Patrick Griffis 5d8b4719a8 build: Fix id in plugin metainfo files 2018-03-17 01:26:12 -04:00
Patrick Griffis 8a875afad0 build: Add metainfo files for addons 2018-03-17 01:21:50 -04:00
Patrick Griffis dc483b2342 Remove shift+click to close tab binding
It is an odd binding that conflicts with typical behavior
where shift click selects multiple items and there is
already the middle click shortcut to close tabs quickly.

Closes #918
2018-03-16 20:33:52 -04:00
Patrick Griffis 28a3d42ad1 Bump to 2.14.1 2018-03-13 22:26:31 -04:00
Patrick Griffis eb942fc274 Revert "xtext: Always use Pango to get correct glyph width on Unix"
This reverts commit d3f1ab7813.

The performance even on Linux is just too poor in many cases.
2018-03-13 21:18:16 -04:00
Patrick Griffis ececf2f640 Fix fscanf() usage without size limit
Closes #2137
2018-03-11 19:08:26 -04:00
Patrick Griffis d72249d91f build: Remove -pie from global ldflags
According to `hardening-check` the cflag is enough for `hexchat`
and this was causing breakage in plugins

Closes #2132
2018-03-10 20:49:35 -05:00
Patrick Griffis 2286990a6f Bump to 2.14.0 2018-03-10 17:02:52 -05:00
Patrick Griffis 6ec523423a Fix /ignore not accepting full hosts
Fixes #1828
2018-03-09 21:34:44 -05:00
Patrick Griffis 77c8fe1421 win32: Update Python downloads 2018-03-09 20:26:42 +00:00
Patrick Griffis 740352ceab Remove mpcinfo plugin
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
2018-03-09 20:26:41 +00:00
Patrick Griffis 541b9ca744 win32: Update to build against gvsbuild 2018-03-09 20:26:41 +00:00
Patrick Griffis e9b9ff9f38 Various fixes for mingw 2018-03-09 18:23:25 +00:00
Patrick Griffis cdefb8e2d6 build: Fix building with-text=true and with-plugin=false
Closes #2113
2018-03-09 13:20:21 -05:00
Patrick Griffis 16ee8eb233 Update translations 2018-03-08 19:18:29 -05:00
Patrick Griffis f6333b592b Fix out of bounds read when DCC message sender contains quotes
This cannot be triggered by any user generally.

Fixes #2128
2018-03-04 12:38:57 -05:00
Patrick Griffis 6e4fc09ce0 Fix possible out of bounds read when being ctcp flooded
Note that this is unlikely to be triggerable by another user.

Thanks to @dequis for discovering.
2018-03-02 20:56:54 -05:00
Patrick Griffis 8aa3b03261 dbus: Add option to use app-id for bus name
This is required for Flatpak but is an API break so it is opt-in
for now.
2018-02-18 04:44:59 -05:00
Patrick Griffis 23c7e7c3da fishlim: Fix build warning 2018-02-18 04:31:55 -05:00
Patrick Griffis 7510ab36b7 xtext: Fix accidental truncation
Fixes #2121
2018-02-11 17:24:32 -05:00
Patrick Griffis 4cdf6460b6 xtext: Fix invalid utf-8 from truncation 2018-02-06 17:06:50 -05:00
Patrick Griffis 5d3bf39103 xtext: Remove unused code 2018-02-06 17:06:50 -05:00
Patrick Griffis 234fe86987 Fix Enchant 2.1.3+ support
They changed the lib name yet again...

Closes #2117
2018-02-06 16:57:30 -05:00
Patrick Griffis 7b359875d8 Set StartupWMClass in desktop file 2018-01-20 09:33:05 -05:00
Patrick Griffis 7d7be83216 Rename app-id to io.github.Hexchat
RDNS syntax is recommended for applications and this matches the
existing flatpak. Note that the dbus service and icons still need
renaming though the former is an API breakage.

Closes #2104
Closes #2103
2017-12-24 13:00:40 -05:00
Patrick Griffis 0058587958 spell-entry: Improve robustness of enchant loading and fix 2.0 support
- Add logging and error handling to loading symbols
- Don't load unversioned symbol
- Handle new function names in Enchant 2.0

Closes #2095
2017-11-24 03:56:53 -05:00
Patrick Griffis 228e08543a build: Force pkg-config lookup method for libpci
This is some meson bug but this solution works for now.
2017-11-18 21:29:56 -05:00
Patrick Griffis 38f8cc8e0c sysinfo: Fix libpci detection
For some reason on my system `libpci` is found even though its not
installed...? Plus I forgot a few headers being included.
2017-11-18 21:06:21 -05:00