aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Add `#row_major matrix` support for raddbggingerBill2025-05-071-0/+17
| | |
| * | Add column major matrix supportgingerBill2025-05-072-17/+95
| | |
| * | Only add custom section for Windows (currently)gingerBill2025-05-071-1/+2
| | |
| * | Begin work on adding support for the `.raddbg` section for the RAD DebuggergingerBill2025-05-072-14/+64
| | |
* | | fix another type alias issue with mini cycleLaytan Laats2025-05-261-2/+6
| | |
* | | Add comments to `builtin.odin`, documenting ODIN_* constants. (#5218)Jeroen van Rijn2025-05-264-81/+101
| | | | | | | | | And document constants not previously listed.
* | | Add `Suggestion: 'context = runtime.default_context()'`gingerBill2025-05-241-0/+2
| | |
* | | Rename -keep-test-executable to -keep-executableJeroen van Rijn2025-05-232-11/+11
| | |
* | | your yourJeroen van Rijn2025-05-231-1/+1
| | |
* | | Tweak #5202Jeroen van Rijn2025-05-232-21/+5
| | | | | | | | | | | | Back out the new `-build-only` for tests in favor of the more established `-build-mode:test`, but retain the new `-keep-test-executable` option and default cleanup of test executables.
* | | Enable all sanitizers on FreeBSDFeoramund2025-05-223-10/+34
| | |
* | | Delete test executable after running, add `-keep-test-executable`Feoramund2025-05-222-1/+30
| | |
* | | Add `-build-only` for `odin test` commandFeoramund2025-05-222-1/+13
| |/ |/| | | | | This allows test executables to be only built, not run too.
* | Merge pull request #5173 from Feoramund/fix-linux-shared-lib-runtime-callgingerBill2025-05-221-0/+8
|\ \ | | | | | | Keep shared libraries from calling main program's startup/cleanup procs on Linux
| * | Keep shared libraries from calling main program's startup/cleanup procs on LinuxFeoramund2025-05-221-0/+8
| | |
* | | Only trim `.odin` from build filenamesFeoramund2025-05-221-3/+26
| | |
* | | Slight tweak.Jeroen van Rijn2025-05-211-1/+1
| | |
* | | List -subtarget in `odin help build`Jeroen van Rijn2025-05-211-50/+65
| | |
* | | Remove now unnecessary checks.Jeroen van Rijn2025-05-211-6/+2
| | |
* | | Fix #5177 - Tweak error messages.Jeroen van Rijn2025-05-211-0/+10
| | |
* | | Add `/usr/local/lib` to FreeBSD linker pathFeoramund2025-05-201-0/+3
| | |
* | | Do not call disabled deferred proceduresFeoramund2025-05-191-0/+6
| | |
* | | -dynamic-literalsJeroen van Rijn2025-05-194-2/+8
| | |
* | | Merge pull request #5181 from Feoramund/fix-5167Jeroen van Rijn2025-05-191-22/+80
|\ \ \ | | | | | | | | Make `odin help` more precise
| * | | Make certain commands fail if passed excess argumentsFeoramund2025-05-191-0/+12
| | | |
| * | | Check for `-help` sooner and show it immediatelyFeoramund2025-05-191-5/+10
| | | |
| * | | Sync command descriptions between `odin help` and usageFeoramund2025-05-191-2/+2
| | | |
| * | | Add missing commands to `odin help`Feoramund2025-05-191-0/+6
| | | |
| * | | Make `odin help` more precise about what it acceptsFeoramund2025-05-191-15/+50
| | | |
* | | | Re-enable static map calls on AMD64 SysVFeoramund2025-05-181-6/+0
|/ / /
* | | Merge pull request #5171 from laytan/fix-global-and-static-anygingerBill2025-05-183-60/+60
|\ \ \ | | | | | | | | fix global and static any