summary refs log tree commit diff stats
path: root/src/common/hexchat.c
AgeCommit message (Collapse)Author
2022-04-21Do not allow plugins to eat Close ContextSoniEx2
These are used for clean-up and letting them be eaten may lead to plugins getting confused about which data belong to which contexts.
2022-04-21Merge upstream changesSoniEx2
2021-07-12Avoid direct use of libproxyMichael Catanzaro
Since hexchat already depends on GLib, it's better to use GProxyResolver instead. This might use libproxy, or not, as appropriate. P.S. This removes a memory safety issue because proxy_list is allocated using malloc(), not g_malloc(), and therefore using g_strfreev() is incorrect. The proper way to free the proxy list returned by libproxy is to use px_proxy_factory_free_proxies() (but nobody does that because it was added in libproxy 0.4.16, which is somewhat recent).
2021-05-27Merge upstream changesSoniEx2
2021-05-23notification: Implement notification option for channelsBakasuraRCE
2018-10-13Fix UB (dangling pointer usage) fix-ubSoniEx2
Using dangling pointers, even if it's just to compare them with valid pointers (such as comparing them with the ones in sess_list), is UB. This fixes that.
2017-10-16A tiny code style changeDren Kajmakchi
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-06-22Fix skipping autoconnect when passed 1 URLPatrick Griffis
2016-11-30Fix timers being incorrectly removedPatrick Griffis
Possibly fixing #1866
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