James Booth
abc0e97463
Fixed module name for ruby api
2013-08-18 21:57:46 +01:00
James Booth
1b8cff6def
Got basic hook working in ruby
2013-08-18 20:11:16 +01:00
James Booth
d5818f49db
Basic ruby api functions
2013-08-18 17:34:32 +01:00
James Booth
fd3419b8af
Merge branch 'plugins' into ruby
2013-08-18 17:04:25 +01:00
James Booth
7f9a317cd7
Free path on error, c_plugins
2013-08-18 17:03:31 +01:00
James Booth
2dc8030f8b
Use GString for path in creating c plugins, fixed hook name in test-c-plugin
2013-08-18 17:00:15 +01:00
James Booth
8bbab0ab5f
Fixed compiler warning
...
src/plugins/c_plugins.c:24:9: warning: implicit declaration of function ‘log_warning’
2013-08-18 16:41:17 +01:00
James Booth
385c8981bc
Removed unused variable after merge
2013-08-18 16:36:43 +01:00
James Booth
4d5fe66277
Merge branch 'plugins' into ruby
...
Conflicts:
Makefile.am
2013-08-18 16:31:13 +01:00
James Booth
3d36ec0c50
Fixed tabs in Makefile.am
2013-08-18 16:28:26 +01:00
James Booth
a1a01b8cd4
Started adding ruby api
2013-08-18 16:20:52 +01:00
James Booth
722bbfad23
Removed trailing whitespace
2013-08-18 16:10:19 +01:00
Artem Shinkarov
02eedc9e4d
Minor fix: Reverting back the optimisation level.
...
FYI: there is no debug version that can be easily obtained.
2013-08-18 04:02:10 +01:00
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
ffb565a16a
Removed unused includes in python_api
2013-08-18 00:43:28 +01:00
James Booth
eadb90dc43
Renamed hook on_message -> on_message_received
2013-08-18 00:26:14 +01:00
James Booth
eead7ea7e3
Removed python.h depdendency from callbacks.c
2013-08-18 00:17:23 +01:00
James Booth
9ca23ed24e
Moved python callbacks
2013-08-18 00:12:29 +01:00
James Booth
f15b61e4cb
Language wrappers for callbacks
2013-08-18 00:10:10 +01:00
James Booth
8cae5c13b0
Refactored plugin callbacks
2013-08-17 23:41:53 +01:00
James Booth
79b5d89f23
Fixed includes to remove compile warning
2013-08-17 23:25:05 +01:00
James Booth
d2b15cad7c
Moved python init and shutdown
2013-08-17 23:21:32 +01:00
James Booth
67972f8eac
Pulled out common api into api.c, added python bindings
2013-08-17 23:16:14 +01:00
James Booth
2ac4a183d0
Added python_plugin_create()
2013-08-17 22:51:25 +01:00
James Booth
580b14ab68
Added plugin load list as preference, moved python hooks
2013-08-17 22:42:44 +01:00
James Booth
140a2ad0e3
Merge branch 'master' into plugins
...
Conflicts:
.gitignore
2013-08-13 21:42:01 +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
b1768f942c
Set status to 0.4.0 development
2013-08-11 18:42:54 +01:00
James Booth
520d2129ea
Set status to release
2013-08-11 17:06:08 +01:00
James Booth
22c521d662
Use patched version of apt-cyg
2013-08-11 17:00:06 +01:00
James Booth
dc896b27d4
Renamed plugins_command_run
2013-08-11 13:49:59 +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
462b09a546
Fix ctrl + arrow keys for fedora
2013-08-10 20:47:56 +01:00
James Booth
ad86280220
Fixed cygwin expat dependency for new versions
2013-08-09 00:15:40 +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
3db9fb75ee
Added TODO and plugins/ to .gitignore
2013-08-06 20:24:14 +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
de3d46becc
Merge branch 'master' into plugins
2013-08-05 23:18:35 +01:00
James Booth
42eef398b4
Free Jid
2013-08-05 23:12:10 +01:00
James Booth
c6e9a7455d
Undo change to stanza check for nick change return value
2013-08-05 23:08:30 +01:00
James Booth
1525be6133
Refactor MUC self presence checks
2013-08-05 22:55:11 +01:00
James Booth
55282e063d
Handle when servers dont send status 101 or jid for MUC nick changes
2013-08-05 21:20:07 +01:00
James Booth
b0e423cc0d
Fix to cricket plugin
2013-08-04 20:58:43 +01:00
James Booth
f17dc5b4ca
Added plugins_run_timed to plugins.h
2013-08-04 19:57:25 +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