Sadie Powell
d7912e6a3e
Merge branch 'insp3' into master.
2022-04-29 11:24:05 +01:00
InspIRCd Robot
346ec99c43
Update copyright headers.
2022-04-28 18:49:16 +01:00
Sadie Powell
3443799702
Merge branch 'insp3' into master.
2022-01-18 18:03:49 +00:00
Sadie Powell
d414992019
Add extra debug information to the module error message.
...
[skip windows ci]
2022-01-17 13:54:27 +00:00
Sadie Powell
1e1cf527d2
Merge branch 'insp3' into master.
2021-03-05 02:32:35 +00:00
Sadie Powell
85a4184ab4
Fix print_warning using print instead of say.
2021-02-28 19:55:31 +00:00
Sadie Powell
606677c865
Require Perl 5.26 in the build system.
...
This version is supported by all major systems that ship the C++17
compilers required by the v4 branch.
2021-02-28 19:20:08 +00:00
InspIRCd Robot
1bf7ca3894
Update copyright headers.
2021-02-26 06:58:13 +00:00
Sadie Powell
3e557e85d3
Purge all remaining uses of print_format.
2021-01-29 13:39:13 +00:00
Sadie Powell
859a79923a
Migrate some stuff away from print_format.
2021-01-27 16:47:08 +00:00
Sadie Powell
f6b861f12d
Fix unnecessary begin blocks in Perl source files.
2021-01-25 12:39:56 +00:00
Sadie Powell
2b7c396708
Export console_format from make::console and make it more robust.
...
Previously a module could do warning("<|INVALID wibble|>") in its
$CompilerFlags or $LinkerFLags and this would break the build.
2020-12-31 22:54:50 +00:00
InspIRCd Robot
aa692dc103
Update copyright headers.
2020-01-11 22:14:43 +00:00
Sadie Powell
56375392ba
Update my name and email address.
2019-12-31 20:55:17 +01:00
Peter Powell
a580cacb19
Improve the accessibility and robustness of prompt_bool.
...
- Use "yes" and "no" instead of "y" and "n".
- Validate the true and false responses properly.
- Keep prompting the user for a response until they give one which
is valid.
2019-01-29 21:18:18 +00:00
Peter Powell
b6a69e98ee
Add a nice API for command line interfaces to make::console.
2017-03-25 00:54:25 +00:00
Peter Powell
6c98c29874
Fix print_format breaking when formatting empty strings.
2016-09-14 23:47:01 +01:00
Peter Powell
4133ccb043
Allow print_error and print_warning to take multiple lines.
2016-09-14 23:47:01 +01:00
Peter Powell
7c31c005fc
Extract directory creation code to its own subroutine.
2016-03-22 23:38:37 +00:00
Peter Powell
aae283e1dd
Convert the build system to Perl 5.10.
...
Thanks to Kross for the heads up on "use feature".
2015-03-25 19:01:33 +00:00
Peter Powell
88bfcabe02
Create installation directories with make install not configure.
...
This fixes system-wide installations requiring root in order to
create directories.
2015-03-06 16:13:11 +00:00
Peter Powell
11f4d02e70
Add Perl module for console related code.
...
- Move prompt_* methods to this module.
- Add methods for printing errors and warnings easily.
- Add colour code helpers and switch all code to use them.
2014-12-07 22:36:42 +00:00