gingerBill
6f3d85c375
Use flags
2024-06-04 19:31:58 +01:00
gingerBill
e6a4fce032
Add core:flags to examples/all
2024-06-04 19:27:28 +01:00
gingerBill
f4dd48aa5d
Add core:flags
...
Based on the Feoramund's original package
2024-06-04 19:08:03 +01:00
gingerBill
3b7100f8e5
raygui: change c.int to their correct enum types
2024-06-04 16:17:49 +01:00
gingerBill
6b386631dd
Improve error message suggestion for passing enums to integers
2024-06-04 16:16:27 +01:00
gingerBill
11b1a48bf0
Fix extra_linker_flags for raylib on windows
2024-06-04 15:54:57 +01:00
gingerBill
72ce111a95
Keep -vet happy
2024-06-04 15:51:19 +01:00
gingerBill
606608c02b
Utilize foreign import constant strings for foreign imports
2024-06-04 15:49:17 +01:00
gingerBill
eacf2918ad
Merge pull request #3469 from hodgka/raylib_resizable_doc_patch
...
Fixed typo in raylib documentation
2024-06-04 15:41:15 +01:00
gingerBill
afcccfdec5
Merge pull request #3615 from puzzleddev/export-dependencies
...
Add build flag to export dependencies.
2024-06-04 15:40:54 +01:00
gingerBill
60a064984d
Merge pull request #3670 from colrdavidson/x11-tweaks
...
Correct X11 prefix issues
2024-06-04 15:02:03 +01:00
gingerBill
0504c12f04
Merge pull request #3672 from laytan/fix-old-llvm-debug-info
...
fix debug info IR error on LLVM < 13
2024-06-04 15:01:30 +01:00
Laytan Laats
7d29389834
fix debug info IR error on LLVM < 13
2024-06-04 14:41:42 +02:00
Colin Davidson
52ba3357ee
oops, missed shuffling a few x-funcs
2024-06-04 04:48:24 -07:00
Jeroen van Rijn
78a67ef31e
Merge pull request #3667 from Feoramund/fix-fmt-compquat-sign
...
Fix printing of duplicate signs in complex and quaternion types
2024-06-04 13:32:13 +02:00
Jeroen van Rijn
f9d59ef6d4
Merge branch 'master' into fix-fmt-compquat-sign
2024-06-04 13:25:57 +02:00
Jeroen van Rijn
c3b94b9e1d
Merge pull request #3646 from Feoramund/multi-test
...
Refactor the test runner
2024-06-04 13:23:52 +02:00
Jeroen van Rijn
02f11dfded
Merge branch 'master' of github.com:odin-lang/Odin
dev-2024-06
2024-06-04 11:27:01 +02:00
Jeroen van Rijn
303d86ab7e
Complete nightly scripts update to new b2 cli version
2024-06-04 11:26:57 +02:00
Jeroen van Rijn
50374d9396
Merge pull request #3640 from harold-b/fix-darwin-libc-open
...
Fix open() foreign libc signature on Darwin
2024-06-04 10:54:08 +02:00
Jeroen van Rijn
dfffc57536
Merge pull request #3668 from colrdavidson/x11-tweaks
...
add a few more x11 funcs, fix egl bug
2024-06-04 10:53:57 +02:00
Colin Davidson
e46e22e21b
add a few more x11 funcs, fix egl bug
2024-06-04 01:12:10 -07:00
Feoramund
eb93779f63
Fix duplicate sign printing of complex and quaternion types
...
Negative zero wasn't being detected (so it would appear as `+-0`), and
`+Inf` was appearing as `++Inf` when imaginary.
2024-06-03 19:51:17 -04:00
Feoramund
d2a9122176
Add fmt tests for printing complex and quaternion types
2024-06-03 19:48:09 -04:00
Jeroen van Rijn
36627d7d29
Merge pull request #3666 from Feoramund/add-missing-compquat
...
Add missing `Raw_*` complex and quaternion types
2024-06-04 01:28:18 +02:00
Jeroen van Rijn
f745a1c470
b2 uri
2024-06-04 00:22:49 +02:00
gingerBill
17225131f7
Try / rather than
2024-06-03 23:12:24 +01:00
gingerBill
c8f9af64db
Add print to delete_old_binaries.py
2024-06-03 23:01:39 +01:00
gingerBill
0ef0894213
Fix to bl.tok = path
2024-06-03 22:55:24 +01:00
gingerBill
dc6a8e5ffb
Fix typo
2024-06-03 22:44:12 +01:00
gingerBill
5b5106baee
Try updating nightly stuff
2024-06-03 22:36:54 +01:00
gingerBill
4dac577caa
Add attributes to Foreign_Import_Decl in clone
2024-06-03 22:21:54 +01:00
gingerBill
8e9716ea2f
Add ast.Foreign_Import_Decl to ast.clone
2024-06-03 22:20:39 +01:00
Feoramund
d7f6def8ad
Add aliases for Raw_* complex/quaternion types into core:mem
2024-06-03 17:18:27 -04:00
gingerBill
50b4a63fe1
Add ast.Foreign_Impot_Decl.fullpaths to walk.odin
2024-06-03 22:02:35 +01:00
Jeroen van Rijn
2cb3028086
Merge pull request #3664 from reduf/fix-signatures-of-some-functions
...
Fix signatures of two Win32 functions
2024-06-03 22:06:07 +02:00
Feoramund
88598c2c64
Make use of runtime.Raw_* types in core:math/linalg
2024-06-03 15:58:33 -04:00
Feoramund
97f1d12e04
Add missing Raw_* types for complex and quaternion
2024-06-03 15:41:14 -04:00
Feoramund
4e1dd4ced2
Move Raw_Complex/Quaternion types to base:runtime
2024-06-03 15:40:28 -04:00
Laurent Dufresne
1617060f46
Fix type of two Win32 functions
2024-06-03 20:41:31 +02:00
Feoramund
0ff130d82b
Fix ad hoc printf in test runner signal handler
2024-06-02 23:36:04 -04:00
Feoramund
fa29974dab
Use Warning log level for reporting memory leaks
...
Works well with `-define:ODIN_TEST_LOG_LEVEL=warning`.
2024-06-02 23:21:44 -04:00
Feoramund
7764ab2ab0
Prevent test runner deadlock on NetBSD
...
Add `pthread_testcancel` to `core:sys/unix`
2024-06-02 21:27:36 -04:00
Feoramund
6a5633df2d
Fix wrong PTHREAD_CANCEL_ASYNCHRONOUS on FreeBSD and OpenBSD
...
The test runner was deadlocking when a test raised a signal on FreeBSD.
This is untested on OpenBSD, but I have referenced this file:
https://github.com/openbsd/src/blob/master/include/pthread.h
2024-06-02 20:41:25 -04:00
Feoramund
c8539fe411
Revert "Disable NetBSD tests until 'undefined reference to stdout' is solved."
...
This reverts commit 21a1ddfbae .
2024-06-02 19:29:27 -04:00
Feoramund
ac9484206b
Fix STDIN, STDOUT, STDERR handles for BSDs
...
Tested on FreeBSD 14.0 and NetBSD 10.0
OpenBSD is untested, but link names were sourced from:
https://github.com/openbsd/src/blob/master/include/stdio.h
According to this, OpenBSD shares the same layout as NetBSD.
FreeBSD has the same as Darwin in this regard.
2024-06-02 19:29:27 -04:00
Jeroen van Rijn
10d354aea8
Merge pull request #3662 from Feoramund/fix-3660
...
Fix #3660 and #3661
2024-06-02 23:22:16 +02:00
Feoramund
f030603f0d
Fix #3660
...
This also prevents a segfault if you do `odin build .odin -file`
2024-06-02 16:47:46 -04:00
Feoramund
f77ce359ce
Be pedantic about not overwriting Odin errors
...
I was encountering bounds-check error messages being overwritten during
a test, if the test failed for another reason and sent a log message.
The original intent of having this check inside of the above `if` block
was that if a test sent an error message, then it was assumed an
overwrite would be safe, but it's completely possible for a test to fail
for a legitimate reason, then do an unrelated bounds check somewhere
else that would be buried under the animation.
This change will make sure that, no matter what, the progress display
will not trigger a clear if a signal was raised. There's still no
guarantee that bounds-check messages will be printed properly, and it's
best to redirect STDERR.
The only way that can be fixed is if they get a similar hook to
`context.assertion_failure_proc`.
2024-06-02 15:51:26 -04:00
Feoramund
3f1249c27e
Tell user about ODIN_TEST_RANDOM_SEED option
2024-06-02 15:34:13 -04:00