Commit Graph

13182 Commits

Author SHA1 Message Date
Alex Overstreet 522f05445e Add STICKYKEYS, TOGGLEKEYS, and FILTERKEYS 2024-12-01 11:54:53 +11:00
Sebastian Pahnke a0561860f9 Add NSApplication bindings for mainWindow and keyWindow 2024-12-01 11:54:53 +11:00
gingerBill e72736a5a8 Remove #relative types from the compiler 2024-12-01 11:54:53 +11:00
gingerBill 31c630dfea Make #relative types an error in parsing 2024-12-01 11:54:53 +11:00
gingerBill 95c812db78 Keep ASAN happy on type assertions 2024-12-01 11:54:53 +11:00
p2jason 62d30daa00 Increase size of JS keyboard event key/code buffer size 2024-12-01 11:54:53 +11:00
Laytan Laats 38c79b203a reflect: add enum_value_has_name proc
Easy way to check if the current value has a defined name/member in the
enum type.
2024-12-01 11:54:53 +11:00
Satoshi Soma 362086d5d2 Fix: build_odin.sh always runs demo regardless of argument
Instead, it should run demo only if the argument was 'debug' or empty
2024-12-01 11:54:53 +11:00
Bazzagibbs 25be3dfca0 Add core:slice.size to get the byte size of a slice's backing data 2024-12-01 11:54:53 +11:00
bayo-code 7bd49cf018 Added support for odin build -target:? 2024-12-01 11:54:53 +11:00
bayo-code 9fbde3c1b8 Revert "List the supported targets using odin targets"
This reverts commit b589e3c499.
2024-12-01 11:54:53 +11:00
bayo-code c73c438db9 List the supported targets using odin targets 2024-12-01 11:54:53 +11:00
Doeke Wartena bbb1400349 Update demo.odin
type: turns -> returns
2024-12-01 11:54:53 +11:00
Jacob Pfeiffer a8d603fd7d Correct zlib usage in doc 2024-12-01 11:54:53 +11:00
AP Darkly f56cc069c5 fix relative links in examples/README.md
This fix adjusts the links for 'demo', 'core', 'all', and 'vendor' so that they navigate to the intended destinations instead of yielding 404s.
2024-12-01 11:54:53 +11:00
Doeke Wartena cc1c97c6d0 Update scanner.odin
remove duplicated wording in comment
2024-12-01 11:54:53 +11:00
gingerBill ddca55165d Remove duplicates in -defineables 2024-12-01 11:54:53 +11:00
A1029384756 943b09a8b1 added unlinking section to posix socket binding documentation 2024-12-01 11:54:53 +11:00
Jeroen van Rijn 826abd6245 && 2024-12-01 11:54:53 +11:00
Jeroen van Rijn d44f8c377a Phrasing! 2024-12-01 11:54:53 +11:00
Jeroen van Rijn 9ecc378803 Suggest -microarch:native if popcnt instruction is missing.
Fixes #4453.
2024-12-01 11:54:53 +11:00
nickk-dv 1e600d74f1 fix LoadRandomSequence binding in vendor raylib 2024-12-01 11:54:53 +11:00
Morten Hauke Solvang 6c750c6670 Suggestion when assigning enum to bit_set 2024-12-01 11:54:53 +11:00
Dominik Pötzschke a71832570c added braces 2024-12-01 11:54:53 +11:00
Dominik Pötzschke f37ec05548 adjust memory allocation 2024-12-01 11:54:52 +11:00
Dominik Pötzschke 841996435b fix: fix windows params bug 2024-12-01 11:54:52 +11:00
gingerBill 11768c6217 Minor formatting change 2024-12-01 11:54:52 +11:00
Colin Davidson 514faa517e oops, missed a comma 2024-12-01 11:54:52 +11:00
Colin Davidson 3b4338b685 add new test, better fail-check, and non-transitioning tz fix 2024-12-01 11:54:52 +11:00
0dminnimda 24ec0f0ebf Revert further simplifiction 2024-12-01 11:54:52 +11:00
0dminnimda a7f32109e8 Simplify further 2024-12-01 11:54:52 +11:00
0dminnimda 4f37b34654 Simplify use of pie 2024-12-01 11:54:52 +11:00
0dminnimda 480f32586e Add support for linking as pie 2024-12-01 11:54:52 +11:00
gingerBill 619b382635 Fix previous commit for arrays 2024-12-01 11:54:52 +11:00
gingerBill 50e46326a6 Fix bug for foo().bar where foo() is a 0-value expression 2024-12-01 11:54:52 +11:00
gingerBill fafac1bc77 Fix auto_cast matrix bug 2024-12-01 11:54:52 +11:00
gingerBill d5b6c25686 Fix #4406 os2 to not close the std file handles but rather just free the memory for the ^File data. 2024-12-01 11:54:52 +11:00
NicknEma 1b7a32f76c Mark procs as "contextless" in winerror.odin
So that they can be called from places like the windproc and stuff.
2024-12-01 11:54:52 +11:00
Jeroen van Rijn 1a13322cd7 Missing paren. 2024-12-01 11:54:52 +11:00
Jeroen van Rijn c5d3fdca44 mem.is_aligned is in bytes, not log2 bytes
Fix formula and clarify comment
2024-12-01 11:54:52 +11:00
p2jason ee84aa4ead Removed event hook callback from add_*_event_listener functions 2024-12-01 11:54:52 +11:00
p2jason f993fcb82c Removed event queue from add_*_event_listener JS functions and added event hook callback 2024-12-01 11:54:52 +11:00
p2jason aa08f661ca Changed boolean parameters to bit set in the add_*_event_listener functions 2024-12-01 11:54:52 +11:00
p2jason 0eac9f15bc Added parameters to the add_*_event_listener JS functions for stopping event behavior 2024-12-01 11:54:52 +11:00
Laytan Laats 9adc7f2bcf fix tabs 2024-12-01 11:54:52 +11:00
Laytan Laats 6866e69cb9 add time/timezone to docs 2024-12-01 11:54:52 +11:00
Laytan Laats 9735f8a0ba add CoreFoundation and Security to docs 2024-12-01 11:54:52 +11:00
Laytan Laats 7b63abdba3 add kqueue to docs 2024-12-01 11:54:52 +11:00
Laytan Laats e6d324c5c4 testing: separate the posix import into target files
This is needed for the docs generator to generate all the docs for the
posix package, if it is imported like it was on Windows it would
generate docs for the Windows version of the package which has much less
symbols exposed.
2024-12-01 11:54:52 +11:00
Barinzaya 6fa646cbf1 Fixed raymath not applying matrix translations.
Translation matrices use the w components of the matrix to apply the
transform, and thus only work when the w component is 1. In the
original raymath implementation, the multiplication is done manually
and adds the translation components directly to the result, as if w is
1, but in the Odin binding this is done with a matrix multiplication.
However, the w component is set to 0 instead of 1, resulting in the
translation not being applied.
2024-12-01 11:54:52 +11:00