Alexey Sokolov
e80b11b5b5
Move base64 table from header to .cpp
2025-05-09 21:54:36 +01:00
Peter
44e4b95a20
Welcome to 2025 ( #1929 )
2025-02-07 23:23:45 +00:00
Falk Rund
17a004aa0b
Welcome to 2024
...
[skip ci]
2023-12-31 21:09:25 +01:00
Falk Rund
f9fd05c307
Welcome to 2023
2023-01-01 06:49:00 +01:00
Falk Rund
6402d241ac
Welcome to 2022
...
The same procedure as last year, Miss Sophie?
Same procedure as every year, James.
2022-01-01 14:05:32 +01:00
MAGIC
99687b0f24
Welcome to 2021
2021-01-01 19:37:07 +01:00
Alexey Sokolov
09e5543788
Make Coverity happier
2020-06-24 10:20:54 +01:00
Disconnect3d
0e2ea2fa6c
Fix incorrect html entities parsing in ZNCString.cpp
...
This PR fixes wrong size argument passed to `strncasecmp` function when it was invoked to check if the string contains HTML entities.
2020-04-13 16:01:47 +02:00
MAGIC
9081aa971d
Welcome to 2020
2020-01-02 00:36:05 +01:00
dgw
8d5427cf9b
Welcome to 2019
...
What are we going to do today, Brain?
The same thing we do every year, Pinky: Update all the copyright
headers!
[Skip CI]
2019-01-01 17:05:05 -06:00
Falk Seidel
d647eaabc0
Welcome to 2018
...
The same procedure as last year, Miss Sophie?
The same procedure as every year, James.
[skip ci]
2018-01-19 19:38:58 +00:00
Phansa
3189ce7f8a
Welcome to 2017
...
Welcome to 2017
temp
temp2
2017-03-12 20:34:26 -04:00
Kyle Fuller
032f00732a
[CString.StripControls] Srip bg colours when we reset fg
2016-04-11 22:09:40 +01: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
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
J-P Nurmi
d39b20b505
Fix sources to include their respective header
2015-07-14 19:05:23 +02: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
70c0ffb10b
Use nullptr ( #816 )
...
Changes applied by 'clang-modernize -use-nullptr [...]'
2015-02-25 09:20:20 +01:00
Alexey Sokolov
962cb945eb
Merge pull request #869 from jpnurmi/wildcmp
...
CString::WildCmp(): add an optional case-sensitivity argument
2015-02-23 00:05:25 -08:00
J-P Nurmi
afaf255246
CString::WildCmp(): add an optional case-sensitivity argument
...
It's getting a common pattern to call AsLower() or MakeLower() on
the arguments passed to WildCmp(), we might as well add this for
convenience. It's tempting to make it case-insensitive by default,
since pretty much any IRC related comparison should be, but that
could potentially break some existing code.
2015-02-23 08:45:52 +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
Alexey Sokolov
5c72c8232f
Show fingerprints with colons
2014-12-23 00:58:59 +00:00
Alexey Sokolov
213c3839a8
Merge pull request #693 from jpnurmi/tags
...
Valueless & escaped message tags
2014-09-29 23:53:55 +01:00
J-P Nurmi
e20ac1a31e
Add CString::Contains() for convenience
...
This is more convenient and readable than comparing Find() to npos,
which is a common task:
$ git grep "find(" | grep "npos" | wc -l
49
2014-09-30 00:15:34 +02:00
J-P Nurmi
5507e9a290
Add CString::Find() with case sensitivity support
2014-09-30 00:15:22 +02:00
J-P Nurmi
92c9a2e6ae
Escape message tag values (ref #684 )
2014-09-30 00:02:22 +02:00
J-P Nurmi
65f739980d
CString::Starts/EndsWith(): allow specifying case sensitivity
2014-09-29 16:41:07 +02:00
J-P Nurmi
e86f43d841
Introduce CaseSensitivity enum class
...
The enum is a bit more verbose, but leads to more readable code:
str.Equals("foo", true)
// vs.
str.Equals("foo", CString::CaseSensitive)
Deprecate the old Equals() and leave out the length parameter
from the new version => use StartsWith() or StrCmp() instead.
2014-09-29 16:30:45 +02:00
Alexey Sokolov
1c8e9b9355
Merge pull request #485 from uu1101/uriprefix
...
Allow serving the web interface under a subpath
Fix #480
Fix #138
2014-02-17 00:44:37 +00:00
uu1101
7a9ce630ef
Add CString::StartsWith and CString::EndsWith
2014-02-15 12:41:54 +01:00
Ingmar Runge
b3021f913e
squash some compiler warnings
2014-02-06 17:52:42 +01:00
Falk Seidel
f19b4caa43
Welcome to 2014 - year 10 with ZNC
2013-12-31 10:10:55 +01: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
Ravomavain
10a982b6d3
Add CString::StripControls to strip controls (Colors, C0) from strings
2013-05-20 12:23:32 +02:00
Alexey Sokolov
f96ea81899
Debug: escape also escape character
2013-05-18 09:30:54 +04:00
Ravomavain
0c37fb1858
Add EDEBUG to CString::Escape function to escape debug output.
2013-05-12 12:22:26 +02:00
KindOne
2db7307ac3
Remove unneeded headers.
2013-03-08 01:47:57 +07:00
Un1matr1x
3a34593359
The same procedure as last year, Miss sophie?
...
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Kyle Fuller
3347390cfc
CString: Don't repeat ourselves
2012-08-19 23:06:28 +07:00
Alexey Sokolov
b2fa3a7f61
Fix #197 and more warnings in ZNCString.cpp
2012-08-18 22:40:30 +07:00
Kyle Fuller
67299ebfa8
Fix a bunch of conversion warnings #197
2012-08-14 19:31:14 +07:00
Alexey Sokolov
ef54786d88
Don't use sprintf().
...
Thanks to fred for reporting.
2012-05-09 13:00:23 +07:00
Kyle Fuller
aa9a629bf3
CString("off").ToBool() shouldn't be true
2012-03-06 18:00:43 +00:00
Kyle Fuller
2d9a537c33
"no" should be false in CString::ToBool()
2012-01-15 05:18:13 +00:00
Un1matr1x
73270ff023
Welcome in 2012
2012-01-01 09:30:19 +01:00
Stéphan Kochen
948ae2510c
Rewrite Buffer to store a format string.
...
Will use this to allow more parameters to be inserted at the time the
buffers are flushed to the client.
2011-10-27 18:25:24 +02:00
Stéphan Kochen
2fdf54d43d
Add string formatting function with named params.
...
In addition to the formatting function, a matching Escape type is added.
2011-10-27 18:25:24 +02:00