27 Commits

Author SHA1 Message Date
Sadie Powell
1a5af295be Move unistd out of the global compat header. 2022-05-07 20:18:15 +01:00
Sadie Powell
507887f001 Get rid of entrypoint, specify the main function name directly. 2022-05-07 20:18:15 +01:00
Sadie Powell
581304f95d Add the ATTR_NOT_NULL define for marking arguments that can't be null. 2022-01-15 15:52:35 +00:00
Sadie Powell
94d42ad3ba Rename CUSTOM_PRINTF to ATTR_PRINTF.
ATTR_* matches the naming scheme which will be used for function
attributes from now on.

Also, redocument it to have a better description and allow Doxygen
to parse it.
2022-01-15 15:15:42 +00:00
Sadie Powell
c22c7e5a99 Merge branch 'insp3' into master. 2021-02-28 19:16:40 +00:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
5b21a60a9d Fix using the TR1 headers on compilers that support C++17. 2021-02-01 17:00:19 +00:00
Sadie Powell
1de6f5b4a9 Merge branch 'insp3' into master. 2020-01-17 12:36:09 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
f856d5ab8a Merge branch 'insp3' into master. 2020-01-01 12:33:10 +01:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Sadie Powell
03d3563ef9 Replace socketengine_{pthread,win32} with C++11 threads. 2019-05-15 21:06:09 +01:00
Sadie Powell
c78ecdf579 Replace the override macro with the override keyword. 2019-01-25 02:52:11 +00:00
Sadie Powell
42046ac6d3 Remove the DEPRECATED_METHOD macro.
C++14 has [[deprecated]] which does the same thing as this.
2019-01-25 02:49:15 +00:00
Sadie Powell
fb17bba197 Replace the TR1NS macro with the std namespace. 2019-01-25 02:49:03 +00:00
Peter Powell
fa95bb4b0d Convert the remaining things away from the caller/handler API. 2017-11-25 13:38:02 +00:00
Peter Powell
7ece928bab Convert IsNick to std::function. 2017-11-25 13:38:02 +00:00
Attila Molnar
4d36019385 Include <array> or <tr1/array> globally 2016-08-08 15:07:32 +02:00
Attila Molnar
8baacd6ef4 Add the insp::aligned_storage template 2014-09-27 18:24:44 +02:00
Peter Powell
e6d245a3e8 Replace the configure templating system with something better.
A large amount of this code can be removed when buildtool is done
as we will not need to worry about the differences between BSD and
GNU Make.
2014-05-23 14:13:51 +02:00
Peter Powell
428e8f4f69 Fix some Windows-related problems.
- Fix an error relating to the unavailability of std::back_inserter.
- Fix loading configuration files when using relative paths.
- Fix two methods in hashcomp being exported twice.
- Remove some unimportant error messages.
2014-01-04 19:31:29 +01:00
attilamolnar
ba7431b4fd Hide all symbols that aren't exported explicitly
In addition to reducing the sizes of all binaries this also helps the optimizer
2013-09-08 17:21:37 +02:00
Peter Powell
d9c1809b26 Remove unused code from configure. 2013-06-01 20:33:13 +01:00
Peter Powell
994787e907 Fix msvc detection of variadic template support 2013-05-20 23:51:45 -04:00
Peter Powell
b40f197f20 Add support for detecting C++11 variadic templates. 2013-05-21 02:34:10 +01:00
Peter Powell
8e9abaaa73 Fix GCC warnings about using C++11 features when not in C++11 mode. 2013-05-16 16:43:35 +01:00
Peter Powell
b89aa87280 Clean up cross-platform compatibility.
- Move compatibility macros to a new header file.
- Sort system include files in alphabetical order.
- Clean up signal handling (thanks to Adam).
2013-05-07 05:00:33 +02:00