Bram Matthys
3fcd25b542
Split off efunctions to src/api-efunctions.c, use enums and
...
a different style of initializing the efunctions table which
is less error-prone.
2019-09-01 09:38:55 +02:00
Bram Matthys
fa29e22ea2
Windows build: attempt build tests
...
[skip ci]
2019-08-27 08:46:54 +02:00
Bram Matthys
38b55fb3c5
Not ready for release yet, but bump git version to alpha2 already now that
...
the Windows build is working (5.0.0-alpha1 had no Windows build).
2019-08-25 14:38:02 +02:00
Bram Matthys
6ead10f42d
Windows: build with /WX (equivalent to -Werror) and turn on
...
/analyze again. Not sure how long I can bear that last one though
as now compilation takes about 15 minutes rather than a few.
2019-08-25 14:03:11 +02:00
Bram Matthys
8484511296
Make Windows build compile without warnings with /W3
...
Disable these warnings, though:
C4267: downgrade of size_t to int and such. pointless...
C4101: unreferenced local variable
C4018: signed/unsigned mismatch
C4244: implicit conversions with "possible loss of data".
there are 75+ of them and they are likely all harmless
and/or intentional (usually plain obvious too)
C4996: fixme! warnings about deprecated functions, currently only for GetVersion..
2019-08-25 13:00:31 +02:00
Bram Matthys
c7a057cab1
Fix for previous commit (windows makefile etc..).
2019-08-25 10:23:25 +02:00
Bram Matthys
33dc939a6d
Windows build: remove more warnings. Update Makefile.windows.
2019-08-25 10:04:57 +02:00
Bram Matthys
85b3b91b19
Windows build: Add format string verification during build.
...
(Will be used to hunt and fix those time_t integer type mismatches)
2019-08-24 17:10:44 +02:00
Bram Matthys
e65f96a9e0
Windows build: 'clean' should really cleanup..
...
[skip ci]
2019-08-22 18:07:53 +02:00
Bram Matthys
bcceea9065
Windows: build fixes and it is now a 64 bit application.
...
See https://bugs.unrealircd.org/view.php?id=5320
Expect several more major fixes/changes to follow...
2019-08-22 14:43:19 +02:00
Bram Matthys
143d747e66
Rename 'cmdrestrict' to 'restrict-commands'. Load the module by default
...
so you can use set::restrict-commands without having to loadmodule.
Restrict the LIST and INVITE commands in the example.conf, which is
often a good idea. Finally, document the configuration/usage at:
https://www.unrealircd.org/docs/Set_block#set::restrict-commands
2019-08-17 12:34:14 +02:00
Bram Matthys
0f7a172c30
Rename who to who_old, since whox is now loaded by default and
...
loading who_old should only be done if you want the classic old WHO.
2019-08-16 18:14:30 +02:00
Bram Matthys
ccb534c3e9
res.{c,h} -> dns.{c,h} and moddata.c -> api-moddata.c
2019-08-16 18:09:25 +02:00
Bram Matthys
dfcd465103
Rename some api-*.c files to be more descriptive.
2019-08-16 18:00:26 +02:00
Bram Matthys
fffd459bf9
src/extbans.c -> src/api-extbans.c, and the same for extcmodes and umodes.
...
I suppose what is and what is not an API can be considered a bit arbitrary
but for us it is the stuff we expose via the module api. We now have:
api-clicap
api-command
api-event
api-extbans
api-extcmodes
api-history-backend
api-isupport
api-mtag
api-umodes
2019-08-16 17:52:49 +02:00
Bram Matthys
fd37f050b8
Rename src/events.c to src/api-event.c for consistency.
2019-08-16 17:47:07 +02:00
Bram Matthys
887cf24fd7
Add channeldb module (loaded by default): this saves all channel settings
...
such as name, creationtime, modes, topic, bans/exempts/invex to a database
and restores it on-boot. It only does this for +P (persistent) channels.
2019-08-16 14:42:25 +02:00
Bram Matthys
2127a36f61
Remove ~R extban as it is redundant now that we have ~a.
...
All services should have account names by now.
2019-08-13 21:08:22 +02:00
Bram Matthys
ef739331b0
Rename ssl_antidos to tls_antidos.
2019-08-12 14:40:11 +02:00
Bram Matthys
2b0afacdf0
Rename of "ssl" to "tls" part 2
2019-08-12 14:35:32 +02:00
Bram Matthys
e44f572725
Rename makefile.windows -> Makefile.windows, consistent with Makefile.in
...
[skip ci]
2019-08-12 13:41:55 +02:00