Bram Matthys
253df2c8db
BuildBot: -j3 -> -j4
...
[skip ci]
2019-06-03 13:31:58 +02:00
Bram Matthys
55757a5605
Remove references to old test framework.
...
[skip ci]
2019-06-03 13:30:15 +02:00
Bram Matthys
73cea64c9f
Updates for IRC test framework: changed port to 5901 of irc1
2019-06-03 13:03:43 +02:00
Bram Matthys
bc8e4a5c47
Updates for new IRC test framework
2019-06-03 12:59:22 +02:00
Bram Matthys
321cf75fb7
Resolve resolve merge conflict :D
...
[skip ci]
2019-06-01 08:57:19 +02:00
Bram Matthys
13f96b0a57
Small adjustments to tkldb: convert some to safefree(),
...
get rid of sizeof(char) - which is guaranteed to be 1 by C99 and
on any decent compiler and always use MyMallocEx even when it's not
necessary :D.
2019-06-01 08:53:17 +02:00
Bram Matthys
e78e303314
Re-indent tkldb, sorry could not resist :D
2019-06-01 08:46:22 +02:00
Bram Matthys
2556ae9d70
[tkldb] Allow boot without existing database. Change return values to 1/0 (true/false).
2019-06-01 08:39:32 +02:00
Bram Matthys
b8e65a2f7f
Buildbot: *NIX build test: add -DNOREMOVETMP to make valgrind do a better
...
job at printing module information (I hope).
2019-06-01 08:24:31 +02:00
Bram Matthys
7c32e4d63f
Windows build: fix makefile.win32
2019-06-01 08:23:33 +02:00
GottemHams
4dbe8a8238
Resolve merge conflict :D
2019-05-31 22:39:27 +02:00
GottemHams
c697e2ea99
Renamed m_storetkl to just tkldb
2019-05-31 22:25:18 +02:00
GottemHams
bf6f885b98
Storetkl now also supports the hashed *@IP Z:Line thingy, also added errno calls to all error output
2019-05-31 22:06:59 +02:00
GottemHams
c43a1b15af
Store TS types in a uint64_t before DB writing to prepare the module for a Year 2038 fix, also upgraded num/rewrite ints to 64 bit since they *might* be as big as tklcount
2019-05-31 21:23:19 +02:00
Bram Matthys
c6389270f9
Remove a few useless #define's (And final test of buildbot today :D)
2019-05-30 21:02:27 +02:00
Bram Matthys
c3add3b41c
Windows build: Randomly remove some slashes, for no reason.
...
[skip ci]
2019-05-30 20:12:25 +02:00
Bram Matthys
7d7d736df3
More windows build fixes
...
[skip ci]
2019-05-30 20:03:50 +02:00
Bram Matthys
858b63e1d5
Windows: remove .CHANGES.NEW
...
[skip ci]
2019-05-30 19:56:54 +02:00
Bram Matthys
9af24a56f9
Buildbot: makefile.win32 updates
...
[skip ci]
2019-05-30 19:42:17 +02:00
Bram Matthys
57e06a7070
Windows: add api-mtag to makefile.win32
2019-05-30 19:36:15 +02:00
Bram Matthys
f0a773ee59
Windows: Add conf_preprocessor to makefile.win32
2019-05-30 19:33:21 +02:00
Bram Matthys
a2a7acc4bd
Buildbot: more windows updates
2019-05-30 19:30:20 +02:00
Bram Matthys
e8e113a8c0
Buildbot: .............................
2019-05-30 19:23:15 +02:00
Bram Matthys
120ec5cea3
.............
2019-05-30 19:22:14 +02:00
Bram Matthys
d02b4de5d3
Buildbot: updates for windows
2019-05-30 19:20:15 +02:00
Bram Matthys
2682d7bc6d
Buildbot: Updates for windows
2019-05-30 19:08:33 +02:00
Bram Matthys
9530006e70
BB: Terminate unrealircd at end of test (otherwise it may hang buildbot)
2019-05-30 16:48:05 +02:00
Bram Matthys
03fbc35fb7
Buildbot: Run cipherscan not on FreeBSD for now, so we can test the rest.
2019-05-30 16:14:06 +02:00
Bram Matthys
3f723323d0
BuildBot: Use gmake on FreeBSD and temporarily disable select-config.
2019-05-30 16:08:54 +02:00
Bram Matthys
ecac3f9d4a
Mention U5 in ./Config -quick restriction
2019-05-30 08:52:08 +02:00
Bram Matthys
1b0a7cb9b8
Fix build tests due to previous change.
2019-05-30 08:51:05 +02:00
Bram Matthys
195cd17d02
Rename LIBDIR to PRIVATELIBDIR in config.settings to avoid confusion.
2019-05-30 08:46:13 +02:00
GottemHams
4004152a7a
Updated m_storetkl's descriptions for added clarity
2019-05-28 21:44:27 +02:00
GottemHams
0f97c03487
Probably a good idea to add storetkl stuff to Windows makefile too huh
2019-05-28 21:38:38 +02:00
GottemHams
d8ff67d088
Added m_storetkl to modules.default.conf
2019-05-28 21:35:37 +02:00
GottemHams
35600fdfa0
Updated storetkl: write DB on a timer instead of hooking TKL_ADD/DEL, better DB format for improved compatibility with future Unreal versions, configurable .db path, support for softbans, write DB to a tempfile first to prevent corruption of existing DB, also applied some misc optimisations/portability improvements
2019-05-28 21:34:11 +02:00
Bram Matthys
6cf386ee87
...
2019-05-27 19:22:04 +02:00
Bram Matthys
9e87f92c64
Fix small memory leak in SJOIN.
2019-05-27 19:20:25 +02:00
Bram Matthys
f046482761
Freeing memory is usually a good idea (duh)
2019-05-27 07:43:44 +02:00
Bram Matthys
55a183bde4
Add "PROTOCTL MTAGS" to indicate message-tags & big buffer support.
...
This so we can link to UnrealIRCd 4.x....
2019-05-26 13:56:09 +02:00
Bram Matthys
57fd5f4f2b
Add HOOKTYPE_IS_HANDSHAKE_FINISHED: if a module returns 0 then register_user()
...
will not be called. This is used, for example, by m_cap when the CAP LS
handshake is still in progress. Modules can add their own requirements
as they see fit.
Note that, as for (CAP) functionality, this adds nothing new, it just
implements it in a cleaner way, rather than all over the place,
like in UnrealIRCd 4.x.
2019-05-26 12:07:44 +02:00
Bram Matthys
dde1cf3194
Fix some mtag FIXME's.
2019-05-26 11:45:58 +02:00
Bram Matthys
622cb43a48
Manual audit of exit_client() done, for mtags.
2019-05-26 11:36:40 +02:00
Bram Matthys
61b15d9f4d
Mass update (automatic) of exit_client().
...
Next step is manual audit...
2019-05-26 10:45:54 +02:00
Bram Matthys
be4ef2e7e3
Add message tags support in exit_client(). Yay.. another API change!
2019-05-26 10:36:39 +02:00
Bram Matthys
9f54a19801
New unified function for common: sendto_local_common_channels()
...
and make this support mtags so it now works for NICK, ACCOUNT, AWAY.
Still to do: exit client for QUIT.
2019-05-26 10:08:02 +02:00
Bram Matthys
39cd11f504
Fix OOB read due to message tag with trailing backslash.
2019-05-25 15:48:33 +02:00
Bram Matthys
b63a67dea0
More parse/parse2 fixes like 6e219cd834.
...
This fixes an OOB write (NUL byte write) due to trusting 'length'.
It is now removed and renamed to bytes, it's only for adding lag.
2019-05-25 15:40:18 +02:00
Bram Matthys
39af766ced
Add a FIXME
2019-05-25 15:40:10 +02:00
Bram Matthys
a74bae0447
Some cleaning in m_sajoin. Whitespace and if() order.
2019-05-25 12:32:18 +02:00