gingerBill
1ecb4aa9aa
Begin work on core:math/cmplx
...
`complex*` types only at the moment, `quaternion*` types coming later
2023-06-28 13:20:23 +01:00
gingerBill
a2b3c72647
Improve accuracy of abs or complex* types
2023-06-28 13:18:36 +01:00
gingerBill
0180a4fcd4
Add math.sincos
2023-06-28 12:57:09 +01:00
gingerBill
abca3ceac8
Keep -vet happy
2023-06-28 12:20:12 +01:00
gingerBill
866a9fdf19
Actually add math.hypot
2023-06-28 12:19:45 +01:00
gingerBill
20e954a864
Add math.hypot
2023-06-28 12:16:49 +01:00
gingerBill
03e40b333a
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-06-28 11:57:43 +01:00
gingerBill
ebed66d4ce
General code style clean up for vendor:nanovg
2023-06-28 11:57:37 +01:00
gingerBill
9e9f3c485b
General code style clean up for vendor:fontstash
2023-06-28 11:36:27 +01:00
gingerBill
d50a844720
Replace mem with runtime in core:slice
2023-06-28 11:04:51 +01:00
Jeroen van Rijn
89e559296e
Merge pull request #2612 from laytan/master
...
only run nightly upload if workflow is ran on main repo
2023-06-28 07:53:40 +02:00
Laytan Laats
d352e2fa31
only run nightly upload if workflow is ran on main repo
2023-06-27 23:33:18 +02:00
Jeroen van Rijn
71bc452764
Merge pull request #2611 from GoNZooo/gonz.add-unix-setenv
...
fix(os): use `setenv` instead of `putenv`
2023-06-27 20:54:49 +02:00
Rickard Andersson
f048ad13b5
fix(set_env): use clone_to_cstring instead of unsafe_to_cstring
2023-06-27 21:48:53 +03:00
Rickard Andersson
d03d5d8f03
style: use tabs
...
:[
2023-06-27 21:46:00 +03:00
Rickard Andersson
6ff0ce15e7
cleanup: remove leftover line
2023-06-27 21:42:20 +03:00
Rickard Andersson
330b393e16
fix(os): use setenv instead of putenv
...
`setenv` doesn't copy the value that is put, which means that the
previous code had a bug where we free'd the temporary memory and the
environment was accidentally cleared right after the function finished.
2023-06-27 21:37:10 +03:00
gingerBill
a820246f64
Keep -vet happy
2023-06-26 23:00:39 +01:00
gingerBill
1bf4c8c9ba
Merge pull request #2268 from Skytrias/skytrias-vendor-additions
...
fontstash / nanovg vendor additions
2023-06-26 22:59:11 +01:00
skytrias
ca1d437435
add build flags restrictions
2023-06-26 21:28:54 +02:00
gingerBill
8b8310711e
Fix #2594 zero sized union code generation
2023-06-26 17:36:27 +01:00
gingerBill
cdcb64b0d0
Add missing -strict-style check
2023-06-26 17:06:42 +01:00
gingerBill
3c0f1caa41
Fix #2606
2023-06-26 17:03:40 +01:00
gingerBill
8182ba4ee0
Improve internal names for parapoly records
2023-06-26 16:48:43 +01:00
gingerBill
3d9328fd79
Default to panic allocator for wasm targets
2023-06-26 15:55:52 +01:00
gingerBill
6c6f9f7d25
Fix fmt implementation for js
2023-06-26 15:55:35 +01:00
gingerBill
c8f475174e
Fix tests for -strict-style
2023-06-26 15:51:08 +01:00
gingerBill
3dec55f009
Replace x in &y Use &v in y syntax through core & vendor for switch/for statements
2023-06-26 15:42:57 +01:00
gingerBill
00d60e28c2
Allow switch &v in ... work to be consistent with for &e in ...
2023-06-26 15:41:53 +01:00
gingerBill
ea00619c3b
for &e, i in array and for k, &v in map (alternative to passing the iterable by pointer)
2023-06-26 15:20:40 +01:00
skytrias
bbe50bdaf1
-strict-style fix
2023-06-23 16:21:52 +02:00
skytrias
6b59aee336
cleanup with -vet and add to all_vendor
2023-06-23 16:18:40 +02:00
gingerBill
26a5614572
Merge branch 'master' into skytrias-vendor-additions
2023-06-23 14:33:01 +01:00
gingerBill
19ea090633
Merge pull request #2584 from odin-lang/new-io
...
New and Improved `io.Stream` interface
2023-06-23 12:12:17 +01:00
gingerBill
9841b11a54
Merge pull request #2597 from odin-lang/ordered-named-arguments
...
Allowing for Positional and Named Arguments in Procedure Calls
2023-06-23 12:11:46 +01:00
gingerBill
5a6d5374d7
Update WebGL procedures to contextless calling convention
2023-06-22 14:30:02 +01:00
gingerBill
9099bc0b6e
Merge pull request #2599 from RehkitzDev/master
...
fixed dynlib wasm stub
2023-06-22 12:56:23 +01:00
Rehkitzdev
e3b43b6e1c
fixed dynlib wasm stub
2023-06-22 13:35:22 +02:00
gingerBill
b0d801f629
Merge pull request #2582 from ftphikari/master
...
[core:thread] Added self_cleanup flag to properly auto-clean threads
2023-06-21 18:21:48 +01:00
gingerBill
c48057081e
Fix nullptr entity case
2023-06-21 14:39:23 +01:00
gingerBill
ea76e09ea7
Fix empty varargs
2023-06-21 14:30:39 +01:00
gingerBill
c9fb078c0f
Handle #c_vararg
2023-06-21 14:07:14 +01:00
gingerBill
1800030356
Correct deferred procedures
2023-06-21 14:01:46 +01:00
gingerBill
43ba2c6226
Fix constant parameter passing
2023-06-21 12:10:07 +01:00
gingerBill
735181dc0e
Remove unnecessary indent
2023-06-21 01:33:37 +01:00
gingerBill
8a890fd3d3
Remove new_and_improved in the name
2023-06-21 01:32:35 +01:00
gingerBill
15e31e47fa
Remove in order requirement for named parameters
2023-06-21 01:24:57 +01:00
gingerBill
9b54b99bf6
Use positional and named arguments within the core library
2023-06-21 01:17:05 +01:00
gingerBill
67ca9166d3
Allow named arguments variadic expansion ..
2023-06-21 01:03:21 +01:00
gingerBill
b2ced834ba
Minor code reshuffle
2023-06-21 00:43:51 +01:00