aboutsummaryrefslogtreecommitdiff
path: root/core/fmt
Commit message (Collapse)AuthorAgeFilesLines
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-282-3/+3
|
* Fix #3053gingerBill2024-01-261-16/+2
|
* Removed return value of assertf. assertf now correctly responds to ↵Dragos Popescu2024-01-231-9/+15
| | | | -disable-assert. Added log.assert and log.assertf. All asserts now do the @cold trick, first added to builtin.assert
* Remove unnecessary []byte -> []byte conversion.Jeroen van Rijn2023-12-301-3/+3
|
* Fix `%g` in `fmt`, and make `%v` default to `%g` for floatsgingerBill2023-12-211-6/+12
|
* core: Fixed build constraintsYawning Angel2023-12-171-1/+2
| | | | | | Multiple constraints on the same line are combined with logical OR, while combining multiple negated constraints needs to be done with logical AND (each constraint on a separate line).
* allow integer verbs in fmt_bit_setLaytan Laats2023-11-071-4/+32
|
* Add `allocator` parameter to `fmt`'s `aprint` and `aprintln`gingerBill2023-11-031-4/+4
|
* Merge pull request #2839 from Tetralux/aprintf-allyJeroen van Rijn2023-10-021-2/+2
|\ | | | | [fmt] Add allocator parameter to `fmt.aprintf`
| * [fmt] Add allocator parameter to `fmt.aprintf`Tetralux2023-10-021-2/+2
| | | | | | | | This allows you to do `fmt.aprintf("Hello, %v!", name, allocator = ally)`.
* | Use `or_break` and `or_continue` where appropriate in the core librarygingerBill2023-09-301-6/+3
|/
* update docLaytan Laats2023-09-121-2/+2
|
* use KiB etc. instead of KBLaytan Laats2023-09-121-4/+4
|
* Add formatting of bytes into the best unit of measurementLaytan Laats2023-09-012-0/+64
|
* Add optional `flush := true` to many of the `core:fmt` proceduresgingerBill2023-08-223-36/+45
|
* Disallow `for in` in favour of `for _ in`gingerBill2023-08-081-4/+4
|
* Remove #relative slices; Replace with #relative multi-pointersgingerBill2023-08-051-24/+3
|
* Clean up usage of `using` throughout core and vendorgingerBill2023-07-311-11/+11
|
* Fix fmt implementation for `js`gingerBill2023-06-261-13/+10
|
* Merge pull request #2584 from odin-lang/new-iogingerBill2023-06-231-5/+5
|\ | | | | New and Improved `io.Stream` interface
| * Just make the `io.Reader` etc aliasesgingerBill2023-06-081-5/+5
| |
* | Use positional and named arguments within the core librarygingerBill2023-06-212-15/+15
|/
* Merge pull request #2573 from inbelic/inbelic/fmt-zero-paddinggingerBill2023-06-071-0/+5
|\ | | | | [fmt] fix zero-padding behaviour of numbers
| * [fmt] fix zero-padding behaviour of numbersfinn2023-06-011-0/+5
| | | | | | | | | | | | - when formatting a negative number with left zero-padding we expect the padding to be placed between the minus (-) sign and the number - currently the padding is placed before the sign
* | Fix `fmt` for `js`gingerBill2023-06-061-1/+1
| |
* | Correct printing in fmt for `ODIN_ERROR_POS_STYLE`gingerBill2023-06-061-5/+16
|/
* Fix special printing for certain named types with `fmt.printf` related ↵gingerBill2023-05-241-12/+4
| | | | procedures
* Partially buffer `fmt.fprint*` related calls using a `bufio.Writer`gingerBill2023-04-271-5/+35
|
* Fix caprintf commentJeroen van Rijn2023-03-271-1/+1
|
* Update fmt.odinJeroen van Rijn2023-03-271-7/+3
| | | | Fix hardcoded 64 bit, use assert instead of branched panic.
* Update fmt.odinjon lipstate2023-03-261-9/+11
| | | Update example to use set/register procs.
* corrected bprintJon Lipstate2023-03-251-6/+6
|
* fmt docsJon Lipstate2023-03-251-97/+561
|
* Fixed incorrect precision value in `fmt` doc.WraithGlade2023-03-191-1/+1
| | | | | | | It seems like `%.2f` is the correct implementation of "precision 2" for displaying floats, not `$.3f`. It prints two decimal places. Either that or the next case (`%8.3f`) would be wrong instead, if it's the other way around. So, there's a mistake here one way or the other at the least.
* Rename to `Type_Info_Parameters`gingerBill2023-02-081-2/+2
|
* Clean up float_fmt logicMarenFayre2023-01-101-13/+6
|
* Merge pull request #2297 from MarenFayre/d-parsinggingerBill2023-01-101-1/+1
|\ | | | | Fix off by one error in %d parsing
| * Fix off by one error in %d parsingMarenFayre2023-01-081-1/+1
| |
* | Removed unneeded semicolon.MarenFayre2023-01-091-4/+4
| |
* | Fix left padding format specifier and float formattingMarenFayre2023-01-081-71/+27
|/
* fix wprintf return valuethisisnotnull2022-11-211-1/+1
|
* Make `Map_Info` store pointers to cell info rather than inlinegingerBill2022-11-081-2/+2
|
* Correct hashing for `map` typesgingerBill2022-11-081-3/+2
|
* General modificationsgingerBill2022-11-081-1/+2
|
* Correct `fmt` printing to be robustgingerBill2022-11-071-2/+2
|
* Basic fmt printing for `map`gingerBill2022-11-071-30/+14
|
* Begin work on implementing the new `map` internalsgingerBill2022-11-071-0/+2
|
* Merge pull request #2141 from ChuuniMage/patch-2gingerBill2022-11-031-0/+18
|\ | | | | Add caprintf and ctprintf to fmt
| * Update fmt.odinChuuniMage2022-10-211-2/+2
| | | | | | Feedback regarding internal `fmt` reference addressed
| * Add caprintf and ctprintf to fmtChuuniMage2022-10-211-0/+18
| | | | | | Formatted cstring procs to work with ubiquitous cstring APIs