aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Guard against invalid proc types in parameter listFeoramund2025-06-101-1/+4
| | | | | | | | | | | | | | | | | | | | Fixes #4362
* | | | | Let `-no-entry-point` work for Windows DLLsFeoramund2025-06-101-0/+3
| | | | | | | | | | | | | | | | | | | | Fixes #4660
* | | | | Define empty `gb_no_asan` if VS < 2022Jeroen van Rijn2025-06-101-1/+5
|/ / / /
* | | | Merge pull request #5286 from Feoramund/no-san-memgingerBill2025-06-095-1/+10
|\ \ \ \ | | | | | | | | | | Add `@(no_sanitize_memory)` with additions to `base:sanitizer`
| * | | | Add `@(no_sanitize_memory)` proc attribute with MSan additions to ↵Feoramund2025-06-055-1/+10
| | | | | | | | | | | | | | | | | | | | `base:sanitizer`
* | | | | Guard against untyped `nil` in type cycle and type info sectionsFeoramund2025-06-081-2/+2
| | | | | | | | | | | | | | | | | | | | Fixes #5299
* | | | | Merge pull request #5294 from iarkn/type-is-bit-fieldJeroen van Rijn2025-06-062-0/+4
|\ \ \ \ \ | | | | | | | | | | | | Add `intrinsics.type_is_bit_field` proc
| * | | | | Add `intrinsics.type_is_bit_field` prociarkn2025-06-062-0/+4
| |/ / / /
* / / / / Add `nullptr` check in `add_type_info_type_internal`Feoramund2025-06-061-1/+1
|/ / / / | | | | | | | | | | | | Fixes #5215
* | | | [parser.cpp] - packages with `.odin` in the name no longer attemptHayden Gray2025-06-051-2/+2
| | | | | | | | | | | | | | | | to parse as odin files
* | | | Let compound literal array be broadcast to a struct field of arraysFeoramund2025-06-051-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #4364 Patch courtesy of @cribalik
* | | | Merge pull request #5279 from Feoramund/fix-4673Jeroen van Rijn2025-06-041-0/+14
|\ \ \ \ | | | | | | | | | | Be strict with type switch case column alignment too
| * | | | Be strict with type switch case column alignment tooFeoramund2025-06-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This copies the same block used for regular switch cases. Fixes #4673
* | | | | Print timings to stderr instead of stdoutFeoramund2025-06-042-54/+54
|/ / / / | | | | | | | | | | | | | | | | | | | | This is in line with other diagnostic messages. Fixes #4642
* | | | Add support for `#soa[N]T` compound literalsgingerBill2025-06-042-77/+249
| | | |
* | | | Forbid multiple uses of `-sanitize`Feoramund2025-06-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | `clang` does not allow this. Fixes #4354
* | | | Merge pull request #5261 from spiel0meister/masterJeroen van Rijn2025-06-031-0/+3
|\ \ \ \ | | | | | | | | | | add a missing nullptr check
| * | | | early return; fix indentationspiel0meister2025-06-031-7/+8
| | | | |
| * | | | check if expr is nullspiel0meister2025-06-021-5/+7
| | | | |
* | | | | Allow -dynamic-literals for `[dynamic]T`Jeroen van Rijn2025-06-031-1/+1
| | | | |
* | | | | Merge pull request #5264 from ↵Jeroen van Rijn2025-06-031-37/+6
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | LeandroLibanio28H/5243-fix-scope-attribute-proc-grouping Fix scope attribute proc grouping (#5243 )
| * | | | | Update check_expr.cppLeandro Libanio2025-06-031-2/+0
| | | | | | | | | | | | | | | | | | Removing iostream
| * | | | | Removing unreacheable block (since e86fde3)LeandroLibanio28H2025-06-021-31/+0
| | | | | |
| * | | | | Checking if entity is exported before checking if it's a procedure groupLeandroLibanio28H2025-06-021-10/+12
| |/ / / /
* / / / / Fix #5265Jeroen van Rijn2025-06-032-53/+58
|/ / / /
* | | | Merge pull request #4339 from laytan/fix-swizzle-in-forJeroen van Rijn2025-06-022-6/+21
|\ \ \ \ | | | | | | | | | | fix swizzle in for in statement
| * | | | fix swizzle in for in statementLaytan Laats2025-06-022-6/+21
| | | | | | | | | | | | | | | | | | | | Fixes #1730
* | | | | fix package docs in a "hacky" wayLaytan Laats2025-06-021-11/+19
|/ / / /
* | | | Merge pull request #5255 from Feoramund/build-mode-test-all-packagesJeroen van Rijn2025-06-021-1/+7
|\ \ \ \ | | | | | | | | | | Let `-test-all-packages` work with `-build-mode:test`
| * | | | Let `-test-all-packages` work with `-build-mode:test`Feoramund2025-06-021-1/+7
| | | | | | | | | | | | | | | | | | | | Fixes #3930
* | | | | Correct spelling in `odin doc -help` outputBambo-Borris2025-06-021-1/+1
|/ / / /
* | | | Merge pull request #5251 from Feoramund/fix-quat-real-real-real-realJeroen van Rijn2025-06-011-11/+14
|\ \ \ \ | | | | | | | | | | Fix a couple `quaternion` bugs
| * | | | Show quaternion arguments in `wxyz` order, instead of `xyzw`, in mismatched ↵Feoramund2025-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | type error This is in accordance with the other error and makes sense with how quaternions are printed with `real`/`w` coming first, then the imaginaries, which are the `ijk`/`xyz` parts.
| * | | | Make `quaternion` untyped values convert to first typed value foundFeoramund2025-06-011-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue (#2079) where a typed argument could cause the construction to fail on the basis of failed untyped -> typed conversion.
| * | | | Fix `quaternion` construction causing compiler crashFeoramund2025-06-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Previously, a construction of `quaternion(real=0, real=1, real=2, real=3)` could crash the compiler.
* | | | | Typo fixJeroen van Rijn2025-06-011-1/+1
|/ / / /
* | | | Also clean up .dSym on DarwinJeroen van Rijn2025-06-013-18/+28
| | | |
* | | | Also delete .pdb unless -keep-executable is suppliedJeroen van Rijn2025-06-011-0/+8
| | | |
* | | | Add suggestions for `quaternionN` or `complexN` conversionsFeoramund2025-05-311-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Quaternions and complex numbers are constructed with `quaternion` and `complex`, but their types are of the `*N` form. These suggestions should point the user in the right direction.
* | | | Allow overriding object extension in `-build-mode:obj`Feoramund2025-05-302-36/+41
| | | |
* | | | Remove trailing whitespaceFeoramund2025-05-301-1/+1
| | | |
* | | | Don't double-append module name when building separate objectsFeoramund2025-05-301-1/+2
| | | | | | | | | | | | | | | | | | | | `m->module_name` will already have the `BuildPath_Output` name prepended.
* | | | Error on unterminated multi-line commentFeoramund2025-05-291-0/+1
| | | |
* | | | Always provide /PDB option to linker if generating debug info.Jeroen van Rijn2025-05-292-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | radlink by default places the .PDB file in the working directory, even if /OUT says to place it elsewhere, unlike link.exe, which places it next to the executable by default. So, if compiling using -debug, we generate a PDB path even if -pdb-name wasn't used to override it.
* | | | Fix #5228gingerBill2025-05-291-0/+1
| | | |
* | | | Fix #5232 by adding an edge casegingerBill2025-05-291-1/+9
| | | |
* | | | raddebugger: change table to columnsMohit Sethi2025-05-281-32/+32
| | | |
* | | | Merge pull request #5130 from odin-lang/bill/raddebugger-custom-sectiongingerBill2025-05-284-32/+201
|\ \ \ \ | | | | | | | | | | RAD Debugger support through the custom `.raddbg` section
| * \ \ \ Merge branch 'master' into bill/raddebugger-custom-sectiongingerBill2025-05-2226-287/+2081
| |\ \ \ \
| * | | | | Move raddbg string stuff to a thread-safe queuegingerBill2025-05-074-85/+108
| | | | | |