Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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
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 b427bd8105 Correct XXH_DISABLE_PREFETCH usage 2021-09-18 12:59:54 +01:00
gingerBill 05ac2002e0 Force file copy on odin strip-semicolon 2021-09-18 12:52:43 +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
gingerBill 54b7ed5b52 Update foreign imports for linux 2021-09-17 14:11:43 +01:00
gingerBill 64f5ba6ba1 Add the remaining of the miniaudio API 2021-09-17 14:09:45 +01:00
gingerBill f38b7ebf42 Begin adding vendor:miniaudio 2021-09-17 12:57:52 +01:00
gingerBill 4cb7f05644 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-16 23:03:25 +01:00
gingerBill 91d089ffe2 Minor clean up to strings.odin 2021-09-16 23:03:16 +01:00
gingerBill de00c7c9a8 Add bits.log2 2021-09-15 15:18:20 +01:00
gingerBill 736a763859 Add stb libs for Windows directly 2021-09-15 14:30:11 +01:00
gingerBill 4eda1b0598 Update appropriate parameters to the corresponding boolean types 2021-09-15 14:21:31 +01:00
gingerBill 2e21312059 Remove -march=native from stb/src/Makefile 2021-09-15 14:09:12 +01:00
gingerBill 22218fff67 Update vendor/README.md 2021-09-14 22:59:35 +01:00
gingerBill e7ea09a93b Add vendor:stb/vorbis 2021-09-14 22:35:22 +01:00
gingerBill 6f182ae5ae Add vendor:stb/easy_font -- source port of stb_easy_font.h 2021-09-14 22:12:23 +01:00
gingerBill 43ebee4e91 Revert build.bat 2021-09-14 21:44:41 +01:00
gingerBill cb2437959c Add stb_image_resize to vendor:stb/image 2021-09-14 21:44:26 +01:00
gingerBill da14292369 Minor corrections to stb_truetype.odin 2021-09-14 18:22:04 +01:00
gingerBill b0d5dde3d7 Add build_vendor.bat 2021-09-14 18:12:14 +01:00
gingerBill 7189625cf5 Add stb libraries (image+image_write, rect_pack, truetype) 2021-09-14 17:54:50 +01:00
gingerBill 526a42c6ca Remove custom alignment limit 2021-09-13 16:44:01 +01:00
gingerBill 8de728e3dc LLVM Code Generator: Add explicitly padding between fields in LLVM struct types 2021-09-13 16:40:24 +01:00
gingerBill be68bf9f26 Only store field_index remove field_src_index (for the time being) 2021-09-13 11:29:46 +01:00
gingerBill 15c309b0b8 Make permanent_allocator() thread local 2021-09-13 01:39:41 +01:00
gingerBill 042dbda47f Replace many uses of heap_allocator() with permanent_allocator() 2021-09-13 01:30:30 +01:00
gingerBill 2d7aea79b9 Make TypeStructl.tags a pointer from a slice (reduce memory usage) 2021-09-13 01:23:37 +01:00
gingerBill 31ed4f15a8 Remove debug code 2021-09-13 01:14:31 +01:00
gingerBill 71bffd46dc Reduce size of Type 2021-09-13 01:14:17 +01:00
gingerBill f5bc95eb34 More culling 2021-09-13 01:07:24 +01:00
gingerBill fb8fa5217d Begin minimize Type size by replacing Array with Slice etc 2021-09-13 00:58:39 +01:00
gingerBill 6585601765 Sort enums 2021-09-12 18:51:22 +01:00
gingerBill 2a1193ee54 Add heuristics to make pointers [^] where appropriate for vulkan 2021-09-12 18:50:02 +01:00
gingerBill 519308a16a Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-12 16:47:24 +01:00
gingerBill 3195fac92b Fix slice indices endianness 2021-09-12 16:47:17 +01:00
gingerBill 15921d032c Correct endianness on slicing 2021-09-12 16:45:57 +01:00
gingerBill 9e018b642e Fix typo 2021-09-11 17:32:06 +01:00
gingerBill 7260d3cecb Add intrinsics.prefetch_* procedures 2021-09-11 17:30:44 +01:00
gingerBill c51c002ffa Update Windows to LLVM 12.0.1 2021-09-11 17:06:29 +01:00
gingerBill a5b4b73544 Add error message for minimum required LLVM 2021-09-11 16:53:39 +01:00
gingerBill e3359a2639 Prepare for LLVM 12.0.1 compatibility 2021-09-11 16:53:18 +01:00
gingerBill 344abf2cb2 Make core and vendor adhere to -vet, -strict-style, and -disallow-do 2021-09-11 16:40:19 +01:00
gingerBill 93593f4721 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-11 16:33:12 +01:00
gingerBill ab85571ae6 Minor improvements to mem.odin 2021-09-11 16:33:05 +01:00
gingerBill 1f1d8ef884 Use [^] where appropriate 2021-09-10 23:53:16 +01:00
gingerBill 6899c7b7dd Using vendor:vulkan types in vendor:sdl2 where appropriate 2021-09-10 23:45:39 +01:00
gingerBill b712c84afb Fix typo 2021-09-10 16:37:43 +01:00
gingerBill 9980f81062 Add other constants to c and libc 2021-09-10 16:14:39 +01:00
gingerBill 297cdde144 Change defaults of c.int_fast16_t on other platforms 2021-09-10 16:08:39 +01:00
gingerBill 461ca40848 Add procs.odin 2021-09-10 16:01:17 +01:00
gingerBill 12af657369 Unify memset usage across platforms and core:c/libc 2021-09-10 15:59:14 +01:00
gingerBill c519ab9401 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-10 15:42:00 +01:00
gingerBill 99df0f1b12 libc changes: unify c and libc types; Add [^]T where appropriate 2021-09-10 15:41:51 +01:00
gingerBill e65e0b5db2 Add -strict-style-init-only 2021-09-09 11:06:19 +01:00
gingerBill 56bd1e2d70 Simplify strings.write_byte and strings.write_bytes 2021-09-09 00:38:16 +01:00
gingerBill 2786c30736 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-08 21:10:34 +01:00
gingerBill 18ca975d33 Update raylib.lib 2021-09-08 21:10:29 +01:00
gingerBill 027d69678a Add vendor/raylib/rlgl.odin 2021-09-08 19:40:18 +01:00
gingerBill 0262539f68 Add vendor/raylib/easings.odin 2021-09-08 19:11:35 +01:00
gingerBill bff66ff600 Remove unnecessary operations 2021-09-08 19:07:25 +01:00
gingerBill d36329b8ec Add binaries for raylib on "linux" and "darwin" 2021-09-08 18:15:20 +01:00
gingerBill 7e859c3e75 Update vendor/README.md 2021-09-08 18:10:10 +01:00
gingerBill 5bcb47989d Allow vendor:raylib to use core:math/linalg types with -define:RAYLIB_USE_LINALG=true 2021-09-08 18:08:38 +01:00
gingerBill e5fbf45c42 Add vendor:raylib (core only) 2021-09-08 18:04:05 +01:00
gingerBill 123db3a23d Fix typo 2021-09-08 14:55:07 +01:00
gingerBill d29a0c6680 Add a minimum alignment on *nix for the compiler in heap_allocator_proc 2021-09-08 14:53:42 +01:00
gingerBill ff40e47042 Merge branch 'master' of https://github.com/odin-lang/Odin 2021-09-08 14:45:59 +01:00
gingerBill 76419383a8 Add some minor sanity checks to the compiler's heap_allocator_proc on Darwin 2021-09-08 14:45:53 +01:00
gingerBill 3aa2924a06 Remove trailing ; in vulkan wrapper 2021-09-08 13:28:41 +01:00
gingerBill 36151d227a Update vulkan generator tool 2021-09-08 13:22:29 +01:00
gingerBill e0ee59084e Add calling convention "system" which is an alias for "stdcall" on Windows and "cdecl" on other platforms 2021-09-08 13:22:03 +01:00
gingerBill 8ff898079f Minor correct for freebsd 2021-09-08 13:14:23 +01:00
gingerBill 5006674a9b Correct math/big 2021-09-08 13:14:13 +01:00
gingerBill ca33cb990b Strip semicolons in core which were missing 2021-09-08 13:12:38 +01:00
gingerBill d4f5ef046d Remove goto in favour of multiple exits 2021-09-08 11:58:01 +01:00
gingerBill 30554f4758 Correct PointInRect 2021-09-08 11:49:30 +01:00
gingerBill 83bd7c73c4 Fix #1120 code generation 2021-09-08 11:49:07 +01:00
gingerBill 3754af62d6 Correct "contextless" stuff in mem 2021-09-08 11:43:00 +01:00
gingerBill 12296cec2c Fix typo 2021-09-08 11:38:22 +01:00
gingerBill a9f4273514 Make many mem procedures "contextless" 2021-09-08 11:18:05 +01:00
gingerBill 72508dbce3 Fix code gen bug for slicing multi pointers 2021-09-08 11:14:26 +01:00
gingerBill 3e459ba16b Correct SDL.OpenURL 2021-09-08 11:09:24 +01:00
gingerBill 0434281f73 Strip semicolons; Make odin strip-semicolon replace .. with ..= if used as a binary operator 2021-09-06 20:15:59 +01:00
gingerBill 3bf005bfc5 Remove redundant semicolons from comments 2021-09-06 20:05:41 +01:00