aboutsummaryrefslogtreecommitdiff
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Add `#must_tail` to odin/parsergingerBill2026-01-152-5/+21
|
* Merge pull request #6125 from Wassimulator/patch-2gingerBill2026-01-141-1/+32
|\ | | | | Add init and fini callback procs to thread pools
| * use ^Thread instead of index in init and finiWassim Alhajomar2026-01-141-4/+4
| |
| * cleanupWassim Alhajomar2026-01-121-1/+32
| |
* | Remove old dead directory `core:sys/win32`gingerBill2026-01-141-3/+0
| |
* | Ensure creating a low priority thread does not assert with SCHED_OTHER policyNathan Wong2026-01-131-1/+5
| |
* | Add NSWindow layout information method bindings to darwin/Foundation (#6040)Jacob Evelyn2026-01-131-0/+20
| | | | | | | | | | | | | | This commit adds bindings for `NSWindow`'s ["Getting Layout Information"](https://developer.apple.com/documentation/appkit/nswindow?language=objc#Getting-Layout-Information) methods to the `core:sys/darwin/Foundation` package. Co-authored-by: Jacob Evelyn <j@cob.land>
* | Fix darwin/Foundation/NSScreen type property bindings (#6038)Jacob Evelyn2026-01-131-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates the `darwin/Foundation` package's `NSScreen` bindings to treat Objective-C "type properties" as class methods rather than instance methods. As a result, we can now access these properties like this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { NS.Screen.mainScreen() } ``` instead of this: ```odin import NS "core:sys/darwin/Foundation" main :: proc() { (^NS.Screen)(nil).mainScreen() } ``` This commit also adds a binding for `NSScreen`'s `screensHaveSeparateSpaces` type property, which was previously missing from the `darwin/Foundation` package. Co-authored-by: Jacob Evelyn <j@cob.land>
* | optimized slice filling in xoshiro/pcg_random_generator_proc (#6001)Xotchkass2026-01-132-18/+26
| |
* | Implement more Linux syscalls. (#6083)Znarf2026-01-134-14/+186
| |
* | remove unneeded manual definitionsPaul Page2026-01-121-14/+0
| |
* | Update Orca bindingsPaul Page2026-01-121-96/+142
|/
* Merge pull request #6114 from dayllenger/mastergingerBill2026-01-091-1/+1
|\ | | | | Fix TGA header detection
| * Fix TGA header detectionViktor2026-01-081-1/+1
| |
* | Fix `EINVAL` binding to IPv6 on FreeBSDkonodin2026-01-081-1/+1
|/
* Move `WSAEVENT` to types.odindev-2026-01gingerBill2026-01-052-1/+2
|
* Implement `LPWSAOVERLAPPED_COMPLETION_ROUTINE` correctlygingerBill2026-01-051-2/+15
|
* Merge pull request #6089 from Neirokan/ipv4_to_ipv6_fixgingerBill2026-01-021-2/+2
|\ | | | | core/net: fix `map_to_ip6` offset
| * fix map_to_ip6 offsetNeirokan2026-01-011-2/+2
| |
* | Minor fixes to formatting and typesgingerBill2026-01-022-7/+7
| |
* | More formatting improvementsgingerBill2026-01-0210-170/+198
| |
* | Improve the formatting of user32.odingingerBill2026-01-021-319/+326
| |
* | Improve formatting; fix types; add struct field tagsgingerBill2026-01-027-1310/+1319
| |
* | Improve formatting and `#raw_union` logic in `core:sys/windows`gingerBill2026-01-028-1083/+1080
| |
* | Add boolean support for `raw_union_tag`gingerBill2026-01-021-0/+29
| |
* | Add `raw_union_tag` support to `MINIDUMP_CALLBACK_INPUT`gingerBill2026-01-021-13/+44
| |
* | Minor formatting improvementsgingerBill2026-01-022-83/+83
| |
* | Add support to `raw_union_tag` for integersgingerBill2026-01-021-0/+28
| |
* | Change usage of `i32` to `c_int` where appropriategingerBill2026-01-028-64/+72
| |
* | Fix typogingerBill2026-01-021-1/+1
| |
* | Fix some return types in core:sys/windowsgingerBill2026-01-022-5/+5
| |
* | Replace uses of `c.int` with `c_int` for consistencygingerBill2026-01-023-14/+11
| |
* | Fix `GetSystemMetricsForDpi` signaturegingerBill2026-01-021-3/+2
| |
* | Merge pull request #5882 from IllusionMan1212/custom-json-marshallingJeroen van Rijn2026-01-012-3/+164
|\ \ | | | | | | encoding/json: custom json (un)marshalling
| * | Make custom JSON (un)marshalers more like core:fmt'sJeroen van Rijn2025-12-102-61/+200
| | |
| * | Merge branch 'master' into pr/5882Jeroen van Rijn2025-12-1017-220/+451
| |\ \
| * | | encoding/json: error handling for custom (un)marshallersHisham Aburaqibah2025-12-022-4/+4
| | | |
| * | | encoding/json: custom json (un)marshallingIllusionMan12122025-12-022-44/+66
| | | |
* | | | Add `@(rodata)` to global constantsgingerBill2026-01-011-4/+4
| | | |
* | | | When using `fmt_write_padding`, remove the need to restore `fi.zero` since ↵gingerBill2026-01-011-6/+0
| | | | | | | | | | | | | | | | it is not used.
* | | | fix printing dozenal numbers `0z` from `0o`gingerBill2026-01-011-2/+2
| |_|/ |/| |
* | | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-12-316-10/+117
|\ \ \
| * | | [encoding/json] Allow Unmarshalling to `rune`dozn2025-12-302-0/+10
| | | | | | | | | | | | | | | | Fixes https://github.com/odin-lang/Odin/issues/6061
| * | | [encoding/json] Fix Escapes When Marshallingdozn2025-12-301-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.
| * | | Merge pull request #6081 from dozn/json5-and-sjson-commentsgingerBill2025-12-301-0/+26
| |\ \ \ | | | | | | | | | | Add JSON5/SJSON Comments When Marshalling
| | * | | Moved `first_iteration` up a couple lines so it makes sense readability-wise.dozn2025-12-301-1/+1
| | | | |
| | * | | Add JSON5/SJSON Comments When Marshallingdozn2025-12-291-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 #6069 from karl-zylinski/webgl-binding-fixesgingerBill2025-12-302-6/+77
| |\ \ \ \ | | | | | | | | | | | | WebGL binding additions
| | * | | | Added 'set_document_title' to be able to rename the tabKarl Zylinski2025-12-292-0/+7
| | | | | |
| | * | | | Fix bugs in odin.js:GetActiveUniformBlockNameKarl Zylinski2025-12-291-7/+11
| | | | | |