Rehkitzdev
b52bf11ea5
fixed webgl BindFramebuffer parameter
2023-05-31 21:44:30 +02:00
gingerBill
7915dde43c
Merge pull request #2504 from jon-lipstate/attr_error
...
helpful error on custom-attrs
2023-05-31 14:08:33 +01:00
gingerBill
7675b9c28f
Merge pull request #2564 from Lperlind/rand-docs
...
Document core:math/rand and add 'possible output'
2023-05-31 14:08:21 +01:00
Lucas Perlind
ebe5636307
Document core:math/rand and add 'possible output'
...
Possible output allows us to just type check a test
and have some sort of output field in the docs but
not actually verify it matches stdout
2023-05-31 09:49:12 +10:00
gingerBill
6fe2df1d7d
Add more documentation to numerous @builtin procedures in package runtime
2023-05-30 23:42:21 +01:00
gingerBill
5376d32772
Parse leading comment above attribute for value declarations
2023-05-30 23:06:04 +01:00
gingerBill
2924e478ee
Improve check_decl_attributes logic for is_runtime
2023-05-30 20:36:43 +01:00
gingerBill
297700ad11
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-30 20:26:27 +01:00
gingerBill
9d29914304
Don't strip builtin attribute form AST
2023-05-30 20:26:22 +01:00
jon lipstate
b223bc0302
Merge branch 'odin-lang:master' into attr_error
2023-05-30 08:23:28 -07:00
gingerBill
3562a38f8c
Merge pull request #2558 from laytan/implement-set-blocking-darwin
...
implement non blocking sockets for darwin
2023-05-30 02:15:20 +01:00
gingerBill
201544ef8b
Merge pull request #2559 from wiremoons/patch-1
...
Update build_odin.sh to better support optimisation on Arm CPUs
2023-05-30 02:13:46 +01:00
gingerBill
837ba6c33b
Minor change to #reverse for logic; add comments explaining it
2023-05-30 00:21:40 +01:00
gingerBill
3ab01dbc00
Fix type switch debug information on -o:none
2023-05-30 00:05:52 +01:00
gingerBill
c241edaa30
Add missing procedure for #reverse on strings
2023-05-30 00:05:24 +01:00
gingerBill
e0530df98a
Support #reverse for strings
2023-05-29 23:45:21 +01:00
gingerBill
6cbce9fdff
Merge pull request #2563 from charles-l/master
...
WASM: Use BasicC ABI convention for arguments that have `proc "c"`
2023-05-29 23:33:58 +01:00
gingerBill
c1eb536726
Change to "contextless" from "c"`
2023-05-29 23:30:48 +01:00
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