Commit Graph

8651 Commits

Author SHA1 Message Date
ramn
5f53d815d1 fix: make -vet not complain 2023-07-09 00:15:01 +02:00
ramn
7b89f25818 Fix #2637
where testing.expect_value can't compare nils
2023-07-08 23:46:51 +02:00
gingerBill
3072479c3c Generalize name mangling rule to have a singular definition for a name separator dev-2023-07 2023-07-07 23:52:56 +01:00
gingerBill
62031c24a2 Add extra mutex guards around module value access 2023-07-07 23:35:16 +01:00
gingerBill
aa38889704 Fix issue with pointer casting internal llvm intrinsics 2023-07-07 23:23:47 +01:00
gingerBill
17562e476f Remove math usage of raw LLVM intrinsic prototypes 2023-07-07 23:13:37 +01:00
gingerBill
6495f2cf98 Fix #2593 2023-07-07 23:09:46 +01:00
gingerBill
ea20b644cc Fix #2624 2023-07-07 23:07:41 +01:00
gingerBill
bf848637aa Fix #2629 2023-07-07 23:06:15 +01:00
gingerBill
759f846b2b Fix [2]union{T} comparison against nil 2023-07-07 23:03:46 +01:00
gingerBill
3758be55f5 Fix #2630 2023-07-07 22:56:20 +01:00
gingerBill
8f4c59b080 Add core:math/cmpl to all_main.odin 2023-07-07 22:29:53 +01:00
gingerBill
1ff6212ffa Always call lb_run_remove_dead_instruction_pass to fix -debug issues 2023-07-07 22:28:31 +01:00
Jeroen van Rijn
b60d29ae9a Merge pull request #2627 from laytan/add-address-family-type-definition
add `ADDRESS_FAMILY` to darwin (currently only available in linux)
2023-07-03 22:45:28 +02:00
Laytan Laats
38d71e668d add ADDRESS_FAMILY to darwin (currently only available in linux) 2023-07-03 19:56:56 +02:00
Jeroen van Rijn
8d9adfd548 Merge pull request #2623 from laytan/fix-2615-cant-iterate-untyped-string
Fix #2615: can't iterate untyped string
2023-07-02 23:06:35 +02:00
Laytan Laats
a3e2d90f4c add test 2023-07-02 23:00:37 +02:00
Laytan Laats
fc81008ab5 Fix #2615: can't iterate untyped string 2023-07-02 22:18:25 +02:00
Jeroen van Rijn
a1eae6304f Merge pull request #2622 from laytan/detect-unix-colors-support
detect unix color support
2023-07-02 21:34:34 +02:00
Laytan Laats
49058620f0 fix spacing 2023-07-02 21:25:48 +02:00
Laytan Laats
f68a3639b4 use more common detection method and add FORCE_COLOR and NO_COLOR support 2023-07-02 21:11:19 +02:00
Laytan Laats
f4e87c9720 ignore stderr in tput call 2023-07-02 20:20:10 +02:00
Laytan Laats
23bf7973fa detect unix color support 2023-07-02 19:56:46 +02:00
Jeroen van Rijn
67e0751124 Merge pull request #2621 from DanielGavin/vulkan-flags2
Add support for vulkan FlagBits2
2023-07-02 19:34:20 +02:00
DanielGavin
f76559daf6 Remove whitespaces 2023-07-02 18:28:37 +02:00
DanielGavin
5e99ff6769 Add support FlagBits2 2023-07-02 18:24:37 +02:00
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