| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add missing caller location param to append in strings builder | Damian Tarnawski | 2025-09-10 | 1 | -6/+6 |
| | | |||||
| * | Clarify `strconv.append_*` to `strconv.write_*` | Feoramund | 2025-06-05 | 1 | -6/+6 |
| | | |||||
| * | Make strings.to_cstring adhere to #optional_allocator_error | Jeroen van Rijn | 2025-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fix #4890 | Feoramund | 2025-02-27 | 1 | -1/+24 |
| | | | | | | | `strings.to_cstring` previously would not check if the buffer could handle the extra null byte and could lead to segmentation violations when using the resulting string in an API expecting the terminator. | ||||
| * | Minor style change | gingerBill | 2024-08-13 | 1 | -2/+2 |
| | | |||||
| * | Made default capacity of dynamic arrays more consistent. | Karl Zylinski | 2024-06-29 | 1 | -6/+6 |
| | | | | | | | | | | Before this if you do `arr: [dynamic]int` and then append to arr, then it will have capacity 8. But if you did `arr := make([dynamic]int, context.temp_allocator)` then arr would have capacity 16. Now both `arr: [dynamic]int` and `arr := make([dynamic]int, context.temp_allocator)` will resut in arr having zero 0. The only reason to use `make` without an explicit len or cap now is because you want to set it up for a non-default allocator. After the first call to `append` it will now in both cases have capacity 8. I also updated the documentation on the strings builder, both to reflect this, and also to fix it incorrectly saying that len would be 'max(16,len)', which wasn't true even before these changes. | ||||
| * | Merge pull request #3517 from timosperisen/patch-1 | gingerBill | 2024-06-28 | 1 | -2/+2 |
| |\ | | | | | Update builder.odin | ||||
| | * | Update builder.odin | Timo | 2024-04-29 | 1 | -2/+2 |
| | | | | | | | | | | | Modify documentation-text for procedure write_f64 : change type f32 to f64 | ||||
| * | | drop unnecessary defer | Justin Snyder | 2024-06-19 | 1 | -1/+1 |
| | | | |||||
| * | | fix typo | Justin Snyder | 2024-06-19 | 1 | -1/+1 |
| | | | | | | | | | apparently i had a moment of dyslexia | ||||
| * | | trim added null byte | Justin Snyder | 2024-06-19 | 1 | -16/+3 |
| | | | |||||
| * | | Add builder to_cstring | Justin Snyder | 2024-06-19 | 1 | -0/+27 |
| | | | |||||
| * | | Update `tests\core\encoding\cbor` to use new test runner. | Jeroen van Rijn | 2024-06-02 | 1 | -4/+4 |
| |/ | | | | | | It was leaky and required a substantial number of `loc := #caller_location` additions to parts of the core library to make it easier to track down how and where it leaked. The tests now run fine multi-threaded. | ||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 1 | -1/+1 |
| | | |||||
| * | Builder makes added caller location | Pix | 2023-08-15 | 1 | -12/+12 |
| | | |||||
| * | Update to new io interface | gingerBill | 2023-06-08 | 1 | -25/+16 |
| | | |||||
| * | update builder sample | Jon Lipstate | 2023-04-26 | 1 | -6/+5 |
| | | |||||
| * | fix typo, add builder sample | Jon Lipstate | 2023-04-26 | 1 | -1/+27 |
| | | |||||
| * | Document return values of strings and add allocator errors where | Lucas Perlind | 2023-04-07 | 1 | -65/+65 |
| | | | | | possible | ||||
| * | Small improvements strings documentation | Lucas Perlind | 2023-04-03 | 1 | -89/+97 |
| | | | | | | | | | * Use new 'Returns:' and 'Inputs:' keywords used by the website generator * Make order item order resemble website, i.e. 'Returns:' comes before 'Example:' * Add a few missing input items * Add a few missing return items | ||||
| * | Enforce example names in documentation | Lucas Perlind | 2023-04-01 | 1 | -8/+8 |
| | | |||||
| * | Fix website formatting and incorrect examples | Lucas Perlind | 2023-03-29 | 1 | -34/+68 |
| | | |||||
| * | pr pickups | Jon Lipstate | 2023-03-28 | 1 | -7/+23 |
| | | |||||
| * | markdown compliant spaces | Jon Lipstate | 2023-03-27 | 1 | -68/+68 |
| | | |||||
| * | transform into odin-site parsable format | Jon Lipstate | 2023-03-27 | 1 | -120/+188 |
| | | |||||
| * | string code docs | Jon Lipstate | 2023-03-27 | 1 | -84/+369 |
| | | |||||
| * | Minor fixes | gingerBill | 2023-03-16 | 1 | -2/+6 |
| | | |||||
| * | Don't write leading + unless +Inf or we ask for it. | Jeroen van Rijn | 2022-11-14 | 1 | -4/+18 |
| | | |||||
| * | Add `write_(f16|f32|f64)` calls | gingerBill | 2022-11-14 | 1 | -0/+23 |
| | | |||||
| * | add floats to string builder | Colin Davidson | 2022-11-14 | 1 | -0/+7 |
| | | |||||
| * | Clean up of the core library to make the stream vtables not be pointers ↵ | gingerBill | 2022-09-15 | 1 | -2/+2 |
| | | | | | directly. | ||||
| * | Rename strings.Builder procedures to be consistent with the rest of the core ↵ | gingerBill | 2022-07-11 | 1 | -105/+43 |
| | | | | | library | ||||
| * | Remove `strings` dependency from `core:sys/windows` | gingerBill | 2022-06-02 | 1 | -6/+6 |
| | | |||||
| * | Convert all uses of `*_from_slice` to `*_from_bytes` where appropriate | gingerBill | 2022-05-16 | 1 | -2/+3 |
| | | |||||
| * | documentation for the rest of the strings library | Michael Kutowski | 2022-04-03 | 1 | -13/+117 |
| | | |||||
| * | Remove deprecation from the build specific procedures | gingerBill | 2021-09-30 | 1 | -3/+0 |
| | | |||||
| * | Correct `_builder_stream_vtable` | gingerBill | 2021-09-29 | 1 | -6/+6 |
| | | |||||
| * | Deprecate `strings.write_quoted_*` in favour of `io.write_quoted_*`; make ↵ | gingerBill | 2021-09-29 | 1 | -1/+8 |
| | | | | | `reflect.write_type` a little more robust with `io.Error` handling | ||||
| * | Make the io/conv.odin utilities be `#optional_ok` | gingerBill | 2021-09-29 | 1 | -2/+1 |
| | | |||||
| * | Add `io.write_quoted_*` utility procedures to `package io` | gingerBill | 2021-09-29 | 1 | -122/+10 |
| | | |||||
| * | Simplify `strings.write_byte` and `strings.write_bytes` | gingerBill | 2021-09-09 | 1 | -20/+8 |
| | | |||||
| * | Remove unneeded semicolons from the core library | gingerBill | 2021-08-31 | 1 | -155/+155 |
| | | |||||
| * | Core library clean up: Make range expressions more consistent and replace ↵ | gingerBill | 2021-06-14 | 1 | -2/+2 |
| | | | | | uses of `..` with `..=` | ||||
| * | Remove @(static) for global variables | gingerBill | 2021-05-19 | 1 | -1/+1 |
| | | |||||
| * | Minimize unneeded casts | gingerBill | 2021-03-03 | 1 | -1/+1 |
| | | |||||
| * | Clean up `fmt` usage with `io.Writer` and `strings.Builder` | gingerBill | 2020-12-04 | 1 | -30/+0 |
| | | |||||
| * | Improve packages io and strings; add io.Section_Reader | gingerBill | 2020-12-03 | 1 | -26/+18 |
| | | |||||
| * | Integrate `package io` into core library | gingerBill | 2020-12-03 | 1 | -62/+161 |
| | | |||||
| * | Rename stream field names | gingerBill | 2020-12-02 | 1 | -0/+18 |
| | | |||||
| * | Add `%q` for runes in fmt | gingerBill | 2020-11-18 | 1 | -0/+16 |
| | | |||||