gingerBill
1e88cd6697
Add container/xar to examples/all
2025-12-12 00:39:16 +00:00
Yawning Angel
0bd6410ea3
examples/demo: Set the RNG to xoshiro256
...
The example should run on any target, not just first class ones.
2025-11-29 10:45:53 +09:00
Laytan Laats
95a37dd340
remove terminate from demo
...
This was causing deadlocks because:
1. The main thread would `thread.terminate` a running thread
2. `thread.terminate` does not mean termination happens immediately
3. The thread that was terminated would see that the main thread
released `print_mutex` and acquire it
4. The worker would execute `fmt.printf` which is a cancellation point
5. Cancellation point reached, cancelled
6. Deadlock because the thread was holding `print_mutex`
You would usually solve this with `pthread_cleanup_push` that would
release the mutex in case it is cancelled, or use
`pthread_setcancelstate` to disable cancellation while the mutex is
held. But the real fix is just not using forced termination and using a
flag or other mechanism to indicate to the thread it should stop.
`thread.terminate` shouldn't even be a thing IMO.
It is way to dangerous and if somebody knows what they are doing they
can use the core:sys procedures to achieve it.
And we certainly shouldn't be using it in the demo as an example.
2025-11-23 19:48:03 +01:00
gingerBill
d374dc3c99
Add os2 to examples/all
2025-10-31 14:24:19 +00:00
Jeroen van Rijn
a42f81edeb
Start adding pkg lines for vendor.
2025-10-10 15:31:33 +02:00
Jeroen van Rijn
5b60067131
Fix examples/all
2025-09-08 17:25:55 +02:00
Hisham Aburaqibah
a6f18c3367
image/jpeg: implement jpeg decoding for baseline and extended sequential jpegs
2025-09-08 17:12:58 +02:00
gingerBill
448702875e
Add vendor:kb_text_shape to examples/all/all_vendor.odin
2025-06-20 09:05:50 +01:00
Jeroen van Rijn
1dffc2efd8
Switch to @(require)
2025-06-04 11:14:01 +02:00
Jeroen van Rijn
ae5c92ac38
Enable odin check examples/all for JS.
2025-06-04 11:08:25 +02:00
Laytan Laats
e09f226126
add examples/all/sdl3 for all sdl3 dependant packages
...
+ adds the wgpu glue packages to examples/all
2025-06-02 21:05:38 +02:00
Feoramund
a9df1b1cde
Rename core:encoding/ansi to core:terminal/ansi
2025-05-20 19:28:06 -04:00
Feoramund
30c1b88741
Add core:terminal
2025-05-20 19:27:58 -04:00
Laytan
326454f0f0
generate xlib package docs on linux
2025-05-16 22:14:26 +02:00
gingerBill
0ce8373528
Formatting Fix
2025-05-08 13:23:22 +01:00
Lucas Perlind
5e985bcd74
Remove dependency on runtime; Add to examples
2025-04-24 20:34:32 +10:00
Yawning Angel
b220df60b8
core:crypto/deoxysii: Initial import
2025-03-23 19:14:33 +09:00
Yawning Angel
c2786a6dd5
core/crypto/aegis: Initial import
2025-03-23 19:14:33 +09:00
Yawning Angel
9fdcc4e39a
core/crypto/x448: Initial import
2025-03-23 19:14:33 +09:00
Gabr1313
2c7ec27445
Fix typos
2025-02-14 14:38:26 +01:00
Lucas Perlind
24496c4046
Add game input to examples import
2025-02-06 14:57:47 +11:00
gingerBill
bca08d3b85
Make -no-dynamic-literals the default now
2025-01-05 13:33:06 +00:00
gingerBill
a84fcd03da
Delete imports of removed packages
2024-11-24 12:35:05 +00:00
gingerBill
e38a08013e
Remove #relative types from the compiler
2024-11-14 16:17:24 +00:00
Doeke Wartena
602dab3864
Update demo.odin
...
type: turns -> returns
2024-11-09 19:47:00 +01:00
AP Darkly
190ab5543d
fix relative links in examples/README.md
...
This fix adjusts the links for 'demo', 'core', 'all', and 'vendor' so that they navigate to the intended destinations instead of yielding 404s.
2024-11-07 13:58:57 +00:00
Laytan Laats
92bc3a5b4d
add time/timezone to docs
2024-11-01 18:01:49 +01:00
Laytan Laats
80393cb708
add CoreFoundation and Security to docs
2024-11-01 16:47:48 +01:00
Laytan Laats
7fd32a74c5
add kqueue to docs
2024-11-01 16:42:06 +01:00
Fredrik Vaeng Røtnes
15a8970493
Fix typo in demo.odin
2024-10-09 16:44:17 +00:00
gingerBill
8371ef6681
Merge pull request #4279 from obiwan87/master
...
Fix compile errors
2024-09-25 17:32:30 +01:00
Jeroen van Rijn
791b05b14f
Merge pull request #2600 from Hyrtwol/icon-for-odin-exe
...
Icon for odin.exe
2024-09-24 17:03:38 +02:00
Antonino Simone Di Stefano
3d202da63f
Add missing package qualifier to alloc
2024-09-22 23:15:48 +02:00
Karl Zylinski
19f0127e55
Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax.
2024-09-14 18:27:49 +02:00
Thomas la Cour
171d917b7e
odin manifest file
2024-08-21 16:26:10 +02:00
gingerBill
58e811eea5
Merge pull request #3962 from Feoramund/regex
...
Add `core:text/regex`
2024-08-21 13:55:11 +01:00
gingerBill
65ce7687d7
Merge pull request #4004 from Skytrias/orca-odin-bindings
...
Add autogenerated orca bindings and macros from laytan
2024-08-16 12:37:36 +01:00
gingerBill
e810c3eace
Merge pull request #4012 from laytan/posix
...
core:sys/posix and core:os/os2 based on it (for darwin, netbsd, freebsd and openbsd)
2024-08-14 15:10:31 +01:00
Laytan Laats
efe68c2e24
posix: add package
2024-08-14 01:44:35 +02:00
gingerBill
660b6ff0f1
Add vendor:box2d to examples/all
2024-08-13 17:08:31 +01:00
Laytan Laats
d6336e7252
add orca to examples/all for docs
2024-08-11 17:35:19 +02:00
Yawning Angel
ba1ad82c2b
core/crypto/aead: Initial import
2024-08-10 18:32:37 +09:00
gingerBill
649b25fba6
Update the demo.odin to use nil instead of os.ERROR_NONE
2024-08-04 12:47:49 +01:00
Feoramund
b8f3d0fb53
Add core:text/regex to examples/all
2024-07-22 15:07:13 -04:00
Jeroen van Rijn
ccf8b2764d
Create README.md
2024-07-22 18:00:57 +02:00
gingerBill
ba3d7ba5d3
Add core:encoding/ini to examples/all
2024-07-19 12:03:34 +01:00
Jeroen van Rijn
7b31acd2d7
Let simd/x86 pass new transmute/cast vet.
2024-07-09 16:50:55 +02:00
gingerBill
e9a54666e2
Fix typo.
2024-07-04 14:41:10 +01:00
Laytan Laats
604551eb2d
wasi: make the demo run on wasi and run it in CI
2024-06-29 23:15:31 +02:00
gingerBill
e296d6fb90
Fix loads of indentation issues with mixing spaces and tabs
2024-06-29 19:50:51 +01:00