| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix #6229 | Jeroen van Rijn | 22 hours | 1 | -14/+110 |
| | | | | | | | Fixes #6229 by adding `encode_upper` and `encode_upper_into_writer`. Also updated the documentation to be more like the rest of `core`. | ||||
| * | Remove `core:mem` imports from `core:encoding`. | Jeroen van Rijn | 3 days | 4 | -11/+8 |
| | | |||||
| * | core:os -> core:os/old && core:os/os2 -> core:os | Jeroen van Rijn | 6 days | 4 | -4/+4 |
| | | |||||
| * | Remove all `core:os` imports from JS targets | Jeroen van Rijn | 6 days | 7 | -60/+72 |
| | | | | | Fix `local_tz_name` on FreeBSD. | ||||
| * | eprintf | Jeroen van Rijn | 7 days | 1 | -6/+5 |
| | | |||||
| * | Add `loc := #caller_location` to `read_entire_file` | Jeroen van Rijn | 7 days | 1 | -2/+2 |
| | | |||||
| * | Convert `core:encoding/hxa` | Jeroen van Rijn | 7 days | 2 | -7/+7 |
| | | |||||
| * | `core:os` -> `core:os/os` for CSV, INI, and XML | Jeroen van Rijn | 7 days | 3 | -33/+40 |
| | | | | | | Also had to vendor `core:encoding/ini` into `core:os/os2` for the user directories on *nix, as it used that package to read `~/.config/user-dirs.dirs`, causing an import cycle. | ||||
| * | encoding/xml: pass allocator on destroy | Isabella Basso | 2026-01-25 | 1 | -1/+2 |
| | | |||||
| * | Merge branch 'master' into xmlcomment | Jeroen van Rijn | 2026-01-22 | 3 | -2429/+2725 |
| |\ | |||||
| | * | Keep -vet happy | gingerBill | 2026-01-19 | 1 | -1/+1 |
| | | | |||||
| | * | Remove the nbsp change, as it is not necessary | gingerBill | 2026-01-19 | 1 | -5/+2 |
| | | | |||||
| | * | Escape non-breaking space (0xa0) to ` ` | gingerBill | 2026-01-19 | 1 | -1/+4 |
| | | | |||||
| | * | Merge pull request #6145 from odin-lang/bill/html-escape | Jeroen van Rijn | 2026-01-18 | 2 | -2429/+2676 |
| | |\ | | | | | | | Update `core:encoding/entity` | ||||
| | | * | Update generated.odin | gingerBill | 2026-01-18 | 1 | -101/+101 |
| | | | | |||||
| | | * | Keep `-vet` happy | gingerBill | 2026-01-18 | 1 | -9/+9 |
| | | | | |||||
| | | * | Move html escaping calls and fix existing generator | gingerBill | 2026-01-18 | 2 | -2429/+2676 |
| | | | | |||||
| | * | | core:encoding/base64: add support for url variant | rykad | 2026-01-17 | 1 | -0/+49 |
| | |/ | |||||
| * | | Comment includiing -- at end | StudebakerGuy | 2026-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | Comments are incorrectly including -- a the end. This was due to the comment slice being returned 2 charachters too long. | ||||
| * | | Comments before first emlement not being captured | StudebakerGuy | 2026-01-07 | 1 | -1/+1 |
| |/ | | | | | | The xml library was not correctly detect that a comment occured before the first element. This addresses the issue, but the comment incorrectly includes --. | ||||
| * | Merge pull request #5882 from IllusionMan1212/custom-json-marshalling | Jeroen van Rijn | 2026-01-01 | 2 | -3/+164 |
| |\ | | | | | encoding/json: custom json (un)marshalling | ||||
| | * | Make custom JSON (un)marshalers more like core:fmt's | Jeroen van Rijn | 2025-12-10 | 2 | -61/+200 |
| | | | |||||
| | * | encoding/json: error handling for custom (un)marshallers | Hisham Aburaqibah | 2025-12-02 | 2 | -4/+4 |
| | | | |||||
| | * | encoding/json: custom json (un)marshalling | IllusionMan1212 | 2025-12-02 | 2 | -44/+66 |
| | | | |||||
| * | | [encoding/json] Allow Unmarshalling to `rune` | dozn | 2025-12-30 | 2 | -0/+10 |
| | | | | | | | | | Fixes https://github.com/odin-lang/Odin/issues/6061 | ||||
| * | | [encoding/json] Fix Escapes When Marshalling | dozn | 2025-12-30 | 1 | -3/+3 |
| | | | | | | | | | | | | | Fixes https://github.com/odin-lang/Odin/issues/6060 and https://github.com/odin-lang/Odin/issues/6075 The boolean "true" was setting `html_safe` instead of `for_json`. Chalk one up for the "use enums instead of booleans" crowd. | ||||
| * | | Moved `first_iteration` up a couple lines so it makes sense readability-wise. | dozn | 2025-12-30 | 1 | -1/+1 |
| | | | |||||
| * | | Add JSON5/SJSON Comments When Marshalling | dozn | 2025-12-29 | 1 | -0/+26 |
| | | | | | | | | | | | | | Allows user-facing JSON5/SJSON to have comments explaining field usage. `json.Marshal_Options.pretty` must be enabled since we only use single-line comments (not to mention it wouldn't be terribly useful without `pretty` set anyways). We don't escape anything, so `\n` will display as "\n", but you're still able to enter in a proper newline character and it'll be displayed on multiple lines. | ||||
| * | | Merge pull request #6078 from BigBoyBarney/json-arrays | Laytan | 2025-12-29 | 2 | -11/+11 |
| |\ \ | | | | | | | Fix standard json parsing / unmarshalling issue for pure arrays | ||||
| | * | | Fix standard json parsing / unmarshalling issue for pure arrays | Sylphrena | 2025-12-29 | 2 | -11/+11 |
| | |/ | |||||
| * | | encoding/base32: Fix padding validation for malformed input | Zoltán Kéri | 2025-12-27 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | Fix a bug where padding characters in the middle of input were not detected when there was no trailing padding. The "verify no padding in middle" check was inside `if padding_count > 0`, so inputs like "MZ===YTBMZXW6YTB" would incorrectly pass validation. Test case added for this edge case. | ||||
| * | | Address issue identifying of CDATA | StudebakerGuy | 2025-12-23 | 1 | -1/+2 |
| |/ | | | | | | The XML library wasn't identifying CDATA and skipping over it. This was found when CDATA contained a <. This patch addresses that issue. | ||||
| * | Increase base64 decoding table size to 256, preventing out of bounds reads | Franz Hoeltermann | 2025-11-22 | 1 | -19/+35 |
| | | |||||
| * | encoding/json: clone unquoted strings | Neirokan | 2025-11-06 | 2 | -15/+17 |
| | | |||||
| * | Merge pull request #5859 from odin-lang/bill/change-licensedev-2025-11 | gingerBill | 2025-11-04 | 7 | -31/+20 |
| |\ | | | | | Change Odin's LICENSE to zlib from BSD 3-clause | ||||
| | * | Change Odin's LICENSE to zlib from BSD 3-clause | gingerBill | 2025-10-28 | 7 | -31/+20 |
| | | | | | | | | | This change was made in order to allow things produced with Odin and using Odin's core library, to not require the LICENSE to also be distributed alongside the binary form. | ||||
| * | | encoding/cbor: fix epoch tag with small values | Laytan | 2025-11-03 | 1 | -14/+18 |
| |/ | |||||
| * | Link doc lines to source specifications. | Jeroen van Rijn | 2025-10-10 | 5 | -8/+5 |
| | | |||||
| * | Render examples. | Jeroen van Rijn | 2025-10-10 | 8 | -48/+49 |
| | | |||||
| * | Further overhaul of package line comments. | Jeroen van Rijn | 2025-10-09 | 17 | -19/+15 |
| | | |||||
| * | package lines for encoding | Jeroen van Rijn | 2025-10-09 | 11 | -18/+21 |
| | | |||||
| * | More package lines | Jeroen van Rijn | 2025-10-09 | 3 | -4/+6 |
| | | |||||
| * | Package lines for base32, move its tests to tests" | Jeroen van Rijn | 2025-10-09 | 3 | -229/+5 |
| | | |||||
| * | Followup fix to #4895 | Courtney Strachan | 2025-10-05 | 1 | -3/+1 |
| | | |||||
| * | Merge branch 'odin-lang:master' into master | Courtney Strachan | 2025-10-06 | 17 | -287/+236 |
| |\ | |||||
| | * | Add `#+test` to base32_test.odin | gingerBill | 2025-09-28 | 1 | -0/+1 |
| | | | |||||
| | * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()` | gingerBill | 2025-08-08 | 1 | -4/+6 |
| | | | |||||
| | * | Change `is_utf16` field to `encoding` and use an enum | gingerBill | 2025-08-05 | 3 | -3/+3 |
| | | | |||||
| | * | Begin supporting `string16` across the core library | gingerBill | 2025-08-02 | 4 | -6/+10 |
| | | | |||||
| | * | Fix #4705 | Jeroen van Rijn | 2025-06-09 | 1 | -1/+2 |
| | | | | | | | | | Allocate `doc.tokenizer`, and free it in `destroy`. | ||||