Sadie Powell
|
c32be6a711
|
Fix a missing colon when REPRODUCIBLE_BUILD is defined.
|
2026-06-08 08:54:46 +01:00 |
|
Sadie Powell
|
8930cc2a92
|
Avoid potential crashes from calling strftime on a weird value.
|
2026-05-15 19:51:57 +01:00 |
|
Sadie Powell
|
e2dc77641a
|
Add some helper methods to CommandSource for translation.
|
2026-04-26 18:07:56 +01:00 |
|
Sadie Powell
|
eaa24d3b0a
|
Fix the location of &* on types.
|
2026-03-26 16:32:56 +00:00 |
|
Sadie Powell
|
e002f39509
|
Abolish the few remaining uses of BUFSIZE.
|
2026-03-23 02:14:51 +00:00 |
|
Sadie Powell
|
63032dc8d9
|
Fix translating the help output when the flexible layout is used.
|
2026-03-16 18:21:29 +00:00 |
|
Sadie Powell
|
12545ccbde
|
Use auto in as many places as possible.
|
2026-03-05 18:04:33 +00:00 |
|
Sadie Powell
|
dde9113418
|
Fix erroneously repeating the command name in the example wrapper.
|
2026-03-01 03:00:19 +00:00 |
|
Sadie Powell
|
decbab5d09
|
Fix translating examples.
|
2026-02-25 15:56:58 +00:00 |
|
Sadie Powell
|
9409560597
|
Tweak the layout and ergonomics the ExampleWrapper class.
|
2026-02-25 15:38:11 +00:00 |
|
Sadie Powell
|
d0c2baeed4
|
Add a type for wrapping examples instead of using manual linewraps.
At a later date we should revise the examples for all commands for
consistency.
|
2026-02-24 18:21:44 +00:00 |
|
Sadie Powell
|
2f1f04f7cb
|
Short circuit empty format strings in Anope::Format.
This fixes a bug where Anope would loop infinitely when passed an
empty format string.
|
2026-02-16 00:55:08 +00:00 |
|
Sadie Powell
|
aef1925b1d
|
Fix finding gettext on Windows.
Unfortunately we need to move our escape character from 0x1A to 0x1B
because newer versions of gettext treat the former as an EOF character.
|
2026-02-08 00:23:41 +00:00 |
|
Sadie Powell
|
81aa37543e
|
Merge branch '2.0' into 2.1.
|
2026-01-01 18:07:12 +00:00 |
|
Sadie Powell
|
4ac5cf89e3
|
Update the copyright headers for 2025.
|
2026-01-01 18:04:37 +00:00 |
|
Sadie Powell
|
65827611e7
|
Add better error handling in Anope::LastError.
|
2025-12-20 00:13:35 +00:00 |
|
Sadie Powell
|
93e5b871e1
|
Version numbers should be unsigned.
|
2025-12-17 14:30:45 +00:00 |
|
Sadie Powell
|
fa0c6ba821
|
Consistently use the same header layout on all files.
|
2025-11-12 19:49:59 +00:00 |
|
Sadie Powell
|
9f6f0b445b
|
Improve the date format used when using non-English languages.
|
2025-10-09 13:38:16 +01:00 |
|
Sadie Powell
|
5d1dd21887
|
Fix some minor bugs with setting the user timezone.
|
2025-10-05 20:04:25 +01:00 |
|
Sadie Powell
|
8b6c6fdd81
|
Add support for users setting their local timezone.
|
2025-10-05 18:55:33 +01:00 |
|
Sadie Powell
|
9782c1f94b
|
Use the correct language for the date in Anope::strftime.
|
2025-10-02 15:29:43 +01:00 |
|
Sadie Powell
|
4dada51e08
|
Sort options in the information formatter output.
|
2025-09-29 13:00:17 +01:00 |
|
Sadie Powell
|
fd759f7bd3
|
Fix a minor comment typo in Anope::Template.
|
2025-09-23 18:18:52 +01:00 |
|
Sadie Powell
|
a792088a62
|
Add the monospace layout.
This works best in clients like The Lounge which use a variable-width
font but support monospace formatting.
|
2025-09-20 14:56:51 +01:00 |
|
Sadie Powell
|
03e2ebe2d2
|
Make LineWrapper UTF-8 aware.
|
2025-09-20 00:01:26 +01:00 |
|
Sadie Powell
|
c2dfb9a447
|
Use rounded durations in more places.
|
2025-09-19 20:38:53 +01:00 |
|
Sadie Powell
|
54389f474b
|
Implement support for flexible table layouts.
|
2025-09-19 18:50:27 +01:00 |
|
Sadie Powell
|
59bb9d3d06
|
Rework the InfoFormatter/ListFormatter APIs and move to textproc.
|
2025-09-19 12:31:15 +01:00 |
|
Sadie Powell
|
ba9f4e93c2
|
Redo how information tables are built to be multibyte aware.
|
2025-09-12 14:34:39 +01:00 |
|
Sadie Powell
|
b2d40d4189
|
Improve how Anope formats C strings.
|
2025-08-02 18:17:01 +01:00 |
|
Sadie Powell
|
e6e812c43c
|
Move NormalizeBuffer to textproc and rename more descriptively.
|
2025-08-02 17:09:24 +01:00 |
|
Sadie Powell
|
2dbd41d244
|
Move some methods to textproc.
|
2025-08-02 17:00:31 +01:00 |
|
Sadie Powell
|
e9a0a214b0
|
Refactor Anope::strftime.
|
2025-05-10 14:40:12 +01:00 |
|
Sadie Powell
|
46c5570b1d
|
Use UTC in timestamps shown to users.
|
2025-05-10 14:40:12 +01:00 |
|
Sadie Powell
|
551f3504c8
|
Fix broken handling of colour codes in LineWrapper.
Closes #504.
|
2025-04-27 13:01:29 +01:00 |
|
Sadie Powell
|
ad0b4d1aa0
|
Rename TextSplitter to LineWrapper.
|
2025-04-16 01:53:50 +01:00 |
|
Sadie Powell
|
74e9a9d2fe
|
Automatically wrap the help output.
|
2025-04-16 01:50:59 +01:00 |
|
Sadie Powell
|
d2aee394ea
|
Fix a compiler warning on Clang.
|
2025-04-16 00:14:46 +01:00 |
|
Sadie Powell
|
3e696fae0f
|
Reduce the maximum line length from 120 to 100.
This should fit on user screens a bit better.
|
2025-04-16 00:07:33 +01:00 |
|
Sadie Powell
|
a883b616a1
|
Automatically line wrap messages sent by services.
|
2025-04-15 19:30:59 +01:00 |
|
Sadie Powell
|
d04a312d0d
|
Add Anope::Templace and switch all template strings to use it.
|
2025-04-14 11:31:19 +01:00 |
|
Sadie Powell
|
d019da673d
|
Replace NormalizeBuffer implementation with the one from InspIRCd.
This is more robust and will handle more formatting code types.
|
2025-04-02 17:04:47 +01:00 |
|
Sadie Powell
|
ecbf53ba6c
|
Allow customising the length at which lines are wrapped after.
Closes #485.
|
2025-03-22 07:33:02 +00:00 |
|
Sadie Powell
|
2091dc68bc
|
Move REPRODUCIBLE_BUILD to sysconf.
|
2025-03-06 01:24:39 +00:00 |
|
Sadie Powell
|
f9911dde52
|
Return references instead of pointers from the config system.
We used to return NULL from these methods but now we return an empty
block so this can never actually be null now.
|
2025-03-02 15:27:47 +00:00 |
|
Sadie Powell
|
0a82366a6b
|
Merge branch '2.0' into 2.1.
|
2025-01-14 13:41:19 +00:00 |
|
Sadie Powell
|
da7f47c1c7
|
Update the copyright headers for 2025.
|
2025-01-14 13:30:07 +00:00 |
|
Sadie Powell
|
2464913200
|
Simplify the duration string logic in Anope::Expires.
This is just duplicating Anope::Duration there's no need to reimplement
a worse version of that here.
|
2024-11-25 03:02:24 +00:00 |
|
Sadie Powell
|
ebea728957
|
Fix pluralising languages which use the same plural for 0 as 1.
|
2024-11-25 01:20:03 +00:00 |
|