| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Deprecate old @(deprecated) things. | Jeroen van Rijn | 2025-06-06 | 1 | -64/+82 |
| | | |||||
| * | Clarify `strconv.append_*` to `strconv.write_*` | Feoramund | 2025-06-05 | 1 | -6/+6 |
| | | |||||
| * | Fix doctest | Jeroen van Rijn | 2025-05-31 | 1 | -5/+4 |
| | | |||||
| * | Vectorize `strings.prefix_length`. | Jeroen van Rijn | 2025-05-31 | 1 | -17/+47 |
| | | | | | Also add `strings.common_prefix`. | ||||
| * | Make strings.to_cstring adhere to #optional_allocator_error | Jeroen van Rijn | 2025-05-12 | 1 | -1/+1 |
| | | |||||
| * | Remove redundant calls to builder_init | mtarik34b | 2025-04-16 | 1 | -2/+0 |
| | | |||||
| * | Fix broken examples in documentation tester. | Jeroen van Rijn | 2025-04-05 | 1 | -1/+1 |
| | | | | | | | | | | No more: ``` We could not find the procedure "pkg_foo_example :: proc()" needed to test the example created for "pkg.foo" The following procedures were found: bar() ``` | ||||
| * | Remove unneeded slicing in `strings.clone` | Feoramund | 2025-03-05 | 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. | ||||
| * | Small optimization | Jacob Friedman | 2025-02-04 | 1 | -1/+3 |
| | | |||||
| * | Fix unicode handling | Jacob Friedman | 2025-02-04 | 1 | -1/+6 |
| | | |||||
| * | Fix strings.split_iterator when separator is empty | Jacob Friedman | 2025-02-04 | 1 | -6/+2 |
| | | |||||
| * | strings: use map_entry | Laytan Laats | 2025-01-08 | 1 | -5/+11 |
| | | |||||
| * | improve `strings.index_multi` | Adam Zadrożny | 2024-12-04 | 1 | -1/+2 |
| | | | | | | | | There's no point searching for substrings after lowest_index, so let's not. This significantly improves performance on long strings. | ||||
| * | Fix #4359 | Jeroen van Rijn | 2024-10-09 | 1 | -1/+1 |
| | | | | | Fixes #4359 | ||||
| * | wasm: support more vendor libraries | Laytan Laats | 2024-09-09 | 1 | -7/+7 |
| | | | | | | | | | Adds support for: - box2d - cgltf - stb image - stb rect pack | ||||
| * | Merge pull request #4192 from laytan/strings-substring-rune-wise | Jeroen van Rijn | 2024-09-03 | 1 | -0/+103 |
| |\ | | | | | strings: add `substring`, `substring_to` and `substring_from` | ||||
| | * | strings: add `substring`, `substring_to` and `substring_from` | Laytan Laats | 2024-09-03 | 1 | -0/+103 |
| | | | |||||
| * | | strings.cut without allocation. | Jeroen van Rijn | 2024-09-03 | 1 | -42/+53 |
| |/ | |||||
| * | Fix random typo | gingerBill | 2024-08-19 | 1 | -1/+1 |
| | | |||||
| * | Add `strings.contains_space` | gingerBill | 2024-08-19 | 1 | -0/+11 |
| | | |||||
| * | Merge pull request #3971 from jasonKercher/os2-process-linux | gingerBill | 2024-08-16 | 1 | -1/+4 |
| |\ | | | | | os2 process linux implementation | ||||
| | * | update core:filepath's clean, join and split_list to return optional ↵ | jason | 2024-08-16 | 1 | -1/+4 |
| | | | | | | | | | Allocator_Errors | ||||
| * | | Minor style change | gingerBill | 2024-08-13 | 1 | -2/+2 |
| | | | |||||
| * | | Merge `core:simd/util` into `core:bytes` | Feoramund | 2024-08-10 | 1 | -32/+3 |
| | | | |||||
| * | | Make `simd_util` index procs `contextless` where applicable | Feoramund | 2024-08-09 | 1 | -2/+2 |
| | | | |||||
| * | | Simplify and make `simd_util` cross-platform | Feoramund | 2024-08-09 | 1 | -14/+4 |
| | | | | | | | | | | | | | | | | | This new algorithm uses a Scalar->Vector->Scalar iteration loop which requires no masking off of any incomplete data chunks. Also, the width was reduced to 32 bytes instead of 64, as I found this to be about as fast as the previous 64-byte x86 version. | ||||
| * | | Use vectorized `index_*` procs in `core` | Feoramund | 2024-08-06 | 1 | -8/+39 |
| |/ | |||||
| * | Add aliases `starts_with` and `ends_with` | gingerBill | 2024-07-10 | 1 | -0/+6 |
| | | |||||
| * | Remove nil checks. | Jeroen van Rijn | 2024-07-06 | 1 | -9/+1 |
| | | | | | | | | The caller should really not pass `foo: ^string = nil`. A `for ch, in foo` would also crash, so let's not introduce new semantics for iteration. A caller shouldn't pass garbage if they can help it, and a `nil` ^string is not a useful ZII usage here. | ||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 1 | -1/+1 |
| | | |||||
| * | 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. | ||||
| * | | Correct #soa RTTI usage | gingerBill | 2024-05-16 | 1 | -2/+2 |
| |/ | |||||
| * | correct newly found vets | Laytan Laats | 2024-04-03 | 1 | -1/+1 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 2 | -2/+2 |
| | | |||||
| * | fix strings.last_index_any for single char | Walther Chen | 2023-12-18 | 1 | -1/+2 |
| | | |||||
| * | strings: Fix up documentation of split_n | flysand7 | 2023-12-05 | 1 | -0/+1 |
| | | |||||
| * | Expose strings.ascii_set_* functions | FourteenBrush | 2023-11-12 | 1 | -1/+0 |
| | | |||||
| * | Strings makes added caller function | Pix | 2023-08-15 | 1 | -23/+23 |
| | | |||||
| * | Intern add location to init. | Pix | 2023-08-15 | 1 | -2/+2 |
| | | |||||
| * | Builder makes added caller location | Pix | 2023-08-15 | 1 | -12/+12 |
| | | |||||
| * | Replace `x in &y` Use `&v in y` syntax through core & vendor for ↵ | gingerBill | 2023-06-26 | 1 | -4/+4 |
| | | | | | `switch`/`for` statements | ||||
| * | Update to new io interface | gingerBill | 2023-06-08 | 2 | -64/+35 |
| | | |||||