ladybird/Applications
asynts 7c2cd81edb AK+Format: Exclude prefix from width calculation.
When we write the format specifier '{:#08x}' we are asking for eight
significant digits, zero padding and the prefix '0x'.

However, previously we got only six significant digits because the
prefix counted towards the width. (The number '8' here is the total
width and not the number of significant digits.)

Both fmtlib and printf shared this behaviour. However, I am introducing
a special case here because when we do zero padding we really only care
about the digits and not the width.

Notice that zero padding is a special case anyways, because zero padding
goes after the prefix as opposed to any other padding which goes before
it.
2020-10-06 15:28:39 +02:00
..
About LibGUI: Make GUI::Application a Core::Object 2020-07-04 14:05:57 +02:00
Browser AK: Make the return type of dbgputstr consistent. 2020-10-04 19:18:32 +02:00
Calculator Calculator: Use format instead of printf. 2020-10-05 14:19:24 +02:00
Calendar Calendar: Use format instead of printf. 2020-10-05 14:19:24 +02:00
Debugger Debugger: Use format instead of printf. 2020-10-05 14:19:24 +02:00
DisplaySettings DisplaySettings: Use format instead of printf. 2020-10-05 14:19:24 +02:00
FileManager FileManager: Use new format functions. 2020-10-05 16:25:50 +02:00
FontEditor FontEditor: Use new format functions. 2020-10-06 15:04:37 +02:00
Help Help: Use new format functions. 2020-10-06 15:04:37 +02:00
HexEditor AK+Format: Exclude prefix from width calculation. 2020-10-06 15:28:39 +02:00
IRCClient AK: Don't add newline for outf/dbgf/warnf. 2020-10-04 17:04:55 +02:00
KeyboardMapper LibC: Remove an unneeded string.h include in ctype.h/cpp 2020-09-27 21:15:25 +02:00
KeyboardSettings Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Piano Refactor: Replace usages of FixedArray with Array. 2020-09-08 14:01:21 +02:00
PixelPaint Applications: Paint transparency grids through StylePainter 2020-09-26 00:00:08 +02:00
QuickShow Applications: Paint transparency grids through StylePainter 2020-09-26 00:00:08 +02:00
SoundPlayer Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Spreadsheet LibJS: Remove Interpreter::call() 2020-10-04 23:08:49 +02:00
SystemMonitor Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Terminal Terminal: Use utmpupdate to update /var/run/utmp 2020-09-06 16:15:51 +02:00
TextEditor HackStudio+TextEditor: Add the Shell syntax highlighter 2020-09-30 20:05:24 +02:00
ThemeEditor Meta+Applications: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Welcome Base: Rename Pebbleton to reflect actual height 2020-08-16 19:38:21 +02:00
CMakeLists.txt ChessEngine: Move from Applications to Services 2020-08-28 12:53:02 +02:00