Sebastien Helleu
d86af240fa
Fixed plugin command handler call when no argument is given
2006-04-01 07:43:51 +00:00
Sebastien Helleu
83bdd97916
Added keyboard handler to plugin API
2006-03-30 12:08:55 +00:00
Sebastien Helleu
27fd4beca7
Aliases are executed before WeeChat/IRC commands, /builtin command added
2006-03-21 11:41:02 +00:00
Sebastien Helleu
9373a7a47e
Added new plugin API function: remove_infobar
2006-02-20 17:01:18 +00:00
Sebastien Helleu
3a213f38ec
Added timer handler for plugins
2006-02-19 10:43:47 +00:00
Sebastien Helleu
4f81254e40
Fixed message displayed when a command handler failed (now "failed" instead of
...
"command not found")
2006-02-18 12:50:55 +00:00
Sebastien Helleu
c491b39388
Updated doc, renamed functions in plugins API
2006-02-16 20:27:28 +00:00
Emmanuel Bouthenot
8855d39f44
make possible to log with plugins / scripts
2006-02-16 16:10:25 +00:00
Emmanuel Bouthenot
f222a6ad7a
extending plugins/scripts API by adding get_server_info, get_channel_info and get_nick_info
2006-01-31 13:54:27 +00:00
Sebastien Helleu
364d774ded
Added new command line argument for setting WeeChat homedir (-d or --dir) (patch from Gwenn)
2006-01-25 08:55:24 +00:00
Sebastien Helleu
8cd8410448
Fixed bugs: buffer detection in plugins/scripts commands, and /history command
2006-01-22 21:30:19 +00:00
Sebastien Helleu
f6d46b8792
Reverse order for unloading plugins (fixes crash on FreeBSD)
2006-01-14 12:09:04 +00:00
Sebastien Helleu
4d62625894
New year in copyright, FSF address changed
2006-01-04 08:56:00 +00:00
Sebastien Helleu
d5b58ff068
Added completion system for plugins/scripts commands, fixed plugins autoload
2005-12-16 14:16:03 +00:00
Sebastien Helleu
c005d8c4d3
Added server/channel arg to /buffer command for jumping to buffer
2005-11-29 08:23:03 +00:00
Sebastien Helleu
64c1dbba0e
Fixed bugs in "get_info" and "command" interface functions of plugins
2005-11-06 18:27:20 +00:00
Sebastien Helleu
5830b0ab40
Fixed server detection when using "command" interface function from scripts
2005-11-05 15:14:17 +00:00
Sebastien Helleu
be1c9be925
Added command line arguments to disable auto-connect to servers and plugins auto-load
2005-10-30 19:22:53 +00:00
Sebastien Helleu
079e4a4028
- added new setting (look_one_server_buffer): use same buffer for all servers
...
- fixed DCC bug when looking for ports in range
2005-10-30 09:56:24 +00:00
Sebastien Helleu
e26772dcdb
Added new return codes for plugin handlers, to discard messages for WeeChat, plugins, or both.
2005-10-28 07:31:21 +00:00
Sebastien Helleu
9d52621c44
Fixed Perl bugs with returned values
2005-10-26 23:07:03 +00:00
Sebastien Helleu
0f055b087a
- Added options for /plugin command: autoload, reload, unload
...
- Added new plugin functions, for C plugins and scripts: set_config, get_plugin_config, set_plugin_config
- Added new script function: remove_handler
2005-10-25 17:37:13 +00:00
Sebastien Helleu
32a7fbb767
Added new plugins functions: set_config, get_plugin_config, set_plugin_config.
...
New file is used to store plugin variables (~/.weechat/plugins.rc)
2005-10-23 22:07:18 +00:00
Sebastien Helleu
f7872a9dd8
Converted old Ruby interface to new plugin system (Ruby plugin still NOT ok!)
2005-10-23 11:33:39 +00:00
Sebastien Helleu
aeb7170024
Moved some functions in source code
2005-10-17 17:45:23 +00:00
Sebastien Helleu
357d7c5a2f
Changes in plugins and scripts plugins:
...
- get_info("version") now returns only version
- added get_config() function to read config options
2005-10-17 14:30:03 +00:00
Sebastien Helleu
b2ec60110c
Auto-load plugins in user's plugins path (before WeeChat system lib dir)
2005-10-17 11:53:46 +00:00
Sebastien Helleu
fa54807ef6
Added "weechatdir" info for compatibility with old scripts (now DEPRECATED, use
...
"weechat_dir" instead)
2005-10-16 21:47:43 +00:00
Sebastien Helleu
cdc33d08b0
New plugin interface (loads dynamic C libraries)
2005-10-15 12:34:21 +00:00
Sebastien Helleu
d80c8e9e57
Fixed bug with strings comparison (str[n]casecmp) and some locales (like turkish), now using ASCII comparison
2005-09-03 12:37:20 +00:00
Sebastien Helleu
11321acb96
Added Ruby plugins skeleton
2005-08-21 16:32:48 +00:00
Sebastien Helleu
9eb1422bb7
Fixed plugins "print" and "prnt" functions: now ok for writing on server buffers
2005-06-16 11:02:19 +00:00
Sebastien Helleu
bff5f95056
Plugin message handler is now called for own messages (as "privmsg" IRC command, with "localhost" as host to differenciate from other messages)
2005-05-08 12:19:47 +00:00
Sebastien Helleu
13d8a4f093
Fixed buffer detection for Perl/Python "print" and "command" functions
2005-05-07 11:26:31 +00:00
Sebastien Helleu
f88b75b241
Allow only server (with blank channel) for buffer search (for print & command functions)
2005-05-05 16:41:22 +00:00
Sebastien Helleu
c8ad30020b
Improved Perl interface and some changes in Python:
...
- function "print_with_channel" was removed
- function "command" now runs weechat command or send text to channel
- Perl functions are now called with weechat::name (instead of IRC::name)
- IRC::xxx functions are still active for compatibility with old scripts
2005-05-05 16:26:34 +00:00
Sebastien Helleu
eda55fbdb4
Added Python plugin support
2005-05-01 18:53:23 +00:00
Sebastien Helleu
8921e45815
Fixed many memory leaks
2005-01-31 23:33:59 +00:00
Sebastien Helleu
9a7b7af41c
Away nicks are now displayed with another color
2005-01-26 22:21:58 +00:00
Sebastien Helleu
88930e50dd
Improved completion (now completes commands args), fixed color bug (gray removed, replaced by default), fixed crash when unknown section with option(s) in config file, fixed IRC commands: /op, /deop, /voice, /devoice
2005-01-16 11:52:22 +00:00
Sebastien Helleu
14e833c257
Version 0.0.9
2005-01-01 12:31:19 +00:00
Sebastien Helleu
7ef14b95b6
Added IRC::command function for Perl scripts
2004-10-03 16:29:05 +00:00
Sebastien Helleu
8bcbc3dcae
Secured code to prevent buffer overflows and memory leaks
2004-01-24 12:59:57 +00:00
Sebastien Helleu
6950745079
New copyright
2003-12-31 16:56:11 +00:00
uid67137
3ea696bbc0
Perl scripts auto-load, if no path given, look in ~/.weechat/perl when loading Perl script, auto create plugin directories at startup (~/.weechat/perl, /perl/autoload, /python, /python/autoload, /ruby, /ruby/autoload)
2003-12-26 12:59:31 +00:00
Sebastien Helleu
a1f09df80f
- added IRC::get_info function for Perl scripts
...
- cleanup code in main() function of weechat.c
- fixed bug when unloading all Perl scripts (now end and restart Perl interpreter)
2003-11-30 19:18:06 +00:00
Sebastien Helleu
507a5c17c0
Added plugin prefix ("=P=") in front of scripts messages
2003-11-29 10:37:37 +00:00
Sebastien Helleu
10a170bf7d
- Perl unloading is now ok (unload all scripts),
...
- /perl prints all Perl scripts,
- error if registering 2 Perl scripts with same (internal) name.
2003-11-23 17:40:19 +00:00
Sebastien Helleu
ba65f5ec30
Renamed PLUGIN_* macros and fixed bug in "IRC::add_message_handler" function
2003-11-22 16:55:56 +00:00
Sebastien Helleu
7779b2f78e
Added Perl command handlers
2003-11-22 14:14:30 +00:00