Jeroen van Rijn
96eecaab54
Merge pull request #1915 from JorriFransen/fix-simd_abs
...
Changed param count from 2 to 1 for simd_abs.
2022-07-28 15:36:16 +02:00
Jorri Fransen
b1ae5bc9fe
Changed param count from 2 to 1 for simd_abs.
2022-07-28 15:28:26 +02:00
Jeroen van Rijn
7258588ed5
Merge pull request #1914 from wjlroe/fix-json-unmarshal-without-assertions-bug
...
Fix bug unmarshalling JSON with assertions disabled
2022-07-28 15:03:47 +02:00
William Roe
d913155972
Fix bug unmarshalling JSON with assertions disabled
...
When asserts are disabled, code within the assert isn't run. Having
expect_token within an assert means that the state of the Parser is
mutated when asserts are run, but not when they aren't.
There's already a wrapper procedure for this pattern, which I have
reused here.
2022-07-28 13:56:14 +01:00
Jeroen van Rijn
4af8a64580
Merge pull request #1907 from thePHTest/minor-fix
...
remove leftover print statement
2022-07-26 01:00:38 +02:00
Phil
c9c3611b1d
remove leftover print statement
2022-07-25 15:46:47 -07:00
gingerBill
220dfd7440
Minor clean up of wasi_api.odin
2022-07-25 17:00:32 +01:00
gingerBill
bce8819ed5
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-25 12:12:32 +01:00
gingerBill
5f2b220a85
Fix minor issue with a lack of a trailing comma
2022-07-25 12:12:25 +01:00
gingerBill
f174c805a9
Merge pull request #1905 from DanielGavin/glob-fix
...
Change open to be read only when opening directory
2022-07-25 10:43:28 +01:00
Daniel Gavin
25869b7504
Change open to be read only when opening directory
2022-07-25 11:34:03 +02:00
Mikkel Hjortshøj
ecd81e8a53
Update stale.yml
2022-07-25 00:14:07 +02:00
gingerBill
d7f9f7f170
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-24 23:07:41 +01:00
gingerBill
08f5259d77
Replace insert_at with inject_at and assign_at
2022-07-24 23:07:35 +01:00
Mikkel Hjortshøj
a9f744cb64
Update stale.yml
2022-07-25 00:07:29 +02:00
Mikkel Hjortshøj
b02e42c6dc
Update stale.yml
2022-07-25 00:05:36 +02:00
Mikkel Hjortshøj
cb0273b5d7
Update stale.yml
2022-07-24 23:58:43 +02:00
Mikkel Hjortshøj
8dbf45a65a
Update stale.yml
2022-07-24 23:54:39 +02:00
gingerBill
9f64de9568
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-24 22:51:39 +01:00
gingerBill
0ebe9ba487
Fix #1901
2022-07-24 22:51:34 +01:00
Mikkel Hjortshøj
efe00e1aa6
Create stale.yml
2022-07-24 23:48:34 +02:00
gingerBill
2bdbce55f9
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-24 22:46:07 +01:00
gingerBill
9614ca92f0
Fix #1834
2022-07-24 22:46:00 +01:00
gingerBill
d30e59f539
Merge pull request #1844 from Ronaldr1985/fix-odin-on-openbsd
...
Added missing #includes on OpenBSD
2022-07-24 22:28:25 +01:00
Mikkel Hjortshøj
a3afe617c2
Update ci.yml
2022-07-24 23:27:07 +02:00
gingerBill
69daac583e
Merge pull request #1898 from DaseinPhaos/patch-1
...
fix `linalg.angle_from_quaternion`
2022-07-24 22:18:36 +01:00
gingerBill
b28d4b753b
Temp fix for lb_emit_store
2022-07-24 20:58:50 +01:00
gingerBill
e6ab4f4856
Force memset instead of store zeroinitializer when the value is large
2022-07-24 20:22:50 +01:00
gingerBill
c8ab1b7ee1
Add #by_ptr procedure attribute to enforce a parameter to be passed by pointer internally
2022-07-24 13:11:48 +01:00
gingerBill
9f10487678
Fix #1493
2022-07-24 12:59:34 +01:00
gingerBill
2542983d70
Fix #1793
2022-07-24 12:54:05 +01:00
gingerBill
d492fb3501
Fix and improve x->y() behaviour to minimize duplicate evaluation
2022-07-24 12:39:59 +01:00
Ronald1985
1829aa1638
Undo changes to common.cpp and move the include of sys/wait.h to gb.h
2022-07-22 23:08:46 +01:00
Ronald1985
4cb4173ced
Updated shabang in build_odin.sh so it runs on OpenBSD
...
This change doesn't break compatibility on Linux or Darwin
2022-07-22 23:01:38 +01:00
Luxko
00e704b216
fix linalg.angle_from_quaternion
...
fixes #1894 .2:
```odin
package laa
import "core:fmt"
import la "core:math/linalg"
main:: proc() {
angle := f32(0.5)
quat := la.quaternion_angle_axis_f32(angle,la.Vector3f32{0,0,1})
fmt.printf("retreived: %0.8f\n", la.angle_from_quaternion(quat)) // should be 0.5, but wasn't
}
```
2022-07-23 00:59:45 +08:00
gingerBill
227ee0f705
Merge pull request #1895 from yeongjukang/patch-1
...
fix parameter for atan2 in procedure math.asin
2022-07-22 11:23:46 +01:00
gingerBill
17f47a7ab0
Merge pull request #1892 from esnunes/vendor-raylib-4.0-macos-arm64
...
Update `vendor:raylib` to support macos-arm64 (apple silicon)
2022-07-22 11:06:16 +01:00
Yeongju Kang
4e8bc0786d
fix parameter for atan2 in procedure asin
2022-07-22 15:48:06 +09:00
gingerBill
3d3ccf061f
Merge pull request #1893 from Tetralux/slash-join-slice
...
[path/slashpath] Change join() to take a slice instead of varargs
2022-07-21 18:59:04 +01:00
Tetralux
3a8adc6721
[path/slashpath] Change join() to take a slice instead of varargs
...
Achieves parity with filepath.join(), which was similarly changed a while back.
2022-07-21 17:49:31 +00:00
gingerBill
e1748a5dd1
Add MAKE_WORD
2022-07-21 17:08:11 +01:00
Eduardo Nunes
59b4c889d3
Update vendor:raylib to support macos-arm64 (apple silicon)
2022-07-20 18:23:09 -03:00
gingerBill
b6408d1b3f
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-19 16:17:45 +01:00
gingerBill
3db3047f47
Minor improvements
2022-07-19 16:17:23 +01:00
gingerBill
7420fbd95b
Add custom event handling to wasm
2022-07-19 16:16:51 +01:00
gingerBill
7c990b3833
Merge pull request #1877 from fabiansperber/improve-debug-info
...
Improve debug info
2022-07-19 00:49:22 +01:00
Fabian Sperber
9c059f1a12
Fix debug info for type switch variable to be only visible in correct switch case
...
- use correct scopes for type switch
2022-07-19 00:46:28 +02:00
Fabian Sperber
fb167d1d0a
Fix loop var (init) becoming hidden while stepping on the for-line
...
- set debug location of jumps between block (similar to clang to the location of 'for')
- extend scope range to include all parts of the for-stmt
2022-07-19 00:46:27 +02:00
Fabian Sperber
0992239d86
Embed natvis in windows debug build for easier viewing of strings and Arrays
2022-07-19 00:46:27 +02:00
gingerBill
9eb3da0474
Remove import cycle on FreeBSD
2022-07-18 15:20:28 +01:00