| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | container/queue: Remove trailing whitespace | Feoramund | 2025-06-11 | 1 | -6/+6 |
| | | |||||
| * | container/queue: Add `shrink` | Feoramund | 2025-06-11 | 1 | -0/+27 |
| | | |||||
| * | container/queue: Let queues be re-initialized with different allocators | Feoramund | 2025-06-11 | 1 | -3/+6 |
| | | |||||
| * | container/queue: Add common aliases `enqueue` and `dequeue` | Feoramund | 2025-06-11 | 1 | -0/+2 |
| | | |||||
| * | container/queue: Document the package | Feoramund | 2025-06-11 | 1 | -22/+193 |
| | | |||||
| * | container/queue: Reorganize | Feoramund | 2025-06-11 | 1 | -12/+15 |
| | | |||||
| * | container/queue: Deprecate `peek_*` | Feoramund | 2025-06-11 | 1 | -6/+4 |
| | | | | | | | The `*_ptr` and `peek_*` procedures did the same thing, except `peek_*` was over-cautiously putting the index through a modulo when all assignments to `q.offset` are already wrapped. | ||||
| * | container/queue: Fix and add more bounds checking | Feoramund | 2025-06-11 | 1 | -11/+31 |
| | | |||||
| * | Fix off-by-one error in `priority_queue.remove` | Feoramund | 2025-05-21 | 1 | -6/+4 |
| | | |||||
| * | Fix lru.remove | Jeroen van Rijn | 2025-04-29 | 1 | -1/+1 |
| | | |||||
| * | Let `core:container/priority_queue` return `runtime.Allocator_Error` | Jeroen van Rijn | 2025-04-17 | 1 | -6/+9 |
| | | | | | `init`, `reserve` and `push` now return `runtime.Allocator_Error`. | ||||
| * | Fix broken examples in documentation tester. | Jeroen van Rijn | 2025-04-05 | 1 | -9/+9 |
| | | | | | | | | | | 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() ``` | ||||
| * | core:container/small_array: add package documentation | Robin Bergewski | 2025-04-05 | 2 | -0/+662 |
| | | |||||
| * | container/queue: fix init_with_contents | Laytan Laats | 2025-01-20 | 1 | -2/+1 |
| | | | | | Fixes #4729 | ||||
| * | container/bit_array: add 'init' procedure | Laytan Laats | 2024-09-29 | 1 | -6/+35 |
| | | |||||
| * | Merge pull request #4191 from laytan/improve-package-doc-comments | gingerBill | 2024-09-04 | 2 | -10/+13 |
| |\ | | | | | core: improve package doc comments for the documentation generator | ||||
| | * | core: improve package doc comments for the documentation generator | Laytan Laats | 2024-09-03 | 2 | -10/+13 |
| | | | |||||
| * | | Change `Bit_Array.max_index` to `length` | Feoramund | 2024-09-03 | 1 | -18/+34 |
| | | | | | | | | | This will allow correct iteration of empty `bit_array`s. | ||||
| * | | Fix iteration of biased `Bit_Array` | Feoramund | 2024-09-03 | 1 | -3/+3 |
| | | | |||||
| * | | Add `bit_array.shrink` | Feoramund | 2024-09-03 | 1 | -0/+30 |
| | | | |||||
| * | | Let `bit_array.create` make zero-length arrays | Feoramund | 2024-09-03 | 1 | -1/+1 |
| |/ | |||||
| * | Return false if `Small_Array` can't append multiple elements | Feoramund | 2024-09-03 | 1 | -3/+7 |
| | | | | | Fixes #4177 | ||||
| * | Merge pull request #3908 from NicknEma/Intrusive-list-docs | Jeroen van Rijn | 2024-07-14 | 2 | -2/+215 |
| |\ | | | | | Write docs for `core:container/intrusive/list` package | ||||
| | * | Fixed grammar and expanded info | NicknEma | 2024-07-14 | 2 | -3/+10 |
| | | | | | | | | | Fixed points made by Jeroen. | ||||
| | * | Simplify and fix doc examples | NicknEma | 2024-07-12 | 1 | -26/+6 |
| | | | | | | | | | | | Remove unnecessary examples; fix compilation errors in the remaining ones | ||||
| | * | Write doc comments in intrusive_list.odin | NicknEma | 2024-07-12 | 1 | -2/+189 |
| | | | | | | | | | Write description, inputs/returns and some examples for each procedure | ||||
| | * | Create doc.odin | NicknEma | 2024-07-12 | 1 | -0/+39 |
| | | | | | | | | | Create a doc file with a brief of the package and an example program (copied from a discord message by laytan) | ||||
| * | | Fix off-by-one in queue `back` and `back_ptr` procs | Laytan Laats | 2024-07-14 | 1 | -2/+2 |
| | | | |||||
| * | | Imply `#no_capture` to all variadic parameters | gingerBill | 2024-07-14 | 1 | -1/+1 |
| | | | |||||
| * | | Add more uses of `#no_capture` | gingerBill | 2024-07-14 | 1 | -1/+1 |
| |/ | |||||
| * | Fix loads of indentation issues with mixing spaces and tabs | gingerBill | 2024-06-29 | 2 | -5/+5 |
| | | |||||
| * | Update `core` to `-strict-style` | gingerBill | 2024-06-29 | 1 | -2/+5 |
| | | |||||
| * | Even more style fixes | gingerBill | 2024-06-29 | 1 | -2/+2 |
| | | |||||
| * | More style improvements | gingerBill | 2024-06-29 | 1 | -2/+1 |
| | | |||||
| * | Merge pull request #3339 from axxeny/patch-1 | gingerBill | 2024-06-28 | 1 | -2/+2 |
| |\ | | | | | fix comments in core:container/queue. | ||||
| | * | fix comments in core:container/queue. | Arseniy Poroshin | 2024-03-26 | 1 | -2/+2 |
| | | | |||||
| * | | Fix alignment. | Jeroen van Rijn | 2024-06-27 | 1 | -1/+1 |
| | | | |||||
| * | | Loosen constraint on the Key type in rb & avl tree | destroycomputers | 2024-06-18 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | The current constraint on the `init_ordered' function accepts only numeric types. While one still can init a non-numerically-keyed tree by passing a comparator explicitly, the reason to disallow non-numeric ordered types is nowhere to be found. | ||||
| * | | Address concerns. | Jeroen van Rijn | 2024-05-24 | 1 | -4/+5 |
| | | | |||||
| * | | Fix package line. | Jeroen van Rijn | 2024-05-24 | 1 | -1/+1 |
| | | | |||||
| * | | Add `core:container/rbtree` | Jeroen van Rijn | 2024-05-23 | 2 | -6/+570 |
| | | | | | | | | | | | | | | | | | Add a red-black tree with configurable $Key and $Value. Also includes tests that verify it maintains RB invariants, doesn't leak. Originally based on the CC0 implementation from literateprograms.org. But reworked to the same API used by @Yawning's excellent `core:container/avl` for ease of use. | ||||
| * | | Update numerous package declaration names | gingerBill | 2024-04-18 | 2 | -2/+2 |
| | | | |||||
| * | | Fix the format of some `doc.odin` files of the `core` library which did not ↵ | Maurizio M. Gavioli | 2024-04-14 | 1 | -38/+37 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made into the documentation. `c/frontend/tokenizer`: add proper "Example:" header to demo example code, removed empty lines. `container/bit_array`: moved comment before package; aligned narrative lines to left margin; converted case lines into bulleted lines ("- "); converted individual examples to single-tab-indented preformatted text. `dynlib`: removed "//+build ignore" line; added newline at EOF. `image/netpmb`: converted indented lines of "Reading", "Wrting" and "Some syntax..." into bulleted lists; "Formats" indented lines kept as they are as the preformatted text seems relevant to keep the alignments; doubly indented lines kept as single-indented to keep them different (as the format does not allow for two-level bulleted lists); removed empy lines. `os/os2`: WIP, not modified `sys/info`: removed "//+build ignore" line; converted tab-indented initial description into regular left-margin comment; moved uncommented sample code within the doc comment as an "Example:"; moved simple- and double-tabbed separate comments with sample Windows and macOS outputs within the doc comment as bulleted headlines with preformatted output listings; removed now empty comments and blank lines after the package line. `text/i18n`: removed "//+build ignore" line; moved the pacakge line at the end; de-indented the tab-indented introductory narrative; moved sample code comments into the doc comment as tab-indented code with a proper "Example:" heading; removed "```" MD attempts at code formatting. `text/table`: unindented the comment lines of a descriptive kind; headlines of major subdivisions are marked as bold; kept code samples as tab-indented preformatted text (as there are several of them, the standard "Example:" and "Output:" headings cannot be used) removing the "```" MD attempts at code formatting; removed in-between blank lines. | ||||
| * | core/container/avl: Initial import | Yawning Angel | 2024-02-24 | 1 | -0/+678 |
| | | |||||
| * | Replace `core:*` to `base:*` where appropriate | gingerBill | 2024-01-28 | 7 | -11/+11 |
| | | |||||
| * | Add `peek` to priority queue. | Jeroen van Rijn | 2024-01-08 | 1 | -0/+15 |
| | | |||||
| * | Clear up core:container/queue | Jeroen van Rijn | 2023-11-15 | 1 | -1/+18 |
| | | |||||
| * | [core]: Remove `do` keyword from the core library | flysand7 | 2023-11-11 | 1 | -5/+7 |
| | | |||||
| * | Make procedures contextless where possible | gingerBill | 2023-09-12 | 1 | -11/+33 |
| | | |||||
| * | Swap order of `prev` and `next` | gingerBill | 2023-09-12 | 1 | -1/+1 |
| | | |||||