Commit Graph

85 Commits

Author SHA1 Message Date
Arnavion 5152040c17 Always use 64-bit filesize and file offsets in DCC.
Based on LRN's commit for replacing stat with GFileInfo https://github.com/hexchat/hexchat/commit/32008bb

Fixes #382
2014-12-06 14:02:45 -08:00
TingPing 2aa3eb8cfb Escape values set via pluginpref
Fixes #790
2014-09-01 18:17:26 -04:00
TingPing c2ecb4c68c Fix various crashes with pluginpref 2014-07-28 14:47:19 -04:00
TingPing 11e3ecc739 Stop hardcoding plugin extensions everywhere 2014-06-04 11:15:35 -04:00
TingPing 8578a9d52d Always use GModule for plugin support
Also cleans up some dead code
2014-06-02 05:38:13 -04:00
TingPing eb1d3a063a Allow overriding libdir 2014-01-27 18:39:26 -05:00
TingPing 20d26aea94 Rewrite dns command
- Cross platform
- Doesn't depend on external tools
2014-01-08 01:32:28 -05:00
Diogo Sousa 40f26429f8 Print{,_attr} and server{,_attr} hooks were incorrectly handled when both
version existed (regular and attrs).  Specifically, the priority was not
respected, and both versions were run even when EAT_PLUGIN was returned.

Fixes #847.
2013-11-28 02:11:33 +00:00
TingPing 5c223ec5d5 Fix more warnings 2013-11-22 16:53:50 -05:00
TingPing 2e08b3a2da Add remaining chanopts to plugin api
In flags of get_list('channels')
2013-10-15 18:30:37 -04:00
TingPing a831ecfd01 Strip trailing space from pluginpref_list entries 2013-09-30 01:38:51 -04:00
TingPing b7e8f64bba Fix crash in hexchat_pluginpref_list()
Set max output size to 4096
2013-09-30 01:23:20 -04:00
TingPing 68153812f7 Add channelkey to channel lists 2013-09-07 20:17:42 -04:00
TingPing e8456beadc Add reload command for plugins and add to gui 2013-08-04 04:36:10 -04:00
TingPing 13e9713b72 Merge xchat r1525
Fixes possible crash
2013-07-20 18:00:19 -04:00
Diogo Sousa ec6f5b011a g_free() should be used for g_malloc(). 2013-07-13 05:33:16 +01:00
Diogo Sousa 18eaccb840 Added functions to create/destroy event_attrs to plugin interface.
Function names were chosen to keep consistency with the rest of the
API.
2013-07-12 22:46:04 +01:00
Diogo Sousa e0fb3d537d Added hexchat_emit_print_attrs() to plugin interface. 2013-07-12 01:33:35 +01:00
Diogo Sousa 5e240eb259 Indentation fixes and code cleanup. 2013-07-10 00:42:34 +01:00
Diogo Sousa 7101b7b864 Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is called
when it should. This should close #661.
2013-07-09 23:11:28 +01:00
Diogo Sousa 98aa62f637 Removed two dummy functions in plugin interface. 2013-07-09 22:04:07 +01:00
Diogo Sousa 798db7368a Added hexchat_hook_server_attrs() and hexchat_hook_print_attrs() to the plugin
interface. This hooks are similar to hexchat_hook_{server,print}() except the
callback passes an extra argument with the (new) structure hexchat_event_attrs.

This structure contains attributes related to the event; by now it only contains
the server_time_utc member which is non-zero if server-time is enabled and the
server used this extension to pass a timestamp.

See issue #661.

(Note: this hooks are still not called by hexchat in this commit.)
2013-07-09 20:21:16 +01:00
Arnavion 59b9ee3417 plugins: Implemented get_info("password") and re-added get_info("nickserv") as an alias to that. 2013-06-23 11:39:12 -07:00
TingPing 9b958ed393 Use snprintf 2013-06-13 18:38:59 -03:00
Berke Viktor 7b0b86c9f7 Nuke nickserv password field and some cosmetics 2013-05-11 02:40:08 +02:00
Berke Viktor fb01d4e9ab Replace g_strdup_printf with g_build_filename where possible 2013-05-04 18:21:48 +02:00
TingPing ffa1ea7358 Add python3 plugin 2013-05-03 20:26:58 -04:00
Berke Viktor 2df866bdf8 Don't autoload WMPA, it's dead in the water 2013-04-28 16:50:19 +02:00
Christoph J. Thompson 77cad8e716 Don't hardcode "plugins" as the subdirectory for plugins in many
places.

	modified:   config-win32.h
	modified:   configure.ac
	modified:   plugins/checksum/Makefile.am
	modified:   plugins/doat/Makefile.am
	modified:   plugins/fishlim/Makefile.am
	modified:   plugins/perl/Makefile.am
	modified:   plugins/python/Makefile.am
	modified:   plugins/sysinfo/Makefile.am
	modified:   plugins/xdcc/Makefile.am
	modified:   src/common/plugin.c
	modified:   src/fe-text/fe-text.c
2013-04-28 16:42:48 +02:00
TingPing b856065167 fix warning 2013-04-15 22:03:03 -03:00
Berke Viktor dd624950c6 Eliminate compiler warning 2013-04-14 13:15:10 +02:00
Berke Viktor 069a6adb19 If no path given, try to load plugins from config dir, not from install dir 2013-04-14 12:55:02 +02:00
TingPing 096e837ece Add accounts to users in get_list 2013-04-14 00:33:03 -03:00
Berke Viktor 5e59578e28 Remove most of HexTray and one instance
You can still build HexTray manually if you want to try fixing it
2013-04-02 11:56:08 -07:00
Berke Viktor ef18734f20 Make sure we don't auto-load HexTray 2013-02-13 21:05:16 +01:00
RichardHitt 4e0daf047e Correct almost all compiler warning issues 2013-01-19 12:33:16 -08:00
Dan Mashal b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
Berke Viktor 677c0e3b70 Disable auto-loading of deprecated plugins 2012-11-12 20:46:26 +01:00
Berke Viktor db218817fd Use configdir instead of *xchatdir* 2012-11-04 23:55:36 +01:00
Berke Viktor 04892cbbef Case tabulation 2012-11-04 17:52:59 +01:00
Berke Viktor d7daa8bc3c Case simplification 2012-11-04 17:52:58 +01:00
Arnavion 5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor ea0d3059f4 Eliminate even more warnings and bump warning level to 3
Shouldn't need to go any higher, level 4+ gives insane warnings
2012-10-30 22:13:40 +01:00
Berke Viktor a51a69134b Nah, even more rebranding 2012-10-30 11:35:39 +01:00
Berke Viktor 82936df2af Some final rebranding 2012-10-30 10:42:37 +01:00
Berke Viktor 29f7a9180c Rebrand get_info(xchatdir) but remain compatible for Perl and Python 2012-10-30 09:59:58 +01:00
Berke Viktor 66be50f335 Some more fixes 2012-10-30 09:16:21 +01:00
Berke Viktor 8d6f4d9d40 Some remaining fixes 2012-10-30 08:58:50 +01:00
Berke Viktor e681eafa78 Rebranding for the rest of plugin* 2012-10-30 08:42:48 +01:00
Berke Viktor 45d4fa5801 Rebranding for XCHAT_EAT_* 2012-10-30 07:40:37 +01:00