Commit Graph
21 Commits
Author SHA1 Message Date
Nicholas Hastings 7b013d5097 Fix x86 float formatting precision (fixes #2562) (#2573) 2026-09-14 22:38:52 +00:00
David Anderson 890c7119fe Use internal sp::Environment directly in core/logic.
Also remove ISourcePawnEngine and ISourcePawnEngine2 pointers since
they're now redundant.
2026-05-17 15:22:58 -07:00
F1F88 707a6f5a00 Add format specifier "%lb" & "%lX" & "%lx" (#2448)
* Add format specifier "%lb" & "%lX" & "%lx"

* adjust brace style to match the rest of the file
2026-04-28 02:54:12 +00:00
F1F88 817696358b Fixed an extra padding character in the negative integer formatting (#2443)
* Fixed an extra padding character in the negative integer formatting

* Add test script

* Add more test cases
2026-04-25 13:30:09 +00:00
F1F88 81ebd8cf8d Supports "%f" formatting value as negative inf float (#2444) 2026-04-22 16:54:05 +02:00
Ayrton09 a3fb4dfe5e Add %lu & %li as format for int64 (#2421) 2026-04-09 15:58:35 +02:00
F1F88 bc8d02c998 Add format specifier "%E" (#2099) (#2330)
* Add format specifier "%E" (#2099)

* style: Remove extra blank lines
2025-11-08 17:09:57 +00:00
F1F88 74e9cdd709 Fixed "%s" always being left justify (#2331) (#2332) 2025-11-08 16:36:01 +00:00
F1F88 2ae0d05a23 Fixed when the int value of "%0[width]d" is negative, the minus sign should be formatted before the padding '0' (#2329) 2025-11-08 16:33:30 +00:00
F1F88 22cc68808c Supports "%f" formatting value as inf float (#2324)
* Fixed when the float value of "%f" is inf, it should be formatted as "Inf" instead of "0.0"

* Replace std::isinf with ke::IsInfinite
2025-11-08 16:32:09 +00:00
F1F88 b5e077c6f7 Fix formatting error when left-aligned and width is less than the number of characters (#2221) (#2255) 2025-02-04 01:37:31 +00:00
Adrián 18f9d65938 Fix translations getting truncated prematurely (#1640) 2021-11-16 16:09:30 +00:00
Michael Flaherty 956f264b85 Replace ke::SafeSprintf with ke::SafeStrcpy (#784) 2018-03-19 20:12:51 +00:00
Asher Baker 700ec92a9a Implement an auto-escaping Format native for SQL query construction 2016-02-15 15:05:16 +00:00
Asher Baker 272655f340 Changed AddString to be failable 2016-02-15 14:57:56 +00:00
Asher Baker 936bdc47f0 Add argument index to format error messages 2016-02-15 10:20:08 +00:00
Asher Baker 9008705b9d Pass format flags down to AddString 2016-02-15 10:16:14 +00:00
Asher Baker 886c358e91 Renumber format flags for sanity 2016-02-15 10:09:48 +00:00
David Anderson 4e275eea97 Split intercom.h into separate headers and reduce shared header inclusion. 2015-08-31 10:00:49 -07:00
David Anderson 3d5c9f0e21 Rename smcore to bridge, and use it as a pointer. 2015-08-30 23:27:53 -07:00
David Anderson e78fe93e92 Move gnprintf/atcprintf from core to logic. 2015-08-30 19:32:46 -07:00