Alexey Sokolov
6708233479
Add more debug output to test which often hangs on cygwin
2016-07-30 09:19:52 +01:00
Alexey Sokolov
e4194de153
Remove another line which I added only for debug...
2016-07-29 23:28:10 +01:00
Alexey Sokolov
8f61d9e182
Remove line which I added for debug...
2016-07-29 23:25:31 +01:00
Alexey Sokolov
d95e0c7365
Combine test of buildmod to single file.
2016-07-29 23:21:08 +01:00
Alexey Sokolov
847f2baf24
Fix a null pointer dereference.
...
It sometimes happened when user attaches to a channel.
No released version is affected.
Thanks to Zoddo for the report!
2016-07-29 23:13:02 +01:00
Tor Arne Vestbø
02bfb9eaf5
Centralize logic to get current server time
...
A few different implementations of computing the current time were
spread out through the code base, most of them using gettimeofday().
This centralizes the logic in CUtil::GetTime() for easier maintenance,
and also allows all call sites to get the benefit of the clock_gettime()
code path on systems that support it.
2016-07-06 01:16:15 +02:00
Tor Arne Vestbø
852c9832a0
Fix inverted gettimeofday() return value handling
...
The gettimeofday function returns 0 for success, not for failure. As a
result of the inverted logic we were losing millisecond precision when
parsing incoming messages on non-HAVE_CLOCK_GETTIME systems (macOS).
2016-07-05 18:39:53 +02:00
Kyle Fuller
cc674b28e8
[CString.StripControls] Improve test coverage formatting
2016-04-11 22:09:46 +01:00
Kyle Fuller
032f00732a
[CString.StripControls] Srip bg colours when we reset fg
2016-04-11 22:09:40 +01:00
Alexey Sokolov
17e0d1031e
Revert broken test of shell module...
2016-03-14 21:20:40 +00:00
Alexey Sokolov
2fdbe51df5
Fix #1248 : segfault in shell module.
...
It happened when client disconnects.
2016-03-04 08:04:03 +00:00
Alexey Sokolov
9b31a077a5
Update integration test after change in webadmin
2016-02-24 23:01:39 +00:00
Alexey Sokolov
3dd8f4a214
Expand workaround for Qt on cygwin to 32 bit version
2016-01-16 21:41:09 +00:00
Alexey Sokolov
f585c572ab
Really fix cmake build when qt5 is not fully found
...
try_compile() errors out instead of just returning false when underlying
CMakeLists.txt fails :-(
Thanks kerio again
2016-01-16 17:11:53 +00:00
Alexey Sokolov
a0c05b38f8
Fix CMake build when Qt5 is partially found
...
Thanks kerio for report
2016-01-16 16:36:32 +00:00
Alexey Sokolov
561a18054c
Yet another attempt to use CMake
2016-01-15 10:50:33 +00:00
Alexey Sokolov
04ad80b86e
Fix one more place in integration test
...
where executable was run from source dir.
2016-01-10 09:24:12 +00:00
Alexey Sokolov
d13742b132
Add test for znc-buildmod
2016-01-09 22:01:33 +00:00
Alexey Sokolov
c1595d0c19
Int test: run executable from installation dir instead of source
2016-01-09 20:47:00 +00:00
Alexey Sokolov
ad0c332454
Add test for encoding change
2016-01-09 20:26:22 +00:00
Alexey Sokolov
1f226d2ade
Add test for #1229 and actually fix it.
2016-01-09 18:00:47 +00:00
Alexey Sokolov
6a87ba3d4f
Disable perl and python tests in coverage.
2016-01-09 15:15:43 +00:00
Alexey Sokolov
780659b139
Add basic tests for modperl and modpython
2016-01-07 00:52:52 +00:00
Falk Seidel
8f73840e74
Welcome to 2016
...
🎆 Happy 2016 🎆
2016-01-01 20:11:21 +01:00
Donal Cahill
15c200c908
Disallow CIDR /00000
2015-12-13 23:16:58 +00:00
Donal Cahill
db7e1ef162
Fix up CIDR code.
2015-12-13 15:36:35 +00:00
Donal Cahill
56c97af14b
Improve code quality.
2015-12-13 12:23:08 +00:00
Donal Cahill
b4bb4fa0cd
Add support for CIDR notation in allowed hosts list.
...
Fixes #207
2015-12-13 06:31:51 +00:00
Alexey Sokolov
16a8c77737
Replace virtual with override where possible.
...
Using clang-tidy
2015-12-08 20:51:50 +00: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
02f8749a8b
Protect some parts of code from clang-format
2015-12-07 00:48:58 +00:00
Alexey Sokolov
9c48119897
Use C++11 threads instead of custom pthread wrappers.
...
Signal handling of CThread was handled in previous commit.
2015-12-06 00:11:15 +00:00
Alexey Sokolov
7f6fc6643e
Merge branch 'master' into notify
...
Conflicts:
test/Integration.cpp
2015-11-30 08:02:47 +00:00
Alexey Sokolov
d736397194
Small change for test of notify_connect for better variety
2015-11-30 08:00:51 +00:00
Alexey Sokolov
bee266a08e
Fix test after fixing #1190
2015-11-29 12:26:17 +00:00
Alexey Sokolov
569f057561
Call CTCP callback for actions too, as it was before switch to CMessage.
...
Partyline had both of callbacks, one of which is redundant.
Fix #1134
Fix #1190
2015-11-29 00:59:50 +00:00
Oleh Prypin
50edbd5f0d
Test notify_connect module
2015-11-27 12:20:33 +02:00
KindOne
6ac59ee4df
Add test for controlpanel
2015-11-06 20:45:38 -05:00
Alexey Sokolov
29847146cf
Make channel test more reliable
2015-11-01 23:01:05 +00:00
Alexey Sokolov
900a11a1a9
Fix test which I've just broken
2015-11-01 22:44:50 +00:00
Alexey Sokolov
585b380189
How did I manage to write invalid JOIN test?
2015-11-01 22:26:24 +00:00
Alexey Sokolov
34026d39dc
Add test for shell module
2015-10-31 20:36:58 +00:00
Alexey Sokolov
5e337647b1
Add test for invalid channel config.
2015-10-30 14:33:46 +00:00
Alexey Sokolov
9777a1a667
Add test for fix of #528
2015-10-30 01:06:39 +00:00
Alexey Sokolov
69b031c43c
Workaround test failure on cygwin64
2015-10-24 11:56:23 +01:00
Alexey Sokolov
db550a3aa0
Add one more small test.
2015-10-20 08:12:34 +01:00
Alexey Sokolov
a35a5d3bc8
Test: add typedef for a widely used type
2015-10-20 08:02:46 +01:00
Alexey Sokolov
38288a17e9
Test: slightly more compact output
2015-10-20 08:00:36 +01:00
Alexey Sokolov
933aa6db0c
Add some more tests and fix a bug which sometimes blocked login of users.
...
This bug wasn't released yet.
cc @jpnurmi
2015-10-18 23:22:32 +01:00