| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add boolean support for `raw_union_tag` | gingerBill | 2026-01-02 | 1 | -0/+29 |
| | | |||||
| * | Add support to `raw_union_tag` for integers | gingerBill | 2026-01-02 | 1 | -0/+28 |
| | | |||||
| * | Add `@(rodata)` to global constants | gingerBill | 2026-01-01 | 1 | -4/+4 |
| | | |||||
| * | When using `fmt_write_padding`, remove the need to restore `fi.zero` since ↵ | gingerBill | 2026-01-01 | 1 | -6/+0 |
| | | | | | it is not used. | ||||
| * | fix printing dozenal numbers `0z` from `0o` | gingerBill | 2026-01-01 | 1 | -2/+2 |
| | | |||||
| * | Split of the built-in custom formatters to improve code generation | gingerBill | 2025-12-27 | 1 | -140/+150 |
| | | |||||
| * | Split some procedures up | gingerBill | 2025-12-27 | 1 | -316/+345 |
| | | |||||
| * | Add `raw_union_tag` struct tag fields to many types in `vendor` | gingerBill | 2025-12-08 | 1 | -3/+6 |
| | | |||||
| * | `raw_union_tag` allow for comma separation for multiple mappings | gingerBill | 2025-12-08 | 1 | -13/+18 |
| | | |||||
| * | Add `raw_union_tag` for `struct #raw_union` fields to improve fmt printing | gingerBill | 2025-12-08 | 1 | -1/+70 |
| | | |||||
| * | Merge branch 'master' of https://github.com/odin-lang/Odin | gingerBill | 2025-11-27 | 1 | -1/+1 |
| |\ | |||||
| | * | Use BUF_SIZE | gingerBill | 2025-11-22 | 1 | -1/+1 |
| | | | |||||
| * | | `core:fmt` lvalues in `for` loops to minimize stack usage | gingerBill | 2025-11-27 | 1 | -13/+13 |
| |/ | |||||
| * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 1 | -8/+8 |
| | | |||||
| * | Add `string16` and `cstring16` (UTF-16 based strings) | gingerBill | 2025-08-02 | 1 | -0/+76 |
| | | |||||
| * | Clarify `strconv.append_*` to `strconv.write_*` | Feoramund | 2025-06-05 | 1 | -4/+4 |
| | | |||||
| * | Correctly capitalize 'E' for the %E format specifier (#5065) | mtarik34b | 2025-04-22 | 1 | -1/+4 |
| | | |||||
| * | Fixed `fmt` handling of `bit_set[Enum]` when `min(Enum) != 0`. | Barinzaya | 2025-04-07 | 1 | -7/+3 |
| | | | | | | | The lower bound of the `bit_set` was only being applied *after* searching for a matching enum value, so values wouldn't line up if the minimum value of the enum wasn't 0. | ||||
| * | Update `fmt` docs for procedures with a default allocator parameter | Adam Zadrożny | 2025-03-09 | 1 | -7/+14 |
| | | |||||
| * | Fix `rune` printing with `%b` | gingerBill | 2025-02-25 | 1 | -1/+1 |
| | | |||||
| * | Support use of `*` in format strings without an index. | Barinzaya | 2025-02-14 | 1 | -0/+8 |
| | | | | | | | This allows `*` to be used in C fashion, without specifying an argument index to use. Like C, this results in the argument *preceding* the value for the format specifier itself. | ||||
| * | Fix the '+' sign placement in the presence of '0'-padding | flysand7 | 2025-01-24 | 1 | -2/+2 |
| | | |||||
| * | add ensure and ensuref to fmt and log, fix some inconsistencies | Laytan Laats | 2025-01-13 | 1 | -2/+24 |
| | | |||||
| * | Remove `#relative` types from the compiler | gingerBill | 2024-11-14 | 1 | -12/+0 |
| | | |||||
| * | fix thread_unix for Darwin after pthread corrections in posix package | Laytan Laats | 2024-10-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | afed3ce removed the sys/unix package and moved over to sys/posix, it has new bindings for the pthread APIs but should have been equivalent (not). 8fb7182 used `CANCEL_ENABLE :: 0`, `CANCEL_DISABLE :: 1`, `CANCEL_DEFERRED :: 0`, `CANCEL_ASYNCHRONOUS :: 1` for Darwin, while the correct values are `1`, `0`, `2` and `0` respectively (same mistake was made for FreeBSD in that commit). What this meant is that the `pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS)` was not actually successful, but because the error wasn't checked it was assumed it was. It also meant `pthread_setcancelstate(PTHREAD_CANCEL_ENABLE)` would actually be setting `PTHREAD_CANCEL_DISABLE`. The code in this PR restores the behaviour by now actually deliberately setting `PTHREAD_CANCEL_DISABLE` and not setting `PTHREAD_CANCEL_ASYNCHRONOUS` which was the previous behaviour that does actually seem to work for some reason. (I also fixed an issue in fmt where `x` would use uppercase if it was a pointer.) | ||||
| * | [fmt] Add bit fields to the pointer printing logic | Tetralux | 2024-08-12 | 1 | -1/+2 |
| | | | | | | | | core:fmt prints pointers to structs as `&StructName{ ... }` but `bit_field`s are currently printed the same as rawptrs (`0xAABBCCDDEEFF` only). This commit changes that so they behave the same as structs and unions. | ||||
| * | Add `allocator` parameters to `fmt.caprint*` | gingerBill | 2024-07-24 | 1 | -17/+28 |
| | | |||||
| * | fmt: fix optional_len or use_nul_termination being used by both array and elems | Laytan Laats | 2024-07-15 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | ```odin My_Struct :: struct { names: [^]string `fmt:"v,name_count"`, name_count: int, } main :: proc() { name := "hello?" foo := My_Struct { names = &name, name_count = 1, } fmt.println(foo) } ``` Before: `My_Struct{names = ["h"], name_count = 1}` After: `My_Struct{names = ["hello?"], name_count = 1}` | ||||
| * | Reduce the size of `runtime.Type_Info` | gingerBill | 2024-07-14 | 1 | -8/+8 |
| | | |||||
| * | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 1 | -29/+29 |
| | | |||||
| * | Add `#no_capture args: ..T` to reuse the backing array stack memory | gingerBill | 2024-07-14 | 1 | -29/+29 |
| | | |||||
| * | Fix fmt for code compilation bug with `any` | gingerBill | 2024-07-08 | 1 | -3/+3 |
| | | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -8/+8 |
| | | |||||
| * | Even more style fixes | gingerBill | 2024-06-29 | 1 | -9/+6 |
| | | |||||
| * | Added fmt.ctprint | Karl Zylinski | 2024-06-25 | 1 | -0/+19 |
| | | |||||
| * | Handle empty structs in fmt with hash | Matias Fernandez | 2024-06-14 | 1 | -4/+10 |
| | | |||||
| * | Fix and document `%w` verb for `core:fmt` | Feoramund | 2024-06-12 | 1 | -6/+16 |
| | | |||||
| * | Fix `%p` pointers not printing leading `0x` | Feoramund | 2024-06-07 | 1 | -1/+1 |
| | | |||||
| * | 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 |
| | | |||||
| * | 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 |
| | | |||||
| * | Fix printing of big endian integers in a `bit_field` | gingerBill | 2024-04-27 | 1 | -1/+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 |
| |/ | |||||