Artem Shinkarov
705a946882
Adding plugin interface for C files.
...
Implementation of hooks using C interface basedon dlfcn. Added test
plugin and makefile to build it. In order to test it add the followin
into your profrc:
[plugins]
load=test-c-plugin.so
and execute profanity piping stderr to some file. The file should
contain all entries whenever the plugin function is triggered. It seem
to be workin but some parts are missing.
2013-08-18 03:55:20 +01:00
James Booth
eadb90dc43
Renamed hook on_message -> on_message_received
2013-08-18 00:26:14 +01:00
James Booth
2e2c1b67a4
Removed time import from cricket plugin
2013-08-11 22:19:47 +01:00
James Booth
90397f8160
Updated cricket plugin
2013-08-11 22:12:34 +01:00
James Booth
dae4244306
Added command to cricket-scores plugin
2013-08-11 13:47:54 +01:00
James Booth
ffb1359889
Added get_current_recipient to api
...
Browser plugin now uses last link received in a chat window
2013-08-11 01:35:11 +01:00
James Booth
d8eb320b85
Added on_message hook
...
Browser plugin now uses last received hyperlink when no arg supplied
2013-08-11 01:00:21 +01:00
James Booth
9f76a5e610
Added browser plugin, allow up to 5 args for command callbacks
2013-08-08 01:40:03 +01:00
James Booth
ab45239033
Added connect.py plugin, refactored init and start events, added send_line
2013-08-06 00:29:12 +01:00
James Booth
b0e423cc0d
Fix to cricket plugin
2013-08-04 20:58:43 +01:00
James Booth
a56b9e1f73
Cleared newline loading plugins
2013-08-04 19:31:06 +01:00
James Booth
9bbe8def98
Added cons_alert to python API
2013-08-04 18:57:33 +01:00
James Booth
084b03691e
Implemented time python callbacks
2013-08-04 18:43:46 +01:00
James Booth
d638a4825e
Added notify to python API
2013-08-04 16:42:25 +01:00
James Booth
c3acda5da7
Added /whoami command plugin
2013-08-03 02:45:26 +01:00
James Booth
5464d5079b
Added plugins commands
2013-08-03 02:21:43 +01:00
James Booth
d3a8d0c610
Changed helloworld plugin connect event output
2013-08-03 00:31:58 +01:00
James Booth
6cb32996a5
Added on_connect event to plugins api
2013-08-03 00:22:00 +01:00
James Booth
8105a393e9
Load all plugins in plugins directory
2013-08-02 23:36:47 +01:00
James Booth
5cb28822eb
Pass data to plugin init function
2013-07-30 23:37:46 +01:00
James Booth
4b416ba58e
Experimenting with python integration for plugins
2013-07-21 23:31:09 +01:00