Commit Graph

5259 Commits

Author SHA1 Message Date
gingerBill
6543491148 Clean up code for queue (no logic changed) dev-2022-01 2022-01-02 15:31:47 +00:00
gingerBill
3cbf9c3719 Fix #1381 2022-01-02 14:45:39 +00:00
gingerBill
50188f0308 Add sort.map_entries_by_key sort.map_entries_by_value 2022-01-01 17:13:11 +00:00
gingerBill
a60b9735a2 Add core:container/queue 2022-01-01 15:46:22 +00:00
gingerBill
a032a2ef32 Remove the hidden NUL byte past the end from bytes.clone 2022-01-01 15:33:19 +00:00
gingerBill
f364ac60c2 Remove the hidden NUL byte past the end from strings.clone 2022-01-01 15:31:51 +00:00
gingerBill
43763ddfda Correct _shift_down logic 2022-01-01 13:44:37 +00:00
gingerBill
70ed280c5a Fix typo in priority_queue.odin and add default_swap_proc 2022-01-01 13:11:53 +00:00
gingerBill
0d7cb02386 Fix conversion from float to quaternion 2021-12-31 23:20:14 +00:00
gingerBill
bdf66bb1e1 Correct abs type behaviour for quaternions 2021-12-31 22:54:12 +00:00
Jeroen van Rijn
9b5cfe2677 Merge pull request #1401 from zhibog/extend-crypto-api
Extended crypto Hash API by variants that write the result into a destinat…
2021-12-31 13:27:56 +01:00
zhibog
42033ea808 Extended crypto API by variants that write the result into a destination buffer, instead of returning it 2021-12-31 13:16:11 +01:00
gingerBill
c7ff296bef Change the implementation of Priority_Queue to have a better interface that allows for a less and swap procedure 2021-12-30 13:42:10 +00:00
gingerBill
ed742846cb Correct lb_emit_ptr_offset bug caused by LLVMConstGEP assuming a signed index 2021-12-29 15:01:56 +00:00
gingerBill
ed8b20da78 Add core:container/priority_queue 2021-12-29 14:38:39 +00:00
gingerBill
c987b84292 Move bash.djbx33a to hash.odin 2021-12-29 12:24:47 +00:00
gingerBill
a9b17b5a37 Add hash.djbx33a 2021-12-29 12:01:07 +00:00
gingerBill
a66f859fb4 Minor improvements to core:container/small_array 2021-12-29 11:58:27 +00:00
gingerBill
c46e7eda1d Add core:container/small_array 2021-12-29 11:26:22 +00:00
Jeroen van Rijn
b0817d136b Merge pull request #1354 from Kelimion/bit_vector
[core:container/bit_array] Create new package.
2021-12-28 15:51:45 +01:00
Jeroen van Rijn
53e30e4621 [core:container/bit_vector] Create new package.
A dynamic bit array, optionally allowing negative indices.
2021-12-28 15:38:12 +01:00
gingerBill
dbf42d2469 make slice.as_ptr return [^]E 2021-12-28 14:16:27 +00:00
gingerBill
36c61aeacf Merge pull request #1350 from thePHTest/json-typo
Fix 'unmarsal' typo in core/encoding/json/unmarshal.odin
2021-12-28 14:11:27 +00:00
gingerBill
289b0422bd Merge pull request #1372 from ryuukk/patch-1
[WASM] Added missing zoffset parameters to some gl functions
2021-12-28 14:11:11 +00:00
gingerBill
78359f0c16 Merge pull request #1379 from weshardee/master
___$startup_runtime for MacOS
2021-12-28 14:09:42 +00:00
gingerBill
3f8c6a6745 Merge pull request #1396 from Platin21/feature/fix-matrix-return
Fixes Matrix/Float return on Arm64
2021-12-28 14:07:13 +00:00
gingerBill
5d653a9d8e Merge branch 'master' of https://github.com/odin-lang/Odin 2021-12-28 14:05:18 +00:00
gingerBill
7f61a90ea1 Remove core:container contents 2021-12-28 14:05:09 +00:00
Platin21
982ec1e58b Merge remote-tracking branch 'origin/master' into feature/fix-matrix-return 2021-12-27 22:11:08 +01:00
Platin21
86f831ddd1 This adds code which checks how big the return is and if it is to big returns the value via sret 2021-12-27 22:10:52 +01:00
Jeroen van Rijn
6f370fdbf2 Merge pull request #1394 from Tetralux/parse-allman-for
core:odin/parser: Fix parsing of Allman style braces in for loops
2021-12-25 20:24:30 +01:00
Tetralux
a60667e900 core:odin/parser: Fix parsing of Allman style braces in for loops 2021-12-25 19:18:29 +00:00
Jeroen van Rijn
6889cb6fe2 Merge pull request #1393 from Tetralux/odin-parse-no-nil
core:odin/parser: Parse #no_nil on unions
2021-12-25 20:12:01 +01:00
Tetralux
9b2fe56d14 Parse #no_nil on unions 2021-12-25 18:58:08 +00:00
Jeroen van Rijn
eec61c3f6f Merge pull request #1388 from Yawning/feature/linux-aarch64
src: Add preliminary support for Linux AArch64
2021-12-23 04:17:42 +01:00
Yawning Angel
dce120258f src: Add preliminary support for Linux AArch64
Tested via `tests/core`, on a Raspberry Pi 4 running the latest
64-bit Raspberry Pi OS image (LLVM 11).
2021-12-23 02:46:32 +00:00
gingerBill
5752a374ab Merge pull request #1386 from Platin21/feature/fix-arm64
Removes unneeded lookups / Adds sret to call site which fixes the mac…
2021-12-23 01:06:39 +00:00
Platin21
8dbeed8a9f Removes unneeded lookups / Adds sret to call site which fixes the mac bug 2021-12-23 01:59:31 +01:00
gingerBill
84d774c7b4 Merge pull request #1382 from Tetralux/rename-to-dynamic
Rename slice.to_dynamic to slice.clone_to_dynamic
2021-12-21 10:26:36 +00:00
Tetralux
e2b36c4004 Rename slice.to_dynamic to slice.clone_to_dynamic 2021-12-21 02:17:24 +00:00
gingerBill
8453a6cbdb Merge pull request #1380 from Platin21/feature/llvm-version-check
Adds version check for Apple Silicon for LLVM Version
2021-12-19 21:15:54 +00:00
Platin21
3e465c7e84 Changes to required llvm version 13 as both 12 and 11 don't work correctly on macOS Apple Silicon 2021-12-19 21:51:51 +01:00
Wes Hardee
92ce7defb1 Merge branch 'master' of https://github.com/weshardee/Odin 2021-12-18 12:43:33 -06:00
Wes Hardee
a48317deee use '___$startup_runtime' for MacOS
MacOS needs 3 underscores unlike the 2 needed by Linux.
2021-12-18 12:43:24 -06:00
gingerBill
0548db4230 Disallow @(static) and @(thread_local) within defer statements 2021-12-17 11:06:17 +00:00
gingerBill
aba6d2e52c Merge pull request #1374 from indiscible/fix-mathprod
fix math.prod
2021-12-16 18:34:10 +00:00
gilles
4ebdb6740e fix math.prod
accumulator was not initialized to one
2021-12-16 18:55:51 +01:00
ryuukk
d0240b8981 [WASM] Added missing zoffset parameters to some gl functions 2021-12-15 06:12:26 +01:00
gingerBill
4423bc0706 Fix typo 2021-12-12 01:10:40 +00:00
gingerBill
8c72813b85 Merge pull request #1364 from RehkitzDev/fix-webgl-glue
Fix storeInt call in webgl glue code
2021-12-11 17:52:45 +00:00