KillaBilla
ba1abac52f
remove leading and trailing space from server name and forbit the use of multiple spaces
...
(cherry picked from commit a9cc1e8de2
)
2020-01-19 22:28:19 +01:00
Dennis Felsing
ba3b436139
Fix Websockets warning
2019-12-30 10:12:16 +01:00
Learath
db5c17ce71
Avoid implementation-defined behaviour
2019-05-15 18:11:22 +02:00
def
e1c9033300
Render news without STL functions ( fixes #1693 )
2019-05-09 21:54:56 +02:00
Dennis Felsing
00c87c121a
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:01 +02:00
Learath
843dc29a88
Names can include quotes :/
2019-04-16 02:39:22 +02:00
def
94f3d97ddf
Remove unmaintained Android code ( fixes #1575 )
2019-04-10 19:40:50 +02:00
def
0e7a514c7b
Fix C90 compatibility on Windows
2019-04-09 21:58:04 +02:00
def
ea6b741eb8
thread_sleep: ignore signal interruption
2019-03-24 23:14:37 +01:00
def
d9804f5142
str_format: always return length of written string
...
Quoting the man page of vsnprintf:
RETURN VALUE
Upon successful return, these functions return the number of characters printed
(excluding the null byte used to end output to strings).
The functions snprintf() and vsnprintf() do not write more than size bytes (including
the terminating null byte ('\0')). If the output was truncated due to this limit,
then the return value is the number of characters (excluding the terminating null
byte) which would have been written to the final string if enough space had been
available. Thus, a return value of size or more means that the output was truncated.
(See also below under NOTES.)
If an output error is encountered, a negative value is returned.
[...]
The glibc implementation of the functions snprintf() and vsnprintf() conforms to the
C99 standard, that is, behaves as described above, since glibc version 2.1. Until
glibc 2.0.6, they would return -1 when the output was truncated.
2019-03-21 13:39:25 +01:00
def
1e4890c499
More error checking in system.c ( fixes #1317 )
2019-03-19 23:16:29 +01:00
bors[bot]
d8e8a21a30
Merge #1469
...
1469: Don't use strtok. Close #1468 r=heinrich5991 a=Learath2
^
Co-authored-by: Learath <learath2@gmail.com>
2019-03-11 11:56:26 +00:00
Learath
9713f6c2cd
Improve interface to function
2019-03-11 14:39:54 +03:00
Learath
c4af290df5
Don't use strtok. Close #1468
2019-03-05 12:46:29 +03:00
def
deb2494692
Don't suggest to downgrade, clean up versioning ( fixes #1440 )
2019-03-03 20:31:23 +01:00
Learath
a46c31f356
Add a couple tests, fix #1457
2019-02-13 15:14:46 +01:00
Learath
37c67c00ad
Style
2019-02-13 15:13:44 +01:00
Learath
867facfffc
Forgot str_tokenize is not used now
2019-02-13 15:13:27 +01:00
Dennis Felsing
698a3f1c5a
Merge pull request #1443 from ChillerDragon/AutobanKnownBots
...
Add autoban depending on client version
2019-02-13 12:04:51 +01:00
Learath
5d99746cc1
Add str_tokenize and str_in_list
2019-02-11 18:40:40 +01:00
12pm
6d3e40760c
Fix build
2019-02-10 19:20:08 +01:00
12pm
74992d9bd7
Fix tests
2019-02-10 19:13:55 +01:00
12pm
ed55ac6d81
Fix tab autocompletion
2019-02-10 17:43:00 +01:00
def
faa3cc195d
UTF8 nocase compare & use for chat TAB completion
...
- As suggested by Arseniy Zarche
- Also updated confusables to Unicode 12
2019-01-09 08:31:03 +01:00
def
4b92e72763
Prevent copies
2018-12-17 22:15:41 +01:00
def
bfa25bac4a
cleanup
2018-12-17 20:49:25 +01:00
def
87887b7291
mmsgs fixes
2018-12-17 20:19:57 +01:00
def
6846a6ecad
Fixes and stress improvements
2018-12-17 20:05:50 +01:00
def
d0a887f688
Unused variable fix
2018-12-17 17:27:36 +01:00
def
4c39539d38
Mac OS fix
2018-12-17 17:19:01 +01:00
Dennis Felsing
9665dd67de
Mac OS fix
2018-12-17 15:07:09 +01:00
Dennis Felsing
1221b1f11c
Fix Windows compilation
2018-12-17 14:44:19 +01:00
Dennis Felsing
9febf58f37
New try at recvmmsg with some improvements
2018-12-16 22:59:41 +01:00
Learath
19a458d523
Fix a couple issues
2018-12-08 00:24:57 +01:00
Learath
40d7b03f10
uf, typo
2018-12-08 00:06:54 +01:00
Learath
0c13c8cebb
Handle the windows console properly. Fixes #1394
2018-12-07 23:52:33 +01:00
Learath
2e137e6fc7
net_addr_comp_ip -> net_addr_comp_noport
2018-10-08 19:56:51 +03:00
Learath
1073b72965
Ignore DNSBL on "empty" servers.
2018-10-08 01:59:07 +03:00
Dennis Felsing
a21f01eef8
str_copy: Avoid -Wstringop-truncation warning in GCC8
2018-10-04 10:48:49 +02:00
Ryozuki
8e8e46a26a
fix windows compilation warning
2018-10-01 19:23:33 +02:00
heinrich5991
67d36b695d
Also use sha256 for the mapbugs stuff
2018-08-19 12:12:11 +02:00
def
18529fa082
Revert "Implement recvmmsg"
...
This reverts commit de5fe64be5
.
2018-07-29 23:07:59 +02:00
def
5d8d900643
Revert recvmmsg
2018-07-29 22:49:34 +02:00
heinrich5991
9fcf5480f8
Return a pointer from str_endswith
as well
2018-07-26 14:18:23 +02:00
heinrich5991
746d3d6b1a
Add str_startswith
and str_endswith
...
Also add a couple of tests for both.
2018-07-26 14:06:56 +02:00
Dennis Felsing
876ecc7909
fix
2018-07-26 08:30:00 +02:00
Dennis Felsing
9f8b962e5d
fix
2018-07-25 16:10:33 +02:00
Dennis Felsing
de5fe64be5
Implement recvmmsg
2018-07-25 16:06:00 +02:00
yangfl
81a39c229b
Fix typo
2018-07-10 17:29:02 +08:00
heinrich5991
1b4a16233d
Fix warning about incompatible function pointers
...
This comes at the cost of one allocation per started thread. This should
be okay because we're about to invoke a syscall anyway.
2018-06-20 22:26:43 +02:00