summary refs log tree commit diff stats
path: root/src/common
AgeCommit message (Collapse)Author
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-06-10Actually respect away_omit_alerts for custom sounds...Patrick Griffis
Probably should think before merging things.
2017-06-10Disable custom sounds when away_omit_alerts enabledYuGiOhJCJ
Closes #2012
2017-03-10Fix email address pattern, it can starts with digitShengyu Zhang
2017-02-18Better handle mode numerics starting with :Patrick Griffis
These are still awful but until we have a real parser.. Fixes inspircd/inspircd#1295
2017-01-07servlist: Use SSL with OFTC by defaultPatrick Griffis
They now use Lets Encrypt which should be trusted.
2017-01-05Increase default scrollback size to 5kPatrick Griffis
This is totally reasonable for a modern computer.
2016-12-13Use AC_CHECK_FUNCS to find functions not in LibreSSLFlorian Stinglmayr
LibreSSL might not have all functions of OpenSSL 1.1.0 so use AC_CHECK_FUNCS to find them first before using them. Closes #1899 Fixes #1898
2016-12-04Enable input_filter_beep by defaultPatrick Griffis
This just allows for spam.
2016-12-04Avoid mixed declarationPatrick Griffis
2016-12-04Fix printing invalid utf8 from /exec outputPatrick Griffis
This could possibly cause a crash. On a related note exec_data() and exec_handle_colors() could probably use a pass cleaning up to ensure they "do the right thing".
2016-12-01properly clean the autogenerated org.hexchat.service.serviceMattia Rizzolo
2016-11-30Fix timers being incorrectly removedPatrick Griffis
Possibly fixing #1866
2016-11-28Fix typos s/Recieved/Received/Mattia Rizzolo
2016-11-11Respect plugin hook changing tab colorPatrick Griffis
Fixup to 241dd69b081
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-09Convert doat to an internal commandPatrick Griffis
- Trivial plugin - Useful for many users - Was under a dumb license
2016-10-23Final fixup of OpenSSL 1.1.0 changesPatrick Griffis
2016-10-23ssl: Fix building with older OpenSSL tooPatrick Griffis
2016-10-23ssl: More OpenSSL 1.1.0 fixesPatrick Griffis
2016-10-22Default net_ping_timeout to 60Patrick Griffis
2016-10-11Added MHOP commandd-browne
2016-10-10Don't abort if translated text event failsPatrick Griffis
At least try the untranslated one... Also while at it don't present a ton of dialogs to the user about this failure, they wouldn't even know what to do with that information.
2016-10-08Don't update usercount if doing nameslistgaffatape
2016-10-08Update usercount in inbound_nameslist_endgaffatape
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-09-11Sanitize network name for scrollback filesPatrick Griffis
This prevents using invalid chars on Windows or creating directories
2016-09-03plugin: Add chanmodes to channels listPatrick Griffis
2016-08-27dbus: Remove dbus-python example in favor of GDBusPatrick Griffis
2016-08-27dbus-client: Rewrite with GDBusPatrick Griffis
This is just a direct port and should change no logic
2016-08-27Fix building against openssl 1.1.0Patrick Griffis
Fixes #1759
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.
2016-08-05plugin: Fix return value of hexchat_pluginpref_get_int()Patrick Griffis
On failure it should always return -1, atoi() returns 0. Fixes #1785
2016-07-24Kill fe_set_hilight()Patrick Griffis
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-20dcc: Improve handling multiple resumable offersDaniel Boland
Multiple offers for the same file are resumable. Attempts to resume more than one of the offers causes the other offers to start a new file. Closes #1764 Fixes #1763
2016-07-20dbus-client: Fix missing includeEleni Maria Stea
Fix "Implicit declaration of function exit" compile error Closes #1770
2016-06-30dcc: Introduce dcc_type and dcc_state enumsBen Gamari
Closes #1705
2016-06-30dcc: Fix resuming with DCC GETHubert Terlecki
Fixes #1746 Closes #1747
2016-06-29cfgfiles: Reinitialize timers on net_ping_timeout changeBen Gamari
This ensures that changes will take effect without a restart.
2016-06-29cfgfiles: Introduce an after_update callbackBen Gamari
This allows individual preferences to take action when their value is changed. Signed-off-by: Ben Gamari <ben@smart-cactus.org>
2016-06-29Ensure that timers are freed and activated when necessaryBen Gamari
2016-06-29Apply timeout changes made in preferences dialogBen Gamari
Just involves a bit of refactoring.
2016-06-29Introduce and use fe_timeout_add_secondsBen Gamari
This should allow the operating system to be a bit more lax about timeouts, allowing more efficient power management.
2016-06-29dcc: Disable timeout timer when not in useBen Gamari
This should mean that hexchat never *needs* to wake-up unless prompted by socket activity (assuming that the lag-o-meter is not enabled).
2016-06-29Refactor timer handlingBen Gamari
This allows us to omit the lagometer timer in the event that it is not enabled, bringing the baseline wake-up rate down to 1Hz from 2Hz, which could bring considerable power savings on mobile devices.
2016-06-29Mask nickserv ghost passwordAdrien Saladin
Closes #1750
2016-06-24Forcibly reset iconv converter after every conversion.Arnavion
Despite what g_convert_with_iconv's docs say, it does not reset the converter on a failed conversion (iconv returns -1). Fixes #1758
2016-06-24Use constant instead of literal.Arnavion
2016-05-28Couple of minor const correctness fixesErik de Castro Lopo