Commit Graph
100 Commits
Author SHA1 Message Date
gingerBill 4daf098a3a Fix defer on explicit return of a procedure with no return values for llvm-api 2020-08-27 11:06:44 +01:00
gingerBill d31c63c0ae Fix #714 2020-08-27 00:11:02 +01:00
gingerBill c783840eab Fix #642 2020-08-26 23:20:25 +01:00
gingerBill d3eca21e40 Fix style in parse.odin 2020-08-26 22:48:32 +01:00
gingerBill df3690c32a Revert accidental removal of #const for procedure variable parameters #718 2020-08-26 22:46:54 +01:00
gingerBill 999d1a022d Merge branch 'master' of https://github.com/odin-lang/Odin 2020-08-26 22:41:06 +01:00
gingerBill 1f2f3cb315 Fix #712 2020-08-26 22:40:03 +01:00
gingerBill b9b2b90f0c Merge branch 'master' of https://github.com/odin-lang/Odin 2020-08-18 21:12:02 +01:00
gingerBill a6a7395be7 Update unicode/letter.odin 2020-08-18 21:11:51 +01:00
gingerBill e7f54d25d6 Add mem.Allocator_Query_Info and mem.query_info 2020-08-16 23:05:33 +01:00
gingerBill 033b46def8 Add mem.Allocator_Mode.Query_Features, mem.Allocator_Mode_Set, mem.query_features` 2020-08-16 22:07:40 +01:00
gingerBill 1f571f48e5 Add mem.Tracking_Allocator 2020-08-16 21:29:14 +01:00
gingerBill ec178825ec Add more sort.compare_* procedures 2020-08-16 12:40:28 +01:00
gingerBill 6158a49618 Make sync.atomic_* operations use when statements instead of switch; Make #panic diverging 2020-08-16 12:34:12 +01:00
gingerBill 674aeffee4 Fix typo 2020-08-12 19:15:47 +01:00
gingerBill 546759bdef Fix multi_logger_proc to check for lowest_level 2020-08-12 19:01:25 +01:00
gingerBill fa903fb4df Fix #674 2020-08-06 00:09:36 +01:00
gingerBill 5164d1d866 Fix named results but in ir.cpp 2020-08-05 23:43:23 +01:00
gingerBill b6e33a1e64 Ensure add_type_info_type and add_min_dep_type_info are consistent 2020-08-05 23:36:31 +01:00
gingerBill f5248a8d9d Fix #705 2020-08-05 23:33:35 +01:00
gingerBill 74ed779616 Fix #702 2020-08-05 23:14:11 +01:00
gingerBill 9f24188ec8 Fix #708 2020-08-05 22:51:24 +01:00
gingerBill 5551404be4 Fix gb_alloc_str_len 2020-08-05 22:32:27 +01:00
gingerBill 9fd35776fd Fix typos in math.odin 2020-08-04 14:40:11 +01:00
gingerBill 3385fcecb0 Fix typo 2020-08-04 14:31:14 +01:00
gingerBill 804b96a985 Remove unused entities 2020-08-02 15:11:21 +01:00
gingerBill 9cc20954a3 Add sys/windows/synchronization.odin 2020-08-02 15:07:52 +01:00
gingerBill 91ff3e5bca Add sync/channel_*.odin files 2020-08-02 15:05:04 +01:00
gingerBill 6d032e6f1a Update package sync 2020-08-02 15:01:17 +01:00
gingerBill 16abfd56e8 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-08-02 14:59:51 +01:00
gingerBill d1d5f61230 Add intrinsics.alloca 2020-08-02 14:59:39 +01:00
gingerBill 0aaab84938 Allow multiple -define flags 2020-07-16 20:59:03 +01:00
gingerBill 3a1492fc99 Add sync.Wait_Group 2020-07-15 00:25:37 +01:00
gingerBill ca818fb857 Remove comments containing unicode characters from tokenizer 2020-07-14 23:51:46 +01:00
gingerBill 13e5cb8cc4 Fix #691 and Fix #692 2020-07-14 23:50:09 +01:00
gingerBill 7ae54ae3b4 Add -no-dynamic-literals to disallow dynamic array and map literals 2020-07-14 23:01:34 +01:00
gingerBill b2beb9512f Add thread.join_multiple 2020-07-14 21:08:04 +01:00
gingerBill 96ad6d2084 Improve sync.Channel behaviour 2020-07-14 18:43:50 +01:00
gingerBill 86f1574f78 Fix #696 2020-07-14 16:43:23 +01:00
gingerBill 6565a49e34 Remove fmt from sync/channel.odin 2020-07-14 16:39:47 +01:00
gingerBill ce85b73eca Add sync.Once 2020-07-14 16:38:54 +01:00
gingerBill fc65aee307 Update sync.Channel 2020-07-14 16:37:29 +01:00
gingerBill ede135a08f Merge branch 'master' of https://github.com/odin-lang/Odin 2020-07-14 16:36:47 +01:00
gingerBill c18fc2da9f Remove some dead code 2020-07-14 16:36:33 +01:00
gingerBill c4067372dd Fix double declaration 2020-07-10 22:28:48 +01:00
gingerBill b4e976364a Add path_unix.odin 2020-07-10 08:42:59 +01:00
gingerBill 642afa4f88 Fix new package path 2020-07-10 08:42:22 +01:00
gingerBill 65b9dbe13f Clean-up OS constants; Clean-up procs_wasm32.odin 2020-07-09 17:21:40 +01:00
gingerBill cb52f6986a Fix Addressing_OptionalOk selector expression rules for struct field variables 2020-07-08 23:39:49 +01:00
gingerBill 94ba182691 Add sync.Benaphore 2020-07-08 23:16:54 +01:00
gingerBill 5b7c83d871 Add strings.pop_byte strings.pop_rune 2020-07-08 23:15:48 +01:00
gingerBill 9da1347c21 Fix Source_Code_Location error for *_insert_dynamic_map_key_and_value procedures 2020-07-08 22:57:39 +01:00
gingerBill a8c10c58b4 Fix negation of complex and quaternion numbers for ir.cpp backend 2020-07-08 22:35:47 +01:00
gingerBill 51e50d3e31 Add intrinsics.type_proc_parameter_type; Add intrinsics.type_proc_return_type 2020-07-01 22:35:38 +01:00
gingerBill 1b2cc739a9 Handle llvm package name edge case for IR mangling 2020-06-30 19:12:53 +01:00
gingerBill 7bdd8094d6 Fix signature_parameter_similar_enough logic 2020-06-30 19:10:24 +01:00
gingerBill 323fc7a6a9 Fix system calls for compiler 2020-06-30 19:04:14 +01:00
gingerBill 92363da58e Add -show-system-calls; Update runtime for windows_386; Fix some minor bugs 2020-06-30 10:09:58 +01:00
gingerBill 0ea64182f1 Begin work on windows 386 2020-06-29 17:35:33 +01:00
gingerBill 8478b887a5 Add mem.check_zero and mem.check_zero_ptr 2020-06-29 16:17:40 +01:00
gingerBill 86448ee044 Add raw_data to replace cases in which &x[0] was used 2020-06-29 15:58:24 +01:00
gingerBill 56a52a1d06 Add sync.condition_wait_for_timeout for unix 2020-06-27 12:21:31 +01:00
gingerBill 858c5f8fd8 Update thread_unix logic 2020-06-27 11:36:48 +01:00
gingerBill f92b4c7849 Update sys/unix; Rename thread.create_and_start 2020-06-27 11:26:38 +01:00
gingerBill 9fdebebd28 Add sync.Barrier; Add sync.Blocking_Mutex for unix 2020-06-27 11:23:37 +01:00
gingerBill 2b18f43b65 Update sys/windows; Add sync.Blocking_Mutex (windows only at the moment) 2020-06-27 00:59:40 +01:00
gingerBill 53e1512978 Add more exception handling stuff to sys/windows 2020-06-26 20:42:17 +01:00
gingerBill b5f9c95ce7 Remove foreign import for -vet 2020-06-26 20:33:47 +01:00
gingerBill 231f91304a Keep previous behaviour for sync but move to sys/windows 2020-06-26 20:30:33 +01:00
gingerBill d7b3f3a0e7 Revert sync_windows.odin 2020-06-26 20:22:48 +01:00
gingerBill bb81d4869f Update sys/windows 2020-06-26 20:09:31 +01:00
gingerBill b633a42bc2 Revert channel.odin 2020-06-26 19:16:17 +01:00
gingerBill 6bd05ef5d7 Begin migration from sys/win32 to sys/windows 2020-06-26 19:11:34 +01:00
gingerBill 251a3a690e Add optional sep parameter to fmt.*print and fmt.*println procedures 2020-06-25 15:00:50 +01:00
gingerBill f22b014db0 Revert build.bat 2020-06-23 09:20:13 +01:00
gingerBill a6edcf4f18 Fix ABI typo bug; Add pop_safe and pop_front_safe 2020-06-22 21:03:57 +01:00
gingerBill 2a598aa061 Update sync.Channel 2020-06-22 17:45:01 +01:00
gingerBill 910ab7b3d4 Fix typo 2020-06-22 17:00:35 +01:00
gingerBill 2b27300387 Fix LLVM code gen bug 2020-06-22 16:57:21 +01:00
gingerBill 0db1ebb4e5 -vet sync/channel.odin 2020-06-22 16:01:26 +01:00
gingerBill 0013033f9a Revert build.bat 2020-06-22 15:58:48 +01:00
gingerBill f00123742c Add experimental sync.Channel 2020-06-22 15:54:35 +01:00
gingerBill 509e8b512f Add time.read_cycle_counter 2020-06-22 15:54:19 +01:00
gingerBill 2562df5387 Remove unused imports in thread.odin 2020-06-22 13:35:44 +01:00
gingerBill 0ab356aa4e Fix sync and thread on *nix 2020-06-22 13:32:58 +01:00
gingerBill b3c51a8b44 Add thread.run* shorthand procedures; Thread.init_context use new Maybe concept 2020-06-22 13:28:37 +01:00
gingerBill fb3aeccd36 Add built-in Maybe 2020-06-22 13:25:19 +01:00
gingerBill 9495e3d10c Update sync.Condition to require a ^sync.Mutex on init 2020-06-22 13:24:51 +01:00
gingerBill 0f711b8719 Remove old llvm-demo 2020-06-21 20:04:29 +01:00
gingerBill 2a6130b7e1 Reorder log.do_location_header order 2020-06-19 15:24:42 +01:00
gingerBill 34384cc2f1 Clean up some of the log code 2020-06-19 15:18:23 +01:00
gingerBill aeafed0218 Add fmt.DEFAULT_BUFFER_SIZE to be configurable with #config(FMT_DEFAULT_BUFFER_SIZE, 1<<12) 2020-06-19 15:08:54 +01:00
gingerBill 3a4bbfcfae Change fmt.*print behaviour to match fmt.*println behaviour 2020-06-19 15:01:39 +01:00
gingerBill 01c84b32a6 Add log.panic and log.panicf 2020-06-19 12:23:06 +01:00
gingerBill 240fc65d4d Add multi_logger.odin; Fix os_windows.odin 2020-06-19 11:49:08 +01:00
gingerBill c9d3b95b0d Fix time.now 2020-06-19 11:35:43 +01:00
gingerBill 9f596d6f34 Clean up package log code 2020-06-19 11:18:23 +01:00
gingerBill 2a684830f9 Fix using pointers bug with addressing struct fields 2020-06-18 17:50:54 +01:00
gingerBill c4ba3f1c83 Merge branch 'master' of https://github.com/odin-lang/Odin 2020-06-17 23:28:46 +01:00
gingerBill 724c776dbe Fix enumerated array type information creation bug 2020-06-17 23:28:39 +01:00