Commit Graph

  • a1558b3398 Update nightly.yml Mikkel Hjortshøj 2021-04-30 22:19:10 +02:00
  • 5f617c56e1 Minor stylistic code changes to compress and image packages gingerBill 2021-04-30 10:58:29 +01:00
  • 7ef30355cb Merge pull request #924 from Kelimion/core_compress Jeroen van Rijn 2021-04-30 11:33:41 +02:00
  • 06f1eaa153 Use regular allocator from png+gzip's load_from_file. Jeroen van Rijn 2021-04-30 09:35:43 +02:00
  • 58e023e0cf Add compress and image to core. Jeroen van Rijn 2021-04-30 00:21:52 +02:00
  • 222bab501c Disallow unnamed polymorphic records gingerBill 2021-04-29 11:00:14 +01:00
  • 9c6ab05981 fix tokenizer for ~= and better struct aligning Daniel Gavin 2021-04-29 00:51:24 +02:00
  • bee637aef1 Update Makefile for Linux gingerBill 2021-04-28 16:23:42 +01:00
  • d5844dfd2a Update llvm-config checking on Linux gingerBill 2021-04-28 16:07:46 +01:00
  • 3751322521 Add -no-pie flag to linker on Linux gingerBill 2021-04-28 15:36:29 +01:00
  • 71ac145f49 Remove dead code related to old backend gingerBill 2021-04-28 15:28:14 +01:00
  • e50ef33c2a Fix #921 gingerBill 2021-04-28 12:34:16 +01:00
  • 3061dd2497 Update build.bat to use wmic os get LocalDateTime /value instead of %DATE% which is not consistent across computers gingerBill 2021-04-28 11:56:47 +01:00
  • 088f4b5039 fix out of bounds with empty struct Daniel Gavin 2021-04-28 12:53:04 +02:00
  • 002184cd49 Merge pull request #920 from rasa-silva/patch-1 gingerBill 2021-04-28 11:20:47 +01:00
  • 02da4d61ae Fix Makefile for OSX Ricardo Silva 2021-04-28 11:15:05 +01:00
  • 102c29575b Allow @(test) to be ran outside of *_test.odin files gingerBill 2021-04-28 10:49:40 +01:00
  • 24fce21d90 Add "naked" calling convention (removes prologue and epilogue) gingerBill 2021-04-28 10:49:30 +01:00
  • afe185ee22 Fix procedure entity finding gingerBill 2021-04-27 21:08:18 +01:00
  • ffffb04d85 Remove unused import gingerBill 2021-04-27 17:21:52 +01:00
  • 17390cd317 Implement sync2.Recursive_Mutex using WaitOnAddress and friends on Windows gingerBill 2021-04-27 17:19:12 +01:00
  • 7ac80544a1 Max sync2.Sema on windows be i32 for the counter internally. gingerBill 2021-04-27 16:59:25 +01:00
  • 96b60d8779 Reimplement sync2.Sema on windows with WaitOnAddress primitives gingerBill 2021-04-27 16:56:11 +01:00
  • 24f2d97c0e Make atomic compare related intrinsics optional ok gingerBill 2021-04-27 16:55:39 +01:00
  • f6d98d2a16 Fix Makefile for macOs gingerBill 2021-04-27 13:29:14 +01:00
  • ab5460e2e2 Update CI gingerBill 2021-04-27 13:22:30 +01:00
  • cd1658e56c Update Makefile gingerBill 2021-04-27 13:14:54 +01:00
  • e7e1866e50 Fix #893 gingerBill 2021-04-27 13:09:37 +01:00
  • 51b198aa56 Merge remote-tracking branch 'upstream/master' into prototype-fmt Daniel Gavin 2021-04-27 00:06:30 +02:00
  • 94fd59e6f0 Make compound literals require trailing commas if followed by a newline gingerBill 2021-04-26 23:05:00 +01:00
  • c07ab5f9ad Change expr_level increment rules within a compound literal gingerBill 2021-04-26 23:02:00 +01:00
  • 06e0da97b7 Implement ODIN_ROOT #913 gingerBill 2021-04-26 22:56:32 +01:00
  • 04535b2913 Fix constant aliasing for debug information gingerBill 2021-04-26 22:36:20 +01:00
  • 6667b78c12 Correct core:os/os2 mock-up gingerBill 2021-04-26 22:08:15 +01:00
  • 7e0c78eae7 Fix logic for \n ignoring gingerBill 2021-04-26 21:39:49 +01:00
  • 6d1eb473cf Correct \n ignore rules gingerBill 2021-04-26 21:25:44 +01:00
  • 898245431f Make -strict-style the default #871 gingerBill 2021-04-26 21:07:58 +01:00
  • 43942a6199 Fix odin run on Windows gingerBill 2021-04-26 20:54:18 +01:00
  • 53c7e65c57 Merge pull request #914 from odin-lang/old-backend-removal gingerBill 2021-04-26 20:50:43 +01:00
  • a38586420c Fix race condition with procedure aliases checking for declarations on constant aliases gingerBill 2021-04-26 19:46:42 +01:00
  • 1aa9c49172 Remove warning for "Redundant 'auto_cast' applied to expression" gingerBill 2021-04-26 19:17:25 +01:00
  • 5a88fef483 Make corrections gingerBill 2021-04-26 18:07:34 +01:00
  • 43b55223af Merge branch 'master' into old-backend-removal gingerBill 2021-04-26 11:46:58 +01:00
  • aa846d0ea5 Fix union #maybe comparison against nil -llvm-api pre-dev-2021-04 gingerBill 2021-04-26 11:46:26 +01:00
  • 8d0428a8b3 Merge pull request #915 from wilsonk/issue-820 gingerBill 2021-04-26 10:50:06 +01:00
  • 86c1aed20d Fix for issue 820 (import name is not an identifier) Kelly Wilson 2021-04-25 23:26:12 -06:00
  • 1d628a5e3d Change how GIT_SHA is rendered in odin version gingerBill 2021-04-25 22:23:47 +01:00
  • af3784ebb6 Add -DODIN_VERSION_RAW to Makefile gingerBill 2021-04-25 22:19:34 +01:00
  • ff933ca37f Remove old shell scripts in favour of Makefile gingerBill 2021-04-25 22:13:01 +01:00
  • bbf79fc1d4 Add ODIN_VERSION_RAW define to build.bat gingerBill 2021-04-25 22:10:52 +01:00
  • 2af8e956a6 Change versioning system from v0.13.1 to dev-2021-04 gingerBill 2021-04-25 22:09:22 +01:00
  • 9ed826f6fb Remove import "core:runtime" from core:math/bits gingerBill 2021-04-25 21:51:33 +01:00
  • 07f9e551c1 Revert build.bat gingerBill 2021-04-25 21:38:29 +01:00
  • df4404e093 Fix typo in gb_get_env gingerBill 2021-04-25 21:24:33 +01:00
  • 583fd89fcf Add gb_get_env gingerBill 2021-04-25 21:22:15 +01:00
  • 2691c394e0 Add intrinsics.count_zeros gingerBill 2021-04-25 20:50:25 +01:00
  • 4662bad59c Remove unused file gingerBill 2021-04-25 20:31:35 +01:00
  • 7086b49ae6 Rename intrinsics to count_trailing_zeros and count_leading_zeros gingerBill 2021-04-25 20:26:11 +01:00
  • 72aa0e6e38 Replace many foreign llvm calls with intrinsics gingerBill 2021-04-25 20:22:26 +01:00
  • cb2e6ea31d Remove use_llvm_api related checks and other related things gingerBill 2021-04-25 20:03:05 +01:00
  • 74c683e908 Remove -llvm-api from CI gingerBill 2021-04-25 19:59:35 +01:00
  • 6383714bff Remove old procedure ABI code gingerBill 2021-04-25 19:56:46 +01:00
  • a25e796b00 Delete ir.cpp and related files gingerBill 2021-04-25 19:52:37 +01:00
  • 833784e196 Remove old backend specific code in main gingerBill 2021-04-25 19:51:57 +01:00
  • 66a70b9d27 Remove the need for LLVM_BACKEND_SUPPORT gingerBill 2021-04-25 19:49:29 +01:00
  • cd125c0f41 Override -llvm-api to always be true gingerBill 2021-04-25 19:46:48 +01:00
  • ff620422fa Fix #857 gingerBill 2021-04-25 19:40:02 +01:00
  • 5685a8d885 Fix #911 for -llvm-api backend gingerBill 2021-04-25 19:19:44 +01:00
  • b8327ad00d Merge pull request #912 from odin-lang/llvm-api-ci-changes gingerBill 2021-04-25 19:02:24 +01:00
  • 1bdce19c18 Update nightly.yml to support -llvm-api gingerBill 2021-04-25 18:44:05 +01:00
  • 041ff13672 Update CI for Linux gingerBill 2021-04-25 18:06:29 +01:00
  • 60a2eaf666 Revert changes to macOS Makefile gingerBill 2021-04-25 18:04:07 +01:00
  • ec2db568c1 Update Makefile for macOS to be more "correct" with Linux gingerBill 2021-04-25 15:57:35 +01:00
  • 1387fd9047 Make -llvm-api run first before old backend on Linux gingerBill 2021-04-25 15:52:24 +01:00
  • fb6288a54e Try specifying the specific libs on Linux gingerBill 2021-04-25 15:48:54 +01:00
  • 4d00058858 Try clang-11 gingerBill 2021-04-24 22:11:38 +01:00
  • 5c26cf9d73 Try llvm-config-11 in the Makefil gingerBill 2021-04-24 21:58:44 +01:00
  • 6048d25d36 Try llvm-config-11 gingerBill 2021-04-24 21:26:14 +01:00
  • 748f094e15 Add llvm-dev-11 to Linux CI (just testing) gingerBill 2021-04-24 21:20:18 +01:00
  • 184c686c7e Add clang-11 for Linux; blank out threading_example on darwin gingerBill 2021-04-24 21:13:40 +01:00
  • 240a568eb9 Update CI to run both old and new backends gingerBill 2021-04-24 21:09:35 +01:00
  • ad953c4670 Add cast on S_ISDIR gingerBill 2021-04-24 21:08:15 +01:00
  • 0f9b0c2052 Remove libllvm-11 gingerBill 2021-04-24 21:04:38 +01:00
  • cde334ada3 Modify flags in Makefile gingerBill 2021-04-24 21:03:22 +01:00
  • 2b4010998d Up ci.yml gingerBill 2021-04-24 20:55:50 +01:00
  • 4272fe5e85 Update Makefile to compile with LLVM C API gingerBill 2021-04-24 20:46:47 +01:00
  • c29b643a58 Move out some intrinsics into separate procedures in llvm_backend.cpp; Rename InlineRangeStmt to UnrollRangeStmt (eventually merge the two AST nodes) gingerBill 2021-04-24 15:00:01 +01:00
  • 87bfd31664 force all enums newlined if there is more than one line Daniel Gavin 2021-04-23 23:42:53 +02:00
  • 5fba548aa0 more fixes with wierd comment placements Daniel Gavin 2021-04-23 23:22:48 +02:00
  • aafbf5bac7 odinfmt Daniel Gavin 2021-04-23 22:55:59 +02:00
  • 951e940470 handle comments in stupid places Daniel Gavin 2021-04-23 21:52:27 +02:00
  • 3b5b845ea6 refractor Daniel Gavin 2021-04-23 16:45:55 +02:00
  • 3f9ad6ba09 fix proc group, struct align with internal structs Daniel Gavin 2021-04-23 16:33:11 +02:00
  • c9b82a21e9 Move check_builtin_procedure to check_builtin.cpp gingerBill 2021-04-23 10:01:52 +01:00
  • bd31a99bf7 Remove redundant auto_cast gingerBill 2021-04-23 09:50:26 +01:00
  • f10f7ebbf1 Merge remote-tracking branch 'upstream/master' into prototype-fmt Daniel Gavin 2021-04-23 10:24:05 +02:00
  • 17bbb48d8a Warn on redundant auto_cast, and make an error on -vet gingerBill 2021-04-22 17:36:28 +01:00
  • ac53577e9b Improve auto_cast logic gingerBill 2021-04-22 17:29:48 +01:00
  • 896057b5a7 Reuse unused 'context' variables to minimize stack usage (-llvm-api) gingerBill 2021-04-22 16:56:02 +01:00
  • 01db195b47 Make main calling convention "odin" rather than "contextless" to simplify code generation gingerBill 2021-04-22 16:26:28 +01:00