aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Correct index to offset calculation for matrix compound literalsdev-2021-11gingerBill2021-11-023-9/+10
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-11-021-0/+8
|\
| * Merge pull request #1265 from Kelimion/bug_reportJeroen van Rijn2021-11-021-0/+8
| |\ | | | | | | `odin report` add Windows 10 Education Edition.
| | * `odin report` add Windows 10 Education Edition.Jeroen van Rijn2021-11-021-0/+8
| |/
* / Improve `wasm-import` semantics to allow procedures from different import pathsgingerBill2021-11-025-30/+66
|/
* Modify ABI for the wasm32gingerBill2021-11-011-8/+51
|
* Remove commentsgingerBill2021-11-011-10/+1
|
* Correct typo in soa data type debug information generationgingerBill2021-11-012-7/+10
|
* Merge pull request #1263 from Kelimion/ci_build_debugJeroen van Rijn2021-11-011-1/+10
|\ | | | | Don't run demo's `soa_struct` when under -debug.
| * Don't run demo's `soa_struct` when under -debug.Jeroen van Rijn2021-11-011-1/+10
| |
* | Merge pull request #1262 from Kelimion/ci_build_debugJeroen van Rijn2021-11-011-0/+12
|\| | | | | CI: Run demo with debug info.
| * CI: Run demo with debug info.Jeroen van Rijn2021-11-011-0/+12
|/
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-11-011-0/+4
|\
| * Merge pull request #1261 from Kelimion/bug_reportJeroen van Rijn2021-11-011-0/+4
| |\ | | | | | | Add Windows 10 Home Core detection.
| | * Add Windows 10 Home Core detection.Jeroen van Rijn2021-11-011-0/+4
| |/
* / Correct debug info for `matrix` typegingerBill2021-11-011-0/+1
|/
* Merge pull request #1259 from Kelimion/load_orJeroen van Rijn2021-11-011-2/+11
|\ | | | | Fix (#1258): #load and #load_or segfault when given no params.
| * Fix (#1258): #load and #load_or segfault when given no params.Jeroen van Rijn2021-11-011-2/+11
|/ | | | Fixes #1258.
* Merge pull request #1256 from Yawning/feature/volatile-memsetgingerBill2021-10-317-4/+30
|\ | | | | Add a way to securely scrub memory
| * core/mem: Add zero_explicitYawning Angel2021-10-311-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This call is intended to provide the ability to securely scrub memory without compiler interference, in a similar manner to explicit_bzero, memset_s, SecureZeroMemory. The approach taken is a volatile memset followed by a seqentially consistent memory fence, to prevent the call from being optimized away by DSE, and from being reordered. An identical approach is currently being used by the zeroize Rust crate, and is effective in practice. LLVM IR output: ``` ; Function Attrs: nounwind define internal i8* @mem.zero_explicit(i8* %0, i64 %1) #0 { decls: call void @llvm.memset.p0i8.i64(i8* %0, i8 0, i64 %1, i1 true) fence seq_cst ret i8* %0 } ```
| * core/intrinsics: Add mem_zero_volatileYawning Angel2021-10-315-4/+19
| |
| * build: Support the Fedora LLVM 11 packageYawning Angel2021-10-311-0/+2
|/ | | | | Fedora is on LLVM 12, and the backward compatibility package has a non-standard name for llvm-config.
* Change the behaviour change is for when a `bit_set` of range/enum and the ↵gingerBill2021-10-311-7/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | underlying type has been specified * If the lower bound is greater than zero, it will become zero (thus removing the compatification) * If the lower bound is negative, it is an error This means that an integer value N, maps directly to the N-th bit. Example ``` foo :: enum u8 { a = 2, b = 3, c = 4, } set0: bit_set[foo] set0 += {.a, .b} // internally set0 == 1<<(2-2) | 1<<(3-2) set1: bit_set[foo; u32] set1 += {.a, .b} // internally set1 == 1<<(2-0) | 1<<(3-0) ```
* Merge pull request #1252 from Kelimion/bug-reportgingerBill2021-10-315-21/+678
|\ | | | | Add new `odin report` command.
| * Add `odin report` command to help with bug reports.Jeroen van Rijn2021-10-315-21/+678
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ```
* | Merge pull request #1255 from odin-lang/wasi-wasmgingerBill2021-10-3129-472/+2667
|\ \ | | | | | | `wasi_wasm32` support
| * | Add procs for wasm32gingerBill2021-10-314-0/+21
| | |
| * | Correct `_start` export for wasm* targetsgingerBill2021-10-311-0/+5
| | |
| * | Disable `wasm64`gingerBill2021-10-312-4/+4
| | |
| * | Ignore `-use-separate-modules` when targeting wasm32/wasm64gingerBill2021-10-311-0/+3
| | |
| * | Add default_allocators_wasi.odingingerBill2021-10-311-0/+32
| | |
| * | Separate out the ABI for wasm32 from 386gingerBill2021-10-311-1/+65
| | |
| * | Stub out os.open for wasigingerBill2021-10-311-47/+1
| | |
| * | Update wasi to use `string` and slice typesgingerBill2021-10-313-204/+303
| | |
| * | Correct string usagegingerBill2021-10-311-27/+37
| | |
| * | Add basic support for wasi in package osgingerBill2021-10-312-10/+36
| | |
| * | Separate os-specific things to separate filegingerBill2021-10-312-33/+37
| | |
| * | Add os_specific_wasi.odingingerBill2021-10-311-0/+10
| | |
| * | Correct wasi linkinggingerBill2021-10-311-198/+218
| | |
| * | Add `memmove` and `memset` support for `wasm`gingerBill2021-10-314-12/+51
| | |
| * | Move `sys/wasi` to `sys/wasm/wasi`gingerBill2021-10-311-228/+226
| | |
| * | Add `wasi_wasm32`gingerBill2021-10-319-216/+163
| | |
| * | Add `core:sys/wasi`gingerBill2021-10-311-0/+1819
| | |
| * | Attempt to get wasm64 compiling with the correct features enabledgingerBill2021-10-312-9/+5
| | |
| * | Compile `wasm64`; Add `lb_run_remove_unused_function_pass`gingerBill2021-10-3110-37/+128
| | |
| * | Begin work on supporting `wasm64`; Correct `wasm32` compilation behaviourgingerBill2021-10-307-155/+212
| |/
* | Merge pull request #1254 from awwdev/mastergingerBill2021-10-311-1/+1
|\ \ | |/ |/| remove prefix from Mix_LoadWAV
| * remove prefix from Mix_LoadWAVAndré2021-10-311-1/+1
|/
* `big.Rat` (Experimental)gingerBill2021-10-295-14/+614
|
* Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2021-10-291-5/+49
|\