aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update to LLVM 18.1.8gingerBill2024-07-0833-113/+651
| |
* | Add `-print-linker-flags`gingerBill2024-07-082-2/+52
| |
* | Forbid `$T=` parameter from crashing compilerFeoramund2024-07-061-1/+11
| | | | | | | | Fixes #3883
* | Merge pull request #3828 from laytan/re-raise-signals-from-odin-rungingerBill2024-07-061-6/+22
|\ \ | | | | | | re-raise signals from the `odin run` binary
| * | re-raise signals from the `odin run` binaryLaytan Laats2024-06-281-6/+22
| | |
* | | Merge pull request #3874 from laytan/fix-not-detecting-duplicate-proc-caseJeroen van Rijn2024-07-051-1/+1
|\ \ \ | | | | | | | | Fix not detecting duplicate proc cases
| * | | Fix not detecting duplicate proc casesLaytan Laats2024-07-051-1/+1
| | | | | | | | | | | | | | | | Fixes #3864
* | | | Fix assertion false positiveLaytan Laats2024-07-041-1/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | Assertion was added in #3855 - https://github.com/odin-lang/Odin/pull/3855/commits/723314909679b89e159cb4cb05d250d12ac64436 to mimic LLVM's own internal assertion for this, turns out their assertion is more sophisticated than an `==` so lets just remove it. To be clear their internal assertion is not hit while this one is, which defeats the purpose of ours.
* | | Remove `*_test.odin`; always compile it for all targetsgingerBill2024-07-042-8/+0
| | |
* | | Restrict a bit moregingerBill2024-07-041-41/+44
| | |
* | | Remove `when` check in `check_entity_from_ident_or_selector`gingerBill2024-07-041-2/+2
| | |
* | | Remove import name casesgingerBill2024-07-041-2/+0
| | |
* | | Allow `x :: y when cond else proc(...){...}`gingerBill2024-07-043-79/+189
| | |
* | | Fix `lb_store_type_case_implicit`gingerBill2024-07-041-1/+2
| | |
* | | Ff `@(disabled=true)`, do not add that entity's dependencies to the setgingerBill2024-07-041-0/+4
| | |
* | | error on type_of(value of untyped type)Karl Zylinski2024-07-031-0/+8
| | |
* | | Fix help text.Jeroen van Rijn2024-07-031-1/+0
| | |
* | | Fix `#soa` assignment buggingerBill2024-07-031-1/+1
| | |
* | | Merge pull request #3855 from laytan/mastergingerBill2024-07-022-6/+8
|\ \ \ | | | | | | | | Fix two LLVM assertion failures
| * | | fix llvm assertion failure when const initializer is not the same typeLaytan Laats2024-07-021-3/+1
| | | |
| * | | fix llvm assertion about metadata on non-instructionLaytan Laats2024-07-021-3/+7
| | | |
* | | | Merge pull request #3859 from laytan/wasm-stbtt-object-linking-preopensgingerBill2024-07-026-16/+26
|\ \ \ \ | | | | | | | | | | wasm: support `vendor:stb/truetype` and `vendor:fontstash`
| * | | | wasm: add foreign import and linking of wasm object filesLaytan Laats2024-07-026-16/+26
| |/ / /
* | | | Force `cl.exe` to parse Odin source as utf-8.Jeroen van Rijn2024-07-011-1/+1
| | | |
* | | | Add UTF-8 BOM for ucg.c, because reasons.Jeroen van Rijn2024-07-011-1/+1
| | | |
* | | | Sanity check for a `nullptr`gingerBill2024-07-011-1/+3
| | | |
* | | | Fix #3515gingerBill2024-07-011-7/+16
| | | |
* | | | Add `intrinsics.type_struct_has_implicit_padding` #3844gingerBill2024-07-013-1/+29
| | | |
* | | | Fix showing error when not meant togingerBill2024-07-011-1/+3
| | | |
* | | | Add support for `make(#soa[]T)` etcgingerBill2024-07-011-2/+77
| | | |
* | | | Merge pull request #3760 from Feoramund/refactor-show-error-on-linegingerBill2024-07-016-58/+3536
|\ \ \ \ | | | | | | | | | | Refactor `show_error_on_line`
| * | | | Re-implement the error squiggles with visual widthFeoramund2024-06-292-164/+143
| | | | |
| * | | | Add `UCG` library to Odin compilerFeoramund2024-06-293-0/+3320
| | | | |
| * | | | Refactor `show_error_on_line`Feoramund2024-06-142-71/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should adequately solve any issues with Unicode alignment by sidestepping the issue entirely. With this change, we make use of the built-in ANSI facilities of the terminal to underline the text. If the terminal does not support underlining, there are still the fallback bold markers at the start and end of error locations.
| * | | | Remove unused code from tokenizerFeoramund2024-06-141-4/+0
| | | | |
| * | | | Fix displaying emptiness when error is on first lineFeoramund2024-06-141-0/+5
| | | | |
| * | | | Fix displaying error on wrong line with token at EOLFeoramund2024-06-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, this would get a token on text like "\n*\n" where `*` is the token's position, and it would advance off that line.
* | | | | Merge pull request #3848 from laytan/wasm-c-abi-indirect-multifield-structgingerBill2024-07-011-9/+9
|\ \ \ \ \ | | | | | | | | | | | | make structs with multiple fields always return indirect in wasm c abi
| * | | | | fix not setting cc before using it in abi computationsLaytan Laats2024-07-011-1/+1
| | | | | |
| * | | | | make structs with multiple fields always return indirect in wasm c abiLaytan Laats2024-07-011-8/+8
| | |/ / / | |/| | |
* | | | | Merge pull request #3842 from karl-zylinski/fix-poly-bitset-sizeJeroen van Rijn2024-06-301-0/+10
|\ \ \ \ \ | | | | | | | | | | | | Fix for bit_set[$T] proc params always being generated as i8
| * | | | | Make types like bit_set[$T] have their upper and lower bits overwritten by ↵Karl Zylinski2024-06-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | upper/lower from the source types when checking if polymorphic type is assignable. This fixes an issue where an i8 was always generated for bit_sets with generic elements, because it couldn't figure out upper/lower when check_bit_set_type was run. Fixes #2860
* | | | | | Remove the `-disallow-do` aspect from `-strict-style`gingerBill2024-06-291-2/+0
| |/ / / / |/| | | |
* | | | | Improve `-strict-style` rules for `if-else` statementsgingerBill2024-06-291-4/+12
| | | | |
* | | | | Add `-vet-tabs`gingerBill2024-06-293-0/+51
| | | | |
* | | | | Fix accidental deletion in the `-strict-style` help commentgingerBill2024-06-291-1/+1
| | | | |
* | | | | Move microarch stuff to a separate filegingerBill2024-06-292-462/+463
| | | | |
* | | | | Add note regarding `-strict-style`gingerBill2024-06-291-0/+2
| | | | |
* | | | | `-strict-style` implies `-disallow-do`gingerBill2024-06-291-1/+3
| | | | |
* | | | | Update `-strict-style`gingerBill2024-06-291-0/+2
| | | | |