aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://github.com/odin-lang/Odindev-2022-04gingerBill2022-04-047-49/+327
|\
| * Merge pull request #1694 from Kelimion/define_helpJeroen van Rijn2022-04-031-0/+1
| |\ | | | | | | Add extra help line for define/config.
| | * Add extra help line for define/config.Jeroen van Rijn2022-04-031-0/+1
| | |
| * | Merge pull request #1693 from Skytrias/skytrias-strings-documentation-restJeroen van Rijn2022-04-035-22/+212
| |\ \ | | |/ | |/| documentation for the rest of the strings library
| | * documentation for the rest of the strings libraryMichael Kutowski2022-04-035-22/+212
| |/
| * Merge pull request #1692 from Kelimion/easy_fontJeroen van Rijn2022-04-031-27/+114
| |\ | | | | | | [vendor:easy_font] API improvements.
| | * [vendor:easy_font] API improvements.Jeroen van Rijn2022-04-031-27/+114
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `print(x, y, text, color, quad_buffer)` version that takes `[]quad`. (Same internal memory layout as []u8 API, but more convenient for the caller.) Add optional `scale := f32(1.0)` param to `print` to embiggen the glyph quads. ```odin // Example for use with vendor:raylib quads: [999]easy_font.Quad = --- color := rl.GREEN c := transmute(easy_font.Color)color num_quads := easy_font.print(10, 60, TEXT, c, quads[:]) for q in quads[:num_quads] { tl := q.tl.v br := q.br.v color = transmute(rl.Color)q.tl.c r := rl.Rectangle{x = tl.x, y = tl.y, width = br.x - tl.x, height = br.y - tl.y} // Yes, we could just use the `color` from above, but this shows how to get it back from the vertex. // And in practice this code will likely not live as close to the `easy_font` call. rl.DrawRectangleRec(r, color) } ```
| * Merge pull request #1691 from eisbehr/stb_easy_font_fixJeroen van Rijn2022-04-031-4/+4
| |\ | | | | | | Fixes for stb_easy_font
| | * Fixes for stb_easy_fontFlorian Behr2022-04-031-4/+4
| |/
* / Remove `#caller_location` from certain calls in `core:container/small_array`gingerBill2022-04-041-3/+3
|/
* Merge pull request #1686 from Kelimion/compile-time-assertgingerBill2022-04-021-5/+27
|\ | | | | Allow optional message for `#assert`.
| * Allow optional message for `#assert`.Jeroen van Rijn2022-04-021-5/+27
| |
* | Add extra checks to atomic intrinsicsgingerBill2022-04-021-0/+45
| |
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2022-04-024-20/+207
|\|
| * Merge pull request #1685 from ftphikari/masterJeroen van Rijn2022-04-022-2/+106
| |\ | | | | | | sys/windows: add a couple of procedures and types
| | * sys/windows: add several procedures and macroshikari2022-04-022-2/+38
| | |
| | * sys/windows: add a couple of procedures and typeshikari2022-04-022-0/+68
| |/
| * Merge pull request #1682 from ftphikari/masterJeroen van Rijn2022-04-023-17/+100
| |\ | | | | | | sys/windows: add intrinsics.constant_utf16_cstring
| | * sys/windows: fix some procedure definitions and typeshikari2022-04-012-16/+76
| | |
| | * sys/windows: add various procedureshikari2022-04-012-0/+20
| | |
| | * sys/windows: move L into util.odinhikari2022-04-012-4/+4
| | |
| | * sys/windows: fix building errorhikari2022-04-011-0/+1
| | |
| | * sys/windows: add intrinsics.constant_utf16_cstringhikari2022-04-011-0/+2
| | |
| * | [strings] fix.Jeroen van Rijn2022-04-021-1/+1
| | |
* | | `intrinsics.atomic_type_is_lock_free`gingerBill2022-04-027-5/+50
|/ /
* | Remove hms2019 filesgingerBill2022-04-023-1828/+0
| |
* | Merge pull request #1683 from Kelimion/big_nailsJeroen van Rijn2022-04-013-11/+13
|\ \ | | | | | | [math/big] Tell Python test runner how many nails we use.
| * | [math/big] Tell Python test runner how many nails we use.Jeroen van Rijn2022-04-013-11/+13
|/ / | | | | | | | | | | | | | | | | | | | | `_DIGIT_NAILS` is defined as 4, meaning that we use 60 out of every 64 bits. We can use as few as 1 nail, using 63 bits out of every 64, and all tests will still pass. However, it needs more testing to see if that's a worthwhile change to make. For the tests to work properly when changing the nails, Python needs to know about it as well. In addition, compile the big math code with `-o:speed` going forward.
* | Add explicit memory ordering for the internal Sema implementationgingerBill2022-04-011-5/+5
| |
* | Fix `_Sema`gingerBill2022-04-013-6/+6
| |
* | Merge pull request #1681 from colrdavidson/fix-nightlyJeroen van Rijn2022-03-311-3/+3
|\ \ | |/ |/| only install the right version of llvm
| * only install the right version of llvmColin Davidson2022-03-311-3/+3
|/
* Merge pull request #1621 from colrdavidson/build_freebsdgingerBill2022-03-312-75/+14
|\ | | | | Core out Makefile, add freebsd building
| * oops, fix reportColin Davidson2022-03-141-1/+1
| |
| * core out Makefile, add freebsd buildingColin Davidson2022-03-142-76/+15
| |
* | Update `mem.nil_allocator` to match the same in `runtime`gingerBill2022-03-311-1/+18
| |
* | Merge pull request #1673 from odin-lang/new-syncgingerBill2022-03-3152-2990/+1048
|\ \ | | | | | | Brand New `package sync` and Atomics Intrinsics
| * | Remove code deduplicationgingerBill2022-03-311-66/+7
| | |
| * | Remove pthreads dependencygingerBill2022-03-315-64/+112
| | |
| * | Change `intrinsics.Atomic_Memory_Order` fields to use `Ada_Case` rather than ↵gingerBill2022-03-319-126/+126
| | | | | | | | | | | | `snake_case`
| * | Update Thread Pool in `core:thread`gingerBill2022-03-312-99/+171
| | | | | | | | | | | | Thanks to the work of eisbehr
| * | Correct ordering in `auto_reset_event_signal`gingerBill2022-03-311-2/+2
| | |
| * | Disable thread pool in demogingerBill2022-03-311-23/+23
| | |
| * | Clean up thread_windows.odingingerBill2022-03-311-12/+29
| | |
| * | Rename package name to `sync`gingerBill2022-03-3118-18/+18
| | |
| * | Add checks for memory ordering on fencesgingerBill2022-03-312-12/+26
| | |
| * | Correct weak handlinggingerBill2022-03-311-1/+2
| | |
| * | Update the intrinsics for documentation on atomicsgingerBill2022-03-311-68/+35
| | |
| * | Enforce success failure pairings of `compare_exchange_*_explicit` at compile ↵gingerBill2022-03-313-10/+97
| | | | | | | | | | | | time
| * | Update core to use new atomic intrinsicsgingerBill2022-03-317-245/+176
| | |