63 Commits

Author SHA1 Message Date
Alexey Sokolov
0c9eae226e Fix global python modules. 2011-08-21 13:34:23 +01:00
Kyle Fuller
e83e14ab67 Do not include DCCSock in mod(perl|python) 2011-06-01 22:19:30 +01:00
Kyle Fuller
8f508cb4a5 Migrate dcc bouncing to its own module 2011-06-01 20:21:27 +01:00
Alexey Sokolov
e51b7daedc Merge branch 'py' of https://github.com/kylef/znc into kylef-py
Conflicts:
	modules/modpython/znc.py
2011-04-03 20:13:17 +07:00
Alexey Sokolov
e746438022 Parse new ExecSock.h and ZNCDebug.h with SWIG.
That functionality was accessible by perl and python modules before.
Now that stuff is in own headers, so let's parse them too,
to have them still be able to use this.
2011-04-03 19:13:47 +07:00
Kyle Fuller
1fc9aeefec Add __repr__ methods to CUser, CChan, CNick in modpython 2011-04-01 17:13:17 +01:00
Kyle Fuller
9db98d7cee Add __str__ methods to CModule, CUser, CChan, and CNick in modpython 2011-04-01 01:19:57 +01:00
Alexey Sokolov
45209eca33 modpython: Make strings to be stringable.
Now you can use str() on objects of znc.String.
The same is true for arguments which represent CString&.
2011-03-31 20:41:59 +07:00
Alexey Sokolov
b8043c3aac modpython: move CPyRetString to own header.
It was defined twice: in modpython.cpp, and in modpython.i
And there is a fake CPyRetString in modpython.i

Now both places which use real CPyRetString include the file instead.
Fake CPyRetString is still in modpython.i
2011-03-31 20:13:19 +07:00
psychon
b9b0fd4c87 Oh, shiny... NOT
(Yes, it's that time of the year again)

Signed-off-by: Uli Schlachter <psychon@znc.in>

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2260 726aef4b-f618-498e-8847-2d620e286838
2011-01-14 17:03:24 +00:00
darthgandalf
b6c8e10633 Include zncconfig.h before any system headers in modpython and modperl bindings.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2255 726aef4b-f618-498e-8847-2d620e286838
2011-01-07 18:01:26 +00:00
darthgandalf
dc8a39db53 Add vim modelines to some files.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2222 726aef4b-f618-498e-8847-2d620e286838
2010-12-30 22:02:26 +00:00
darthgandalf
a564e25c13 Add modpython module which allows to write ZNC modules on python3.
Notice for distro maintainers: perl interpreter is required to compile modpython.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2196 726aef4b-f618-498e-8847-2d620e286838
2010-12-22 14:52:53 +00:00