Commit Graph

2972 Commits

Author SHA1 Message Date
Alexey Sokolov
19d5c8a7f0 Fix Config parsing.
Wtf did that mean?

P.S. clang's warnings are awesome.
2012-09-03 03:01:26 +07:00
Alexey Sokolov
0bb18481f6 Link log module to wiki.
Thanks to KindOne for reporting it.
2012-08-30 09:09:23 +07:00
Alexey Sokolov
395499c144 Autocycle: show help on unknown command.
Thanks to KindOne for reporting it.
2012-08-30 09:08:20 +07:00
Alexey Sokolov
c3f3dddddc Show loading of networks during startup.
Only modules and servers were shown, without explanation which networks
do they belong to.
2012-08-27 23:08:08 +07:00
Alexey Sokolov
f80ae4aad6 Various fixes of modperl and modpython.
Including cygwin support #216
2012-08-27 00:40:11 +07:00
Alexey Sokolov
a1e8b0867e Fix --enable-debug on cygwin. 2012-08-26 22:28:59 +07:00
Alexey Sokolov
d9459e1537 Typo fix: awaystore needs an argument 2012-08-26 16:40:00 +07:00
Alexey Sokolov
d56c443715 Perl+python: add arguments help text. 2012-08-26 10:17:50 +07:00
Alexey Sokolov
dcf105a517 Fix modperl's list of available modules.
Commit 8bb7ea5370 broke it.
2012-08-26 10:15:31 +07:00
Alexey Sokolov
ee8f0b0958 Fix fred's build. 2012-08-22 23:39:30 +07:00
Alexey Sokolov
b1b92468d8 Fix out-of-tree build of modperl/modpython.
It was broken when compiling from tarball (where swig files already
exist), but with swig around
2012-08-20 20:54:42 +07:00
Alexey Sokolov
e806ad0f67 Merge /mnt/c/cygwin/home/Администратор/znc 2012-08-20 01:03:42 +07:00
Alexey Sokolov
628f3c8ec1 Partially fix modperl build under cygwin. 2012-08-20 00:51:36 +07:00
Alexey Sokolov
f94cb24fed Fix SSL on cygwin. 2012-08-20 00:32:36 +07:00
Kyle Fuller
3347390cfc CString: Don't repeat ourselves 2012-08-19 23:06:28 +07:00
Alexey Sokolov
502e5d6ace Fix perms of codegen.pl to be +x 2012-08-19 22:13:38 +07:00
Alexey Sokolov
da336049b3 Fix linkage on cygwin.
ZNC_NO_NEED_TO_DO_ANYTHING_ON_MODULE_CALL_EXITER is required in
libznc.dll, but it was defined in main.cpp

Again thanks to Lizzy Eilson
2012-08-19 16:30:47 +07:00
Alexey Sokolov
39ba5f28ea Fix errors on cygwin (more proper fix) 2012-08-19 16:14:17 +07:00
Alexey Sokolov
c06db11513 Revert "Fix few errors on cygwin."
This reverts commit b77e697273.
2012-08-19 16:10:32 +07:00
Alexey Sokolov
6851242a5d Revert "Fix also Buffer.cpp to use struct timeval"
This reverts commit d3840bba19.
2012-08-19 16:10:28 +07:00
Alexey Sokolov
d3840bba19 Fix also Buffer.cpp to use struct timeval 2012-08-19 15:28:39 +07:00
Alexey Sokolov
b77e697273 Fix few errors on cygwin.
I hate timeval...

Thanks to Lizzy Eilson for reporting this.
2012-08-19 15:25:09 +07:00
Alexey Sokolov
b2fa3a7f61 Fix #197 and more warnings in ZNCString.cpp 2012-08-18 22:40:30 +07:00
Kyle Fuller
4059c5666f We don't need to find the znc binary 2012-08-17 21:47:31 +07:00
Alexey Sokolov
892727ba2c Fix more warnings and #197 2012-08-17 01:16:34 +07:00
Alexey Sokolov
395ae4fc9f Oh, I forgot to add a back-compatibility crap. 2012-08-16 21:29:07 +07:00
Alexey Sokolov
691785fcb4 I'm tired of this :(
Rename admin module to controlpanel.
2012-08-16 21:24:03 +07:00
Alexey Sokolov
16f510f820 Make SilverLeo happy :P
By displaying info about available and required SWIGs in ./configure
2012-08-15 21:52:12 +07:00
Alexey Sokolov
a4d99e2726 Fix compilation.
These lines are not needed.

