aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4175 from laytan/riscv-compilerdev-2024-09gingerBill2024-09-025-4/+34
|\ | | | | Support RISC-V for the compiler itself
| * riscv compiler supportLaytan2024-09-015-4/+34
| |
* | Merge pull request #4176 from Feoramund/fix-context-error-msggingerBill2024-09-021-1/+1
|\ \ | | | | | | Remove extra format item at end of `context` error message
| * | Remove extra format item at end of `context` error messageFeoramund2024-09-011-1/+1
|/ /
* | Add math.remap_clamped.Jeroen van Rijn2024-09-011-1/+6
| |
* | Merge pull request #4173 from karl-zylinski/clamp-remapJeroen van Rijn2024-09-011-1/+2
|\ \ | |/ |/| Make math.remap clamp the result in range [new_min, new_max]
| * Make math.remap clamp the result in range [new_min, new_max].Karl Zylinski2024-09-011-1/+2
|/
* "fix" #4169, looks like llvm 14 bugLaytan2024-08-311-2/+1
|
* Simplified #assert checkJeroen van Rijn2024-08-311-7/+0
|
* Check for `#assert` condition to be a constant boolJeroen van Rijn2024-08-311-1/+11
| | | | Fixes #4170
* Fix possible leaks in `os2.user_*` callsgingerBill2024-08-311-6/+10
|
* Fix `new(sync.Mutex)`gingerBill2024-08-311-1/+1
|
* Fix #4156gingerBill2024-08-312-1/+5
|
* c/libc: fix time link nameLaytan Laats2024-08-311-1/+1
|
* remove commaLaytan Laats2024-08-311-1/+1
|
* Merge pull request #4168 from laytan/fix-bad-import-name-errorsLaytan2024-08-312-5/+11
|\ | | | | fix some issues with the "bad import name" errors
| * fix bad importLaytan Laats2024-08-311-2/+2
| |
| * fix some issues with the "bad import name" errorsLaytan Laats2024-08-311-3/+9
|/ | | | | | | | | | There was so much wrong here: - The `if` statement was never entered because even on invalid import names `path_to_entity_name` returns "_" - Two errors were shown where one doesn't make sense, need to choose one based on context - Structure of the messages were different from other error messages - Suggestion was using the wrong import path
* encoding/csv: fix examplesLaytan Laats2024-08-301-4/+6
|
* core/odin: support `#type_assert` and `#no_type_assert`Laytan Laats2024-08-302-0/+11
|
* Add a few more reflect.bit_field_* helpers.Jeroen van Rijn2024-08-301-23/+68
|
* Add reflect.bit_fields_zippedJeroen van Rijn2024-08-301-0/+23
|
* Attempt to account for BuildTools installer's lack of \Jeroen van Rijn2024-08-301-2/+8
|
* Merge pull request #4009 from thetarnav/file-tag-parsergingerBill2024-08-303-0/+423
|\ | | | | Add a file tag parser to core:odin/parser
| * Satisfy vetDamian Tarnawski2024-08-291-10/+9
| |
| * Add and test match_build_tagsDamian Tarnawski2024-08-292-29/+83
| |
| * Parse build_project_name as `[][]string`Damian Tarnawski2024-08-292-54/+69
| |
| * Move some types to runtime, use reflection instead of lutDamian Tarnawski2024-08-293-79/+56
| |
| * Add missing require_results attrDamian Tarnawski2024-08-291-0/+1
| |
| * Remove useless codeDamian Tarnawski2024-08-291-12/+0
| |
| * Add a file tag parser to core:odin/parserDamian Tarnawski2024-08-292-0/+389
| |
* | Fix #4166gingerBill2024-08-301-1/+8
| |
* | Use XOR directly rather than `(~x) & mask`gingerBill2024-08-301-2/+3
| |
* | Make `~some_bit_set` work on only the possible bits by doing a mask with the ↵gingerBill2024-08-302-2/+96
| | | | | | | | full set
* | Merge pull request #4112 from Feoramund/fix-test-io-issuesgingerBill2024-08-3023-186/+1236
|\ \ | | | | | | Add `core:io` test suite
| * | Remove double closeLaytan Laats2024-08-281-1/+0
| | |
| * | Properly close the temporary files in io testsLaytan Laats2024-08-281-2/+4
| | |
| * | Fix EOF detection is os2 window readLaytan Laats2024-08-281-0/+4
| | |
| * | Add `io` tests for `bufio` streamsFeoramund2024-08-281-0/+120
| | |
| * | Make sure `seek` succeeds in `io.Limited_Reader` test setupFeoramund2024-08-281-1/+6
| | |
| * | Test empty slice usage in `io` procsFeoramund2024-08-281-0/+32
| | |
| * | Return `0, nil` in all `io` cases where an empty slice is providedFeoramund2024-08-286-1/+44
| | |
| * | Fix `pread` and `pwrite` on `os2` WindowsFeoramund2024-08-281-2/+2
| | | | | | | | | | | | | | | The previous code was jumping ahead by the specified offset, instead of getting the current offset.
| * | Test `io` unexpected pointer movementFeoramund2024-08-281-0/+32
| | |
| * | Report invalid whence & offset on `os2` WindowsFeoramund2024-08-282-0/+5
| | |
| * | Fix Windows infinite recursion with `os2._flush`Feoramund2024-08-281-2/+2
| | |
| * | Add documentation to `os2.close`Feoramund2024-08-281-0/+6
| | | | | | | | | | | | | | | Make it explicit that using a stream after closing is like a use-after-free bug.
| * | Update `core:io` testsFeoramund2024-08-281-48/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Relax return value requirements on errors. Only the error is checked, as there are multiple conflicting return styles throughout the `os` API. Some return the error along with `0`, `-1`, or another value. This can be smoothed out later. - Test `os2` files now. - No longer test streams after closing; this is considered similar to a use-after-free in `os2`.
| * | Check `int(abs)` instead to avoid overflowsFeoramund2024-08-281-2/+3
| | |
| * | Report `Invalid_Whence` on some `os` platformsFeoramund2024-08-287-14/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move `Seek`-related checks into OS-specific files for granularity. Platforms: - Darwin - FreeBSD - Haiku - Linux - NetBSD - OpenBSD