| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add basic arm32 ABI support (linux_arm32) | gingerBill | 2022-05-01 | 1 | -1/+14 | |
| | | ||||||
| * | Address edge cases. | Jeroen van Rijn | 2022-04-26 | 1 | -7/+35 | |
| | | ||||||
| * | Remove redundant bit for non-Windows. | Jeroen van Rijn | 2022-04-24 | 1 | -14/+0 | |
| | | ||||||
| * | Compiler: Allow -out: to not have an extension on *nix for executables (only). | Jeroen van Rijn | 2022-04-24 | 1 | -1/+3 | |
| | | ||||||
| * | Compiler: Add early error for output path being a directory. | Jeroen van Rijn | 2022-04-24 | 1 | -28/+192 | |
| | | | | | | | | | | | | | - Introduce new `Path` type and an array of build paths on the build context. - Resolve input and output paths/files early (before parsing). - Error early if inputs are missing or outputs are directories. - Plumb new file path generation into linker stage instead of its adhoc method. TODO: - Remove more adhoc file path generation in parser and linker stage. - Make intermediate object file generation use new path system. - Round out and robustify Path helper functions. | |||||
| * | Give build/run/check/test/doc a `-file` flag. | Jeroen van Rijn | 2022-04-05 | 1 | -1/+22 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A package has canonically always been a directory, but odin allowing you to build a single-file package confused newcomers who didn't understand why they could then not access variables and procedures from another file in the same directory. This change disallows building single-file packages by default, requiring the `-file` flag to acknowledge you understand the nuance. `-help` for these commands also clarifies the difference. ``` W:\Odin>odin build -help odin is a tool for managing Odin source code Usage: odin build [arguments] build Compile directory of .odin files as an executable. One must contain the program's entry point, all must be in the same package. Use `-file` to build a single file instead. Examples: odin build . # Build package in current directory odin build <dir> # Build package in <dir> odin build filename.odin -file # Build single-file package, must contain entry point. Flags -file Tells `odin build` to treat the given file as a self-contained package. This means that `<dir>/a.odin` won't have access to `<dir>/b.odin`'s contents. ``` ``` W:\Odin>odin run examples\demo\demo.odin ERROR: `odin run` takes a package as its first argument. Did you mean `odin run examples\demo\demo.odin -file`? The `-file` flag tells it to treat a file as a self-contained package. ``` | |||||
| * | Merge branch 'master' into freestanding_amd64 | gingerBill | 2022-03-14 | 1 | -12/+57 | |
| |\ | ||||||
| | * | rename architecture from 386 to i386 | Sébastien Marie | 2022-03-03 | 1 | -9/+9 | |
| | | | ||||||
| | * | openbsd: poor man implementation for getting executable path | Sébastien Marie | 2022-02-26 | 1 | -3/+30 | |
| | | | | | | | | | it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases. | |||||
| | * | internal_odin_root_dir: readlink could fail | Sébastien Marie | 2022-02-25 | 1 | -1/+1 | |
| | | | ||||||
| | * | initial OpenBSD support | Sébastien Marie | 2022-02-25 | 1 | -0/+18 | |
| | | | ||||||
| * | | Enforce `-no-entry-point` on freestanding targets | gingerBill | 2022-02-28 | 1 | -7/+12 | |
| | | | ||||||
| * | | `-target-features:<string>` | gingerBill | 2022-02-28 | 1 | -0/+1 | |
| | | | | | | | | | This just passes a string directly to the LLVM features string | |||||
| * | | Only allow `-disallow-rtti` on freestanding targets | gingerBill | 2022-02-28 | 1 | -0/+5 | |
| | | | ||||||
| * | | Commit rest of code for `-disallow-rtti` | gingerBill | 2022-02-28 | 1 | -1/+2 | |
| | | | ||||||
| * | | Change target name to `freestanding_amd64_sysv` | gingerBill | 2022-02-23 | 1 | -5/+5 | |
| | | | ||||||
| * | | Replace local `@(no_red_zone)` with global `-disable-red-zone` | gingerBill | 2022-02-23 | 1 | -0/+8 | |
| | | | ||||||
| * | | Add help docs for `-reloc-mode:<string>` | gingerBill | 2022-02-23 | 1 | -1/+1 | |
| | | | ||||||
| * | | Add `-reloc-mode:<string>` | gingerBill | 2022-02-20 | 1 | -0/+9 | |
| | | | ||||||
| * | | Add `-foreign-error-procedures` | gingerBill | 2022-02-20 | 1 | -0/+2 | |
| | | | ||||||
| * | | Add `freestanding_amd64_gnu` | gingerBill | 2022-02-20 | 1 | -4/+32 | |
| |/ | ||||||
| * | Add `ODIN_ERROR_POS_STYLE` constant and change ↵ | gingerBill | 2022-01-26 | 1 | -0/+2 | |
| | | | | | `runtime.print_caller_location` based on that constant | |||||
| * | Remove spurious `)` | gingerBill | 2022-01-26 | 1 | -2/+2 | |
| | | ||||||
| * | Add ODIN_ERROR_POS_STYLE environment variable | gingerBill | 2022-01-26 | 1 | -1/+50 | |
| | | | | | | | | | Allowing for two different error message styles: default or odin path(line:column) message unix path:line:column: message | |||||
| * | `ODIN_ENDIAN` changed to an enum constant; `ODIN_ENUM_STRING` is the new ↵ | gingerBill | 2022-01-15 | 1 | -11/+9 | |
| | | | | | string version of the old constant | |||||
| * | Rename architecture `386` to `i386` | gingerBill | 2022-01-15 | 1 | -15/+15 | |
| | | ||||||
| * | Make `ODIN_BUILD_MODE` a enum type | gingerBill | 2022-01-15 | 1 | -20/+3 | |
| | | ||||||
| * | Disable `DEFAULT_TO_THREADED_CHECKER` until race condition is found | gingerBill | 2022-01-11 | 1 | -1/+1 | |
| | | ||||||
| * | src: Add preliminary support for Linux AArch64 | Yawning Angel | 2021-12-23 | 1 | -0/+14 | |
| | | | | | | Tested via `tests/core`, on a Raspberry Pi 4 running the latest 64-bit Raspberry Pi OS image (LLVM 11). | |||||
| * | Allow `.asm`, `.s`, and `.S` as valid assembly file extensions | gingerBill | 2021-11-26 | 1 | -0/+12 | |
| | | ||||||
| * | Add `-extra-assembler-flags` | gingerBill | 2021-11-24 | 1 | -0/+1 | |
| | | ||||||
| * | [timings-export] Add `-export-timings:format` + `-export-timings-file:filename`. | Jeroen van Rijn | 2021-11-09 | 1 | -1/+7 | |
| | | ||||||
| * | Improve matrix->matrix casting implementation | gingerBill | 2021-11-08 | 1 | -15/+26 | |
| | | ||||||
| * | Increase usage of `PtrMap` | gingerBill | 2021-11-05 | 1 | -1/+1 | |
| | | ||||||
| * | Add `ODIN_BUILD_MODE` | gingerBill | 2021-11-04 | 1 | -0/+19 | |
| | | ||||||
| * | Improve `wasm-import` semantics to allow procedures from different import paths | gingerBill | 2021-11-02 | 1 | -0/+2 | |
| | | ||||||
| * | Merge pull request #1252 from Kelimion/bug-report | gingerBill | 2021-10-31 | 1 | -7/+8 | |
| |\ | | | | | Add new `odin report` command. | |||||
| | * | Add `odin report` command to help with bug reports. | Jeroen van Rijn | 2021-10-31 | 1 | -7/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new Odin command, `odin report`, which prints information helpful to resolving or reporting a bug. ``` W:\Odin> odin report Where to find more information and get into contact when you encounter a bug: Website: https://odin-lang.org GitHub: https://github.com/odin-lang/Odin/issues Useful information to add to a bug report: Odin: dev-2021-10:256bebfe OS: Windows 10 Professional (version: 20H2), build 19042.1266 CPU: AMD Ryzen 7 1800X Eight-Core Processor RAM: 65469 MiB W:\Odin> TODO: - CPU name on ARM/ARM64 ``` | |||||
| * | | Disable `wasm64` | gingerBill | 2021-10-31 | 1 | -1/+1 | |
| | | | ||||||
| * | | Ignore `-use-separate-modules` when targeting wasm32/wasm64 | gingerBill | 2021-10-31 | 1 | -0/+3 | |
| | | | ||||||
| * | | Add `memmove` and `memset` support for `wasm` | gingerBill | 2021-10-31 | 1 | -2/+3 | |
| | | | ||||||
| * | | Add `wasi_wasm32` | gingerBill | 2021-10-31 | 1 | -4/+27 | |
| | | | ||||||
| * | | Attempt to get wasm64 compiling with the correct features enabled | gingerBill | 2021-10-31 | 1 | -8/+5 | |
| | | | ||||||
| * | | Compile `wasm64`; Add `lb_run_remove_unused_function_pass` | gingerBill | 2021-10-31 | 1 | -1/+5 | |
| | | | ||||||
| * | | Begin work on supporting `wasm64`; Correct `wasm32` compilation behaviour | gingerBill | 2021-10-30 | 1 | -3/+27 | |
| |/ | ||||||
| * | Copying file contents rather than memory mapping | gingerBill | 2021-10-12 | 1 | -0/+4 | |
| | | ||||||
| * | Add `-strict-style-init-only` | gingerBill | 2021-09-09 | 1 | -1/+1 | |
| | | ||||||
| * | Correct parsing rules for `#assert` directives for semicolons | gingerBill | 2021-08-31 | 1 | -0/+2 | |
| | | ||||||
| * | Make `-insert-semicolon` the default now | gingerBill | 2021-08-31 | 1 | -2/+4 | |
| | | ||||||
| * | Correct did you mean logic and make thread-safe-er | gingerBill | 2021-08-27 | 1 | -2/+3 | |
| | | ||||||