Bram Matthys
bea2564e5d
IRCStatistics ircstats; -> IRCCounts irccounts; (this is used for LUSERS)
2019-09-15 14:39:51 +02:00
Bram Matthys
f2e3712d62
Remove various if's and such that are now unneeded
...
This is part 5 of the memory function / caller changes.
2019-09-14 17:23:07 +02:00
Bram Matthys
950fc5001e
Update memory allocation calls, step 3 of X
...
This changes free() calls to safe_free().
This mass change could be automated and unaudited, fortunately.
2019-09-14 17:12:37 +02:00
Bram Matthys
9fc1e758ab
Mass change of dst = strdup(str) to safe_strdup(dst,str) but with a manual
...
audit since 'dst' must now be initialized memory.
There's still a raw_strdup() if you insist.
This is step 2 of X of memory allocation changes
2019-09-14 16:58:01 +02:00
Bram Matthys
de87b439b7
Update memory allocation routines. Step 1 of X.
2019-09-14 16:52:53 +02:00
Bram Matthys
bf2c5110db
IsPerson() -> IsUser(), MyClient() -> MyUser(), etc.
...
This so we have a few simple concepts:
Client: this can be a user, server, or something unknown yet
Then the type of clients:
User: this is a user, someone with a nick name.
Server: this is a server
Etc.
2019-09-11 17:43:17 +02:00
Bram Matthys
fcf0ff4e3c
Document client statuses (cptr->status) and some more renames.
2019-09-11 16:52:11 +02:00
Bram Matthys
e8d53ffe8e
And more type changes to make things consistent and more readable.
2019-09-11 11:04:31 +02:00
Bram Matthys
23116d344a
Give structs the same name as the typedefs. Rename aClient to Client,
...
aChannel to Channel, and some more. Third party module coders will
love this. But.. it makes things more logical and the doxygen output
will look more clean and logical as well.
(More changes will follow)
2019-09-11 09:48:00 +02:00
Bram Matthys
c86d03dcca
Windows build fixes
2019-09-09 16:46:57 +02:00
Bram Matthys
7d4b7c2fed
Get rid of stricmp/strnicmp (use strcasecmp/strncasecmp)
2019-09-09 16:13:32 +02:00
Bram Matthys
9636f83a2b
Always assume POSIX signals (on non-Windows, that is).
2019-09-09 16:08:18 +02:00
Bram Matthys
d434cf948b
Get rid of bcmp/bcopy/bzero.
2019-09-09 14:41:40 +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
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
33dc939a6d
Windows build: remove more warnings. Update Makefile.windows.
2019-08-25 10:04:57 +02:00
Bram Matthys
9a562dea24
Windows: Move the uninstaller to bin\uninstaller
...
Windows: Use generic docs URL for documentation
2019-08-22 20:15:46 +02:00
Bram Matthys
d6faa00ae8
Use generic includes
2019-08-22 19:15:16 +02:00
Bram Matthys
a1920d7733
Windows installer: require Windows 7 or newer (bye XP/Vista)
...
[skip ci]
2019-08-22 17:34:41 +02:00
Bram Matthys
1c52557c92
Update makecert.bat for Windows with new paths
...
[skip ci]
2019-08-22 17:10:09 +02:00
Bram Matthys
02d3364373
More Windows fixes...
2019-08-22 16:43:05 +02:00
Bram Matthys
87b8d27648
Windows: move *.exe and libraries to bin\ directory, move LICENSE.txt
...
and Donation.txt to doc\
2019-08-22 15:08:16 +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
b87b4dd61a
Windows: Fix path in makecert.bat
2019-08-22 14:37:49 +02:00
Bram Matthys
5e0ed6d626
UnrealIRCd 5.0.0-alpha1
2019-08-20 19:39:04 +02:00
Bram Matthys
7193600a08
Force buildbot..
2019-08-15 12:09:21 +02:00
Bram Matthys
e22000ed48
Buildbot test...
2019-08-15 12:02:11 +02:00
Bram Matthys
d91f21a687
Update more old references to U4..
2019-08-15 11:55:18 +02:00
Bram Matthys
9e1556a6f7
Dumdeedum
2019-08-15 11:44:20 +02:00
Bram Matthys
c4b276d2d8
Windows: another conf\ssl to conf\tls instance (in the installer)
...
[skip ci]
2019-08-12 14:54:50 +02:00
Bram Matthys
b6c786d2c0
gplplusssl.rtf should mention LibreSSL, not OpenSSL.
...
[skip ci]
2019-08-12 14:43:10 +02:00
Bram Matthys
2b0afacdf0
Rename of "ssl" to "tls" part 2
2019-08-12 14:35:32 +02:00
Bram Matthys
09cf485d6c
Mass rename of "ssl" to "tls" everywhere. Including conf/ssl to
...
conf/tls. If you are upgrading then conf/ssl will be renamed to
conf/tls and a symlink will be added (so certbot etc won't fail).
This is part 1...
2019-08-12 14:26:31 +02:00
Bram Matthys
5701fbed20
Update installer script to reflect new windows paths
...
[skip ci]
2019-08-11 18:16:27 +02:00
Bram Matthys
4488819e69
Oops...
...
[skip ci]
2019-08-11 18:09:06 +02:00
Bram Matthys
61cf5f16d3
Ok.. I get it.
...
[skip ci]
2019-08-11 18:02:13 +02:00
Bram Matthys
63cfdb4b68
src/windows/win.h -> include/windows/win.h
...
and update the include name
@skipci
2019-08-11 17:58:53 +02:00
Bram Matthys
3d7117ea77
Whatever this is, I'm not leaving it alone :D
...
@skipci
2019-08-11 17:56:38 +02:00
Bram Matthys
c68b0e9ab4
Rename windows.{c,h} -> win.{c,h} to avoid confusion
2019-08-11 17:51:48 +02:00
Bram Matthys
645989e602
Rename makefile.win32 to makefile.windows, among several other changes.
...
(Would surprise me if this compiles without failure, tho)
@skipci
2019-08-11 17:46:12 +02:00
Bram Matthys
1498f1e716
Rename directories from 'win32' to 'windows'
2019-08-11 17:40:08 +02:00