Commit Graph
100 Commits
Author SHA1 Message Date
gingerBillandflysand7 1be9833073 Convert mutex guard to "try lock" 2024-12-01 11:54:56 +11:00
gingerBillandflysand7 3c3c59fc03 Allow for odin help build etc 2024-12-01 11:54:56 +11:00
gingerBillandflysand7 329855e586 Delete imports of removed packages 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 d85de2e54e Remove core:c/frontend 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 514b537dd5 Improve odin help -foo usage 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 6baff9f1f8 Update radlink.exe 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 57e0c41982 Make lowercase 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 d613a9ee5a Fix typo 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 e58ac3cb8d Add -linker:<string> to replace -lld and -radlink 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 6963b0f3f2 Check for more errors in json.unmarshal 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 95731aceac Disallow -lld and -radlink to be used together 2024-12-01 11:54:54 +11:00
gingerBillandflysand7 3afde70513 Add radlink.exe 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 ec96939953 Add -radlink 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 5d38eb9d81 Remove relative types from json marshaller 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 e72736a5a8 Remove #relative types from the compiler 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 31c630dfea Make #relative types an error in parsing 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 95c812db78 Keep ASAN happy on type assertions 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 ddca55165d Remove duplicates in -defineables 2024-12-01 11:54:53 +11:00
gingerBillandflysand7 11768c6217 Minor formatting change 2024-12-01 11:54:52 +11:00
gingerBillandflysand7 619b382635 Fix previous commit for arrays 2024-12-01 11:54:52 +11:00
gingerBillandflysand7 50e46326a6 Fix bug for foo().bar where foo() is a 0-value expression 2024-12-01 11:54:52 +11:00
gingerBillandflysand7 fafac1bc77 Fix auto_cast matrix bug 2024-12-01 11:54:52 +11:00
gingerBillandflysand7 d5b6c25686 Fix #4406 os2 to not close the std file handles but rather just free the memory for the ^File data. 2024-12-01 11:54:52 +11:00
gingerBillandflysand7 197339d91d Add warning for unsigned >= 0 like conditions in a for loop 2024-12-01 11:54:51 +11:00
gingerBillandflysand7 e6a4f3048f Fix possible leak in recursive filepath.glob 2024-12-01 11:54:51 +11:00
gingerBillandflysand7 63f880ae80 Fix bug caused due to incorrect type checking looking for context not defined in a context 2024-12-01 11:54:51 +11:00
gingerBill 417e9bb37f Fix #4373 2024-10-13 22:26:04 +01:00
gingerBill 8006ba919e Improve formatting 2024-10-11 14:48:55 +01:00
gingerBill b839d06ac8 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-10-08 11:58:28 +01:00
gingerBill 131e8d4187 Disable exe path test 2024-10-08 11:57:54 +01:00
gingerBill c305c9dd04 [ABI FIX] Fix 128-bit ABI issues 2024-10-04 11:16:33 +01:00
gingerBill 53bb6c85f7 a ordered to an ordered 2024-10-02 15:48:58 +01:00
gingerBill 21d0b073b1 Sort flags on odin build -help - #4329 2024-10-02 15:43:13 +01:00
gingerBill 3498d4341d Fix #4330 2024-10-02 15:07:22 +01:00
gingerBill aeb568f79a Ignore package runtime with using -vet-unused-packages 2024-10-02 15:04:50 +01:00
gingerBill 9919a0cacd Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-30 15:35:52 +01:00
gingerBill 91dece1656 Change struct alignment rules for #max_field_align 2024-09-30 15:35:47 +01:00
gingerBill a7d7c92a53 #min_field_align & #max_field_align; deprecate #field_align in favour of #min_field_align 2024-09-30 13:05:28 +01:00
gingerBill 4b6410e225 ABI BREAKING for SysV: Change how multiple return values are handled to be separate like all other ABIs 2024-09-30 12:32:55 +01:00
gingerBill b173fa1b9a Fix LLVM 18 ABI for 128-bit integers (because LLVM broke things) 2024-09-30 11:45:24 +01:00
gingerBill 225ffdec36 Fix union comparison bug 2024-09-30 11:10:16 +01:00
gingerBill 90cb62c5ac Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-29 10:15:02 +01:00
gingerBill 4a616d97df Pass delta time instead of current time to odin.js step 2024-09-29 10:14:56 +01:00
gingerBill f7d74ff3a8 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-22 19:29:15 +01:00
gingerBill 95721fe296 Add gamepad support 2024-09-22 19:29:05 +01:00
gingerBill 66e83ef30d Add gamepad events 2024-09-22 16:24:46 +01:00
gingerBill 94288161e9 Add new js events 2024-09-22 15:52:04 +01:00
gingerBill 130318d003 Fix assert caused by typo 2024-09-22 14:19:31 +01:00
gingerBill 1ae57d8d20 Fix more JS stuff 2024-09-22 13:32:28 +01:00
gingerBill 26d00925cc Clean-up libc usage 2024-09-22 13:20:45 +01:00
gingerBill 634fa7aa30 Move vendor:wasm/js to core:sys/wasm/js 2024-09-22 13:13:34 +01:00
gingerBill 096258b5d5 Rename runtime.js to odin.js 2024-09-22 13:08:42 +01:00
gingerBill 6bdd572a30 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-22 13:04:29 +01:00
gingerBill c39b934e7f Remove unused imports 2024-09-22 13:04:23 +01:00
gingerBill 2c5be4e054 Use .shift() instead 2024-09-20 11:18:11 +01:00
gingerBill 02884207d5 Update wasm's runtime.js 2024-09-20 11:15:47 +01:00
gingerBill b116e8ff55 Fix 128-bit integer support for wasm targets 2024-09-20 01:29:39 +01:00
gingerBill a4dd489284 Add fmt tags 2024-09-19 17:12:47 +01:00
gingerBill 68960e7d0a Use #+ tags 2024-09-19 12:39:56 +01:00
gingerBill d560dad0d8 Add missing import that was accidentally deleted before commit 2024-09-19 12:09:30 +01:00
gingerBill 5441620b6c Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-19 12:06:36 +01:00
gingerBill 244907149a Move os stuff to OS specific files 2024-09-19 12:06:31 +01:00
gingerBill 8814170edf Merge branch 'master' of https://github.com/odin-lang/Odin 2024-09-18 00:13:44 +01:00
gingerBill e17dfcf7a2 Remove distinct from core:math/linalg/(glsl|hlsl) types 2024-09-18 00:13:34 +01:00
gingerBill 09588836e7 Add -vet-unused-procedures 2024-09-17 11:33:42 +01:00
gingerBill 19c1ed154c Add -vet-packages:<comma-separated-string-array> 2024-09-17 11:01:26 +01:00
gingerBill abf6ea7732 Fix minor bug with addressability 2024-09-17 10:24:19 +01:00
gingerBill 3166c7bef9 Add Suggested Example for using an inline procedure which enables a target feature 2024-09-12 10:07:09 +01:00
gingerBill 27ed10746d Allow transmute(Bit_Set)~T(0) 2024-09-11 23:08:38 +01:00
gingerBill 9b06ea5bfd Fix #4229 for edge case os.Error/os.Errno legacy bodge 2024-09-11 12:01:01 +01:00
gingerBill a25a9e6ebe Check for LLVM_VERSION_MAJOR >= 18 2024-09-09 14:47:44 +01:00
gingerBill 0dddd2b97e Add internal flag
`-internal-fast-isel`
2024-09-09 14:39:53 +01:00
gingerBill e72d0ba804 Move around mutex guard 2024-09-08 14:11:05 +01:00
gingerBill 5a4746c3a0 Improve debug information for procedure types 2024-09-07 17:41:16 +01:00
gingerBill 0a08a65202 Simplify #row_major matrix and matrix_flatten behaviour 2024-09-07 12:21:29 +01:00
gingerBill 6ba1506aa9 Fix possible leaks in os2.user_* calls 2024-08-31 15:12:47 +01:00
gingerBill b4bdb73158 Fix new(sync.Mutex) 2024-08-31 15:06:20 +01:00
gingerBill 476030dd28 Fix #4156 2024-08-31 13:51:35 +01:00
gingerBill a4e865f90b Fix #4166 2024-08-30 11:01:06 +01:00
gingerBill 9197a126fc Use XOR directly rather than (~x) & mask 2024-08-30 10:52:11 +01:00
gingerBill 38ea276231 Make ~some_bit_set work on only the possible bits by doing a mask with the full set 2024-08-30 10:48:21 +01:00
gingerBill 8694fa5f78 Minor cleanup of CFString.odin 2024-08-27 11:22:28 +01:00
gingerBill 8c952878fb Allow empty strings in link_prefix and link_suffix 2024-08-25 14:03:14 +01:00
gingerBill aa659a637a Fix #4132 2024-08-24 15:46:54 +01:00
gingerBill 0e71e93b22 Remove unused import 2024-08-24 14:51:28 +01:00
gingerBill 61b3af5b08 MemFree as a procedure group for both rawptr and cstring 2024-08-24 14:51:05 +01:00
gingerBill 19b95349a6 Use fmt.caprintf directly 2024-08-24 14:47:33 +01:00
gingerBill d0eaf7642d Add intrinsics.type_has_shared_fields 2024-08-24 14:36:18 +01:00
gingerBill eb799393d5 Fix -vet-tabs issues 2024-08-24 13:56:41 +01:00
gingerBill 8ba87e01bd Improve parse_enforce_tabs usage 2024-08-24 13:56:30 +01:00
gingerBill daccd72162 Merge branch 'master' of https://github.com/odin-lang/Odin 2024-08-24 13:36:51 +01:00
gingerBill 8b248673c1 Fix #4105 2024-08-24 13:36:43 +01:00
gingerBill b6d9a0c32e Manually implement tail-recursion for parse_if_stmt 2024-08-24 13:16:55 +01:00
gingerBill a4cc207022 Add a recursion depth limit for #3987 with a consideration to use a switch statement or refactor the code to not use a large if-else chain 2024-08-24 12:59:17 +01:00
gingerBill 683dde1fa0 Disallow labelled branches in defer - fix #3960 2024-08-24 12:47:29 +01:00
gingerBill ca4d91a8a3 Fix #4079 2024-08-24 12:26:41 +01:00
gingerBill 00fb60d3d9 #4115 Add Suggestion: 'typeid_of(T)' 2024-08-24 11:48:32 +01:00
gingerBill 68a83abcd6 #4119 Add error when doing {.A | .B} instead of {.A, .B} with a suggestion to do surround it in parentheses to make it clear it is intended 2024-08-24 11:44:59 +01:00
gingerBill 4458ca4585 Fix #4126 2024-08-24 11:40:02 +01:00
gingerBill c77e8ca401 Fix tests 2024-08-21 14:06:04 +01:00