Alexey Sokolov
70cc4285f9
Merge branch '1.6.x'
2015-04-06 20:43:41 +01:00
Alexey Sokolov
4596d97502
Remove "-" between "ZNC" and version number.
...
ZNC 1.6.0 looks better than ZNC - 1.6.0, IMHO
2015-04-06 20:41:57 +01:00
Alexey Sokolov
ce156b590f
Merge branch 'master' of github.com:znc/znc
2015-04-03 21:41:06 +01:00
J-P Nurmi
41beb4fb89
Merge remote-tracking branch 'origin/1.6.x'
2015-04-01 07:56:03 +02:00
Eli Young
53254173b1
Write config file when channel is removed ( #932 )
2015-03-31 17:57:30 -07:00
Thomas Kriechbaumer
8d2ca76838
fail if no config version is not found
2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
6fcf4d9ca9
update rehash command description
2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
d542599475
add compatibility for pre-1.0 configs
2015-03-31 14:29:08 +01:00
Thomas Kriechbaumer
a56d4cae6a
do not call OnAddUser hook during ZNC startup
2015-03-31 12:15:40 +01:00
Thomas Kriechbaumer
28bb50fa1a
refactor config parsing
2015-03-31 12:15:40 +01:00
J-P Nurmi
9814f2a258
Add missing help text for ClearAllBuffers ( close #924 )
2015-03-12 19:07:00 +01:00
J-P Nurmi
5aa8b0dcef
Fix copy ctor/assignment oper warnings of -Weffc++ ( #270 )
2015-03-07 21:54:33 +01:00
J-P Nurmi
e1ada6c643
TDNSTask & CDNSJob: use member intialization lists [-Weffc++] ( #270 )
2015-03-07 21:54:33 +01:00
J-P Nurmi
d16f35facc
CModule: use member initialization lists [-Weffc++] ( #270 )
...
This fixes the problem that CModule::GetType() returned a random
uninitialized value in CModule constructor, which was als the reason
for #905 . CModule constructor signature has been changed so that it
optionally takes the type so it can be initialized appropriately.
The new type argument has a default value in order to retain source
compatibility in case some 3rdparty module would call CModule ctor
by hand instead of using the MODCONSTRUCTOR macro.
2015-03-07 21:54:33 +01:00
Alexey Sokolov
d6c2efa540
Merge pull request #916 from jpnurmi/tables
...
Add ShowChan & minimize ListChans columns
2015-03-07 19:52:33 +00:00
Alexey Sokolov
4549197301
Merge pull request #881 from Kriechi/improve-stickychan
...
improve stickychan
2015-03-07 15:24:57 +00:00
J-P Nurmi
3382543917
Reduce ListChans columns to name & status ( #914 )
2015-03-06 22:17:01 +01:00
J-P Nurmi
00ddcd302f
Add "ShowChan <#chan>" command for showing channel details ( #914 )
2015-03-06 22:17:00 +01:00
J-P Nurmi
a5b4a29c00
Revert StripControls implementation ( #850 )
...
This reverts commits 27d78795a7 and
f27109f1b4 . It was decided that the
functionality is provided by a separate module instead, to avoid
unnecessarily bloating the core.
2015-03-04 09:50:00 +01:00
Alexey Sokolov
e61ee6096f
Merge pull request #907 from jpnurmi/weffc++
...
Use member initialization lists [-Weffc++] (#270 )
2015-03-01 12:58:50 -08:00
J-P Nurmi
1d09b41540
Last batch of C++11 range-based for loops ( #816 )
2015-03-01 21:36:28 +01:00
J-P Nurmi
bb36d40580
CIRCNetwork: use member initialization list [-Weffc++] ( #270 )
2015-03-01 16:03:59 +01:00
J-P Nurmi
21dc83e58f
CUser: use member initialization list [-Weffc++] ( #270 )
2015-03-01 16:03:59 +01:00
J-P Nurmi
3a951b2b6d
CZNC: use member initialization list [-Weffc++] ( #270 )
2015-03-01 16:03:59 +01:00
J-P Nurmi
1d2650d450
Use member initialization lists [-Weffc++] ( #270 )
2015-03-01 15:00:10 +01:00
J-P Nurmi
05c96a16d1
Merge remote-tracking branch 'origin/1.6.x'
2015-03-01 09:19:01 +01:00
Alexey Sokolov
56f8d8eb76
Merge pull request #906 from jpnurmi/weffc++
...
Use member initialization lists [-Weffc++] (#270 )
2015-02-28 20:29:08 -08:00
J-P Nurmi
6a6bb648d1
Use member initialization lists [-Weffc++] ( #270 )
2015-02-28 21:59:01 +01:00
J-P Nurmi
2b0c6e595b
Restore CIRCNetwork::ClearQueryBuffer() for convenience
...
Originally removed when query buffers were introduced in 14a534c .
The ideal name would be plural ClearQueryBuffers() now that there
are multiple query buffers, but use the old name for compatibility
reasons (see https://github.com/kylef/znc-contrib/pull/18 ).
2015-02-28 20:56:02 +01:00
Alexey Sokolov
2b8e3f997f
Merge pull request #883 from jpnurmi/clearallbuffers
...
Add CLEARALLBUFFERS command (closes #852 )
2015-02-26 21:42:55 -08: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
Alexey Sokolov
f139171933
Merge pull request #892 from jpnurmi/for-loops
...
More C++11 range-based for loops
2015-02-26 21:15:38 -08:00
J-P Nurmi
75b210e841
Search'n'replace remaining NULL occurrences ( #816 )
2015-02-26 20:58:01 +01:00
Thomas Kriechbaumer
8f3f5b4dcc
improve stickychan
...
* save registry on every stick/unstick action
* auto-save if channel key changes
2015-02-26 11:14:08 +00:00
J-P Nurmi
b6f04d4b83
CIRCNetwork: C++11 range-based for loops
2015-02-26 11:54:21 +01:00
J-P Nurmi
fd97557ec8
CIRCSock: C++11 range-based for loops
2015-02-26 11:54:21 +01:00
J-P Nurmi
b0ddd5082e
CZNC: C++11 range-based for loops
2015-02-26 11:53:42 +01:00
J-P Nurmi
284aa1b5b6
CUtils: C++11 range-based for loops
2015-02-26 09:31:55 +01:00
J-P Nurmi
5a338d91cb
CHTTPSock: C++11 range-based for loops
2015-02-26 09:31:35 +01:00
J-P Nurmi
36823da403
CTemplate: C++11 range-based for loops
2015-02-26 09:31:18 +01:00
J-P Nurmi
36a03ce29f
Fix dead assign/init found by clang static analyzer
...
Value stored to 'pUser' (during its initialization) is never read
2015-02-26 08:32:49 +01:00
Alexey Sokolov
0794e602a7
Merge pull request #889 from jpnurmi/c++11
...
Replace some C++98isms with C++11isms (#816 )
2015-02-25 22:00:06 -08:00
J-P Nurmi
84e289cc76
CUser: C++11 range-based for loops
2015-02-26 00:17:46 +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
J-P Nurmi
4935ef4d26
Fix compilation warning when HAVE_LIBSSL is not defined
...
Building core object Socket...
src/Socket.cpp:30:16: warning: unused function 'ZNC_DefaultCipher' [-Wunused-function]
static CString ZNC_DefaultCipher() {
^
1 warning generated.
2015-02-25 09:36:56 +01:00
J-P Nurmi
ef9939e1ec
Add override ( #816 )
...
Changes applied by 'clang-modernize -add-override [...]'
2015-02-25 09:24:00 +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
21a04c3b98
CWebModules: C++11 range-based for loops
2015-02-25 07:58:37 +01:00
J-P Nurmi
6084990163
CModules: C++11 range-based for loops
2015-02-25 07:58:37 +01:00
J-P Nurmi
0485aa8033
CClient: C++11 range-based for loops
2015-02-25 07:58:37 +01:00