Alexey Sokolov
1bb0199ec4
Fix missing renames in #1191
2017-01-08 10:06:21 +00:00
Alexey Sokolov
2fcde9f2e1
Fix a couple of issues pointed out by https://scan.coverity.com/
2016-12-26 17:22:09 +00:00
Alexey Sokolov
ef6fb13ed2
Fix some modpython/modperl dependencies in cmake
2016-12-25 15:49:01 +00:00
Alexey Sokolov
c803a85e13
Rename new On...Message modules callbacks to be more consistent.
...
OnPrivMessage -> OnPrivTextMessage
OnChanMessage -> OnChanTextMessage
Fix #1191
2016-12-25 15:48:29 +00:00
Alexey Sokolov
106a36c22b
Rerun SWIG in CMake build when headers change.
2016-12-21 08:59:10 +00:00
Alexey Sokolov
cc653efb6b
Rename translation methods to be not one letter.
...
It fixes several warnings, when the name was shadowed by a local "p".
2016-09-12 00:01:45 +01:00
Alexey Sokolov
88a8675c80
Fix bad merge
2016-07-31 12:00:32 +01:00
Alexey Sokolov
05bf1c0f5e
Merge branch '1.6.x'
2016-07-31 10:37:38 +01:00
Alexey Sokolov
dd58e369f8
Fix OnInvite in modpython and modperl.
...
They were silently not called.
Close #1283
2016-07-31 10:35:19 +01:00
Alexey Sokolov
8863bed13d
Support translation in python modules
2016-01-31 20:09:19 +00:00
Alexey Sokolov
561a18054c
Yet another attempt to use CMake
2016-01-15 10:50:33 +00:00
Alexey Sokolov
89484acf17
Align #include in modperl/modpython with other files.
2016-01-10 09:12:17 +00:00
Falk Seidel
8f73840e74
Welcome to 2016
...
🎆 Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Alexey Sokolov
d185d6f22d
clang-format: switch tabs to spaces
...
I like tabs, but I have to admit that spaces make source code more
consistent, because every editor/viewer tends to render tabs differently :(
2015-12-07 00:53:30 +00:00
Alexey Sokolov
33b0627d75
Add clang-format configuration.
...
For now, it uses tabs like before, to make the diff easier to read/check.
One of following commits will switch it to spaces.
2015-12-07 00:53:01 +00:00
Alexey Sokolov
cbf5c38d0a
Teach modperl and modpython about CMessage and new hooks which accept it.
...
Fix #1084
Fix #1085
2015-11-22 23:39:30 +00:00
Alexey Sokolov
4aba9fed17
Fix znc-buildmod on cygwin when installed to not /usr
...
1. Use import library, so don't require -L/bin anymore
2. Move -lznc from LDFLAGS to LIBS
3. Fix variables in znc-buildmod. It worked before only because
${exec_prefix} was resolving to empty string, and /bin == /usr/bin on
cygwin.
2015-08-22 12:42:28 +01:00
Alexey Sokolov
4b62962d2f
Merge branch '1.6.x'
2015-08-05 00:18:34 +01:00
Alexey Sokolov
65e36c8daf
s/NULL/nullptr/ in modpython's codegen.pl
2015-08-05 00:17:22 +01:00
Alexey Sokolov
eda13bd1f0
Update codegen.pl too. See #1017
2015-08-05 00:10:58 +01:00
Alexey Sokolov
f7ccbed99a
Merge branch '1.6.x'
2015-08-04 23:47:42 +01:00
Alexey Sokolov
b8330296a2
Fix memory leak in modpython.
...
Update typemaps for CString from latest SWIG.
The relevant change is "free p;" -> "delete p;"
CString object itself was deleted, but its destructor wasn't called,
so it couldn't free the underlying character data.
Fix #1017
2015-08-04 23:44:48 +01:00
Alexey Sokolov
094f74640a
Fix CUser::GetUserClients() and CUser::GetAllClients() in modpython.
...
Thanks to Lymia for reporting it.
(cherry picked from commit cd832aaf69 )
2015-04-04 18:34:03 +01:00
Alexey Sokolov
cd832aaf69
Fix CUser::GetUserClients() and CUser::GetAllClients() in modpython.
...
Thanks to Lymia for reporting it.
2015-04-04 17:47:59 +01:00
J-P Nurmi
e62ed5f300
modperl & modpython: fix GetType() at module construction time
2015-03-07 21:54:33 +01:00
J-P Nurmi
75b210e841
Search'n'replace remaining NULL occurrences ( #816 )
2015-02-26 20:58:01 +01:00
J-P Nurmi
6002bd5c2b
Remove unnecessary virtual keyword occurrences
...
This makes it convenient to 'grep virtual' and 'grep override' :)
2015-02-25 18:33:09 +01:00
OGAWA Hirofumi
c6d093a53a
Change to return the value from OnUserQuit() as request
2015-02-22 04:33:15 +09:00
OGAWA Hirofumi
feec20b013
Add OnUserQuit() for extending clearbufferonmsg
...
Add OnUserQuit() callback. On smartphone, user doesn't want to see
same lines repeatedly. But, meanwhile, user doesn't want to miss lines
when connection was lost.
To do it, this uses OnUserQuit() callback. With this callback,
clearbufferonmsg can clear buffer if user quited client explicitly.
And when connection was lost, buffer is still not cleared.
2015-02-22 04:33:14 +09:00
Alexey Sokolov
7504cb205b
modpython: Enable default arguments feature of SWIG 3.0.4
...
Some corner cases are disabled for now, until SWIG fixes them.
See #809 for details.
2015-01-09 08:26:38 +00:00
Falk Seidel
2e29d49a53
Welcome to 2015
2014-12-31 11:28:38 +01:00
Alexey Sokolov
c48729fe8b
Fix some int_t types in modperl/modpython
2014-12-23 14:20:06 +00:00
Martin Martimeo
a66c6164a7
Release python/swig ownership when adding object created in python to ZNC container
...
Patch by MartinMartimeo (#538 )
2014-12-16 13:40:06 +00:00
J-P Nurmi
f9318d02cf
modules: use override keyword
...
Resolves #736
2014-11-05 08:00:02 +01:00
Alexey Sokolov
15283da006
Merge pull request #721 from markusj/modpy-can-have-args
...
modpython: Use has_args and args_help_text from module
2014-10-29 06:38:28 +00:00
Alexey Sokolov
1a8f15d510
Support CZNC::GetUserMap() from modpython.
...
Thanks to lol768 for reporting it.
2014-10-28 07:22:50 +00:00
Markus Jung
79d8ae7432
modpython: set has_args and args_help_text from module
2014-10-28 01:23:31 +01:00
Alexey Sokolov
6509e26b89
Fix modpython+shared_ptr
2014-10-26 20:32:46 +00:00
Uli Schlachter
de96cd95d0
modpython: Switch from CSmartPtr to std::shared_ptr
...
Patch by DarthGandalf, I just committed it to git.
Signed-off-by: Uli Schlachter <psychon@znc.in >
2014-09-15 12:07:13 +02:00
Uli Schlachter
970b802073
modpython, modperl: Parse all headers
...
Signed-off-by: Uli Schlachter <psychon@znc.in >
2014-08-06 14:50:59 +02:00
Alexander Færøy
db0e0995e2
Add OnJoining module hook.
...
This patch adds an OnJoining module hook that allows a module to allow
or disallow joining any given channel.
2014-05-29 23:10:30 +02:00
Alexey Sokolov
2f0bc0c46c
Modpython: fix calling overloaded methods with parameter CString&
2014-05-01 22:20:05 +01:00
Alexey Sokolov
9cf61ac6d4
Argh, fuck it. Rename fixed (pointer) versions of OnMode to OnMode2
2014-04-12 08:51:04 +01:00
J-P Nurmi
76bfa99dd0
Add module hooks for raw client and server messages
2014-03-04 00:24:15 +01:00
Alexey Sokolov
618d9c58a4
Fix chansaver's channel keys by adding other OnMode() hooks
2014-02-27 00:49:45 +00:00
Alexey Sokolov
366158d907
Add charset to version info
2014-01-25 13:50:07 +00:00
Falk Seidel
f19b4caa43
Welcome to 2014 - year 10 with ZNC
2013-12-31 10:10:55 +01:00
Alexey Sokolov
bfd1edc740
Don't generate .pyc files ourself
...
It's good for cross-compilation, because in that case binaries produced
by CXX are not runnable.
2013-11-14 22:39:34 +04:00
Alexey Sokolov
2a7bc29fcc
Fix new OnAdd/DeleteNetwork hooks for perl/python
2013-11-09 10:17:34 +04:00
Alexey Sokolov
b2dcad5fd4
Change ZNC license to Apache 2.0
...
The following people agreed with the change, in alphabetical order:
(people who approved in several ways are listed only once)
By email:
- Adam (from Anope)
- Austin Morton
- Brian Campbell
- Christian Walde
- Daniel Holbert
- Daniel Wallace
- Falk Seidel
- Heiko Hund
- Ingmar Runge
- Jim Hull
- Kyle Fuller
- Lee Aylward
- Martin Martimeo
- Matt Harper
- Michael J Edgar
- Michael Ziegler
- Nick Bebout
- Paul Driver
- Perry Nguyen
- Philippe (cycomate)
- Reuben Morais
- Roland Hieber
- Sebastian Ramacher
- Stefan Rado
- Stéphan Kochen
- Thomas Ward
- Toon Schoenmakers
- Veit Wahlich
- Wulf C. Krueger
By IRC:
- CNU
- Jonas Gorski
- Joshua M. Clulow
- Prozac/SHiZNO
- SilverLeo
- Uli Schlachter
At https://github.com/znc/znc/issues/311 :
- Alexey Sokolov
- Elizabeth Myers
- flakes
- Jens-Andre Koch
- Jyzee
- KindOne/ineedalifetoday
- Lee Williams
- Mantas Mikulėnas
- md-5
- Reed Loden
At the last few pull requests' comments:
- Allan Odgaard
- Jacob Baines
- Lluís Batlle i Rossell
- ravomavain
- protomouse
The following commits' authors didn't respond:
Trivial changes:
- f70f1086fd
- 4ca8b50e45
The changes which are not presented in master anymore:
- 5512ed2ea0
- 960a4498f7
- 0f739de2c0
- 7f53cc810b
Fix #311
Fix #218
2013-06-14 00:43:34 +04:00