| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add -minimum-os-version flag | Jeroen van Rijn | 2022-11-01 | 1 | -7/+7 |
| | | | | | | Allow for Darwin targets to specify the minimum OS version: e.g. -minimum-os-version:12.0.0 | ||||
| * | Revert "Fix #2112" | Jeroen van Rijn | 2022-10-08 | 1 | -10/+30 |
| | | |||||
| * | Fix #2112 | Jeroen van Rijn | 2022-10-08 | 1 | -30/+10 |
| | | |||||
| * | fix target features to make wasm intrinsics happy | Colin Davidson | 2022-09-21 | 1 | -2/+5 |
| | | |||||
| * | Correct `get_fullpath_relative` to remove all trailing path separators (`/` ↵ | gingerBill | 2022-09-21 | 1 | -0/+9 |
| | | | | | and `\`) | ||||
| * | Fix `ODIN_BUILD_PROJECT_NAME` | gingerBill | 2022-09-12 | 1 | -6/+6 |
| | | |||||
| * | Add `ODIN_BUILD_PROJECT_NAME` and `//+build-project-name` | gingerBill | 2022-09-08 | 1 | -0/+7 |
| | | | | | | | | | | | | | This allows for condition inclusion of files, similar to `+build` or `ODIN_BUILD`, but relies on the directory name of the project to be the same as specified Example: odin build foo/bar/baz ODIN_BUILD_PROJECT_NAME == "baz" //+build_project_name baz | ||||
| * | Allow Odin to find itself if it's in PATH on OpenBSD, because reasons. | Jeroen van Rijn | 2022-09-04 | 1 | -3/+66 |
| | | |||||
| * | Correct max alignment handling throughout the llvm backend | gingerBill | 2022-08-24 | 1 | -10/+12 |
| | | |||||
| * | Add extra max alignment parameter for metrics (specifically for SIMD) | gingerBill | 2022-08-24 | 1 | -52/+29 |
| | | |||||
| * | EXPERIMENTAL `intrinsics.valgrind_client_request` | gingerBill | 2022-08-17 | 1 | -0/+3 |
| | | |||||
| * | find windows sdk bin path for rc.exe | Ian Lilley | 2022-08-07 | 1 | -4/+4 |
| | | |||||
| * | Fix compilation on non-windows platforms | gingerBill | 2022-07-09 | 1 | -0/+2 |
| | | |||||
| * | Fix wasm compilation in windows | gingerBill | 2022-07-09 | 1 | -2/+2 |
| | | |||||
| * | Merge pull request #1807 from odin-lang/simd-dev | gingerBill | 2022-05-31 | 1 | -2/+116 |
| |\ | | | | | Generic #simd type and intrinsics | ||||
| | * | `@(require_target_feature=<string>)` `@(enable_target_feature=<string>)` | gingerBill | 2022-05-30 | 1 | -2/+107 |
| | | | | | | | | | | | require_target_feature - required by the target micro-architecture enable_target_feature - will be enabled for the specified procedure only | ||||
| | * | Add `intrinsics.x86_cpuid` and `intrinsics.x86_xgetbv` | gingerBill | 2022-05-28 | 1 | -0/+9 |
| | | | |||||
| * | | Additional cleanup of microsoft_craziness.h. | Jeroen van Rijn | 2022-05-27 | 1 | -0/+10 |
| | | | |||||
| * | | Refactor ms_craziness.h | Jeroen van Rijn | 2022-05-27 | 1 | -11/+5 |
| |/ | |||||
| * | Fix `odin build examples\demo\` trailing slash handling. | Jeroen van Rijn | 2022-05-24 | 1 | -1/+6 |
| | | |||||
| * | Begin to add support for experimental wasm64 | gingerBill | 2022-05-21 | 1 | -1/+11 |
| | | |||||
| * | Fix typo | gingerBill | 2022-05-21 | 1 | -1/+1 |
| | | |||||
| * | Fix building issues with arm32 | gingerBill | 2022-05-01 | 1 | -17/+27 |
| | | |||||
| * | 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 |
| | | |||||