| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix duplicate sign printing of complex and quaternion types | Feoramund | 2024-06-03 | 1 | -4/+20 |
| | | | | | | Negative zero wasn't being detected (so it would appear as `+-0`), and `+Inf` was appearing as `++Inf` when imaginary. | ||||
| * | Improve `fmt` parsing of struct field tags | gingerBill | 2024-05-20 | 1 | -41/+89 |
| | | |||||
| * | Fix the way '%32b' and other prefixed numbers are written. | Jeroen van Rijn | 2024-05-20 | 1 | -11/+58 |
| | | |||||
| * | remove extra newline in enumerated array hash fmt | Matias Fernandez | 2024-05-18 | 1 | -1/+0 |
| | | |||||
| * | Correct #soa RTTI usage | gingerBill | 2024-05-16 | 1 | -1/+1 |
| | | |||||
| * | Amend `fmt` documentation | Feoramund | 2024-05-09 | 1 | -15/+18 |
| | | |||||
| * | Refactor `wprintf` | Feoramund | 2024-05-09 | 1 | -191/+156 |
| | | | | | | | | | | | | | | | | | | | | | | | - Extracts common code between C and Python-like syntax into its own sub-procedures. - Fixes Python-like syntax from treating `}` as a verb. - Makes C-like syntax treat ' ' as a missing verb. - Fixes EXTRA arguments being formatted with options that were previously set, instead using default options now. - Makes error messaging more consistent between C and Python-like syntax. - Requires argument index to be specified immediately before the verb in C-like syntax, per the documentation, instead of after `%` _or_ before the verb. - Tracks argument usage through a `bit_set`, allowing for reporting of unused arguments even when reordered. - Moves exit for C-like syntax if next byte is `%` to beginning of block instead of needlessly trying to parse through all options. - Pops next unused argument for unspecified formatters like `%i` or `{}`, instead of taking the argument after the last one used. - Fixes unspecified precision `%.f` from not setting precision to zero, per the documentation. | ||||
| * | Combine adjacent `sbprint*`/`to_string` calls | Feoramund | 2024-04-28 | 1 | -12/+6 |
| | | | | | The `sbprint*` procs already return a string conversion. | ||||
| * | Require results for non-buffered `print` procs | Feoramund | 2024-04-28 | 1 | -0/+12 |
| | | |||||
| * | wasm: add the `fprint` procedures to `fmt` | Laytan Laats | 2024-04-28 | 1 | -0/+51 |
| | | | | | This makes the `log` package work on wasm | ||||
| * | Fix printing of big endian integers in a `bit_field` | gingerBill | 2024-04-27 | 1 | -1/+4 |
| | | |||||
| * | Add printfln and eprintfln functions to fmt_js.odin | Damian Tarnawski | 2024-04-21 | 1 | -0/+4 |
| | | |||||
| * | Merge pull request #3447 from matias-eduardo/fix-soa-hash-formatting | gingerBill | 2024-04-19 | 1 | -2/+19 |
| |\ | | | | | fix #soa '%#v' formatting | ||||
| | * | fix #soa '%#v' formatting | Matias Fernandez | 2024-04-17 | 1 | -2/+19 |
| | | | |||||
| * | | Do not print column of a runtime.Source_Code_Location if the `column == 0` | gingerBill | 2024-04-19 | 1 | -4/+8 |
| |/ | |||||
| * | Fix #3407 | gingerBill | 2024-04-10 | 1 | -1/+1 |
| | | |||||
| * | Add `#row_major matrix[R, C]T` | gingerBill | 2024-03-19 | 1 | -2/+10 |
| | | | | | | As well as `#column_major matrix[R, C]T` as an alias for just `matrix[R, C]T`. This is because some libraries require a row_major internal layout but still want to be used with row or major oriented vectors. | ||||
| * | Minor change to spacing when printing a map | gingerBill | 2024-03-08 | 1 | -3/+3 |
| | | |||||
| * | Improve formatting for `%#` on `map`s | gingerBill | 2024-03-07 | 1 | -5/+24 |
| | | |||||
| * | Replace `b` with `_` as it is not needed | gingerBill | 2024-03-07 | 1 | -1/+1 |
| | | |||||
| * | Begin work on `%w` - 'w'rite as valid Odin literals | gingerBill | 2024-03-07 | 1 | -170/+217 |
| | | |||||
| * | Merge pull request #3207 from Tetralux/printfln | gingerBill | 2024-02-29 | 2 | -25/+130 |
| |\ | | | | | Add `fmt.*printfln` | ||||
| | * | [fmt] Add *printfln() | Tetralux | 2024-02-18 | 2 | -25/+130 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following procedures, which just call through to the `printf` versions, with `newline = true`; a new parameter also added in this commit. In all cases, `wprintf` is the one that ultimately writes the newline, if requested. - printfln - fprintfln - eprintfln - aprintfln - tprintfln - bprintfln - caprintfln - ctprintfln - sbprintfln - wprintfln | ||||
| * | | Improve `bit_field` printing | gingerBill | 2024-02-22 | 1 | -3/+6 |
| | | | |||||
| * | | Add field tags to `bit_field` | gingerBill | 2024-02-22 | 1 | -2/+23 |
| | | | |||||
| * | | Add general support for `bit_field`s | gingerBill | 2024-02-22 | 1 | -2/+8 |
| | | | |||||
| * | | Begin work adding `bit_field` | gingerBill | 2024-02-22 | 1 | -0/+65 |
| | | | |||||
| * | | Add `reflect.enum_name_from_value` and `reflect.enum_name_from_value_any` | gingerBill | 2024-02-21 | 1 | -27/+2 |
| |/ | |||||
| * | Move Tracking_Allocator to its own file.dev-2024-02 | gingerBill | 2024-02-01 | 1 | -2/+2 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 2 | -3/+3 |
| | | |||||
| * | Fix #3053 | gingerBill | 2024-01-26 | 1 | -16/+2 |
| | | |||||
| * | Removed return value of assertf. assertf now correctly responds to ↵ | Dragos Popescu | 2024-01-23 | 1 | -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 Rijn | 2023-12-30 | 1 | -3/+3 |
| | | |||||
| * | Fix `%g` in `fmt`, and make `%v` default to `%g` for floats | gingerBill | 2023-12-21 | 1 | -6/+12 |
| | | |||||
| * | core: Fixed build constraints | Yawning Angel | 2023-12-17 | 1 | -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_set | Laytan Laats | 2023-11-07 | 1 | -4/+32 |
| | | |||||
| * | Add `allocator` parameter to `fmt`'s `aprint` and `aprintln` | gingerBill | 2023-11-03 | 1 | -4/+4 |
| | | |||||
| * | Merge pull request #2839 from Tetralux/aprintf-ally | Jeroen van Rijn | 2023-10-02 | 1 | -2/+2 |
| |\ | | | | | [fmt] Add allocator parameter to `fmt.aprintf` | ||||
| | * | [fmt] Add allocator parameter to `fmt.aprintf` | Tetralux | 2023-10-02 | 1 | -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 library | gingerBill | 2023-09-30 | 1 | -6/+3 |
| |/ | |||||
| * | update doc | Laytan Laats | 2023-09-12 | 1 | -2/+2 |
| | | |||||
| * | use KiB etc. instead of KB | Laytan Laats | 2023-09-12 | 1 | -4/+4 |
| | | |||||
| * | Add formatting of bytes into the best unit of measurement | Laytan Laats | 2023-09-01 | 2 | -0/+64 |
| | | |||||
| * | Add optional `flush := true` to many of the `core:fmt` procedures | gingerBill | 2023-08-22 | 3 | -36/+45 |
| | | |||||
| * | Disallow `for in` in favour of `for _ in` | gingerBill | 2023-08-08 | 1 | -4/+4 |
| | | |||||
| * | Remove #relative slices; Replace with #relative multi-pointers | gingerBill | 2023-08-05 | 1 | -24/+3 |
| | | |||||
| * | Clean up usage of `using` throughout core and vendor | gingerBill | 2023-07-31 | 1 | -11/+11 |
| | | |||||
| * | Fix fmt implementation for `js` | gingerBill | 2023-06-26 | 1 | -13/+10 |
| | | |||||
| * | Merge pull request #2584 from odin-lang/new-io | gingerBill | 2023-06-23 | 1 | -5/+5 |
| |\ | | | | | New and Improved `io.Stream` interface | ||||
| | * | Just make the `io.Reader` etc aliases | gingerBill | 2023-06-08 | 1 | -5/+5 |
| | | | |||||