Commit Graph

13208 Commits

Author SHA1 Message Date
Bazzagibbs
cb0c1663b7 Add core:slice.size to get the byte size of a slice's backing data 2024-11-11 14:04:59 +11:00
Jeroen van Rijn
da196a2b74 Merge pull request #4470 from clankill3r/patch-2
Update demo.odin
2024-11-09 19:55:32 +01:00
Doeke Wartena
602dab3864 Update demo.odin
type: turns -> returns
2024-11-09 19:47:00 +01:00
Jeroen van Rijn
76bf28ef2e Merge pull request #4468 from Cthuflu/patch-doc-1
Correct zlib usage in doc
2024-11-09 00:18:51 +01:00
Jacob Pfeiffer
4029ddb2b3 Correct zlib usage in doc 2024-11-08 10:32:26 -05:00
gingerBill
2b72407cf3 Merge pull request #4465 from apatterndarkly/examples-readme-relative-links
fix relative links in examples/README.md
2024-11-08 13:39:32 +00:00
gingerBill
4890c3681c Merge pull request #4467 from clankill3r/patch-1
Update scanner.odin
2024-11-08 13:38:29 +00:00
gingerBill
20a8c97d68 Remove duplicates in -defineables 2024-11-08 11:24:00 +00:00
Laytan
e03f998c27 Merge pull request #4462 from A1029384756/master
Added Unlinking Section to Posix Socket Binding Documentation
2024-11-07 21:37:50 +01:00
Doeke Wartena
b492b73ff2 Update scanner.odin
remove duplicated wording in comment
2024-11-07 20:15:22 +01:00
Jeroen van Rijn
1b16ddbb3e Merge pull request #4464 from Kelimion/should_use_native
Suggest `-microarch:native` if `popcnt` instruction is missing.
2024-11-07 15:09:24 +01:00
Jeroen van Rijn
3bfe675a68 && 2024-11-07 15:02:19 +01:00
AP Darkly
190ab5543d 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-11-07 13:58:57 +00:00
Jeroen van Rijn
deb562613f Phrasing! 2024-11-07 13:13:58 +01:00
Jeroen van Rijn
925d8749e0 Suggest -microarch:native if popcnt instruction is missing.
Fixes #4453.
2024-11-07 12:56:49 +01:00
A1029384756
5be7ac4039 added unlinking section to posix socket binding documentation 2024-11-06 20:36:29 -05:00
Laytan
fd442b8678 Merge pull request #4461 from nickk-dv/master
Fix random sequence bindings in vendor raylib
2024-11-06 22:31:00 +01:00
nickk-dv
c2dd15b5d3 fix LoadRandomSequence binding in vendor raylib 2024-11-06 22:39:48 +02:00
gingerBill
f02d621a8e Merge pull request #4394 from seventh-chord/errormessages
Suggestion when assigning enum to bit_set
2024-11-06 13:10:17 +00:00
gingerBill
e8f231ee72 Merge pull request #4437 from dpoetzschke/fix/windows-args-escaping
fix windows args parser problem from issue #4393
2024-11-06 13:08:55 +00:00
gingerBill
1419d0d295 Minor formatting change 2024-11-05 12:45:30 +00:00
Jeroen van Rijn
013c1d3128 Merge pull request #4456 from colrdavidson/timezones_fix
add new test, better fail-check, and non-transitioning tz fix
2024-11-05 12:55:16 +01:00
Colin Davidson
b2d1fbba9c oops, missed a comma 2024-11-05 03:48:47 -08:00
Colin Davidson
c9158b3220 add new test, better fail-check, and non-transitioning tz fix 2024-11-05 03:44:07 -08:00
Jeroen van Rijn
e6475fec4d Merge pull request #4449 from 0dminnimda/add-pie
Link as PIE for PIC by default
dev-2024-11
2024-11-04 14:25:31 +01:00
gingerBill
a0b35f67f8 Fix previous commit for arrays 2024-11-04 12:51:54 +00:00
0dminnimda
5e308cef5e Revert further simplifiction 2024-11-04 15:50:43 +03:00
gingerBill
bbf76fa43e Fix bug for foo().bar where foo() is a 0-value expression 2024-11-04 12:49:43 +00:00
0dminnimda
8ad5e46ff8 Simplify further 2024-11-04 15:44:07 +03:00
0dminnimda
c26e7e17a1 Simplify use of pie 2024-11-04 15:39:51 +03:00
gingerBill
31ea10490f Fix auto_cast matrix bug 2024-11-04 12:35:17 +00:00
gingerBill
aa36ae01cf Fix #4406 os2 to not close the std file handles but rather just free the memory for the ^File data. 2024-11-04 11:55:29 +00:00
Jeroen van Rijn
7a98b58189 Merge pull request #4451 from NicknEma/contextless-marks
Mark procs as "contextless" in winerror.odin
2024-11-04 11:37:32 +01:00
NicknEma
cc29b41ccc Mark procs as "contextless" in winerror.odin
So that they can be called from places like the windproc and stuff.
2024-11-04 10:24:27 +01:00
0dminnimda
35f1b0f11e Add support for linking as pie 2024-11-04 02:35:49 +03:00
Jeroen van Rijn
468bd3dfde Merge pull request #4447 from Kelimion/is_aligned
`mem.is_aligned` is in bytes, not log2 bytes
2024-11-03 14:16:23 +01:00
Jeroen van Rijn
c33d2ff96b Missing paren. 2024-11-03 14:10:29 +01:00
Jeroen van Rijn
9199c6df34 mem.is_aligned is in bytes, not log2 bytes
Fix formula and clarify comment
2024-11-03 14:07:31 +01:00
Laytan
7cfaf0b181 Merge pull request #4415 from p2jason/master
Remove the event queue from odin.js and directly invoke callbacks so they are executed in context where prevent default is possible
2024-11-01 19:48:36 +01:00
Laytan Laats
8b5492dd4d fix tabs 2024-11-01 18:10:20 +01:00
Laytan Laats
92bc3a5b4d add time/timezone to docs 2024-11-01 18:01:49 +01:00
Laytan Laats
80393cb708 add CoreFoundation and Security to docs 2024-11-01 16:47:48 +01:00
Laytan Laats
7fd32a74c5 add kqueue to docs 2024-11-01 16:42:06 +01:00
Laytan Laats
f798f0b446 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-11-01 16:27:45 +01:00
gingerBill
c3971fe5fa Merge pull request #4441 from Barinzaya/raymath-vectortransform-translation-fix
Fix raymath not applying matrix translations
2024-11-01 13:09:31 +00:00
Jeroen van Rijn
73193e99f7 Merge pull request #4442 from peachey2k2/master
Add "-build-mode:dynamic" to the "odin help build" output
2024-11-01 14:03:55 +01:00
peachey2k2
04b000370b Add "-build-mode:dynamic" to the "odin help build" output 2024-11-01 15:51:18 +03:00
Barinzaya
30cf3ed02f 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-10-31 13:37:43 -04:00
Dominik Pötzschke
f1de4804a5 added braces 2024-10-31 16:18:12 +01:00
p2jason
94acfaf21e Removed event hook callback from add_*_event_listener functions 2024-10-31 13:15:39 +00:00