summary refs log tree commit diff stats
path: root/src/common/hexchat.c
AgeCommit message (Collapse)Author
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-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-03-30Don't flush the chanopt_list when saving itLemonBoy
Closes #1665 Fixes #1134
2016-01-31Improve scrollback file handlingPatrick Griffis
- Properly use filesystem encoding - Validate utf8 when loading (hopefully fixing crashes) - Use Gio - Handle Windows line endings - Remove dead code - Fix respecting max length of scrollback files
2015-02-10Call CoInitialize, CoInitializeSecurity and CoUninitialize from the main ↵Arnavion
process, not from a DLL. They're process-level functions and aren't meant to be called from DLLs. CoInitSecurity in particular fails with RPC_E_TOO_LATE even if no other call to CoCreateInstance has been made yet. Fixes sysinfo's WMI calls on Windows 8.1 and above.
2015-02-01Fix logging hostname of queriesTingPing
- Move query topic setting from frontend (where its too late) - Respect chanopts for logging hostname - Open query logfile *after* chanopts loaded
2015-01-18Server line text-encoding-related fixes.Arnavion
- Handle server lines that contain sequences which are invalid in the server encoding. Previously, these would cause the whole line to be interpreted in ISO-8859-1, but now they're simply replaced with an appropriate replacement character. - Removed prefs.utf8_locale. - Change default server encoding from system locale to UTF-8. - Always populate server->encoding with a non-null value - UTF-8. Fixes #1198
2014-12-31Don't return 0 in place of NULLTingPing
2014-12-31Fix some possible null-deref warningsTingPing
2014-12-30Rewrite identdTingPing
- Use gio (which is cross platform) - Properly support multiple users - Allow configuring port - Allow other plugins overriding
2014-12-28Remove option to use socks5 libraryTingPing
This was always disabled by default and is not required for the current socks support. I am not even sure this library is packaged by any distro?
2014-12-28Remove option to disable ipv6TingPing
It has been default for a while, is the only tested option, and will only get more common.
2014-12-28Remove MSProxy supportTingPing
It's not enabled anywhere, certainly not maintained
2014-12-28Fix building as c89TingPing
2014-12-28Use glib for all allocationsTingPing
- Removes need to check for malloc failure - Removes need for NULL checks on free - Adds checks for integer overflows - Removes some extra memset calls - Removes chance of mixing libc and glib malloc/free
2014-12-10Fix chanopts not saving if /quit before exitleeter
This is the C fix, unfortunately a proper fix, e.g. removing the dependency on session_name all together is a much vaster refactor outside the scope of this bugfix. Closes #1111
2014-12-04Fix some obvious type warnings.Arnavion
2014-11-29Fix handling --cfgdirTingPing
Fixes #1225
2014-11-05ssl: Don't use global openssl contextTingPing
Fixes #789
2014-06-21Remove broken debug codeTingPing
2014-06-04Use glib to parse and launch commands for util_execTingPing
Fixes #958
2014-04-02Add marker-line functionality for scrollback, instant seek.RichardHitt
Fixes #662.
2014-01-27Fixed lag meter getting stuck.Diogo Sousa
Also lag_sent in struct server should have always been an unsigned long. Fixes #749.
2014-01-26Show error when you lack write permissions to configdirTingPing
2014-01-20Actually call commands sent with --commandTingPing
Closes #884
2014-01-03Change url-handler example to firefox -new-windowTingPing
Firefox removed the ability to open private windows with a link
2013-12-23Only return channel sessions from find_channel()TingPing
Closes #865
2013-07-01Handle extraneous cli args as urlsTingPing
2013-06-08Now the default configuration tries to set the language from the systemDiogo Sousa
locale, and defaults to english if no language match. This closes #473.
2013-06-06Add chanopt for stripping colorsTingPing
2013-06-04fix loading startup.txt automaticallyTingPing
2013-05-24Merge pull request #590 from orium/run-as-root-589-504TingPing
Now hexchat doesn't abnormally terminate when started as root.
2013-05-17Add omsg user commandTingPing
2013-05-13Restructured a fair bit of cfgfiles.c. Besides making the code cleaner this ↵Diogo Sousa
allows for better error handling (in fact the error message of check_prefs_dir () whould make hexchat abort).
2013-05-12Forget to put an empty line after a function definitionDiogo Sousa
2013-05-12Factored locale related code in main() to a new function.Diogo Sousa
2013-05-12Now hexchat doesn't abnormally terminal when started as root.Diogo Sousa
This fixes #589/#504.
2013-05-09Add option to support away tracking regardless of channel sizeHeiki Ojasild
As there is option to disable away tracking, it would make sense to treat channel size limit of 0 as infinity for away tracking purposes. These changes attempt to implement this.
2013-05-04Replace g_strdup_printf with g_build_filename where possibleBerke Viktor
2013-04-27Don't include if unusedBerke Viktor
2013-04-27Some crucial cosmeticsBerke Viktor
2013-04-27Fix compiler warningBerke Viktor
2013-04-24Early on, call g_type_init() unless deprecatedRichardHitt
2013-04-17typoTingPing
2013-04-17Use more useful example for url handlerTingPing
2013-04-09Don't send ping's to the server if we are still waiting for a pong.Diogo Sousa
If the server don't respond in 30s just report the lag as +30s. This fixes the bug where hexchat reset the lag meter every time a ping was sent and no pong was received.