castano
928a445a14
Fix definition. GB_SYSTEM_WINDOWS is not defined yet. Ideally microsoft_crazines.h should be included after common, but conflicts with defer macro.
2019-11-14 09:29:59 -08:00
castano
42cd78497a
Use Jon's single file lib to find the latest compiler and SDK paths instead of relying on environment variables.
...
This allows you to run the odin compiler without having to use the visual studio command prompt or setting up environment variables. It would be nice to not rely on the automatic search exclusively, but allow specifying the desired compiler or SDK version.
This change introduces various library dependencies in order to interact with COM objects. Not sure if there's a way around that.
2019-11-14 09:29:45 -08:00
gingerBill
aa796a1032
v0.11.1
v0.11.1
2019-11-12 21:20:40 +00:00
gingerBill
5bf71ba75c
big_int addition overflow rules
2019-11-11 22:47:25 +00:00
gingerBill
967981aacd
Add -show-more-timings
2019-11-10 21:49:02 +00:00
gingerBill
33d05a07de
Fix big_int_or and big_int_xor
2019-11-10 20:06:04 +00:00
gingerBill
8da8301b09
Fix big subtraction for very large numbers on edges of overflow.
2019-11-10 19:55:26 +00:00
gingerBill
536cceeef9
Add intrinsics.type_is_unsigned
2019-11-10 18:51:21 +00:00
gingerBill
098684a6fe
Add 128-bit random procedures to package math/rand
2019-11-10 18:47:16 +00:00
gingerBill
2ef7bfc06e
Remove debug message
2019-11-09 10:45:03 +00:00
gingerBill
7bfdb4f9f4
Fix Compile time assert on non-constant boolean parameters #467
2019-11-09 10:44:42 +00:00
gingerBill
0a35b13411
Fix inline for bug for #468
2019-11-09 10:24:27 +00:00
gingerBill
dacfc9de15
Fix //+build for ! e.g. //+build !windows amd64, linux !amd64
2019-11-05 20:09:09 +00:00
gingerBill
689aa4d734
Fix //+build system
2019-11-05 20:02:11 +00:00
gingerBill
8a46b493fd
Fix Slice passed incorrectly in LLVM IR to procedure called via procedure pointer #465
2019-11-05 19:40:08 +00:00
gingerBill
86abdc0603
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-11-05 19:37:30 +00:00
gingerBill
a634444f99
Fix "Polymorphic parameter declared in return type doesn't compile #464 " by giving a conversion error (code wasn't handling polymorphic result types as intended)
2019-11-05 19:37:19 +00:00
vassvik
04a25b11ad
Fix incorrect math.linalg.cross3 indices.
2019-11-04 17:39:26 +01:00
gingerBill
40546fbde2
Use runtime.mem_copy in package me
2019-11-03 19:59:41 +00:00
gingerBill
c1176c2bcb
Fix typeid comparison bug; Add extra messages for pointer address errors
2019-11-03 19:49:21 +00:00
gingerBill
57853fe1b1
Add SOA Struct Layout (experimental) to demo.odin
2019-11-03 12:52:13 +00:00
gingerBill
013b3b9fb3
Fix for -vet
2019-11-03 11:42:00 +00:00
gingerBill
dc0f04e53b
Fix typo in fmt
2019-11-03 00:50:47 +00:00
gingerBill
40606d9272
Fix fmt printing of anonymous SOA structs
2019-11-03 00:47:27 +00:00
gingerBill
ebf7926fa4
SOA support of Structures and Arrays; Runtime information for SOA structs; fmt printing support for SOA structs
2019-11-03 00:32:22 +00:00
gingerBill
dfb3101ecf
SOA Struct support intrinsics.soa_struct
2019-11-02 21:08:51 +00:00
gingerBill
e3d3a81617
multivalued procedure calls allows in for in to allow a pseudo-iterator; @thread_local for variables in procedure
2019-11-02 16:36:46 +00:00
gingerBill
dbdbbcd60f
Fix range in statement bug caused by incorrectly assigned addressing mode #461
2019-11-02 10:57:42 +00:00
gingerBill
f9aaff99c6
Fix linalg.mul; add linalg.Matrix1xN
2019-11-02 10:30:11 +00:00
gingerBill
57565b78a6
v0.11.0
v0.11.0
2019-11-01 19:45:39 +00:00
gingerBill
b5b085914a
Merge pull request #404 from hazeycode/master
...
Impl time for macOS
2019-11-01 19:44:50 +00:00
Chris Heyes
044e64beb0
Add missing foreign import to time_darwin
2019-11-01 19:39:26 +00:00
Chris Heyes
adca5b57cd
Move time code from os to time package
2019-11-01 19:33:48 +00:00
gingerBill
3b898e5224
Add @force to foreign import
2019-11-01 19:26:22 +00:00
Chris Heyes
153e7525b5
Merge remote-tracking branch 'upstream/master'
2019-11-01 19:18:33 +00:00
gingerBill
44a303e577
Add dummy packages purely for documentation of builtin and intrinsics
2019-11-01 19:00:23 +00:00
gingerBill
d63878d0dd
Merge pull request #437 from nakst/master
...
updated os_essence.odin
2019-11-01 10:20:29 +00:00
gingerBill
a20c31d6b5
Fix polymorphic record parameter determination bug caused by polymorphic constants not being handled correctly #447
2019-10-31 22:58:38 +00:00
gingerBill
560bdc339b
Fix stack overflow bug caused by polymorphic record with polymorphic constant parameters. #447
...
DOES NOT FIX THE UNDERLYING BUG
2019-10-31 22:39:12 +00:00
gingerBill
01dfb1dac8
Fix double calling of lhs of logical binary expressions
2019-10-31 20:17:50 +00:00
gingerBill
ee8d3e03f8
Delay determination of procedure abi types until as late as possible to prevent type undetermination in self-referential data types #454
2019-10-31 18:25:39 +00:00
gingerBill
4aad45e3e7
Merge pull request #453 from kevinw/master
...
Remove unused variables in utf8.odin.
2019-10-29 11:47:37 +00:00
gingerBill
fe5c642d9f
Fix runtime.cstring_len
2019-10-29 08:47:05 +00:00
Kevin Watters
b5fdb3f855
Remove unused variables in utf8.odin.
2019-10-28 11:13:47 -04:00
gingerBill
416ff149bd
Fix procedure group "best fit" algorithm for polymorphic procedures
2019-10-27 19:42:21 +00:00
gingerBill
233c6e2d3a
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-10-27 18:43:53 +00:00
gingerBill
a29a6d9285
Fix typos in package linalg; Fix norm_float64 in package rand
2019-10-27 18:43:40 +00:00
Mikkel Hjortshøj
a7a31e4c23
Set CI shell on windows to cmd.exe
2019-10-27 18:12:23 +01:00
Mikkel Hjortshøj
72cad591bd
Update ci.yml
2019-10-27 18:07:14 +01:00
Mikkel Hjortshøj
684bf7aa61
Update ci.yml
2019-10-27 18:04:14 +01:00