aboutsummaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix cross_3d in demo.odinRibiveer37 hours1-1/+1
| | | Not a very significant or meaningful change, but it did irk me that the equation was wrong...
* core:os -> core:os/old && core:os/os2 -> core:osJeroen van Rijn6 days1-1/+1
|
* Remove all `core:os` imports from JS targetsJeroen van Rijn6 days1-3/+4
| | | | Fix `local_tz_name` on FreeBSD.
* add vendor:curl to docsLaytan Laats8 days1-0/+1
|
* Update `demo.odin`gingerBill2026-01-301-1/+6
|
* Merge pull request #6177 from odin-lang/bill/handle-mapgingerBill2026-01-291-3/+4
|\ | | | | `core:container/handle_map`
| * Add handle_map to examples/allgingerBill2026-01-261-3/+4
| |
* | core/crypto/ecdh: Initial importYawning Angel2026-01-282-0/+2
|/
* add new CoreGraphics to examples for doc genLaytan Laats2026-01-231-0/+1
|
* uring: move package from nbio/uring to sys/linux/uringLaytan Laats2026-01-141-1/+2
|
* nbio: add packageLaytan Laats2026-01-111-1/+4
|
* Add `container/xar` to `examples/all`gingerBill2025-12-121-0/+1
|
* examples/demo: Set the RNG to xoshiro256Yawning Angel2025-11-291-0/+5
| | | | The example should run on any target, not just first class ones.
* remove terminate from demoLaytan Laats2025-11-231-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add os2 to `examples/all`gingerBill2025-10-311-0/+1
|
* Start adding pkg lines for vendor.Jeroen van Rijn2025-10-102-0/+2
|
* Fix `examples/all`Jeroen van Rijn2025-09-081-7/+7
|
* image/jpeg: implement jpeg decoding for baseline and extended sequential jpegsHisham Aburaqibah2025-09-081-6/+7
|
* Add `vendor:kb_text_shape` to examples/all/all_vendor.odingingerBill2025-06-201-1/+4
|
* Switch to @(require)Jeroen van Rijn2025-06-041-274/+148
|
* Enable `odin check examples/all` for JS.Jeroen van Rijn2025-06-047-125/+217
|
* add examples/all/sdl3 for all sdl3 dependant packagesLaytan Laats2025-06-023-4/+26
| | | | + adds the wgpu glue packages to examples/all
* Rename `core:encoding/ansi` to `core:terminal/ansi`Feoramund2025-05-201-2/+2
|
* Add `core:terminal`Feoramund2025-05-201-0/+3
|
* generate xlib package docs on linuxLaytan2025-05-162-5/+5
|
* Formatting FixgingerBill2025-05-081-0/+2
|
* Remove dependency on runtime; Add to examplesLucas Perlind2025-04-241-0/+2
|
* core:crypto/deoxysii: Initial importYawning Angel2025-03-231-0/+2
|
* core/crypto/aegis: Initial importYawning Angel2025-03-231-0/+2
|
* core/crypto/x448: Initial importYawning Angel2025-03-231-0/+2
|
* Fix typosGabr13132025-02-141-3/+3
|
* Add game input to examples importLucas Perlind2025-02-061-1/+4
|
* Make `-no-dynamic-literals` the default nowgingerBill2025-01-051-0/+1
|
* Delete imports of removed packagesgingerBill2024-11-241-6/+0
|
* Remove `#relative` types from the compilergingerBill2024-11-141-17/+0
|
* Update demo.odinDoeke Wartena2024-11-091-1/+1
| | | type: turns -> returns
* fix relative links in examples/README.mdAP Darkly2024-11-071-2/+2
| | | This fix adjusts the links for 'demo', 'core', 'all', and 'vendor' so that they navigate to the intended destinations instead of yielding 404s.
* add time/timezone to docsLaytan Laats2024-11-011-0/+2
|
* add CoreFoundation and Security to docsLaytan Laats2024-11-011-0/+4
|
* add kqueue to docsLaytan Laats2024-11-011-1/+3
|
* Fix typo in demo.odinFredrik Vaeng Røtnes2024-10-091-1/+1
|
* Merge pull request #4279 from obiwan87/mastergingerBill2024-09-251-1/+1
|\ | | | | Fix compile errors
| * Add missing package qualifier to allocAntonino Simone Di Stefano2024-09-221-1/+1
| |
* | Merge pull request #2600 from Hyrtwol/icon-for-odin-exeJeroen van Rijn2024-09-241-0/+75
|\ \ | |/ |/| Icon for odin.exe
| * odin manifest fileThomas la Cour2024-08-211-0/+75
| |
* | Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-144-4/+4
|/ | | | file tag syntax.
* Merge pull request #3962 from Feoramund/regexgingerBill2024-08-211-0/+2
|\ | | | | Add `core:text/regex`
| * Add `core:text/regex` to `examples/all`Feoramund2024-07-221-0/+2
| |
* | Merge pull request #4004 from Skytrias/orca-odin-bindingsgingerBill2024-08-161-0/+2
|\ \ | | | | | | Add autogenerated orca bindings and macros from laytan
| * | add orca to examples/all for docsLaytan Laats2024-08-111-0/+2
| |/