| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add `##` operator to `core:odin`bill/integer-concatenation | gingerBill | 2025-04-01 | 3 | -2/+21 |
| | | |||||
| * | Add `mem.make_over_aligned` | gingerBill | 2025-03-31 | 2 | -1/+29 |
| | | |||||
| * | Fix indentation | gingerBill | 2025-03-31 | 1 | -21/+20 |
| | | |||||
| * | Merge pull request #4986 from ↵ | gingerBill | 2025-03-30 | 1 | -1/+3 |
| |\ | | | | | | | | | hardliner66/bugfix/use_correct_size_when_resolving_symbols Use the proper size for SizeOfStruct to make resolving of procedure names work | ||||
| | * | Use the proper size for SizeOfStruct | Steve Biedermann | 2025-03-30 | 1 | -1/+3 |
| | | | |||||
| * | | net: drop core:os dependency for Darwin | Laytan Laats | 2025-03-29 | 3 | -249/+291 |
| |/ | |||||
| * | Fix use of errno on OpenBSD. | Dave Voutila | 2025-03-27 | 1 | -1/+1 |
| | | |||||
| * | Prevent odin.js from printing empty line in the console for the ending "\n" | Jonathan Tron | 2025-03-26 | 1 | -6/+8 |
| | | |||||
| * | Fix #4968 | Jeroen van Rijn | 2025-03-25 | 1 | -2/+3 |
| | | |||||
| * | Use `copy` over `intrinsics.mem_copy_non_overlapping` | gingerBill | 2025-03-24 | 2 | -12/+9 |
| | | |||||
| * | Merge pull request #4954 from Feoramund/os2-path | gingerBill | 2025-03-24 | 13 | -69/+622 |
| |\ | | | | | Add new path API for `os2` | ||||
| | * | Add `require_results` to getters in `os2` path API | Feoramund | 2025-03-21 | 1 | -0/+2 |
| | | | |||||
| | * | Make `os2` Linux `_is_path_separator` compare against `_Path_Separator` | Feoramund | 2025-03-21 | 1 | -1/+1 |
| | | | |||||
| | * | Remove `if ODIN_OS == .Windows` in file that can only be built on Windows | Feoramund | 2025-03-21 | 1 | -26/+24 |
| | | | |||||
| | * | Decouple usage of `filepath` from `os2` | Feoramund | 2025-03-21 | 9 | -22/+13 |
| | | | |||||
| | * | Add new path API for `os2` | Feoramund | 2025-03-21 | 4 | -20/+541 |
| | | | |||||
| | * | Add missing documentation to `os2/path` | Feoramund | 2025-03-20 | 1 | -0/+39 |
| | | | |||||
| | * | Assert that `_Path_Separator` is 7-bit ASCII | Feoramund | 2025-03-20 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | There are several places where this is assumed to be true, most visibly in `is_path_separator`, as it takes a `byte` argument. Note that the data type of `_Path_Separator` is a rune, which allows any Unicode value. | ||||
| * | | Merge pull request #4959 from wisonye/master | gingerBill | 2025-03-24 | 1 | -14/+27 |
| |\ \ | | | | | | | Fixed: Freebsd syscall 'getpeername' is missing. | ||||
| | * | | #4959, fixed the broken CI build. | Wison Ye | 2025-03-23 | 1 | -2/+1 |
| | | | | |||||
| | * | | Fixed: Freebsd syscall 'getpeername' is missing. | Wison Ye | 2025-03-23 | 1 | -14/+28 |
| | | | | |||||
| * | | | core/crypto/_aes/ct64: Disable bounds checking | Yawning Angel | 2025-03-23 | 1 | -2/+2 |
| | | | | |||||
| * | | | core/crypto: Switch to using `ensure` | Yawning Angel | 2025-03-23 | 36 | -363/+188 |
| | | | | |||||
| * | | | core/crypto/blake2: Add the ability to easily alter digest size | Yawning Angel | 2025-03-23 | 2 | -6/+12 |
| | | | | |||||
| * | | | core/crypto/sha2: Clean up the portable code slightly | Yawning Angel | 2025-03-23 | 1 | -14/+21 |
| | | | | |||||
| * | | | core/crypto/sha2: Use hardware SHA224/256 when available (AMD64) | Yawning Angel | 2025-03-23 | 5 | -3/+285 |
| | | | | |||||
| * | | | core:crypto/deoxysii: Initial import | Yawning Angel | 2025-03-23 | 5 | -0/+1166 |
| | | | | |||||
| * | | | core/crypto/aegis: Initial import | Yawning Angel | 2025-03-23 | 8 | -86/+1177 |
| | | | | |||||
| * | | | core/crypto/x448: Initial import | Yawning Angel | 2025-03-23 | 3 | -0/+1456 |
| | | | | |||||
| * | | | core/crypto: Add `rodata` annotations (NFC) | Yawning Angel | 2025-03-23 | 14 | -23/+29 |
| | | | | |||||
| * | | | core/crypto/chacha20poly1305: Add missing assertions | Yawning Angel | 2025-03-23 | 1 | -0/+4 |
| | | | | |||||
| * | | | core/crypto/chacha20: Misc Simd128 improvements | Yawning Angel | 2025-03-23 | 1 | -6/+32 |
| | | | | | | | | | | | | | | | | - Detect the RISC-V `v` profile - Don't bother trying to process 4 blocks at a time if emulated | ||||
| * | | | core/crypto: Use `panic_contextless` instead of `intrinsics.trap` | Yawning Angel | 2025-03-23 | 13 | -33/+21 |
| | | | | |||||
| * | | | core/crypto/_aes/hw_intel: Fix comment (NFC) | Yawning Angel | 2025-03-23 | 1 | -1/+1 |
| |/ / | |||||
| * | | Split `mem.make_map` to match the `runtime` procs. | Barinzaya | 2025-03-22 | 1 | -3/+20 |
| | | | | | | | | | | | | | | | | | | | The existing `mem.make_map` passes a capacity, but the builtin `make_map` no longer takes a capacity--it was separated to `make_map_cap` to allow for making a map without an allocation (#4340). `core:mem` was not updated to reflect this, so any usage of `mem.make` to make a map will currently result in a compile error. | ||||
| * | | Merge remote-tracking branch 'upstream/master' | Wison Ye | 2025-03-22 | 4 | -13/+36 |
| |\ \ | |||||
| | * | | fix unmarshalling bit sets in json | Laytan Laats | 2025-03-22 | 1 | -2/+18 |
| | | | | | | | | | | | | | Fixes #4761 | ||||
| | * | | fix typo for freebsd arm64 MINSIGSTKSZ | Laytan Laats | 2025-03-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | Fixes #4878 | ||||
| | * | | fix tabs | Laytan Laats | 2025-03-21 | 1 | -8/+8 |
| | | | | |||||
| | * | | Prevent registering the same event listener twice on the same element with ↵ | Jonathan Tron | 2025-03-21 | 1 | -2/+9 |
| | | | | | | | | | | | | | the exact same data in wasm. | ||||
| * | | | Fixed #4892: 'EPoll_Event.events' should be bit set. | Wison Ye | 2025-03-22 | 2 | -17/+23 |
| |/ / | |||||
| * | | Merge pull request #4951 from openhood/wasm-fix-remove-event-listeners | gingerBill | 2025-03-20 | 3 | -29/+45 |
| |\ \ | | | | | | | Fix add/remove event listeners in `core:sys/wasm` | ||||
| | * | | Fix add/remove event listeners in `core:sys/wasm` | Jonathan Tron | 2025-03-20 | 3 | -29/+45 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were multiple issues here: 1. listeners stored in the same key overwriting the previous one 2. missing `use_capture` parameter in `remove_event_listener`/`remove_window_event_listener` The key used to store the listener function in `listenerMap` was a javascript `Object`, when used as a key it was thus serialized to the string `"[object Object]"`, meaning all listeners where effectively set to the same key when calling `add_event_listener`/`add_window_event_listener`. Later on when calling `remove_event_listener`/`remove_window_event_listener`, it then tried to remove the incorrect one or none at all if there was a mix of the same event name registered on an element or the window. To fix I implemented a function `listener_key` in the javascript code which will generate a different key based on the event's: - `id`: dom element's id or 'window' (when event listener added to the window) - `name`: the event name (eg: `click`), each event handler should be removed for the event name it was register on. - `data`: we can register events with different data, each one generate a new listener which has to be removed. - `callback`: same as `data`, if you register two similar handler but with two different callback, each one should be removed. - `useCapture`: this one is a bit tricky, but when you register an event handler in javascript, if you don't pass `useCapture`, it defaults to `false`. When you remove an handler, you have to pass the exact same `useCapture` option you registered it with. In this case, we allowed to register an event with different `useCapture`, but didn't allow to pass the `useCapture` when removing it. We always called `removeEventListener` without the `useCapture` parameter which removed the handler properly only when it was registered with `useCapture=false`. I also switched the `WasmMemoryInterface.listenerMap` from `{}` (javascript object) to a `new Map()`, which is available everywhere nowadays. | ||||
| * | | | Merge pull request #4836 from laytan/fix-wrong-out-of-memory | gingerBill | 2025-03-20 | 7 | -29/+106 |
| |\ \ \ | |/ / |/| | | fix wrong out of memory in edge cases, just try allocate from block for one source of truth | ||||
| | * | | mem/virtual: specify max protection on mmap call in NetBSD and FreeBSD | Laytan Laats | 2025-02-18 | 6 | -24/+99 |
| | | | | |||||
| | * | | fix wrong out of memory in edge cases, just try allocate from block for one ↵ | Laytan Laats | 2025-02-12 | 1 | -5/+7 |
| | | | | | | | | | | | | | source of truth | ||||
| * | | | Merge pull request #4933 from laytan/js-open-binding | gingerBill | 2025-03-13 | 2 | -1/+9 |
| |\ \ \ | | | | | | | | | core/sys/wasm/js: add `open` binding to `window.open` | ||||
| | * | | | core/sys/wasm/js: add `open` binding to `window.open` | Laytan Laats | 2025-03-12 | 2 | -1/+9 |
| | | | | | |||||
| * | | | | Merge pull request #4932 from laytan/js-pointer-event-and-charcode | gingerBill | 2025-03-13 | 2 | -0/+48 |
| |\ \ \ \ | | | | | | | | | | | core/sys/wasm/js: add pointer event info and add charCode to keyboard | ||||
| | * | | | | core/sys/wasm/js: add pointer event info and add charCode to keyboard events | Laytan Laats | 2025-03-12 | 2 | -0/+48 |
| | |/ / / | |||||