Commit Graph

482 Commits

Author SHA1 Message Date
gingerBill
ba67e474d3 Make source code compile with 32 bit (but not build 32 bit code) 2018-06-15 21:46:03 +01:00
gingerBill
b92a8c513e Modify how build settings are handled 2018-06-15 21:38:22 +01:00
gingerBill
e9e7ce2606 Allow .allocator for dynamic arrays; Add mem.Pool 2018-06-12 19:10:14 +01:00
Joshua Mark Manton
7ed1d931cb fix quick_sort_proc calling quick_sort instead of recursively calling itself 2018-06-03 11:27:57 -07:00
Joshua Mark Manton
2570296b01 fix core opengl ODIN_OS reference and pointer math stuff 2018-06-03 11:25:46 -07:00
Joshua Mark Manton
f0a4526250 Fix alloc.odin using old raw file 2018-06-03 11:22:42 -07:00
gingerBill
e46662a546 Rename os.default_allocator to os.heap_allocator 2018-06-03 16:40:58 +01:00
gingerBill
d556fa2cd8 Remove special shared scope for runtime stuff 2018-06-03 15:06:40 +01:00
gingerBill
9bd7f023b2 Split up init_preload into specific parts 2018-06-03 11:38:02 +01:00
gingerBill
398109ac84 Remove need for __llvm_core 2018-06-03 10:51:43 +01:00
gingerBill
12b870ba66 Use const & for Array<AstNode *> parameters 2018-06-03 10:30:31 +01:00
gingerBill
6eb505a677 Comment based build tags for packages (basic and temporary) 2018-05-28 20:59:06 +01:00
gingerBill
4e203feaf4 Change import lookup 2018-05-27 23:46:08 +01:00
gingerBill
a513b47780 Remove unused packages 2018-05-27 23:33:10 +01:00
gingerBill
547a2831c7 Clean up name mangling by using unique package names per project 2018-05-27 22:09:11 +01:00
gingerBill
5c52ffe24e Reorganize runtime package 2018-05-27 21:22:25 +01:00
gingerBill
86cf9383ea Fix delayed assert collection 2018-05-27 13:49:55 +01:00
gingerBill
df578d6ec5 Allow for either .odin file or directory as the initial start 2018-05-27 11:40:27 +01:00
gingerBill
6aae381e83 Move ODIN_* platform constants to core:os 2018-05-27 11:03:46 +01:00
gingerBill
eb11edabe0 Add file scopes for the packages 2018-05-27 00:10:38 +01:00
gingerBill
c067b90403 Add basic package support (no IR support yet) 2018-05-26 23:12:55 +01:00
gingerBill
5b6770f3d2 Parse directories to be packages 2018-05-21 20:47:52 +01:00
gingerBill
718b80ba39 Fix demo for removing default struct values 2018-05-20 17:39:49 +01:00
gingerBill
de9a4b5164 Disable pointer arithmetic 2018-05-13 16:10:02 +01:00
gingerBill
6164672421 Change FreeAll to Free_All 2018-05-13 10:14:32 +01:00
gingerBill
61906613b0 Add typeid to Type_Info struct 2018-05-13 10:09:21 +01:00
gingerBill
3b48fa8e7d Fix default initialized values for globals (#217) 2018-05-12 21:22:39 +01:00
gingerBill
324b7d65e7 Use __type_info_of internally 2018-05-12 20:17:12 +01:00
gingerBill
373a60b9ef type_info_of allows typeid; typeid_of allows ^Type_Info; Otherwise only allow type 2018-05-12 19:54:16 +01:00
gingerBill
2ef22e86e0 Make any use typeid rather than ^Type_Info 2018-05-12 18:40:49 +01:00
gingerBill
830f4f540f typeid 2018-05-12 17:39:04 +01:00
gingerBill
9fbfd86cde Add log to math.odin 2018-05-12 10:46:00 +01:00
Lipid
7382f52dc9 Fix copy-and-forget in math.odin 2018-05-02 18:04:50 +02:00
Mikkel Hjortshoej
2de62910fc Added more function to windows.odin 2018-04-13 22:38:58 +02:00
Nakst
db2293144a update essence bindings 2018-03-10 21:33:59 +00:00
gingerBill
f4cf88c2ca Move os_*.odin files to os/ 2018-03-04 11:38:49 +00:00
gingerBill
6db95b554f __args__: []cstring 2018-03-04 11:25:23 +00:00
gingerBill
9274f29ca9 deprecated attribute for procedure declarations 2018-03-03 11:16:48 +00:00
Morten Vassvik
cb7a343caf Fixed '_alloc_command_line_arguments()' in os_linux.odin to use the new cstrings, and made 'odin run' use the full executable path. 2018-03-01 12:58:57 +01:00
gingerBill
40542e6e26 Fix comparison against nil for cstring 2018-02-28 12:01:26 +00:00
gingerBill
9da05dd4cb Update core library with cstring 2018-02-28 11:44:41 +00:00
gingerBill
ae9da0abfb Merge branch 'master' of https://github.com/odin-lang/Odin 2018-02-28 11:20:31 +00:00
gingerBill
d3ea334e7a cstring 2018-02-28 11:20:11 +00:00
Mikkel Hjortshoej
ffec1c77f2 Added terminate_thread to thread.odin 2018-02-25 14:56:50 +01:00
gingerBill
3b5932699c Fix #assert in opengl.odin 2018-02-25 12:14:35 +00:00
gingerBill
bada81159d Add #no_bounds_check to __dynamic_map_* procedures 2018-02-25 12:13:45 +00:00
gingerBill
652da98c70 Fix slice bounds checking 2018-02-25 12:10:19 +00:00
Brendan Punsky
f6c45fc68a Merge remote-tracking branch 'origin/master' 2018-02-24 14:29:30 -05:00
gingerBill
35ba5771a5 Replace compile_assert with #assert 2018-02-24 19:03:29 +00:00
Brendan Punsky
60a54f404b Auto stash before merge of "master" and "origin/master" 2018-02-22 20:11:17 -05:00