gingerBill
1c2a30d7e9
Fix constant slice initialization for wasm64p32
2023-06-06 22:51:51 +01:00
gingerBill
4a75a1e839
Merge branch 'master' into separate-int-word-sizes
2023-06-06 22:42:04 +01:00
gingerBill
6a2ff3a371
Merge pull request #2571 from jakubtomsu/builtin-soa-procs-improvements
...
Update SOA dynamic array procs to match non-SOA
2023-06-06 22:40:27 +01:00
gingerBill
7ce1386d1a
Merge pull request #2575 from RehkitzDev/master
...
added webgl bindFramebuffer
2023-06-06 22:39:17 +01:00
gingerBill
d6f45e4d76
Fix fmt for js
2023-06-06 22:38:43 +01:00
gingerBill
356f66784f
Fix @(default_calling_convention) check on wasm
2023-06-06 22:36:36 +01:00
Jeroen van Rijn
166ab7b600
Merge pull request #2579 from apahl/patch-1
...
Documentation: Tracking_Allocator example is leaking memory
2023-06-06 15:20:38 +02:00
Axel Pahl
1cdb0abf80
Update core/mem/doc.odin
2023-06-06 15:17:18 +02:00
gingerBill
0defd1d141
Correct printing in fmt for ODIN_ERROR_POS_STYLE
2023-06-06 11:17:34 +01:00
gingerBill
24ed07b6d5
Add error requiring an explicit calling convention for foreign procedures
2023-06-06 11:12:14 +01:00
gingerBill
ecad730945
Fix map_get typo
2023-06-06 11:08:09 +01:00
gingerBill
efb7fd919b
Minor fix to internal using logic with LLVM causing a compiler bug
2023-06-06 10:58:36 +01:00
Tetralux
5d6b923244
[thread] Refactor handling of 'init_context' + add doc comments for it
2023-06-03 08:08:18 +00:00
Rehkitzdev
d8752da7d5
added webgl bindFramebuffer
2023-06-02 22:19:32 +02:00
finn
6952124988
[fmt] fix zero-padding behaviour of numbers
...
- when formatting a negative number with left zero-padding we expect the
padding to be placed between the minus (-) sign and the number
- currently the padding is placed before the sign
2023-06-01 16:04:07 +02:00
jakubtomsu
a6c93e2c41
Update SOA dynamic array procs to match non-SOA
2023-06-01 13:42:26 +02:00
gingerBill
788f3c22bf
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-05-31 22:23:53 +01:00
gingerBill
c194dfbdf7
Remove thread.init_context = context
2023-05-31 22:23:47 +01:00
gingerBill
5e996a1c02
Merge pull request #2568 from RehkitzDev/master
...
fixed webgl BindFramebuffer parameter
2023-05-31 20:48:00 +01:00
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