summary refs log tree commit diff stats
path: root/src/fe-gtk
AgeCommit message (Collapse)Author
2021-05-23notification: Implement notification option for channelsBakasuraRCE
2021-05-23Change default network to Libera.ChatPatrick Griffis
2021-05-23Fixed notifications-winrt compilation errorDjLegolas
Both platform.winmd and windows.winmd were unable to find so added the location of each to the compiler.
2021-05-23Updated Toolset to v142DjLegolas
2021-05-23Add a workaround for icons not scaling right on HiDPI screens. (#2573)Sadie Powell
2020-09-07Use pango_font_metrics_get_height() to calculate font height (#2500)John Levon
2020-08-05Hide Focus Channel when the selected channel is already focussedPaul Wise
When the channel is focussed, the menu item does nothing so it isn't useful to have it in the menu. Fixes: commit c361bdca6afdc933eeac35732334464990295cd4 See-also: https://github.com/hexchat/hexchat/pull/2255#issuecomment-475841824
2020-04-19win32: Fix building executables with invalid entrypointsdelthas
Windows builds of the GTK frontend use the pie flag to compile hexchat.exe. Windows needs an explicit entrypoint when compiling with --pie, otherwise an invalid executable is created. This sets the entrypoint of the executable on Windows (as it is currently set in the Visual Studio project files). This fixes a critical build issue which prevents all Windows builds using Meson from working.
2020-04-19win32: Replace include of winuser.h with windows.hdelthas
winuser.h should never be included directly. windows.h should be included instead. This fixes a critical build issue added in c5d47fc which makes all MinGW builds fail. See #2403.
2019-12-30Add a channel context menu item to focus channelsPaul Wise
2019-12-20build: Fix some meson warningsPatrick Griffis
2019-12-16Add missing winuser.h include for mingw (#2403)Zach Bacon
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
2019-02-25Extend input box GTK theme workaround to include Yarucajuncooks
Fixes #2305
2018-03-31Fix plugins on macOSRainer Müller
The switch to the meson build system broke plugins on macOS. GNU libtool builds shared libraries with ".dylib" and shared modules (plugins) with the extension ".so", but meson is using ".dylib" for both. Although overriding the name_suffix for shared_module() in meson is possible, this would be messy for other platforms as there is no way to query the default. Therefore it seems like we have to go with ".dylib" for now on macOS. However, G_MODULE_SUFFIX is defined to ".so", because glib follows what GNU libtool does. Therefore define a separate preprocessor macro that has the correct extension. See: https://github.com/mesonbuild/meson/issues/1160
2018-03-20Deiconify window on tray click. Closes #2136Manuel Schneider
2018-03-16Remove shift+click to close tab bindingPatrick Griffis
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-13Revert "xtext: Always use Pango to get correct glyph width on Unix"Patrick Griffis
This reverts commit d3f1ab78138a1f9256ec02842799ed6cd1e3ec1e. The performance even on Linux is just too poor in many cases.
2018-03-09win32: Update to build against gvsbuildPatrick Griffis
2018-03-09Various fixes for mingwPatrick Griffis
2018-03-09win32: Respond to WM_TIMECHANGE by updating the CRT timezone infoMark Jansen
Closes #2090 Fixes #1851
2018-02-11xtext: Fix accidental truncationPatrick Griffis
Fixes #2121
2018-02-06xtext: Always use Pango to get correct glyph width on UnixPeng Wu
This should be slower but pango seems to be reasonably fast on Unix though extremely slow on Windows. https://bugzilla.redhat.com/show_bug.cgi?id=1536298
2018-02-06xtext: Fix invalid utf-8 from truncationPatrick Griffis
2018-02-06xtext: Remove unused codePatrick Griffis
2018-02-06Fix Enchant 2.1.3+ supportPatrick Griffis
They changed the lib name yet again... Closes #2117
2018-01-18This patch hopefully solves a bug that causes that when a tab (channel or ↵Rodri
private) is left with the scrollbar at the bottom, and some new text arrives, and then we select again that tab, sometimes the scrollbar is not completely down and there is hidden text and we have to scroll manually to the bottom to show all text. This was previously submitted as an issue in: https://github.com/hexchat/hexchat/issues/1948 Maybe it isn't the ideal way to solve it, but at least I tested it and it seems to work.
2018-01-18Prevent undefined behaviour on memcpyFrancisco Couzo
2017-12-24Rename app-id to io.github.HexchatPatrick Griffis
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-11-24spell-entry: Improve robustness of enchant loading and fix 2.0 supportPatrick Griffis
- Add logging and error handling to loading symbols - Don't load unversioned symbol - Handle new function names in Enchant 2.0 Closes #2095
2017-09-16Spelling: SOCKS5, Byte per second (#2056)Allan Nordhøy
* Spelling: SOCKS5 * SOCKS4/5, Byte per second As per https://en.wikipedia.org/wiki/Data_rate_units
2017-09-15Use localized "HexChat" in window titlesChase Patterson
Also allow rearranging of "HexChat" in window titles
2017-09-15Change windows from starting with "Hexchat: " to ending with " - Hexchat"Chase Patterson
2017-08-31Improve detection of system tray supportPatrick Griffis
Closes #2045
2017-08-19UI text consistency, capitalization etc.torhus
2017-08-18Adjust use of ellipsis (...) in menus according to Gnome HIG (#2035)torhus
* Adjust use of ellipses (...) in menus according to Gnome HIG https://developer.gnome.org/hig/stable/writing-style.html.en
2017-07-20Add mnemonic for URL GrabberPatrick Griffis
2017-07-01Support changing tray icon only with tray_normal imageBilal Elmoussaoui
Previously making a hexchat icon would override all hexchat icons not just the tray. Fixes #2017 Closes #2018
2017-06-26Fix crash when notification backend failsPatrick Griffis
Most notably on Win7
2017-06-13build: Replace Autotools with MesonPatrick Griffis
Quick rundown of benefits: - Much faster: - Autotools (with autogen): 22 seconds - Meson: 7 seconds - Meson (with ccache): 2 seconds - Simpler: - ~1000 lines smaller - Single simple language - Potentially better Windows (Visual Studio) support What is not done: - Complete Windows support - OSX support (easy) Closes #2013 Closes #1937 Closes #1803
2017-05-12Fix input theming with Adwaita-dark alsoPatrick Griffis
2017-04-28Fix signature of other notification backendsPatrick Griffis
Why isn't this a compiler error in the first place..
2017-04-28winrt: Show some exceptionsMark Jansen
2017-02-27Removed ctrl+w keybinding from close menu. Closes #397.Poke
2016-12-27Tweak shadow in preferencesPatrick Griffis
2016-12-22Use a scrolled window for large preference pagesPatrick Griffis
Closes #1722
2016-11-11Further tab color improvementsPatrick Griffis
- Combine the three properties into a single one - Finally fully fix the handling with plugins handling events TODO: Look into lastact handling of these, seems wrong
2016-11-11More fixes for tab color handling with pluginsPatrick Griffis
Part 2 of 03767ee0f9826222 So how the colors work should be pretty straight forward: - A message comes in and is handled, this sets the state flags: nick_said, msg_said, new_data. These map to tab colors. - This state is reset under one of these conditions: - It is commited to the UI when actually printed on unfocused tab - Event is interupted by a plugin hook - The tab focus is changed
2016-11-11Fix private highlights not setting tab colorPatrick Griffis
Caused by 03767ee0f98 Fixes #1871
2016-09-26build: Reorder includes to avoid installed plugin headerRainer Müller
When hexchat is already installed into a non-default prefix, a new build could pick up ${prefix}/include/hexchat-plugin.h from the installed version instead of the local header, as configuration variables such as $(GLIB_CFLAGS) would point to -I${prefix}/include. Reordering the includes and moving -I arguments to CPPFLAGS prevents this, as it ensures the local directories are always searched first. This was no problem when compiling for /usr or /usr/local as these directories in the compiler search path are always searched last. Closes #1822
2016-08-20Remove unused preferencePatrick Griffis
I can't really think of a reason this would be needed and since it doesn't do anything, and didn't since xchat, might as well remove it.