| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | Fix segfault in core:sys/info on WSL2 | Jeroen van Rijn | 2025-04-05 | 1 | -6/+14 | |
| | | | | ||||||
| | * | | net: rework errors to be cross-platform | Laytan Laats | 2025-04-05 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Add linux build tag to core/sys/linux/sys.odin | Harold Brenes | 2025-04-02 | 1 | -0/+1 | |
| | | | | ||||||
| | * | | Prevent odin.js from printing empty line in the console for the ending "\n" | Jonathan Tron | 2025-03-26 | 1 | -6/+8 | |
| | | | | ||||||
| | * | | 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/sha2: Use hardware SHA224/256 when available (AMD64) | Yawning Angel | 2025-03-23 | 1 | -0/+2 | |
| | |/ / | ||||||
| | * | | Merge remote-tracking branch 'upstream/master' | Wison Ye | 2025-03-22 | 3 | -11/+18 | |
| | |\ \ | ||||||
| | | * | | 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 | |
| | |/ / | ||||||
| | * | | 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 #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 | |
| | | |/ | ||||||
| | * | | Merge pull request #4931 from laytan/webgl-improvements | gingerBill | 2025-03-13 | 1 | -0/+10 | |
| | |\ \ | | | | | | | | | webgl: add `BlendEquationSeparate` and `GetParameter4i` | |||||
| | | * | | webgl: add `BlendEquationSeparate` and `GetParameter4i` | Laytan Laats | 2025-03-12 | 1 | -0/+10 | |
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | `GetParameter4i` can be used to retrieve the current scissor rect, or the curent viewport, which was previously impossible. Also adds `BlendEquationSeparate` which seemed to be missing. Also removes an instance of `do`. | |||||
| | * / | core/sys/wasm/js: improve gamepad API | Laytan Laats | 2025-03-12 | 2 | -11/+46 | |
| | |/ | | | | | | | | | | | 1. Properly set `id` and `mapping` on the `get_gamepad_state` result 2. Increase `id` limit to 96 bytes, connecting my DualShock 4 made it crash 3. If an `id` or `mapping` is longer than the limits, slice it and add `...` | |||||
| | * | Fix linux.rt_sigaction | jason | 2025-03-10 | 1 | -1/+1 | |
| | | | | | | | | | Add missing polymorphic parameter to Sig_Action | |||||
| | * | Add missing syscalls from map_shadow_stack to removexattrat | latedeployment | 2025-03-07 | 1 | -1/+14 | |
| | | | ||||||
| | * | sys/windows: fix tabs | Laytan Laats | 2025-03-03 | 1 | -4/+4 | |
| | | | ||||||
| | * | Merge pull request #4884 from Dzentsetsu/master | Jeroen van Rijn | 2025-03-02 | 1 | -0/+7 | |
| | |\ | | | | | | | Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences | |||||
| | | * | Update core/sys/windows/dwmapi.odin | gingerBill | 2025-03-02 | 1 | -1/+1 | |
| | | | | | | | | | | Co-authored-by: Laytan <laytanlaats@hotmail.com> | |||||
| | | * | Add DWM_WINDOW_CORNER_PREFERENCE enum for window corner preferences | Roman Osipov | 2025-02-26 | 1 | -0/+7 | |
| | | | | ||||||
| | * | | proper enums | Michael Kutowski | 2025-03-01 | 2 | -95/+86 | |
| | | | | ||||||
| | * | | Update to newest orca bindings (UI Update), remove logging due to cyclic ↵ | Michael Kutowski | 2025-02-26 | 3 | -502/+502 | |
| | |/ | | | | | | | import (fmt usage) | |||||
| | * | SavePanel_URL returns ^URL instead of ^Array | Keenan Woodall | 2025-02-23 | 1 | -2/+2 | |
| | | | ||||||
| | * | fix space indentations | Laytan Laats | 2025-02-12 | 1 | -151/+151 | |
| | | | ||||||
| | * | fix addrinfo struct def | Laytan Laats | 2025-02-12 | 1 | -9/+22 | |
| | | | | | | | | | Fixes #4816 | |||||
| | * | Merge pull request #4815 from NotKyon/master | gingerBill | 2025-02-10 | 3 | -0/+2696 | |
| | |\ | | | | | | | Win32 API: Add common comctl32 definitions and surrounding support structures. | |||||
| | | * | Win32: Fix strict style conformance. | NotKyon | 2025-02-09 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Win32: Fix cross-platform compilation. | NotKyon | 2025-02-09 | 2 | -77/+79 | |
| | | | | ||||||
| | | * | Win32: Fix -vet errors. | NotKyon | 2025-02-09 | 1 | -12/+12 | |
| | | | | ||||||
| | | * | Add common Windows control messages, constants, structures, macros, and support. | NotKyon | 2025-02-09 | 3 | -0/+2694 | |
| | | | | ||||||
| | * | | Add more win32 STARTF_* constants | kjdslf | 2025-02-09 | 1 | -1/+18 | |
| | |/ | ||||||
| | * | Merge pull request #4781 from NotKyon/master | gingerBill | 2025-02-03 | 3 | -0/+48 | |
| | |\ | | | | | | | Add miscellaneous missing WinAPI functions, constants, and structures (comctl32, user32, uxtheme) | |||||
| | | * | Add miscellaneous missing WinAPI functions, constants, and structures for ↵ | NotKyon | 2025-02-01 | 3 | -0/+48 | |
| | | | | | | | | | | | | | comctl32, user32, and ux_theme. | |||||
| | * | | Merge pull request #4782 from Daxode/nsstring-appendingstring | gingerBill | 2025-02-02 | 1 | -0/+5 | |
| | |\ \ | | |/ | |/| | Add stringByAppendingString to NSString | |||||
| | | * | Add stringByAppendingString to NSString | daniel.andersen | 2025-02-02 | 1 | -0/+5 | |
| | | | | ||||||
| | * | | Fix bindings for sys/linux and posix/unistd.odin | gingerBill | 2025-01-31 | 2 | -177/+217 | |
| | | | | ||||||
| | * | | Merge pull request #4775 from duffn/duffn/nssavepanel-tabs | gingerBill | 2025-01-31 | 1 | -3/+3 | |
| | |\ \ | | | | | | | | | Fix tab indents in NSSavePanel | |||||
| | | * | | Fix tab indents in NSSavePanel | duffn | 2025-01-29 | 1 | -3/+3 | |
| | | | | | ||||||
| | * | | | Added IP_ADD_MEMBERSHIP Socket Option on Linux | candtechsoftware | 2025-01-29 | 1 | -0/+1 | |
| | |/ / | ||||||
| | * | | Update `NSSavelPanel` | gingerBill | 2025-01-28 | 1 | -0/+10 | |
| | | | | ||||||
| | * | | Add mDNS/Bonjour/Avahi (.local) support for Windows | Jeroen van Rijn | 2025-01-27 | 2 | -1/+26 | |
| | |/ | ||||||
| | * | Add GetTempFileNameW | wrathdoesthat | 2025-01-22 | 1 | -0/+1 | |
| | | | ||||||
| | * | Add ACTCTX definition and procs | NicknEma | 2025-01-21 | 1 | -0/+28 | |
| | | | ||||||