They even fail to compile on some compilers.

Thanks to Han` and fred for reporting this.
2012-08-15 19:39:22 +07:00
Alexey Sokolov
a6716486c9 Fix modperl startup.
User.h and Utils.h should not depend on each other, and instead of name
of default method need to have a function in CUtils, which hashes using
default method (such function is in CUser now)
2012-08-15 03:03:55 +07:00
Alexey Sokolov
cc52a7d2be Add several fixed files for swig.
Workaround for broken swig, which allows old swig versions to work too.

These files should be removed when fixed swig is released.

Thanks to Juvenal for suggestion.
2012-08-15 01:42:46 +07:00
Alexey Sokolov
6b550f214d Fix logic of modperl Makefile 2012-08-15 00:39:55 +07:00
Alexey Sokolov
9fd4149d73 Fix modperl and modpython compilation.
Also fix few string-related inconsistences.
2012-08-15 00:38:23 +07:00
Kyle Fuller
e06c3f5e88 Broken merge 2012-08-14 21:49:48 +07:00
Kyle Fuller
8e2de0d497 Merge branch 'conversion' 2012-08-14 19:42:09 +07:00
Kyle Fuller
67299ebfa8 Fix a bunch of conversion warnings #197 2012-08-14 19:31:14 +07:00
Kyle Fuller
e54f423ace Merge pull request #204 from kylef/nick
Send a nick change to clients connecting with a different nick
2012-08-14 05:18:16 -07:00
Alexey Sokolov
7a4aa744fe Don't generate mod[perl|python].tar.bz2 2012-08-13 20:40:05 +07:00
Alexey Sokolov
fcc7839771 Improvements to modpython.
1. Be able to write binary data to any sockets, not only to ones created
from python.
2. Add support for CSmartPtr<CWebSession>
2012-08-13 20:01:07 +07:00
Alexey Sokolov
d7bd8d8a04 Merge branch 'master' of github.com:znc/znc 2012-08-12 22:35:57 +07:00
Alexey Sokolov
7e8f281ee5 Add vector<CListener*> to modperl/modpython. 2012-08-12 22:34:02 +07:00
Kyle Fuller
7c1e41acc7 Don't replace our motd with a different servers motd
Fixes #167
2012-08-12 22:22:19 +07:00
Kyle Fuller
f8dc7d5cd5 route_replies: Follow rfc1459
Closes #190
2012-08-12 21:49:08 +07:00
Alexey Sokolov
8360e906d5 It was bad idea to set *macEXITER to false inside MODULECALL :(
There're places where it's initialized to true before calling
MODULECALL.
2012-08-12 03:12:42 +07:00
Alexey Sokolov
27aa7036f5 Fix #117 2012-08-10 19:32:27 +07:00
Alexey Sokolov
2370567f9c Don't show message about missing motd by default.
To enable it, load missingmotd module.
Fix #202
2012-08-09 22:58:20 +07:00
Alexey Sokolov
d37cb447a0 Use gettimeofday instead of clock_gettime.
POSIX.1-2008 deprecates gettimeofday...
So perhaps it will be changed back in future.

For now gettimeofday is more portable :(
2012-08-09 00:37:16 +07:00
Alexey Sokolov
54f558a4ee Fix configure script 2012-08-08 23:25:36 +07:00
Alexey Sokolov
3d152b160f Check for SWIG's features, not only version. 2012-08-08 23:16:57 +07:00
Alexey Sokolov
9ede566cd2 Generate modpython.tar.bz2 2012-08-08 01:34:28 +07:00