gingerBill
b848ae7abb
Improve error message for #reverse on an interval
2023-05-29 23:27:42 +01:00
gingerBill
f07453d0ae
Support #reverse on #soa arrays
2023-05-29 23:24:03 +01:00
charles
052051244f
WASM: Use BasicC ABI convention for arguments that have a proc "c" annotation
2023-05-29 18:20:25 -04:00
gingerBill
97490c6445
Basic support for #reverse for in on normal arrays
2023-05-29 23:17:06 +01:00
gingerBill
1247d36a12
Fix #2562 caused by inlining of procedure call
2023-05-29 22:57:42 +01:00
gingerBill
f3a463000d
Fix #2561 - ARM64 ABI bug for homogenous structs with more than 4 elements
2023-05-29 22:50:28 +01:00
gingerBill
c38842ecb2
Merge pull request #2535 from jasonKercher/fix2515
...
Fix #2515 - Implement backward shift on `map` on insert and reseed hashes on resize
2023-05-29 22:41:46 +01:00
gingerBill
8b825b23b1
Add missing comma
2023-05-29 15:18:38 +01:00
gingerBill
d2f62730bc
Fix #2560
2023-05-29 14:55:27 +01:00
Simon Rowe
d167d18bb3
Update build_odin.sh to better support optimisation on Arm CPUs
...
The `build_odin` flags include the option `release-native`.
The current `EXTRAFLAGS` set however don't work for Arm CPUs as they dont support `-march=native`.
Added code to detect CPU and either set the preferred flag for Arm CPUs (ie `-mcpu=native`) or keep the current default.
Information on preferred Arm CPU optimisation flag taken from here: https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/compiler-flags-across-architectures-march-mtune-and-mcpu
Changes tested on an Apple Silicon M1 CPU (arm64) using HomeBrew installed llvm as follows:
```
Homebrew clang version 14.0.6
Target: arm64-apple-darwin22.5.0
Thread model: posix
InstalledDir: /opt/homebrew/opt/llvm@14/bin
```
2023-05-28 15:08:14 +01:00
Jeroen van Rijn
508d7c3336
Merge pull request #2557 from laytan/fix-weird-errno-on-darwin
...
fix weird errno returned on darwin
2023-05-27 23:26:45 +02:00
Laytan Laats
2b31d85cd4
implement non blocking sockets for darwin
2023-05-27 22:40:05 +02:00
Laytan Laats
e350c37e6f
fix weird errno returned on darwin
2023-05-27 21:49:39 +02:00
gingerBill
319a465429
Correct queue usage of runtime.Allocator_Error
2023-05-27 15:26:27 +01:00
gingerBill
9371325246
Fix typo
2023-05-25 12:19:41 +01:00
gingerBill
2fda3cf988
Remove os dependency in primitives_openbsd.odin
2023-05-25 12:17:39 +01:00
gingerBill
03b7194c97
Remove os dependency for futex_openbsd.odin
2023-05-25 12:05:58 +01:00
gingerBill
39bff40a75
Make many core:unicode/utf8 procedures "contextless"
2023-05-25 11:58:42 +01:00
gingerBill
3dc6edfd2d
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-25 11:58:09 +01:00
gingerBill
762747273e
Add mutex to mem.Tracking_Allocator
2023-05-25 11:58:02 +01:00
gingerBill
0f392a95ae
Merge pull request #2549 from NoahR02/update-vulkan
...
Update Vulkan
2023-05-24 23:17:06 +01:00
gingerBill
29786b0024
Merge pull request #2555 from ryhor-spivak/fix_windowplacement
...
Remove rcDevice field from WINDOWPLACEMENT
2023-05-24 23:14:42 +01:00
gingerBill
32ca50a097
Fix special printing for certain named types with fmt.printf related procedures
2023-05-24 20:54:30 +01:00
Ryhor Spivak
8012e6fa43
Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
...
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
54b7cefb09
Fix lua.MAXSTACK
2023-05-24 10:21:53 +01:00
gingerBill
3a61350f4b
Add debug messages to docs_writer.cpp
2023-05-22 21:48:32 +01:00
gingerBill
bdbbaf6c88
Disable stable_type_cache for the time being
2023-05-22 21:34:20 +01:00
gingerBill
24a1a8a626
Keep -vet happy
2023-05-22 20:48:49 +01:00
gingerBill
38b64dc5df
Improve doc_writer.cpp performance
2023-05-22 20:48:13 +01:00
gingerBill
e3360a0e5d
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-22 20:44:07 +01:00
gingerBill
4181444734
Add vendor:darwin/MetalKit to examples/all
2023-05-22 20:44:01 +01:00
gingerBill
7958708641
Add missing class method to NS.Number
2023-05-22 20:43:41 +01:00
gingerBill
40a8ed535a
Add @(require_results) to core:math/ease
2023-05-22 20:43:19 +01:00
Jeroen van Rijn
c7d571f0b5
Merge pull request #2553 from laytan/fix-2550-json-unicode-issue
...
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 18:28:59 +02:00
Laytan Laats
5d54b710e7
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 17:22:33 +02:00
gingerBill
248f14a1ef
Correct entity flag generation
2023-05-22 15:29:01 +01:00
gingerBill
b76fc58543
Inline are_types_identical_unique_tuples to improve odin_doc_type performance
2023-05-22 15:23:24 +01:00
gingerBill
9fc9981a9e
Update calling convention to the most appropriate
...
- "odin" if the `context` is needed for `assert`
- "contextless" if multiple return values are needed (better for optimizations)
- "c" otherwise
2023-05-22 15:04:33 +01:00
gingerBill
8f563df7c5
Use proc "c" calling convention in NS Foundation package
2023-05-22 14:59:24 +01:00
gingerBill
730192adc4
Add procedure groups for Device_newBuffer and Texture_newTextureView
2023-05-22 14:51:46 +01:00
gingerBill
8bf32ac697
Minor change to handling of propagation of errors with --- as a value
2023-05-22 12:53:29 +01:00
gingerBill
540f724b1f
Fix --- on variable declarations
2023-05-22 12:42:02 +01:00
gingerBill
d5a8f2298e
Restrict --- to variable declarations only
2023-05-22 12:37:26 +01:00
gingerBill
18c5a53685
Add @(require_results) and contextless to procedures in core:math/bits
2023-05-22 12:13:44 +01:00
gingerBill
a1172d31f4
Add @(require_results) to core:math/fixed
2023-05-22 12:11:53 +01:00
gingerBill
396debb9cb
Add @(require_results) to core:math/linalg's glsl and hlsl packages
2023-05-22 12:11:18 +01:00
gingerBill
c4cb2f2378
Add "contextless" to core:math/linalg procedures
2023-05-22 12:07:37 +01:00
gingerBill
74ce99e0d7
Add @(require_results) core:math/linalg procedures
2023-05-22 12:05:56 +01:00
gingerBill
89a233ccd2
Add @(require_results) to core:math/noise
2023-05-22 12:00:17 +01:00
gingerBill
2df6cabee0
Add @(require_results) to core:math/rand
2023-05-22 11:59:44 +01:00