Commit Graph

4663 Commits

Author SHA1 Message Date
gingerBill
6fa3c992b5 mem.Raw_* alias runtime.Raw_* 2021-09-25 17:29:51 +01:00
gingerBill
868c923770 Make map internals more robust when using mem.nil_allocator() 2021-09-25 15:55:27 +01:00
gingerBill
fa0d58f96e Correct f64 -> u128/i128 generation 2021-09-25 15:38:56 +01:00
gingerBill
ebc09d5e4e Add i128 and u128 parsers to strconv 2021-09-25 14:30:50 +01:00
gingerBill
bfc92d0aaf Make runtime.memset use int for the length from uint 2021-09-23 23:43:29 +01:00
gingerBill
8c4197af38 Add #load_or(path_string, default_byte_slice) 2021-09-23 23:32:46 +01:00
gingerBill
374f98356c Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-23 23:25:26 +01:00
gingerBill
20529c6512 Minor simplification to #assert and #panic parsing 2021-09-23 23:25:13 +01:00
gingerBill
ea555c0ccd Simplify directive parsing for expressions 2021-09-23 23:22:16 +01:00
gingerBill
0d20190b0f Merge pull request #1193 from thePHTest/master
Correct levenshtein distance
2021-09-23 17:55:16 +01:00
Phil H
3ac13d2028 Correct levenshtein distance 2021-09-23 09:22:28 -07:00
Jeroen van Rijn
868d9ba534 Merge pull request #1191 from Kelimion/vulkan-fix
vendor:vulkan: Remove unused core:c import.
2021-09-23 05:29:53 -07:00
Jeroen van Rijn
c0437330e9 vendor:vulkan: Remove unused core:c import. 2021-09-23 14:21:12 +02:00
gingerBill
6a86b3c82b Cleanup hash implementation 2021-09-23 12:41:48 +01:00
gingerBill
a7f59ab388 Add asserts to begin_window and begin_panel 2021-09-23 12:40:40 +01:00
gingerBill
5586c6b9c5 Update microui/README.md 2021-09-23 12:20:44 +01:00
gingerBill
964a09ef7a Add vendor:microui
This is a direct port in Odin, not bindings; utilizing Odin's rich type system
2021-09-23 12:20:01 +01:00
gingerBill
360f75a65c Keep -vet happy 2021-09-23 12:19:08 +01:00
Jeroen van Rijn
0201fa3fbb Merge pull request #1189 from strager/patch-1
Fix indentation typo
2021-09-22 01:46:38 -07:00
strager
31daf80aea Fix indentation typo 2021-09-21 23:02:15 -07:00
Jeroen van Rijn
76fa037ca7 Merge pull request #1186 from Kelimion/crc64
Add CRC-64 variants: ISO 3306, ECMA 182, XZ
2021-09-21 07:36:03 -07:00
Jeroen van Rijn
6e22a6dfa5 hash: Smaller CRC-64 ISO 3306 table. 2021-09-21 16:28:35 +02:00
Jeroen van Rijn
181eabcffc hash: Add CRC-64 (ISO 3306) and inverse. 2021-09-21 16:17:01 +02:00
Jeroen van Rijn
b600ffba3b Correct CRC-64 (ECMA 182) & add CRC-64 (XZ) and tests. 2021-09-21 15:17:23 +02:00
Jeroen van Rijn
b3dc3f5908 Merge pull request #1182 from DanielGavin/parser-fix
Make optional semicolons the default on odin/parser, and add parser test on demo.odin
2021-09-20 12:10:19 -07:00
Daniel Gavin
0a11a6e1f6 Merge remote-tracking branch 'upstream/master' into parser-fix 2021-09-20 20:56:07 +02:00
Daniel Gavin
46d99395ce typo in filename 2021-09-20 20:53:39 +02:00
Daniel Gavin
50ee65ea9e Make default_parser use the optional_semicolons and add odin parser test. 2021-09-20 20:50:01 +02:00
Jeroen van Rijn
5840bfba62 Merge pull request #1181 from DanielGavin/parser-fix
Fix parser errors
2021-09-20 11:23:42 -07:00
Daniel Gavin
a2a7647c90 Fix '>>' operand being tokenized correctly and switch statement with bare semicolon. 2021-09-20 20:12:13 +02:00
Jeroen van Rijn
70dff11b29 Merge pull request #1178 from Kelimion/new_clone
fix mem.new_clone
2021-09-19 13:19:42 -07:00
Jeroen van Rijn
eb9665f836 fix mem.new_clone 2021-09-19 22:19:06 +02:00
Jeroen van Rijn
bf15e63130 Revert "Merge pull request #1177 from Kelimion/new_clone"
This reverts commit efa513262e, reversing
changes made to daccfca11d.
2021-09-19 22:16:02 +02:00
Jeroen van Rijn
efa513262e Merge pull request #1177 from Kelimion/new_clone
New clone
2021-09-19 13:13:44 -07:00
Jeroen van Rijn
64ce55944a fix mem.new_clone 2021-09-19 22:10:19 +02:00
gingerBill
daccfca11d Merge pull request #1166 from krux02/minor-fix-2
fix compiler crash in ast_end_token
2021-09-19 12:03:11 +01:00
gingerBill
ee876ad66b Strip semicolons 2021-09-19 11:59:44 +01:00
gingerBill
ceebd7b23c Correct context.allocator usage 2021-09-19 11:59:31 +01:00
Jeroen van Rijn
e760535dba lz4: Start of implementation. 2021-09-19 12:51:07 +02:00
Jeroen van Rijn
2b77f5b72f Merge pull request #1175 from Kelimion/defer_delete
Make sure to `delete` on the right allocator.
2021-09-19 03:19:33 -07:00
Jeroen van Rijn
72fe1e88a3 Make sure to delete on the right allocator. 2021-09-19 12:19:01 +02:00
gingerBill
505113ee2d Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-18 15:11:15 +01:00
gingerBill
71f2289c20 Fix #1174 2021-09-18 15:10:29 +01:00
gingerBill
21b6ef8757 Merge pull request #1156 from odin-lang/llvm-12.0.1-windows
Update Windows to LLVM 12.0.1
2021-09-18 13:03:29 +01:00
gingerBill
b427bd8105 Correct XXH_DISABLE_PREFETCH usage 2021-09-18 12:59:54 +01:00
gingerBill
6855538729 Merge branch 'master' into llvm-12.0.1-windows 2021-09-18 12:55:13 +01:00
gingerBill
05ac2002e0 Force file copy on odin strip-semicolon 2021-09-18 12:52:43 +01:00
gingerBill
73427d3ab3 Merge pull request #1173 from odin-lang/vendor-miniaudio
`vendor:miniaudio`
2021-09-18 11:58:46 +01:00
gingerBill
3713f11461 Refactor init_tokenizer_with_data to file memory mapping (Windows only currently) 2021-09-18 11:58:27 +01:00
gingerBill
08ae186d8e Correct foreign import paths 2021-09-17 14:42:39 +01:00