1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-11 11:55:07 -05:00
Commit Graph

76 Commits

Author SHA1 Message Date
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
Berke Viktor
a5ab455b34 Forgot this one 2012-10-30 07:31:33 +01:00
Berke Viktor
81747d996c Revert "Proof-of-concept compat mode for XChat"
This reverts commit ad16a2bfee.
2012-10-30 06:56:41 +01:00
Berke Viktor
ad16a2bfee Proof-of-concept compat mode for XChat 2012-10-30 06:56:25 +01:00
Berke Viktor
07cbcfe846 Make HexTray filename consistent with the rest 2012-10-29 00:42:52 +01:00
Berke Viktor
7cc2dc36e5 Get rid of the SASL plugin 2012-10-25 16:40:26 +02:00
Berke Viktor
1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor
cb891a9732 Rename WinSys on the code level 2012-10-21 06:40:28 +02:00
Berke Viktor
cd0ffbe8ba Fix auto-loading the Perl interface on Windows 2012-07-27 00:24:56 +02:00
Berke Viktor
ec301a5a54 Auto-load user plugins and scripts from <config>/addons
On Unix leave $(libdir)/hexchat/plugins for plugin packagers, on Windows
prevent users from modifying Program Files by ignoring everything except
bundled plugins
2012-07-26 20:53:59 +02:00