| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | |||||
| * | Fix indentationdev-2023-05 | gingerBill | 2023-05-03 | 1 | -3/+3 |
| | | |||||
| * | update builder sample | Jon Lipstate | 2023-04-26 | 1 | -6/+5 |
| | | |||||
| * | fix typo, add builder sample | Jon Lipstate | 2023-04-26 | 2 | -2/+28 |
| | | |||||
| * | Document return values of strings and add allocator errors where | Lucas Perlind | 2023-04-07 | 6 | -389/+454 |
| | | | | | possible | ||||
| * | correct errors | Jon Lipstate | 2023-04-05 | 1 | -2/+0 |
| | | |||||
| * | Small improvements strings documentation | Lucas Perlind | 2023-04-03 | 6 | -401/+484 |
| | | | | | | | | | * 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 | 3 | -64/+64 |
| | | |||||
| * | Fix website formatting and incorrect examples | Lucas Perlind | 2023-03-29 | 6 | -153/+301 |
| | | |||||
| * | harmonize to use null for c-string endings | Jon Lipstate | 2023-03-28 | 1 | -1/+1 |
| | | |||||
| * | rename nul to null, allocation clarifications | Jon Lipstate | 2023-03-28 | 2 | -44/+47 |
| | | |||||
| * | add backticks on variables, code review comments | Jon Lipstate | 2023-03-28 | 4 | -129/+127 |
| | | |||||
| * | pr pickups | Jon Lipstate | 2023-03-28 | 2 | -12/+28 |
| | | |||||
| * | add missing eof newline | Jon Lipstate | 2023-03-27 | 1 | -1/+1 |
| | | |||||