Patrick Griffis
e9b9ff9f38
Various fixes for mingw
2018-03-09 18:23:25 +00:00
Mark Jansen
9b8a7eaa01
win32: Respond to WM_TIMECHANGE by updating the CRT timezone info
...
Closes #2090
Fixes #1851
2018-03-09 13:24:08 -05:00
Patrick Griffis
7510ab36b7
xtext: Fix accidental truncation
...
Fixes #2121
2018-02-11 17:24:32 -05:00
Peng Wu
d3f1ab7813
xtext: Always use Pango to get correct glyph width on Unix
...
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-06 17:06:50 -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
Rodri
4a228d1efe
This patch hopefully solves a bug that causes that when a tab (channel or 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-18 15:07:14 -05:00
Francisco Couzo
ee8926503c
Prevent undefined behaviour on memcpy
2018-01-18 04:49:10 -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
Allan Nordhøy
a388d0c553
Spelling: SOCKS5, Byte per second ( #2056 )
...
* Spelling: SOCKS5
* SOCKS4/5, Byte per second
As per https://en.wikipedia.org/wiki/Data_rate_units
2017-09-16 22:04:52 -04:00
Chase Patterson
18b741804c
Use localized "HexChat" in window titles
...
Also allow rearranging of "HexChat" in window titles
2017-09-15 19:18:29 -04:00
Chase Patterson
d935197895
Change windows from starting with "Hexchat: " to ending with " - Hexchat"
2017-09-15 19:18:29 -04:00
Patrick Griffis
d99cd18fb9
Improve detection of system tray support
...
Closes #2045
2017-08-31 10:16:03 -04:00
torhus
281038e725
UI text consistency, capitalization etc.
2017-08-19 16:49:30 -04:00
torhus
da0635c960
Adjust use of ellipsis (...) in menus according to Gnome HIG ( #2035 )
...
* Adjust use of ellipses (...) in menus according to Gnome HIG
https://developer.gnome.org/hig/stable/writing-style.html.en
2017-08-18 15:59:31 -04:00
Patrick Griffis
c6f3fbd15c
Add mnemonic for URL Grabber
2017-07-20 17:33:23 -04:00
Bilal Elmoussaoui
2965fbcc87
Support changing tray icon only with tray_normal image
...
Previously making a hexchat icon would override all hexchat icons
not just the tray.
Fixes #2017
Closes #2018
2017-07-01 16:26:00 -04:00
Patrick Griffis
8f2429a2d2
Fix crash when notification backend fails
...
Most notably on Win7
2017-06-26 17:49:03 -04:00
Patrick Griffis
628100c19f
build: Replace Autotools with Meson
...
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-06-13 23:54:51 -04:00
Patrick Griffis
76430228e1
Fix input theming with Adwaita-dark also
2017-05-12 00:49:45 -04:00
Patrick Griffis
88cb0c9d20
Fix signature of other notification backends
...
Why isn't this a compiler error in the first place..
2017-04-28 07:38:47 -04:00
Mark Jansen
ec94565cb9
winrt: Show some exceptions
2017-04-28 07:33:36 -04:00
Poke
30a223a6cb
Removed ctrl+w keybinding from close menu. Closes #397 .
2017-02-27 04:22:59 -05:00
Patrick Griffis
dfaf0e31c7
Tweak shadow in preferences
2016-12-27 10:12:05 -05:00
Patrick Griffis
2c80cb7efd
Use a scrolled window for large preference pages
...
Closes #1722
2016-12-22 07:32:44 -05:00
Patrick Griffis
241dd69b08
Further tab color improvements
...
- 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-11 19:27:57 -05:00
Patrick Griffis
539949973c
More fixes for tab color handling with plugins
...
Part 2 of 03767ee0f9
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-11 01:25:12 -05:00
Patrick Griffis
e7c88e0f83
Fix private highlights not setting tab color
...
Caused by 03767ee0f9
Fixes #1871
2016-11-11 00:45:00 -05:00
Rainer Müller
c79ce843f4
build: Reorder includes to avoid installed plugin header
...
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-09-26 19:16:42 -04:00
Patrick Griffis
dc09f2c75d
Remove unused preference
...
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.
2016-08-20 23:24:19 -04:00
Patrick Griffis
aabcf6f9f4
Fix crashes when plugins modify UI during Close Context
...
This probably doesn't catch them all but setting tab color
and printing text at least do not crash in the common case.
2016-07-24 21:14:11 -04:00
Patrick Griffis
ac986bb3a4
Fix leak
2016-07-24 21:10:34 -04:00
Patrick Griffis
03767ee0f9
Kill fe_set_hilight()
...
It just duplicates functionality and this fixes:
- alert_taskbar chanopt not being respected
- tab color being incorrect when highlight print events are eaten
2016-07-24 18:08:09 -04:00
Patrick Griffis
e647cd00c6
setup: Disabling input styling requires restarting
2016-07-05 15:40:42 -04:00
Patrick Griffis
91df075d62
Fix input styling with Adwaita 3.20 theme
2016-07-05 15:26:05 -04:00
Ben Gamari
9e11280e52
dcc: Introduce dcc_type and dcc_state enums
...
Closes #1705
2016-06-30 15:51:10 -04:00
Rastus Vernon
0667519d17
fkeys: Change unprintable characters to octal notation
...
- ^O is \017
- ^B is \002
- ^C is \003
- ^] is \035
- ^_ is \037
- ^V is \026
See ASCII(7) for an octal and hexadecimal table.
2016-06-29 15:51:53 -04:00
Rastus Vernon
fbacb82191
Add keybinding for reverse video text
...
This adds the Ctrl+R keybinding by default to insert \026, the
character used for the reverse video text attribute.
2016-06-29 15:50:53 -04:00
Ben Gamari
6a0e131b88
menu: Ensure that toggling lag-o-meter changes timer state
2016-06-29 15:42:11 -04:00
Ben Gamari
9e4c2ddc47
Apply timeout changes made in preferences dialog
...
Just involves a bit of refactoring.
2016-06-29 15:42:11 -04:00
Ben Gamari
bcbe42dd7a
Introduce and use fe_timeout_add_seconds
...
This should allow the operating system to be a bit more lax about
timeouts, allowing more efficient power management.
2016-06-29 15:42:11 -04:00
Arnavion
a1d2272dc0
notifications-winrt: Fix all uses of "" to L"".
...
The API uses Platform::String^. String's constructor takes in char16*.
Fixes #1755
2016-06-21 07:39:50 -07:00
Patrick Griffis
c12f33aa4c
servlistgui: Error if nicks left empty
2016-06-12 15:01:39 -04:00
Patrick Griffis
6554a8d63c
servlistgui: Show invalid nick/user on open
...
It is possible to have an invalid config from a previous upgrade
Fixes #1715
2016-05-16 08:51:18 -04:00
Marcel Telka
54c6418d61
Support for older libnotify versions
2016-04-10 21:22:12 -04:00
Patrick Griffis
1f48f9dd6f
Increase default size of some util windows
2016-03-31 07:21:02 -04:00
Patrick Griffis
58fb36ee34
Fix warning
...
Fixes #1533
2016-03-30 08:48:23 -04:00
LemonBoy
0635e91dd6
Don't flush the chanopt_list when saving it
...
Closes #1665
Fixes #1134
2016-03-30 08:11:07 -04:00