Phansa
3189ce7f8a
Welcome to 2017
...
Welcome to 2017
temp
temp2
2017-03-12 20:34:26 -04:00
Alexey Sokolov
a44aa0c699
Revert tables to how they were in 1.4
...
See #914
2017-02-24 23:49:18 +00:00
Alexey Sokolov
c7c878adc8
Fix build on macOS Sierra (10.12)
...
Rename OS X to macOS
Add Sierra to Travis
2017-01-15 23:04:55 +00:00
Alexey Sokolov
30cd0584a1
Fix build on FreeBSD for the latest CIDR commits
2016-12-25 13:53:17 +00:00
Alexey Sokolov
b445ad30e3
Modernize CIDR code.
2016-12-25 13:52:54 +00:00
Alexey Sokolov
6fbab7b44c
Add CIDR support to TrustedProxy setting
...
Fix #1219
2016-12-25 13:00:02 +00:00
Alexey Sokolov
3846813512
Merge branch '1.6.x'
...
Conflicts:
modules/schat.cpp
src/SSLVerifyHost.cpp
src/Utils.cpp
2016-09-13 22:45:10 +01:00
William Elwood
6a5c2c649d
Fix use of a feature deprecated in OpenSSL 0.9.8
...
If OpenSSL 1.1 is configured in such a way that features deprecated in 0.9.8 are not built, then compile errors would result here.
I also noticed a potential memory leak where pRSA was not always freed before early return from this function - fixed by using C++11 unique_ptr.
2016-09-13 11:50:40 +01:00
Alexey Sokolov
3f1c27250c
Fix warning in Utils.cpp
2016-09-12 00:07:29 +01:00
Alexey Sokolov
187f617bbc
Merge branch '1.6.x'
...
Close #1313
2016-09-09 21:14:00 +01:00
Alexey Sokolov
debfdf6c02
Fix build on OS X after fixing build on Cygwin
2016-09-09 00:17:20 +01:00
Alexey Sokolov
1480177458
Merge branch '1.6.x'
2016-09-08 22:26:51 +01:00
Alexey Sokolov
aff7e25043
Fix cygwin build
...
(cherry picked from commit f1ef8c79db )
2016-08-13 09:55:00 +01:00
Alexey Sokolov
f1ef8c79db
Fix cygwin build
2016-07-20 00:19:19 +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
Falk Seidel
8f73840e74
Welcome to 2016
...
🎆 Happy 2016 🎆
2016-01-01 20:11:21 +01: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
3861b6a583
Fix several comments broken by clang-format
2015-12-07 00:53:01 +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
f3762e8b05
Use termios instead of deprecated getpass().
...
Also this fixes flaky integration test. Sometimes it hanged because
getpass() sometimes didn't want to believe that it already got the
password from input.
2015-10-16 23:33:11 +01:00
Jos Ahrens
2031a82a77
Remove 'ok' from bootup
...
ZNC previously sent 'ok' on a new line every time a process went alright in CUtils::PrintStatus
No longer is this the case! ZNC now remains silent when everything is going well.
2015-09-25 13:11:33 +02:00
J-P Nurmi
ecb9b21055
Move message tags related code from CUtils to CMessage
2015-09-20 23:22:03 +02:00
J-P Nurmi
cde9053205
Fix memset() in CUtils::ParseServerTime()
2015-09-18 09:26:58 +02:00
J-P Nurmi
683379df7d
CUtils::ParseServerTime(): fix handling of invalid timestamps
2015-09-18 01:16:01 +02:00
J-P Nurmi
51caa5c4cf
Add CUtils::ParseServerTime()
2015-08-15 12:26:16 +02:00
J-P Nurmi
21ed56f46a
Prefer EndsWith(s) over Right(n) == s
2015-08-14 13:52:12 +02:00
J-P Nurmi
4995e7517e
Prefer StartsWith(s) over Left(n) == s
2015-08-14 13:51:44 +02:00
J-P Nurmi
52395fad5e
Prefer TrimSuffix() over Right() + RightChomp()
2015-08-14 12:31:01 +02:00
Alexey Sokolov
00404b8cbb
Revert "Make tables... not so tabular."
...
This reverts commit 2c3064fb56 .
2015-04-18 17:38:56 +01:00
Alexey Sokolov
926989342c
Cleanup CTable after making it not a table earlier
2015-04-09 21:12:21 +01:00
Alexey Sokolov
1df5d91a53
Merge branch '1.6.x'
2015-04-09 21:06:09 +01:00
Alexey Sokolov
2c3064fb56
Make tables... not so tabular.
...
Fix #743
Fix #914
Close #922
2015-04-09 07:34:00 +01:00
J-P Nurmi
6a6bb648d1
Use member initialization lists [-Weffc++] ( #270 )
2015-02-28 21:59:01 +01:00
Alexey Sokolov
e9294e4c81
Merge pull request #898 from jpnurmi/nullptr
...
Search'n'replace remaining NULL occurrences (#816 )
2015-02-26 21:18:37 -08:00
J-P Nurmi
75b210e841
Search'n'replace remaining NULL occurrences ( #816 )
2015-02-26 20:58:01 +01:00
J-P Nurmi
284aa1b5b6
CUtils: C++11 range-based for loops
2015-02-26 09:31:55 +01:00
J-P Nurmi
70c0ffb10b
Use nullptr ( #816 )
...
Changes applied by 'clang-modernize -use-nullptr [...]'
2015-02-25 09:20:20 +01:00
J-P Nurmi
00b1a7eedf
Use CString::StartsWith()
...
Replace the use of deprecated CString::Equals(str,bool,int) by
CString::StartsWith(str,cs) which is more pleasant to read.
2015-02-18 00:42:25 +01:00
Falk Seidel
2e29d49a53
Welcome to 2015
2014-12-31 11:28:38 +01:00
Mikaela Suomalainen
963ecf6753
src/Utils.cpp: don't lie to --makepem
...
I removed C, ST, L and O as certificate would be fine with just CN too
and the other variables are get from environment correctly.
2014-12-23 11:31:27 +02:00
Alexey Sokolov
60367fb2bf
Provide DH parameters in --makepem
2014-12-23 09:02:22 +00:00
Alexey Sokolov
012bb6e134
Make self-signed cert with SHA-256 in --makepem
2014-12-23 00:55:39 +00:00
Alexey Sokolov
2aa6c7e1d9
Merge pull request #775 from DarthGandalf/table
...
Wrap lines in CTable
2014-12-22 15:18:15 +00:00
Alexey Sokolov
bd9450b99e
Webadmin: Add GUI for character encoding
2014-12-21 17:08:41 +00:00
Alexey Sokolov
606ed8312d
Wrap lines in CTable
...
See #743
2014-12-17 15:03:39 +00:00
J-P Nurmi
92c9a2e6ae
Escape message tag values (ref #684 )
2014-09-30 00:02:22 +02:00
J-P Nurmi
615801c40e
Fix valueless message tags ( closes #684 )
2014-09-29 14:06:41 +02:00
J-P Nurmi
396bdb1eba
Utils: improve password prompt
...
Check if the password is empty before asking to confirm it.
2014-09-07 21:23:28 +02:00
J-P Nurmi
b4c0522e78
Utils: fix indentation of bold messages
2014-09-07 21:23:28 +02:00